LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-17-2003, 08:19 PM   #1
glennyboi
LQ Newbie
 
Registered: Dec 2003
Location: Winnipeg
Distribution: slackware 9.0
Posts: 7

Rep: Reputation: 0
Question I can't get an ipaddress in a non root user in slackware 9


When I installed slackware 9 on my laptop I was able to setup dhcp and when I would start up the machine and log into root I would get an IP Address and I would be able to surf the web. (yah) but if i log into the system as a normal user I don't have an ip address and I can't surf the web. help!

Thanks!

Glennyboi
 
Old 12-17-2003, 10:32 PM   #2
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
you should get an ip address before anyone can login during the boot up so it wouldnt matter if you were root or user.

login as your user and type
/sbin/ifconfig

see if you have a eth0 section if you do check the inet addr it will be on the 2nd line of eth0 section.

if you got that you have an ip address you probly havent set permissions to something and its denying you access to the www but you need to post more info. how do you connect to internet? ie. modem ppp network
 
Old 12-18-2003, 07:28 AM   #3
glennyboi
LQ Newbie
 
Registered: Dec 2003
Location: Winnipeg
Distribution: slackware 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
.... yes I guess your right, my real question should be, how do I give a normal user rights to things like network cards. I am connecting to the internet via a dhcp router that is connected to a cable connection.
 
Old 12-18-2003, 06:17 PM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Uhm... you don't typically. What is it that your user will need to do? The DHCP lease should be aquired at boot time when dhcpcd starts, past this point it's all transparent.

Or have I missed something?

cheers

Jamie...
 
Old 12-18-2003, 09:08 PM   #5
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
ok ... what cant you do then?

you shouldnt have to worry about permissions to a nic. more likely you have 'bad' permissions to your programs. when are you getting this problem?

netscape, galeon, gaim, ftp?

try "ncftp carroll.cac.psu.edu" from the console if you get ncftp: command not found try "ftp carroll.cac.psu.edu" and see if you get a connection. if you do then its the permissions on the programs you are trying to use if not .... ummm Are you behind a firewall?
 
Old 12-18-2003, 09:11 PM   #6
glennyboi
LQ Newbie
 
Registered: Dec 2003
Location: Winnipeg
Distribution: slackware 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
well when I ping from root I can get a result, but when I ping from my normal user I can't get any response....
 
Old 12-18-2003, 09:16 PM   #7
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
what about a ftp program ... ping is typically setuid if users can use it.

Last edited by skog; 12-18-2003 at 10:06 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slackware 10.0 Samba: root can write, user cannot bhicks Slackware 15 11-18-2004 11:46 PM
The_Sims for Linux doesnt run in regular User, but in Root. Slackware issue. RHLinuxGUY Linux - Games 4 11-02-2004 09:35 PM
slackware 10.. root user only gets read only access gtan Slackware 2 09-25-2004 07:51 AM
Created a user account on slackware and now I cant enter root shirokiba Linux - Newbie 2 04-18-2004 07:44 PM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:24 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