PDA

View Full Version : [Ubuntu 12.10][GNOME][Scheda di rete "inattiva"]["Cavo Scollegato"]


Pazzotti
15-03-2013, 12:07
Come da titolo la scheda ethernet del mio portatile da un giorno all'altro ha deciso di darmi questo particolare problema.

Particolare perchè le lucette della porta ethernet sono accese e perchè mi da lo stesso problema con più cavi e in più posti (casa,uni,lavoro)

vi posto i comandi che ho digitato da terminale cosi per darmi n'idea

ifconfig
ciccio@BACA:~$ ifconfig
lo Link encap:Loopback locale
indirizzo inet:127.0.0.1 Maschera:255.0.0.0
indirizzo inet6: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2921 errors:0 dropped:0 overruns:0 frame:0
TX packets:2921 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:0
Byte RX:306258 (306.2 KB) Byte TX:306258 (306.2 KB)

wlan0 Link encap:Ethernet IndirizzoHW 00:24:2c:65:70:49
indirizzo inet:192.168.1.86 Bcast:192.168.1.255 Maschera:255.255.255.0
indirizzo inet6: fe80::224:2cff:fe65:7049/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:108884 errors:0 dropped:0 overruns:0 frame:0
TX packets:77104 errors:0 dropped:0 overruns:0 carrier:0
collisioni:0 txqueuelen:1000
Byte RX:141358046 (141.3 MB) Byte TX:9232226 (9.2 MB)

lspci

ciccio@BACA:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07)
00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M] (rev a1)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

dmesg | tail
dmesg | tail
[ 20.117695] Console: switching to colour frame buffer device 80x30
[ 20.117711] fb0: VESA VGA frame buffer device
[ 22.587914] wlan0: authenticate with 00:19:3e:3b:68:69 (try 1)
[ 22.591206] wlan0: authenticated
[ 22.591525] wlan0: associate with 00:19:3e:3b:68:69 (try 1)
[ 22.593581] wlan0: RX AssocResp from 00:19:3e:3b:68:69 (capab=0x411 status=0 aid=4)
[ 22.593584] wlan0: associated
[ 22.597929] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 34.728028] wlan0: no IPv6 routers present
[ 42.425506] cfg80211: Found new beacon on frequency: 2467 MHz (Ch 12) on phy0

sacarde
15-03-2013, 16:51
dal comando: lspci -v
che modulo del kernel usa l'ethernet RTL8101E/RTL8102E ?




p.s.
dmesg | grep eth

Pazzotti
15-03-2013, 19:07
allora dopo aver indagato meglio tra i vari log ho capito di avere il problema del modulo r8169 che sembra dare qualche problema.
seguendo la guida sul wiki sono andato per scaricare i moduli adatti alla mia scheda. solo che tutti i link non funzionano quindi non so come scaricarli.

sacarde
15-03-2013, 19:37
seguendo il wiki per "r8101" devi scaricare ...

da qui il driver per linux:
http://www.realtek.com.tw/Downloads/downloadsView.aspx?Langid=1&PNid=14&PFid=7&Level=5&Conn=4&DownTypeID=3&GetDown=false


da qui la patch:
http://wiki.ubuntu-it.org/InternetRete/ConfigurazioneRete/EthernetRealtek?action=AttachFile&do=view&target=r8101-1.007.00.hardy.diff.txt

Pazzotti
15-03-2013, 21:32
il punto è che quando vado per scaricare la patch mi apre una pagina con il file testuale senza scaricarlo.

e tra l'altro la patch si riferisce alla versione r8101 - 1.007 invece l'ultima versione è 1.0023

Pazzotti
15-03-2013, 21:35
ciccio@ACAB:~$ lspci -v
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00004000-00004fff
Memory behind bridge: d0000000-d2ffffff
Prefetchable memory behind bridge: 00000000c0000000-00000000cfffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 50e0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 50c0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 19
Memory at d7005c00 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, fast devsel, latency 0, IRQ 45
Memory at d7000000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00003000-00003fff
Memory behind bridge: d6000000-d6ffffff
Prefetchable memory behind bridge: 00000000d3000000-00000000d3ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d5000000-d5ffffff
Prefetchable memory behind bridge: 00000000d4000000-00000000d4ffffff
Capabilities: <access denied>
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 50a0 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 19
I/O ports at 5080 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 16
I/O ports at 5060 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) (prog-if 00 [UHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 18
I/O ports at 5040 [size=32]
Capabilities: <access denied>
Kernel driver in use: uhci_hcd

00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0, IRQ 20
Memory at d7005800 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03) (prog-if 01 [AHCI 1.0])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
I/O ports at 5108 [size=8]
I/O ports at 5114 [size=4]
I/O ports at 5100 [size=8]
I/O ports at 5110 [size=4]
I/O ports at 5020 [size=32]
Memory at d7005000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 306a
Flags: medium devsel, IRQ 11
Memory at d7006000 (64-bit, non-prefetchable) [size=256]
I/O ports at 5000 [size=32]
Kernel modules: i2c-i801

00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03)
Subsystem: Hewlett-Packard Company Device 306a
Flags: fast devsel, IRQ 11
Memory at d7004000 (64-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>

01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce G 103M] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d2000000 (32-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: nvidia
Kernel modules: nvidia_current, nouveau, nvidiafb

02:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company Device 137b
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath5k
Kernel modules: ath5k

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 306a
Flags: bus master, fast devsel, latency 0, IRQ 44
I/O ports at 2000 [size=256]
Memory at d4010000 (64-bit, prefetchable) [size=4K]
Memory at d4000000 (64-bit, prefetchable) [size=64K]
Expansion ROM at d4020000 [disabled] [size=64K]
Capabilities: <access denied>
Kernel driver in use: r8169
Kernel modules: r8169

Pazzotti
15-03-2013, 21:36
dmesg | grep eth
[ 1.505185] i2c-core: driver [aat2870] using legacy suspend method
[ 1.505185] i2c-core: driver [aat2870] using legacy resume method
[ 2.446464] r8169 0000:03:00.0: eth0: RTL8102e at 0xffffc9000065a000, 00:00:00:00:00:00, XID 04c00000 IRQ 44
[ 18.193665] ADDRCONF(NETDEV_UP): eth0: link is not ready

Pazzotti
15-03-2013, 22:17
novità, seguendo questo post qui:
viewtopic.php?f=49&t=543596

sono riuscito quanto meno a far riapparire il pulsante On/Off su connessione via cavo. ora il punto è farlo connettere.

sacarde
16-03-2013, 07:58
il punto è che quando vado per scaricare la patch mi apre una pagina con il file testuale senza scaricarlo.

e tra l'altro la patch si riferisce alla versione r8101 - 1.007 invece l'ultima versione è 1.0023

la patch e' anche qui:
http://forum.ubuntu-it.org/viewtopic.php?f=46&t=203420&p=4346071#p4346071
sentiamo cosa dicono:



non ho capito quale e' il link che hai seguito: viewtopic.php?f=49&t=543596


p.s.
http://ubuntuforums.org/showthread.php?t=1964200
https://build.opensuse.org/package/show?package=r8101&project=home%3AAkoellh%3AKernelmodules

Pazzotti
16-03-2013, 11:14
ok ho scaricato la patch, ora dovrei installarla nella cartella che indica quel post nel forum in inglese. solo che quella specifica che indica lui non l'ho trovata..simile si, quindi mi si ripresenta il dilemma di come e dove installare questa patch

beh continuando con la guida sono magicamente riuscito a risolvere, adesso si è collegato con il cavo. vediamo come và prossimamente.
ti ringrazio :)