You are not logged in.
Hi I've created two network profiles to change eth0 configuration on my laptop according to where I am.
The problem is that NET_PROFILES=('menu') (in rc.conf) doesn't work at boot time: the profile select dialog doesn't appear.
It works only if I do a /etc/rc.d/network restart.
Here is the relevant part of my rc.conf
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
#
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
NET_PROFILES=('menu') #### I tried even without quotes with the same result!!By the way, I tried this on three different machines (one is always up to date, the others aren't) with the same result.
Last edited by proc (2007-04-15 14:00:57)
Offline
install 'dialog'
Offline
iphitus thanks for your prompt reply, but I already have dialog installed. In fact the menu appears if I do a network restart, but it doesn't at boot.
Offline
and network is in your daemons line?
what does it spit out when it comes to network? does it say anything?
Offline
Ops.... I was launching the network daemon in background. Shame on me!
Thanks for your time and patience.
Offline