Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: network is unreachable (trying to connect to LAN/Internet)

  1. #1
    zerocoolcss NNTP User

    Unhappy network is unreachable (trying to connect to LAN/Internet)

    for a long time now i used Windows XP. this is the first time i work with suse/linux or something equal.

    i installed openSUSE from the dvd (v 10.3). everything works fine..nearly everything. i'm not able to connect to my local network. (DSL Router: FRITZ!Box Fon WLAN 7050, +3 other Computers running WinXP)

    I tried everything, but no matter what i did, everytime i tried to ping my router or a computer in the network i got this:
    Code:
    prophet:~ # ping 192.168.178.1
    connect: Network is unreachable
    all settings are exactly as i used them with winXP.
    (i set them in YaST2)

    My System:
    Mainboard: Gigabyte P35-DS4(onboard: Giga-byte RTL8111/8168B PCI Express Gigabit Ethernet controller)
    CPU: Intel CoreDuo (don't know which number)
    RAM: 4GB DDR2 800(G-Skill)
    Graphics: ASUS EAX1950Pro
    250GB-HDD + DVD-Writer

    i hope u can help me.

    Sebastian

    (i'm sorry for my bad english, i hope u have no problems to understand)

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: network is unreachable (trying to connect to LAN/Interne

    Hi Sebastian, welcome to the forums.

    That card has some issues reported with earlier kernels on 64 bit Suse.
    So let's just check that's OK, and a couple of otherthings while we're at it. Please issue these commands in a console/terminal window and copy/paste the results back here:
    • ifconfig
    • sudo /sbin/lspci | grep thernet
    • iwconfig
    • route



    Swerdna
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  3. #3

    Default Re: network is unreachable (trying to connect to LAN/Interne

    I'm facing the same problem when i configure my card through Yast network module.
    Try to install Knetwormanager (i assume you use Kde) and configure your network with this.
    For me it's the only way to have my network cards working.

  4. #4

    Default Re: network is unreachable (trying to connect to LAN/Interne

    eem i had the same problem some times... if you want to install knetwork manager , remember to do it with yast before trying to configure your network card...

  5. #5
    zerocoolcss NNTP User

    Default Re: network is unreachable (trying to connect to LAN/Interne

    Hello, and thank you very much for your replys.

    first, this is what i got when i used the commands:

    Code:
    prophet:~ # ifconfig
    eth0      Link encap:Ethernet HWaddr 00:1A:4D:52:25:E0
              inet addr:192.168.178.26 Bcast:192.168.178.255 Mask: 255.255.255.0
              UP BROADCAST MULTICAST MTU:1500 Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 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:44 errors:0 dropped:0 overruns:0 frame:0
              TX pacekts:44 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2808 (2.7 Kb)  TX bytes:2808 (2.7 Kb)
    Code:
    prophet:~ # sudo /sbin/lspci | grep thernet
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller     (rev 01)
    Code:
    prophet:~ # iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    Code:
    prophet:~ # route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref Use Iface
    192.168.178.0   *               255.255.255.0   U     0      0     0 eth0
    link-local      *               255.255.0.0     U     0      0     0 eth0
    loopback        *               255.0.0.0       U     0      0     0 lo
    default         192.168.178.1   0.0.0.0         UG    0      0     0 eth0
    @hotus: you're right, i'm using kde, thank you for the information, i'll try it.

    Thanks for your help,
    Sebastian

  6. #6
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: network is unreachable (trying to connect to LAN/Interne

    Those commands show that the ethernet card is recognised. It is getting an IP address 192.168.178.26 and it knows where that gateway to the internet is in the device at address 192.168.178.1.

    Ordinarily it would be working and connecting to the internet. The puzzle is why you can't ping 192.168.178.1 when you're on the same IP subnet. Maybe there's a setting in the router preventing that or maybe the firewall has a strange setting. Try turning the firewall off in Yast --> Security --> Firewall until you get connected, just to limit the possible problems.

    Also check that the ethernet card is assigned to the external zone in the firewall at Yast --> network devices --> network settings --> edit --> general --> firewall zone --> external zone.

    And just for completeness, what do you get from this command in a console:
    cat /etc/resolv.conf

    Oh and are you using a router to get to the internet or which device are you using?
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  7. #7
    zerocoolcss NNTP User

    Default Re: network is unreachable (trying to connect to LAN/Interne

    the network card don't get the ip address from my router, i set it manually. i set the gateway too.

    i connect to the internet with a router (name is in my first post). now i disabled the firewall, and set the firewall zone to external (was disabled)....maybe because i disabled the firewall one minute before? now it runs again. (but while it was disabled, i wasn't able to ping my router or any other computer too.)

    Code:
    prophet:~ # cat /etc/resolv.conf
    nameserver 192.168.178.1
    search local
    now i'll try again to get my ip over dhcp. i'll write if it works (don't believe so)

    Sebastian

  8. #8
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: network is unreachable (trying to connect to LAN/Interne

    I've searched that card on Google. It's problematic in Linux unltil you install the realtek drivers. They are on this link:
    Realtek
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

  9. #9
    zerocoolcss NNTP User

    Default Re: network is unreachable (trying to connect to LAN/Interne

    a very big thank you. I needed one hour to find out how to install the drivers, but now it works.

    so: thanks to everyone for the fast help.
    Greetings Sebastian.

  10. #10
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,731
    Blog Entries
    2

    Default Re: network is unreachable (trying to connect to LAN/Interne

    That's very nice to hear. For other readers with this problem: First check the network setup in terms of:
    For DHCP -->
    ping: If you can ping your router successfully
    route: If "route" displays the IP address of the router in the last line
    ifconfig: If the card is getting an IP address on the same subnet as the router
    resolv.conf: If cat /etc/resolv.conf shows name servers or the IP of the router
    Check those first and get them right before you think about drivers

    Then use this to get your cards' descriptions at more fundamental level:
    sudo /sbin/lspci | grep thernet
    And then use that information to see if the card is problematic and in need of a driver install, which is a fairly rare requirement because Linux is way far ahead of microsoft in supplying the full suite of drivers.
    Leap 42.3 & 15.1 &KDE
    FYIs from the days of yore

Page 1 of 2 12 LastLast

Posting Permissions

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