View previous topic :: View next topic |
Author |
Message |
hairyfeet Tux's lil' helper

Joined: 07 Jan 2003 Posts: 118 Location: Århus, Denmark
|
Posted: Sat Jun 07, 2003 2:04 pm Post subject: Noob /etc/conf.d/net.ppp0 question |
|
|
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 |
|
 |
b1nd3n14l Tux's lil' helper

Joined: 06 Jun 2003 Posts: 80
|
Posted: Sun Jun 08, 2003 11:17 am Post subject: |
|
|
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 |
|
 |
hairyfeet Tux's lil' helper

Joined: 07 Jan 2003 Posts: 118 Location: Århus, Denmark
|
Posted: Sun Jun 08, 2003 2:48 pm Post subject: |
|
|
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 |
|
 |
charlesg3 n00b


Joined: 04 Dec 2003 Posts: 14 Location: Boulder, Co
|
Posted: Fri Feb 06, 2004 6:30 pm Post subject: ipaq connecting to gentoo through ppp |
|
|
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 |
|
 |
hairyfeet Tux's lil' helper

Joined: 07 Jan 2003 Posts: 118 Location: Århus, Denmark
|
Posted: Mon Feb 09, 2004 9:45 pm Post subject: |
|
|
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 |
|
 |
|