Turning laptop into WAP using netgear WNA1100? (stuck at hostapd)

Posted by Vivek Sharma on Ask Ubuntu See other posts from Ask Ubuntu or by Vivek Sharma
Published on 2011-01-24T19:25:53Z Indexed on 2011/02/12 15:33 UTC
Read the original article Hit count: 345

I have a Netgear WNA1100 usb wifi adapter. I have installed Atheros driver from Forum Details (btw name of the file is ath9k_htc-installer.1.0.1-maverick-fixed.deb).

I wish to make a setup like connectify(windows) on ubuntu, so that I can connect my phone wirelessly to my laptop via Netgear WNA1100 (behaving as AP) and eventually use internet via my wired lan.

I have installed the above mentioned driver, hostapd and hostap-utils. Following is my hostapd.conf file.

ssid=vks
interface=wlan1 # The interface name of the card
driver=ath9k_htc # The card driver
macaddr_acl=0
accept_mac_file=/etc/hostapd.accept
deny_mac_file=/etc/hostapd.deny
ieee80211x=1 # Use 802.1X authentication
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=88888888
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

When i run

sudo hostapd /etc/hostapd/hostapd.conf

I get an error

invalid/unknown driver 'ath9k_htc # The card driver

I think the driver is installed fine, as i can see the blue led blinking on the netgear adapter, which was not blinking earlier.

  • Can someone please guide me how to achieve this setup?
  • I will appreciate an example hostapd.conf file with a simple wpa_psk security setup.
  • Please be detailed and descriptive with commands. How to run and end it.

Following is output from lsmod, i have only pasted the entries which had ath and ath related info. Which driver shall i use.

Module                  Size  Used by   
ath9k_htc              42903  0 
ath9k_common            2563  1   ath9k_htc   
ath9k_hw              285176  2 ath9k_htc,ath9k_common   
ath                    13001  2 ath9k_htc,ath9k_hw
cfg80211              139811  3 ath9k_htc,mac80211,ath
compat                  4020  1 cfg80211   
led_class               2633  3 ath9k_htc,thinkpad_acpi,sdhci

Thanks.

© Ask Ubuntu or respective owner

Related posts about 10.10

Related posts about networking