[Voyage-linux] problem with webgui ethernet settings?

gommer (spam-protected)
Mon Jan 2 04:02:37 HKT 2012


I think i have encountered a reproducible problem with the webgui:

After a fresh installation, eth0 requests an addres by dhcp, this works
fine.

I i logon intothe webgui and goto interfaces->ethernet and change IP method
to DHCP (default lists static), then after a reboot, the box is inaccessible
and eth0 does not have an ip address.

Here is the /etc/network/interfaces file after the change, when it goes
wrong

----begin file---
auto lo
	iface lo inet loopback

auto eth0
	allow-hotplug eth0
	iface eth0 inet dhcp
	up nat.sh wlan0 eth0 "10.1.10.0/24"
	up nat.sh wlan1 eth0 "10.1.20.0/24"
	hostapd /etc/hostapd/hostapd.wlan0.conf  
	hostapd /etc/hostapd/hostapd.wlan1.conf  
----end  file---

The original (good) interfaces file lists this (with removal of trailing
commented lines):

----begin file---
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

# mac80211-based drivers
#auto wlan0
iface wlan0 inet static
        address 10.1.10.1
        netmask 255.255.255.0
        broadcast 10.1.10.255
		hostapd /etc/hostapd/hostapd.wlan0.conf
        up nat.sh wlan0 eth0 "10.1.10.0/24"

#auto wlan1
iface wlan1 inet static
        address 10.1.20.1
        netmask 255.255.255.0
        broadcast 10.1.20.255
		hostapd /etc/hostapd/hostapd.wlan1.conf
        up nat.sh wlan1 eth0 "10.1.20.0/24"
----end file---

I don't see what an important difference between these two, but it's a
repetitive problem anyhow.
Not blocking, if i don't touch these settings in the webgui i'll be fine.
But i' thought i'd better report this.

Kind regards, Marc 

--
View this message in context: http://voyage-linux.34677.n3.nabble.com/problem-with-webgui-ethernet-settings-tp3625318p3625318.html
Sent from the Voyage Linux mailing list archive at Nabble.com.




More information about the Voyage-linux mailing list