Question
David Bandel
david.bandel
Wed Dec 6 12:35:51 PST 2006
On 12/5/06, Rick Sivernell <res005ru at verizon.net> wrote:
>
> Last night, late late, I upgraded FC5 to RC6, all seems to work nicely except
> Firefox. Sylpheed gets mail, but no internet thru firefox. restarted the network,
> got the following:
> [root at RSivernell ~]# /etc/init.d/network restart
> Shutting down interface eth0: [ OK ]
> Shutting down loopback interface: [ OK ]
> Bringing up loopback interface: [ OK ]
> Bringing up interface eth0: RTNETLINK answers: File exists
> Error adding address 192.168.0.40 for eth0.
> [ OK ]
> [root at RSivernell ~]# ifconfig
> __tmp1804289383 Link encap:Ethernet HWaddr 00:11:2F:7F:17:EC
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:113187 errors:0 dropped:0 overruns:0 frame:0
> TX packets:113187 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:12669207 (12.0 MiB) TX bytes:12669207 (12.0 MiB)
> Interrupt:185 Base address:0x6000
>
> eth0 Link encap:Ethernet HWaddr 00:50:FC:8F:6F:5A
> inet addr:192.168.0.40 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::250:fcff:fe8f:6f5a/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:41818 errors:0 dropped:0 overruns:0 frame:0
> TX packets:17481 errors:0 dropped:0 overruns:0 carrier:0
> Is there a problem here? I do not know tmp1804289383 and
> Bringing up interface eth0: RTNETLINK answers: File exists
> Error adding address 192.168.0.40 for eth0.
>
The RNETLINK error is just telling you eth0 is configured with an IP
address. But having an IP address won't get you to the Internet if
you don't have a default gateway.
any of the following should show you your gateway address:
netstat -rn
route -n
ip route show (or: ip ro sh)
You are looking for a line that starts 0.0.0.0 or default via ...
Without that, you're going nowhere.
ip ro add default 192.168.0.1 via eth0
(substituting your default gw for 192.168.0.1 should do it for you)
or:
route add default gw 192.168.0.1
If you still have problems, check /etc/resolv.conf and make sure you
have good nameserver lines.
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list