LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2010, 12:45 PM   #1
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Rep: Reputation: 16
Wired ethernet not working - I have screwed something up, but what?


I run Ubuntu 10.04 on a PackardBell laptop, with an Orange Livebox 2 providing ADSL.

I am connected to the Livebox via WiFi, but I can't connect using the ethernet cable. I think that in making changes to the system some time ago I must have ruined something, but I can't work out what.

I think I need an "idiot" guide to resolve the problem.

Any helpers?
 
Old 12-02-2010, 12:53 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

please post the output of
Code:
lspci | grep -i ether
Code:
lsmod
Code:
ifconfig
Markus
 
Old 12-02-2010, 12:57 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Quote:
Originally Posted by frank4360 View Post
I run Ubuntu 10.04 on a PackardBell laptop, with an Orange Livebox 2 providing ADSL.

I am connected to the Livebox via WiFi, but I can't connect using the ethernet cable. I think that in making changes to the system some time ago I must have ruined something, but I can't work out what.

I think I need an "idiot" guide to resolve the problem.

Any helpers?
First, I'd like to say "WHOA! PackardBell! That immediately reminded me of working at CompUSA"

Second, I'd ask... is this the setup:

Your Regular Laptop ----Wifi---> Packardbell Laptop ---Wired---> ADSL ---> Internet

If it is, I'd guess that you have firewalled the ethernet port, or disabled it.

You can find out if it is enabled by 'ifconfig | grep eth" and looking for it and "iptables -L -v" should list any rules you have.
 
Old 12-02-2010, 01:12 PM   #4
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
Hello Markush - here are the outputs.


lspci| grep -i ether
06:00.0 Ethernet controller: Atheros Communications Inc. AR5001 Wireless Network Adapter (rev 01)
07:07.0 Ethernet controller: Device 00ec:8139 (rev 10)

lsmod
Module Size Used by
binfmt_misc 6587 1
ppdev 5259 0
slamr 420481 0
ungrab_winmodem 991 0
dgcusbdcp 10222 0
snd_hda_codec_atihdmi 2367 1
snd_hda_codec_realtek 203344 1
snd_hda_intel 22005 2
snd_hda_codec 74201 3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 5412 1 snd_hda_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_seq_dummy 1338 0
snd_pcm 70694 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
fbcon 35102 71
snd_seq_oss 26722 0
snd_seq_midi 4557 0
tileblit 2031 1 fbcon
snd_rawmidi 19056 1 snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
font 7557 1 fbcon
snd_seq 47263 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
bitblit 4707 1 fbcon
sdhci_pci 5470 0
sbp2 19448 0
softcursor 1189 1 bitblit
snd 54180 16 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_se q_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
fglrx 2092908 29
sdhci 15462 1 sdhci_pci
gspca_m5602 51833 0
soundcore 6620 1 snd
ati_agp 5094 0
lp 7028 0
snd_page_alloc 7076 2 snd_hda_intel,snd_pcm
i2c_piix4 8335 0
gspca_main 21199 1 gspca_m5602
vga16fb 11385 1
agpgart 31724 2 fglrx,ati_agp
asus_laptop 17008 0
vgastate 8961 1 vga16fb
k8temp 3152 0
video 17375 0
videodev 34361 1 gspca_main
joydev 8708 0
led_class 2864 2 sdhci,asus_laptop
parport 32635 2 ppdev,lp
ndiswrapper 184677 0
v4l1_compat 13251 1 videodev
output 1871 1 video
psmouse 63245 0
serio_raw 3978 0
usbhid 36110 0
ohci1394 26950 0
hid 67032 1 usbhid
ieee1394 81181 2 sbp2,ohci1394
pata_atiixp 3148 0
ahci 32200 2

ifconfig
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)

wlan0 Link encap:Ethernet HWaddr 00:15:af:48:0e:db
inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::215:afff:fe48:edb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4767 errors:0 dropped:0 overruns:0 frame:0
TX packets:4709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2966955 (2.9 MB) TX bytes:735495 (735.4 KB)
Interrupt:19 Memory:fe9f0000-fea00000
 
Old 12-02-2010, 01:16 PM   #5
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
Hello szboardstretcher

The connection that works is PB laptop>>WiFi>>ADSL router>>Internet

The connection that doesn't work is PB laptop>>ethernet cable>>ADSL router>>Internet
 
Old 12-02-2010, 01:20 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Your eth0 device isn't working, maybe the module is missing (Realtek I assume). Did you recompile the kernel?
You may look into the /lib/modules directory and find out if there is a module for you card. This can be loaded with the modprobe command.

Markus
 
Old 12-02-2010, 01:25 PM   #7
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555Reputation: 555
Looks like a Realtek 8139 -- they use either the "8139" or "8139too" modules, do they not? Looks like Ubuntu, so it very likely has the module around somewhere.. If so:
Code:
sudo modprobe 8139
# or
sudo modprobe 8139too
might help (should load the module).

For Ubuntu-specific commands to use after this for shutting off wlan0 and activating eth0, someone who uses Ubuntu will have to help; I'd probably give you commands that won't work on your system..

Good luck.
 
Old 12-02-2010, 02:35 PM   #8
frank4360
Member
 
Registered: Nov 2007
Location: South of France
Distribution: LinuxLite, Debian 8, MacPup, Suse, Fedora
Posts: 58

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by markush View Post
Your eth0 device isn't working, maybe the module is missing (Realtek I assume). Did you recompile the kernel?
You may look into the /lib/modules directory and find out if there is a module for you card. This can be loaded with the modprobe command.

Markus
I haven't recompiled the kernel, and I can see from the ifconfig output that "eth0" isn't showing - though it was yesterday!!

Looking in the /lib/modules directry (with ls -l *) shows nothing that looks like a module for Realtex and/or 8139.
 
Old 12-02-2010, 03:03 PM   #9
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by frank4360 View Post
Looking in the /lib/modules directry (with ls -l *) shows nothing that looks like a module for Realtex and/or 8139.
you should use
Code:
find /lib/modules -name *8139* -type f -print
instead to find the module. If you know it's name, you may use modprobe like GrapefruiTgirl wrote.

Markus
 
  


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
bridging a wireless and wired network causes wired to stop working royce2020 Linux - Networking 0 04-21-2009 04:48 PM
wicd wired ethernet to usb port not working redpenguin Linux - Networking 1 04-18-2009 08:55 AM
SMC 2209 USB wired ethernet adapter not working FLLinux Linux - Wireless Networking 11 02-10-2009 03:36 AM
Two wired ethernet adapters cmplet-noobie Linux - Networking 7 01-12-2009 08:23 AM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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