JDMoore0883
Posts: 9
Joined: Mon Sep 23, 2013 7:32 pm

Simultaneous WiFi and LAN connection

Mon Dec 23, 2013 3:42 pm

Hey everyone!

I can get the LAN connection to work just fine. Same with the WiFi, I can get it to automatically connect on boot. The issue is when I try to use them both simultaneously. When the LAN connection get a DHCP address, the WiFi does not connect. I have to go in and manually get the wireless to connect.

How can I get the WiFi to connect automatically (even though the LAN got an IP and access to the internet)?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Simultaneous WiFi and LAN connection

Mon Dec 23, 2013 5:02 pm

sudo apt-get purge ifplugd
Simples.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

JDMoore0883
Posts: 9
Joined: Mon Sep 23, 2013 7:32 pm

Re: Simultaneous WiFi and LAN connection

Fri Dec 27, 2013 7:52 pm

Thanks for the reply.

I tried the suggestion, and while it kinda works, it doesn't accomplish what I am after.

Ultimately, I *DO* want the ethernet adapter to get an IP Address, and establish a connection through that.

The issue is that IF the ethernet gets a DHCP address, the wlan does not connect. I still want the ethernet to connect, and to detect a connection change.

Can I maybe change the order of which interfaces get configured? Maybe change it so that the wlan gets configured first and configure the ethernet afterwards? Or maybe something else?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Simultaneous WiFi and LAN connection

Fri Dec 27, 2013 9:45 pm

If both interfaces are in the same subnet and connected to the same router then ideally only one can be active at a time. The routing table will show which one is the active primary interface.

Getting the traffic to split between interfaces isn't easy.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Beginners”