Article View: aus.computers.linux
Article #55225Re: ppp problem with red hat 4.2
From: Dimitri Maziuk
Date: Tue, 08 Jul 1997 00:00
Date: Tue, 08 Jul 1997 00:00
47 lines
2221 bytes
2221 bytes
Emma Erin Beckett wrote:
>
> Hi all,
>
> I am trying to get ppp to work but I'm haveing problems...
>
> I have used the modem configuration program in X to link
> my modem (cua1) to /dev/modem
>
> I then used the network utility to set up the ppp0 interface
> after entering all of the information for phone numbers and
> nameservers and such (I followed the RedHat ppp-tips file)
> I click on the activate button and the modem doesn't even dial.
Try running
pppd connect 'chat "" "ATH1" "OK" "+++" "ATZ"' debug /dev/ttyS1
you should hear the modem go off-hook for a sec.
If not, check if you have pppd & chat installed, and you
have permissions to run it (try running it as root.)
> All that comes up in /var/log/messages is that the connect script failed
> Even when I run the scripts by hand the modem won't dial and the
> results are the same.
"debug" option above helps.
> Please help me in getting my modem to dial!
If the command above works, all you need is to write a chat script.
Note that you can specify pppd options in /etc/ppp/options as well
as on command line, and you can put chatscript in a separate file
and use chat -f <chatscript_filename>.
If you want to run pppd as normal user (non-root) you may have
to create a dialout group (group dip on Debian), add the user to
it, and make pppd sgid dialout -- or use 'su'.
HTH
--
Dimitri
if replying to a Usenet posting,
reply to emaziuk at curtin dot edu dot au
--------------------------------
The views expressed above (hereafter, views) are mine and ownership
remains with me. They are provided "as is" without expressed or
implied warranty of any kind, including, but not limited to, the
implied warranties of the suitability of the views for any purpose.
Technical Details
Message-ID:
<33C122BA.1C4FB761@eris.dev.null>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5pogpk$af5$1@lucy.cc.swin.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102983,bdb7da8991978afd,start X-Google-Attributes: gid102983,public From: Dimitri Maziuk <dima@eris.dev.null> Subject: Re: ppp problem with red hat 4.2 Date: 1997/07/08 Message-ID: <33C122BA.1C4FB761@eris.dev.null> X-Deja-AN: 255291585 References: <5pogpk$af5$1@lucy.cc.swin.edu.au> Organization: Legion of Static Discord Newsgroups: aus.computers.linux