L
L
lifelover2011-07-16 10:07:32
Debian
lifelover, 2011-07-16 10:07:32

No access to the network from under non-root users?

There is such a stand for beer, and on it is a self-made crooked debian assembly. Also, this assembly is practically the only thing that generally supports this device.

$ uname -a<br/>
Linux netbook 2.6.29-00236-g4f8dbbb-dirty #22 Wed Apr 7 14:15:24 CST 2010 armv5tejl GNU/Linux

The device is planned to be broken / remade and used as a smart photo-video frame with network support.
In this system, many things are configured crookedly. You have to manually fix it. For example, there is no access to the network from a non-root user.
$ printf &quot;GET / HTTP/1.0\r\nHost: 192.168.0.1\r\n\r\n&quot; | nc 192.168.0.1 80<br/>
Can't get socket : Permission denied

Also no access to DNS, etc. Everything works from root.
$ printf &quot;GET / HTTP/1.0\r\nHost: 192.168.0.1\r\n\r\n&quot; | sudo nc 192.168.0.1 80<br/>
HTTP/1.0 200 OK<br/>
Content-Type: text/html<br/>
бла-бла-бла

Googled all night and couldn't find anything.
PS I can give you ssh access.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
VBart, 2011-07-16
@lifelover

Not your case?
forums.debian.net/viewtopic.php?f=5&t=62151

V
Vlad Zhivotnev, 2011-07-16
@inkvizitor68sl

Put debian from a regular installer into a virtual machine (the same release) and see what groups a regular user is in. Compare with yours. Get into it. Fix it.

O
ob1, 2011-07-16
@ob1

Why not install regular Debian? If only because of the kernel, then try to do as inkvizitor68s1 said, shove the patched kernel there (we substitute it) and transfer this matter to the original raspberry.

E
edelars, 2012-09-19
@edelars

Everything turned out to be simple.
You need to create a group with the number 3003 and add a user to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question