[SOLVED] root has internet access but use does not
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
To add to vtel57's advice: It's not clear what exactly your problem is. Can you please state what you do (e.g. which program you run), what happens when you do it, and how the result you get is different from your expectation.
Quote:
Originally Posted by wdarledge
#netconfig
and runs fine in root
has Sync...but, cannot figure how
odin@home~$
does not!
What runs fine in root, and what does not?
From your description, I gather that you are surprised that only root can configure the network. That is not surprising at all. Tasks that affect all users on a system should only be performed by root.
Last edited by berndbausch; 01-17-2020 at 07:57 PM.
vtel57
can't figure out how to Paste a .png into Firefox using Konsole,
help section and Google are clueless.
If you wish to share the Secret, I will respond with the Screenshot of ifconfig in Terminal.
thanks,
david
To get it inserted the way I did above use the Code button on the posting toolbar above which will create this [code ] your stuff pasted here [/code ].
I use Firefox and am having trouble figuring out using man netconfig and the FAQs how to allow internet access for my user account...
odin@home:~$
note:
root has eth0 configured with #netconfig but, that internet access does not somehow auto configure any subordinate user accounts.
I understand it is not a good idea to log into this box using root@home:~# and then compound this by getting on the internet as well "in root".
If you could shed some light, a command perhaps, to copy user permissions for Firefox and my user account to be able to get on the Internet.... i would GREATLY appreciate it )!
sorry, i STILL do not get it.... code button gave me this above.
non-routable 192.168.x.x is on this box from my netgear router which looks alot like the help i found in docs.slack.com and it works but, only in root.
maybe you could walk me through this 'code' thing to paste into lq.org but, you were right, copy not screenshot. thanks.
and i think the issue of user internet access with firefox is still on the table... maybe?
Try running "NetworkManager" (without the quotes, but with the capitalization).
If that fixes it, use:
Code:
chmod +x /etc/rc.d/rc.networkmanager
To enable it on startup.
Slackware checks if the executable bit on scripts in that directory to automatically start them after booting.
(chmod +x sets the executable bit on the file that comes after the command, in this case "/etc/rc.d/rc.networkmanager" )
You can also use "pkgtool" to run Slackware setup scripts again via "Setup", one of them is "services", where you can do this through a curses (text) 'gui'.
P.S.:
NetworkManager might just run silently, try using the internet after running it to see if it worked.
If you could shed some light, a command perhaps, to copy user permissions for Firefox and my user account to be able to get on the Internet.... i would GREATLY appreciate it )!
Yes, but I am still in the dark what doesn't work. So, tell me what you do (by now I know your problem has something to do with Firefox), what happens when you do it, and how the result you get is different from your expectation.
chmod sets permissions for files, not for internet connections. I am not aware of a simple way to disallow internet access to a user.
To see if there is connectivity to the internet, type the following commands as a normal user:
Code:
ping 8.8.8.8 -c3
ping dns.google -c3
If there is connectivity, you should see something like this:
Code:
ping dns.google -c3
PING dns.google (8.8.4.4) 56(84) bytes of data.
64 bytes from dns.google (8.8.4.4): icmp_seq=1 ttl=55 time=3.94 ms
64 bytes from dns.google (8.8.4.4): icmp_seq=2 ttl=55 time=3.80 ms
64 bytes from dns.google (8.8.4.4): icmp_seq=3 ttl=55 time=3.91 ms
--- dns.google ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 3.803/3.886/3.947/0.094 ms
If not, you will get an error message.
8.8.8.8 and 8.8.4.4 are the IP (internet protocol) addresses of a server that Google makes available to the general public. dns.google is the name of that server.
Last edited by berndbausch; 01-21-2020 at 04:26 PM.
yup... i have route in user - odin@home:~$ but, no route
to tell you the truth i never understood this phenom. i would say that the IP stack needs to be rebuilt but, i hardly think i could do that in Slack.
another thing... iim, is it normal to not be able to "rt-clk" on a touchpad on a notebook PC with Slack? i was going to copy and paste the ping results but, i can't~!
anyway, i digress... i hit one of the Bash links beneath your quote while trying to move the cursor to hit the "K" button (Start but for KDE, don't know the name) to "logout" to "odin" and i have been STUCK IN IT for hours...
i just LOVE this stuff, "thanks" for putting those there~!
Problem is i don't even know which of the four i hit by mistake. i'll figure it out.
isfa, the route question... i would delete Firefox and download it again but, the version online "will not work" in Slack as i have it configured atm. so, i don't dare!! so... any ideas how to establish route in a user "odin" when apparently there is sync?
ps - i'm not sure i can use those terms with cable internet -
"sync" and "route" but, it fits.
thanks for your attention span, most can't keep up with me.
david
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.