RobertD
Posts: 7
Joined: Fri Jan 01, 2016 3:06 pm

log in problems.

Sun Jan 03, 2016 6:26 pm

Hello friends.

I installed rapsbian, and I'm trying to get into the interface folder in command prompt. I type:
/etc/network/interfaces

And I get : permission denied.
So I try to go to superuser typing

$ su
password: raspberry (I tried everything)

and I always get the same answer: su: authentication failure

What am I doing wrong?

DirkS
Posts: 10347
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: log in problems.

Sun Jan 03, 2016 6:33 pm

RobertD wrote: I installed rapsbian, and I'm trying to get into the interface folder in command prompt. I type:
/etc/network/interfaces
that's not a folder, it's a file.
If you want to edit it then you have to use e.g.

Code: Select all

sudo nano /etc/network/interfaces
BTW: why do you need access to that file?

RobertD
Posts: 7
Joined: Fri Jan 01, 2016 3:06 pm

Re: log in problems.

Sun Jan 03, 2016 7:56 pm

I have a problem logging in one of the wifi network, so I want to configure it manually, I read that's the way to do it. I managed to set the root password, and used "edit" to get into the file, but I haven't changed anything yet.

I can log on my android hot spot, but not the land based router network. I should be able to log on to any wifi signal that pops up, so I don't know why this one doesn't work. It works fine on my windows system, but nothing on the rpi.

So... it's not the password, since it shows on the desktop as I write it. Just won't connect. I want to use the pi as a router so I have to figure out what's going on.

PS: I got an error code 15, it was trying to log on many times, then it failed.... on a prior sd card that I reformatted since.

Return to “Beginners”