LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-17-2012, 04:57 AM   #1
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Rep: Reputation: 0
Question Ubuntu 12.04 no internet connection


I updated 11.10 and downloaded alternative download for 12.04 as my computer will not install the desktop CD and burned it and installed it. Everything worked except I lost my internet connection and could not get it to work. So I re-installed my alternative 11.10 and my internet connection automatically reappeared.

Does any know what I might be doing wrong with the 12.04 installation?
 
Old 05-17-2012, 10:28 AM   #2
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Are you using wireless or ethernet? If Wireless, are you seeing any wireless listed?


Also use the command in a terminal "lspci" and copy and paste the information on the ethernet or wireless chip, whichever one you are having the problem with.

Do you recall if the previous version of Ubuntu automatically gave you a connection? I'm just checking to see if you had to install extra drivers somehow.
 
Old 05-18-2012, 02:20 AM   #3
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks for responding ajlewis2. I am using ethernet and version 11.10 connected automatically both when I originally installed it and then when I re-installed it over 12.04. I didn't need to touch anything. I'll try your suggestion.

My connection is listed as "Wireless 1": Ethernet(ethO); Hardware address-00:00:E8:E9:6C:29; Driver: ne2k-pci
 
Old 05-18-2012, 05:02 AM   #4
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
I have 12.04 installed and 12.04 does include the ne2k-pci driver. So if you reinstall 12.04, the driver should be available.

I wonder if you would have better luck doing an upgrade of your system from 11.10 to 12.04. Then the network connection information would remain the same. It is possible to upgrade using the alternate disk.

If you upgrade to 12.04 and still don't have the connection, you should check first to see if that driver is loaded using 'lsmod' If you see it listed, then it is loaded.
 
Old 05-27-2012, 10:16 AM   #5
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you ajlewis2,

I have also tried the upgrade to 12.04, and didn't get an internet connection. I re-installed 11.10 from the alternate CD(my computer does not compute the live CD) so I always use the alternate.

I don't dare try again because when I re-install 11.10, I have 400+ updates to install as well. It's a bore. I also have to find and install other software I had that fixed other problems. Anyway, I have noted the configuration of my working connection and will try to use those if I have another go.

Last edited by robert neuron; 05-27-2012 at 10:22 AM.
 
Old 08-02-2012, 12:07 PM   #6
mollerik
LQ Newbie
 
Registered: Aug 2011
Location: Faroe Islands
Distribution: Ubuntu 10.04, Lucide Lynx
Posts: 3

Rep: Reputation: Disabled
Can anyone tell how to get this ne2k-pci drive ?
 
Old 08-03-2012, 02:05 AM   #7
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Question 12.04 lshw

Quote:
Originally Posted by ajlewis2 View Post
I have 12.04 installed and 12.04 does include the ne2k-pci driver. So if you reinstall 12.04, the driver should be available.

I wonder if you would have better luck doing an upgrade of your system from 11.10 to 12.04. Then the network connection information would remain the same. It is possible to upgrade using the alternate disk.

If you upgrade to 12.04 and still don't have the connection, you should check first to see if that driver is loaded using 'lsmod' If you see it listed, then it is loaded.
Apparently 'lsmod' is installed. The driver 'ne2k-pci 13389 0' is listed. I noticed one difference between "lshw" in 11.10 and 12.04. In 11.10 it reads:

*-network
description: Ethernet interface
product: RTL-8029(AS)
vendor: Realtek Semiconductor Co., Ltd.
physical id: 10
bus info: pci@0000:00:10.0
logical name: eth0
version: 00
serial: 00:00:e8:e9:6c:29
width: 32 bits
clock: 33MHz
capabilities: ethernet physical
configuration: broadcast=yes driver=ne2k-pci driverversion=1.03 ip=192.168.1.91 latency=0 multicast=yes
resources: irq:10 ioport:d000(size=32)

In 12.04 the 'ip=192.168.1.91' is missing. That is the case using the Upgrade link or using the Alternate CD.

Do you think that is the problem, if so, how to I add it to 'lshw'? Thanks.
 
Old 08-03-2012, 05:05 AM   #8
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Robert, I don't know a lot about networking. It does look the the driver is working and not getting the ip address. Are you using dhcp or what is called "Automatic" on 11.04? If so, I don't know why it's not working for you in 12.04.

I'm assuming that dhcp is installed. I can't imagine why it wouldn't be. Here is what I have installed for that:
=============
dpkg -l |grep dhcp
ii dhcp3-client 4.1.ESV-R4-0ubuntu5.2 ISC DHCP server (transitional package)
ii dhcp3-common 4.1.ESV-R4-0ubuntu5.2 ISC DHCP common files (transitional package)
ii isc-dhcp-client 4.1.ESV-R4-0ubuntu5.2 ISC DHCP client
ii isc-dhcp-common 4.1.ESV-R4-0ubuntu5.2 common files used by all the isc-dhcp* packages
==================



You could try setting it up on manual (static ip address). Directions are here:https://help.ubuntu.com/12.04/ubuntu...et-manual.html By default it should be set on Automatic. If it isn't, I'd try that first before trying to use manual.

You have the IP address already in your post. That is the missing piece in the output of lshw for the network. If you are on a fairly large network, you may not get the same ip address each time. The 91 on the end of your address makes me this is going to be a problem. Like I said, I'm not a networking guru, but I set up a Linux computer at work and needed static ip years ago and had to get that number from the IT person.

I'm pretty sure the mask is 255.255.255.0 and the gateway is usually like the ip but with a 1 at the end (192.168.1.1) DNS server is important too, but I don't know what that would be. That would depend on your ISP and router and wouldn't be the same as mine.
 
Old 08-03-2012, 01:29 PM   #9
firekage
Member
 
Registered: May 2011
Location: Poland
Distribution: Slackware, Ubuntu, Arch
Posts: 272

Rep: Reputation: 7
Could you try edit /etc/network/interface:
Code:
# the loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp

# The secondary network interface
auto eth1
iface eth1 inet dhcp
firekage@deusex:/etc/network$
and /etc/NetworkManager/NetworkManager.conf

Code:
firekage@deusex:/etc/network$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=true
firekage@deusex:/etc/network$
than restart network or reboot.

Last edited by firekage; 08-03-2012 at 01:30 PM.
 
Old 08-08-2012, 06:00 AM   #10
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks ajlewis2,

I am only a bit above average in these manipulations, but I'll try(I am always a bit afraid of making things worse). It may take me a while, but I'll let you know if I succeed. If I can get a connection, I am tempted to try Solus0S http://www.webupd8.org/2012/08/insta...untu-1204.html. For now I am stuck with my Windows isp connection.

Quote:
Originally Posted by ajlewis2 View Post
Robert, I don't know a lot about networking. It does look the the driver is working and not getting the ip address. Are you using dhcp or what is called "Automatic" on 11.04? If so, I don't know why it's not working for you in 12.04.

I'm assuming that dhcp is installed. I can't imagine why it wouldn't be. Here is what I have installed for that:
=============
dpkg -l |grep dhcp
ii dhcp3-client 4.1.ESV-R4-0ubuntu5.2 ISC DHCP server (transitional package)
ii dhcp3-common 4.1.ESV-R4-0ubuntu5.2 ISC DHCP common files (transitional package)
ii isc-dhcp-client 4.1.ESV-R4-0ubuntu5.2 ISC DHCP client
ii isc-dhcp-common 4.1.ESV-R4-0ubuntu5.2 common files used by all the isc-dhcp* packages
==================



You could try setting it up on manual (static ip address). Directions are here:https://help.ubuntu.com/12.04/ubuntu...et-manual.html By default it should be set on Automatic. If it isn't, I'd try that first before trying to use manual.

You have the IP address already in your post. That is the missing piece in the output of lshw for the network. If you are on a fairly large network, you may not get the same ip address each time. The 91 on the end of your address makes me this is going to be a problem. Like I said, I'm not a networking guru, but I set up a Linux computer at work and needed static ip years ago and had to get that number from the IT person.

I'm pretty sure the mask is 255.255.255.0 and the gateway is usually like the ip but with a 1 at the end (192.168.1.1) DNS server is important too, but I don't know what that would be. That would depend on your ISP and router and wouldn't be the same as mine.
 
Old 08-08-2012, 06:03 AM   #11
robert neuron
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks firekage,

I may have to try that if the previous thing doesn't work.

Quote:
Originally Posted by firekage View Post
Could you try edit /etc/network/interface:
Code:
# the loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#auto eth0
#iface eth0 inet dhcp

# The secondary network interface
auto eth1
iface eth1 inet dhcp
firekage@deusex:/etc/network$
and /etc/NetworkManager/NetworkManager.conf

Code:
firekage@deusex:/etc/network$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq

[ifupdown]
managed=true
firekage@deusex:/etc/network$
than restart network or reboot.
 
  


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
Ubuntu 11.10 - Internet Connection tomirvine Linux - Wireless Networking 4 01-09-2012 02:25 PM
internet connection on ubuntu 10.10 tejen Linux - Newbie 1 03-04-2011 07:55 AM
internet connection in ubuntu 8.10 r.samanta Linux - Newbie 1 09-22-2009 05:20 AM
No internet connection in Ubuntu 7.10 eXeCuTeR Linux - Networking 2 10-22-2007 06:03 PM
No internet connection on Ubuntu 6.10 BernardNys Linux - Wireless Networking 2 04-30-2007 05:55 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration