[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: network configuration??



The name of the program that is being run is netenv; it is there to
aid laptop users who may change their network environment options
regularly (example, one for home, one for the office, another for a
remote location).

You can just disable netenv from being run. Probably the
easiest way is to edit /etc/init.d/netenv

---- begin /etc/init.d/netenv ----
#!/bin/sh

#######################################################
# NEW LINES
RUN_ME=0

if [ "$RUN_ME" = "0" ] ; then
	exit 0;
fi
# fin
#######################################################

test -x /sbin/netenv || exit 0

case "$1" in
    start | restart | force-reload | reload)
                /bin/rm -f /etc/netenv/netenv
                /sbin/netenv
                ;;
    stop)
                ;;
*)
                echo "Usage: $0 {start|stop|restart|reload|force-reload}"
                exit 1
                ;;
esac
---- end /etc/init.d/netenv ----

The other method would be to remove the symbolic link in the
/etc/rc[0-9S].d directories. I find simply changing the init script
easier personally.

Make sure your /etc/network/interfaces is set up correctly, though.

Elizabeth


Michael Griffis <mgriffis@griffisconsulting.com> writes:

> I am new to linux and rather ambitiously installed Woody on my Fujitsu
> laptop with good results.
> 
> However every time I reboot I am asked to choose a network environment
> and the only option is to set a new environment and enter a new IP.  I
> use DHCP so I don't enter an IP and everything seems to work fine.  
> 
> Is this a network configuration problem?  Is there anyway to avoid this
> extra step?
> 
> thanks,
> 
> mg
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: