Problem with pppd & USR Sportster 33.6

Problem with pppd & USR Sportster 33.6

Post by David Efflan » Mon, 06 Jul 1998 04:00:00




>I am using RedHat5.0, pppd & chat to connect to my ISP (IBM). I don't
>know why the modem hangshup (or pppd gets SIGHUP).
>Has anybody a clue? Do you need more info to help me?

If 'kdbug 7' or 'debug' pppd options do not show you any more, make
sure that if it is a pnp modem that you use isapnp to set the port and
irq and then setserial to tell Linux about it (usually in
/etc/rc.d/rc.serial wihich is run automatically if you create it and
give it read/execute permission).  Before I set up isapnp for my
modem, Linux would dial my ISP, and appear to just sit there (not sure
if it disconnected right away).

If your pap was not set up properly, /var/log/messages should have
mentioned pap authentication failure.

If you are trying to dial into a company machine that uses chap80
(like certain WinNT versions), good luck.  I have not been able to get
that to work.

David Efflandt/Elgin, IL USA

 
 
 

Problem with pppd & USR Sportster 33.6

Post by Christopher Skriva » Mon, 06 Jul 1998 04:00:00



> I am using RedHat5.0, pppd & chat to connect to my ISP (IBM). I don't
> know why the modem hangshup (or pppd gets SIGHUP).
> Has anybody a clue? Do you need more info to help me?

> Nicolas

> PS: tail of /var/adm/messages

> Jul  5 13:19:10 localhost pppd[450]: pppd 2.3.3 started by root, uid 0
> Jul  5 13:19:11 localhost chat[451]: send (AT&F1^M)
> Jul  5 13:19:11 localhost chat[451]: expect (OK)
> Jul  5 13:19:11 localhost chat[451]: AT&F1^M^M
> Jul  5 13:19:11 localhost chat[451]: OK
> Jul  5 13:19:11 localhost chat[451]:  -- got it
> Jul  5 13:19:11 localhost chat[451]: send
> (AT&D2&C1X4V1Q0S7=70&M4&B1&H1&R2^M)
> Jul  5 13:19:12 localhost chat[451]: expect (OK)
> Jul  5 13:19:12 localhost chat[451]: ^M
> Jul  5 13:19:12 localhost chat[451]: AT&D2&C1X4V1Q0S7=70&M4&B1&H1&R2^M^M
> Jul  5 13:19:12 localhost chat[451]: OK
> Jul  5 13:19:12 localhost chat[451]:  -- got it
> Jul  5 13:19:12 localhost chat[451]: send (ATDT4314777^M)
> Jul  5 13:19:12 localhost chat[451]: expect (CONNECT)
> Jul  5 13:19:12 localhost chat[451]: ^M
> Jul  5 13:19:28 localhost chat[451]: ATDT4314777^M^M
> Jul  5 13:19:28 localhost pppd[450]: Serial connection established.
> Jul  5 13:19:28 localhost chat[451]: CONNECT
> Jul  5 13:19:28 localhost chat[451]:  -- got it
> Jul  5 13:19:29 localhost pppd[450]: Using interface ppp0
> Jul  5 13:19:29 localhost pppd[450]: Connect: ppp0 <--> /dev/modem
> Jul  5 13:19:30 localhost pppd[450]: Hangup (SIGHUP)
> Jul  5 13:19:30 localhost pppd[450]: Modem hangup
> Jul  5 13:19:30 localhost pppd[450]: Connection terminated.
> Jul  5 13:19:31 localhost pppd[450]: Exit.

Deja vu...I'm having the same problem and getting the same messages in
/var/log/messages.  I've also got a Sportster 33.6... I've tried
everything I can think of to solve the problem, and no success.

Greg Skrivan


 
 
 

Problem with pppd & USR Sportster 33.6

Post by NO_SPAM tmanthe » Tue, 07 Jul 1998 04:00:00




> > I am using RedHat5.0, pppd & chat to connect to my ISP (IBM). I don't
> > know why the modem hangshup (or pppd gets SIGHUP).
> > Has anybody a clue? Do you need more info to help me?

> > Nicolas

> > PS: tail of /var/adm/messages

> > Jul  5 13:19:10 localhost pppd[450]: pppd 2.3.3 started by root, uid 0
> > Jul  5 13:19:11 localhost chat[451]: send (AT&F1^M)
> > Jul  5 13:19:11 localhost chat[451]: expect (OK)
> > Jul  5 13:19:11 localhost chat[451]: AT&F1^M^M
> > Jul  5 13:19:11 localhost chat[451]: OK
> > Jul  5 13:19:11 localhost chat[451]:  -- got it
> > Jul  5 13:19:11 localhost chat[451]: send
> > (AT&D2&C1X4V1Q0S7=70&M4&B1&H1&R2^M)
> > Jul  5 13:19:12 localhost chat[451]: expect (OK)
> > Jul  5 13:19:12 localhost chat[451]: ^M
> > Jul  5 13:19:12 localhost chat[451]: AT&D2&C1X4V1Q0S7=70&M4&B1&H1&R2^M^M
> > Jul  5 13:19:12 localhost chat[451]: OK
> > Jul  5 13:19:12 localhost chat[451]:  -- got it
> > Jul  5 13:19:12 localhost chat[451]: send (ATDT4314777^M)
> > Jul  5 13:19:12 localhost chat[451]: expect (CONNECT)
> > Jul  5 13:19:12 localhost chat[451]: ^M
> > Jul  5 13:19:28 localhost chat[451]: ATDT4314777^M^M
> > Jul  5 13:19:28 localhost pppd[450]: Serial connection established.
> > Jul  5 13:19:28 localhost chat[451]: CONNECT
> > Jul  5 13:19:28 localhost chat[451]:  -- got it
> > Jul  5 13:19:29 localhost pppd[450]: Using interface ppp0
> > Jul  5 13:19:29 localhost pppd[450]: Connect: ppp0 <--> /dev/modem
> > Jul  5 13:19:30 localhost pppd[450]: Hangup (SIGHUP)
> > Jul  5 13:19:30 localhost pppd[450]: Modem hangup
> > Jul  5 13:19:30 localhost pppd[450]: Connection terminated.
> > Jul  5 13:19:31 localhost pppd[450]: Exit.

> Deja vu...I'm having the same problem and getting the same messages in
> /var/log/messages.  I've also got a Sportster 33.6... I've tried
> everything I can think of to solve the problem, and no success.

> Greg Skrivan


Hey guys,
turn on the pppd debug or rather verbose option and repost the results (
see man pppd ) . Then we should get more hints about the bad tooth.
Regards Tobias
 
 
 

Problem with pppd & USR Sportster 33.6

Post by Greg Skriva » Tue, 07 Jul 1998 04:00:00


Quote:>Hey guys,
>turn on the pppd debug or rather verbose option and repost the results (
>see man pppd ) . Then we should get more hints about the bad tooth.
>Regards Tobias

here ya go...

21:00:11 deviant chat[393]: send (ppp^M)
21:00:11 deviant pppd[392]: Serial connection established.
21:00:12 deviant kernel: ppp_tty_ioctl: set flags to 50000
21:00:12 deviant kernel: ppp_tty_ioctl: set flags to 50000
21:00:12 deviant kernel: ppp_tty_ioctl: set xasyncmap
21:00:12 deviant kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
21:00:12 deviant kernel: ppp_tty_ioctl: set flags to 50000
21:00:12 deviant kernel: ppp_tty_ioctl: set mru to 5dc
21:00:12 deviant kernel: ppp_tty_ioctl: set rcv asyncmap 0
21:00:12 deviant kernel: ppp_tty_ioctl: set flags to 50010
21:00:12 deviant pppd[392]: Using interface ppp0
21:00:12 deviant pppd[392]: Connect: ppp0 <--> /dev/ttyS1
21:00:14 deviant kernel: ppp: successfully queued 26 bytes, flags =f050010
21:00:15 deviant last message repeated 4 times
21:00:15 deviant kernel: ppp: channel ppp0 closing.
21:00:15 deviant pppd[392]: Hangup (SIGHUP)
21:00:15 deviant pppd[392]: Modem hangup
21:00:15 deviant pppd[392]: Connection terminated.
21:00:15 deviant pppd[392]: Exit.

It also mentions, something about setting async through
unumbered(Ethernet0)...but I don't have access to my linux box right now to
get the exact message.  As far as I know, nothing should be going through my
ethernet card.

I'm using kernel 2.0.34, if that info is of any help.

Greg Skrivan

 
 
 

Problem with pppd & USR Sportster 33.6

Post by Greg Skriva » Tue, 07 Jul 1998 04:00:00



>It also mentions, something about setting async through
>unumbered(Ethernet0)...but I don't have access to my linux box right now to
>get the exact message.  As far as I know, nothing should be going through
my
>ethernet card.

>I'm using kernel 2.0.34, if that info is of any help.

>Greg Skrivan


Here's an interesting question brought up by our local linux guru:  Does
anyone who is having this problem have an ethernet card????

Greg Skrivan

 
 
 

Problem with pppd & USR Sportster 33.6

Post by Sami Yousi » Sat, 11 Jul 1998 04:00:00


[Snip,Snip]

I had that problem with swbell, which in my area uses IBM.net as a
backbone provider...

They use PAP and require a different Asyncmap.

you also need to add to /etc/ppp/options (or pppd commandline) the lines

        asyncmap 20A0000
        name {yourloginname}

the /etc/ppp/pap-secrets needs to contain (with the quotes) the line:

        "yourusername"        *       "your password"

and you may need to setserial on the port to spd_vhi. (replace ttyS0
with your serial port)

        /sbin/setserial /dev/ttyS0 spd_vhi

--

---
Sami Yousif


http://www.mav.net/teddyr/syousif
http://teddyr.home.ml.org
ftp://teddyr.dyn.ml.org

[eMail sent to any of my addresses is subject to the Conditions outlined
in http://www.mav.net/teddyr/emailtos.shtml]

[Note: I no longer support ARNet (arn.net) as an ISP nor WTAMU
(wtamu.edu) as an educational institution nor LEK (lektech.com) as a
Computer
Supplier] {http://www.mav.net/teddyr/access/banned.shtml}

[heard somewhere: "You have the right to remain clueless. Anything you
know may be used against you in a court of law"]

Another day, so many more LARTS to go. [BOFH, BUFH, JOAT]

"Understanding is a three edge sword: Our side, Their Side, and the
Truth" Babylon 5

<time is on my side>

 
 
 

1. Tips for vgetty & USR Sportster Voice 33.6

I've recently begun trying to get vgetty to work with my USR Sportster
Voice 33.6 in order to be able to receive faxes and voicemail on my
system, but I've been having little luck.  vgetty loads up and I can see
it initializing my modem at boot time, and I think it's handling the
sendfax stuff OK (I've only initiated faxes to my own number, so I know
it dials out OK, but I've no idea about actually sending).  The voice
functions are another matter, though -- I can't get them working.  The
supplied "vm" program is doing SOMETHING -- when I try to either play or
record an existing file, the modem lights blink for a while, in basically
the sort of pattern I'd expect for the operation I'm trying; but I can't
hear anything in playback.  Thus, I don't know if I've actually recorded
anything, though I doubt it, since when I specify telephone handset
recording, I still get a dialtone on my phone.  (Under Win95 with
QuickLink, the dialtone goes away and I hear a pre-record "beep" on the
handset when I record.)  Files I "record" under Linux are reported to be
invalid under QuickLink, but that could just be different file formats.
I'm using the latest mgetty/vgetty package (0.7.3 of vgetty, though the
log file indicates 0.7.3 at one point and 0.4.b3 at another -- could I
have conflicting files lurking somewhere?  Where?).  The log files
indicate that the software has successfully detected a Sportster Voice,
but also assorted errors, including "signal 15," "junk on the line"
(despite the fact that I compiled with the option that's supposed to
correct this one), and others.

So:

1) Has anybody who's gotten this to work have any tips for me?
2) Is it likely that a firmware update will fix this?  I'm thinking of
   upgrading with the X2 firmware in a week or two, and if this will
   get voice working it'll be another reason to do the upgrade.

Thanks for any advice.

--
Rod Smith                                 Author of:

http://php.indiana.edu/~rodsmith          "OS/2 Soundcard Summary"
NOTE: Remove "uceprotect" from address to e-mail me

2. Win95/Redhat Setup

3. USR Sportster 33.6 Faxmodem & uugetty

4. echo/cat to tape

5. Tips for vgetty & USR Sportster Voice 33.6

6. lpd will not print from remote machines

7. Problem: USR Sportster 33.6 Internal

8. SMC 8416

9. Problems with USR 33.6 Sportster

10. Modem problems with USR Sportster Voice 33.6 PnP and RedHat

11. Problem with USR Sportster 33.6 --- WONT DIAL !

12. Solaris 2.5.1 x86 / asppp / USR Sportster 33.6 internal modem problem

13. USR Sportster Internal 33.6 Faxmodem