The Following 6 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2008-08-28
, 10:35
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#2
|
The Following User Says Thank You to fanoush For This Useful Post: | ||
|
2008-08-28
, 16:24
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#3
|
|
2008-08-28
, 16:56
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#4
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2008-08-28
, 20:56
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#5
|
initfs lacks getty so I was forced to compile busybox with only getty statically against uclibc) Binary is only 49KB anyway
Press the full screen button at the top when the bootmenu is open. It's a dirty method though to run getty and insmod g_serial though so a cleaner method would be nice
The Following User Says Thank You to fanoush For This Useful Post: | ||
|
2008-08-28
, 21:11
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#6
|
I guess there should be another submenu with such custom stuff and usb networking with ssh/telnet should be moved there too.
Such menu can be constructed at flashing time depending on choices for extra stuff. Also such extra stuff should be modularized not hardcoded like now. bootmenu installer should discover such modules/packages at initfs jffs2 creation time and call into them to install their stuff into initfs.
|
2008-08-28
, 21:20
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#7
|
The Following User Says Thank You to fanoush For This Useful Post: | ||
|
2008-08-29
, 07:32
|
Posts: 9 |
Thanked: 5 times |
Joined on Aug 2008
|
#8
|
|
2008-08-29
, 07:58
|
Posts: 2,152 |
Thanked: 1,490 times |
Joined on Jan 2006
@ Czech Republic
|
#9
|
Can this be adapted to provide a terminal (vt100) emulator directly on the tablet using a usb serial adapter?
The Following User Says Thank You to fanoush For This Useful Post: | ||
|
2010-01-26
, 19:23
|
Posts: 6 |
Thanked: 2 times |
Joined on Jan 2010
|
#10
|
Tags |
console, serial, shell, telnet, usb |
|
g_serial can be used a a serial console, so if you manage to insmod it in initfs (you could use bootmenu.conf to do that, or insmod it in linuxrc for really early messages) you can get dmesg messages piped to your computer.
It can be used to get you a shell to your N800 over USB.
Theoretically, this works in windows too unlike g_ether.
I don't know if you can send files over USB serial using this unlike g_ether. But this doesn't require any complicated configuration unlike g_ether.
g_ether can do a lot more than this, ssh, file transfer etc but it's a bit more complicated to setup & RNDIS is broken in windows so it doesn't work in windows.
1. Grab the module from here: http://qwerty12.maemobox.org/modules_libs/g_serial.ko and save it in /lib/modules/2.6.21-omap1/ on the device.
2. Grab this script: http://pastebin.com/f205aa540 and save it somewhere on the device and set it executable.
(Thanks to http://openinkpot.org/wiki/HowToGetShellOverUsb where I got the script from and made a few changes. Thanks to fanoush for the root stuff)
Now, if you want to use that script to get a shell over usb,
1. Run the script from wherever you saved it on the device.
2. Plug in the USB cable to your N8x0.
3. In Linux for example on the computer, run cu -l /dev/ttyACM0 -s 115200
4. When cu says connected, rerun the script on the device.
That openinkpot has a driver and instructions for using g_serial in windows.
Last edited by qwerty12; 2008-09-02 at 08:50.