Hey,
please provide the output of
Thanks ;-)
please provide the output of
lsusband
ifconfig]
Thanks ;-)
lsusband
ifconfig]
/etc/fstab
hostapd -dd /opt/piratebox/conf/hostapd.conf? It produces some output for me at least...
start-stop-daemon -m -S -b -p $PIDFILE_HOSTAPN -x /usr/sbin/hostapd -- $CONF_APNin the piratebox_alt script to something like
/usr/sbin/hostapd -dd $CONF_APN >> /opt/piratebox/hostapd.log
/dev/sda1 /mnt/usbdrive vfat user 0 0
* piratebox.servicesystemctl.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) * status.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead) * piratebox.service - PirateBox Service Loaded: loaded (/etc/systemd/system/piratebox.service; enabled) Active: active (running) since Wed 1969-12-31 17:00:15 MST; 44 years 7 months ago Process: 110 ExecStart=/opt/piratebox/init.d/piratebox_alt start (code=exited, status=0/SUCCESS) CGroup: /system.slice/piratebox.service |-162 /usr/sbin/dnsmasq -x /var/run/piratebox_dnsmasq.pid -C /opt/piratebox/conf/dnsmasq_generated.conf |-169 python /opt/piratebox/bin/droopy -H piratebox.lan -d /opt/piratebox/share/Shared -m -c 8080 `-178 /usr/sbin/lighttpd -f /opt/piratebox/conf/lighttpd/lighttpd.conf Dec 31 17:00:12 alarmpi dnsmasq-dhcp[162]: DHCP, IP range 192.168.77.10 -- 192.168.77.250, lease time 12h Dec 31 17:00:12 alarmpi dnsmasq[162]: read /opt/piratebox/conf/hosts_mesh - 0 addresses Dec 31 17:00:12 alarmpi dnsmasq[162]: read /opt/piratebox/conf/hosts_generated - 1 addresses Dec 31 17:00:12 alarmpi piratebox_alt[110]: 0 Dec 31 17:00:12 alarmpi piratebox_alt[110]: Starting droopy... Dec 31 17:00:12 alarmpi piratebox_alt[110]: 0 Dec 31 17:00:14 alarmpi piratebox_alt[110]: Generated HTML-Shoutbox File. Dec 31 17:00:15 alarmpi piratebox_alt[110]: Starting lighttpd... Dec 31 17:00:15 alarmpi piratebox_alt[110]: 0 Dec 31 17:00:15 alarmpi systemd[1]: Started PirateBox Service.
Bus 001 Device 006: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter 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
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.2.19 netmask 255.255.255.0 broadcast 192.168.2.255 ether b8:27:eb:3a:b3:b3 txqueuelen 1000 (Ethernet) RX packets 561 bytes 50356 (49.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 515 bytes 78155 (76.3 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 0 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 inet 192.168.77.1 netmask 255.255.255.0 broadcast 192.168.77.255 ether e8:94:f6:18:7c:2b txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Supported interface modes: * IBSS * managed * monitor
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
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.
* 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.