Jump to content

network setup uses wrong file


Hans Kurscheidt

Recommended Posts

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines