Pascal Hibon wrote: 
> Sorry if this question has been asked before but I did a search and
> couldn't find any answers.
> 
> I want to assign a fixed IP address to the picoplayer and make it
> permanent. I will be using the player in a network without a DHCP server
> (in a adhoc setup).
> I'm able to change the ip address by using the ifconfig command but when
> I reboot the picoplayer it is using a dchp address again. How do I make
> the fixed ip address permanent?

Ok, found it. This will probably be interesting to other people so
here's what I did:


1. create the file /opt/eth0.sh and enter this:

Code:
--------------------
    
  #!/bin/sh
  pkill udhcpc
  ifconfig eth0 <your ip address> netmask <your netmask> up
  
--------------------


2. make it executable: *sudo chmod 775 /opt/eth0.sh*
3. edit */opt/bootlocal.sh* and add */opt/eth0.sh*
4. make a backup (did that through the home page of the player)
5. reboot and done



'M-DAC' (http://www.audiolab.co.uk/M-DAC%20Series.aspx?lang=En) ->
'Cambridge Audio Azur 840E'
(http://www.cambridgeaudio.com/products/azur-840e-pre-amplifier) ->
'Focal MP1200' (http://www.mp1200.co.nf/) -> 'Focal Electra 1028 Be'
(http://www.focal.com/en/electra-1000-be-2/209-electra-1028-be-3544053695099.html)
1 x SB3, 1 x SB Boom, 1 x SB Radio and 2 x SB Touch - all wireless
1 x Wandboard Dual behind the bedroom ceiling
1 x Wandboard Dual for 'msqueeze' (http://www.msqueeze.co.nf/index.html)
project
1 x Wandboard Quad (will eventually become my LMS server)
ReadyNAS NVX running LMS 7.8.1. - 1402661598
iPeng 7 on iPhone.
SqueezePad & iPeng 7 on iPad.
http://www.last.fm/user/phibon
------------------------------------------------------------------------
Pascal Hibon's Profile: http://forums.slimdevices.com/member.php?userid=7969
View this thread: http://forums.slimdevices.com/showthread.php?t=97803

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to