You are not logged in.

#1 2010-02-09 12:18:26

mikrofriendly
Member
Registered: 2010-02-09
Posts: 3

wirelesslan problems

Hello Archfriends,
I have yesterday installed arch but I sheltered to configure my WLAN smile
follow additional packets are installed: wpa_supplicant; wireless_tools; netcfg

I think my wireless-hardware is working, i can check this with iwlist wlan0:

A lot of wlan-stations appear. Now I have configure my wpa_supplicant.conf:
wpa_passphrase MYWLANESSID "MYPASSWORD" > /etc/wpa_supplicant.conf

This baseconfiguration became improve to:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
update_config=1

network={
        ssid="MYWLANSSSID"
        key_mgmt=WPA_PSK
        proto=RSN
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk=WPA_PASSPHRASE_CREATED_KEY
}

my rc.conf:

HOSTNAME="mikrofriendly"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1" # its my wlanstation
ROUTES=(!gateway) #I like to use DHCP
NETWORKS=(daheme)  #My profile in /etc/network.d/daheme

I have copy wireless-wpa-config in /etc/network.d/examples to /etc/network.d/daheme
my configuration:

CONNECTION="wireless"
DESCRIPTION"daheme netz"
INTERFACE="wlan0"
SECURITY="wpa-config"
WPA_CONF="/etc/wpa_supplicant.conf"
IP="dhcp"

Now I check wpa_supplicant and try connect to my wlan station:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B

I show the status with iwconfig wlan0:

 wlan0     IEEE 802.11b  ESSID:""  
           Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
           Tx-Power=20dBm
           Retry min limit:7   RTS thr=off   Fragment thr=off  
           Encryption key: off
           Power Management:off
           Link Quality=0 Signal level=0  Noise level=0
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wpa_supplicant dont has connected to my wlan-station, whats wrong ?

MfG

Offline

#2 2010-02-09 12:49:14

mikrofriendly
Member
Registered: 2010-02-09
Posts: 3

Re: wirelesslan problems

yes smile
I have found my Problem:
In my Wlanstation, I have the option "hidden SSID name active", now I have this disabled. and I can connect to my Wlan-station with:
delete this: rm /var/run/wpa_supplicant/wlan0
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
Now I iwconfig wlan0

 wlan0     IEEE 802.11b  ESSID:"MYWLANSSID"  
           Mode:Managed  Frequency:2.437 GHz  Access Point: MACADRESS
           Bit Rate=54Mb/s Tx-Power=20 dBm Fragment thr:off
           Retry min limit:7   RTS thr=off   Fragment thr=off  
           Encryption key: A_LONG_KEY [2] Security mode:open
           Power Management:off
           Link Quality=37/70 Signal level=-73dGm  
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

I restart the system an it works smile

1. But I have questions, how can I close and (re)start the connection ?
2. How can I configure the timeout during a connection to a wirelessstaion ?
3. In which log-file are all errormessages from the boot-process ?
4. And the last one, I can now create more Networks, with new entries in:
todo list to add a new wlan network:
/etc/wpa_supplicant/wpa_supplicant.conf -> new network section
/etc/network.d/NETWORKNAME -> its a copy from the examples with corresponding modified entries
/etc/rc.conf -> add the NETWORKNAME in NETWORK array

right or not ?

Last edited by mikrofriendly (2010-02-09 12:50:26)

Offline

Board footer

Powered by FluxBB