Open coolerUA opened 6 years ago
How can I specify exact name of the interface? Here is config:
CHANNEL=default GATEWAY=10.0.0.1 WPA_VERSION=2 ETC_HOSTS=0 DHCP_DNS=gateway NO_DNS=1 NO_DNSMASQ=1 HIDDEN=0 MAC_FILTER=0 MAC_FILTER_ACCEPT=/etc/hostapd/hostapd.accept ISOLATE_CLIENTS=0 SHARE_METHOD=nat IEEE80211N=0 IEEE80211AC=0 HT_CAPAB=[HT40+] VHT_CAPAB= DRIVER=nl80211 NO_VIRT=0 COUNTRY= FREQ_BAND=2.4 NEW_MACADDR= DAEMONIZE=0 NO_HAVEGED=0 WIFI_IFACE=wlan0 INTERNET_IFACE=eth1 SSID=test PASSPHRASE=test USE_PSK=0
In some cases interface created with different name ap1, ap2, etc. But I need to hardcode it to ap0. Is it possible to do?
Os: CentOS 7 Kernel: 4.15.12-1.el7.elrepo.x86_64 Git commit f906559f44afe6397a1775d0d2bc99d1e622b2fd Merge: b8df69a 648fb69 Author: oblique psyberbits@gmail.com Date: Sun Dec 24 10:51:29 2017 +0200 VERSION=0.4.6
I seems figured out. On line ~379 in func alloc_new_iface() there is no check if system was suddenly restarted (power outage for example).
How can I specify exact name of the interface? Here is config:
In some cases interface created with different name ap1, ap2, etc. But I need to hardcode it to ap0. Is it possible to do?
Os: CentOS 7 Kernel: 4.15.12-1.el7.elrepo.x86_64 Git commit f906559f44afe6397a1775d0d2bc99d1e622b2fd Merge: b8df69a 648fb69 Author: oblique psyberbits@gmail.com Date: Sun Dec 24 10:51:29 2017 +0200 VERSION=0.4.6