Find the answer to your Linux question:
Results 1 to 2 of 2
My laptop can access internet at school but not at home. There is only one interface in the kinternet, which is eth1. I have two network cards: Dell Inspiron 6000 ...
  1. #1
    Just Joined! Hongyu's Avatar
    Join Date
    Nov 2006
    Posts
    1

    SUSE network problem

    My laptop can access internet at school but not at home.
    There is only one interface in the kinternet, which is eth1.
    I have two network cards:
    Dell Inspiron 6000 laptop
    Intel PRO/Wireless 2200BG

    ifconfig:

    eth0 Link encap:Ethernet HWaddr 00:14:22:E0:49:27
    inet addr:192.168.1.100 Bcast:192.168.1.255 MASK:255.255.255.0
    inet6 addr:fe80::214:22ff:fee0:4927/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:42 errors:0 dropped:0 overruns:0 frame:0
    TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:14326 (13.9 Kb) TX bytes:3536 (3.4 Kb)
    Interrupt:9

    eth1 Link encap:Ethernet HWaddr 00:13:CE:63:1B:80
    inet6 addr:fe80::213:ceff:fe63:1b80/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1093 errors:704 dropped:2642 overruns:0 frame:0
    TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0Kb) TX bytes:38060 (37.1 Kb)
    Interrupt:5 Base address:0xe000 Memory:dfdfd000-dfdfdfff

    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:1299 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1299 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:102306 (99.9 Kb) TX bytes:102306 (99.9 Kb)

    The kinternet always shows my computer has connect to the internet successfully, but I cannot visit any web site. Also if I use ping command, it always says "unknown host www......"

    Could anybody help me? Thanks~~~~~~~~

  2. #2
    Just Joined!
    Join Date
    Sep 2005
    Location
    China
    Posts
    37
    Quote Originally Posted by Hongyu
    My laptop can access internet at school but not at home.
    There is only one interface in the kinternet, which is eth1.
    I have two network cards:
    Dell Inspiron 6000 laptop
    Intel PRO/Wireless 2200BG

    ifconfig:

    eth0 Link encap:Ethernet HWaddr 00:14:22:E0:49:27
    inet addr:192.168.1.100 Bcast:192.168.1.255 MASK:255.255.255.0
    inet6 addr:fe80::214:22ff:fee0:4927/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:42 errors:0 dropped:0 overruns:0 frame:0
    TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:14326 (13.9 Kb) TX bytes:3536 (3.4 Kb)
    Interrupt:9

    eth1 Link encap:Ethernet HWaddr 00:13:CE:63:1B:80
    inet6 addr:fe80::213:ceff:fe63:1b80/64 Scope:Link
    UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1093 errors:704 dropped:2642 overruns:0 frame:0
    TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0Kb) TX bytes:38060 (37.1 Kb)
    Interrupt:5 Base address:0xe000 Memory:dfdfd000-dfdfdfff

    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:1299 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1299 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:102306 (99.9 Kb) TX bytes:102306 (99.9 Kb)

    The kinternet always shows my computer has connect to the internet successfully, but I cannot visit any web site. Also if I use ping command, it always says "unknown host www......"

    Could anybody help me? Thanks~~~~~~~~
    It seems there's an ipv4 with your eth0, and an ipv6 with your eth1? Or, your eth1 does not actived.
    Do not use the SUSE network manager. I've the same problem before. In the network configuration of yast, select the IFUP as its way.
    You have two network adapter? Do you want your PC as the router? There's some problem with SUSE IP-Forward. The only way I known is "echo 1 > /proc/sys/net/ipv4/ip_forward" to let kernel ip forward enabled manually every time you reboot your PC, And then add a route by type the command "route add –net <your subnet address just as 192.168.1.0> netmask 255.255.255.0 gw <your internet gateway address>" and of course the default gateway can be added by saying "route add default gw <your internet gateway address>" in the terminal.

Posting Permissions

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