Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configurazione wlan
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
Nuitari
Apprentice
Apprentice


Joined: 15 May 2005
Posts: 245

PostPosted: Sun Jan 22, 2006 9:52 pm    Post subject: configurazione wlan Reply with quote

ciao a tutti :)
mi servirebbe il testo dei file /etc/conf.d/net e /etc/conf.d/wireless, in modo da avere la schedina wireless che si connette automaticamente in presenza di segnale alla rete wireless con dhcp. non so come avvenga l'autenticazione (in quanto sto parlando della rete dell'uni), so' solo che sono stato abilitato in quanto ho dato il mio MAC ai responsabili.
Spulciando il file /etc/conf.d/wireless.example ho scritto questo in etc/conf.d/wireless ma mi sa che ho sbagliato:
Code:

essid_wlan0="any"
mode_wlan0="auto"
adhoc_essid_wlan0="WLAN"
channel_wlan0="3"
scan_mode_wlan0="Ad-Hoc"
key_ESSID="any"
config_ESSID=( "dhcp" )
preferred_aps=( "ESSID" )
associate_order="any"
associate_order_wlan0="any"


inoltre il mio /etc/conf.d/net e':
Code:

config_eth0=( "192.168.0.2 netmask 255.255.255.0 brd 192.168.0.255")
routes_eth0=( "default gw 192.168.0.254")
config_wlan0=( "dhcp" )


ma se lancio /etc/init.d/net.wlan0 start
ottengo:
Code:

* Starting wlan0
 *   Configuring wireless network for wlan0
 *   Trying to force preferred in case they are hidden
 *   wlan0 does not support setting keys
 *   or the parameter "mac_key_ESSID" or "key_ESSID" is incorrect
 *   Failed to associate with any preferred access points on wlan0
 *     wlan0 connected to "WLAN" at 00:00:00:00:00:00
 *     in auto mode (WEP disabled)
 *   Bringing up wlan0
 *     dhcp
 *       Running dhcpcd ...                                               [ !! ]


nonostante abbia emerso anche il pacchetto dhcpcd, non riesco a capire come mai il dhcp non parta, e soprattutto non se se ho configurato bene la scheda wireless. Vi ringrazio in anticipo :)[/code]
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Mon Jan 23, 2006 7:57 am    Post subject: Re: configurazione wlan Reply with quote

Nuitari wrote:
non so come avvenga l'autenticazione (in quanto sto parlando della rete dell'uni), so' solo che sono stato abilitato in quanto ho dato il mio MAC ai responsabili.

Ah, la rete dell'università! Quanti sync gratis ho recuperato grazie ad essa :D
Nuitari wrote:
Code:
key_ESSID="any" [...]
 *   wlan0 does not support setting keys
 *   or the parameter "mac_key_ESSID" or "key_ESSID" is incorrect

Dunque, se nella rete non c'è autenticazione (non ti hanno dato una password) il file /etc/conf.d/wireless puoi lasciarlo anche vuoto, visto che di default partirebbe con dhcp; se invece hai una password devi conoscere l'ESSID e la password.
Ad esempio io ho (ath0 è la mia interfaccia wlan):
Code:
mode_ath0="Managed"
key_iet_AP2="password_unipi enc open"
key_iet_AP1="password_unipi enc open"
preferred_aps=( "iet-AP2" "iet-AP1" )

Dove AP1 e AP2 sono gli ESSID degli access point del mio dipartimento, che usano un'autenticazione WEP. Spero che questo ti abia chiarito le idee.

Ciao
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
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