Jump to content

Recommended Posts

Posted

Hi, 

installing a WiFi Hotspot eliminates the wlan0 from the network manager. Files like hostapd, dnsmasq must be edited manually. I have 2 files for hostapd:

ll /etc/network/interfaces.d
total 8
-rw-r--r-- 1 root root 163 Mar 25 18:55 armbian.ap.nat
-rw-r--r-- 1 root root 154 Jan 20 12:16 orig_armbian.ap.nat
hk@orangepizeroplus:/etc/dnsmasq.d$ cat /etc/network/interfaces.d/*
# armbian NAT hostapd
allow-hotplug wlan0
iface wlan0 inet static
        address 192.168.100.1
        netmask 255.255.255.0
        network 192.168.100.0
        broadcast 192.168.100.255
# armbian NAT hostapd
allow-hotplug wlan0
iface wlan0 inet static
        address 172.24.1.1
        netmask 255.255.255.0
        network 172.24.1.0
        broadcast 172.24.1.255

After boot, both IP addresses here 192.168.100.1 AND 172.24.1.1 appear in the welcome msg:

Welcome to Armbian 22.02.1  with Linux 5.10.60-sunxi64

System load:   6%               Up time:       6 min
Memory usage:  22% of 474M      IP:            192.168.0.100 192.168.1.37 192.168.100.1
172.24.1.1
CPU temp:      46°C             Usage of /:    24% of 29G

I had to delete manually orig_armbian.ap.nat to get rid of the 172....

Is this a feature or a bug?

RGDS

hk

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines