FC4 internet connection

gb spam gbofspam at gmail.com
Wed Oct 19 23:18:01 UTC 2005


> [root at mail ~]# ifconfig
> eth0 Link encap:Ethernet HWaddr 00:0D:88:25:FE:FD
> inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
> inet6 addr: fe80::20d:88ff:fe25:fefd/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:3003 errors:0 dropped:0 overruns:0 frame:0
> TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:909463 (888.1 KiB) TX bytes:16424 (16.0 KiB)
> Interrupt:10 Base address:0xd000
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> inet6 addr: ::1/128 Scope:Host
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:1708 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1708 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1947983 (1.8 MiB) TX bytes:1947983 (1.8 MiB)
>
> [root at mail ~]# route n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

there is a default gateway missing here, probably because of problems below

>
> [root at mail ~]# cat /etc/resolv.conf
> search 9.5usa.org
> nameserver 4.2.2.1
> nameserver 4.2.2.2
> nameserver 4.2.2.3
> [root at mail ~]# service network status
> Configured devices:
> lo eth0
> Currently active devices:
> lo eth0
>
> [root at mail ~]# cat /etc/sysconfig/networkscripts/
> ifcfg*
> # DLink
> System Inc|RTL8139 Ethernet
> DEVICE=eth0
> BOOTPROTO=dhcp
> BROADCAST=66.12.13.255
> HWADDR=00:0D:88:25:FE:FD
> IPADDR=66.12.13.186
> NETMASK=255.255.255.0
> NETWORK=66.12.13.0
> ONBOOT=yes
> TYPE=Ethernet
> USERCTL=no
> PEERDNS=no
> GATEWAY=66.12.13.185
> IPV6INIT=no

this file (/etc/sysconfig/network-scripts/ifcfg-eth0) is severely
screwed up.  it contains mixtures of static ip (IPADDR is defined) and
dhcp (BOOTPROTO=dhcp) config.  Stop the network (service network
stop).  Take a backup of that file (but DON'T put it in the same
directory, it may confuse the system into thinking it has another
device, try copying to /root) then change the contents to the
following:

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:0D:88:25:FE:FD
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no
IPV6INIT=no

then restart your network

> DEVICE=lo
> IPADDR=127.0.0.1
> NETMASK=255.0.0.0
> NETWORK=127.0.0.0
> # If you're having problems with gated making 127.0.0.0/8 a martian,
> # you can change this to something else (255.255.255.255, for example)
> BROADCAST=127.255.255.255
> ONBOOT=yes
> NAME=loopback
>
> The option to select an automatically assigned IP Address is grayed out
> on the GUI; it only gives the option to set a static IP Address.
>
> I'm having another issue which might need a separate message.  I notice
> that since I updated to FC4 that when I try to log out using the Main
> Menu button that everything locks up.  I can use the terminal to use
> the shutdown command but if I try using the GUI, then everything locks
> up.




More information about the fedora-list mailing list