Thanks! Great stuff for when i have a wireless LAN active later on and a working Wifi-dongle.
But, until then, i only can use a wired ethernet connection (eth0) and need to configure the appropriate file to set a static IP address so, on the next power-on (boot or eboot) i still have the static IP address active.
Things i did sofar: i used the /etc/dhcpcd in command mode (changing the dhcpcd.conf file didn't work)
- found a great helpfile in a BSD forum. I'm using the Raspberry B (2012) with the RuneAudio v0.3
- Logged in as: root [ENTER]
- Put in the Password: [ENTER] # rune, but it doesn't show
- dir /etc [ENTER]
- dhcpcd -S ip_address=192.168.254.20 [ENTER] # this is the IP i want to use in my music LAN
- dhcpcd -S routers=192.168.254.63 [ENTER] # the non-dhcp gateway IP to the used router
- dhcpcd -S domain_name_servers=192.168.254.63 [ENTER] # the same as the router
- dhcpcd -S eth0 [ENTER]
For no obvious reason, when typing ifconfig i get the IP 169.254.184.44 assigend to eth0 # ????? no ideay whatever causes this
But anyway, when i configure my computer as 169.254.184.43 with gateway 169.254.184.44 i (finally) can connect to the RuneAudio server app.
I can use the connected 8GB USB-memory stick with some MP3 files on it and the sound is comming from the AV out jack on the RPi! FINALLY SOME STUFF WORKING!!!
Went to the menu/network and changed the initially 169.254.184.44 into the wanted 192.168.254.20 (and the other stuff) and saved the changes. Went to reboot the whole stuff, changed my computer back to 192.168.254.5 with the usual 192.168.254.63 gateway en crossed my fingers.
Bad luck: nothing happened.
When logging in on the RPi and checking the ifconfig...to my astonischment all data is erased and no IP is assigned to the eth0.
I'm stuck!
Help wanted.
The (initial) question remains: what file to edit in RuneOS (RuneAudio) to get a permanent STATIC IP address that stick after a boor or reboot?
Thanks.