Skip to contentSkip to conversation

PPP Question

DISCUSSION Peter 2 participants 8 messages Sep 24, 2002 – Sep 26, 2002 1 message not in the archive

lore
Share & tools
lore

Peter

author
#0 lore raw

Hi,

I have 3 ISPs of which one with 2 phone numbers (ppp1 and ppp2). Using the command /sbin/ifup pppx I can connect only to ppp0 and ppp1; ppp2 and ppp3 will just sit doing nothing. The same happens using the guis rp3 and usernet, on the window waiting the bar just moves for ever back and forth.

Yet using rp3-config -debug or kppp I can dial-up and connect with all 4 numbers.

Is there an explanation to this and can correction be made that command /sbin/ifup which I prefer can be used for all ppps?

In wvdial.conf all looks correct the same in pap/chap-secret.

Thanks & regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw

Nothing comes to mind based on the info you posted. Perhaps I (or someone) could suggest something if you posted

1. the relevant portions of /etc/interfaces
2. whatever the log files contain about an unsuccessful attempt

I omit the ppp config stuff from this list since you say it works if run directly (or at least I think you are saying that - I've never used kppp so am not *sure* that it relies on the same config files - if not, please post that info too, concealing only your password).

Quoted 7 lines · Peter

Hi,

I have 3 ISPs of which one with 2 phone numbers (ppp1 and ppp2). Using the command /sbin/ifup pppx I can connect only to ppp0 and ppp1; ppp2 and ppp3 will just sit doing nothing. The same happens using the guis rp3 and usernet, on the window waiting the bar just moves for ever back and forth.

Quoted 7 lines

Yet using rp3-config -debug or kppp I can dial-up and connect with all 4 numbers.

Is there an explanation to this and can correction be made that command /sbin/ifup which I prefer can be used for all ppps?

In wvdial.conf all looks correct the same in pap/chap-secret.

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#3 lore raw

Aha,

here are the log messages and wvdial.conf for ppp1 which readily connects and ppp2
which will not connect saying see below

]$ /sbin/ifup ppp2

]# tail /var/log/messages

Sep 25 09:50:00 philonline WvDial: OK 
Sep 25 09:50:00 philonline WvDial: Sending: ATM1L3 
Sep 25 09:50:00 philonline WvDial: ATM1L3 
Sep 25 09:50:00 philonline WvDial: OK 
Sep 25 09:50:00 philonline WvDial: Modem initialized. 
Sep 25 09:50:00 philonline WvDial: Configuration does not specify a valid 
phone number.
Sep 25 09:50:00 philonline WvDial: Configuration does not specify a valid 
login name.
Sep 25 09:50:00 philonline WvDial: Configuration does not specify a valid 
password.
Sep 25 09:50:00 philonline pppd[1466]: Connect script failed
Sep 25 09:50:01 philonline pppd[1466]: Exit

]# cat /etc/wvdial.conf

[Dialer Skyinet-PLDT]
Username = [email protected]
Password =
Phone = 8787111
Inherits = Dialer Defaults
Stupid mode = 0

]$ /sbin/ifup ppp1

]# tail /var/log/messages

Sep 25 09:50:31 philonline WvDial: OK 
Sep 25 09:50:31 philonline WvDial: Modem initialized. 
Sep 25 09:50:31 philonline WvDial: Sending: ATDT 4362222 
Sep 25 09:50:31 philonline WvDial: Waiting for carrier. 
Sep 25 09:50:31 philonline WvDial: ATDT 4362222 
Sep 25 09:50:35 philonline pppd[1541]: Terminating on signal 15.
Sep 25 09:50:35 philonline WvDial: Disconnecting at Wed Sep 25 09:50:35 2002 
Sep 25 09:50:35 philonline pppd[1541]: Serial connection established.
Sep 25 09:50:35 philonline pppd[1541]: Using interface ppp0
Sep 25 09:50:35 philonline pppd[1541]: Connect: ppp0 <--> /dev/ttyS0

]# cat /etc/wvdial.conf

[Dialer Skyinet]
Username = [email protected]
Password =
Phone = 4362222
Inherits = Dialer Defaults
Stupid mode = 0

There is no such file as /etc/interfaces

Now after above exercise I exchanged manually in /etc/wvdial.conf the two telephone numbers and surprise, surprise ppp2 and ppp3 as well as ppp1 connected readily.

I'll be darn, my old boos used to say.

Quoted 24 lines · [email protected] said:

Nothing comes to mind based on the info you posted. Perhaps I (or someone) could suggest something if you posted

1. the relevant portions of /etc/interfaces
2. whatever the log files contain about an unsuccessful
attempt

I omit the ppp config stuff from this list since you say it works if run directly (or at least I think you are saying that - I've never used kppp so am not *sure* that it relies on the same config files - if not, please post that info too, concealing only your password).

At 03:38 PM 9/24/02 +0800, Peter wrote:
Hi,

Quoted 2 lines

I have 3 ISPs of which one with 2 phone numbers (ppp1 and ppp2). Using the >command /sbin/ifup pppx I can connect only to ppp0 and ppp1; ppp2 and ppp3 will just sit doing nothing. The same happens using the guis rp3 and

usernet, on the window waiting the bar just moves for ever back and forth.

Quoted 1 line

Yet using rp3-config -debug or kppp I can dial-up and

connect with all 4 numbers.

Quoted 3 lines

Is there an explanation to this and can correction be made that command >/sbin/ifup which I prefer can be used for all ppps?

In wvdial.conf all looks correct the same in pap/chap-secret.

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#4 lore raw

Glad you got it working. One small correction on what I sent you before.

At 10:31 AM 9/25/02 +0800, Peter wrote:
[...]

Quoted 1 line

There is no such file as /etc/interfaces

Sorry. Make that /etc/network/interfaces .

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#5 lore raw

Thanks Ray!

Quoted 8 lines · [email protected] said:

Glad you got it working. One small correction on what I sent you before.

At 10:31 AM 9/25/02 +0800, Peter wrote: [...]

Quoted 1 line

There is no such file as /etc/interfaces

Sorry. Make that /etc/network/interfaces .

There are no interfaces files in my RH7.2 box /etc/. I had checked it before I sent the message. There is only a /etc/networks which is empty and there is /etc/sysconfig/network.

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#6 lore raw
Quoted 8 lines · Peter

Thanks Ray!

Quoted 4 lines · [email protected] said:

Glad you got it working. One small correction on what I sent you before.

At 10:31 AM 9/25/02 +0800, Peter wrote: [...]

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

There is no such file as /etc/interfaces

Sorry. Make that /etc/network/interfaces .

There are no interfaces files in my RH7.2 box /etc/. I had checked it before I sent the message. There is only a /etc/networks which is empty and there is /etc/sysconfig/network.

Curious. What does your man page for "ifup" say about where it looks for its default interfaces file?

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#7 lore raw
Quoted 2 lines · [email protected] said:

Curious. What does your man page for "ifup" say about where it looks for its default interfaces file?

]$ pinfo ifup
Przemek's Info Viewer v0.5.8
Error: could not open info file, trying manual
Error: No manual page found either.

]$ locate ifup |more
/etc/sysconfig/network-scripts/ifup
/etc/sysconfig/network-scripts/ifup-aliases
/etc/sysconfig/network-scripts/ifup-ipv6
/etc/sysconfig/network-scripts/ifup-plip
/etc/sysconfig/network-scripts/ifup-plusb
/etc/sysconfig/network-scripts/ifup-post
/etc/sysconfig/network-scripts/ifup-ppp
/etc/sysconfig/network-scripts/ifup-routes
/etc/sysconfig/network-scripts/ifup-sit
/etc/sysconfig/network-scripts/ifup-sl
/etc/sysconfig/network-scripts/ifup-wireless
/etc/sysconfig/network-scripts/ifup-ippp
/etc/sysconfig/network-scripts/ifup-isdn
/etc/sysconfig/network-scripts/ifup-cipcb
/sbin/ifup

In /sbin/ifup the word interface does not appear in the script.

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#8 lore raw
Quoted 10 lines · Peter
Quoted 2 lines · [email protected] said:

Curious. What does your man page for "ifup" say about where it looks for its default interfaces file?

]$ pinfo ifup
Przemek's Info Viewer v0.5.8
Error: could not open info file, trying manual
Error: No manual page found either.
[...]
In /sbin/ifup the word interface does not appear in the script.

Oh what fun. On your system (Red Hat? I forget), "/sbin/ifup" is a script. On my (Debian) systems, the same app name, "/sbin/ifup", identifies a binary.

I hate it when stuff this basic becomes both distribution specific -AND- named in ways that invite confusion. Pfui!

--
-------------------------------------------"Never tell me the odds!"--------
Ray Olszewski -- Han Solo
Palo Alto, California, USA [email protected]
-------------------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs