maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   Problem with terminal in N9 (https://talk.maemo.org/showthread.php?t=81997)

upsmac 2012-01-30 17:25

Problem with terminal in N9
 
every time l type in sth in the terminal l get error not found
ie type in ssh root@localhost == error not found
cd /etc/apt/sources.list.d error not found
nothing is working ,please help

charbar 2012-01-30 17:27

Re: Problem with terminal in N9
 
did you:
devel-su
first?

cddiede 2012-01-30 18:01

Re: Problem with terminal in N9
 
Quote:

Originally Posted by upsmac (Post 1157988)
every time l type in sth in the terminal l get error not found
ie type in ssh root@localhost == error not found
cd /etc/apt/sources.list.d error not found
nothing is working ,please help

A failure to become root would not result in either of these commands giving "not found" errors since the "cd" and the "ssh" commands are in the default user path. You may see permission denied, but not a "not found" error.

Can you please send us a copy/paste of what you are actually typing and what it actually is telling you so we can see what's happening?

The first thing to check is that you are not typo'ing the commands. In your example here you said:

"ever time I type in sth.."

So there's an example right there showing that typos are a formidable enemy for ya.

upsmac 2012-01-31 15:20

Re: Problem with terminal in N9
 
This is what am typing
BusyBox v1.19.0.git(Meego 3:1.19-8+0m6) built-in shell (ash)
Enter 'help' for a list of built-in commands

~$ devel-su
Password:

BusyBox v1.19.0.git(Meego 3:1.19-8+0m6) built-in shell (ash)
Enter 'help' for a list of built-in commands

~# cd/etc/apt/sources.list.d
sh:cd/etc/apt/sources.list.d: not found

~# cd /usr/share/applications
sh:cd /usr/share/applications: not found

and for the ssh am gettin

~#ssh root@localhost
root@localhost's password (typed rootme)
Permission denied, please try again

cddiede 2012-01-31 17:06

Re: Problem with terminal in N9
 
Okay, where to start....


You did:
~# cd/etc/apt/sources.list.d
sh:cd/etc/apt/sources.list.d: not found

There's no space between the cd command and the directory your trying to navigate to. Try typing:

cd /etc/apt/sources.list.d


You did:
~# cd /usr/share/applications
sh:cd /usr/share/applications: not found

The directory/usr/share/applications is valid so I'm not sure what the issue is here. Try becoming root with the below command, then navigate to the /usr/share directory and perform an ls to see what the deal with that directory is.


You did:
~#ssh root@localhost
root@localhost's password (typed rootme)
Permission denied, please try again

The root user is not allowed to ssh to the N9. To become root using the rootme password, the command is:

devel-su

upsmac 2012-01-31 17:42

Re: Problem with terminal in N9
 
Quote:

Originally Posted by cddiede (Post 1158507)
Okay, where to start....


You did:
~# cd/etc/apt/sources.list.d
sh:cd/etc/apt/sources.list.d: not found

There's no space between the cd command and the directory your trying to navigate to. Try typing:

cd /etc/apt/sources.list.d


You did:
~# cd /usr/share/applications
sh:cd /usr/share/applications: not found

The directory/usr/share/applications is valid so I'm not sure what the issue is here. Try becoming root with the below command, then navigate to the /usr/share directory and perform an ls to see what the deal with that directory is.


You did:
~#ssh root@localhost
root@localhost's password (typed rootme)
Permission denied, please try again

The root user is not allowed to ssh to the N9. To become root using the rootme password, the command is:

devel-su

Thanks worked fine


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

vBulletin® Version 3.8.8