Re: mgetty & external sportster
hmm, interesting ..
i will play around with the modem more to see if i can get the port
speeds to match up. i dont remember what the portspeed was when i was
checking it today..i THINK the modem was 57600 and the pc was 38400..i
hope so..this has been a bigger headache then i thought it would be..and
its getting harder and harder to find a good modem for linux!! ack, would
anyone know where to get a diamond supramax 56i ? i have had good luck
with those and now when i get supramax i get some weird model#, got 3 new
ISA modems today which look to be winmodems i thought i was getting 56i's
:(
thanks for the info, i *hope* the speeds are wrong so it fixes it ;))
nate
On Mon, 3 Jan 2000, Nate Duehr wrote:
nate >Actually Nate, I usually see trash like that when the port speed is
nate >wrong between the modem and the machine.
nate >
nate >On Mon, Jan 03, 2000 at 12:50:13PM -0800, aphro wrote:
nate >> I have an internal modem(not sure what brand) that works fine, but i want
nate >> to switch to an external incase the modem needs a hard reset we dont have
nate >> to shut the machine down.
nate >>
nate >> Its been sooo many years since i used an external modem so im kinda rusty.
nate >>
nate >> sofar, i got it to communicate with the sportster (both minicom and
nate >> mgetty) i can get minicom to establish a terminal connection and transfer
nate >> a file(by connecting with another computer and hitting 'ATA' when i saw
nate >> the 'RING') the file transferred fine so i assume the modem is good. but
nate >> when mgetty tries to answer i get this:
nate >>
nate >>
nate >> 01/03 10:50:45 yS0 waiting for line to clear (VTIME), read: [0d][0a]
nate >> 01/03 10:50:46 yS0 removing lock file
nate >> 01/03 10:50:46 yS0 waiting...
nate >> 01/03 10:50:46 yS0 select returned 1
nate >> 01/03 10:50:46 yS0 checking lockfiles, locking the line
nate >> 01/03 10:50:46 yS0 makelock(ttyS0) called
nate >> 01/03 10:50:46 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
nate >> 01/03 10:50:46 yS0 lock made
nate >> 01/03 10:50:46 yS0 wfr: waiting for ``RING''
nate >> 01/03 10:50:46 yS0
nate >> got: x[fe][00][80]x[00][ff][80][80][f8]x[e0][80][80][80][f8][00]x[fe][00][80]x[00][ff]x[fe][00][80]x[00][ff][80][80][f8]x[e0][80][80][80][f8][00]x[fe][00][80]x[00][ff]
nate >> 01/03 10:50:56 yS0 mdm_read_byte: read returned -1: Interrupted system
nate >> call
nate >> 01/03 10:50:56 yS0 wfr: timeout waiting for RING
nate >> 01/03 10:50:56 yS0 wfr: rc=-1, drn=0
nate >> 01/03 10:50:56 yS0 huh? Junk on the line?
nate >> 01/03 10:50:56 yS0 removing lock file
nate >>
nate >> and mgetty clearly can communicate with the modem :
nate >>
nate >> 01/03 11:33:23 yS0 mgetty: experimental test release 1.1.18-Sep11
nate >> 01/03 11:33:23 yS0 check for lockfiles
nate >> 01/03 11:33:23 yS0 checklock: stat failed, no file
nate >> 01/03 11:33:23 yS0 locking the line
nate >> 01/03 11:33:23 yS0 makelock(ttyS0) called
nate >> 01/03 11:33:23 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
nate >> 01/03 11:33:23 yS0 lock made
nate >> 01/03 11:33:24 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
nate >> 01/03 11:33:24 yS0 lowering DTR to reset Modem
nate >> 01/03 11:33:24 yS0 tss: set speed to 38400 (017)
nate >> 01/03 11:33:24 yS0 tio_set_flow_control( HARD )
nate >> 01/03 11:33:24 yS0 waiting for line to clear (VTIME), read:
nate >> 01/03 11:33:24 yS0 send: ATZ[0d]
nate >> 01/03 11:33:24 yS0 waiting for ``OK''
nate >> 01/03 11:33:24 yS0 got: ATZ[0d]
nate >> 01/03 11:33:24 yS0 CND: ATZ[0d][0a]OK ** found **
nate >> 01/03 11:33:24 yS0 send: [0d]
nate >> 01/03 11:33:24 yS0 waiting for line to clear (VTIME), read: [0d][0a][0d]
nate >> 01/03 11:33:25 yS0 removing lock file
nate >> 01/03 11:33:25 yS0 waiting...
nate >>
nate >> i've been going through documentation on the modem and on the AT command
nate >> set, but so far this is as far as i've gotten. looks like those
nate >> [0d][0a][0d] are escape codes? that could be screwing the modem up. im not
nate >> sure of the modem's model# but it is a 28.8 sportster external, it has a
nate >> bunch of dip switches on it:
nate >>
nate >> 1 On - data terminal ready normal **SET**
nate >> off - data terminal ready override
nate >>
nate >> 2 Up - verbal result codes **SET**
nate >> down - numeric result codes
nate >>
nate >> 3 Up - supress result codes
nate >> down - display result codes **SET**
nate >>
nate >> 4 up - echo offline commands **SET**
nate >> down - no echo, offline commands
nate >>
nate >> 5 up - auto answer on first ring, or higher if specified in NVRAM
nate >> down - auto answer off **SET** (i have tried both ways with same
nate >> results)
nate >>
nate >> 6 up - carrier detect normal **SET**
nate >> down - carrier detect override
nate >>
nate >> 7 up - load NVRAM defaults **SET**
nate >> down - load factory defaults
nate >>
nate >> 8 up - dumb mode
nate >> down - smart mode **SET** (tried both ways, dumb mode the modem does not
nate >> respond at all)
nate >>
nate >> any help would be greatly appreciated!
nate >>
nate >> thanks!@!
nate >>
nate >> nate
nate >>
nate >>
nate >> ----------------------------------------[mailto:aphro@aphroland.org ]--
nate >> Vice President Network Operations http://www.firetrail.com/
nate >> Firetrail Internet Services Limited http://www.aphroland.org/
nate >> Everett, WA 425-348-7336 http://www.linuxpowered.net/
nate >> Powered By: http://comedy.aphroland.org/
nate >> Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/
nate >> -----------------------------------------[mailto:aphro@netquest.net ]--
nate >> 11:25am up 136 days, 23:21, 3 users, load average: 2.03, 1.66, 1.58
nate >>
nate >>
nate >>
nate >> --
nate >> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
nate >>
nate >
nate >--
nate >Nate Duehr <nate@natetech.com>
nate >
nate >GPG Key fingerprint = DCAF 2B9D CC9B 96FA 7A6D AAF4 2D61 77C5 7ECE C1D2
nate >Public Key available upon request, or at wwwkeys.pgp.net and others.
nate >
----------------------------------------[mailto:aphro@aphroland.org ]--
Vice President Network Operations http://www.firetrail.com/
Firetrail Internet Services Limited http://www.aphroland.org/
Everett, WA 425-348-7336 http://www.linuxpowered.net/
Powered By: http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMP http://yahoo.aphroland.org/
-----------------------------------------[mailto:aphro@netquest.net ]--
9:13pm up 137 days, 9:09, 4 users, load average: 1.57, 1.49, 1.51
Reply to: