GuruPlug Server Plus First steps Initial Setup and first login 1. Plug network cord in (eth0, the upper network plug) and connect jtag board with GuruPlug and PC 2. configure minicom on your PC to have access to the GuruPlug via jtag board a) install minicom (sudo apt-get install minicom) b) start minicom settings (sudo minicom -s) c) choose „settings for serial port...“ and select with ENTER d) press E to modify Bps/Par/Bits e) press E to set Bps to 115200, V for 8 databits, L for no parity and W for 1 stopbit. Confirm with ENTER f) press ENTER again g) „Save settings as...“ marvell 3. start minicom with “minicom -o marvell” a) it will show something like • Willkommen zu minicom 2.4 • • Optionen: I18n • Übersetzt am Jan 25 2010, 06:49:09. • Port /dev/ttyUSB0 • • Drücken Sie CTRL-A Z für Hilfe zu speziellen Tasten 4. plug your GuruPlug in. In minicom, you should see the boot-process a) it will show something like • U-Boot 2009.11-rc1-00602-g28a9c08-dirty (Feb 09 2010 - 18:15:21) • Marvell-Plug2L • • SoC: Kirkwood 88F6281_A0 • DRAM: 512 MB • NAND: 512 MiB • In: serial • Out: serial • Err: serial • Net: egiga0, egiga1 • 88E1121 Initialized on egiga0 • 88E1121 Initialized on egiga1 • etc. 5. when booting is done, you are asked to enter password and username a) sheevaplug-debian login: root b) Password: nosoup4u 6. After successful login, it shows • sheevaplug-debian:~# • from now on, I will put a # in front of all commands on the GuruPlug to make it mor clear Configure network 1. per default, wireless is activated and its IP-address set to 192.168.1.1 a) At my home, my ADSL router has the IP-address 192.168.1.1, so I want my GuruPlug to have a different IP-address for the wireless, since 192.168.1.1 will be used as default gateway 2. set network configuration (these are only standard examples, maybe you should use other values if you have a special network configuration) a) IP-address eth0: # ifconfig eth0 192.168.1.10 b) IP-address uap0 (wireless): # ifconfig uap0 192.168.1.12 c) Subnet-mask: # ifconfig eth0 netmask 255.255.255.0 d) Broadcast: # ifconfig eth0 broadcast 255.255.255.255 e) Default gateway (my ADSL router with access to the Internet): # route add default gw 192.168.1.1 eth0 f) check configuration • # ifconfig -a • # route -n 3. These changes will be reset if you restart your GuruPlug! a) I created a .sh script in the home directory which I can run every time the plug is started up, since I was too lazy yet to figure out how to add the network settings permanently :p Update and install 1. update packets: # sudo apt-get update a) Now it should be downloading several packets. If it does not work, your network configuration might be wrong 2. install ssh for remote access over the network: # sudo apt-get install ssh Connect via ssh 1. on your PC a) make sure ssh is installed (otherwise: $ sudo apt-get install ssh) b) check that your GuruPlug is reachable: $ ping 192.168.1.10 • should show something like: • PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data. • 64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.143 ms • cancel with Ctrl+C c) connect to GuruPlug: $ ssh [email protected] • it will show something like: • The authenticity of host '192.168.1.10 (192.168.1.10)' can't be established. • RSA key fingerprint is 2c:d3:fa:de:fc:7c:48:cc:dd:73:da:2a:34:bd:ea:5c. • Are you sure you want to continue connecting (yes/no)? • Type „yes“ and the GuruPlug will be added to your known hosts • Type in your root- password (nosoup4u) • When logged in successfully, it should show something like: • Linux sheevaplug-debian 2.6.32-00007-g56678ec #1 PREEMPT Mon Feb 8 03:49:55 PST 2010 armv5tel • • The programs included with the Debian GNU/Linux system are free software; • the exact distribution terms for each program are described in the • individual files in /usr/share/doc/*/copyright. • • Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent • permitted by applicable law. • Last login: Wed Jan 19 19:14:32 2000 • sheevaplug-debian:~# d) close the ssh-session with $ exit Notes vim enter commands: ESC :command quit: ESC :q quit without saving: ESC :q! Save: ESC :w Stress cpu (and other components): stress -c 10 lm-sensors? Processes and cpu-load: htop Disk space: df -h.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages3 Page
-
File Size-