Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

wifi ip and wifi mac change after booting

Featured Replies

Hi.

I was testing pwm with a motor, then my rock pis stopped.

After boot, I couldn't see wlan0 in nmtui-connect.

So I reinstall fresh armbian, I can see wlan0 again.

I do wifi setting with nmtui-connect but after rebooting I can't connect wifi.

I have to redo wifi setting with nmtui-connect, put password again and it adds another wifi.

It seems like it can't connect to previous wifi.

When I do "nmcli con show", I can see the previous wifi but it is deactive.

I searched about it and found wifi mac address randomization issue.

So I checked "10-override-random-mac-disable.conf".

 

[connection]

wifi.mac-address-randomization=1

[device]

wifi.scan-rand-mac-address=no

 

Whenever I redo nmtui-connect, it add file count in "/etc/NetworkManager/system-connections"

Is there any way to solve it?

Or pwm thing break wifi chips??

 

  • Author

I found a workaround.

 

After boot, p2p0 connection is alive.

But each booting make its ip address grow.

So I changed it fixed ip like it.

 

#ifconfig p2p0 down

#ifconfig p2p0 2.1.1.38 netmask 255.255.255.0 up

#route add default gw 2.1.1.1

 

then, I can use wifi with p2p0.

So I add these commands into "rc.local".

 

ifconfig p2p0 down

ifconfig p2p0 2.1.1.38 netmask 255.255.255.0 up

route add default gw 2.1.1.1

sleep 10

dhclient p2p0

 

 

 

 

  • Author

I don't know why but my rock pis can't fix mac even adding the line.

Booting with new debian and armbian with new SD card have same result.

I think my rock pis went wrong with my pwm things...

 

 

 

  • Author

I searched and found solution.

After install fresh armbian, I added this to "/etc/network/interfaces"

 

auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet static
    address 2.1.1.38
    netmask 255.255.255.0
    gateway 2.1.1.1
    dns-nameservers 168.126.63.1 168.126.63.2
wireless-mode Managed
wireless-power off
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.