[Voyage-linux] problem with webgui ethernet settings?
Punky Tse
(spam-protected)
Mon Jan 2 16:42:19 HKT 2012
Hi Marc,
Thanks. I am well aware of this issue. But i can't some time to fix
it. Volunteers are welcome.
Meanwhile, I will comment out the wlan0 and wlan1 definition in
voyage-utils.
On 1/2/2012 4:02 AM, gommer wrote:
> 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.
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
--
Regards,
Kim-man "Punky" Tse
* Open Source Embedded Solutions and Systems
- Voyage Linux (http://linux.voyage.hk)
- Voyage ONE (http://linux.voyage.hk/voyage-one)
- Voyage MPD (http://linux.voyage.hk/voyage-mpd)
* Voyage Store (http://store.voyage.hk)
More information about the Voyage-linux
mailing list