Pagina 1 di 2
[SOLVED]Non riesco a collegarmi via wifi con scheda Atheros
Inviato: mar 5 mag 2009, 18:37
da metrofox
Salve, io ho un problema con una slackware-current con kernel 2.6.29-1, quindi cosa abbastanza aggiornata, con la mia scheda realtek RTL8101E\RTL8102E, sto cercando come un pazzo soluzioni ma non trovo soluzione.
Ah, il router è criptato da password WPA, in questo caso che devo fare?
Collegarmici che devo fare?
EDIT: Vi dico in anteprima che non sono riuscito ad installare i drivers principali perchè la compilazione fallisce, per questo ho dovuto utilizzare ndiswrapper e pare che vada bene il driver, ma adesso non so che fare.
viewtopic.php?f=1&t=26736
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 5:08
da mohaa
Official drivers (how-to included)
http://www.realtek.com.tw/downloads/dow ... ByDesc=1#2
There is a take-over issue with
r8169 kernel driver, the included README documents it as well.
Paste the compilation failure output if possible.
No clue for ndiswrapper, never used it.
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 7:34
da ponce
se pinghi il rutter sei collegato
probabilmente devi solo controllare il dns e le impostazioni di routing.
dai questi due comandi (occhio che l'argomento di netstat e' -lo scrivo maiuscolo- RN)
e' probabile anche che basti editare /etc/rc.d/rc.inet1.conf mettendoci i valori giusti per l'interfaccia (o fargli usare il DHCP).
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 17:54
da metrofox
No ragazzi, invece manco il ping riesce in quanto mi dice Host unreachable.
/etc/rc.d/rc.inet1.conf:
Codice: Seleziona tutto
IPADDR[0]="192.168.1.3"
NETMASK[0]="255.255.255.0"
[...]
GATEWAY="192.168.1.1"
/etc/resolv.conf
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 17:56
da ponce
mi basavo su quello che avevi scritto te
metrofox ha scritto:Salve, io ho un problema con una slackware-current con kernel 2.6.29-1, quindi cosa abbastanza aggiornata, con la mia scheda realtek RTL8101E\RTL8102E, sto cercando come un pazzo soluzioni ma non trovo soluzione.
Riesco soltanto a pingarmi il router da terminale
prima lo pingavi e ora no?
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 17:59
da metrofox
Purtroppo manco prima. Comunque, ho installato il driver rtl8101. Non so che fare...
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 18:33
da ponce
prova a postare l'output di questi comandi
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 18:39
da metrofox
Codice: Seleziona tutto
root@darkstar:/home/metrofox# dmesg | grep eth
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
eth0: RTL8102e at 0xf871e000, 00:1e:33:a4:c9:ad, XID 34a00000 IRQ 28
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
Codice: Seleziona tutto
root@darkstar:/home/metrofox# lspci | grep th
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Codice: Seleziona tutto
root@darkstar:/home/metrofox# ifconfig -a
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:25 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1560 (1.5 KiB) TX bytes:1560 (1.5 KiB)
wlan0 Link encap:Ethernet HWaddr 00:24:d2:28:0e:b3
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)
wmaster0 Link encap:UNSPEC HWaddr 00-24-D2-28-0E-B3-6C-6F-00-00-00-00-00-00-00-00
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)
Codice: Seleziona tutto
root@darkstar:/home/metrofox# lsmod
Module Size Used by
snd_seq_dummy 2464 0
snd_seq_oss 29792 0
snd_seq_midi_event 5980 1 snd_seq_oss
snd_seq 47984 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6088 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37728 0
snd_mixer_oss 14300 1 snd_pcm_oss
ipv6 243508 18
pcmcia 33772 0
pcmcia_core 32016 1 pcmcia
ppdev 7200 0
lp 9316 0
parport_pc 24004 0
parport 30700 3 ppdev,lp,parport_pc
fuse 53976 5
snd_hda_codec_realtek 188544 1
snd_hda_intel 23624 2
ath5k 109216 0
rtc_cmos 10124 0
snd_hda_codec 53788 2 snd_hda_codec_realtek,snd_hda_intel
uvcvideo 58184 0
snd_hwdep 6816 1 snd_hda_codec
snd_pcm 68128 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
fan 4064 0
psmouse 41676 0
snd_timer 19108 2 snd_seq,snd_pcm
rtc_core 15992 1 rtc_cmos
rfkill 9296 0
r8101 30988 0
mac80211 155492 1 ath5k
snd 50820 15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
thermal 15096 0
video 16492 0
videodev 38688 1 uvcvideo
input_polldev 3108 0
serio_raw 5024 0
soundcore 5824 1 snd
rtc_lib 2332 1 rtc_core
processor 38568 3 thermal
thermal_sys 10756 4 fan,thermal,video,processor
sg 24432 0
v4l1_compat 13184 2 uvcvideo,videodev
mii 4380 0
led_class 3392 1 ath5k
intel_agp 25628 1
hwmon 2104 1 thermal_sys
snd_page_alloc 7972 2 snd_hda_intel,snd_pcm
agpgart 29256 1 intel_agp
output 2396 1 video
i2c_i801 8784 0
cfg80211 36436 2 ath5k,mac80211
battery 9856 0
button 5708 0
ac 3840 0
evdev 9152 6
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:07
da ponce
la tua scheda e' supportata dal driver r8169 di default nel kernel 2.6.29 della slack.
intanto sposta dalla directory dei moduli del tuo kernel il modulo del driver r8101.ko che hai installato, dovrebbe essere il file /lib/modules/2.6.29.1-smp/kernel/drivers/net/r8101.ko, mettilo (ad esempio) dentro /root.
dai un "depmod -a", riavvia e riposta l'output dei comandi sopra, oltre all'output di quest'altro comando
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:20
da metrofox
Codice: Seleziona tutto
metrofox@darkstar:~$ dmesg | grep eth
Driver 'st' needs updating - please use bus_type methods
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
eth0: RTL8102e at 0xf8544000, 00:1e:33:a4:c9:ad, XID 34a00000 IRQ 28
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
Codice: Seleziona tutto
root@darkstar:/home/metrofox# lspci | grep th
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
03:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
Codice: Seleziona tutto
root@darkstar:/home/metrofox# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1e:33:a4:c9:ad
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
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:28 Base address:0x4000
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:20 errors:0 dropped:0 overruns:0 frame:0
TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1000 (1000.0 B) TX bytes:1000 (1000.0 B)
wlan0 Link encap:Ethernet HWaddr 00:24:d2:28:0e:b3
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)
wmaster0 Link encap:UNSPEC HWaddr 00-24-D2-28-0E-B3-6C-6F-00-00-00-00-00-00-00-00
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)
Codice: Seleziona tutto
root@darkstar:/home/metrofox# lsmod
Module Size Used by
snd_seq_dummy 2464 0
snd_seq_oss 29792 0
snd_seq_midi_event 5980 1 snd_seq_oss
snd_seq 47984 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6088 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 37728 0
snd_mixer_oss 14300 1 snd_pcm_oss
ipv6 243508 18
pcmcia 33772 0
pcmcia_core 32016 1 pcmcia
lp 9316 0
ppdev 7200 0
parport_pc 24004 0
parport 30700 3 lp,ppdev,parport_pc
fuse 53976 5
snd_hda_codec_realtek 188544 1
ath5k 109216 0
uvcvideo 58184 0
mac80211 155492 1 ath5k
snd_hda_intel 23624 2
snd_hda_codec 53788 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 6816 1 snd_hda_codec
videodev 38688 1 uvcvideo
fan 4064 0
snd_pcm 68128 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 19108 2 snd_seq,snd_pcm
psmouse 41676 0
snd 50820 15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
rtc_cmos 10124 0
led_class 3392 1 ath5k
serio_raw 5024 0
v4l1_compat 13184 2 uvcvideo,videodev
thermal 15096 0
sg 24432 0
soundcore 5824 1 snd
rtc_core 15992 1 rtc_cmos
rfkill 9296 0
r8169 32256 0
video 16492 0
input_polldev 3108 0
processor 38568 3 thermal
rtc_lib 2332 1 rtc_core
intel_agp 25628 1
thermal_sys 10756 4 fan,thermal,video,processor
mii 4380 1 r8169
agpgart 29256 1 intel_agp
output 2396 1 video
i2c_i801 8784 0
hwmon 2104 1 thermal_sys
snd_page_alloc 7972 2 snd_hda_intel,snd_pcm
battery 9856 0
cfg80211 36436 2 ath5k,mac80211
button 5708 0
ac 3840 0
evdev 9152 6
Codice: Seleziona tutto
root@darkstar:/home/metrofox# head -20 /etc/rc.d/rc.inet1.conf
# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth<interface>.
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
# Config information for eth0:
IPADDR[0]="192.168.1.3"
NETMASK[0]="255.255.255.0"
#USE_DHCP[0]="yes"
#DHCP_HOSTNAME[0]="eth0"
Avviso che anche col DHCP attivato non succede niente, ed ho impostato anche il gateway

Ecco anche il resolv.conf, non si sa mai:
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:24
da ponce
hai il cavo di rete staccato o difettoso, la scheda col driver del kernel ora va
Codice: Seleziona tutto
# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1e:33:a4:c9:ad
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
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:28 Base address:0x4000
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:25
da metrofox
ponce ha scritto:hai il cavo di rete staccato o difettoso, la scheda col driver del kernel ora va

In che senso ora va?

E cosa ho di difettoso?

Cioè, non posso collegarmi wirelessamente col mio portatile?
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:25
da ponce
guarda sopra, funziona, e' il cavo il problema.
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:27
da metrofox
ponce ha scritto:guarda sopra, funziona, e' il cavo il problema.
Che cavo...Mica ho ethernet attaccati

Io cerco di entrare col wireless. E' vero che ho 14 anni, ma una birra non può mica farmi sti effetti.

Re: Realtek RTL8101E\RTL8102E e non mi collego.
Inviato: mer 6 mag 2009, 19:28
da ponce
ma che c'incastra il wireless? la scheda rtl8101 e' quella ethernet!
quella wireless e' l'atheros (wlan0).
forse ne hai bevuta davvero troppa
