You are not logged in.
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?
Bostoniman
Ba-zing Communications
Offline
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
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
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.
Bostoniman
Ba-zing Communications
Offline
No surprises there then. What's in rc.conf ROUTES?
Offline
In rc.conf ROUTES is the following:
gateway="default gw 10.0.1.1"
ROUTES=(gateway)
Bostoniman
Ba-zing Communications
Offline
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
Thanks, that worked. I appreciate the help.
Bostoniman
Ba-zing Communications
Offline
No problem - glad it worked out.
Offline