Plugin Computerを開けてみた


でかい。GuruPlugはまだPlugin Computerと言えるが(煙草の箱ほど)DreamPlugは無理があるだろ・・・
NICを2つ積まなければいけなかった都合上とは言え、でかい。
色々なインターフェースつけ過ぎなんだよ。

あと、説明書が見事に何も入っていない。
「え?これどうすんの」ってなった。






GuruPlug
とりあえず、GuruPlugの方は何とかなった。
GuruPlug Server-Quick Start Guide-100507
ぶっちゃけ、電源入れて(無線LANで)繋げば、「192.168.1.1」で繋がる。
Login : root
Password: nosoup4u


無線LANを使用していると不安定になるようなので、無効にする。

sheevaplug-debian# vi /root/init_setup.sh


1 #!/bin/sh
2
3 # This is called from /etc/rc.local to perform the initial setup.
4
5 # We always bootup in AP mode. Delete any stale files
6 rm -f /etc/wlanclient.mode
7 SSID=Plug2-uAP-`ifconfig eth0 | awk -F ":" '/HWaddr/ {print $6$7}'`
8
9 #insmod /root/uap8xxx.ko
10 ifconfig uap0 192.168.1.1 up
11 /usr/bin/uaputl sys_cfg_ssid $SSID
12 /usr/bin/uaputl bss_start
13 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
14 iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
15 echo 1 > /proc/sys/net/ipv4/ip_forward
16 /etc/init.d/udhcpd start
17 /etc/init.d/dnsmasq start
18 iptables -A INPUT -i uap0 -p tcp -m tcp --dport 80 -j ACCEPT
19
20 # Re-enable bluetooth. In the earlier case, it didn't find the firmware.
21 #rmmod libertas_sdio libertas btmrvl_sdio btmrvl bluetooth 2>/dev/null
22 rmmod btmrvl_sdio btmrvl
23 /etc/init.d/bluetooth start
24
25 modprobe btmrvl_sdio
26 hciconfig hci0 up
27 hciconfig hci0 piscan
28 /usr/bin/mute-agent &
29
30 # Set leds
31 echo 1 > `eval ls /sys/class/leds/*plug*\:green\:health/brightness`
32 echo 1 > `eval ls /sys/class/leds/*plug*\:green\:wmode/brightness`