maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Is it possible to access the 770 over the WLAN? (https://talk.maemo.org/showthread.php?t=349)

Smiley Dan 2005-11-10 13:06

Is it possible to access the 770 over the WLAN?
 
I mean, in a similar way to using the USB?

Is samba out for this device? If so we could make the folders samba mounts and mount them in our Linux/Windows laptops.

I really don't want to have to connect the USB *every* time I want to upload something.

Maybe I can use scp with the sshd being written?

Smiley Dan 2005-11-10 13:49

I've installed xterm and ssh (dropbear) - anyone know the user accounts and passwords? :D

Tried root/rootme but that didn't work, putty bombed out.

aflegg 2005-11-10 17:40

http://maemo.org/maemowiki/InstallSsh

Smiley Dan 2005-11-10 20:05

Quote:

Originally Posted by aflegg

yeah that's what l've been following. l don't want root access , just want to know the user password. useradd also doesn't work.

aflegg 2005-11-10 22:42

That page points out (albeit perhaps not clearly) that you can't log into the user account without using a public/private key pair.

Create the key pair on your PC and copy the public key to ~/.ssh/authorized_keys on the 770.

Lord Bodak 2005-12-24 03:14

I created a key on my machine, copied the id_rsa.pub file to the ~/.ssh/authorized_keys directory on the 770...

Ran the server as user.

Then tried connecting with:
ssh ip -p 2222

Got a prompt for a password and no luck figuring out what the password should be. Any ideas?

putkowski 2005-12-24 03:59

I'm getting to the file system using winscp and scp (see the troubleshooting section.) I may soon figure what tiny spot allows me to logon to the wiki.

It seems that when you copy to the fat MMC, edit, and copy back, the permissions are trashed. What a surprise !

In short, the answer is yes. (If you want a direct edit using winscp.) This works in both "rd-modes"

I will also be checking various distros (su9.2dt, deb and ian (sarge,) and the latest hat thing) to see how we can similarly ssh (fish,etc) to the box (That is cruel-- it's such a pretty box.)

Of course, if I get work things could slow dramatically. (iSeries, anyone?)

P'ski

putkowski 2005-12-24 04:03

Quote:

Originally Posted by Lord Bodak
I created a key on my machine, copied the id_rsa.pub file to the ~/.ssh/authorized_keys directory on the 770...

Ran the server as user.

Then tried connecting with:
ssh ip -p 2222

Got a prompt for a password and no luck figuring out what the password should be. Any ideas?

See the ssh install directions and make the link to rc2.d.

This will make the server run as (whoever) at startup and port 22 will be like barn doors.

P'ski

Lord Bodak 2005-12-24 04:12

Quote:

Originally Posted by putkowski
See the ssh install directions and make the link to rc2.d.

This will make the server run as (whoever) at startup and port 22 will be like barn doors.

P'ski

Ok, I went ahead and tried that. Same problem, it still wants a password.

Edit: Never mind, I was being stupid. Long time since I set up ssh! I put the public key in an authorized_keys directory, not an authorized_keys file. Working fine now.

putkowski 2005-12-24 04:33

Quote:

Originally Posted by Lord Bodak
Ok, I went ahead and tried that. Same problem, it still wants a password.

After a boot-in-the-keister? You will need to see the wiki on how to gainroot. This box is stupidly defended.

did you do Xterm

sudo gainroot

and get a message saying "root enabled"

if not, you probably got a message saying "enable r&d mode if you want to break your device."

If you don't have a linux box handy, you are sunk. You can check the "troubleshooting" dept messages on "trouble with dropbear"

things will get better in the next few days.

if you know about X, please brush-up.

P'ski


All times are GMT. The time now is 02:25.

vBulletin® Version 3.8.8