NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet connection kills wifi

Hi everyone,

 

when I connect the ethernet cable to myrio the wifi switch off.I think I should change the IP address:

now it's 192.168.0.50 for the ethernet and 192.168.0.197 for wifi.

 

The actual configuration is sbRIO9636->ethernet->myRIO1900->wifi->modem.

 

The sbrio sends data to myrio which writes them into a txt file.Since it is connected to a modem I can reach the txt file from the  http://myrioip/files .Everything works if the myrio is connected to the pc by usb cable (172.22.11.2 is the IP with USB cable) but when I connect myRIO to sbRIO the wifi stops to work and the ethernet works.

 

Thanks!

0 Kudos
Message 1 of 2
(2,216 Views)

How are you connecting Ethernet to myRIO? It doesn't have an Ethernet port. Are you using a USB Ethernet adapter connected to the USB host port?

 

You have two network adapters configured with 192.168.0.50 and 192.168.0.197. What netmask are you using? With a netmask of 255.255.255.0 then the routing table[1] will have two routes for the 192.168.0.0/24 network, and it sounds like the Ethernet interface has priority. Consider moving one to a separate IP network (for example, one of them as 192.168.0.50 and the other as 192.168.1.197) to avoid this conflict.

 

[1] You can examine this with the "route" command.

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 2 of 2
(2,200 Views)