LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-31-2006, 09:17 PM   #1
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Name resolution works for root not user


I have used linux for a while but, I am unfamiliar with ubuntu and haven't used dial-up in a long time. I'm trying to get my fathers computer running Ubuntu 5.10 to connect to his dial up isp. After some confusion with synaptic saying the ltmodem driver was part of the linux-restricted-modules package when it doesn't, I found and installed the driver; a precompiled binary as the breezy kernel is compiled with a version of gcc thats not the same as whats available through synaptic. Now when I log in as root I can dial in and surf just fine, but when I log in as a normal user DNS doesn't seem to work. I get an IP and I can ping the other end of the connection and the DNS servers in /etc/resolv.conf just fine but nothing with a host name. This happens with wvdial and whatever the network wizard is in ubuntu (could be a gnome thing I'm not familiar with that either.)

Last edited by johnson_steve; 10-31-2006 at 09:21 PM.
 
Old 11-01-2006, 01:14 PM   #2
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi Steve. I don't think I'm going to be much help here, but can confirm that as user DNS works ok on the Ubuntu live cd.Im posting this at the moment on it.

I have 2 machines on a LAN going through a Smoothwall firewall, then through a serial modem to the Internet. I have Kubuntu (the KDE version) amongst other distros, including Gentoo that run on this machine, but just for the sheer hell of it I shut down the Smoothwall, and put the serial modem on one of the machines, then booted up the Ubuntu live cd, and then the fun started, as I don't use Gnome either.

Anyway. I found something called "Network settings", clicked on activate ppp, which brought everything to life, filled in the phone number, user name, and password, then moved to the modem tab, and clicked autodetect, and it found it at ttyS0, which is correct for the serial modem, next went to the DNS tab and put the DNS address in for the ISP, then back to the connections tab, and clicked on activate, which resulted in the modem steaming into action. Opening Firefox I got a website first go. I don't know how to shut down the connection to the ISP, this isn't like Kppp. I could just switch the modem off I suppose.lol.

As for wvdial, I can't even find out how to set that up. According to the man pages I looked at earlier this afternoon, there is supposed to be an /etc/wvdial.conf, and a similar file in the home directory. All that wvdial did when I ran it as user was to say that it couldn't find a modem at /dev/modem, which is true for me as my modem is at ttyS0, but I couldn't find out how to get wvdial to look in other places.
See: man wvdial, and man wvdial.conf

How did you set up the dialup connection? Using the "Network settings" tool? I had no problem setting that up on the Ubuntu live cd as user. The user is predefined as "Ubuntu".

I'm at a bit of a loss. /etc/group shows me as user for the "dialup" group in Kubuntu, and likewise on the Ubuntu live cd, so that should be ok if your running as user, or have sudo'd to root.

Run out of suggestions at the moment.

While I've got the modem on this machine, I'll reboot to my Kubuntu install and see if Kppp is better at setting up connections. I seem to remember that it was.

Nigel. aka farpoint.
 
  


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
Firefox works as Root --not as user 1kyle SUSE / openSUSE 2 08-30-2005 03:48 PM
X won't start as user, works as root... gsk Linux - General 19 10-06-2004 01:25 AM
X only works with root user joe83 Slackware 14 09-06-2004 08:17 AM
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
sound works with root not user shanenin Linux - Software 3 10-29-2003 06:05 PM

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

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