[SOLVED]Non riesco a collegarmi via wifi con scheda Atheros

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

[SOLVED]Non riesco a collegarmi via wifi con scheda Atheros

Messaggio 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
Ultima modifica di metrofox il lun 11 mag 2009, 21:40, modificato 2 volte in totale.

Avatar utente
mohaa
Linux 1.x
Linux 1.x
Messaggi: 181
Iscritto il: mar 4 mar 2008, 8:52
Slackware: 12.1
Kernel: 3
Desktop: Gnome2
Distribuzione: Gentoo
Località: Francia

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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.

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio da ponce »

se pinghi il rutter sei collegato :D

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)

Codice: Seleziona tutto

netstat -rn
cat /etc/resolv.conf
e' probabile anche che basti editare /etc/rc.d/rc.inet1.conf mettendoci i valori giusti per l'interfaccia (o fargli usare il DHCP).

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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

Codice: Seleziona tutto

nameserver 192.168.1.1

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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?

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio da metrofox »

Purtroppo manco prima. Comunque, ho installato il driver rtl8101. Non so che fare...

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio da ponce »

prova a postare l'output di questi comandi

Codice: Seleziona tutto

dmesg | grep eth
lspci | grep th
ifconfig -a
lsmod

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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

Codice: Seleziona tutto

head -20 /etc/rc.d/rc.inet1.conf

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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:

Codice: Seleziona tutto

nameserver 192.168.1.1

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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   
Ultima modifica di ponce il mer 6 mag 2009, 19:25, modificato 1 volta in totale.

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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? :shock: E cosa ho di difettoso? :shock: Cioè, non posso collegarmi wirelessamente col mio portatile?
Ultima modifica di metrofox il mer 6 mag 2009, 19:26, modificato 1 volta in totale.

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio da ponce »

guarda sopra, funziona, e' il cavo il problema.
r8169: eth0: link down
ADDRCONF(NETDEV_UP): eth0: link is not ready
Ultima modifica di ponce il mer 6 mag 2009, 19:28, modificato 2 volte in totale.

metrofox
Linux 3.x
Linux 3.x
Messaggi: 760
Iscritto il: gio 7 ago 2008, 12:29
Slackware: slackware64-current
Kernel: 3.4.4-ck3
Desktop: FluxBox-1.3.1
Distribuzione: FreeBSD-8.1(amd64)
Località: London

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio da metrofox »

ponce ha scritto:guarda sopra, funziona, e' il cavo il problema.
Che cavo...Mica ho ethernet attaccati :shock: Io cerco di entrare col wireless. E' vero che ho 14 anni, ma una birra non può mica farmi sti effetti. :?

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3123
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 7.0.12
Desktop: lxde
Località: Pisa
Contatta:

Re: Realtek RTL8101E\RTL8102E e non mi collego.

Messaggio 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 :D

Rispondi