* pppd problems on Alpha - anyone?
@ 1998-07-18 4:00 Glen GB
1998-07-20 4:00 ` Keith Hayes
0 siblings, 1 reply; 4+ messages in thread
From: Glen GB @ 1998-07-18 4:00 UTC (permalink / raw)
Hey everyone,
I'm having some weird problems connecting to the 'Net on an Alpha.
What happens it the following:
- Under the 2.0.35 kernel, the ppp server starts off, fires up the
chat script, the chat script sends an 'AT' command and get stuck
waiting for an OK from the modem.
- Under the 2.1.107 kernel, things are a bit more interesting. The
pppd connects, executes the chat script perfectly, then interesting
stuff happens: 'ifconfig' does NOT show any ppp devices, ifconfig ppp0
DOES show the configuration of the ppp0 device, and 'route add default
ppp0' generates a 'SIOCADDRT: Operation not supported by device'
error.
The system config is as follows:
Redhat 5.0, running, as mentioned above, a 2.0.35/2.1.107 kernel on a
DEC Alpha XL300 (== Alcor and _not_ the AlphaXL). The pppd version is
2.3.3 (ripped off of the 5.1 install). The modem is a Motorola
BitSURFR ISDN External, wired through ttyS1.
If anyone has any ideas... please, give me a shout - I'm desperate,
and I'd really love to have the Alpha machine as a gateway rather than
an Intel :)
Thanks
Glen GB
Project LNX Manager
pseudo@nontoxic.org
http://linux.is.nontoxic.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pppd problems on Alpha - anyone?
1998-07-18 4:00 pppd problems on Alpha - anyone? Glen GB
@ 1998-07-20 4:00 ` Keith Hayes
0 siblings, 0 replies; 4+ messages in thread
From: Keith Hayes @ 1998-07-20 4:00 UTC (permalink / raw)
Greetings,
First problem, I'm not too sure of. Maybe you need a "^M"
somewhere in the script?
Second problem, are you sure you have the latest "pppd"
package? Download the "RPM" from www.redhat.com.
I just went through a similar problem, (370Kb).
Keith
Glen GB wrote in message <35b31a55.21178342@news.netcom.ca>...
>Hey everyone,
>
>I'm having some weird problems connecting to the 'Net on an Alpha.
>What happens it the following:
>
>- Under the 2.0.35 kernel, the ppp server starts off, fires up the
>chat script, the chat script sends an 'AT' command and get stuck
>waiting for an OK from the modem.
>
>- Under the 2.1.107 kernel, things are a bit more interesting. The
>pppd connects, executes the chat script perfectly, then interesting
>stuff happens: 'ifconfig' does NOT show any ppp devices, ifconfig ppp0
>DOES show the configuration of the ppp0 device, and 'route add default
>ppp0' generates a 'SIOCADDRT: Operation not supported by device'
>error.
>
>The system config is as follows:
>
>Redhat 5.0, running, as mentioned above, a 2.0.35/2.1.107 kernel on a
>DEC Alpha XL300 (== Alcor and _not_ the AlphaXL). The pppd version is
>2.3.3 (ripped off of the 5.1 install). The modem is a Motorola
>BitSURFR ISDN External, wired through ttyS1.
>
>If anyone has any ideas... please, give me a shout - I'm desperate,
>and I'd really love to have the Alpha machine as a gateway rather than
>an Intel :)
>
>Thanks
>
>Glen GB
>Project LNX Manager
>pseudo@nontoxic.org
>http://linux.is.nontoxic.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: pppd problems on Alpha - anyone?
@ 1998-07-22 4:00 griswold
1998-07-26 4:00 ` Thomas Behrndt
0 siblings, 1 reply; 4+ messages in thread
From: griswold @ 1998-07-22 4:00 UTC (permalink / raw)
I'm having a similar problem. I configured ppp with netcfg (RH 5.1).
The scripts don't work. I traced it down to the command:
/usr/sbin/chat -f /etc/sysconfig/network-scripts/chat-ppp0
It spits out "ATZ" then hangs. My chat file is identical to the one
on my Intel box (RH 5.0). The Intel works fine. Here is the chat
file (names changed to protect the innocent):
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'ATZ'
'OK' 'ATDT5551212'
'CONNECT' ''
'TIMEOUT' '5'
'~--' ''
'ogin:' 'username'
'ord:' 'password'
Right now, I negotiate the connection with minicom, exit without
hanging up, and run:
pppd lock modem crtscts defaultroute /dev/modem 115200 remotename
ppp0 ipparam ppp0
The problem is, this usually hangs up the phone the first time I run
it. I have to renegotiate the connect and run the command again. It
almost always works the second time.
What can I do to fix these problems?
And on a (almost) completely different subject, once I do get chat to
work corectly, is there any way to have it return the connection
speed, similar to what minicom does?
Thanks.
Richard Griswold
Glen GB wrote in message <35b31a55.21178342@news.netcom.ca>...
>Hey everyone,
>
>I'm having some weird problems connecting to the 'Net on an Alpha.
>What happens it the following:
>
>- Under the 2.0.35 kernel, the ppp server starts off, fires up the
>chat script, the chat script sends an 'AT' command and get stuck
>waiting for an OK from the modem.
>
>- Under the 2.1.107 kernel, things are a bit more interesting. The
>pppd connects, executes the chat script perfectly, then interesting
>stuff happens: 'ifconfig' does NOT show any ppp devices, ifconfig ppp0
>DOES show the configuration of the ppp0 device, and 'route add default
>ppp0' generates a 'SIOCADDRT: Operation not supported by device'
>error.
>
>The system config is as follows:
>
>Redhat 5.0, running, as mentioned above, a 2.0.35/2.1.107 kernel on a
>DEC Alpha XL300 (== Alcor and _not_ the AlphaXL). The pppd version is
>2.3.3 (ripped off of the 5.1 install). The modem is a Motorola
>BitSURFR ISDN External, wired through ttyS1.
>
>If anyone has any ideas... please, give me a shout - I'm desperate,
>and I'd really love to have the Alpha machine as a gateway rather than
>an Intel :)
>
>Thanks
>
>Glen GB
>Project LNX Manager
>pseudo@nontoxic.org
>http://linux.is.nontoxic.org
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: pppd problems on Alpha - anyone?
1998-07-22 4:00 griswold
@ 1998-07-26 4:00 ` Thomas Behrndt
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Behrndt @ 1998-07-26 4:00 UTC (permalink / raw)
To: griswold
> It spits out "ATZ" then hangs. My chat file is identical to the one
> '' 'ATZ'
> 'OK' 'ATDT5551212'
The problem is your modem is not returning OK from the ATZ command. I had the
same problem. There are two way to fix this:
quick and dirty:
----------------
delete the line with ATZ
change the next line to:
''ATDT95551212
This will fix the problem since you no longer waiting for a return from ATZ.
However, it means you are not resetting the modem.
proper fix:
-----------
Run minicom.
Enter ATZ. You will find you get a newline displayed, but no OK.
Enter AT&F&W. This will reset the modem to the factory defaults. Most modems
have the correct defaults.
Type ATZ. If you get OK returned, your fixed.
I also noticed in the manual pppd line that you use 115200 as the baud rate.
My modems are older ones which will not except this. I had to drop this to
38400. If you already are getting OK returned by ATZ, try this (you may be able
to use 57600).
Hope this helps,
Thomas
--
Thomas Behrndt behrndt@enternet.com.au
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-26 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-18 4:00 pppd problems on Alpha - anyone? Glen GB
1998-07-20 4:00 ` Keith Hayes
-- strict thread matches above, loose matches on Subject: below --
1998-07-22 4:00 griswold
1998-07-26 4:00 ` Thomas Behrndt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox