l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social Gathering
Next Installfest:
Sat. Sept. 27, 10am-6pm
Latest News:
Aug. 30: September Installfest scheduled
Page last updated:
2001 Dec 30 17:02
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Nameserver confusion with non-root users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Nameserver confusion with non-root users



On Sun 11 Mar 01,  8:40 PM, Larry Snyder said: 
> Pete,
> 
>     Here are the pieces of the various outputs and files you asked for
> (if they don't screw up wrapping between here and there). As you can see
> the inet addr in the ifconfig output is the same as in the
> /var/log/messages file. But the resolv.conf is just empty comments:
> 
>     #
>     # /etc/resolv.conf
>     #
 
hmmm.   this looks like a problem to me.  it's been awhile since i've
worried about modems, but i'm pretty sure you need nameservers here.

the really odd thing is that you say that root has nameserving.  my guess is
that kppp sets up some kind of nameserving.  it's prolly not 'working' for
your user accounts.

this file should have the form:

search mysearch.edu
nameserver 123.45.67.89
nameserver 123.45.67.80

where mysearch.edu is a kind of default search (not required).  the
nameserver fields are your DNS servers.  you had to enter this into kppp
when you set it up.

> ppp0   Link encap:Point-to-Point Protocol
>        inet addr:168.150.192.101  P-t-P:168.150.253.19  Mask:255.255.255.255

looks good.

> lds@linux:/sbin > route -n
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 168.150.253.19  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         168.150.253.19  0.0.0.0         UG    0      0        0 ppp0
> lds@linux:/sbin >
 
looks ok.

> lds@linux:~ > ls -l /usr/sbin/pppd
> -rwsr-sr--    1 root     dialout    176288 Jan 19 09:41 /usr/sbin/pppd
 
ok, i just wanted to make sure it was suid.

> >From /var/log/messages:
> 
> Mar 11 19:37:08 linux pppd[744]: local  IP address 168.150.192.101
> Mar 11 19:37:08 linux pppd[744]: remote IP address 168.150.253.19

i think we narrowed it down to a nameserving problem.  fix resolv.conf and
see if that helps things.

pete


Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

CD Burns Wanted!

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
California Computer News
Who donated books and ad space.