I am planning to roll out several (~100) Guruplug display machines.
They come shipped with Lenny installed.
I upgraded everything to Squeeze but ever since I get socket errors on every non-root user;
Mar 26 20:31:50 localhost ntpd: ./../lib/isc/unix/ifiter_ioctl.c:348: unexpected error: Mar 26 20:31:50 localhost ntpd: making interface scan socket: Permission denied Mar 26 20:35:09 localhost ntpd: ntpd exiting on signal 15 yeri@gplugD ~ $ ping google.be ping: unknown host google.be yeri@gplugD ~ $ ping 22.214.171.124 socket: Permission denied yeri@gplugD ~ $ ssh localhost socket: Permission denied ssh: connect to host localhost port 22: Permission denied yeri@gplugD ~ $ su Password: gplugD ~ # ping 126.96.36.199 -c 1 PING 188.8.131.52 (184.108.40.206) 56(84) bytes of data. 64 bytes from 220.127.116.11: icmp_req=1 ttl=58 time=37.1 ms --- 18.104.22.168 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 37.145/37.145/37.145/0.000 ms
As this is a Guruplug Display, it doesn't run a default Debian kernel. Yet I'm unable to find additional information about this. I've done the same with a regular Guruplug in the past, and that upgraded fine without any issues.
gplugD ~ # uname -a Linux gplugD 2.6.29 #1 Wed Feb 16 17:59:04 IST 2011 armv5tejl GNU/Linux gplugD ~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p2 3.6G 917M 2.6G 27% / tmpfs 252M 0 252M 0% /lib/init/rw udev 10M 72K 10M 1% /dev tmpfs 252M 0 252M 0% /dev/shm gplugD ~ # free -m total used free shared buffers cached Mem: 503 159 344 0 8 100 -/+ buffers/cache: 49 454 Swap: 0 0 0 gplugD ~ # cat /etc/debian_version 6.0.1
dhcp also refuses to automatically give eth0 an IP unless I run it as root. Sshd seems to work fine (I can connect to it from another machine).
On the other hand, I noticed I cannot ping localhost as root either. "lo" doesn't automatically start either.
gplugD ~ # ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. ^C --- localhost ping statistics --- 4 packets transmitted, 0 received, 100% packet loss, time 3005ms
ifconfig lo 127.0.0.1 up
solved the "localhost" issue.
Edit: ping strace: http://pastebin.com/Dpm7i64G
Any idea why only root can access everything related to tcp/ip/networking?