Re: [expert] Problem with ifup ppp0 in LM 8.0

2001-06-13 Thread Paul Cox

On Wednesday, Jun 13, 2001, CHARDON,LUIS (HP-PuertoRico,ex1) wrote:

> Hi, finally last night I could get it working as you said, using Mandrake
> Configuration Tool, but I had to erase first the connection created by
> Linuxconf.

Oh yeah, I gorgot to mention you need to remove the one you created with
Linuxconf first.  Oops. =)

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4 2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 12 days 14 hours 2 minutes.




Re: [expert] Problem with ifup ppp0 in LM 8.0

2001-06-13 Thread Tommi

Bruno Damour wrote:

> Hi,
>
> I recently installed LM 8.0 (fresh install) after running LM 7.2 for some time.
> I used to have my pppd configured with ON DEMAND (DEMAND=yes in ifcfg-ppp0) so
> that i could just connect to the net (USR 56K Message Modem) pinging my fai.
> This would also allow me (together w/ ipchains) to connect on demand from my
> other station (I have 2 stations connected).
>
> Now it just hangs if I run 'ifup ppp0'. That is, the syslog shows that the if
> is going up w/ the dummy addresses normally but the prompt never comes back.
> I tried to ping and it works (the connection starts normally and _then_ the
> prompt comes back...
>
> What could be the problem ? I traced the problem to this line in ifup-ppp :
>  ppp-watch ppp0 ifcfg-ppp0
> It could be some paramater in the ifcfg-ppp0 ? but everything works fine if I
> run kppp or even if i just comment out the DEMAND line in ifcfg-ppp0.
>
> Has anyone an idea or encountered the same type of problem ?
>
> TIA.

i Have the same prob





Re : [expert] Problem with ifup ppp0 in LM 8.0

2001-06-12 Thread Bruno Damour

I puzzled yesterday w/ my ifup-ppp without any success.
I just checked the CVS for initscripts.
It seems that in 7.2 ifup-ppp :
1) did not run ppp-watch when ifcf-ppp0 had DEMAND=yes
2) did a shift before invoking ppp-watch "${DEVICE}" "$@"

Does anyone know the meaning of this change ?
Shouldn't we insert a shift before calling ppp-watch ?

Someone must know...

TIA




RE: [expert] Problem with ifup ppp0 in LM 8.0

2001-06-12 Thread CHARDON,LUIS (HP-PuertoRico,ex1)

I tried that already and it didn't work either. My only solution was to
install wvdial and use it instead of ifup ppp0 on my connection script.

Luis

-Original Message-
From: Paul Cox [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Problem with ifup ppp0 in LM 8.0


On Monday, Jun 11, 2001, CHARDON,LUIS (HP-PuertoRico,ex1) wrote:

> I have the same problem on 8.0 and also traced it back to the ppp-watch
> line. I tried to run it manually and it does not work either. I had the
same
> problem the first time I installed 7.2, but I solved it by removing the
> WVDIAL... variable in the ifcfg-ppp0 file, and then it worked. It seems to
> have some problems that it tries to use wvdial, but wvdial does not come
> with the Mandrake distro., it comes with RedHat. I installed wvdial to see
> if it solves this problem, and it does not work either.
> 
> I've also seen a weird behavior prior installing wvdial. Everytime you run
> an ifup ppp0 a file named /etc/ppp/peers/ppp0 is created and the contents
> have
> 
> connect "/usr/bin/wvdial --remotename ppp0 --chat prtc.net"
> 
> I don't know if ppp-watch reads this file and that is the problem.

You need to use the Networking tab in Mandrake Control Center to setup
your ppp... if you use Linuxconf, it won't be configured right.  I
figured this out by trial and error (and have posted this before so
please check the list archives next time).

Anyway, yes, /etc/ppp/peers/ppp0 does get used, and here is the contents
of mine (notice the difference):

connect "/usr/sbin/chat  -f /etc/sysconfig/network-scripts/chat-ppp0"

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4 2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 10 days 15 hours 5 minutes.




Re: [expert] Problem with ifup ppp0 in LM 8.0

2001-06-11 Thread Paul Cox

On Monday, Jun 11, 2001, CHARDON,LUIS (HP-PuertoRico,ex1) wrote:

> I have the same problem on 8.0 and also traced it back to the ppp-watch
> line. I tried to run it manually and it does not work either. I had the same
> problem the first time I installed 7.2, but I solved it by removing the
> WVDIAL... variable in the ifcfg-ppp0 file, and then it worked. It seems to
> have some problems that it tries to use wvdial, but wvdial does not come
> with the Mandrake distro., it comes with RedHat. I installed wvdial to see
> if it solves this problem, and it does not work either.
> 
> I've also seen a weird behavior prior installing wvdial. Everytime you run
> an ifup ppp0 a file named /etc/ppp/peers/ppp0 is created and the contents
> have
> 
> connect "/usr/bin/wvdial --remotename ppp0 --chat prtc.net"
> 
> I don't know if ppp-watch reads this file and that is the problem.

You need to use the Networking tab in Mandrake Control Center to setup
your ppp... if you use Linuxconf, it won't be configured right.  I
figured this out by trial and error (and have posted this before so
please check the list archives next time).

Anyway, yes, /etc/ppp/peers/ppp0 does get used, and here is the contents
of mine (notice the difference):

connect "/usr/sbin/chat  -f /etc/sysconfig/network-scripts/chat-ppp0"

-- 
[EMAIL PROTECTED], ICQ#: 25370820, OpenPGP key at www.keyserver.net
1024D/39F0BBF4 2024 B7CB 10BF 6BE7 2ECE  E0FD 1360 0181 39F0 BBF4

Current Linux uptime: 10 days 15 hours 5 minutes.




RE: [expert] Problem with ifup ppp0 in LM 8.0

2001-06-11 Thread CHARDON,LUIS (HP-PuertoRico,ex1)

I have the same problem on 8.0 and also traced it back to the ppp-watch
line. I tried to run it manually and it does not work either. I had the same
problem the first time I installed 7.2, but I solved it by removing the
WVDIAL... variable in the ifcfg-ppp0 file, and then it worked. It seems to
have some problems that it tries to use wvdial, but wvdial does not come
with the Mandrake distro., it comes with RedHat. I installed wvdial to see
if it solves this problem, and it does not work either.

I've also seen a weird behavior prior installing wvdial. Everytime you run
an ifup ppp0 a file named /etc/ppp/peers/ppp0 is created and the contents
have

connect "/usr/bin/wvdial --remotename ppp0 --chat prtc.net"

I don't know if ppp-watch reads this file and that is the problem.

Regards,

Luis

-Original Message-
From: Bruno Damour [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 11, 2001 5:00 AM
To: [EMAIL PROTECTED]
Subject: [expert] Problem with ifup ppp0 in LM 8.0


Hi,

I recently installed LM 8.0 (fresh install) after running LM 7.2 for some
time.
I used to have my pppd configured with ON DEMAND (DEMAND=yes in ifcfg-ppp0)
so 
that i could just connect to the net (USR 56K Message Modem) pinging my fai.

This would also allow me (together w/ ipchains) to connect on demand from my

other station (I have 2 stations connected).

Now it just hangs if I run 'ifup ppp0'. That is, the syslog shows that the
if 
is going up w/ the dummy addresses normally but the prompt never comes back.
I tried to ping and it works (the connection starts normally and _then_ the 
prompt comes back...

What could be the problem ? I traced the problem to this line in ifup-ppp :
 ppp-watch ppp0 ifcfg-ppp0
It could be some paramater in the ifcfg-ppp0 ? but everything works fine if
I 
run kppp or even if i just comment out the DEMAND line in ifcfg-ppp0.

Has anyone an idea or encountered the same type of problem ?

TIA.




[expert] Problem with ifup ppp0 in LM 8.0

2001-06-11 Thread Bruno Damour

Hi,

I recently installed LM 8.0 (fresh install) after running LM 7.2 for some time.
I used to have my pppd configured with ON DEMAND (DEMAND=yes in ifcfg-ppp0) so 
that i could just connect to the net (USR 56K Message Modem) pinging my fai. 
This would also allow me (together w/ ipchains) to connect on demand from my 
other station (I have 2 stations connected).

Now it just hangs if I run 'ifup ppp0'. That is, the syslog shows that the if 
is going up w/ the dummy addresses normally but the prompt never comes back.
I tried to ping and it works (the connection starts normally and _then_ the 
prompt comes back...

What could be the problem ? I traced the problem to this line in ifup-ppp :
 ppp-watch ppp0 ifcfg-ppp0
It could be some paramater in the ifcfg-ppp0 ? but everything works fine if I 
run kppp or even if i just comment out the DEMAND line in ifcfg-ppp0.

Has anyone an idea or encountered the same type of problem ?

TIA.