LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-23-2012, 12:14 PM   #1
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Rep: Reputation: 7
I can't connect to internet, there is no internet, network on Ubuntu 12.04


Hi.

Can You help me? I wanted to try new Ubuntu. I installed it without problem but as soon as i rebooted after installation i found problem with my internet connections. There is no network. I have 2 lan cards, in ifconfig thery are present, ubuntu sees them in taskbar (near clock there is network/internet icon) but i can't connect to internet, maybe it is my fault but on 11.10 these cards work fine. As soon as i log into Ubuntu i see "connection lost" or "wired network not connected" (or something like that, i forgot the exact word for it).

ifconfig

Code:
eth0      Link encap:Ethernet  HWaddr 90:e6:ba:c7:52:c1  
          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:43 Base address:0xa000 

eth1      Link encap:Ethernet  HWaddr 48:5b:39:bf:0b:55  
          inet6 addr: fe80::4a5b:39ff:febf:b55/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:4133 (4.1 KB)
          Interrupt:21 Base address:0xe880 

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:432 errors:0 dropped:0 overruns:0 frame:0
          TX packets:432 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:33648 (33.6 KB)  TX bytes:33648 (33.6 KB)
lsmod:



Code:
Module                  Size  Used by
nls_utf8               12493  1 
isofs                  39553  1 
rfcomm                 38139  0 
bnep                   17830  2 
bluetooth             158438  10 rfcomm,bnep
tda9887                17874  1 
tda8290                22216  0 
tea5767                13113  0 
tuner                  26836  2 
snd_hda_codec_via      46138  1 
adt7475                21887  0 
hwmon_vid              12723  1 adt7475
snd_hda_intel          32765  3 
snd_hda_codec         109562  2 snd_hda_codec_via,snd_hda_intel
snd_hwdep              13276  1 snd_hda_codec
snd_seq_midi           13132  0 
snd_rawmidi            25424  1 snd_seq_midi
ppdev                  12849  0 
snd_seq_midi_event     14475  1 snd_seq_midi
snd_seq                51567  2 snd_seq_midi,snd_seq_midi_event
ir_lirc_codec          12739  0 
lirc_dev               18700  1 ir_lirc_codec
snd_seq_device         14172  3 snd_seq_midi,snd_rawmidi,snd_seq
ir_mce_kbd_decoder     12681  0 
ir_sony_decoder        12462  0 
ati_agp                13242  0 
ir_jvc_decoder         12459  0 
ir_rc6_decoder         12459  0 
ir_rc5_decoder         12459  0 
ir_nec_decoder         12459  0 
k10temp                12990  0 
snd_ctxfi              86200  2 
snd_pcm                80845  3 snd_hda_intel,snd_hda_codec,snd_ctxfi
snd_timer              28931  2 snd_seq,snd_pcm
cx8800                 33328  0 
cx88xx                 83089  1 cx8800
rc_core                21263  8 ir_lirc_codec,ir_mce_kbd_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,cx88xx
tveeprom               17009  1 cx88xx
v4l2_common            15793  3 tuner,cx8800,cx88xx
videodev               86588  4 tuner,cx8800,cx88xx,v4l2_common
videobuf_dma_sg        18786  2 cx8800,cx88xx
videobuf_core          25409  3 cx8800,cx88xx,videobuf_dma_sg
btcx_risc              13400  2 cx8800,cx88xx
snd                    62064  20 snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_rawmidi,snd_seq,snd_seq_device,snd_ctxfi,snd_pcm,snd_timer
sp5100_tco             13495  0 
soundcore              14635  1 snd
snd_page_alloc         14108  3 snd_hda_intel,snd_ctxfi,snd_pcm
i2c_piix4              13093  0 
parport_pc             32114  1 
asus_atk0110           17742  0 
mac_hid                13077  0 
nouveau               712294  3 
ttm                    65344  1 nouveau
drm_kms_helper         45466  1 nouveau
drm                   197692  5 nouveau,ttm,drm_kms_helper
i2c_algo_bit           13199  2 cx88xx,nouveau
mxm_wmi                12859  1 nouveau
wmi                    18744  1 mxm_wmi
video                  19068  1 nouveau
lp                     17455  0 
parport                40930  3 ppdev,parport_pc,lp
usbhid                 41906  0 
hid                    77367  1 usbhid
sundance               26629  0 
r8169                  56321  0 
sata_sil24             17794  1 
pata_atiixp            12999  1
lshw:

Code:
deusex
    description: Computer
    width: 32 bits
  *-core
       description: Motherboard
       physical id: 0
     *-memory
          description: System memory
          physical id: 0
          size: 4027MiB
     *-cpu
          product: AMD Phenom(tm) II X4 955 Processor
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 1
          bus info: cpu@0
          version: 15.4.3
          size: 3200MHz
          capacity: 3200MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 3dnowext 3dnow constant_tsc nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt npt lbrv svm_lock nrip_save cpufreq
        *-cache:0
             description: L1 cache
             physical id: 0
             size: 128KiB
        *-cache:1
             description: L2 cache
             physical id: 1
             size: 512KiB
     *-pci:0
          description: Host bridge
          product: RX780/RX790 Chipset Host Bridge
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 66MHz
        *-pci:0
             description: PCI bridge
             product: RD790 PCI to PCI bridge (external gfx0 port A)
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:40 ioport:b000(size=4096) memory:f4000000-f7dfffff ioport:d0000000(size=268435456)
           *-display
                description: VGA compatible controller
                product: GT200 [GeForce GTX 260]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:18 memory:f6000000-f6ffffff memory:d0000000-dfffffff memory:f4000000-f5ffffff ioport:bc00(size=128) memory:f7d80000-f7dfffff
        *-pci:1
             description: PCI bridge
             product: RD790 PCI to PCI bridge (PCI express gpp port D)
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 7
             bus info: pci@0000:00:07.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:41 ioport:c000(size=4096) memory:f7e00000-f7efffff
           *-storage
                description: RAID bus controller
                product: Silicon Image, Inc.
                vendor: Silicon Image, Inc.
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 01
                width: 64 bits
                clock: 33MHz
                capabilities: storage bus_master cap_list rom
                configuration: driver=sata_sil24 latency=0
                resources: irq:19 memory:f7effc00-f7effc7f memory:f7ef8000-f7efbfff ioport:cc00(size=128) memory:f7e00000-f7e7ffff
        *-pci:2
             description: PCI bridge
             product: RD790 PCI to PCI bridge (PCI express gpp port F)
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: a
             bus info: pci@0000:00:0a.0
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:42 ioport:d000(size=4096) memory:f7f00000-f7ffffff ioport:f2f00000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8111/8168B PCI Express Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:03:00.0
                logical name: eth0
                version: 03
                serial: 90:e6:ba:c7:52:c1
                size: 10Mbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168d-2.fw latency=0 multicast=yes port=MII speed=10Mbit/s
                resources: irq:43 ioport:d800(size=256) memory:f2fff000-f2ffffff memory:f2ff8000-f2ffbfff memory:f7ff0000-f7ffffff
        *-storage
             description: SATA controller
             product: SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 11
             bus info: pci@0000:00:11.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: storage ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=64
             resources: irq:22 ioport:a000(size=8) ioport:9000(size=4) ioport:8000(size=8) ioport:7000(size=4) ioport:6000(size=16) memory:f3fffc00-f3ffffff
        *-usb:0
             description: USB controller
             product: SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 12
             bus info: pci@0000:00:12.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:16 memory:f3ffe000-f3ffefff
        *-usb:1
             description: USB controller
             product: SB7x0 USB OHCI1 Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 12.1
             bus info: pci@0000:00:12.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:16 memory:f3ffd000-f3ffdfff
        *-usb:2
             description: USB controller
             product: SB7x0/SB8x0/SB9x0 USB EHCI Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 12.2
             bus info: pci@0000:00:12.2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=64
             resources: irq:17 memory:f3fff800-f3fff8ff
        *-usb:3
             description: USB controller
             product: SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 13
             bus info: pci@0000:00:13.0
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:f3ffc000-f3ffcfff
        *-usb:4
             description: USB controller
             product: SB7x0 USB OHCI1 Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 13.1
             bus info: pci@0000:00:13.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:f3ffb000-f3ffbfff
        *-usb:5
             description: USB controller
             product: SB7x0/SB8x0/SB9x0 USB EHCI Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 13.2
             bus info: pci@0000:00:13.2
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ehci bus_master cap_list
             configuration: driver=ehci_hcd latency=64
             resources: irq:19 memory:f3fff400-f3fff4ff
        *-serial UNCLAIMED
             description: SMBus
             product: SBx00 SMBus Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 3c
             width: 32 bits
             clock: 66MHz
             capabilities: cap_list
             configuration: latency=0
        *-ide
             description: IDE interface
             product: SB7x0/SB8x0/SB9x0 IDE Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14.1
             bus info: pci@0000:00:14.1
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ide bus_master cap_list
             configuration: driver=pata_atiixp latency=64
             resources: irq:16 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:ff00(size=16)
        *-multimedia
             description: Audio device
             product: SBx00 Azalia (Intel HDA)
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14.2
             bus info: pci@0000:00:14.2
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: bus_master cap_list
             configuration: driver=snd_hda_intel latency=64
             resources: irq:16 memory:f3ff4000-f3ff7fff
        *-isa
             description: ISA bridge
             product: SB7x0/SB8x0/SB9x0 LPC host controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
        *-pci:3
             description: PCI bridge
             product: SBx00 PCI to PCI Bridge
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14.4
             bus info: pci@0000:00:14.4
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: pci subtractive_decode bus_master
             resources: ioport:e000(size=4096) memory:f8000000-febfffff
           *-multimedia:0
                description: Multimedia audio controller
                product: SB X-Fi
                vendor: Creative Labs
                physical id: 5
                bus info: pci@0000:04:05.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=snd_ctxfi latency=64 maxlatency=5 mingnt=4
                resources: irq:20 ioport:ec00(size=32) memory:fea00000-febfffff memory:f8000000-fbffffff
           *-network
                description: Ethernet interface
                product: IC Plus IP100A Integrated 10/100 Ethernet MAC + PHY
                vendor: Sundance Technology Inc / IC Plus Corp
                physical id: 6
                bus info: pci@0000:04:06.0
                logical name: eth1
                version: 31
                serial: 48:5b:39:bf:0b:55
                size: 100Mbit/s
                capacity: 100Mbit/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=sundance driverversion=1.2 duplex=full latency=64 maxlatency=10 mingnt=10 multicast=yes port=MII speed=100Mbit/s
                resources: irq:21 ioport:e880(size=128) memory:fe9ffc00-fe9ffdff memory:fe9e0000-fe9effff
           *-multimedia:1
                description: Multimedia video controller
                product: CX23880/1/2/3 PCI Video and Audio Decoder
                vendor: Conexant Systems, Inc.
                physical id: 7
                bus info: pci@0000:04:07.0
                version: 05
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list
                configuration: driver=cx8800 latency=64 maxlatency=55 mingnt=20
                resources: irq:22 memory:fd000000-fdffffff
        *-usb:6
             description: USB controller
             product: SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
             vendor: Hynix Semiconductor (Hyundai Electronics)
             physical id: 14.5
             bus info: pci@0000:00:14.5
             version: 00
             width: 32 bits
             clock: 66MHz
             capabilities: ohci bus_master
             configuration: driver=ohci_hcd latency=64
             resources: irq:18 memory:f3ffa000-f3ffafff
     *-pci:1
          description: Host bridge
          product: Family 10h Processor HyperTransport Configuration
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 101
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Family 10h Processor Address Map
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 102
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Family 10h Processor DRAM Controller
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 103
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Family 10h Processor Miscellaneous Control
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 104
          bus info: pci@0000:00:18.3
          version: 00
 width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:5
          description: Host bridge
          product: Family 10h Processor Link Control
          vendor: Hynix Semiconductor (Hyundai Electronics)
          physical id: 105
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
Can You tell me what to do in order to set up connections, having internet?
 
Old 06-23-2012, 12:17 PM   #2
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
They're simply not configured.
Dunno if and which network manager you're using, but issuing a simple
Code:
sudo dhcpcd ethX
on the X device which is connected to a DHCP server should get you up and running, provided Ubuntu includes dhcpcd
Anyway, look first inside your network manager settings.
 
Old 06-23-2012, 12:35 PM   #3
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
They're simply not configured.
Are you sure? Can me tell exacly which line listed above shows that it is not configured?

Quote:
Dunno if and which network manager you're using, but issuing a simple
Network from Ubuntu.
Quote:
I will check it.
Code:
sudo dhcpcd ethX
on the X device which is connected to a DHCP server should get you up and running, provided Ubuntu includes dhcpcd
Anyway, look first inside your network manager settings.
I did. I set up my internet manually and there wasn't any network connection at all while on 11.10 automatically shows up after boot and log in. I don't thing that i configured it, in mentwork menager i just see: auto - see my attached file.

As You can see, on 11.10 it is auto settings. I provided also my internet connection information. Driver: sundance works.
Attached Thumbnails
Click image for larger version

Name:	network_auto_connections.jpg
Views:	76
Size:	70.2 KB
ID:	9943   Click image for larger version

Name:	network_auto_connections_2.jpg
Views:	66
Size:	73.7 KB
ID:	9944   Click image for larger version

Name:	Ubuntu_connections_info_small.png
Views:	64
Size:	46.5 KB
ID:	9946  

Last edited by firekage; 06-23-2012 at 12:44 PM.
 
Old 06-24-2012, 02:44 AM   #4
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by firekage View Post
Are you sure? Can me tell exacly which line listed above shows that it is not configured?
I said that your network interfaces are not configured because the ifconfig output reports that both eth0 and eth1 don't have an IP address

Quote:
Originally Posted by firekage View Post
I did. I set up my internet manually and there wasn't any network connection at all while on 11.10 automatically shows up after boot and log in. I don't thing that i configured it, in mentwork menager i just see: auto - see my attached file.
I see. Inside the Ubuntu 12.04 documentation it is said that wired interfaces should automatically connect as soon as an ethernet cable is plugged in. Are you sure that your cable works correctly? Can you try with another one before proceeding?
 
Old 06-24-2012, 04:01 AM   #5
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
I said that your network interfaces are not configured because the ifconfig output reports that both eth0 and eth1 don't have an IP address
Thanks.

Quote:
I see. Inside the Ubuntu 12.04 documentation it is said that wired interfaces should automatically connect as soon as an ethernet cable is plugged in. Are you sure that your cable works correctly? Can you try with another one before proceeding?
I'm sure that cable is ok because on the same cable, on the same computer with the same lan cards but on a different hard disk sits Ubuntu 11.10 and when i switch to 11.10 wired connection is right away avilable when i log in into Ubuntu.
 
Old 06-24-2012, 04:21 AM   #6
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Could this be the situation under your network manager in 12.04?
 
1 members found this post helpful.
Old 06-24-2012, 04:40 AM   #7
PhoenixAndThor
Member
 
Registered: Sep 2009
Location: Geogia, USA
Distribution: Ubuntu, Debian, Live CDs
Posts: 213

Rep: Reputation: 39
Quote:
Originally Posted by 414N View Post
Could this be the situation under your network manager in 12.04?
Yeah, that's looks about right. I'm running Lubuntu 12.04 (Ubuntu with Lxde instead of Unity, same thing). That's usually what happens when more than one ethernet card is detected. Just click the Add button and pick which card you want to connect with. Then set it to DHCP (I think it's called 'Automatic'?), and it will connect.
 
Old 06-24-2012, 07:01 AM   #8
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
Could this be the situation under your network manager in 12.04?
No, it is not this problem. Check post number 3. I have two wired connection recognized in network menager but i can't connect to internet.

I checked two things:

-run from live instllation disk: also couldn't connect to internet, as soon as i booted i see "network disable"
-I CAN'T EVEN LOG TO MY ROUTER, i add ip addres in addres bar of firefox and i see that i can't connect because there is no connection!

I just don't know what to do. I tried with

Code:
sudo dhcpcd ethX
and i had this:

(sudo: dhcpcd: didn't find command - translated to english )

I attached files contains:

-sudo dhcpcd ethX
-my two wired connections in network menager (as you can see there are 3 connections right now cause it is from 11.10 and works, on 12.04 are only Wired Connection 1 and Wired Connection 2 but doesen't work at all)

But despite it i have this info:

http://img220.imageshack.us/img220/6...sconnected.png

Uploaded with ImageShack.us

Here is a link

http://img220.imageshack.us/img220/6...sconnected.png

(network disconnected)
Attached Thumbnails
Click image for larger version

Name:	did_not_found_command.jpg
Views:	48
Size:	60.9 KB
ID:	9960   Click image for larger version

Name:	network_auto_connections.jpg
Views:	50
Size:	70.2 KB
ID:	9963  

Last edited by firekage; 06-24-2012 at 07:07 AM.
 
Old 06-24-2012, 07:35 AM   #9
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by firekage View Post
-I CAN'T EVEN LOG TO MY ROUTER, i add ip addres in addres bar of firefox and i see that i can't connect because there is no connection!
Of course you can't. None of your ethX interfaces have an IP address, so they cannot connect to your router administration web page.
Quote:
Originally Posted by firekage View Post
I just don't know what to do. I tried with

Code:
sudo dhcpcd ethX
and i had this:

(sudo: dhcpcd: didn't find command - translated to english )
Sorry for that. You should try with dhclient instead of dhcpcd, as it should already be installed on an Ubuntu system.

Quote:
Originally Posted by firekage View Post
-my two wired connections in network menager (as you can see there are 3 connections right now cause it is from 11.10 and works, on 12.04 are only Wired Connection 1 and Wired Connection 2 but doesen't work at all)
I already looked at the similar screenshots you previously posted, but I can't see nothing really useful in them, sorry. Perhaps you should look under the IPv4 tabs of your network interfaces to see if DHCP is selected or not.
Quote:
Originally Posted by firekage View Post
Don't know if one of your ethX interfaces is a wireless one, but this screen only shows me that it isn't connected to any network...
 
Old 06-24-2012, 08:24 AM   #10
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
Of course you can't. None of your ethX interfaces have an IP address, so they cannot connect to your router administration web page.
That is something i don't understand - on 11.10 it was right after installation.

Quote:
Sorry for that. You should try with dhclient instead of dhcpcd, as it should already be installed on an Ubuntu system.
I tried to do this on 11.10 to find what it is and i have:

Code:
RTNETLINK answers: File exists
Could you help me to set up this with dhclient? I haven't done it yet.

Quote:
I already looked at the similar screenshots you previously posted, but I can't see nothing really useful in them, sorry. Perhaps you should look under the IPv4 tabs of your network interfaces to see if DHCP is selected or not.

Don't know if one of your ethX interfaces is a wireless one, but this screen only shows me that it isn't connected to any network...

Yes. It is wired and i have checked DHCP.
 
Old 06-24-2012, 11:45 AM   #11
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
I've checked few things again.


11.10: /etc/network/interfaces
Code:
firekage@deusex:/etc/network$ cat interfaces 
auto lo 
iface lo inet loopback
12.04: /etc/network/interfaces
the same


11.10: /etc/NetworkManager/NetworkManager.conf
Code:
firekage@deusex:/etc/NetworkManager$ cat NetworkManager.conf 

[main] 
plugins=ifupdown,keyfile 

no-auto-default=90:e6:ba:c7:52:c1,aa:00:04:00:0a:04, 

[ifupdown] 
managed=false 
firekage@deusex:/etc/NetworkManager$
12.04: /etc/NetworkManager/NetworkManager.conf

Code:
[main] 
plugins=ifupdown,keyfile 
dns=dnsmasq 

no-auto-default=90:E6:BA:C7:52:C1,48:5B:39:BF:0B:55, 

[ifupdown] 
managed=true 

firekage@deusex:/etc/NetworkManager$
there is only one different thing here - dns=dsnmasq. I've uncommented this but nothing has changed. I've changed from "managed=false" to "managed=true" and restarted it with command sudo service network-manager restart, it was restarted but still no internet connection.

Some settings from system settings:

-wired connections:

http://imageshack.us/f/265/cablenotplugged.png/

as You can see, "cable is not plugged"...geeez.

It not as in link with topic above with "not managed" like here:

http://img824.imageshack.us/img824/8001/f5fpl.png

As you can see, it is different than mine. I have connections but "cable is not plugged".

Now, my settings of wired connections and ip4 settings in wired connections:

http://img834.imageshack.us/img834/5...ectionsip4.png

As you can see in first window at the top of this screen, near wired connection is when it was last used: "nigdy" means never in english!


I really don't know what i can do more.
 
Old 06-25-2012, 03:09 AM   #12
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by firekage View Post
That is something i don't understand - on 11.10 it was right after installation.
On 11.10 you have the network automatically configured on start (i.e. your interfaces get an IP address automatically) so you can access your router and everything beyond it (internet). On 12.04 you still have to configure your interfaces first, then you can get to the router and beyond it.


Quote:
Originally Posted by firekage View Post
I tried to do this on 11.10 to find what it is and i have:

Code:
RTNETLINK answers: File exists
Could you help me to set up this with dhclient? I haven't done it yet.
Why do you keep trying on 11.10 where everything already works?
You should try with dhclient on 12.04!
Try commenting out (i.e. put a # at the start of the line) the no-auto-default=XXXX line in /etc/NetworkManager/NetworkManager.conf in Ubuntu 12.04 and restart NetworkManager:
Code:
sudo service network-manager restart
Maybe it's that option that's preventing NetworkManager from working as you'd expect.
The "cable not plugged" message still bothers me, though...
 
Old 06-25-2012, 10:06 AM   #13
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
On 11.10 you have the network automatically configured on start (i.e. your interfaces get an IP address automatically) so you can access your router and everything beyond it (internet). On 12.04 you still have to configure your interfaces first, then you can get to the router and beyond it.
Good to know. Thanks. I didn't know this.


Quote:
Why do you keep trying on 11.10 where everything already works?
To show only differences

Quote:
You should try with dhclient on 12.04!
This is a problem. I don't know how to configure dhclient using terminal in 12.04 cause i haven';t done it yet, don't know how to cinfigure - i've serched over the web but haven't found yet answer.

Quote:
Try commenting out (i.e. put a # at the start of the line) the no-auto-default=XXXX line in /etc/NetworkManager/NetworkManager.conf in Ubuntu 12.04 and restart NetworkManager:
Code:
sudo service network-manager restart
I will check it.
Quote:
Maybe it's that option that's preventing NetworkManager from working as you'd expect.
The "cable not plugged" message still bothers me, though...
Yes, that's weird.
 
Old 06-25-2012, 10:40 AM   #14
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 647

Rep: Reputation: 189Reputation: 189
Quote:
Originally Posted by firekage View Post
This is a problem. I don't know how to configure dhclient using terminal in 12.04 cause i haven';t done it yet, don't know how to cinfigure - i've serched over the web but haven't found yet answer.
You shouldn't configure a thing. Simply run it with no arguments to send a DHCP request for every network interface or specify the network interface you want configured.
Code:
sudo dhclient
 
Old 06-25-2012, 11:35 AM   #15
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 275

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by 414N View Post
You shouldn't configure a thing. Simply run it with no arguments to send a DHCP request for every network interface or specify the network interface you want configured.
Code:
sudo dhclient
Heh, i did it like this:

sudo dhclient eth0 - terminal was working but login prompt was busy, nothing happened
sudo dhclient eth1 - terminal accepted command, i could enter new commands but didn't change anything after sudo services network-manager restart - still no wired connections.

Maybe kernel is at fault or driver? I don't know how to change this kind of drivers. I would check which driver i have on 11.10 and which is on 12.04 but i don't know how to do it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can connect to network but not to internet... ct_hamster Linux - Newbie 7 04-16-2009 09:44 AM
cannot connect to internet/network CrashedAgain Linux - Software 10 11-30-2007 11:36 AM
Cannot connect to network/internet whitemagicwizard Linux - Newbie 5 11-21-2007 08:44 AM
Connect to internet through network kiteguy101 Linux - Newbie 1 10-22-2004 04:10 PM
how to connect to internet through network matt_w_lambert Linux - Networking 4 02-10-2004 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration