Hi, sorry to revive an old thread but I really don't think I need to post a new one just for this.
I have a WG111v2 wireless USB adapter and I've come to the conclusion that it does not support access points, as it does not list AP mode in the output of iw list.
Some other information, just for the record:
lsusb:
hostapd:
systemctl:
In conclusion, I spent quite a while trying to fix it with no success and could maybe save people a few hours of tinkering by posting. If anyone does get it to work, I'd love to be proven wrong, but I think I might just buy a new adapter.
I have a WG111v2 wireless USB adapter and I've come to the conclusion that it does not support access points, as it does not list AP mode in the output of iw list.
Supported interface modes: * IBSS * managed * monitor
Some other information, just for the record:
lsusb:
Bus 001 Device 005: ID 0846:6a00 NetGear, Inc. WG111v2 54 Mbps Wireless [RealTek RTL8187L] Bus 001 Device 007: ID 062a:4102 Creative Labs Bus 001 Device 006: ID 413c:2107 Dell Computer Corp. Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hostapd:
Configuration file: /opt/piratebox/conf/hostapd.conf nl80211: Could not configure driver mode nl80211 driver initialization failed. hostapd_free_hapd_data: Interface wlan0 wasn't startedI also tried adafruit's hostapd with the rtl871xdrv driver, no joy.
systemctl:
* piratebox.service - PirateBox Service Loaded: loaded (/etc/systemd/system/piratebox.service; disabled) Active: active (running) since Wed 1969-12-31 17:07:45 MST; 11s ago Process: 176 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=0/SUCCESS) CGroup: /system.slice/piratebox.service |-204 /usr/sbin/dnsmasq -x /var/run/piratebox_dnsmasq.pid -C /opt/piratebox/conf/dnsmasq_generated.conf |-211 python /opt/piratebox/bin/droopy -H piratebox.lan -d /opt/piratebox/share/Shared -m -c 8080 `-220 /usr/sbin/lighttpd -f /opt/piratebox/conf/lighttpd/lighttpd.conf Dec 31 17:07:43 alarmpi dnsmasq-dhcp[204]: DHCP, IP range 192.168.77.10 -- 192.168.77.250, lease time 12h Dec 31 17:07:43 alarmpi dnsmasq[204]: read /opt/piratebox/conf/hosts_mesh - 0 addresses Dec 31 17:07:43 alarmpi dnsmasq[204]: read /opt/piratebox/conf/hosts_generated - 1 addresses Dec 31 17:07:43 alarmpi piratebox_alt[176]: 0 Dec 31 17:07:43 alarmpi piratebox_alt[176]: Starting droopy... Dec 31 17:07:43 alarmpi piratebox_alt[176]: 0 Dec 31 17:07:44 alarmpi piratebox_alt[176]: Generated HTML-Shoutbox File. Dec 31 17:07:44 alarmpi piratebox_alt[176]: Starting lighttpd... Dec 31 17:07:44 alarmpi piratebox_alt[176]: 0 Dec 31 17:07:45 alarmpi systemd[1]: Started PirateBox Service.
In conclusion, I spent quite a while trying to fix it with no success and could maybe save people a few hours of tinkering by posting. If anyone does get it to work, I'd love to be proven wrong, but I think I might just buy a new adapter.