The Following 8 Users Say Thank You to juiceme For This Useful Post: | ||
|
2012-09-11
, 14:34
|
Posts: 1,067 |
Thanked: 2,383 times |
Joined on Jan 2012
@ Finland
|
#2
|
As N9 lacks both hardware keyboard and serial port it would seem to be difficult to interact with the thing before OS & GUI loading, but fortunately I managed to do it. ( quite propably somebody else has done this before, but what the heck, it works for me )
The Following User Says Thank You to rainisto For This Useful Post: | ||
|
2012-09-11
, 18:46
|
Community Council |
Posts: 4,920 |
Thanked: 12,867 times |
Joined on May 2012
@ Southerrn Finland
|
#3
|
Well actually N9 does have serial port TX&RX pins on the motherboard that you can connect to (you can see them on service manual schematics). But yes, for most people they are a bit hard to reach and requires quite much work and knowledge to get it working.
As N9 lacks both hardware keyboard and serial port it would seem to be difficult to interact with the thing before OS & GUI loading, but fortunately I managed to do it. ( quite propably somebody else has done this before, but what the heck, it works for me )
So I decided to use the USB/IP device which requires just loading of one module to be usable, and I tweaked the sshd default parameters a bit, mounted devpts and launched sshd from preinit and it fires up nicely
Why I call this "almost-single-user-mode", is because with this sshd goes daemon and it is possible to connect to the device repeatedly. Hence it is actually more useful than the traditional serial port single-user mode
Here is the diff for sshd_config;
I did not write detailed step-by-step granny guide here on purpose, to make people who would like to try this THINK a bit instead just following orders blindly.
This is to protect newbies from bicking their device (and furthermore, to protect me from their anger if somebody manages to do that) but all the required steps are here for anyone who understands the logic of boot chain.