Re: Determining IP information for eth0 failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the support, but it still won't work. So, let's recapitulate my settings:

*Fast Ethernet 10/100M PCI network card 
*FC1 Gnome
*module 8139too loaded
*When I try to activate eth0 via redhat-config-network or dhclient, I recieve the error
"Determining IP information for eth0.... Failed"

In /etc/hosts I have: 
127.0.0.1             localhost.localdomain        localhost 

In etc/modules.conf I have: 
alias usb-controller usb-uhci 
alias eth0 8139too 

(deleted the "options 8139too io=0xe400 irq=11") 

In $ cat /etc/sysconfig/network-scripts/ifcfg-lo I have: 
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 

In /etc/sysconfig/networking/devices/ifcfg-eth0 I have: 
USERCTL=yes 
PEERDNS=yes 
TYPE=Ethernet 
DEVICE=eth0 
HWADDR=00:40:f4:6f:b4:90 
BOOTPROTO=dhcp 

(Information for NETMASK, DOMAIN, IPADDR, DHCP_HOSTNAME, GATEWAY, NETWORK and BROADCAST
seem to be missing. Should I fill in these myself,(and with which values), or should
DHCP/something else do this for me?) 

The command "ifconfig -a" gives: 
eth0      Link encap:Ethernet  HWaddr 00:40:F4:6F:B4:90 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:236210 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:845 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:14275029 (13.6 Mb)  TX bytes:288990 (282.2 Kb) 
          Interrupt:11 Base address:0x6000 

lo        Link encap:Local Loopback 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1 
          RX packets:5939 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:5939 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:5271644 (5.0 Mb)  TX bytes:5271644 (5.0 Mb) 

(The IPs for inet addr, Bcast and  Mask are missing) 

I can only ping localhost, every other IP gives "Network unreachable". Defining a static
IP in the GUI of redhat-config-network doesn't change a thing (and my ISP works with
dynamic IPs anyway, so I don't think I need to define any static IP). 

PING localhost.localdomain (127.0.0.1) 56(84) bytes of data. 
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=0 ttl=64 time=0.140 ms 
          ..... 
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=5 ttl=64 time=0.132 ms 
--- localhost.localdomain ping statistics --- 
6 packets transmitted, 6 received, 0% packet loss, time 5012ms 
rtt min/avg/max/mdev = 0.126/0.135/0.140/0.004 ms, pipe 2 

In the GUI-interface for redhat-config-network, I selected "automatically obtain IP
adress settings with DHCP", so I should get my DNS information from there. But even if I
do specify the domain of my ISP, and a primary and secondary nameserver in
/etc/resolv.conf, I still get the dreaded "Determining IP information for eth0...
failed"error when I try to activate  eth0.

If I start DHCP Client manually (command "dhclient"), I get the (error)message: 
Listening on LPF/eth0/00:40:f4:6f:b4:90 
Sending on   LPF/eth0/00:40:f4:6f:b4:90 
Listening on LPF/lo/ 
Sending on   LPF/lo/ 
Sending on   Socket/fallback 
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 3 
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 
  .... 
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8 
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 1 
No DHCPOFFERS received. 
No working leases in persistent database - sleeping. 

(looks like no broadcast is received) 


I'm not sure it's relevant, but when the fibrecable from the ISP comes into my house, it
goes to a switch> From there one cable goes to a Windows PC, and one to an
ex-Windows-now-Limux PC (mine, the one with troubles)> 

       printer 
      / 
pc1 (windows) 
   \ 
    \ 
  Switch/hub--------cablemodem-----fibrecable-------myISP---------Internet 
    / 
   / 
pc2 (Linux) 

I mention this, because I was thinking that I should search the solution into
masquarading, gateways, etc. 


The output of "route -n" 
Kernel IP routing table 
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface 
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 lo 
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo 

The output of "iptables -L -n -v" (because I tought it maybe could be a firewall related
problem):
Chain INPUT (policy ACCEPT 0 packets, 0 bytes) 
pkts bytes target     prot opt in     out     source               destination 
2728  303K RH-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0 

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) 
pkts bytes target     prot opt in     out     source               destination 
   0     0 RH-Firewall-1-INPUT  all  --  *      *       0.0.0.0/0            0.0.0.0/0 

Chain OUTPUT (policy ACCEPT 277 packets, 55759 bytes) 
pkts bytes target     prot opt in     out     source               destination 

Chain RH-Firewall-1-INPUT (2 references) 
pkts bytes target     prot opt in     out     source               destination 
277 55759 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0 
   0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0 
icmp type 255 
   0     0 ACCEPT     esp  --  *      *       0.0.0.0/0            0.0.0.0/0 
   0     0 ACCEPT     ah   --  *      *       0.0.0.0/0            0.0.0.0/0 
   0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0 
state RELATED,ESTABLISHED 
   0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0 
state NEW tcp dpt:25 
   0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0 
state NEW tcp dpt:80 
   0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0 
state NEW tcp dpt:21 
   0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0 
state NEW tcp dpt:22 
2451  247K REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0 
reject-with icmp-host-prohibited 


Thanks for the help, looking forward to the solution, 
Jeroen 



	
	
		
___________________________________________________________
WIN FREE WORLDWIDE FLIGHTS - nominate a cafe in the Yahoo! Mail Internet Cafe Awards  www.yahoo.co.uk/internetcafes 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux