fix: telnetd auto startup ; minor documentation changes

This commit is contained in:
Albert S. 2016-09-07 22:33:13 +02:00
parent 5bcd49bd73
commit 48b664fc73
3 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,7 @@
1.3 2016-09-07
=============
FIX telnetd didn't start automatically
1.2 2015-05-31 1.2 2015-05-31
============== ==============

View File

@ -1,6 +1,6 @@
Documentation of RescueOS Documentation of rescueOS
========================= =========================
RescueOS is a rescue solution for the Nokia N900, distributed rescueOS is a rescue solution for the Nokia N900, distributed
as an initrd image. It has several features, most as an initrd image. It has several features, most
notable: notable:
@ -48,7 +48,7 @@ In fact, most users do not need it. Either way, possible use cases:
-and more... -and more...
Booting RescueOS Booting rescueOS
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
Note: You can not store persistent data in /. Of Note: You can not store persistent data in /. Of
course, it becomes possible on the mount points you mount the EMMC or sd card course, it becomes possible on the mount points you mount the EMMC or sd card
@ -57,7 +57,7 @@ to.
Note: It comes without any promises and without any warranty. Therefore you Note: It comes without any promises and without any warranty. Therefore you
are doing everything at your own risk. are doing everything at your own risk.
To load RescueOS onto an N900, you'll need a USB data cable, a PC, and one of To load rescueOS onto an N900, you'll need a USB data cable, a PC, and one of
the following flashers: the following flashers:
- 0xFFFF - the Open Free Fiasco Firmware Flasher - 0xFFFF - the Open Free Fiasco Firmware Flasher
@ -79,7 +79,7 @@ Switch the N900 completely off. If it is plugged into a charger, a PC, or
anything else by its USB port, unplug it and wait about 10 seconds to give the anything else by its USB port, unplug it and wait about 10 seconds to give the
charger software time to shut down. Don't connect it to the PC just yet. charger software time to shut down. Don't connect it to the PC just yet.
Startup the flasher and get it ready to load RescueOS. For 0xFFFF, the Startup the flasher and get it ready to load rescueOS. For 0xFFFF, the
incantation is: incantation is:
0xFFFF -m kernel:rescueOS_n900_kernel_1.2.zImage -m initfs:rescueOS-1.2.img -l -b 'rootdelay root=/dev/ram0' 0xFFFF -m kernel:rescueOS_n900_kernel_1.2.zImage -m initfs:rescueOS-1.2.img -l -b 'rootdelay root=/dev/ram0'
@ -90,7 +90,7 @@ For maemo_flasher, it's:
You'll get a message like "suitable device not found...", but the flasher You'll get a message like "suitable device not found...", but the flasher
should block and wait. Now connect the N900 to the PC with the data cable; the should block and wait. Now connect the N900 to the PC with the data cable; the
flasher should detect the device, upload RescueOS, launch it, and then exit. flasher should detect the device, upload rescueOS, launch it, and then exit.
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
@ -175,7 +175,8 @@ msd -> disable mass-storage mode
usbne -> enable usb networking usbne -> enable usb networking
usbnd -> disable usb networking usbnd -> disable usb networking
chargebat -> start battery charging chargebat -> start battery charging
telnetd -> start telnetd. only necessary if you have closed it explicitly,
since it starts on boot.
Tab: Shift + Space Tab: Shift + Space
ESC: Fn (Arrow) + Ctrl ESC: Fn (Arrow) + Ctrl
@ -184,11 +185,11 @@ ESC: Fn (Arrow) + Ctrl
File transfer File transfer
---------------------- ----------------------
Enable the FTP server with "enftp". Enable the FTP server with "enftp".
This will have anonymous up and download permissions everywhere. It will have anonymous up and download enabled everywhere.
Then you can connect to it once USB networking or a WLAN connection Then you can connect to it once USB networking or a WLAN connection
has been established, using any FTP client. For downloads, most browsers has been established, using any FTP client. For downloads, most browsers
can be used. can be used.
Alternatively, use mass-storage mode. Alternatively, use mass-storage mode.
Contributions and suggestions are welcome. Write to me (NIN101 on freenode or TMO. E-Mail: n900-rescueos at quitesimple period org). Contributions and suggestions are welcome. Write to me (NIN101 on freenode or TMO. E-Mail: n900-rescueOS at quitesimple period org).

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
EMULATOR=0 EMULATOR=0
VERSION="1.2" VERSION="1.3"
mount -n -t sysfs none /sys mount -n -t sysfs none /sys
mount -n -t proc none /proc mount -n -t proc none /proc
echo 200 > /sys/class/backlight/acx565akm/brightness echo 200 > /sys/class/backlight/acx565akm/brightness
@ -28,7 +28,7 @@ clear
echo "Disclaimer: This system comes without any warranty. Use it at your own risk." echo "Disclaimer: This system comes without any warranty. Use it at your own risk."
sleep 3 sleep 3
clear clear
echo "Welcome to N900 Rescue Initrd $VERSION" echo "Welcome to N900 rescueOS $VERSION"
echo echo
/sbin/loadkmap < /rescueOS/nokia-n900.kmap /sbin/loadkmap < /rescueOS/nokia-n900.kmap
@ -46,6 +46,7 @@ fi
touch /run/resolv.conf touch /run/resolv.conf
echo "Starting telnetd..." echo "Starting telnetd..."
telnetd
echo echo
echo "Useful information" echo "Useful information"
echo "==================" echo "=================="