QUESTION Raspberry Pi3 - wlan0 overriding eth0

SMTC

Member
Joined
Jan 22, 2009
Messages
190
Reaction score
13
At install I was eth0 attached. Followed the instructions to mod wpa_supplicant.conf file and got the wlan0 going OK. (pulled out the ethernet cable and rebooted)

But now I want to just use the hardwired eth0 but wlan0 is taking precedence. It won't default everything to the ethernet port.

Removing the SSID and valid PASSWORD from wpa_supplicant.conf causes SSH/Asterisk to not work for about 8 hours until the WIFI finally gives up I guess.

Logging in on the console shows some nasty URL and a moved message in place of the Public IP address on the PBX Status screen.

As a hack-fix I put the command IFCONFIG WLAN0 DOWN into the /etc/rc.local file.

But the question is why is wifi coming up first? Why does it take precedence over the ETH0? Can this be the other way around, i.e. IF connection on Ethernet, then that is the main and default, else try on WLAN0.
 

Members online

No members online now.

Forum statistics

Threads
26,687
Messages
174,410
Members
20,257
Latest member
Dempan
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top