現在有了 iPad + iPeng, 基本上我們也不會用 Squeezebox Duet Controller (SBC). 可是, 若要 reset SBR, 因為 SBR 是沒有輸入和畫面的, 令 SBC 成為必須...
不過, 其實網上早已有人做了一個 Perl 程式可以做到SBC相同的設定工作:
http://forums.slimdevices.com/showthread.php?57861-Net-UDAP-SqueezeBox-Receiver-configuration-tool
這個對不太熟識 Perl 程式是不太易用. 於是, 有有另一熱心網友做了一個 MS-Windows executable 把需要的 Perl library 都包裝成一個獨立的 executable. 只要你下載它便可在 MS Windows 上運行. 我在我的 Windows 7 (64 bit) 也能正常使用:
http://forums.slimdevices.com/showthread.php?57861-Net-UDAP-SqueezeBox-Receiver-configuration-tool&p=453478#post453478
更好的是, 作者把使用說明也詳細列出:
https://projects.robinbowes.com/Net-UDAP/trac/wiki/SampleUsage
舉例, 你想 reset 你的 SBR, 只要插住供電, 長按5秒直至它慢閃紅燈便可打開上面的程式.
如果你的NAS 是 192.168.1.150, 你想 SBR 用DHCP 取得IP address, 只要打以下的command 便可.
discover conf 1 set interface=1 lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
相關Blog文:
摩改 Squeezebox Duet Receiver (上)
摩改 Squeezebox Duet Receiver (中)
摩改 Squeezebox Duet Receiver (下)
Squeezebox Receiver / Touch 直駁 LMS (Logitech Media Server)
Cubieboard2 with Logitech Squeezebox Media Server 入箱
原文:
Sample Usage
This page gives examples of how to use Net-UDAP.
Generally, you should be able to take one of these commands, change some values to match your own environment (SqueezeCenter address, wireless network details, etc.) and use them to configure your SqueezeBox.
The examples make the following assumptions:
- your SqueezeBox has been factory reset before beginning
- you have only one SBR to configure, ie. you will use conf 1 to select it.
- my SqueezeCenter instance is on 192.168.1.150
- I am in the UK, so I use wireless region id 14
- my wireless network name (SSID) is mySSID
Configuration Fragments
Connect to SqueezeNetwork
set server_address=0.0.0.1
Wired Network
set interface=1
Wireless Network
set interface=0
Static IP
set lan_ip_mode=0
DHCP
set lan_ip_mode=1
WEP 64-bit
set wireless_SSID=MySSID wireless_mode=0 wireless_region_id=14 wireless_wep_on=1 wireless_keylen=0 wireless_wep_key_0=1a2b3c4d5e
WEP 128-bit
set wireless_SSID=MySSID wireless_mode=0 wireless_region_id=14 wireless_wep_on=1 wireless_keylen=1 wireless_wep_key_0=112233445566778899aabbccdd
WPA 1
set wireless_SSID=MySSID wireless_mode=0 wireless_region_id=14 wireless_wpa_on=1 wireless_wpa_mode=1 wireless_wpa_psk="Top Secret!"
WPA 2, TKIP+AES
set wireless_SSID=MySSID wireless_mode=0 wireless_region_id=14 wireless_wpa_on=1 wireless_wpa_mode=2 wireless_wpa_cipher=3 wireless_wpa_psk="Top Secret!"
Complete Examples
Wired, DHCP
discover conf 1 set interface=1 lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
Wired, static IP
discover conf 1 set interface=1 lan_ip_mode=0 lan_gateway=192.168.3.1 lan_network_address=192.168.3.10 lan_subnet_mask=255.255.255.0 primary_dns=192.168.3.1 squeezecenter_address=192.168.1.150 save_data reset
Wireless, 64-bit WEP, DHCP
discover conf 1 set interface=0 wireless_mode=0 wireless_region_id=14 wireless_SSID=MySSID wireless_wep_on=1 wireless_keylen=0 wireless_wep_key_0=1a2b3c4d5e lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
Wireless, 64-bit WEP, static IP
discover conf 1 set interface=0 wireless_mode=0 wireless_region_id=14 wireless_SSID=MySSID wireless_wep_on=1 wireless_keylen=0 wireless_wep_key_0=1a2b3c4d5e lan_ip_mode=0 lan_gateway=192.168.3.1 lan_network_address=192.168.3.10 lan_subnet_mask=255.255.255.0 primary_dns=192.168.3.1 squeezecenter_address=192.168.1.150 save_data reset
Wireless, 128-bit WEP, DHCP
discover conf 1 set interface=0 set wireless_mode=0 wireless_region_id=14 wireless_SSID=MySSID wireless_wep_on=1 wireless_keylen=1 wireless_wep_key_0=112233445566778899aabbccdd lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
Wireless, WPA1, DHCP
discover conf 1 set interface=0 wireless_mode=0 wireless_region_id=14 wireless_SSID=MySSID wireless_wpa_on=1 wireless_keylen=1 wireless_wpa_psk="Top Secret!" lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
Wireless, WPA2, TKIP+AES, DHCP
discover conf 1 set interface=0 wireless_mode=0 wireless_region_id=14 wireless_SSID=MySSID wireless_wpa_on=1 wireless_wpa_mode=2 wireless_wpa_cipher=3 wireless_wpa_psk="Top Secret!" lan_ip_mode=1 squeezecenter_address=192.168.1.150 save_data reset
Bridged, WPA 1, TKIP+AES
Setup: Server (with Squeezecenter) <-wire-> Receiver <-wireless-> Wifi network (with router, and other computers)
Additional setup parameters:
- lan-address of receiver: 192.168.1.136 (static)
- gateway (adsl router for instance): 192.168.1.1
- Primary DNS (same as on adsl router): 23.23.23.1
- Secondary DNS (same as on adsl router): 23.23.23.2
discover conf 1 set lan_ip_mode=0 lan_network_address=192.168.1.136 primary_dns=23.23.23.1 secondary_dns=23.23.23.2 server_address=192.168.1.150 squeezecenter_address=192.168.1.150 lan_gateway=192.168.1.1 wireless_SSID=mySSID wireless_mode=0 wireless_region_id=14 wireless_wpa_cipher=3 wireless_wpa_on=1 wireless_wpa_mode=1 wireless_wpa_psk="Top Secret!" wireless_channel=6 interface=0 bridging=1 save_data reset
No comments:
Post a Comment