Strange issue with static IP (eth0)

Raspberry Pi related support

Strange issue with static IP (eth0)

Postby washburn_it » 21 Oct 2015, 11:01

Hi,

since I will use RuneAudio in my car as car media center I tried to set a static IP on the RuneAudio Raspberry (B+) (following a guide found on the net) and a static IP on the RuneUI Raspberry (PI2 with Raspbian and Epiphany browser).
I then connected both Raspberries through an ethernet cable (simulating how they will be connected in my car) and everything worked out .
That was 2 days ago.
Yesterday I connected both Raspberries to my network switch and surprisingly the "RuneAudio B+" was unreachable even if "ping" was responding.
Then I connected a display and a keyboard to the "RuneAudio B+" and typed "ifconfig eth0"...it reported correctly the IP that I assigned two days ago.
I rebooted it two times but it was still not responding to the "RuneUI PI2"...then I connected them together again (I mean not through the network switch) and everything started working again !!
Why this strange behaviour??
I updated the system through RuneUI at the last update available (don't remember the date but the release year is 2015).
Thank you, regards.


Roberto
washburn_it
 
Posts: 42
Joined: 11 Oct 2015, 13:42

Re: Strange issue with static IP (eth0)

Postby utschu » 21 Oct 2015, 16:48

From my understanding if you successfully interconnect two raspberries without switch in between it seems as you would have used a crossover Ethernet cable.
It could be (depending on the switch used) that you would have to use two stright forward Ethernet cables if you interconnect the two Raspberries by use of a switch in between.
Good luck
utschu
utschu
 
Posts: 27
Joined: 17 Mar 2015, 19:45

Re: Strange issue with static IP (eth0)

Postby washburn_it » 22 Oct 2015, 08:32

The issue happened when I configured the static IP on the B+, before of that they were both connected to the network switch without problems.
They are interconnected through a straight cable, if I connect them to the switch is through straight cables of course.
Another strange thing is that if I check the network settings within the RuneUI, the network is set to "DHCP" instead of "static".
I thought it read network settings from system files but probably it's not this way.
Do you know where Rune saves network settings?

Roberto
washburn_it
 
Posts: 42
Joined: 11 Oct 2015, 13:42

Re: Strange issue with static IP (eth0)

Postby hondagx35 » 22 Oct 2015, 21:23

User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Strange issue with static IP (eth0)

Postby washburn_it » 23 Oct 2015, 00:11

Thanks Frank, I will do it.
Regards,


Roberto
washburn_it
 
Posts: 42
Joined: 11 Oct 2015, 13:42

Re: Strange issue with static IP (eth0)

Postby washburn_it » 23 Oct 2015, 10:52

I confirm, it worked, now it keeps the "static" IP setting.
Regards,


Roberto
washburn_it
 
Posts: 42
Joined: 11 Oct 2015, 13:42

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Bing [Bot] and 45 guests