If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

do 'fdisk -l' to list the detected hard drives - note the name of the IDE drive device

do 'fdisk /dev/harddrivename'

issue the following commands to create a new ext3 partition WARNING - this will erase anything on your drive!

n, enter, 1, enter, enter, t, enter, 1, enter, 83, enter

pressing p and enter should show that you now have one partition on the disc of type linux

press w and enter to write the disk changes, then do 'fdisk -l' again to get the partition name

copy root2hdd.sh to /tmp using scp (puttyscp.exe for windows I think)

modify the boot_partition variable to your hard drive device (with the part1 on the end)

chmod +x /tmp/root2hdd.sh

/tmp/root2hdd.sh

as long as this completes successfully, you should now be able to reboot your router

Part 2. Configuring the router
Some extra packages need to be installed to enable full functionality of the router. You can compile them yourself by downloading the openWRT kamikaze source and putting M next to programs you want in the configuration(important ones listed below) - you can now find the ipkgs in a rar file here - kindly hosted by markc.

Downgrade feasibility

Excellent tutorial, thank you very much. Some questions from a novice... is it possible to back out of this firmware upgrade and easily go back to the standard ASUS or kfurge firmware? ie; does the tftp part of CFE remain intact even after uploading this foreign firmware?

Would it be feasible to use a USB flashdrive instead of the internal HDD for a test run for a first time install of kamikaze?

And just curious, why did you use rar on the firmware image instead of, say, zip ?

It IS possible to go back to the original ASUS firmware - there are instructions for that here

It is also possible to use a usb drive(although you will need to compile a custom firmware image with USB support built in for this), when you do your fdisk -l steps, create an ext3 partition and point root2hdd.sh to the usb drive instead of the internal drive (it should be fairly easy to tell from drive sizes which device is your usb key)

The original image wasn't created by me - I would have used .tar.gz instead of rar

I think rar has slightly better compression ratios than zip does on a binary file though...

For a bridge/access point then you need dnsmasq and iptables installed.

I am not sure exactly why, but iptables is needed to actually make the router route network packets. Dnsmasq is used to give out IP addresses, so I would recommend using this even if you make dnsmasq assign permanent IP addresses to MAC addresses of network cards.

please help
Part 2. Configuring the router
Some extra packages need to be installed to enable full functionality of the router. You can compile them yourself by downloading the openWRT kamikaze source and putting M next to programs you want in the configuration(important ones listed below) - you can now find the ipkgs in a rar file here - kindly hosted by markc.

1. Install the important ipkgs - that is, bridge, dnsmasq, iptables, the updated kernel with wifi drivers, kernel module brcm-wl.
2. edit dnsmasq.cont as required (you need to set the fields with @@ parameters in them)

dnsmasq: bad option at line 13 of /etc/dnsmasq.conf
dnsmasq: bad option at line 17 of /etc/dnsmasq.conf
dnsmasq: bad option at line 18 of /etc/dnsmasq.conf
dnsmasq: bad option at line 20 of /etc/dnsmasq.conf
dnsmasq: failed to create listening socket: Address already in use

please help
Part 2. Configuring the router
Some extra packages need to be installed to enable full functionality of the router. You can compile them yourself by downloading the openWRT kamikaze source and putting M next to programs you want in the configuration(important ones listed below) - you can now find the ipkgs in a rar file here - kindly hosted by markc.

1. Install the important ipkgs - that is, bridge, dnsmasq, iptables, the updated kernel with wifi drivers, kernel module brcm-wl.
2. edit dnsmasq.cont as required (you need to set the fields with @@ parameters in them)

dnsmasq: bad option at line 13 of /etc/dnsmasq.conf
dnsmasq: bad option at line 17 of /etc/dnsmasq.conf
dnsmasq: bad option at line 18 of /etc/dnsmasq.conf
dnsmasq: bad option at line 20 of /etc/dnsmasq.conf
dnsmasq: failed to create listening socket: Address already in use

This command transfers the file immediatly and I can go to the router and chmod the file to add execute. ls -al command verifies I have execute rights.

However,

the command

/tmp/root2hdd.sh

gives

-ash: /tmp/root2hdd.sh: not found

anyone know what may be the issue. Is there an alternative to the shell script?

Thanks,

Owen

You probably need to convert the root2hdd.sh script to unix-style..

Anyway, I have 2 issues:

1. For some reason, the router still boots from it's own ROM instead om the hdd, after a cold-start (power removed and reconnected). If I issue the reboot command, the router will boot from the hdd

2. I'm having big problems changing the IP address. I want to set the ip to 192.1680.0.100. I changed ip_address from nvram (and commited) and changed /etc/config/network. Now I reboot (poweroff required I believe) and the router comes up at the right IP. However, due issue 1, I have to reboot. And after this, I can no longer connect to the router (possibly the /etc/config/network on the hdd is a different one than the one I changed?)