Nautilus6 - How to replace the Zaurus kernel with a MIPv6 ROM ------------------------------------------------------------- Table of Content ---------------- 1. Download 2. Kernel update 3. Installing modules for mipv6 4. Installing application packages 5. Start mipv6 1. Download ------------ 1.1 mipv6 kernel and modules for C860 http://software.nautilus6.org/packages/zaurus/C860 download files : zImage (kernel image for ZaurusC860) updater.sh (install script for kernel) mipmodules_0.0.2_arm.ipk (mip modules and tools for mipv6) 1.2 mipv6 kernel and modules for C760 http://software.nautilus6.org/packages/zaurus/C760 download files : zImage20031203 (kernel image for ZaurusC760) updater.sh (install script for kernel) mipmodules_0.0.1_arm.ipk (mip modules and tools for mipv6) 1.3 mipv6 kernel and modules for C750 http://software.nautilus6.org/packages/zaurus/C750/ download files : zImage (kernel image for ZaurusC750) updater.sh (install script for kernel) mipmodules_0.0.1_C750_arm.ipk (mip modules and tools for mipv6) 1.4 mipv6 kernel and modules for C700 http://software.nautilus6.org/packages/zaurus/C700/ download files : zImage.bin (kernel image for ZaurusC760) updater.sh (install script for kernel) mversion.bin (install script for kernel) mipmodules_0.0.1_C700_arm.ipk (mip modules and tools for mipv6) 2. Kernel update ---------------- 2.1 Update for C860, C760, C750 Before updating the kernel, back up your important data. Please copy the kernel image and install script onto your CF memory card (or on a SD card if you prefer). $ su # mount /dev/DEV /mnt/cf/ # cp -r SOMEWHERE/zImage20031203 /mnt/cf/zImage # cp SOMEWHERE/updater.sh /mnt/cf/ # umount /mnt/cf/ Please connect the AC adapter the Zaurus and verify that power is supplied. If the AC adaper is not pluged in, you will get an error. (1) Reboot using for example the second element in the Zaurus menu (a green circle). (2) Press and hold the OK button while zaurus is rebooting. This should make the Zaurus boot under the Maintenance Menu. (3) Select [4.] which indicates updating kernel in the Maintenance menu. (4) Select the CF memory card as installation media [2.CF] and answer yes (select [Yes], the button with 2 symbols. The one with 3 symbols is NO). (5) After the system update, [Please reset] message is displayed. Since these PDAs have no reset button, you need to unplug the AC power, remove the battery and wait for a few seconds. (6) Put everything back, and turn the Zaurus on while pressing the OK button. (7) Select [3.] in the Maintenance Menu, which formats the system. 2.2 update for C700 Before updating the kernel, back up your important data on Zaurus. Please copy the kernel image and install script into your CF memory card. $ su # mount /dev/DEV /mnt/cf/ # cp -r SOMEWHERE/zImage.bin /mnt/cf/zImage.bin # cp SOMEWHERE/updater.sh /mnt/cf/ # cp SOMEWHERE/mversion.bin /mnt/cf/ # umount /mnt/cf/ After insert your CF memory card into a CF slot on the Zaurus, install modules. Please connect the AC adapter the Zaurus and verify that power is supplied. If the AC adaper is not used, the device may not perform as expected. (1) turn off the RESET switch behind the Zaurus. (2) wait 5sec and turn on the RESET switch. (3) if you can check the orange LED (with "battery" symbol print) turning on, while pressing the [OK] key, push the [On/Off] key. (4) select a point [4.] which indicate updating kernel on Maintenance menu. (5) select a install media as CF memory card [2.CF] and answer yes (select [Yes], the button with 2 symbols. The one with 3 symbols is NO). (the green LED (with "mail" symbol icon) and orange LED will turn on. the green LED will turn off when successfully finished) (6) after the system update, the system will reboot automatically.< 3. Installing modules for mipv6 ------------------------------- Please install mipmodules*.ipk by general method of installing ipk files. Then, these files are copied in following directories: ipv6_tunnel.o /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/net/ mobile_ip6.o /lib/modules/2.4.18-rmk7-pxa3-embedix/kernel/net/mobile_ip6/ mipdiag /usr/sbin/ mobile-ip6 /etc/rc.d/init.d/ network-mip6.conf /etc/sysconfig/ ipsecha-zaurus /home/root/ pfkey /usr/sbin/ ping6 /usr/sbin/ 4. Installing application packages ---------------------------------- Download some IPKs here: http://software.nautilus6.org/packages/zaurus/IPKS/ - Runit ( UI for mipv6 operation ) runit_0.0.1mip6_arm.ipk - linphone (sip client) see the installation instructions here: http://software.nautilus6.org/linphone/index.php - kino2 kino2_0.21-ipv6_arm.ipk libvorbisdec_1.2.0-1_arm.ipk libiconv_1.8-2_arm.ipk - konqueror (web browser) konqueror-ja_cvs20021215-1_arm.ipk libstdc++2.10-glibc2.2_2.95.4-0.010407-fam1_arm.ipk - ssh client openssh-addon_3.6.1p1-rebuild_arm.ipk openssh-client_3.6.1p1-rebuild_arm.ipk - usagi-tools (ip, ftp, traceroute6 , etc.) usagi-tools_0.0.0-4_arm.ipk Please install application packages by general method of installing ipk files. WARNING : It seems that the sudo IPK is broken and kills the APM support, so don't install it. 5. Start mipv6 -------------- 5.1 Configuration for mipv6 Please configure the Mobile Node configuration file to set the Home Address and HomeAgentaddress. A sample configration of Mobile Node is shown below. # vi /etc/sysconfig/network-mip6.conf # Mobile Node configuration file FUNCTIONALITY=mn DEBUGLEVEL=1 HOMEDEV=eth0 HOMEADDRESS=2001:200:0:8430::2/64 (sample setting) HOMEAGENT=2001:200:0:8430::2000/64 and please set parameters for HA-IPsec between MN and HA. USE_HAIPSEC=y (use ha-ipsec "y", don't use "n") SPI1=6000 (sample setting) (SPI1: transport mode proto=135 MN->HA) SPI2=6001 (sample setting) (SPI2: transport mode proto=135 HA->MN) SPI3=6002 (sample setting) (SPI3: tunnel mode proto=any MN->HA) SPI4=6003 (sample setting) (SPI4: tunnel mode proto=any HA->MN) AUTHALGO=hmac-sha1 AUTHKEY=hogehogehogehogehoge (sample setting) ESPALGO=des-cbc ESPKEY=momosese (sample setting) 5.2 Operation for a MN When starting MIPv6, please check the network interface is up. The first time I suggest using the command line in order to see if everything is ok. 5.2.1 operation with GUI Select the "Runit" icon on Apprication Menu. - start the MN push the "MIP6 Start" button - stop the MN push the "MIP6 Stop" button 5.2.2 manual operation - start the MN # /etc/rc.d/init.d/mobile-ip6 start If you get an error like that : /etc/rc.d/init.d/mobile-ip6: /proc/sys/net/ipv6/mobility/min_tnls: No such file [...] /etc/rc.d/init.d/mobile-ip6: /proc/sys/net/ipv6/mobility/max_tnls: No such file [...] you can try this : # depmod -a # modprobe mobile_ip6 in order to create the files in /proc directory. Then try again : # /etc/rc.d/init.d/mobile-ip6 restart This should work ! - stop the MN # /etc/rc.d/init.d/mobile-ip6 stop In both case, when MIPv6 is started, you should have eth0, ip6tnl1 and ip6tnl2 as up devices. -- Update: Francois LEIBER, May 2004 For support, please see http://www.nautilus6.org/ml.php