Sunday, June 15, 2008

WGT634U open wrt notes


CFE> flash -noheader 192.168.60.70:openwrt-wgt634u-2.6-jffs2.bin flash0.os

setenv kernel_args "console=ttyS1,115200 root=/dev/nfs nfsroot=192.168.60.70:/openwrt init=/etc/preinit syst_size=8M"

original: kernel_args console=ttyS1,115200 root=/dev/ram0 init=/linuxrc rw syst_size=8M
original: STARTUP ifconfig eth0 -addr=192.168.60.60 -mask=255.255.255.0;boot -elf flash0.os:

CFE> ifconfig eth0 -addr=192.168.60.60 -mask=255.255.255.0 -gw=192.168.60.1 -dns=192.168.60.1
CFE> boot -elf -tftp 192.168.60.70:openwrt-wgt634u-2.6-jffs2.bin

mount -t nfs 192.168.60.70:/openwrt /mnt -o nolock

No comments: