User account can´t access internet

User account can´t access internet

I have finally gathered the guts needed to persuade my girlfriend to install FreeBSD 7.2 on her laptop :)

I have a little problem though, I can´t access internet from the user account but it works from root. Have tried ping http://www.google.se and it just says that it can´t resolve the adress, but it works in root account. I guess it has something to do with users priviliges? I did give it access to wheel group.

The interface is hso0 (mobile broadband).

Any suggestions?
 
Okay yeah that could be the case. Does the user account itself need access to resolv.conf? I thought that was handled by the system itself and then was used by account. Will try it when I get home.
 
DemoDoG said:
Does the user account itself need access to resolv.conf?
Yes. As Voltar noted the file permissions should be 644.
 
Thanx alot it helped! Since you are good at this I have another question. How do I in the easiest way give user account access to a usb camera with devide /dev/ugen0? It works if I SU to root first but would like to have user able to get pictures. I have seen some variants of ways but would like it simple, it doesn´t have to be super-secure either.
 
Could it be I can just add this to /etc/devfs.rules:
Code:
[localrules=5]
add path 'ugen*' mode 0660 group operator

And then in /etc/rc.conf file:
Code:
devfs_system_ruleset="localrules"

Then simply just add user to group operator?
 
Back
Top