You are not logged in.
Hello all,
I'm trying to setup a wifi-network from my laptop, so other devices can log on to my wifi and be on the same lan.
However, i tried googling how to do this with netcfg mut i keep getting results about just seting up a normal wifi-connection to a router.
Any ideas?
tanx,
Joran
Offline
Welcome to the forum, jorants.
https://wiki.archlinux.org/index.php/So … cess_Point
Double-check first that your wifi card supports wlan "master mode", which a lot don't. Searching the forum for "hostapd" will lead you also to relevant results.
Offline
Hey,
tanx for the reply.
i get the follow output from lspci -v:
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at dea00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath9k
and the ath9k driver supports AP mode. also, i have made a acces point in windows some time ago so the card sould also suppot it.
however i get an error when itry to start hostapd.
systemctl status hostapd gives:
hostapd.service - Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Loaded: loaded (/usr/lib/systemd/system/hostapd.service; disabled)
Active: failed (Result: exit-code) since Sat, 2013-01-26 13:15:27 CET; 10min ago
Process: 12850 ExecStart=/usr/bin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/hostapd.serviceJan 26 13:15:27 laptop systemd[1]: Starting Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Auth...or...
Jan 26 13:15:27 laptop hostapd[12850]: Configuration file: /etc/hostapd/hostapd.conf
Jan 26 13:15:27 laptop hostapd[12850]: nl80211: Failed to set interface wlan0 into AP mode
Jan 26 13:15:27 laptop hostapd[12850]: nl80211 driver initialization failed.
Jan 26 13:15:27 laptop systemd[1]: Failed to start Hostapd IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADI...ator.
Jan 26 13:15:27 laptop systemd[1]: Unit hostapd.service entered failed state
my /etc/hotsspd/hostapd.conf:
ssid=joran
wpa_passphrase=testtest
interface=wlan0
bridge=br0
auth_algs=3
channel=7
driver=nl80211
hw_mode=g
logger_stdout=-1
logger_stdout_level=2
max_num_sta=5
rsn_pairwise=CCMP
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
i cant seem to figure it out. :-S
Offline
With respect to the listed error re-check the output of
iw list |grep modes -A 8
If "master" mode is listed: There appears to be some problem with the recent hostapd that may be causing your issue. Have a look here:
https://bbs.archlinux.org/viewtopic.php … 9#p1221479
Offline