elliot@alfred.UUCP (Elliot Dierksen) (01/06/90)
I don't know if I'm being thick or not, but I have spent a substantial part of this evening fiddling with this CLOCAL setup (\M \m) using my generic hayes comp. 2400 modem and I can't seem to get it to work quite right. I can get it to work as long as CD is high when I go to access the modem. I can bring it down after doing a \M and it works fine. But, if CD is not high after it locks the device it fails and moves on to the next one. My question is: Is there some way to toggle CLOCAL in the devices file or something so that I don't have to have CD forced initially?? I would like to be able to use this modem bidirectionally, but with CD forced, when the remote modem hangs up without logging out, that shell is given to the next person who just happens to dial up!! :-( Any suggestions??? I have fiddled with this particular problem on numerous occassions over the past year or two with no success. Thanx!! EBD -- Elliot Dierksen Home: {peora,ucf-cs,uunet}!tarpit!alfred!elliot Work: {att,codas}!candi!ralph!ebd "What's another word for Thesaurus??" -- Steven Wright
mdapoz@hybrid.UUCP (Mark Dapoz) (01/07/90)
Here's what I do in my Dialers file to toggle the CLOCAL setting to do what I think you want: telebit =W-, "" \M\ra\pa\pa\pa\pa\pa\r\c aa\r ATV1E1X1S50=0S7=50\r\p\c OK\r ATDWT\p\c "" \T\r\m\c CONNECT tbfast =W-, "" \Ma\pa\pa\pa\pa\pa\r\c aa\r ATV1E1X1S7=50S50=255S111=30S110=0\r\p\c OK\r ATDWT\p\c "" \T\r\m\c CONNECT\sFAST\r direct =W-, "" \M a sample output from Uutry shows the following (look at when CLOCAL is set and cleared): mchFind called (torsqnt) conn(torsqnt) Device Type D_torsqnt wanted mlock tty001 succeeded processdev: calling setdevcfg(uucico, D_torsqnt) gdial(tbfast) called expect: ("") got it sendthem () CLOCAL set aPAUSE aPAUSE aPAUSE aPAUSE aPAUSE a^M<NO CR>) expect: (aa^M) aaaaa^Mgot it sendthem (ATV1E1X1S7=50S50=255S111=30S110=0^MPAUSE <NO CR>) expect: (OK^M) ATV1E1X1S7=50S50=255S111=30S110=0^M^M^JOK^Mgot it sendthem (ATDWTPAUSE <NO CR>) expect: ("") got it sendthem (xxxxxxx^M) CLOCAL clear <NO CR>) expect: (CONNECT FAST^M) As you can see, CLOCAL is set when talking to the local modem but it's then cleared when it's time to talk to the remote system. Hope this helps. -- Mark Dapoz (mdapoz@hybrid.UUCP) ...uunet!mnetor!hybrid!mdapoz I remind you that humans are only a tiny minority in this galaxy. -- Spock, "The Apple," stardate 3715.6.
ejp@grout.UUCP (Eric Porter) (01/09/90)
I was also having many of the same problems with HDB uucp described in previous articles. However, after many hours, a lot of trial and error, and yes, even reading the manuals :-) I seem to have it working DCD and all... I won't claim to be an expert so I will just post the basic info describing what I did and let the rest of you explain the why. First to let you know what I am working with: a unix-pc (of course) a hayes compatible modem and a simple straight thu rs232 cable. I did not "strap" Carrier detect on. I set up the Dialers script with the "\M" and "\m" as follows: hayes =,-, "" \M\r\d\r\dAT\r\c OK\r \EATDT\T\r\c CONNECT \m\c I then added the ",M" in the Devices file. Something I have not seen mentioned in the other postings... I "believe" it is needed to get CLOCAL to work. The entry in my Devices file is as follows: ACU tty000,M - 2400 hayes This solved most of my problems but one still remained. When a uucico opened the serial port and started talking to the modem it would be bombarded with garbage most of it <RETURNS>. This went away when I took the uugetty off of the line. Also the uucico would usually succeed after it gave up and tried again. So I started to messing with the uugetty... at about 1am (Problems like this can not be solved before 12am:-} ) I ended up taking the "ECHO" setting out of the initial flags in the gettydefs... and much to my surprise everyting worked. So here is my inittab entry: 000:2:respawn:/usr/lib/uucp/uugetty -r -t60 tty000 24M And finally my gettydefs entry: 12M# B1200 CLOCAL BRKINT IGNPAR ISTRIP IXON IXOFF OPOST ONLCR # HUPCL BRKINT ISTRIP ICRNL IXON OPOST ONLCR B1200 CS8 CREAD ISIG ICANON ECHO ECHOE ECHOK TAB3 #\nThis space for rent!\n\nPlease login: #24M 24M# B2400 CLOCAL BRKINT IGNPAR ISTRIP IXON IXOFF OPOST ONLCR # HUPCL BRKINT ISTRIP ICRNL IXON OPOST ONLCR B2400 CS8 CREAD ISIG ICANON ECHO ECHOE ECHOK TAB3 #\nThis space for rent!\n\nPlease login: #12M I don't completely understand the business with the gettydefs. The setup of the Devices & Dialers files came out of some SYS V.3.2 manuals I borrowed. I have had my system running this way for about 4 weeks with no problem at all... So I am guessing I did something right :-} Hope this is of some help. Eric Porter uunet!hadron!lsw!grout!ejp