#14908: net_server mixes up interfaces in settings file
----------------------------------+----------------------------
Reporter: pulkomandy | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Servers/net_server | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by Pete):
I'm tagging this on here, rather than in a new ticket, because I'd guess
it's related. Apologies if I'm wrong.
I've recently installed Beta1 (hrev52295+129), and find that it insists on
using DHCP even though I want Static! It seems to ignore the
...settings/network/interfaces file, which has:
{{{
interface /dev/net/iprowifi4965/0 {
address inet {
address 192.168.1.6
mask 255.255.255.0
gateway 192.168.1.1
}
}
interface /dev/net/rtl81xx/0 {
address inet {
address 192.168.1.16
mask 255.255.255.0
gateway 192.168.1.1
}
}
}}}
Despite that file, it always assigns an arbitrary DHCP addrees on boot,
and the Preferences correspondingly says 'DHCP'. If I change it to
Static, with the desired IP, I just lose the connection, and at next boot
it's back to DHCP.
Strangely the file's timestamp indicates it was rewritten, but the
contents seem to remain as I set them above.
--
Ticket URL: <https://dev.haiku-os.org/ticket/14908#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.