* Specifing Hays Extended Command Set in PPP 2.4.1
@ 2004-06-08 23:14 Frank Krauss
2004-06-08 23:41 ` Bill Unruh
2004-06-10 16:04 ` Frank Krauss
0 siblings, 2 replies; 3+ messages in thread
From: Frank Krauss @ 2004-06-08 23:14 UTC (permalink / raw)
To: linux-ppp
Hello everyone,
I'm attempting to specify a value in a CHAT Script for an AT command
that has a & in it.
This is because it is a Hays Extended Command Set value. For example:
"" ATX1&S1E1Q0
Whenever I specify this type of command in a String, I get the
following message:
Can't get terminal parameters: inappropriate IOCTL for device
If I remove the command with the & in it, the rest of the command runs fine.
I know that the command itself is good since when I run it under MINCOM,
the entire stmt runs fine.
The reason that I have to enter this type of command is because I'm attempting
to get a US Robotics Sportster External 56K Fax Modem to work under Linux
and I need to specify this type of Command in my Chat Script.
My DIP Switch setting are as follows:
1. Up 5. Up
2. Up 6. Up
3. Up 7. Up
4. Down 8. Down
My Environment is the following:
1. Computer is a Pentium II.
2. Distribution is Caldera 2.3
3. Kernel is 2.4.22
4. PPP is 2.4.1
Would someone be able to tell me what my mistake is or how I can get around
this problem?
Yours truly,
Frank Krauss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Specifing Hays Extended Command Set in PPP 2.4.1
2004-06-08 23:14 Specifing Hays Extended Command Set in PPP 2.4.1 Frank Krauss
@ 2004-06-08 23:41 ` Bill Unruh
2004-06-10 16:04 ` Frank Krauss
1 sibling, 0 replies; 3+ messages in thread
From: Bill Unruh @ 2004-06-08 23:41 UTC (permalink / raw)
To: linux-ppp
On Tue, 8 Jun 2004, Frank Krauss wrote:
> Hello everyone,
>
> I'm attempting to specify a value in a CHAT Script for an AT command
> that has a & in it.
>
> This is because it is a Hays Extended Command Set value. For example:
> "" ATX1&S1E1Q0
>
> Whenever I specify this type of command in a String, I get the
> following message:
>
> Can't get terminal parameters: inappropriate IOCTL for device
>
> If I remove the command with the & in it, the rest of the command runs fine.
> I know that the command itself is good since when I run it under MINCOM,
> the entire stmt runs fine.
"" 'ATX1&S1E1Q0'
Try putting it in quotes. The shell is probably interpreting the &
rather than its being sent to the chat script ( give the chat script the
-v option, make sure that you have
local2.*;daemon.* /var/log/ppplog
in /etc/syslog.conf and see what is actually sent to the modem)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Specifing Hays Extended Command Set in PPP 2.4.1
2004-06-08 23:14 Specifing Hays Extended Command Set in PPP 2.4.1 Frank Krauss
2004-06-08 23:41 ` Bill Unruh
@ 2004-06-10 16:04 ` Frank Krauss
1 sibling, 0 replies; 3+ messages in thread
From: Frank Krauss @ 2004-06-10 16:04 UTC (permalink / raw)
To: linux-ppp
Hello Bill,
Thank you very much for your feedback.
That was exactly my problem. I had to put anything that had special
characters within Single Quotes. Then It worked perfect.
Just for your Information, concerning this particular Modem,
I had to specify the exact same string as my first set of AT commands
as was created by the MINICOM program when it iniatializes the Modem.
When I specified that String as my first one, the Modem is now working
great with PPP/CHAT.
Thank you again for your great information.
Yours truly,
Frank
===========================
On Tuesday 08 June 2004 19:41, Bill Unruh wrote:
> On Tue, 8 Jun 2004, Frank Krauss wrote:
> > Hello everyone,
> >
> > I'm attempting to specify a value in a CHAT Script for an AT command
> > that has a & in it.
> >
> > This is because it is a Hays Extended Command Set value. For example:
> > "" ATX1&S1E1Q0
> >
> > Whenever I specify this type of command in a String, I get the
> > following message:
> >
> > Can't get terminal parameters: inappropriate IOCTL for device
> >
> > If I remove the command with the & in it, the rest of the command runs
> > fine. I know that the command itself is good since when I run it under
> > MINCOM, the entire stmt runs fine.
>
> "" 'ATX1&S1E1Q0'
>
> Try putting it in quotes. The shell is probably interpreting the &
> rather than its being sent to the chat script ( give the chat script the
> -v option, make sure that you have
> local2.*;daemon.* /var/log/ppplog
> in /etc/syslog.conf and see what is actually sent to the modem)
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-10 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-08 23:14 Specifing Hays Extended Command Set in PPP 2.4.1 Frank Krauss
2004-06-08 23:41 ` Bill Unruh
2004-06-10 16:04 ` Frank Krauss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).