Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Noob /etc/conf.d/net.ppp0 question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Sat Jun 07, 2003 2:04 pm    Post subject: Noob /etc/conf.d/net.ppp0 question Reply with quote

I've just set up a ppp connection for my Ipaq and when I tried to use the supplied Gentoo scripts I ran into a problem. At first I had accidentially set peerdns="yes" in /etc/conf.d/net.ppp0 but this results in my resolv.conf getting unreadable by all users except root(permission changes to 640). Even setting it to "no" does not change anything as the ip-up and ip-down scripts have already been written by net.ppp0 and they seem never to be removed.

Is this really the way it is supposed to work and if so why?
Back to top
View user's profile Send private message
b1nd3n14l
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2003
Posts: 80

PostPosted: Sun Jun 08, 2003 11:17 am    Post subject: Reply with quote

Not sure if your still having the problem

take a look at /etc/init.d/net.ppp0 and
/etc/ppp/ip-up and /etc/ppp/ip-down

You could probably add a chown 444 in there if needed...
_________________
Later...Gator...

First ever Gentoo Install: June 5th , 2003
Registered User #12078 at http://counter.li.org
Back to top
View user's profile Send private message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Sun Jun 08, 2003 2:48 pm    Post subject: Reply with quote

Thx for the reply. No I don't have the problem anymore. I set peerdns="no" and removed the ip-up and ip-down scripts. They are not recreated when peerdns is set to no.

My question was more if it is really a bug in /etc/init.d/net.ppp0 to set the permissions(640) so resolv.conf is not readable by normal users?
Back to top
View user's profile Send private message
charlesg3
n00b
n00b


Joined: 04 Dec 2003
Posts: 14
Location: Boulder, Co

PostPosted: Fri Feb 06, 2004 6:30 pm    Post subject: ipaq connecting to gentoo through ppp Reply with quote

I have an ipaq with familiar on it. I am trying to connect through ppp however i keep getting "connect script failed"... (yes, i am logged out on the ipaq which it says to do)... I am trying to use their parameters....

/usr/sbin/pppd /dev/ttyS0 115200 192.168.0.150:192.168.0.240 nodetach noauth proxyarp nocrtscts user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp"

i have tried adding these parameters to a file ... /etc/ppp/peers/ipaq and running pppd -d call ipaq,

additionally i have editied the file /etc/conf.d/net.ppp0 like the following webpage recommeds...
http://www.handhelds.org:8080/wiki/PPPHowto

however... i am always getting 'connect script failed' on my gentoo box when i try to connect.
Back to top
View user's profile Send private message
hairyfeet
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2003
Posts: 118
Location: Århus, Denmark

PostPosted: Mon Feb 09, 2004 9:45 pm    Post subject: Reply with quote

I've not using the connection these days but I remember having the same problems. Are you sure you have compiled all the needed stuff into the kernel? I think I had some problems with this as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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