Both psprout's and bluegaspode's guides look good. I agree that psprout
that vi is easily the most error prone step for novices. I like being
able to automate this as much as possible to reduce complexity so here's
my modification of psprout's process to eliminate vi and make it easy to
switch back and forth. I've borrowed extensively from his steps that
remained the same.

INITIAL SETUP

1. Get the IP Address of your SBR using the Radio's menus:

Settings > Advanced > Diagnostics > IP Address

2. Enable Remote login using the Radio's menus:

Settings > Advanced > Remote Login > Enable SSH

3. Login

Using an SSH client of your choice (e.g. Putty on Windows) logon to
your SBR using the IP Address obtained in 1. and these credentials -

username - root
password - 1234

4. Change the default root password (OPTIONAL)

Use the command below and follow the prompts to change 1234 to
something more secure. Don't forget this new password or it's a "Restore
Factory Settings"


Code:
--------------------
    passwd
--------------------


5. Setup four different configuration options for easy switching.
Execute these command exactly (this can be directly cut-and-pasted
verbatim into SSH clients like Putty):


Code:
--------------------
    
  echo 127.0.0.1 localhost > /etc/hosts.orig
  ln -sf /etc/hosts.orig /etc/hosts
  cp /etc/hosts.orig /etc/hosts.sv
  cp /etc/hosts.orig /etc/hosts.dc
  cp /etc/hosts.orig /etc/hosts.de
  echo 66.151.159.229 baby.squeezenetwork.com >> /etc/hosts.sv
  echo 66.150.114.115 baby.squeezenetwork.com >> /etc/hosts.dc
  echo 89.202.121.133 baby.squeezenetwork.com >> /etc/hosts.de
  
--------------------


If you cut-and-paste make sure the last command executes; you may have
to hit enter once.

That's it for initial setup. Your Radio will still have default
behavior now but will be ready for easy switching to a specific data
center or back to the original behavior of auto-selection based on
location.

CHOOSING A SPECIFIC DATA CENTER OR AUTO-SELECT

1. Login via SSH as during initial setup (or stay logged in if you're
doing it all in one shot). Use your new password if you changed it
during step 5 of initial setup.

2. Execute ONE of the following commands depending on the configuration
you desire:

Choose Silicon Valley Data Center:

Code:
--------------------
    
  ln -sf /etc/hosts.sv /etc/hosts
  
--------------------


Choose Washington D.C. Data Center:

Code:
--------------------
    
  ln -sf /etc/hosts.dc /etc/hosts
  
--------------------


Choose Germany Data Center:

Code:
--------------------
    
  ln -sf /etc/hosts.de /etc/hosts
  
--------------------


Choose Auto-Select by Location (default behavior):

Code:
--------------------
    
  ln -sf /etc/hosts.orig /etc/hosts
  
--------------------


3. Reboot your radio using the following command or a long press on the
power button:


Code:
--------------------
    
  reboot -f
  
--------------------



REMOVING THIS CUSTOMIZATION WITHOUT A FACTORY RESET


Code:
--------------------
    
  rm /etc/hosts.sv
  rm /etc/hosts.dc
  rm /etc/hosts.de
  rm /etc/hosts.orig
  rm /etc/hosts
  echo 127.0.0.1 localhost > /etc/hosts
  
--------------------


Now you'll probably want to reboot:


Code:
--------------------
    
  reboot -f
  
--------------------


Good luck and let me know if you find problems with these steps.

-Jeff


-- 
jdoering
------------------------------------------------------------------------
jdoering's Profile: http://forums.slimdevices.com/member.php?userid=17482
View this thread: http://forums.slimdevices.com/showthread.php?t=71964

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

Reply via email to