User Tools

Site Tools


chumbyhackerboard:rootfs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chumbyhackerboard:rootfs [2012/02/09 01:17]
kaleberg Added server starting stuff (thank you Dave)
chumbyhackerboard:rootfs [2016/01/28 18:05]
Line 1: Line 1:
-=== Interesting things in the root filesystem === 
- 
-(placeholder,​ work in progress) 
- 
-/psp has files for the timezone, hostname, and a few other things. 
- 
-For: /​psp/​network_config 
- 
-     <​configuration allocation="​dhcp"​ key="​password"​ encoding="​ascii"​ 
-                   ​encryption="​WPA2"​ auth="​WPAPSK"​ hwaddr="​00:​D0:​4B:​32:​15:​32"​ 
-                   ​ssid="​wifinetwork"​ type="​wlan"​ />  ​ 
-                ​ 
-     This sets up a WiFi connection using WPA2 authentication for the wifinetwork with the password password. 
-     The hwaddr is the MAC address of the WiFi device. 
-     This will set up the network automatically when you reboot. 
-     For more, see: http://​forum.chumby.com/​viewtopic.php?​id=5480 
- 
-(add instructions as to which files and how to change them) 
- 
-/​etc/​init.d/​rcS.background starts the daemons - you might want to add /​usr/​bin/​sshd and/or /​usr/​bin/​inetd 
-(sshd not started by default, clone the httpd line, note network must be up) 
- 
-     By default, the HTTP daemon is started fairly far down in this script, at: 
-          # Now that the network is (presumably) up, run our simple webserver. 
-          [ "​x${IS_RECOVERY}"​ != "​x1"​ ] && /​usr/​sbin/​httpd -h /www 
-          ​ 
-     This is a good place to start SSH and telnet: 
-          [ "​x${IS_RECOVERY}"​ != "​x1"​ ] && /sbin/sshd 
-          [ "​x${IS_RECOVERY}"​ != "​x1"​ ] && /​usr/​sbin/​telnetd 
-      
-     The built in FTP server could be started by adding: 
-           [ "​x${IS_RECOVERY}"​ != "​x1"​ ] && tcpsvd -vE 0.0.0.0 21 ftpd /​files/​to/​serve & 
- 
-     But this FTP server does not support STOR, so you can get files from your CHB, but you cannot send them. 
- 
-     If you follow David Roberts'​ simple instructions,​ you can install the Pure FTP server which does work both ways. 
-     His instructions are at: http://​dave-r.posterous.com/​chumby-ftp 
-     He points you to the releases at: http://​download.pureftpd.org/​pub/​pure-ftpd/​releases/​ 
-     The installation took about 15-20 minutes, because it involves recompiling the server, but it works. 
-      
-     To run the Pure FTP server, add the line: 
-          [ "​x${IS_RECOVERY}"​ != "​x1"​ ] && /​mnt/​storage/​local/​sbin/​pure-ftpd & 
- 
-(add note about ntpdate after wifi is configured) 
- 
-(check that things are mounted noatime) 
- 
-(maybe add splash screen info, or do a video page) http://​forum.chumby.com/​viewtopic.php?​id=5415 
  
/home/ladyada/public_html/wiki/data/pages/chumbyhackerboard/rootfs.txt · Last modified: 2016/01/28 18:05 (external edit)