You are not logged in.

#1 2010-02-08 18:21:14

anti-destin
Member
Registered: 2009-02-14
Posts: 234

connect: network is unreachable error

after a bad resume from suspend, my network went down and network manager was disabled. i used the command 'cnetworkmanager -o 1' to get it back up.

knetworkmanager works properly now. it connects on startup and i can scan for access points. the problem is that i can't load any pages.

here are the relevant parts of /etc/rc.conf:

#Static IP example
#eth0="dhcp"
eth0="dhcp"
INTERFACES=(!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.1.1"
ROUTES=(gateway)

interestingly, the last two lines were different when my wireless was working earlier (they were the defaults). i changed them to see if doing so would solve the problem.

here's the output of route:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     2      0        0 wlan0

now, when i type 'sudo route add default gw 192.168.1.1', everything works. here's the output of route:

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     2      0        0 wlan0
default         WRT54G          0.0.0.0         UG    0      0        0 wlan0

but after a reboot, the problem recurs and i have to type 'sudo route add default gw 192.168.1.1' to fix it.

any ideas?

edit: i ended up reformatting. no problems now.

Last edited by anti-destin (2010-02-08 21:53:39)

Offline

Board footer

Powered by FluxBB