[Voyage-linux] Atheros AR5001X+ 0.7.5 Alix master AP

(spam-protected) (spam-protected)
Wed Aug 31 01:14:08 HKT 2011


Many thanks

Works!

auto wlan0
iface wlan0 inet static
      address 192.168.2.2
      netmask 255.255.255.0
      broadcast 192.168.2.255
      gateway 192.168.2.1
      up iwconfig wlan0 channel 2 essid Mynet mode managed
      wpa-ssid MyNet
      wpa-psk mywpapassphrase

I'm wondering if there is any way to avoid writing the password in clear...


BR,

Davide



On 30 Aug 2011, at 17:58, Gustin Johnson wrote:

> For the client side, I use the following in the /etc/network/interfaces:
> 	wpa-ssid MyNet
> 	wpa-psk mywpapassphrase
> 
> On Tue, Aug 30, 2011 at 6:06 AM, themrorange at gmail.com
> <themrorange at gmail.com> wrote:
>> Hi,
>> 
>> I'm trying to configure two Alix 2D3 in a WLAN 802.11g. Both machines have voyage 0.7.5 updated.
>> 
>> I'm having some troubles registering the managed machine to the network.
>> Not always the access point appears associated from iwconfig but even when it's associated I cannot ping the access point (Destination Host Unreachable). I've almost no experience and I'm a bit stuck here.
>> 
>> Can I use your help? Please, have a look to my configuration files below?
>> 
>> Many thanks
>> Davide
>> 
>> - The first machine (Alix1) is acting as Access Point in Master mode, thanks to hostapd.
>> 
>> my /etc/network/interfaces:
>> 
>> auto wlan0
>> iface wlan0 inet static
>>        hostapd /etc/hostapd/hostapd.wlan0.conf
>>        address 192.168.2.1
>>        netmask 255.255.255.0
>>        broadcast 10.5.30.255
>> 
>> my hostapd configuration (/etc/hostapd/hostapd.wlan0.conf) is:
>> 
>> interface=wlan0
>> bridge=br0
>> driver=nl80211
>> logger_syslog=-1
>> logger_syslog_level=2
>> logger_stdout=-1
>> logger_stdout_level=2
>> debug=4
>> #dump_file=/tmp/hostapd.dump
>> #ctrl_interface=/var/run/hostapd
>> #ctrl_interface_group=0
>> channel=2
>> hw_mode=g
>> macaddr_acl=0
>> auth_algs=1
>> eapol_key_index_workaround=0
>> eap_server=0
>> #wpa=3
>> ssid=MYnet
>> #wpa_psk=mypass
>> #wpa_key_mgmt=WPA-PSK
>> #wpa_pairwise=TKIP
>> #rsn_pairwise=CCMP
>> eapol_version=1
>> ignore_broadcast_ssid=0
>> 
>> 
>> - The second machine (Alix2) is in managed mode
>> 
>> auto wlan0
>> iface wlan0 inet static
>>       address 192.168.2.2
>>       netmask 255.255.255.0
>>       broadcast 192.168.2.255
>>       gateway 192.168.2.1
>>       up iwconfig wlan0 channel 2 essid Mynet mode managed
>> 
>> 
>> 
>> 
>> Both machine have the same WLAN card:
>> 
>> 00:0c.0 Ethernet controller: Atheros Communications Inc. Atheros AR5001X+ Wireless Network Adapter (rev 01)
>>        Subsystem: Wistron NeWeb Corp. CM9 Wireless a/b/g MiniPCI Adapter
>>        Flags: bus master, medium devsel, latency 168, IRQ 9
>>        Memory at e00c0000 (32-bit, non-prefetchable) [size=64K]
>>        Capabilities: [44] Power Management version 2
>>        Kernel driver in use: ath5k
>> 
>> 
>> _______________________________________________
>> Voyage-linux mailing list
>> Voyage-linux at list.voyage.hk
>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>> 





More information about the Voyage-linux mailing list