Проекты GitHub SourceForge |
OpenAP /
WiFiНастройка WiFi точки доступа.Настройка AP под systemd-networkd и netplanToDo: написать Новые драйверы WiFi для старых ядерНовые серевые драйверы портируются в старые ядра на проекте Backports: https://backports.wiki.kernel.org/index.php/Main_Page ТоDo: рассказать о hostapd
ToDo: hostapd брать отсюда: http://stdio.ru/download/ebox-3300mx-h/hostapd_0.6.10-2_i386.deb 802.11g/etc/networ/interfaces # The wlan interface auto wlan0 iface wlan0 inet static address 192.168.1.1 netmask 255.255.255.0 broadcats 192.168.1.255 hostapd /etc/hostapd/hostapd.conf /etc/hostapd/hostapd.conf interface=wlan0 driver=nl80211 logger_syslog=4 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ssid=ebox country_code=RU hw_mode=g channel=6 wmm_enabled=1 macaddr_acl=0 auth_algs=1 ieee8021x=0 wpa=2 wpa_passphrase=<enter WPA password here> wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP 802.11nСетевые адаптерыКонфигурация/etc/hostapd/hostapd-n.conf interface=wlan0 driver=nl80211 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ssid=eboxn country_code=RU hw_mode=g channel=5 wmm_enabled=1 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-40] macaddr_acl=0 auth_algs=1 ieee8021x=0 wpa=2 wpa_passphrase=<enter WPA password here> wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP 802.11aКонфигурация/etc/hostapd/hostapd-a.conf interface=wlan1 bridge=br0 driver=nl80211 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 dump_file=/tmp/hostapd.dump ctrl_interface=/var/run/hostapd ssid=eboxa country_code=RU ieee80211d=1 hw_mode=a channel=48 #ieee80211ac=1 wmm_enabled=1 ieee80211n=1 ht_capab=[HT40-][SHORT-GI-20][SHORT-GI-40] macaddr_acl=0 auth_algs=1 ieee8021x=0 wpa=2 wpa_passphrase=cleanatmosphere wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP Bridge из WLAN'ов/etc/network/interfaces # The primary network interface auto br0 iface br0 inet static bridge_ports wlan0 wlan1 address 192.168.1.1 netmask 255.255.255.0 broadcats 192.168.1.255 pre-up ifconfig wlan0 up; ifconfig wlan1 up post-up ifup wlan0; ifup wlan1; brctl addif $IFACE wlan0 || true; brctl addif $IFACE wlan1 || true pre-down ifdown wlan0; ifdown wlan1 iface wlan0 inet manual hostapd /etc/hostapd/hostapd-n.conf iface wlan1 inet manual hostapd /etc/hostapd/hostapd-a.conf |