You are not logged in.

#1 2006-04-06 15:08:22

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Automaticly set up internet connection? [SOLVED]

Every time I boot I have to run dhcpcd as root do get going with my connection. Of course I could just add it to the root profile/bash script but then I still need to log in as root first. There must be (and I know there is) a better way.

/Richard


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#2 2006-04-06 16:25:38

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Automaticly set up internet connection? [SOLVED]

adding 'network' to your daemons in rc.conf should do it.

Offline

#3 2006-04-06 17:14:14

riwa
Member
From: Lund, Sweden
Registered: 2006-04-04
Posts: 214

Re: Automaticly set up internet connection? [SOLVED]

like:

DAEMONS=(syslog-ng !hotplug !pcmcia network netfs crond alsa)

Well it looks like it's already there. But every time I boot it's not working...


If you must have must. Have must.
- DKE supporters about this wonderful swedish soda.

Offline

#4 2006-04-06 17:50:25

bostoniman
Member
Registered: 2004-09-17
Posts: 213
Website

Re: Automaticly set up internet connection? [SOLVED]

In your /etc/rc.conf check your NETWORKING section for eth0 (or whatever interface name you are dealing with) and, if it doesn't already, make it look like this:

eth0="dhcp"

That should do it for you.

Offline

Board footer

Powered by FluxBB