ok. here we go. Back in Denver. And once again. Thanks.
> > Or better yet. Could someone explain the chain of events after I press
> > connect. I assume the PPP interface looks for /dev/modem and is
> referred to
> > ttyS1 which is how I have it set.
>
> ls -l /dev/modem
ls: -l /dev/modem: No such file or directory.
> and _see_ how you have it set.
I'd create one but I don't even know what it should say. Errrr....
> Oh oh. It sounds like you are using a GUI. If someone who knows what
> he is doing set up the GUI, it is a useful trick to hide what is going
> on so the user isn't frightened by it. If a GUI set up the GUI...
I remember a post you sent in a couple days ago downing GUI's. So I knew
this one was coming. I'm not to hyped on GUIs but being a Mac user.....
well..... BUT regardless. Thanks to Richard I have dropped the GUI and am
now command line.
> The PPP interface looks where you tell it to look. Somewere, inside of
> all these wrappers, something executes
>
> pppd <options> device [speed]
Can I do this directly?
> For me it is easier to find the
> config files and scripts and edit them by hand than to find the right
> widget. Many people find the PPP-HOWTO confusing. I'd go with man
> pppd and maybe the modem manual if you have one.
I am sure I've been there. But I'll look it up. I don't want to seem like a
begger. Like I said I have spent many hours on this before asking for help.
> Let's back up 9 yards and punt. Can you find the modem with minicom or
> cu -l /dev/ttyS1
cu: open (/dev/ttyS1): Permission denied
cu: /dev/ttyS1: Line in use
> minicom can be set (control-a o or minicom -s) to use either /dev/modem
> or the real modem device. I think /dev/modem just adds confusion.
Ok. I'm in minicom and went to "Modem and dialing". Something here looks
curious.
Option M - Dial time ............. 45
Is this seconds or minute? Is this time needed?
And:
A - Serial Devide : /dev/modem
I changed that to /dev/ttyS1
If I don't need /dev/modem then I'll skip that altogether and stick with
/dev/ttyS1. (I think that's the port, if not I can use trial and error, is
there a way to find out?)
> will the modem answer
> ATH
> OK
I'm sorry you lost me here. I don't see an option for this in minicom. And
it's not a command. Sorry.
> ? All right, we have a modem. That's all the use I have for minicom.
> Don't even think about trying to login to your ISP with it. I don't
> care what the HOWTO says.
> Okay, normally the pppd command will have a connect <filename>parameter.
> kppp might do it differently, in which case I'd recommend not using kppp.
> Set it up right, it's just one little command from the console, or an
> xterm, if you must have X.
Ok... no kppp. I promise. And definately o X.
> pppd connects stdin and stdout to the modem and executes the file named
> in the connect parameter.
stdin and stdout (does that mean standard in/out?). Are these files?
> This is normally a chat script that
> initializes the modem, dials the ISP, logs in, and exits. pppd can then
> commence negotiating with the peer on the other end of the line. If you
> use chap or pap, you must tell pppd about it in /etc/ppp/chap-secrets or
> pap-secrets.
pap-secret says:
# # Added by linuxconf
<my login> ppp0 <my password>
# Secrets for authentication using PAP
# client server secret IP addresses
Is the last line sopposed to act as a header for entering data? And will
pppd recognize the line that was added by linuxconf? BTW, <my login> and <my
password> are the correct values in the file.
> pppd writes messages to syslog. Normally /var/log/messages, I think,
> but then I have changed /etc/syslog.conf so _everything_ goes to
> /var/log/messages and /dev/tty8. That's the way I like it. They are
> quite useful and informative messages, really, if you can find them.
/var/log/messages is empty.
/etc/syslof.conf says anything of level info or higher goes to
/var/log/messages (am I looking at the right line?)
So how do you initiate the ISP connection from the "[root@ /root]#" prompt.
Once again thanks. I am really learning a lot. How do I repay you guys for
this help? Once I know what I'm doing I can hang on this list and return the
help to others, but that isn't gonna do much for you.
John
> > I'm on a Packard-Hell (as Lawson called it) and my modem is in the
> second
> > ISA slot.
> >
> > I've been through so many howto's and man's that I could never list the
> > things I've tried in order to solve this. I haven't found anything that
> > explains the event list.
> >
> > John Starkey wrote:
> >
> > > Can anyone tell me what Red Hat changed from v4.2 to 6.1 with regards
> to
> > > accessing the modem.
> > >
> > > I've managed to get it to work once. And not since.
> > >
> > > In 4.2 there was no problem with this at all.
> > >
> > > TIA,
> > >
> > > John
> >
> By this time you probably have this solved and I have been wasting my
> time to write this diatribe, but in case it might help :-)
>
> Lawson
>
> Don't get suckered in by the comments -- they can be terribly
> misleading. Debug only code.
> -- Dave Storer
>
> ___________________________________________________________________
> Why pay more to get Web access?
> Try Juno for FREE -- then it's just $9.95/month if you act NOW!
> Get your free software today: http://dl.www.juno.com/dynoget/tagj.