Jump to content
  • 0

wifi ip and wifi mac change after booting





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".







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??


Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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 netmask up

#route add default gw


then, I can use wifi with p2p0.

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


ifconfig p2p0 down

ifconfig p2p0 netmask up

route add default gw

sleep 10

dhclient p2p0





Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

  • 0

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
wireless-mode Managed
wireless-power off

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.

Answer this question...

×   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.


  • Create New...