Greg Erskine wrote: 
> Hi d6jg,
> 
> I think you need to:
> 
> 1. Edit /opt/eth0.sh to prevent resolv.conf getting overwritten. Comment
> out "echo nameserver 192.168.1.1 > /etc/resolv.conf"
> 
> 
> > 
Code:
--------------------
  >   > #!/bin/sh
  > # Generated by piCorePlayer
  > 
  > echo "[ INFO ] Running $0..."
  > NWOK=1
  > until [ -d /sys/class/net/eth0 ]
  > do
  >     if [ $((CNT++)) -gt 20 ]; then
  >             echo -n "${RED} No Ethernet Adapter Found! ${NORMAL}"
  >             NWOK=0
  >             break
  >     else
  >             echo-n "."
  >             sleep 0.5
  >     fi
  > done
  > if [ $NWOK -eq 1 ]; then
  >     ifconfig eth0 192.168.1.123 netmask 255.255.255.0 broadcast 
192.168.1.255 up    route add default gw 192.168.1.1
  >     echo nameserver 192.168.1.1 > /etc/resolv.conf
  >     /etc/init.d/settime.sh &
  > fi
  > 
--------------------
> > 
> 
> 2. Edit /opt/.filetool.sh to backup /etc/resolv.conf. Add
> "etc/resolv.conf"
> 
> > 
Code:
--------------------
  >   >  cat /opt/.filetool.lst
  > opt
  > home
  > etc/passwd
  > etc/shadow
  > etc/group
  > etc/gshadow
  > etc/motd
  > etc/modprobe.conf
  > etc/asound.conf
  > etc/sysconfig/wifi-wpadrv
  > usr/local/etc/pointercal
  > usr/local/etc/ssh/ssh_host_dsa_key
  > usr/local/etc/ssh/ssh_host_dsa_key.pub
  > usr/local/etc/ssh/ssh_host_ecdsa_key
  > usr/local/etc/ssh/ssh_host_ecdsa_key.pub
  > usr/local/etc/ssh/ssh_host_ed25519_key
  > usr/local/etc/ssh/ssh_host_ed25519_key.pub
  > usr/local/etc/ssh/ssh_host_rsa_key
  > usr/local/etc/ssh/ssh_host_rsa_key.pub
  > usr/local/etc/init.d/httpd
  > usr/local/sbin/config.cfg
  > usr/local/sbin/piversion.cfg
  > usr/local/sbin/setup
  > usr/local/sbin/pcp
  > usr/local/sbin/pcp-load
  > usr/local/etc/pcp/cards
  > var/lib/alsa/asound.state
  > var/spool/cron/crontabs
  > 
--------------------
> > 
> 
> 3. Edit /etc/resolv.conf
> 
> 4. $ pcp bu
> 
> The boot process is "roughly" shown [Main Page] > [Diagnostics] >
> [Boot].
> 
> BTW: I recommend setting static IP via your DHCP server (usually
> router). Map MAC address to IP address.
> 
> regards
> Greg

Thanks Greg
I would have gone the reserved route but this is a weird router and has
no means of reserving DHCP address and doesn't act as a DNS relay.
Provided by a cable company in California. The DHCP server gives the
clients the ISPs DNS and there seems to be no choice in that either.



*Vortexbox LMS 7.9 music on QNAP TS419p via NFS* iThingys/iPeng/Tablets
*Living Room* - SB3 -> Onkyo TS606 - > Celestion Ditton F20s - Zone 2 ->
Sony TA FE 320 -> Sennheiser RS 130 & B&W P7
*Office* - RPi -> Sony TA FE320 -> Celestion F10s / SB3 -> Onkyo CRN 755
-> Wharfedale Modus Cubes
*Dining Room* -> SB Boom *Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - SB Touch -> Topping TP21 -> AKG Headphones
*Bedroom (TV)* - Amazon Fire TV (SB Player) -> Topping TP20 ->
Wharfedale Modus Cubes
------------------------------------------------------------------------
d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=106755

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

Reply via email to