Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 08:19
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
1.0.5 bug: resolv.conf circular links
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Will

Joined: 01 Oct 2005
Posts: 2

PostPosted: Sat 01 Oct 2005, 19:40    Post subject:  1.0.5 bug: resolv.conf circular links  

Hi. I have just burned a Puppy 1.0.5 CD and am trying it out for the first time. It booted
fine, but I am having network problems. I have ADSL and used TkPPOE to set up networking. I specified DNS from Server, and had to disable synchronous mode to
connect. It connected, but DNS is not working. The cause (or symptom?) is that /etc/resolv.conf is a symbolic link to /etc/ppp/resolv.conf, and /etc/ppp/resolv.conf is a symbolic link to ../resolv.conf.

Any insight on how to fix this?
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11109
Location: The Peoples Republic of California

PostPosted: Sun 02 Oct 2005, 02:11    Post subject:  

Will, I don't know anything about the specifics of the problem you describe. It seems to me, maybe you could make your own resolv.conf in /etc

The format of the file is:

nameserver ipaddress (ipaddress format example: 127.0.0.1)
nameserver ipaddress
nameserver ipaddress


If it gets dynamically updated each time or removed on reboots, maybe you could change the name of the file and add instructions like this in /etc/rc.d/rc.local

cp -f /etc/myresolv /etc/resolv.conf
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 02 Oct 2005, 04:32    Post subject:  

yes, I can't remember exactly, but this problem, and a solution, cam up
in the forum before -- it may be in the previous forum.
So, try searching for it.

I vaguely recall it was an awkward situation, needed a manual change
to the resolv.conf.
Back to top
View user's profile Send private message Visit poster's website 
Will

Joined: 01 Oct 2005
Posts: 2

PostPosted: Mon 03 Oct 2005, 17:26    Post subject:  

Well, I have DNS working, but it's rather strange. First I tried to manually create a /etc/resolv.conf with nameservers I got from my ISP, but when I connected using RO-PPoE, the file reverted to being a link back to /etc/ppp/resolv.conf, so I had the circular link problem again.

I then changed the DNS Setup option in RP-PPPoE from "From Server" to "Specify", and entered the DNS addresses. After connecting, DNS seems to be working all right, but when I look at /etc/resolv.conf, I see two different nameserver addresses than what I specified.

Another odd thing: hitting the "Stop" button in RP-PPPoE terminates (abruptly) the X-session. I can get back into it by typing startx, but I don't think it should do that.

I haven't tried rebooting yet to see if things still work.

- Will
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 03 Oct 2005, 17:38    Post subject:  

Hi,

There is a conflict with resolv.conf from 2 tools of puppy.

I deleted /etc/resolv.conf
and
/etc/ppp/resolv.conf

Then it worked fine for me.
I think I get the DNS-information from my provider.



To use my ADSL, I copied a working /etc/ppp/chap-secrets and /etc/ppp/pppoe.conf from my mandrake to puppy.

Now I can start the connection with "adsl-start" (you can drag it from /usr/sbin to your Desktop in rox).
"adsl-stop" disconnects.

Mark
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0514s ][ Queries: 12 (0.0074s) ][ GZIP on ]