You are not logged in.

#1 2005-08-04 13:14:39

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

Network starting issues

When I boot up my computer, and it goes to start the network, it sits for about 15 - 20 seconds, and then says:

SIOCADDRT: File exists

Why might it be doing this?

Offline

#2 2005-08-04 15:00:23

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Network starting issues

hotplug may be loading your network... try disabling your network settings in rc.conf (but not removing them, just add a !) and then reboot - see if that helps

Offline

#3 2005-08-04 15:57:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Network starting issues

Specifically, this error message means that an attempt is being made to add a route that already exists. Do you have any routes declared in rc.conf that might conflict with routes created by dhcp?

Offline

#4 2005-08-04 17:48:47

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

Re: Network starting issues

I have a wireless connection set up in /etc/conf.d/wireless, and called in the INTERFACES area of /etc/rc.conf to be DHCP'd.

Offline

#5 2005-08-04 20:21:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Network starting issues

No surprises there then. What's in rc.conf ROUTES?

Offline

#6 2005-08-04 20:26:57

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

Re: Network starting issues

In rc.conf ROUTES is the following:

gateway="default gw 10.0.1.1"
ROUTES=(gateway)

Offline

#7 2005-08-04 21:11:56

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Network starting issues

Right - that's what I was expecting. When dhcpcd runs, it gets an ip address AND sets the default route. So your ROUTES section is trying to do something that's already been done. Change it to

ROUTES=(!gateway)

and you'll be fine.

Offline

#8 2005-08-04 22:40:43

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

Re: Network starting issues

Thanks, that worked.  I appreciate the help.

Offline

#9 2005-08-04 22:54:04

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Network starting issues

No problem - glad it worked out.

Offline

Board footer

Powered by FluxBB