Today I’ve upgraded to Fedora 14 and the first thing I found was that I didn’t have network access. In console all commands failed with a “connect: Network is unreachable” message.
After wandering for a while what the heck was wrong I took a look at the output of ‘ip route’ and I discovered that there was not a default route, oh sh**!
| [mangelp@hyperion ~]$ ip route
192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.129 metric 2 |
It seems that NetworkManager didn’t set the default route after connecting, so no connection can be done with any ip address not specifically routed (a route for the local network is the only one added).
This can be easily fixed with the command ‘ip route add default via 192.168.0.1′. Here 192.168.0.1 is the gateway (my router).
| [mangelp@hyperion ~]$ ip route add default via 192.168.0.1
[mangelp@hyperion ~]$ ip route 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.129 metric 2 default via 192.168.0.1 dev wlan0 |
After executing this I can connect to internet again.
UPDATE: Three months after, the bug is still there.
This bug is already solved in latest Fedora 14 updates and was half dhcp and half NetworkManager.