Answering modem in 6.2.1 ?

G’day Folks,

In QNX 4.xx we used “modem” to answer incoming calls and then start pppd
etc.

What are people doing with 6.2.1 given that there is no “modem” utility. Is
there a getty or a ported version of modem available ?

Thanks in advance.

Matt

Matt McHugh <mattgreeneggswithspam@ruzz.com> wrote:
MM > G’day Folks,

MM > In QNX 4.xx we used “modem” to answer incoming calls and then start pppd
MM > etc.

MM > What are people doing with 6.2.1 given that there is no “modem” utility. Is
MM > there a getty or a ported version of modem available ?

MM > Thanks in advance.

MM > Matt

You might consider letting tinit start a script that starts pppd.
I haven’t done this, but if I had to try it this is what I would do.


Bill Caroselli – Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

G’day Bill,

I 4.xx that is exactly what you did. Problem is that you used the modem
utility as an argument to tinit. Modem doesn’t exist in the 6.2.1 package.

Matt


“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:bn0o16$hlf$5@inn.qnx.com

Matt McHugh <> mattgreeneggswithspam@ruzz.com> > wrote:
MM > G’day Folks,

MM > In QNX 4.xx we used “modem” to answer incoming calls and then start
pppd
MM > etc.

MM > What are people doing with 6.2.1 given that there is no “modem”
utility. Is
MM > there a getty or a ported version of modem available ?

MM > Thanks in advance.

MM > Matt

You might consider letting tinit start a script that starts pppd.
I haven’t done this, but if I had to try it this is what I would do.


Bill Caroselli – Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt

Hi Matt…

I hope that all is well.

I wonder if you would not mind making your mgetty port available? I am
interested in this as well, and I figure a few others would be
interested as well. Did you compile off-the-box, or did you have to
modify some things? Your comments and help are appreciated it. Thanks.

Regards…

Miguel.



Matt McHugh wrote:

G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt

Hi Miguel,

We don’t have anywhere suitable to host a public repository however I am
happy to send you the QPR if you let me know an appropriate email address.

The port is fairly easy but not trivial in that the mgetty source is
hardwired for various different OS rather than using configure.

While on the subject, can someone please remind me where/how we should
submit stuff for inclusion on the 3rd party CD/repository? We now have
mgetty and a few other things ported which may be of some value to others.

Rob Rutherford (on behalf of Matt)
Ruzz Technology

On Tue, 28 Oct 2003 14:33:14 -0500, Miguel Simon wrote:

Hi Matt…

I hope that all is well.

I wonder if you would not mind making your mgetty port available? I am
interested in this as well, and I figure a few others would be
interested as well. Did you compile off-the-box, or did you have to
modify some things? Your comments and help are appreciated it. Thanks.

Regards…

Miguel.



Matt McHugh wrote:
G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt

While on the subject, can someone please remind me where/how we should
submit stuff for inclusion on the 3rd party CD/repository? We now have
mgetty and a few other things ported which may be of some value to others.

Feel free to send it to me (cdm@qnx.com) or Dave Rempel (drempel@qnx.com)
or both. :wink: Please include sources if you don’t own the (c) on the project
in question.

chris

\

Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Mr. McHugh, could I know more about this? I’m know trying to make my Neutrino 6.2.1B installed PC as a dial-up server. I’m actually new on this matter. I got some help from the OpenQNX community. They suggest me to use the ‘chat’ tool and I set my PC according to the steps they showed me, but I still failed. Now I’m hoping this ‘mgetty’ thing can do better and easier. Can’t it? :slight_smile:. Please tell me…

TIA
–meph++

“Matt McHugh” <mattgreeneggswithspam@ruzz.com> wrote in message news:bn7uf6$ja4$1@inn.qnx.com

G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt

FYI - you can use chat with PPP wrapped in a shell script (ksh) to restart
the whole thing.

ie.

#!/bin/sh

while [ true ]; do
pppd connect ‘chat -v -f./answer_modem.scr’ nodetach auth +chap
10.99.99.1:10.99.99.2 /dev/ser1
done

The ‘answer_modem.scr’ file would look something like:

ABORT ‘NO CARRIER’
ABORT ‘ERROR’
ABORT ‘BUSY’

RING ATA
CONNECT ‘\d\d\d’

Note: take out the auth +chap options to pppd if you don’t want CHAP
authentication.

Figured I’d add another way to this list, just for fun.

-Adam

Matt McHugh <mattgreeneggswithspam@ruzz.com> wrote in message
news:bmvf1m$l5n$1@inn.qnx.com

G’day Folks,

In QNX 4.xx we used “modem” to answer incoming calls and then start pppd
etc.

What are people doing with 6.2.1 given that there is no “modem” utility.
Is
there a getty or a ported version of modem available ?

Thanks in advance.

Matt

Hi Robert…

Thanks for your answer. Please, feel free to send your QPR to the
address that shows when I post (simon@ou.edu). I appreciate this, and
also your effort which will benefit many others. Thanks.

Regards…

Miguel.


Robert Rutherford wrote:

Hi Miguel,

We don’t have anywhere suitable to host a public repository however I am
happy to send you the QPR if you let me know an appropriate email address.

The port is fairly easy but not trivial in that the mgetty source is
hardwired for various different OS rather than using configure.

While on the subject, can someone please remind me where/how we should
submit stuff for inclusion on the 3rd party CD/repository? We now have
mgetty and a few other things ported which may be of some value to others.

Rob Rutherford (on behalf of Matt)
Ruzz Technology

On Tue, 28 Oct 2003 14:33:14 -0500, Miguel Simon wrote:


Hi Matt…

I hope that all is well.

I wonder if you would not mind making your mgetty port available? I am
interested in this as well, and I figure a few others would be
interested as well. Did you compile off-the-box, or did you have to
modify some things? Your comments and help are appreciated it. Thanks.

Regards…

Miguel.



Matt McHugh wrote:

G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt

Hi Chris…

I wonder, have you received the qpr + source code, and have you posted
them in the public repository? Last time I checked, you had not. Thanks.

Regards…

Miguel.


Chris McKillop wrote:

While on the subject, can someone please remind me where/how we should
submit stuff for inclusion on the 3rd party CD/repository? We now have
mgetty and a few other things ported which may be of some value to others.



Feel free to send it to me (> cdm@qnx.com> ) or Dave Rempel (> drempel@qnx.com> )
or both. > :wink: > Please include sources if you don’t own the (c) on the project
in question.

chris

Sorry I’ve been out of town for a few days…

The QPR + source is on its way to Miguel + CDM + DaveR

Hopefully it will be on the QNX repository soon. We are having no problems
with it and find it much easier than messing around with PPP+chat.

Robert


On Sat, 08 Nov 2003 03:04:02 -0500, Miguel Simon wrote:

Hi Robert…

Thanks for your answer. Please, feel free to send your QPR to the
address that shows when I post (> simon@ou.edu> ). I appreciate this, and
also your effort which will benefit many others. Thanks.

Regards…

Miguel.


Robert Rutherford wrote:
Hi Miguel,

We don’t have anywhere suitable to host a public repository however I am
happy to send you the QPR if you let me know an appropriate email address.

The port is fairly easy but not trivial in that the mgetty source is
hardwired for various different OS rather than using configure.

While on the subject, can someone please remind me where/how we should
submit stuff for inclusion on the 3rd party CD/repository? We now have
mgetty and a few other things ported which may be of some value to others.

Rob Rutherford (on behalf of Matt)
Ruzz Technology

On Tue, 28 Oct 2003 14:33:14 -0500, Miguel Simon wrote:


Hi Matt…

I hope that all is well.

I wonder if you would not mind making your mgetty port available? I am
interested in this as well, and I figure a few others would be
interested as well. Did you compile off-the-box, or did you have to
modify some things? Your comments and help are appreciated it. Thanks.

Regards…

Miguel.



Matt McHugh wrote:

G’day again folks,

After mucking around with “Chat” and PPP we decided to port “mgetty” to work
with QNX 6. This works rather well. Mgetty when compiled with the AUTO_PPP
option, will answer the phone and run pppd with args as specified in
“options” file. Also this runs quite well from tinit after editing the tinit
config file.

Matt