hi, i try make Access Point on BPi R1. At the end, my wireless interface lost… can anyone help me ?
Few info:
3.4.113-bananian
/etc/network/interfaces:
auto lo
iface lo inet loopback
allow-hotplug eth0
auto eth0.101
iface eth0.101 inet dhcp
auto eth0.102
iface eth0.102 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
post-up service hostapd start
post-up hostapd -dB /etc/hostapd/hostapd.conf
post-down rm -rf /run/hostapd/wlan0
auto br0
iface br0 inet static
bridge_ports eth0.102 wlan0
bridge_waitport 0
address 192.168.9.2
network 192.168.9.0
netmask 255.255.255.0
gateway 192.168.10.1
hostapd.conf
interface=wlan0
bridge=br0
driver=rtl871xdrv
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
hw_mode=g
channel=6
wpa=2
wpa_passphrase=12345678
#wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
#rsn_pairwise=CCMP
auth_algs=1
ssid=test
country_code=PL
ieee80211d=1
macaddr_acl=0
beacon_int=100
max_num_sta=8
ht_capab=[SHORT-GI20][SHORT-GI-40][HT40]
ignore_broadcast_ssid=0
#noscan=1
i figured out, that from the beginning iwconfig showed one wireless interface, called enx3c3300bdaabb9 (wtf??), and now shows only lo, br0, eth0.101, eth0.102, tunl0, eth0.
ifup enx3c3300bdaabb9: unknown interface enx3c3300bdaabb9
ifup wlan0:
random: Trying to read entropy from /dev/random
Configuration file: /etc/hostapd/hostapd.conf
ctrl_interface_group=0
Could not read interface wlan0 flags: No such device
ioctl(SIOCGIFINDEX): No such device
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
ifup: failed to bring up wlan0