<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/</id><updated>2020-02-27T17:17:34.414000Z</updated><subtitle>Recent posts to IP adress</subtitle><entry><title>IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/?limit=25#22c2" rel="alternate"/><published>2020-02-27T17:17:34.414000Z</published><updated>2020-02-27T17:17:34.414000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com7d30bac6e70a99a75ea1965a489f5408cb06ff09</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;thanks you're right&lt;br/&gt;
sudo nano /etc/network/interfaces&lt;br/&gt;
is the right spelling...&lt;br/&gt;
cu&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/?limit=25#4a06" rel="alternate"/><published>2020-02-27T17:17:31.654000Z</published><updated>2020-02-27T17:17:31.654000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com837c3d978386e6bfe6122ce8bb2810575f991669</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you Edwin.&lt;br/&gt;
It works well. &lt;br/&gt;
But the command line seems to be case sensitive, if I write "sudo nano /etc/network/&lt;strong&gt;I&lt;/strong&gt;nterfaces", no file is found.&lt;br/&gt;
If I write "sudo nano /etc/network/&lt;strong&gt;i&lt;/strong&gt;nterfaces", the file is found, and I can modify it.&lt;br/&gt;
I still have some things to learn with linux   &lt;/p&gt;
&lt;p&gt;Thank you again  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/?limit=25#2b7a" rel="alternate"/><published>2020-02-27T17:17:30.649000Z</published><updated>2020-02-27T17:17:30.649000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcae244cd1e94dd5f0810e29d4e4601ea7003792f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;if you want to change this setting in the Pi the following steps are needed:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;you need on windows 'putty' (google it - this is a program which allow to login via ssh to the pi)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Login with putty to the pi  (you could find the current ip address in the plc logger in CODESYS)&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;the login in for the Raspberry Pi &lt;br/&gt;
pi &lt;br/&gt;
raspberry &lt;/p&gt;
&lt;p&gt;(this is the default from the raspberry.org sd image)&lt;/p&gt;
&lt;p&gt;Then exeute:&lt;br/&gt;
sudo nano /etc/network/Interfaces&lt;/p&gt;
&lt;p&gt;remove the line&lt;br/&gt;
iface eth0 inet dhcp&lt;/p&gt;
&lt;p&gt;and add the following lines&lt;br/&gt;
iface eth0 inet static&lt;br/&gt;
    address 192.168.xxx.xxx &lt;br/&gt;
    netmask 255.255.255.0&lt;br/&gt;
    gateway 192.168.xxx.1&lt;/p&gt;
&lt;p&gt;then Ctrl-o to save the changes, and ctrl-x to quit the Editor&lt;/p&gt;
&lt;p&gt;then&lt;/p&gt;
&lt;p&gt;sudo /etc/init.d/networking restart&lt;/p&gt;
&lt;p&gt;or simply reboot the pi&lt;br/&gt;
sudo reboot&lt;/p&gt;
&lt;p&gt;That was it!&lt;/p&gt;
&lt;p&gt;Cheers Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/?limit=25#ea0b" rel="alternate"/><published>2020-02-27T17:17:29.641000Z</published><updated>2020-02-27T17:17:29.641000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com028875fd3fb0a7c41518a4f2a0b337bf8734733a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Some DHCP servers (like current FritzBox models) allow to set a fixed IP address for a specific computer (MAC address). This way, you should be able to solve the problem without touching the Linux running on the Raspberry Pi. Another advantage is that the IP address also stays fixed when you boot a different image on the Pi.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IP adress</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/25e8efe40f/?limit=25#436c" rel="alternate"/><published>2020-02-27T17:17:26.890000Z</published><updated>2020-02-27T17:17:26.890000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.comfb4ac58c47a0c3d0b388e231810b3edc68a21866</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;J begin to work with a Raspberry PI with CODESYS V3. It works very well.&lt;br/&gt;
I use a DHCP server to bring an IP adress to my Raspberry. Is it possible to fix this adress, without the use of a DHCP server ?&lt;br/&gt;
Maybe he should use linux commands, but I'm not an expert linux. &lt;br/&gt;
Thank you in advance for your response  &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>