Find the answer to your Linux question:
Results 1 to 9 of 9
I believe i have successfully configured my D-Link ethernet card but i still cant ping to the gate way... I also disabled the firewall just in case , but still ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    6

    Problem connecting to the internet using ethernet card

    I believe i have successfully configured my D-Link ethernet card but i still cant ping to the gate way... I also disabled the firewall just in case , but still facing the same problem.....The error it gives me is ""destination host unreachable"".

    whereas in my windows system on the same machine (dual booting)..the card and the internet with same config are running just fine.....I connect using a static IP and DNS given by the service provider....


    plz..plz help me....I just dont seem to figure out what to do....I went through threads with similar content but dint find the solution......

    Thanks in advance

  2. #2
    Linux Newbie athlon_crazy's Avatar
    Join Date
    Sep 2007
    Location
    Malaysia
    Posts
    132
    what is your IP & gateway?

    paste it here :
    ~$:ifconfig
    ~$:route -n

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    6
    Static IP is 10.12.127.212
    Gateway is 10.12.127.1


    ifconfig

    eth0 Link encap:Ethernet HWaddr 00:08:A1:95:6F:20
    inet addr:10.12.127.212 Bcast:10.12.127.255 Mask:255.255.255.0
    inet6 addr: fe80::208:a1ff:fe95:6f20/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:328 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:28948 (28.2 Kb)
    Interrupt:21 Base address:0xcc00

    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:222 errors:0 dropped:0 overruns:0 frame:0
    TX packets:222 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:26376 (25.7 Kb) TX bytes:26376 (25.7 Kb)


    route -n

    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    10.12.127.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
    127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
    0.0.0.0 10.12.127.1 0.0.0.0 UG 0 0 0 eth0

  4. #4
    Linux Newbie athlon_crazy's Avatar
    Join Date
    Sep 2007
    Location
    Malaysia
    Posts
    132
    hmm suppose it works! hav you try with dhcp IP?
    any result from below input? Just to make sure your firewall really turn off.

    ~$:iptables -nv -L

  5. #5
    Just Joined!
    Join Date
    Jan 2008
    Posts
    6
    iptables -nv -L

    Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination

    Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
    pkts bytes target prot opt in out source destination

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

  6. #6
    Linux Newbie athlon_crazy's Avatar
    Join Date
    Sep 2007
    Location
    Malaysia
    Posts
    132
    I wonder what for this entry in your route -n :
    169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

    if possibledo the line with ~$:route del net

  7. #7
    Just Joined!
    Join Date
    Jan 2008
    Posts
    6
    route del net

    net: Host name lookup failure



    I have a D-Link DFE-538TX 10/100 Adapter PCI card which works fine in windows....but in Suse it works on some Realtek driver....can that be a problem....?? Where can i find driver for my PCI card for linux ??

    also now in suse despite me configuring the network card it shows not connected.....previously it used to show a wired connection....

    plz help me

  8. #8
    Just Joined!
    Join Date
    Feb 2008
    Posts
    1
    Guys I hate to chime in here without a solution but it seems this is the place to get an answer for a very similar problem. I just installed Suse 10.3 and all went well, no errors but once everything was done I can not ping any other machine on the local network I use a static IP and have the router address specified as 192.168.0.1 which works fine on the remaining machines on the network. the other machines are all XP boxes and have no issues reaching the internet. Also when ping 192.168.0.1 I get Destination Host Unreachable. Any help as in what needs to be configered in all of the network card configuration boxes would be greatly appreciated. Just trying to make sure set up is ok... thanks.

  9. #9
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    As it happens, any IP address of 169.254.xxx.xxx is completely unroutabe on a network, which is why you're not getting a Gateway. I would try to release this IP pand then renew to see if your NIC will pick up on a valid IP address.
    Open a term and input (as root):

    ifconfig eth0 down

    ifconfig eth0 up


    eth0 is the first NIC in the computer, eth1 is the second, etc...
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...