maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Troubleshooting (https://talk.maemo.org/forumdisplay.php?f=6)
-   -   Forgot PIN :-( (https://talk.maemo.org/showthread.php?t=7028)

r3tro 2007-06-27 12:07

Forgot PIN :-(
 
Hi,

when I got my N800 some months ago, I played around a little bit and tried the device lock, too. Everything went fine. Since I didn't need to lock my device, I unlocked it again.

Now I locked the device by mistake, but I don't remember my PIN. Is there a way to reset/recover/disarm the pin without reflashing the whole device?

I enabled red pill mode, and OpenSSH server is installed. The "sudo gainroot" worked, too (locally). Although it is locked, the device still connects via WLAN. But SSHing into N800 as root with "rootme" as password doesn't work.

Some questions:

- what is the user name of the default non-root user on the N800?

- is there a default-passwort for this non-root user?

- what is the minimum length for PIN, can anyone check this? (I have a standard 4-digit PIN for such tests, but I remember that the PIN dialog forced me to enter a PIN with more than 4 digits, which is the reason I cannot remember my PIN :/ I think I have entered the smallest possible PIN. Knowing the length maybe helps me finding the PIN)

Thanks in advance!

P.S: the real problem is that the user isn't asked for his PIN when he _locks_ it. And there is not security question... I should wait for the next firmware release (Textrat? ;-))

robmiller 2007-06-28 07:26

Re: Forgot PIN :-(
 
Quote:

Originally Posted by r3tro (Post 54207)
Now I locked the device by mistake, but I don't remember my PIN. Is there a way to reset/recover/disarm the pin without reflashing the whole device?

I've been wondering if re-flashing works as the manual says "send to nokia if you lose the code". further on it says that you'll lose all data, implying that re-flashing is the method.

Quote:

Originally Posted by r3tro (Post 54207)
Although it is locked, the device still connects via WLAN. But SSHing into N800 as root with "rootme" as password doesn't work.

hmmm, that's both interesting and annoying ....

Quote:

Originally Posted by r3tro (Post 54207)
- what is the user name of the default non-root user on the N800?

'user'

Quote:

Originally Posted by r3tro (Post 54207)
- is there a default-passwort for this non-root user?

not that I have yet been able to guess. if you attempt to run passwd as 'user' it says "The password for user cannot be changed.", but it appears to allow if you run 'passwd user' as root -- but I'm not yet willing to try setting a user account password :)

Quote:

Originally Posted by r3tro (Post 54207)
- what is the minimum length for PIN, can anyone check this? (I have a

not done any extensive testing, however the help docs say 5-10 chars and the default is 12345

Quote:

Originally Posted by r3tro (Post 54207)
P.S: the real problem is that the user isn't asked for his PIN when he _locks_ it. And there is not security question...

I agree that there should be something more here, tho not sure what -- asking for the pin to lock it might be an annoying extra step, while asking for a new code when locking would allow someone else to lock your tablet - probably even more annoying :). disabling root login over ssh seems very much not right as by default I would expect root can do anything. assuming you did get in, any ideas where to reset the lock code? or are you just looking to copy files off the device?


rob.

r3tro 2007-06-28 08:43

Re: Forgot PIN :-(
 
Quote:

Originally Posted by robmiller (Post 54448)
I've been wondering if re-flashing works as the manual says "send to nokia if you lose the code". further on it says that you'll lose all data, implying that re-flashing is the method.

Oh, i simply assumed that re-flashing would be the last resort if nothing else helps. I must confess I haven't read the manual. Having to send it to nokia would be even worse than I could image...

Quote:

Originally Posted by robmiller (Post 54448)
not that I have yet been able to guess. if you attempt to run passwd as 'user' it says "The password for user cannot be changed.", but it appears to allow if you run 'passwd user' as root -- but I'm not yet willing to try setting a user account password :)

http://maemo.org/community/wiki/InstallSsh

The tutorial for OpenSSH setup says that "user" could be unlocked, but then a password for "user" should be set. I didn't do that. I cannot connect as "root" with "rootme" to, I think

Quote:

Originally Posted by robmiller (Post 54448)
I agree that there should be something more here, tho not sure what -- asking for the pin to lock it might be an annoying extra step, while asking for a new code when locking would allow someone else to lock your tablet - probably even more annoying :). disabling root login over ssh seems very much not right as by default I would expect root can do anything.

I think I have locked root, as the SSH install guide suggests. I need to find the right private key for SSH, I think I did create an authorized_keys for key-based authentication (I think for the "user" account), but I don't remember: it's a long time since i tested ssh access :/

Quote:

Originally Posted by robmiller (Post 54448)
assuming you did get in, any ideas where to reset the lock code? or are you just looking to copy files off the device?

No idea, just hope :-)

I would try to recover the files and settings, at least.

Thx,
Sebastian

jonimueller 2007-11-10 02:32

Re: Forgot PIN :-(
 
I just got a 800 tablet and attempted to lock the device on bootup which is what I had done with my Nokia 770. I entered what I thought was the pin i wanted to set (7 digits). But it kept saying it was invalid code. I tried the standard 12345 and it didn't work either.

What is strange to me is on the box where you input the password, above it is this:

1/3

What does that mean?

paulh 2007-11-10 02:48

Re: Forgot PIN :-(
 
1/3 just means that you're at stage one out of the three steps to locking.

jonimueller 2007-11-10 03:09

Re: Forgot PIN :-(
 
Okay that's kinda helpful. What are the other two stages? I feel like I did things right, I KNOW I entered those 7 digits correctly. Then what?

Update: That was the clue bat upside the head that I needed! Thanks! Step one was to enter 12345, then enter my 7-digit PIN, then REENTER that new 7-digit pin.

Works like a charm. Thanks so much!!!!!

R-R 2007-12-05 17:38

Re: Forgot PIN :-(
 
Now what to do if you bought your device from eBay, had been using it for a while and flashed it 2-3 times but just realised the default pin was not 12345 ? :-(

Karel Jansens 2007-12-05 18:09

Re: Forgot PIN :-(
 
Quote:

Originally Posted by R-R (Post 104820)
Now what to do if you bought your device from eBay, had been using it for a while and flashed it 2-3 times but just realised the default pin was not 12345 ? :-(

Contact the seller?

R-R 2007-12-05 18:40

Re: Forgot PIN :-(
 
Quote:

Originally Posted by Karel Jansens (Post 104842)
Contact the seller?

Ok, that's fine, i was able to find the password in /dev/mtd* ...
I won't say more as i don't want stupid thief to abuse this, Linux people will know.

edit: i did try to contact them but still waiting for answers, this was faster :)

technut 2007-12-05 22:56

Re: Forgot PIN :-(
 
BTW, I have reflashed my N800 several times and it still remembers the lock code that I originally set. So a reflash doesn't seem to be a fix for a lost code.

Lupin3d 2007-12-05 23:51

Re: Forgot PIN :-(
 
Quote:

Originally Posted by R-R (Post 104865)
Ok, that's fine, i was able to find the password in /dev/mtd* ...
I won't say more as i don't want stupid thief to abuse this, Linux people will know.

edit: i did try to contact them but still waiting for answers, this was faster :)

G R E A T !!!! I spent 25 bucks in a Nokia center a month ago to reset my forgotten pin :(

Tnx

R-R 2007-12-06 06:40

Re: Forgot PIN :-(
 
Quote:

Originally Posted by technut (Post 104986)
BTW, I have reflashed my N800 several times and it still remembers the lock code that I originally set. So a reflash doesn't seem to be a fix for a lost code.

Indeed, it's not in the big OS partition that gets flashed, that's why i had to do all this :)

nhanquy 2008-01-04 00:58

Re: Forgot PIN :-(
 
R-R thanks! I have figured it out !

Lost_I_Am 2008-02-09 02:15

Re: Forgot PIN :-(
 
Thanks nhanquy, I was finally able to retrieve my key code :D

-JC

Mysticode 2008-02-12 19:23

Re: Forgot PIN :-(
 
I accidentally locked my device and didn't know the lock code. I ended up reflashing the device to get it unlocked and then I was able to find the lock code in /dev/mtd1.

I find it ridiculous that it is that difficult to recover a forgotten lock code - the fact is that having the lock code this protected isn't going to make the device less likely to be stolen - it is only going to make it difficult for users like me who accidentally hit lock device when trying to turn it off. Now I am off to figure out how to remove "Lock Device" from the power menu as I never use it and I don't want to do this again by mistake.

qwerty12 2008-02-12 19:26

Re: Forgot PIN :-(
 
Quote:

Originally Posted by Mysticode (Post 141592)
I accidentally locked my device and didn't know the lock code. I ended up reflashing the device to get it unlocked and then I was able to find the lock code in /dev/mtd1.

I find it ridiculous that it is that difficult to recover a forgotten lock code - the fact is that having the lock code this protected isn't going to make the device less likely to be stolen - it is only going to make it difficult for users like me who accidentally hit lock device when trying to turn it off. Now I am off to figure out how to remove "Lock Device" from the power menu as I never use it and I don't want to do this again by mistake.


Edit /etc/systemui/systemui.xml as root :)

artkrime 2008-05-17 19:28

Re: Forgot PIN :-(
 
Quote:

Originally Posted by R-R (Post 104865)
Ok, that's fine, i was able to find the password in /dev/mtd* ...
I won't say more as i don't want stupid thief to abuse this, Linux people will know.

edit: i did try to contact them but still waiting for answers, this was faster :)

Noob here :o I also bought a 770 off ebay but until recently had problems with connectivity so I wanted to return to default and I dont have the lock code. I am not familiar with linux, so is there any tutorial on how to get into the "/dev/mtd.." and what to do with it? I am pissed I did not know about it beforehand... Thanks in advance! ;)


All times are GMT. The time now is 16:18.

vBulletin® Version 3.8.8