Hi,
I've just startet now moving from from Whiterussian to Kamikaze. In Whiterussian it was pretty easy. (Just add an "ifup lan2" and use the nvram variables).
In Kamikaze I've found the following for my public IP's:
config interface lan2
option ifname "br-lan:0"
option proto static
option ipaddr w.x.y.z
option netmask 255.255.255.xxx
option bcast w.x.y.z
Note: The "option type" must be absent!
Just unfortunately this doesn't come up at boot time. I hadn't time to investigate but presumably the interface is being tried to come up before the switch which of course fails.
So modifying /etc/init.d/networking helps:
boot() {
setup_switch() { return 0; }
include /lib/network
setup_switch
[ -e /etc/config/wireless ] || \
/sbin/wifi detect > /etc/config/wireless
/sbin/wifi up
# Add my public ip interface...
ifup lan2
}
(Last edited by cpalm on 15 Jul 2007, 02:13)