Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[net] madwifi -
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
josephdrivein
n00b
n00b


Joined: 05 Apr 2006
Posts: 39

PostPosted: Wed Apr 05, 2006 8:19 pm    Post subject: [net] madwifi - Reply with quote

Premetto che è poco tempo che uso gentoo, ho sempre usato debian:
Appunto con debian per configurare la mia scheda wireless (chipset atheros - driver madwifi) usavo uno script tipo così:
Code:
ifconfig ath0 up
iwconfig ath0 ap <mac ap>
iwconfig ath0 essid "WSK v2.0"
iwconfig ath0 key <miachiavewep:)>
dhcpcd ath0


Ora, seguendo le istruzioni nella documentazione e l'esempio sono arrivato al seguente file /etc/conf.d/wireless:
Code:
key_WSK_v2_0="restricted <miachiavewep:)>"
config_WSK_v2_0=( "dhcp" )
preferred_aps=( "WSK v2.0" )
associate_order="forcepreferred" 


Il primo se lo eseguo come script configura perfettamente la scheda e _funziona_, il secondo chiamato tramite /etc/init.d/net.ath0 se prima non chiamo
ifconfig ath0 up
fallisce sostenendo che non ci sono access point disponibili
Se invece prima abilito l'interfaccia con ifconfig, allora il dhcp va in timeout.

A me paiono equivalenti i due file... ma evidentemente non lo sono. Qualcuno sa perché? Davvero l'interfaccia non è abilitata di default quando è chiamato /etc/init.d/net.ath0 ? Nel caso di /etc/init.d/net.eth0 invece lo è... (e il dhcp funziona...)
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Wed Apr 05, 2006 9:09 pm    Post subject: Reply with quote

ciao


Guarda, fino all'altro giorno usavo una wifi pcmcia con driver madwifi senza problemi.

Ora ho cambiato portatile ma ho trasferito la stessa gentoo che avevo prima, e ho il tuo stesso problema, come puoi vedere qui: https://forums.gentoo.org/viewtopic-t-450341.html

purtroppo non so spiegarmelo, l'errore è identico al tuo..
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
josephdrivein
n00b
n00b


Joined: 05 Apr 2006
Posts: 39

PostPosted: Wed Apr 05, 2006 9:22 pm    Post subject: Reply with quote

Ti ringrazio molto, la tua informazione è preziosa.

Me la caverò anche con lo script, sperando che il problema si risolva in fretta.

Ciao!
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Wed Apr 05, 2006 9:26 pm    Post subject: Reply with quote

il problema è che questo problema non dovrebbe manifestarsi..


se ho aggiornamenti ti faccio sapere
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
MajinJoko
l33t
l33t


Joined: 20 Sep 2005
Posts: 639
Location: Bergamo / Verona

PostPosted: Thu Apr 06, 2006 10:30 am    Post subject: Reply with quote

cercando qui e là nel forum sembra che una possibile soluzione sia aggiornare il baselayout. e, ovviamente, con etc-update aggiornare il file net.lo.

A me non ha risolto, ma sembra un pò diverso (ottiene un errore a connettersi all'ap).



ciao





Aggiunta


ho trovato qui: https://forums.gentoo.org/viewtopic-t-392467-highlight-configure+wireless+ndiswrapper.html
questo script che mi funziona

Code:
modprobe ndiswrapper
iwconfig wlan0 commit
iwconfig wlan0 wlan0 essid MySSID channel <MyChannel> key open <MyWEPKey> commit
ifconfig wlan0 up
dhcpcd wlan0



è sempre un hack del cavolo, ma almeno va..
_________________
[(.. watashi wa Urumi Kanzaki ga suki da ..)]
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Fri Apr 07, 2006 8:23 am    Post subject: Reply with quote

Si beh, se lui ha la possibilità di usare madwifi è meglio evitare ndiswrapper, soprattutto se la scheda è estraibile!
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Fri Apr 07, 2006 9:02 am    Post subject: Re: [net] madwifi - Reply with quote

josephdrivein wrote:

Qualcuno sa perché? Davvero l'interfaccia non è abilitata di default quando è chiamato /etc/init.d/net.ath0 ? Nel caso di /etc/init.d/net.eth0 invece lo è... (e il dhcp funziona...)


se guardi la mia guida nella firma, anch io usavo iwconfig per la configurazione... e credo sia il modo migliore... :roll:
per quanto riguarda ath0 e' stato inserito nel run level di default? net.ath0 e' un link simbolico che punta a net.lo?
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
josephdrivein
n00b
n00b


Joined: 05 Apr 2006
Posts: 39

PostPosted: Sat Apr 08, 2006 8:54 pm    Post subject: Re: [net] madwifi - Reply with quote

neryo wrote:
ath0 e' stato inserito nel run level di default? net.ath0 e' un link simbolico che punta a net.lo?

Si. Se usi i madwifi e hai una rete tipo la mia posta il file wireless ( o net)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum