As the subject states, is there any way to disable the onboard wifi and use a wifi dongle instead? I'm using the Pi in an area that has weak wifi and I have found that using a wifi dongle increases the range. The utility I have written is showing the IP address of the Pi on screen when it's booted and I have found that if I have both wlans running I can get the 169.254.... address which is leading people to believe that is has connected to a wifi network when it has not..
Is there any way configure the wlan so that it only shows an IP if it is connected to a network?
The application is using PyGame and the code used to display the IP is
Code: Select all
# Write the IP address SCREENBOTTOM.fill(BGCOLOR) ipaddr = check_output(['hostname', '-I']) IP_ADDR = fontIP.render(ipaddr, 1, IP_COLOR) SCREENBOTTOM.blit(IP_ADDR, (880, 60))
Edit: I should mention that I have tried using
and ifdown in crontab
these methods either do not disable wifi or disable both onboard and dongle