LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   How to get root password or R&D mode for the Nokia N800? (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-get-root-password-or-r-and-d-mode-for-the-nokia-n800-542195/)

vees 03-31-2007 02:29 PM

How to get root password or R&D mode for the Nokia N800?
 
Hi,

I just got my Nokia N800 and I really like it. I got xterm running on it, but no root account access. Even a 'sudo su' a la Ubuntu does still ask for a password. And 'su' answers: 'this requiers root account'.

What is the root password on the N800? I read somewhere that in the research and development mode you have automatic root access. How do I start the device in this mode?

I also read that there is a way to install an application called something like 'rootme' or 'gimmeroot' via USB to then flash the device and get a root access. But surely there must be something simpler which the N800 developers created to get root?!

Many thanks,

VS

macemoneta 03-31-2007 02:58 PM

The easiest way I've found is to enable red pill mode, install ssh. You can then ssh into the machine as root (password 'rootme') and set the password to something secure.

vees 03-31-2007 06:20 PM

I read about the red pill mode and it works fine, however, can I ssh from the N800 into itself, or do I need an external machine to do so?

How about the R&D mode? Can launch it at bootime?

macemoneta 03-31-2007 07:23 PM

You should be able to ssh to yourself - never tried on the N800, but there's no reason it shouldn't work.

I no longer have access to the N800, but I was under the impression that you have to re-flash to exit R&D mode.

vees 04-02-2007 06:52 PM

ok. did it. here is, just to confirm, the simple solution:

1) install xterm
2) install dropbear (a ssh client and server)
3) do:
Code:

ssh root@localhost
and enter the password "rootme"

4) then do:
Code:

passwd
and enter the new secure password.

HTH,

VS

jeremy 04-02-2007 08:00 PM

FWIW OpenSSH also works nicely on the N800. BTW, if you haven't seen the N800 yet:

http://www.theinternetwalk.com/linuxquestions

--jeremy

vees 04-04-2007 07:21 AM

Jeremy and macemoneta,

Have you ever succeeded in installing an ogg-capable player on the N800? If yes, which one and where did you get it?

Thanks,

V

macemoneta 04-04-2007 12:38 PM

I personally did not, but there are apparently multiple ways to get it working. You can try this player, more details here. There are also gstreamer plugins in development, which you can find via Google.

coffeedragon 04-07-2007 09:01 PM

Quote:

Originally Posted by vees
ok. did it. here is, just to confirm, the simple solution:

1) install xterm
2) install dropbear (a ssh client and server)
3) do:
Code:

ssh root@localhost
and enter the password "rootme"

4) then do:
Code:

passwd
and enter the new secure password.

HTH,

VS

I've been 'round Linux before but I can't claim to be a well seasoned sys admin. I've been trying to install OpenSSH from the installer provided on maemo.org but it seems that the binaries are missing from their repository. I would love to install dropbear but I'll be damned if I can figure out how without using apt-get, which doesn't work because I don't have root access :scratch:

Would anyone care to help out a bit of a noob and give me a little hand holding. All my tricks I usually use on my "grown-up" Linux machines (rpm, apt-get, yum) don't work on this little fella so I'm at a loss.

Thanks in advance...

jeremy 04-08-2007 10:48 AM

You should be able to install either of those from the application manager, once you add the appropriate repo.

--jeremy

coffeedragon 04-08-2007 11:16 AM

Yup, I upgraded to the newest distro of the 2007 OS (I was still running the oldest version) and updated the repo list and there was dropbear, right in the App Manager. Installed the client and server and everything is working great. Now I just have to figure out how to shoehorn Asterisk and a decent non-Gizmo softphone on this thing ;-)

hunterlj 10-17-2007 04:24 PM

Problem un-packaging
 
I tried to install antiword, but the package I downloaded couldnt be upackage due to a different architecture program (anybody ever hear of armel? I thought it was supposed to be arm).

I followed the instructions aboce, logged into the Nokia n800 root, and tried to unpackage it there till I was told the above message.
Does anyone have an up to date location of antiword (and doc reader) where I can download? Once I get this working my n800 will be perfect.

Thanks and gig em!
-hunterlj

amitabhishek 10-26-2007 08:11 AM

can anyone pls guide me to do the same in(root access) Motorola A1200.

realflash 12-06-2007 10:59 AM

Once you have SSHd in as root, you can then:

vi /etc/sudoers
Press i to insert
Add a new line: user ALL = NOPASSWD: /bin/ash
Press escape
Type :wq

Then when you are in the terminal as 'user', you can switch to root with 'sudo ash'

huntersan9 06-26-2008 12:51 AM

Actually it's as easy as this:

Code:

sudo gainroot


All times are GMT -5. The time now is 08:01 AM.