Jump to content

Recommended Posts

Posted
Armbianmonitor:

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

 

Posted

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

 

 

 

 

Posted

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

 

 

 

Posted

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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines