User Tools

Site Tools


itk:using_ethernet_connection_to_hsio-2_board_and_wifi_simultaneously

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
itk:using_ethernet_connection_to_hsio-2_board_and_wifi_simultaneously [2016/05/25 21:18]
mazhang
itk:using_ethernet_connection_to_hsio-2_board_and_wifi_simultaneously [2016/05/26 16:05]
mazhang
Line 16: Line 16:
 </code> </code>
  
-If you want to learn about networking and IP addresses and things like that, [[http://www.aboutdebian.com/network.htm|this]] is a really nice and easy read. It will probably make your life easier in the future if you do a lot of computer stuff, but you don't have to read it. Anyway, what we see here is that the ethernet connection (here named enp1s7) has a metric of 100. Since this is lower than the metric of 600 used by the wifi, the computer automatically tries to use that connection. We need to set it to something higher. Type the following commands (if the IP address you see is different, be sure to use that instead).+If you want to learn about networking and IP addresses and things like that, [[http://www.aboutdebian.com/network.htm|the first section of this]] is a really nice and easy read. It will probably make your life easier in the future if you do a lot of computer stuff, but you don't have to read it. Anyway, what we see here is that the ethernet connection (here named enp1s7) has a metric of 100. Since this is lower than the metric of 600 used by the wifi, the computer automatically tries to use that connection. We need to set it to something higher. Type the following commands (if the IP address you see is different, be sure to use that instead).
  
 +<code>
 route del default gw 192.168.1.1 route del default gw 192.168.1.1
 route add default gw 192.168.1.1 metric 1000 route add default gw 192.168.1.1 metric 1000
 +</code>
  
 Now if we look at our connections again with: <code>route -n</code> we'll see that everything is fixed and we can use our wifi again! Now if we look at our connections again with: <code>route -n</code> we'll see that everything is fixed and we can use our wifi again!
Line 33: Line 35:
 192.168.122.0   0.0.0.0         255.255.255.0            0        0 virbr0 192.168.122.0   0.0.0.0         255.255.255.0            0        0 virbr0
 </code> </code>
 +
 +This needs to be done every time you connect the ethernet cable.
itk/using_ethernet_connection_to_hsio-2_board_and_wifi_simultaneously.txt ยท Last modified: 2016/05/26 16:48 by mazhang