Networking Forums

Networking Forums > Computer Networking > Linux Networking > ppp: a couple of questions, if you please.

Reply
Thread Tools Display Modes

ppp: a couple of questions, if you please.

 
 
dubal
Guest
Posts: n/a

 
      08-09-2005, 04:39 PM
Hi all,

Back when we used to use sco openserver boxes, it was very easy to
connect them to each other (both ways) using normal external analog
modems demand dial ppp with idle time setting to drop the connection
and either host could initiate dial and bring up the link.

In Linux (RH/Fedora) I tried to set it up using /etc/ppp/ip-up.local to
set up and take out routes but couldn't really make it work reliably.
Can someone please point me to an easy step-by-step procedure to set up
such a thing?

It gets into dial-busy deadlock when both hosts try to dial each other
simultaneously when there is only one modem on each host assigend for
this. But it could happen to SCO as well.

However in SCO, we could set up multiple modems in uucp/Devices file
and their dialer could automatically use the next available modem to
dial out. As regards to dial-in, we could ask the phone company for a
pilot number that could be answered by the next available line in the
group.

The answering part would work in Linux as well. How can we make the
dialer (wvdial or some) to use the next available modem?

SCO uses uucp to connect ppp calls. Is it possible to do the same in
Linux or is there a better way?

Thanks and regards.
J Dubal.

 
Reply With Quote
 
 
 
 
Hans-Juergen Lange
Guest
Posts: n/a

 
      08-12-2005, 10:55 AM
dubal wrote:
> Hi all,
>
> Back when we used to use sco openserver boxes, it was very easy to
> connect them to each other (both ways) using normal external analog
> modems demand dial ppp with idle time setting to drop the connection
> and either host could initiate dial and bring up the link.
>
> In Linux (RH/Fedora) I tried to set it up using /etc/ppp/ip-up.local to
> set up and take out routes but couldn't really make it work reliably.
> Can someone please point me to an easy step-by-step procedure to set up
> such a thing?
>
> It gets into dial-busy deadlock when both hosts try to dial each other
> simultaneously when there is only one modem on each host assigend for
> this. But it could happen to SCO as well.
>
> However in SCO, we could set up multiple modems in uucp/Devices file
> and their dialer could automatically use the next available modem to
> dial out. As regards to dial-in, we could ask the phone company for a
> pilot number that could be answered by the next available line in the
> group.
>
> The answering part would work in Linux as well. How can we make the
> dialer (wvdial or some) to use the next available modem?
>
> SCO uses uucp to connect ppp calls. Is it possible to do the same in
> Linux or is there a better way?
>
> Thanks and regards.
> J Dubal.
>


Hello,

if I understand it the right way. Your problem is, that you have several
modems on your machine and what to use the next free modem for the a new
outgoing demanded connection ?

Dial on Demand should be done with the connection timeout parameter in pppd.

The used lines maybe available in lockfiles written by the pppd. The
last time i did care about ppp-connection is some years ago. But I will
try to help you.

BR
Hans-Juergen Lange
 
Reply With Quote
 
Clifford Kite
Guest
Posts: n/a

 
      08-12-2005, 05:41 PM
dubal <(E-Mail Removed)> wrote:

> Back when we used to use sco openserver boxes, it was very easy to
> connect them to each other (both ways) using normal external analog
> modems demand dial ppp with idle time setting to drop the connection
> and either host could initiate dial and bring up the link.


> In Linux (RH/Fedora) I tried to set it up using /etc/ppp/ip-up.local to
> set up and take out routes but couldn't really make it work reliably.
> Can someone please point me to an easy step-by-step procedure to set up
> such a thing?


That's a bit vague but...

1. Use the full path name for route and ifconfig.
2. Take down any routing to be replaced.
3. Setup the replacement routing.
4. Bring up the downed routing in /etc/ppp/ip-down.

(Perhaps /etc/ppp/ip-{up,down}.local would work the same way but those
are fluff created by some distributors - I've never been sure why.)

For example, if pppd is set up for demand dialout using the PPP
interface ppp0 and a PPP interface is brought up in another way then,
to replace the demand default route with one to the new interface's
remote IP address, put

/sbin/route del default ppp0
/sbin/route add default gw $IPREMOTE $IFNAME

in /etc/ppp/ip-up, and to restore demand capability, put

/sbin/route add default gw 10.112.112.113 dev ppp0

in /etc/ppp/ip-down, assuming the demand option's default remote IP
address, 10.112.112.113, is used by the ppp0 interface.

The reason for deleting and restoring the demand default route rather
than depending on a new default route overriding the old is that when
I tried it (quite awhile ago) just overriding seemed to bugger routing
- YMMV.

> It gets into dial-busy deadlock when both hosts try to dial each other
> simultaneously when there is only one modem on each host assigend for
> this. But it could happen to SCO as well.


As is true for any OS.

> However in SCO, we could set up multiple modems in uucp/Devices file
> and their dialer could automatically use the next available modem to
> dial out. As regards to dial-in, we could ask the phone company for a
> pilot number that could be answered by the next available line in the
> group.


> The answering part would work in Linux as well. How can we make the
> dialer (wvdial or some) to use the next available modem?


I've never used it but the pppd RADIUS plugins, radius.so, radattr.so,
and possibly radrealms.so, might provide a solution. Check the man
pages in the pppd/plugins/radius directory of the pppd 2.4.3 source.

> SCO uses uucp to connect ppp calls. Is it possible to do the same in
> Linux or is there a better way?


Not sure, never used uucico. Maybe mgetty?

--
Clifford Kite Email: "echo xvgr_yvahk-(E-Mail Removed)|rot13"
 
Reply With Quote
 
dubal
Guest
Posts: n/a

 
      08-13-2005, 01:25 PM
Many thanks for the replies.
I will do some homework based on these and get back here.
Regards.
J Dubal.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple of questions regarding RRAS routing MikeDee Windows Networking 3 07-03-2008 06:28 AM
couple of WPA passphrase questions speeder Wireless Internet 3 09-01-2005 09:16 PM
A couple of dumb questions... Freddie Wireless Internet 2 11-15-2004 01:15 PM
A couple of really dumb questions... Mike Wireless Internet 5 10-11-2004 04:01 AM
Couple of adsl router (DG834G) questions..... [ste parker] Home Networking 2 09-03-2004 08:09 AM



1 2 3 4 5 6 7 8 9 10 11