<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Multiple Ethernet adapters Raspberry Pi</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/</id><updated>2020-02-27T15:37:53.951000Z</updated><subtitle>Recent posts to Multiple Ethernet adapters Raspberry Pi</subtitle><entry><title>Multiple Ethernet adapters Raspberry Pi</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/?limit=25#cf0b" rel="alternate"/><published>2020-02-27T15:37:53.951000Z</published><updated>2020-02-27T15:37:53.951000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com88abfd7b211cb75cfe893d2c0c41e291bd6c2a57</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
yes should work!&lt;br/&gt;
It is not needed to setup in CODESYS,&lt;br/&gt;
CODESYS takes the System settings.. means if you have a route to your modbus slave this&lt;br/&gt;
will work even with your vlan config.&lt;br/&gt;
Could you try it and give us the feedback?&lt;/p&gt;
&lt;p&gt;BR Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ethernet.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=611"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Ethernet adapters Raspberry Pi</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/?limit=25#0f9d" rel="alternate"/><published>2020-02-27T15:37:51.916000Z</published><updated>2020-02-27T15:37:51.916000Z</updated><author><name>wrt54gl</name><uri>https://forge.codesys.com/u/wrt54gl/</uri></author><id>https://forge.codesys.com4e0f01c44358c76cec9d264e5b9f5a5c458f1331</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am sorry but my original post was not clear enough. I have been able to add a vlan interface eth0.4 by loging in with ssh. Now I would like to configure it in codesys to use that interface for a modbus tcp master. When I right click and choose add a device and add an ethernet adapter it just says (Device uses operating system settings) in the configuration window. Is there some way to tell codesys which ethernet adapter to use?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Ethernet adapters Raspberry Pi</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/?limit=25#cd74" rel="alternate"/><published>2020-02-27T15:37:51.194000Z</published><updated>2020-02-27T15:37:51.194000Z</updated><author><name>jzhvymetal</name><uri>https://forge.codesys.com/u/jzhvymetal/</uri></author><id>https://forge.codesys.com718d14b3c5076e78aa4c05ca450016766cb0db23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes...most  usb ethernet adapters work out of the box...Wifi need to connect and authenticate. If you have a second adapter you have to enable it &lt;/p&gt;
&lt;p&gt;###Use putty SSH to connect to PI user:pi  password:raspberry&lt;br/&gt;
###Check if USB adapter was found&lt;br/&gt;
lsusb&lt;br/&gt;
dmesg&lt;/p&gt;
&lt;p&gt;###Setup enable second network interface to have DHCP&lt;br/&gt;
sudo nano /etc/network/interfaces&lt;br/&gt;
####Modify/Add the following lines&lt;br/&gt;
auto lo&lt;br/&gt;
auto eth0&lt;br/&gt;
auto eth1&lt;/p&gt;
&lt;p&gt;iface lo inet loopback&lt;br/&gt;
iface eth0 inet dhcp&lt;br/&gt;
iface eth1 inet dhcp&lt;/p&gt;
&lt;p&gt;allow-hotplug eth0&lt;br/&gt;
allow-hotplug eth1&lt;br/&gt;
###(ctrl-x Save exit) &lt;/p&gt;
&lt;p&gt;sudo reboot&lt;/p&gt;
&lt;p&gt;###Use putty SSH to connect to PI user:pi  password:raspberry&lt;br/&gt;
###Check if second ethernet USB adapter was initialized &lt;br/&gt;
ifconifg&lt;/p&gt;
&lt;p&gt;if you want to get WLAN adapter to work follow the following steps&lt;br/&gt;
&lt;a class="" href="http://pingbin.com/2012/12/setup-wifi-raspberry-pi/" rel="nofollow"&gt;http://pingbin.com/2012/12/setup-wifi-raspberry-pi/&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple Ethernet adapters Raspberry Pi</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9bcf681957/?limit=25#7bde" rel="alternate"/><published>2020-02-27T15:37:49.144000Z</published><updated>2020-02-27T15:37:49.144000Z</updated><author><name>wrt54gl</name><uri>https://forge.codesys.com/u/wrt54gl/</uri></author><id>https://forge.codesys.com113cda07f5cfe80f686d5849dcc7de9e31f52e93</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to add multiple Ethernet adapters in rpi? I would like to use a vlan for modbus tcp. rpi allows me to create a vlan but how do I add that ethernet adapter in codesys. This would also apply to a usb or wireless network adapter as well.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>