Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Clonezilla PXE Setup

We assume that our server has ip 192.168.171.11, and root directory of tftp server is /srv/tftp

Download clonezilla-live-1.2.8-42-i686.zip and clonezilla-live-1.2.8-42-amd64.zip on a local directory and unzip them. Obviously you can use only one of them.

# wget http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-4.04.tar.bz2

# tar xjvf syslinux-4.04.tar.bz2 # cp syslinux-4.04/core/pxelinux.0 /srv/tftp/ # cp syslinux-4.04/com32/menu/vesamenu.c32 /srv/tftp # mkdir /srv/tftp/clonezilla-amd64 # cp […]

openWrt non-standard module compiling

Now I want to use an easycap DC60 device also on my NSLU2 with openwrt, so similar for sheevaplug i’ve to compile the module.

All the operations described here are executed on a standard i686 linux pc (debian).

Download openwrt 8.09.2 and default config file:

cd /usr/src/nslu2/test svn checkout svn://svn.openwrt.org/openwrt/branches/8.09 8.09.2 wget http://downloads.openwrt.org/kamikaze/8.09.2/ixp4xx/ixp4xx.config

go into […]

SheevaPlug non-standard module compiling

Howto compile a module for sheeva without standard kernel headers

I’ve bought an EasyCap DC60 and i’ve found this fantastic driver for it:

http://sourceforge.net/projects/easycapdc60/

Obviously they aren’t available for our sheevaplug so i’m looking through the web on how to compile it,finally I was able to do it, this is the howto.

We suppose that […]

Recompile Kernel for SheevaPlug

Howto recompile a custom kernel for our SheevaPlug:

In this example we suppose that our pc has ip 192.168.1.220, and the network has dhcp. First of all install packages needed:

apt-get install git-core build-essential

Then download the latest kernel from Marvell:

cd /usr/src git clone git://git.marvell.com/orion.git

Then set default config for SheevaPlug:

cd orion make […]

BlackBerry Bold 9700 as Linux Modem

In questa breve guida andrò ad illustrare come usare il nostro BlackBerry Storm 9700 quale modem HSDPA/UMTS/GPRS. Ovviamente il metodo illustrato funziona con (teoricamente) qualsiasi terminale BlackBerry.

Il tutto è reso possibile dal software prodotto da NetDirect, Barry. Scarichiamolo a questo indirizzo http://www.netdirect.ca/software/packages/barry.

Grazie a barry (in particolare l’eseguibile è pppob) ci viene fornita una […]

em28xx on Nslu2 – OpenWrt

svn checkout svn://svn.openwrt.org/openwrt/trunk kamikaze

or svn checkout svn://svn.openwrt.org/openwrt/branches/8.09 8.09.2 cd kamikaze

./scripts/feeds update

edit ./package/kernel/modules/video.mk adding these lines: ————- define KernelPackage/video-em28xx SUBMENU:=$(VIDEO_MENU) TITLE:=Em28xx support DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-usb-core +kmod-video-core KCONFIG:=CONFIG_VIDEO_EM28XX FILES:=$(LINUX_DIR)/drivers/media/video/em28xx/em28xx.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,70,em28xx) endef

define KernelPackage/video-em28xx/description Kernel modules for supporting Empia video capture devices. endef

$(eval $(call KernelPackage,video-em28xx)) —————

make menuconfig (choose option needed by us)

[…]

Install Debian HotSpot server

NB: this is only a memo for me, i’m going to rewrite it in a decent way 😛

Install a fresh Debian lenny

apt-get update && apt-gt dist-upgrade

apt-get install build-essentials devscripts libssl-dev

cd /usr/src

wget http://ap.coova.org/chilli/coova-chilli-1.2.2.tar.gz (or the latest one) tar xzf coova-chilli-1.Y.X.tar.gz cd coova-chilli-1.Y.X/ debuild -b cd .. dpkg -i coova-chilli_1.Y.X-Z_ARCH.deb apt-get install […]

Huawei E220 – NSLU2 OpenWrt

#ipkg install http://downloads.openwrt.org/snapshots/ixp4xx/packages/huaweiaktbbo_1_armeb.ipk

VPN Client with NSLU2 and OpenWrt

Login again in your hacked nslu2 Install needed package:

# ipkg install ppp openvpn chat openntpd

# ipkg install http://downloads.openwrt.org/snapshots/ixp4xx/packages/hwclock_2.13.0.1-2_armeb.ipk

And let configure them:

# vi /etc/ntpd.conf

server 193.204.114.232 server 193.204.114.233 server ntp1.inrim.it # or a ntp server near you server ntp2.inrim.it # or another ntp server near you listen on *

# /etc/init.d/ntpd […]

Configure OpenWrt on Nslu2

Point a browser to your new nslu2 IP (in my case 10.1.20.26) and set a new password. Set your time zone (with web interface is easier 😉 ) Login into your nslu2 with ssh (user root, password whichever password you set previously) Disable Web interface (we don’t need it 😉 ):

# /etc/init.d/webif disable

[…]