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

Thread: Wired Connection not connecting to router

  1. #1
    Join Date
    Feb 2013
    Beans
    9

    Wired Connection not connecting to router

    Hello I've recently installed ubuntu on a 20GB partition using the windows based installer. I booted up and It won't connect to my network( Ethernet direct to router/modem AIO unit.)I've been talking in the IRC which had alot of help but no solutions. Any help?

    To give a little background I like to think I'm quite proficient in the windows environment and currently on my last year studying a BTEC IT course (Level 3 extended diploma) and this is my first time on linux without suppourt from a tutor. I wanted to get a feel for linux and have very little knowledge of linux.
    I'm running Ubuntu 12.10

    EDIT: Information such as ifconfig is in the posts below!
    Last edited by SeanW95; February 7th, 2013 at 11:43 PM. Reason: Additional Information

  2. #2
    Join Date
    Feb 2013
    Beans
    9

    Re: Wired Connection not connecting to router

    Edit : installed without wubi still same error. It says connected but I can't ping my router

  3. #3
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wired Connection not connecting to router

    There are lots of reasons for possible problems and we need more to go on
    open a terminal (CTRL+ALT+T) and enter the following it may give us a clue

    Code:
    lsb_release -a; uname -a; sudo lshw -C network; ifconfig; route -n; cat \etc\network\interfaces
    Post all the results back here and we may be able to advise further

  4. #4
    Join Date
    Feb 2013
    Beans
    9

    Re: Wired Connection not connecting to router

    As you requested.
    Lsb_Release -a
    Code:
    sean@sean-ubuntu:~$ lsb_release -a
    No LSB modules are available.
    Distributor ID:	Ubuntu
    Description:	Ubuntu 12.10
    Release:	12.10
    Codename:	quantal
    uname -a
    Code:
    sean@sean-ubuntu:~$ uname -a
    Linux sean-ubuntu 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    ifconfig
    Code:
    sean@sean-ubuntu:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr bc:5f:f4:08:03:6c  
              inet addr:192.168.0.25  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::be5f:f4ff:fe08:36c/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:7345 (7.3 KB)
    
    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:427 errors:0 dropped:0 overruns:0 frame:0
              TX packets:427 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:34320 (34.3 KB)  TX bytes:34320 (34.3 KB)
    route -n
    Code:
    sean@sean-ubuntu:~$ route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 eth0
    192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0

  5. #5
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Wired Connection not connecting to router

    Looking good so far. Try

    Code:
    ping -c5 192.168.0.1; ping -c5 8.8.8.8

  6. #6
    Join Date
    Feb 2013
    Beans
    9

    Re: Wired Connection not connecting to router

    Does it make any difference that my motherboard is a Nforce 630a chipset? and here are my ping results.
    Code:
    sean@sean-ubuntu:~$ ping 0c5 192.168.0.1
    ping: unknown host 0c5
    sean@sean-ubuntu:~$ ping 192.168.0.1 -c5
    PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
    From 192.168.0.25 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=4 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=5 Destination Host Unreachable
    
    --- 192.168.0.1 ping statistics ---
    5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 3999ms
    pipe 3
    sean@sean-ubuntu:~$ ping 8.8.8.8 -c5
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    From 192.168.0.25 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=4 Destination Host Unreachable
    From 192.168.0.25 icmp_seq=5 Destination Host Unreachable
    
    --- 8.8.8.8 ping statistics ---
    5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 3999ms
    pipe 3

  7. #7
    Join Date
    Mar 2011
    Location
    UK
    Beans
    125
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Wired Connection not connecting to router

    Hi

    this route looks suspicious

    Code:
    0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0
    Normally where it says 0.0.0.0 I'd expect to see "default" but I would expect this to work too.

    Also because you're getting unreachables from your own ip we know that your machine doesnt know what to do with these pings which indicates a routing/default gateway problem.

    We can try remove this suspicious route and adding it back again correctly to rule it out as a cause. Just fire up a terminal and run:

    Code:
    route del 0.0.0.0
    route add default gw 192.168.0.1
    Hope this helps!

    Barry
    Last edited by PowerBarry43; February 8th, 2013 at 01:34 AM. Reason: typo
    Desktop: Z77X-UD5H, Intel i7 3770k, NVidia GeForce 660 Ti Sli 16GB DDR3 RAM 2TB HDD
    OSes: Mint 14 x64 Windows 7 Ultimate x64
    Laptop: Dell Latitude E6430
    OSes: Ubuntu 13.04 x64, Backtrack 5 R3

  8. #8
    Join Date
    May 2007
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wired Connection not connecting to router

    I don't know about that...my routes look similar to the problematic ones and I'm having no problems with my connection. The only thing different is the metrics and the interface.

    route -n:
    Code:
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     0.0.0.0         255.255.255.0   U     2      0        0 wlan0
    169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 wlan0
    0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 wlan0

  9. #9
    Join Date
    May 2007
    Beans
    33
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Wired Connection not connecting to router

    And just to ask the obvious question, your router is setup to respond to pings?

  10. #10
    Join Date
    Feb 2013
    Beans
    9

    Re: Wired Connection not connecting to router

    Command didn't work...and yes my router responds to pings
    Code:
    sean@sean-ubuntu:~$ route del 0.0.0.0
    SIOCDELRT: Operation not permitted
    sean@sean-ubuntu:~$ soute add default gw 192.168.0.1
    No command 'soute' found, did you mean:
     Command 'route' from package 'net-tools' (main)
    soute: command not found
    sean@sean-ubuntu:~$ route del 0.0.0.0
    SIOCDELRT: Operation not permitted
    sean@sean-ubuntu:~$ route add default gw 192.168.0.1
    SIOCADDRT: Operation not permitted
    sean@sean-ubuntu:~$ sudo route del 0.0.0.0
    [sudo] password for sean: 
    SIOCDELRT: No such process
    sean@sean-ubuntu:~$ sudo route add default gw 192.168.0.1

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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