LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-18-2008, 04:35 AM   #1
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Rep: Reputation: 30
No wired internet connection in Ubuntu 8.10


My 3G connection works perfect, but my wired connection doesn't work at all. It seems like I'm not the only one having this problem and I reported it on Lauchpad last week, but received no reply. Does anyone know about a way around this?

Thanks.
 
Old 11-19-2008, 06:59 AM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
When you say it's not working at all, what exactly isn't working?

i.e. Is it not obtaining an IP address (assuming it's set to use DHCP)?
Is it obtaining an IP address but no traffic is being sent/received through the interface?
Does it work when you don't use your 3G connection and stop working when you start using it?

Please be more specific with exactly what isn't working, could you also provide us with a link to the launchpad bug you reported so we don't have to waste time trying to track it down please?

Thanks very much.
 
Old 11-22-2008, 01:26 AM   #3
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by mickyg View Post
When you say it's not working at all, what exactly isn't working?

i.e. Is it not obtaining an IP address (assuming it's set to use DHCP)?
Is it obtaining an IP address but no traffic is being sent/received through the interface?
Does it work when you don't use your 3G connection and stop working when you start using it?

Please be more specific with exactly what isn't working, could you also provide us with a link to the launchpad bug you reported so we don't have to waste time trying to track it down please?

Thanks very much.
Hi Micky,

When I plug in the network cable it detects the network and obtain the IP I take it as it tells me I'm connected, but when opening a webpage, or pinging google.com, it doesn't connect and says, google.com is an unknown host. It doesn't connect to anything. It does this with my 3G connection on and off.

Launchpad: https://bugs.launchpad.net/ubuntu/+s...et/+bug/296256

Thanks for the help.
 
Old 11-24-2008, 02:00 PM   #4
Jykke
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 19
Quote:
Originally Posted by LonelyTraveler View Post
Hi Micky,

When I plug in the network cable it detects the network and obtain the IP I take it as it tells me I'm connected, but when opening a webpage, or pinging google.com, it doesn't connect and says, google.com is an unknown host. It doesn't connect to anything. It does this with my 3G connection on and off.

Launchpad: https://bugs.launchpad.net/ubuntu/+s...et/+bug/296256

Thanks for the help.
Have you tried pinging with IP? For example www.google.com equals to
ping 209.85.135.147
If you get reply you have a problem with DNS setting. I had similar issues using my laptop with wireless somewhere in some hotel and then plugging ethernet cable at home...

Also you should be able to ping your own machine with internal IP or localhost and router too, otherwise something is fishy with the network adapter...
 
Old 11-25-2008, 01:58 AM   #5
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
I get the same result when pinging Google's ip. I tried to get my ip, but when running ifconfig, I don't get a ip. Only a hardware address.

If anyone who has the same problem sees this post please let me know. Thanks.
 
Old 11-25-2008, 08:16 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You know you should really post what kind of hardware you have.. I'd say it's impossible to troubleshoot your problem based on what you provided to launchpad. you didn't post the output of lspci, you didn't scan your dmesg log to see what interfaces have been identified. cat /var/log/dmesg | grep -i eth You didn't verify the detected ethernet interface has been configured in /etc/network/interfaces

How about providing some of that information so people could actually help you ?
 
Old 11-26-2008, 04:47 AM   #7
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
More info

Code:
crownambassador@CrownAmbassador-Laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
03:01.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
09:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5755M Gigabit Ethernet PCI Express (rev 02)
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Code:
crownambassador@CrownAmbassador-Laptop:~$ cat /var/log/dmesg | grep -i eth
[    4.686092] eth0: Tigon3 [partno(BCM95755m) rev a002 PHY(5755)] (PCI Express) 10/100/1000Base-T Ethernet 00:1c:23:18:d4:0d
[    4.686099] eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] WireSpeed[1] TSOcap[1]
[    4.686103] eth0: dma_rwctrl[76180000] dma_mask[64-bit]
[    6.078118] Driver 'sd' needs updating - please use bus_type methods
[    6.078651]  sda:<4>Driver 'sr' needs updating - please use bus_type methods
Code:
crownambassador@CrownAmbassador-Laptop:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

Thanks farslayer. I'm not sure what I'm looking for here.
 
Old 11-26-2008, 10:04 AM   #8
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
edit /etc/network/interfaces and add the following

auto eth0
iface eth0 inet dhcp



your /etc/network/interfaces file should now look like this.

Code:
auto lo
iface lo inet loopback

auto eth0 
iface eth0 inet dhcp


then do

ifup eth0

and the Wireed ethernet interface should come up and get an IP address.
if not post the output of the lsmod commands that follow..


you Ethernet interface is supported by the tg3 module, so lets make sure it is loaded..

lsmod | grep tg3

modinfo tg3
 
Old 11-27-2008, 01:56 AM   #9
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Thanks. It is working now, but now I have other problems.

My network manager applet that was in the system tray, where I just click to connect to my 3G network has disappeared and when I shut my computer off it stops at "Shutting down ALSA". It never use to do this.

So I changed my network interfaces back to what it was and then rebooted. (Reset actually as I couldn't reboot with the shutdown stopping on ALSA). When I restarted the connection icon was back and when shutting down everything shut down perfectly. I have no idea how the network configuration can cause ALSA to freeze.

So I edit network interface back to what you told me to, and had the same problem, but could connect. Changed it back to the original configuration and then everything else except the wired connection was working again. So it must be related to the auto eth0 part. I find this strange.
 
Old 11-27-2008, 09:43 PM   #10
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
That is very bizarre.. there should be no interaction between those pieces..

Hmm..

try this instead..

Code:
allow-hotplug eth0
iface eth0 inet dhcp
For some reason I'm thinking if you manually setup the network interface it disables network-manager.
Personally I've never liked network-manager it's never worked right for me. I have used an alternate graphical network management program that does work well called wicd. I use this on my netbook to manage my Wired and Wireless WPA2 connections.

http://wicd.sourceforge.net/download.php

Other than that I'm not sure what to suggest to you..

Last edited by farslayer; 11-27-2008 at 09:47 PM.
 
Old 11-28-2008, 01:22 AM   #11
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
I'll give that commands a shot. I actually like the network-manager and need it actually. Ubuntu 8.10's network-manager has 3G support. It has never been this easy to connect to 3G. When I first tried to get my internal 3G modem to work with 7.10 it took weeks! Lol! Now its about 5 clicks after a fresh install and I'm online. Its great!

I'll let you know if your commands work.

Thanks for the help.

Btw... This is way off the topic but as you're very active on here I figured you'll know. Is it possible to change my username?
 
Old 11-28-2008, 01:42 AM   #12
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by farslayer View Post

Code:
allow-hotplug eth0
iface eth0 inet dhcp
To the allow-hotplug eth0 command I get this:

Code:
bash: allow-hotplug: command not found
 
Old 11-28-2008, 12:45 PM   #13
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Those lines were supposed to go in your /etc/network/interfaces file.


wicd is graphical just like network manager. I do not know what it's support for 3G is like. You would have to check their documentation.



No I don't think you can change your username, although Jeremy could possibly do it if you emailed him...
Try the contact link at the bottom of the page.
 
Old 11-29-2008, 01:58 AM   #14
CrownAmbassador
Member
 
Registered: Mar 2005
Location: Cape Town, South Africa
Distribution: Ubuntu 8.10
Posts: 374

Original Poster
Rep: Reputation: 30
Okay... Now I feel like a complete idiot! Lol!

I added it so my file looks like this:

Code:
auto lo
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
It didn't connect at all and the network manager was gone again.

It does not seem like wicd has 3G support. I think Ubuntu 8.10 is the first one that supports it natively.
 
Old 11-29-2008, 12:22 PM   #15
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I'm stumped.. shouldn't be that hard to get working. Dunno what to tell you
 
  


Reply



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
Unable to connect to internet via wireless OR wired connection frznchckn Linux - Wireless Networking 5 06-19-2008 01:12 PM
Ubuntu Wired connection problems??? theunixwizard Linux - Networking 3 06-13-2008 11:33 AM
No Wired Internet in Ubuntu 7.10 LostOverThere Linux - Networking 3 11-06-2007 02:44 AM
No internet on wired connection for no reason dzapffe19 Ubuntu 6 02-08-2007 03:07 AM
No DHCP on wired internet connection (Realtek RTL8139) p41elvis Linux - Networking 10 12-17-2006 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:53 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