asb / spindle

http://asbradbury.org/projects/spindle/
Other
185 stars 43 forks source link

ifconfig needs sudo #116

Closed KenT2 closed 12 years ago

KenT2 commented 12 years ago

on wheezy beta I could do ifconfig, on wheezy raspbian I need to do sudo ifconfig. May also be the case for hdparm. Not a problem in itself but it might be indicative of some other problem.

asb commented 12 years ago

I seem to be able to happily use ifconfig as a non-root user and the various sbin directories are on my PATH as expected. Possibly some package update introduced a problem?

KenT2 commented 12 years ago

I've done some more experiments and have narrowed down the problem to the boot into desktop. I'm using an updated raspbian with a few extras installed for the experiment below but I'm pretty sure the original report was done from an out of the box official raspbian wheezy.

Using raspi-config disable boot into desktop and reboot, login as pi before startx ifconfig works Do startx. From lxterminal started from the desktop ifconfig works use raspi-config to change to boot into desktop and reboot from lxterminal started from the desktop I need sudo ifconfig. ifconfig says bash: ifconfig: command not found from a ssh session from another computer logging in as pi, ifconfig works

Hope this helps.

asb commented 12 years ago

That helps massively, thanks.