Opened 17 years ago

Closed 16 years ago

#1423 closed bug (fixed)

App Network Preferences fails to recover gateway ip after reboot

Reported by: sicutdeux Owned by: axeld
Priority: normal Milestone: R1/alpha1
Component: Servers/net_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description (last modified by stippi)

Gateway not added to routes on boot, but only when triggering the settings to be reloaded.

Change History (8)

comment:1 by sicutdeux, 17 years ago

Summary: App Network References fails to recover gateway ip after rebootApp Network Preferences fails to recover gateway ip after reboot

comment:2 by axeld, 17 years ago

Owner: changed from axeld to stippi

comment:3 by stippi, 17 years ago

The resolv.conf file should now be written if it doesn't exist yet. (hrev22366)

comment:4 by stippi, 16 years ago

Component: - Preferences/NetworkServers/net_server
Description: modified (diff)
Milestone: R1R1/alpha
Owner: changed from stippi to axeld

I investigated a bit, and this should be a net_server bug, not a bug of the Network preflet. With the exact same settings file: on boot, net_server fails to add the gateway route in manual settings mode. When the Network preflet is used to (re)write the exact same settings file, the gateway is added propery. At first I thought it might be a problem in which order the settins are applied (the gateway is considered as pretty much the first thing), I thought it might need the other settings to be originally applied to work, but moving the gateway stuff down as the last thing in NetServer.cpp didn't help.

comment:5 by axeld, 16 years ago

I guess we are talking about the manual configuration, and not DHCP?

comment:6 by stippi, 16 years ago

Yes, manual configuration, not DHCP.

comment:7 by axeld, 16 years ago

Status: newassigned

comment:8 by axeld, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev22723.

Note: See TracTickets for help on using tickets.