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