Keep looosing Network Connection?

Discussion in 'Installation/Configuration' started by fvs, Apr 14, 2006.

  1. fvs

    fvs New Member

    Hello again,
    Well I'm back, I have lost my connection to the web once more.
    I have on my dual boot machine Win XP and Fedora Core 5, I was up and running on XP, then rebooted and booted up Fedora, only to find that i couldn't get on line? I have been running online in Fedora for about 6 days without a hitch. My Network say's I'm activated,But I can't get on line, My firefox is running, yet it can't find the servers? I tried to restart with the /etc/init.d/network restart command and all commands I know, Maybe someone else that had this problem can help? Thanks. fvs
     
  2. sbovisjb1

    sbovisjb1 ISPConfig Developer ISPConfig Developer

    Try using ndiswrapper to install the windows drivers.
     
  3. fvs

    fvs New Member

    Windows work fine, The lost connection is in Fedora. Thanks
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Does your Fedora system use DHCP or a static IP address?
    What's in /etc/sysconfig/network-scripts/ifcfg-eth0?
     
  5. fvs

    fvs New Member

    Hi Falko, I can't seem to get it together, :mad:

    [[email protected] frank]# /sbin/route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    169.254.0.0 * 255.255.0.0 U 0 0 0 lo
    [[email protected] frank]# /etc/init.d/network restart
    Shutting down interface eth0: [ OK ]
    Shutting down loopback interface: [ OK ]
    Bringing up loopback interface: [ OK ]
    Bringing up interface eth0:
    Determining IP information for eth0...dhclient(3319) is already running - exiting.
    exiting.
    failed
    [[email protected] frank]# dmesg | grep eth0
    eth0: forcedeth.c: subsystem: 01565:2501 bound to 0000:00:14.0
    eth0: no IPv6 routers present
    eth0: no IPv6 routers present
    eth0: no IPv6 routers present
    [[email protected] frank]#
    # nVidia Corporation MCP51 Ethernet Controller
    DEVICE=eth0
    BOOTPROTO=dhcp
    HWADDR=00:E0:4C:F1:A3:FE
    ONBOOT=yes
    USERCTL=no
    IPV6INIT=no
    PEERDNS=yes
    TYPE=Ethernet
    IPADDR=192.168.0.3
    DEFAULTGATEWAY=192.168.0.1

    NETMASK=255.255.255.0
    GATEWAY=192.168.0.1
    ~
    ~
    ~
    ~
    ~
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Can you try this in /etc/sysconfig/network-scripts/ifcfg-eth0?
    Code:
    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=192.168.0.255
    HWADDR=00:E0:4C:F1:A3:FE
    IPADDR=192.168.0.3
    NETMASK=255.255.255.0
    NETWORK=192.168.0.0
    ONBOOT=yes
    GATEWAY=192.168.0.1
    DEFAULTGATEWAY=192.168.0.1
    Restart the network afterwards:
    Code:
    /etc/init.d/network restart
    Your system should then have the IP address 192.168.0.3.
     
  7. fvs

    fvs New Member

    OK, I have it all except I still can't get to the internet? Check it out:
    ssword:
    [[email protected] frank]# /etc/init.d/network restart
    Shutting down interface eth0: [ OK ]
    Shutting down loopback interface: [ OK ]
    Bringing up loopback interface: [ OK ]
    Bringing up interface eth0: [ OK ]
    [[email protected] frank]# ping 192.168.0.3
    PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
    64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=0.051 ms
    64 bytes from 192.168.0.3: icmp_seq=2 ttl=64 time=0.049 ms
    64 bytes from 192.168.0.3: icmp_seq=3 ttl=64 time=0.045 ms
    64 bytes from 192.168.0.3: icmp_seq=4 ttl=64 time=0.043 ms
    64 bytes from 192.168.0.3: icmp_seq=5 ttl=64 time=0.043 ms
    64 bytes from 192.168.0.3: icmp_seq=6 ttl=64 time=0.046 ms
    64 bytes from 192.168.0.3: icmp_seq=7 ttl=64 time=0.045 ms
    64 bytes from 192.168.0.3: icmp_seq=8 ttl=64 time=0.051 ms
    64 bytes from 192.168.0.3: icmp_seq=9 ttl=64 time=0.045 ms
    64 bytes from 192.168.0.3: icmp_seq=10 ttl=64 time=0.044 ms
    64 bytes from 192.168.0.3: icmp_seq=11 ttl=64 time=0.048 ms
    64 bytes from 192.168.0.3: icmp_seq=12 ttl=64 time=0.044 ms
    64 bytes from 192.168.0.3: icmp_seq=13 ttl=64 time=0.045 ms
    64 bytes from 192.168.0.3: icmp_seq=14 ttl=64 time=0.048 ms
    64 bytes from 192.168.0.3: icmp_seq=15 ttl=64 time=0.044 ms
    64 bytes from 192.168.0.3: icmp_seq=16 ttl=64 time=0.043 ms
    64 bytes from 192.168.0.3: icmp_seq=17 ttl=64 time=0.047 ms
    64 bytes from 192.168.0.3: icmp_seq=18 ttl=64 time=0.049 ms

    --- 192.168.0.3 ping statistics ---
    18 packets transmitted, 18 received, 0% packet loss, time 16998ms
    rtt min/avg/max/mdev = 0.043/0.046/0.051/0.004 ms
    [[email protected] frank]#

    [email protected]t frank]# /sbin/route
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
    169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
    default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
    [[email protected] frank]#
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Is 192.168.0.1 your gateway? Can you ping other systems in your local network?

    Where does 169.254.0.0 come from?
     
  9. sbovisjb1

    sbovisjb1 ISPConfig Developer ISPConfig Developer

  10. fvs

    fvs New Member

    Can't go to web site, I can't get online with Fedora 5, I'm writing you in Win XP system. Need to get online in linux fedora Core5.
     
  11. dishawjp

    dishawjp New Member

    Fvs,

    It looks like your eth0 is coming up fine, but that you may not be getting DNS information.

    For giggles, try to ping yahoo.com by using its IP address:

    ping 66.94.234.13

    and see how that goes. If that works then it is a DNS issue.

    HTH,

    Jim
     
  12. fvs

    fvs New Member

    [[email protected] frank]# /sbin/ifconfig
    eth0 Link encap:Ethernet HWaddr 00:E0:4C:F1:A3:FE
    inet addr:192.168.0.250 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::2e0:4cff:fef1:a3fe/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:201 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:17 Base address:0xe000

    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:2220 errors:0 dropped:0 overruns:0 frame:0
    TX packets:2220 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2677417 (2.5 MiB) TX bytes:2677417 (2.5 MiB)
    Tried to ping Yahoo.com & 66.94.234.13 , can't go through
     
    Last edited: Apr 18, 2006
  13. falko

    falko Super Moderator ISPConfig Developer

    Is 192.168.0.1 your gateway? Can you ping other systems in your local network?
     
  14. 22hosting

    22hosting New Member

    I really hope this isn't as easy as I think it is. If you can ping an ip address (any address at all) your ethernet is working, and network connectivity is NOT your issue. Your DHCP appears to have assigned you an address (as show by ifconfig).

    If you try pinging by name (NOT ip) you will probably find it can't. The reason being it CANNOT resolve names. You need to specify a dns server in /etc/resolv.conf .

    Therefore firstly :
    cat /etc/resolv.conf
    to see what you got.

    Then pico/nano/vi your /etc/resolv.conf file and add in this at the top
    nameserver 82.138.242.202

    I would only recommend using this entry for a short time as it's my DNS server, and your ISP should have one you can use instead. You could probably also use your routers/gateway IP (192.168.0.1 or whatever it is).

    UPDATE :
    Ok, i decided to re-read a couple of posts here. You cannot access an external network. So check the following :
    cat /etc/sysconfig/network

    Make sure you have a line like : GATEWAY=192.168.0.1
    You must specify your gateway address else you'll never get an external connection.
    ________
    Live sex
     
    Last edited: Aug 22, 2011
  15. fvs

    fvs New Member

    Thanks for reply, I have it working now with a lot of tweaking and luck,
    Don't ask me how, i just set it back to DHCP and it came back on reboot?
    Hope it lasts after next update. Thanks.:) fvs
     
  16. fvs

    fvs New Member

    I can't go any further,I'm stuck with out an internet connection.
    Once again I take one step forward and two steps back, This time all was going well with my internet and I thought that I would start going ahead and download the programs that would help personalize my system, I used update to update my system the and commenced to install samba, anjuta and a few other things, I guess in the update it included a new kernel 2.6.16 and when I rebooted once again and found Once more I hadn't a connection to the web and no server. Went through all the connands & code we did in the last two weeks the last one, etc/init.d/network restart and found error message that said something about errors and refered me to /etc/syscongig/network-scripts/ifup-eth, I don't know what I should look for? This FC5 is rather differcult to handle for a novice.
    I'm glad to have your help, Thanks fvs
     
  17. 22hosting

    22hosting New Member

    Check /etc/sysconfig/network-scripts/ifcfg-eth0
    it will contain your ethernet address information.
    ________
    LilyH
     
    Last edited: Aug 22, 2011

Share This Page