История изменений
Исправление kombrig, (текущая версия) :
Дело не в адаптере
lsusb |grep Wi
Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
iwconfig wlan0
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 20:16:d8:31:37:a9
inet6 addr: fe80::2216:d8ff:fe31:37a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:576 (576.0 B)
конфиги
cat /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
channel=11
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=ssid
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid' l2_packet_receive - recvfrom: Network is down
cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2
auto wlan0
iface wlan0 inet manual
pre-up iw dev wlan0 set type __ap
auto br0
iface br0 inet static
address 192.168.17.1
network 192.168.17.0
netmask 255.255.255.0
broadcast 192.168.17.255
bridge_ports eth0 wlan0
Запускаем hostapd
hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down
Исправление kombrig, :
Дело не в адаптере
lsusb |grep Wi
Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
iwconfig wlan0
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 20:16:d8:31:37:a9
inet6 addr: fe80::2216:d8ff:fe31:37a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:576 (576.0 B)
конфиги
cat /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
channel=11
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=ssid
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid' l2_packet_receive - recvfrom: Network is down
cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2
dns-nameservers 192.16hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down8hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down.0.1
auto wlan0
iface wlan0 inet manual
pre-up iw dev wlan0 set type __ap
auto br0
iface br0 inet static
address 192.168.17.1
network 192.168.17.0
netmask 255.255.255.0
broadcast 192.168.17.255
bridge_ports eth0 wlan0
Запускаем hostapd
hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down
Исправление kombrig, :
Дело не в адаптере
lsusb |grep Wi
Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
iwconfig wlan0
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 20:16:d8:31:37:a9
inet6 addr: fe80::2216:d8ff:fe31:37a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:576 (576.0 B)
конфиги
cat /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
channel=11
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=sturman
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
hostapd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid' l2_packet_receive - recvfrom: Network is down
cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2
dns-nameservers 192.16hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down8hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down.0.1
auto wlan0
iface wlan0 inet manual
pre-up iw dev wlan0 set type __ap
auto br0
iface br0 inet static
address 192.168.17.1
network 192.168.17.0
netmask 255.255.255.0
broadcast 192.168.17.255
bridge_ports eth0 wlan0
Запускаем hostapd
hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down
Исходная версия kombrig, :
Дело не в адаптере
lsusb |grep Wi
Bus 002 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
iwconfig wlan0
wlan0 IEEE 802.11bgn Mode:Master Frequency:2.462 GHz Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 20:16:d8:31:37:a9
inet6 addr: fe80::2216:d8ff:fe31:37a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:576 (576.0 B)
hostapd /etc/hostapd/hostapd.conf
Configuration file: /etc/hostapd/hostapd.conf
Using interface wlan0 with hwaddr 20:16:d8:31:37:a9 and ssid 'ssid'
l2_packet_receive - recvfrom: Network is down
конфиги
cat /etc/hostapd/hostapd.conf
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
channel=11
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=sturman
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd/wpa_psk
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.9
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.2
dns-nameservers 192.168.0.1
auto wlan0
iface wlan0 inet manual
pre-up iw dev wlan0 set type __ap
auto br0
iface br0 inet static
address 192.168.17.1
network 192.168.17.0
netmask 255.255.255.0
broadcast 192.168.17.255
bridge_ports eth0 wlan0