SMTC
Member
- Joined
- Jan 22, 2009
- Messages
- 190
- Reaction score
- 13
During distro install I was only eth0 attached. I followed the instructions at http://nerdvittles.com/?p=17094 to mod wpa_supplicant.conf file and got the wlan0 going OK. (pulled out the ethernet cable and rebooted). All good.
But now I want to just use the hardwired eth0 but wlan0 is taking precedence. It just doesn'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. It also seesm to latch on automatically to a neighbour's WiFi unsecured Access Point open as GUEST (but still looking for a passcode so no Internet)
Logging in from the console (since SSH non-responsive from whitelisted WAN) shows some ugly URL with a "URL moved" message in place of where the Public IP address is supposed to be on the PBX Status screen.
As a work-around for now I put the command IFCONFIG WLAN0 DOWN into my /etc/rc.local file.
But the questions are why is WiFi coming up first? Why does it take precedence over a readily available and connected 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?.
John
But now I want to just use the hardwired eth0 but wlan0 is taking precedence. It just doesn'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. It also seesm to latch on automatically to a neighbour's WiFi unsecured Access Point open as GUEST (but still looking for a passcode so no Internet)
Logging in from the console (since SSH non-responsive from whitelisted WAN) shows some ugly URL with a "URL moved" message in place of where the Public IP address is supposed to be on the PBX Status screen.
As a work-around for now I put the command IFCONFIG WLAN0 DOWN into my /etc/rc.local file.
But the questions are why is WiFi coming up first? Why does it take precedence over a readily available and connected 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?.
John
Last edited: