You are not logged in.

#1 2007-04-15 10:17:31

proc
Member
From: Italy
Registered: 2006-11-27
Posts: 71

[SOLVED] NET_PROFILES=('menu') doesn't work at boot time

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

#2 2007-04-15 11:09:28

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] NET_PROFILES=('menu') doesn't work at boot time

install 'dialog'

Offline

#3 2007-04-15 12:42:27

proc
Member
From: Italy
Registered: 2006-11-27
Posts: 71

Re: [SOLVED] NET_PROFILES=('menu') doesn't work at boot time

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

#4 2007-04-15 13:40:04

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [SOLVED] NET_PROFILES=('menu') doesn't work at boot time

and network is in your daemons line?

what does it spit out when it comes to network? does it say anything?

Offline

#5 2007-04-15 14:00:29

proc
Member
From: Italy
Registered: 2006-11-27
Posts: 71

Re: [SOLVED] NET_PROFILES=('menu') doesn't work at boot time

Ops.... I was launching the network daemon in background. Shame on me!
Thanks for your time and patience.

Offline

Board footer

Powered by FluxBB