все работало, но я накосячил и пришлось переустанавливать ОС, стояла стояла Ubuntu Server 16.04.3 (ставил еще 16.04.1, потом сама обновилась до 16.04.3) и все было прекрасно, правда иногда пропадала сеть, т.е. SSIDa не видно было, лечилось перезапуском системы,
перед переустановкой я скопировал все файлы конфигурации и после установки ОС с нуля и накатывания ПО заменил все конфигурационные файлы, т.е. все должно было заработать практически из коробки, но я ошибся...
SSID не появляется в списке сетей, подключиться не удается соответственно тоже.
смотрел
https://pro-gram.ru/setting-access-point-wifi-ubuntu.html и
https://help.ubuntu.ru/wiki/wifi_apвроде все верно и работало до этого с этим же конфигом... почему не работает сейчас не пойму никак....
подскажите куда копать?
вывод lshw -c networ:
root@SRV-MEDIA:/# lshw -c network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: enp2s0
version: 0c
serial: 40:8d:5c:0e:62:e4
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:25 ioport:e000(size=256) memory:f7c00000-f7c00fff memory:f0100000-f0103fff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: enp3s0
version: 07
serial: 1c:5f:2b:a2:16:30
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.33.107 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:26 ioport:d000(size=256) memory:f0004000-f0004fff memory:f0000000-f0003fff
*-network
description: Wireless interface
physical id: 2
bus info: usb@2:1.6
logical name: wlxf81a6708f336
serial: f8:1a:67:08:f3:36
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rt2800usb driverversion=4.4.0-109-generic firmware=0.29 link=no multicast=yes wireless=IEEE 802.11bgn
файл /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# localhost
auto lo
iface lo inet loopback
post-up iptables-restore </etc/iptables.conf
# Inet
auto enp3s0
iface enp3s0 inet dhcp
# LAN-Bridge
auto enp2s0 br0
# iface enp2s0 inet manual
# Wi-Fi_Access-Point
auto wlxf81a6708f336 br0
iface wlxf81a6708f336 inet manual
pre-up iw dev wlxf81a6708f336 del
pre-up iw phy phy0 interface add wlxf81a6708f336 type __ap
# Bridge
iface br0 inet static
address 192.168.100.1
netmask 255.255.255.0
bridge_ports enp2s0 wlxf81a6708f336
файл /etc/default/hostapd:
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
#DAEMON_CONF=""
DAEMON_CONF="/etc/hostapd/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
#DAEMON_OPTS=""
сам /etc/hostapd/hostapd.conf - его не было, поэтому просто скопировал свой сюда просто (постарался выдрать все параметры не закоментированные, надеюсь ничего не пропустил, причем некоторые повторяются по 2 раза, а в самом файле там разное описание немного):
interface=wlxf81a6708f336
bridge=br0
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
ctrl_interface=/var/run/hostapd
ssid=WWW222
country_code=RU
hw_mode=g
channel=9
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=3
ignore_broadcast_ssid=0
wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0
ap_max_inactivity=300
eapol_key_index_workaround=0
own_ip_addr=127.0.0.1
wpa=2
wpa_psk_file=/etc/hostapd.wpa_psk
wpa_passphrase=111111111111
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP