Quote:>I've read articles advising me to purchase a second modem and put in a
>second telephone line to my LINUX machine (RedHat 5.1), if I want to both do
>'diald' out to the Internet and auto-answer for dial-in. I don't really
>want to purchase another modem, or put in another phone line. Is there a
>way to share the modem for these duties?
I don;t know about diald, but what you want is what I do all the time.
I connect out by using a ppp script (see
axion.physics.ubc.ca/ppp-linux.html for details) and have mgetty sitting
there ready to answer when I am not using it. I have it on ringback, so
that normal phone calls can also use the line without getting the modem
screaming at you.
The only important thing is to make sure that you run pppd with the lock
option. Otherwise mgetty goes mad seeing the phone
in use and feeling it should be handling it.
Now, having both diald and mgetty trying to manage the phone can make
things difficult. If diald can be set up to put in a lock file each time
it makes a connection, then it should be fine, and mgetty and diald
should be able to share. (of course one difficulty would come if the
route is left set up to route things through diald and it then tried
tomake the connection when it is already made through mgetty.)
Ie, pppd + mgetty is easy. diald+mgetty I am not sure about.
Quote:>The idea here is, when I'm home, I want to use the modem for the Internet
>access (and it works fine already!). When I'm at work, I'd like access to
>my home network through a dial-in line, bringing up PPP, hopefully, so I can
>have forwarding access to my home network.
>Thanks,
>Dean Weiten.