Lose Wireless Connection when Wired connection is disconnected
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Lose Wireless Connection when Wired connection is disconnected
I am using a Linksys Wireless-G USB Network adapter in Ubuntu 9.10. I can connect with my wireless network when I am connected to the wired network. When I disconnect the ethernet cable, I lose the wireless connection also. Where is the best place to read about this problem? Thanks.
When the ethernet cable is connected it shows "wired Network" connected and "Wirless Network" connected. When I remove the ethernet cable the wired network is disconnected (as it should be). The wireless connection is still connected, but I can not go online. I plug the ethernet cable back in and I can go online.
Check first if you get an ip by typing ifconfig wlan1. If you have one, it may be a routing issue. Type netstat -nr and see if there is a default gateway trough your wireless interface wlan1.
In the other hand check why your iwconfig dont show your security setting. Type iwlist wlan1 encryption
iwlist wlan1 key
Ok, thanks.
I would like to explain what is going on on your computer:
When you turn it on, network manager finds two interfaces: ethernet and wireless, and configures them.
It gives them IP addresses and brings them up, but those are not enough. One need to specifies a default route, and default interface, which it sets up to ethernet by DHCP client. Wired connection works, you can go to internet.
But when you disconnect ethernet, NM removes default router, but DHCP client doesn't start again because wireless already was configured.
So, you need to reconnect to wireless, after you unplug ethernet.
Try to turn wireless OFF and ON again, and tell if it helps.
I disconnected the wired connection and lost my internet connection. I then disconnected the wireless aand reconnected (i.e turned off then turned on again), but could not regain internet connection.
I tried rebooting with just the wirless reconnected and that don't work either.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.