Tuesday, February 28, 2012

Router update

Tested and working on OpenSuse 11.3

1. Set up networking to be controlled by the ifup in Yast2
2. Make sure that "dhcp address" and "set up default route using dhcp" are both unchecked
3. Add to the routing table: 192.168.1.254 gw=0.0.0.0 netmask=255.255.255.255
4. Disable IPv6 (tftp won't work with it enabled on OpenSuse 11.3). This will require system reboot
4. Create /etc/bootptab with
bebox:ha=XXXXXXXXXX:ip=192.168.1.254:sm=255.255.255.0:bf=Be_TG585v7_8277_JZ_V2V_18112010_0933.bin
"ha" is hexadecimal; bf is path relative to tftp directory . Original BE instructions incorrectly specify the absolute path.
5. Go to "network services" and make sure that tftp is enabled (install tftp and yast-tftp first)
6. Configure yast in tftp, say, to /srv/tftpboot
7. Make sure that the /srv/tftpboot has read permissions
8. Restart xinetd
9. Start bootpd -d 4
10. Press the "reset" button on the router until the light turns yellow. Transfer will start.

For debugging, I found that wireshark was more helpful than tcpdump, the messages were more obvious.

No comments: