LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-17-2020, 02:28 PM   #1
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98
Blog Entries: 8

Rep: Reputation: Disabled
Question root has internet access but use does not


good day

new slackware install 14.2, ran -

#netconfig

and runs fine in root
has Sync...but, cannot figure how

odin@home~$

does not! I looked in -

#rc.inet1.conf

and of course had to be in root to see it...

...am I missing something?
 
Old 01-17-2020, 06:57 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Some additional info would be helpful to us...

In terminal:

#ifconfig (please post output here).

---

Also, some additional info for you HERE.

Last edited by vtel57; 01-17-2020 at 07:01 PM.
 
Old 01-17-2020, 07:33 PM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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 View Post
#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.
 
1 members found this post helpful.
Old 01-20-2020, 11:30 AM   #4
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
sorry no can do

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
 
Old 01-20-2020, 11:35 AM   #5
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Hi David,

You don't need to screenshot your output from your terminal for ifconfig, just copy/paste it as text into the message box here. Like this...

Output of my #ifconfig:

Code:
root@ericsbane07/home/vtel57:# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.5  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::1e6f:65ff:fec0:ce24  prefixlen 64  scopeid 0x20<link>
        ether 1c:6f:65:c0:ce:24  txqueuelen 1000  (Ethernet)
        RX packets 8552  bytes 7736765 (7.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7275  bytes 1396252 (1.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 15  bytes 1167 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15  bytes 1167 (1.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
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 ].

Last edited by vtel57; 01-20-2020 at 01:23 PM.
 
Old 01-20-2020, 11:36 AM   #6
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
Firefox, Internet access in user not just in /

berndbausch
thanks for your reply~!

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 )!

david
 
Old 01-20-2020, 11:48 AM   #7
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
thanks, well that works... sort of

thanks vtel.... looks like someone else is not working this morning either ...

code button above... one second...
Code:
bash-4.3# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.3  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::dac4:97ff:fec7:6e06  prefixlen 64  scopeid 0x20<link>
        ether d8:c4:97:c7:6e:06  txqueuelen 1000  (Ethernet)
        RX packets 11639  bytes 8051345 (7.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9842  bytes 1699903 (1.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 2  bytes 100 (100.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2  bytes 100 (100.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
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?
Attached Thumbnails
Click image for larger version

Name:	snapshot2.jpg
Views:	17
Size:	175.6 KB
ID:	32352  
 
Old 01-20-2020, 11:51 AM   #8
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
ok i see now...

vtel57 -

ok i got it now... 'code' button... chk

does any of ifconfig help you?
is there a command to copy rights to a user? for internet access configuration?
 
Old 01-20-2020, 11:59 AM   #9
Geist
Member
 
Registered: Jul 2013
Distribution: Slackware 14 / current
Posts: 442

Rep: Reputation: 196Reputation: 196
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.

Last edited by Geist; 01-20-2020 at 12:01 PM.
 
Old 01-20-2020, 12:33 PM   #10
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
--- this post deleted by author ---

Last edited by vtel57; 01-20-2020 at 01:21 PM.
 
Old 01-20-2020, 01:11 PM   #11
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by wdarledge View Post
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.
 
Old 01-21-2020, 01:40 PM   #12
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
Zeitgeist

Ghost,

thank you for your reply~!

#NetworkManager in root did not allow internet access in /home/odin:~$ but, did terminate internet access in root.

is pkgtool on the Slackware DVD or is 'setup' run from root?

btw... have you ever heard the song on '13' by Black Sabbath called 'Zeitgeist'?

david
 
Old 01-21-2020, 01:46 PM   #13
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
Internet access in User

berndbbausch,

Apologies for being less than clear -

I can access the Internet from root, but when I login as a standard user I cannot access the Internet.

Are 'user' privileges done done in chmod? man chmod?

Thanks as always for your reply~!
 
Old 01-21-2020, 04:22 PM   #14
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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.
 
Old 01-22-2020, 02:54 PM   #15
wdarledge
Member
 
Registered: Nov 2017
Location: Dallas, TX (North Dallas)
Distribution: Slackware 14.2
Posts: 98

Original Poster
Blog Entries: 8

Rep: Reputation: Disabled
ping, attention span, route & sync

berndbausch,

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
 
  


Reply

Tags
internet connection, networking, slackware 14.2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Old computer can access internet but new computer has not learnt settings from the modem grumpyskeptic Linux - Networking 38 08-24-2021 12:48 AM
[SOLVED] Disable remote root access but allow local root access-- possible? bskrakes Linux - Security 4 02-21-2019 04:02 PM
[SOLVED] OEL5.4 OS, eth0 has private IP, eth0:0 has routable IP, internet access don't work Hiroshi Linux - Networking 7 06-02-2010 12:49 PM
virtualbox: XP has internet but Vista does not Jayla Linux - Newbie 2 06-06-2008 04:30 PM
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration