Hello.

I bought a Netgear WG311T not long ago and I am trying to set it up to become 
an access point for my other machines.
So far I have failed though, using a Windows XP machine I can detect the 
network but fails to connect.

Despite furious googling I have found no solution but I hope someone here can 
spot something in my steps and setup I may have missed;



1) Install the madwifi module

 apt-get update
 apt-get install madwifi-source
 apt-get install madwifi-tools
 m-a prepare
 m-a a-i madwifi


2) Create '/etc/modprobe.d/madwifi'

 options ath_pci autocreate=ap countrycode=752 outdoor=0


3) Loaded module 'ath_pci'

 modprobe ath_pci

Output of 'dmesg'

 ath_hal: module license 'Proprietary' taints kernel.
 ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 wlan: 0.9.4
 ath_pci: 0.9.4
 ACPI: PCI Interrupt 0000:00:0e.0[A] -> GSI 17 (level, low) -> IRQ 20
 ath_rate_sample: 1.2 (0.9.4)
 wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
 wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
 wifi0: H/W encryption support: WEP AES AES_CCM TKIP
 wifi0: mac 7.9 phy 4.5 radio 5.6
 wifi0: Use hw queue 1 for WME_AC_BE traffic
 wifi0: Use hw queue 0 for WME_AC_BK traffic
 wifi0: Use hw queue 2 for WME_AC_VI traffic
 wifi0: Use hw queue 3 for WME_AC_VO traffic
 wifi0: Use hw queue 8 for CAB traffic
 wifi0: Use hw queue 9 for beacons
 wifi0: Atheros 5212: mem=0xf3000000, irq=20


4) Edit '/etc/network/interfaces'

#auto ath0
iface ath0 inet static
 pre-up /etc/network/ath0_preup
 post-down wlanconfig ath0 destroy
 #
 address 192.168.1.1
 netmask 255.255.255.0
 broadcast 192.168.1.255


5) Create '/etc/network/ath0_preup'

 wlanconfig ath0 destroy > /dev/null 2>&1
 wlanconfig ath0 create wlandev wifi0 wlanmode ap bssid
 ifconfig ath0 up
 iwconfig ath0 essid SesameStreet
 iwconfig ath0 mode Master
 iwconfig ath0 rate auto
 iwconfig ath0 key 9876-5432-10
 iwconfig ath0 txpower 8


6) Create '/etc/network/ath0_postdown'

 wlanconfig ath0 destroy > /dev/null 2>&1


7) Start the interface 'ath0'

  ifup ath0


8) Edit '/etc/hostapd/hostapd.conf'

interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=g
ssid=SesameStreet
auth_algs=3
ignore_broadcast_ssid=0
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_passphrase=0123456789012
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP


9) Start 'hostapd'

Enable hostapd in '/etc/hostapd/hostapd.conf' and start it;

  /etc/init.d/hostapd restart




It feels a bit like buying a WG311T was a bad idea, and I am considering maybe 
trying another brand.

Thank you in advance for any pointers or hints.

// Andreas



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to