Skip to main content
added 218 characters in body
Source Link

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Edit: I have found a work-around script, but no solution so far. /etc/init.d/networking stop nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x /etc/init.d/networking start

 /etc/init.d/networking stop
 nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x
 /etc/init.d/networking start

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Edit: I have found a work-around script, but no solution so far. /etc/init.d/networking stop nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x /etc/init.d/networking start

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Edit: I have found a work-around script, but no solution so far.

 /etc/init.d/networking stop
 nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x
 /etc/init.d/networking start
added 218 characters in body
Source Link

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Edit: I have found a work-around script, but no solution so far. /etc/init.d/networking stop nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x /etc/init.d/networking start

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Edit: I have found a work-around script, but no solution so far. /etc/init.d/networking stop nano #this is where i unplug wire and enable wifi, or vice versa, then Ctrl-x /etc/init.d/networking start

added 11 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces/etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

Lately I have been having to switch between a wifi and wired internet connection with some frequency, and have found that the only way I am capable of doing this is to restart the computer. Here are the two cases of how this works:

  1. Start computer with wireless automatically connected. This makes it impossible to later switch to an ethernet connection, even with wifi turned off.

  2. Start computer with wifi hardware disabled and ethernet plugged in. This allows an ethernet connection, but if I unplug it and enable wifi, I cannot get a connection.

How would I go about resolving this issue?

Here are the contents of my /etc/network/interfaces file

 # This file describes the network interfaces available on your system
 # and how to activate them. For more information, see interfaces(5).

 source /etc/network/interfaces.d/*

 # The loopback network interface
 auto lo
 iface lo inet loopback

 # The primary network interface
 allow-hotplug eth0
 iface eth0 inet dhcp
code formatting
Source Link
derobert
  • 113.2k
  • 20
  • 242
  • 289
Loading
added 392 characters in body
Source Link
Loading
Source Link
Loading