home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / wizards / 3835 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  26.3 KB

  1. Path: sparky!uunet!haven.umd.edu!mimsy!afterlife!adm!news
  2. From: postmaster@vd1.hanscom.af.mil (SMTP MAILER)
  3. Newsgroups: comp.unix.wizards
  4. Subject: Mail Delivery Problem
  5. Message-ID: <32397@adm.brl.mil>
  6. Date: 7 Sep 92 21:31:02 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 705
  9.  
  10.  
  11.  ----Reason for mail failure follows----
  12. Sending mail to recipient(s) woodfordm :
  13.   Couldn't make final delivery.
  14.  
  15.  ----Transcript of message follows----
  16. Received: from gw1.hanscom.af.mil by vd1.hanscom.af.mil with SMTP ; 
  17.           Mon,  7 Sep 92 14:18:22 EST
  18. Date: 6 Sep 92 16:22:00 EST
  19. From: UNIX-WIZARDS@BRL.MIL
  20. Subject: UNIX-WIZARDS Digest  V16#001
  21. To: "woodfordm" <woodfordm@vd1.hanscom.af.mil>
  22.  
  23. Return-Path: <unix-wizards-request@sem.brl.mil>
  24. Received: from SEM.BRL.MIL by gw1.hanscom.af.mil with SMTP ; 
  25.           Sun,  6 Sep 92 16:22:19 EST
  26. Received: from SEM.BRL.MIL by SEM.BRL.MIL id aa22412; 6 Sep 92 15:30 EDT
  27. Received: from sem.brl.mil by SEM.BRL.MIL id aa22353; 6 Sep 92 15:15 EDT
  28. Date:       Sun, 06 Sep 92 15:15:17 EST
  29. From:       The Moderator (Mike Muuss) <Unix-Wizards-Request@BRL.MIL>
  30. To:         UNIX-WIZARDS@BRL.MIL
  31. Reply-To:   UNIX-WIZARDS@BRL.MIL
  32. Subject:    UNIX-WIZARDS Digest  V16#001
  33. Message-ID:  <9209061515.aa22353@SEM.BRL.MIL>
  34.  
  35. UNIX-WIZARDS Digest          Sun, 06 Sep 1992              V16#001
  36.  
  37. Today's Topics:
  38.                 ASYNCHRONOUS FILE PRESENCE NOTIFICATION
  39.             Re: How do I remove a directory with no parent?
  40.            Re: Implementation of Sys V. based message queues
  41.                            Re: Disk bad block
  42.                   Re: STREAMS M_ERROR Message problem
  43.                       Question on COFF file format
  44.                     Re: Question on COFF file format
  45.                         random passwd generator
  46.                       Re: random passwd generator
  47.                             Re: Passing FIDs
  48.                           Superblock question
  49.                              UUCP-question
  50.  
  51. -----------------------------------------------------------------
  52.  
  53. From: Kunal Singh <ksingh@passion.fia.dmg.ml.com>
  54. Subject: ASYNCHRONOUS FILE PRESENCE NOTIFICATION
  55. Keywords: UNIX FILE
  56. Date: 1 Sep 92 14:26:47 GMT
  57. Sender: Kunal Singh <ksingh@passion>
  58. Nntp-Posting-Host: passion
  59. To:       unix-wizards@sem.brl.mil
  60.  
  61. I'm trying to write a program which will check a certain directory for incoming files.  I want this program to be interrupt-driven such that as soon as a file is put into this directory, my program is signaled and can process the file.
  62.  
  63. I realize that my program can wake up at fixed intervals and check the directory itself for new files.  But I'm hoping for a more elegant solution.
  64.  
  65. Is there any way for my program to have the UNIX operating system notify me of the creation of a file in my subdirectory ?  
  66.  
  67. Any help would be greatly appreciated.  Thanks.
  68.  
  69. Kunal Singh
  70.  
  71. -----------------------------
  72.  
  73. From: "Patrick D. Buick" <buick@belay>
  74. Subject: Re: How do I remove a directory with no parent?
  75. Date: 3 Sep 92 01:25:07 GMT
  76. To:       unix-wizards@sem.brl.mil
  77.  
  78. In article <1992Aug29.151128.3376@magnus.acs.ohio-state.edu> bjones@magnus.acs.ohio-state.edu (William A Jones) writes:
  79. >I just recently installed smail v3.1.25 on my system (i486 running linux 0.97)
  80. >and during the installation process, the directory /usr/local/lib/smail/methods
  81. >was created.  However, there is absolutely nothing in the directory -- no
  82. >., no .., no nothing.  fsck kindly points this out but hasn't done anything
  83. >to fix it.  rmdir, rm -rf, rm -d all don't work.  I tried removing the entire
  84. >directory tree doing an "rm -rf /usr/local/lib/smail" but that doesn't work.
  85. >
  86. >Other than backing up everything else but this file and running mkfs to make
  87. >a clean disk is there any other way to fix this?
  88. >
  89. >Thanks,
  90. >
  91. >Bill
  92.  
  93. Of course, my question is: If there is no parent, how did you determine
  94. there was nothing in it?  Don't you have to traverse the inodes containing
  95. directory entries above it to get there?  Hmm... baffles me...  it wouldn't
  96. be a link, would it?  (Does linux support these kinds of links?)
  97. Patrick
  98. -- 
  99. ==========================================================
  100. Patrick D. Buick EMT, EET  | Internet: buick%belay@uunet.uu.net
  101. Belay Enterprises Inc.     | Internet: buickp@cuug.ab.ca
  102. Calgary, Alberta, Canada   | UUCP:...!calgary!pixel!belay!buick
  103.  
  104. -----------------------------
  105.  
  106. From: "Antony A. Courtney" <acourtny@unix1.tcd.ie>
  107. Subject: Re: Implementation of Sys V. based message queues
  108. Date: 3 Sep 92 22:10:46 GMT
  109. Sender: "NN required at ashe.cs.tcd.ie" <usenet@cs.tcd.ie>
  110. Nntp-Posting-Host: unix1.tcd.ie
  111. To:       unix-wizards@sem.brl.mil
  112.  
  113. In <1992Sep1.155322.5522@panther.mot.com> asu@panther4.panther.mot.com (ASU Student) writes:
  114. >Hello,
  115. >  Does anyone have any insight in to the implementation of Sys V
  116. >based message queues (on SunOS)?
  117.  
  118. All the system V IPC mechanisms are completely inconsistent with the rest of
  119. the i/o facilities provided by Unix.  The "key"s they use are their own name
  120. space, they are persistent after process death, they don't use descriptors so
  121. you can't use normal read()/write()/select() semantics, and they add about a 
  122. dozen system calls to the kernel just for handling them in their own arcane way.
  123.  
  124. >The reason I ask is because I would
  125. >like to be able to use select(2) to multiplex descriptor based objects
  126. >(sockets) as well as the message queue.
  127.  
  128. I could be mistaken, but my experience with using Sys V IPC with select()
  129. is:  
  130.     'aint no way...
  131.  
  132. I had the wonderful experience when integrating the DCE threads package with
  133. a control process we had developed in a multi-process environment.  The
  134. system ran beautifully first time, creating all the threads, sharing all the
  135. data properly, simulating blocking i/o, etc.  And then the process had to
  136. read some data from a Sys. V message queue and the process STOPPED STONE
  137. DEAD.
  138.  
  139. Loads of fun. :-) 
  140.  
  141. (don't even get me started on Sys V semaphores....and to think Unix was once
  142. appreciated for "simplicity" and "clarity".  *sigh*....)
  143.  
  144.     -antony
  145.  
  146. --
  147. ********************************************************************************
  148. * Antony A. Courtney                              Email: acourtny@unix1.tcd.ie *
  149. * Computer Science Department                            antony@george.lbl.gov *
  150. * Trinity College, Dublin, Ireland                Phone: 01+353+1-607389       *
  151.  
  152. -----------------------------
  153.  
  154. From: "Alan Rollow - Alan's Home for Wayward Tumbleweeds." <alan@nabeth.enet.dec.com>
  155. Subject: Re: Disk bad block
  156. Date: 3 Sep 92 23:06:16 GMT
  157. Sender: "Alan Rollow - Alan's Home for Wayward Tumbleweeds." <alan@nabeth>
  158. To:       unix-wizards@sem.brl.mil
  159.  
  160.  
  161. In article <1992Sep2.191247.1253@tamsun.tamu.edu>, pnarayan@cs.tamu.edu (P S Narayan) writes:
  162. >
  163. >Hello,
  164. >Could any one tell me how does the file manager in the Unix File System
  165. >detect a bad block and keep a track of it so that it is never allocated
  166. >to any file. What is badness in a block ?
  167. >I imagine the bad block list  is kept in the zeroth block of the  filesystem.
  168. >
  169. As Dave Olson mentioned, it depends.
  170.  
  171. Some possible answers:
  172.  
  173. 1.  Some UNIX systems will expect perfect media and not cope with
  174.     bad blocks at all.  If you happen to have an underlying I/O
  175.     that does cope well with them this might be alright.  Unless
  176.     the subsystem expect help from the operating system.
  177.  
  178. 2.  Others acknowledge that bad blocks occur, but know they have
  179.     I/O subsystems that will take care of them.  They are willing
  180.     to help the I/O subsystem perform this task.
  181.  
  182. 3.  Other make no assumption that the subsystem is going to do
  183.     anything interest and take care of themselves.  The methods
  184.     probably vary from a "bad block file" that has the bad
  185.     blocks allocated to it, to systems that hide real disk
  186.     under a layer that maps out the bad blocks.  All you ever
  187.     see is the perfect surface presented by this layer.
  188.  
  189. On the nature "badness" in a block.
  190.  
  191. To various degrees the disks you're using have error detection
  192. (and correction) codes stored with the data on the disk.  When
  193. it reads a block it compares runs the data through whatever
  194. firmware or hardware that calculates the error detection code
  195. to see if they match.  If not the block is consider bad.
  196.  
  197. If the disk or controller supports error correction it will
  198. try to fix the error.  Way down in the operating system it may
  199. present this state as "Data corrected, but it was X badly broken".
  200. The host may then be responsible for telling the controller what
  201. do with the block; replace it and write the still good data back
  202. to the new block.  The controller may decide to do this itself.
  203. and will just tell the host "here's a good copy.  I fixed it."
  204.  
  205. Sometimes it won't be able to correct the data and still reports
  206. a bad block.  The controller may still go off and replace the bad
  207. block, writting the bad data to a now good block.  Unfortunately
  208. it may not have any way to differentiate between a bad block
  209. and a good block with known corrupt data.  What the host does
  210. in these cases depends on how paranoid they are about data
  211. reliability.
  212.   
  213. >Regards
  214. >Narayan
  215. >pnarayan@cs.tamu.edu
  216. >Texas A&M University
  217. >
  218. >
  219. --
  220. Alan Rollow                alan@nabeth.cxo.dec.com
  221.  
  222. -----------------------------
  223.  
  224. From: Graham Wheeler <gram@aim1.aztec.co.za>
  225. Subject: Re: STREAMS M_ERROR Message problem
  226. Date: 4 Sep 92 09:51:31 GMT
  227. To:       unix-wizards@sem.brl.mil
  228.  
  229. am815@cleveland.Freenet.Edu (Joel Peter Anderson) writes:
  230.  
  231. >succeed.  If a byte is set to 0, the error state is cleared for the
  232. >corresponding side of theStream.  The values NOERROR and 0 are not
  233. >valid for the one-byte form of the M_ERROR message."
  234.  
  235. Have you tried using 0 instead on NOERROR? Maybe an error condition has
  236. occurred anyway, and using NOERROR does not change anything.
  237.  
  238. -- 
  239. Graham Wheeler                     | "That which is weak conquers the strong,
  240. Software Systems Engineer/Student  | that which is soft conquers the hard."
  241. Aztec Information Management/UCT   |         Lao Tzu - Tao Te Ching Ch. 78
  242. gram@aim1.aztec.co.za / gram@cs.uct.ac.za 
  243.  
  244. -----------------------------
  245.  
  246. From: Joel Peter Anderson <am815@cleveland.freenet.edu>
  247. Subject: Re: STREAMS M_ERROR Message problem
  248. Date: 4 Sep 92 17:38:28 GMT
  249. NNTP-Posting-Host: slc5.ins.cwru.edu
  250. To:       unix-wizards@sem.brl.mil
  251.  
  252.  
  253. In a previous article, gram@aim1.aztec.co.za (Graham Wheeler) says:
  254.  
  255. >am815@cleveland.Freenet.Edu (Joel Peter Anderson) writes:
  256. >
  257. >>succeed.  If a byte is set to 0, the error state is cleared for the
  258. >>corresponding side of theStream.  The values NOERROR and 0 are not
  259. >>valid for the one-byte form of the M_ERROR message."
  260. >
  261. >Have you tried using 0 instead on NOERROR? Maybe an error condition has
  262. >occurred anyway, and using NOERROR does not change anything.
  263. >
  264.  
  265. Good idea, but, sorry, no dice.  After we experienced this problem I wrote
  266. a dumb little device driver that allows you to send any two bytes up the
  267. stream as an M_ERROR message.  I have tried all permutations and 1)can get
  268. errors registered on either or both sides 2) get errors on the read side
  269. only.  As soon as I send any M_ERROR skyward all reads fail.  If NOERROR or
  270. zero is sent, errno reads as EAGAIN.(?) Otherwise, if I send an error
  271. value, that value is put in errno. 
  272.  
  273. Any other thoughts?
  274.  
  275.  
  276. -- 
  277.  -------------------------------------------------------------------------
  278.   joela@apertus.mn.org           |Freenet: am815@cleveland.freenet.edu
  279.     Joel Peter Anderson          |PNET: jpa@pnet51.orbit.mn.org
  280.     Apertus Technologies         |GEnie:J.ANDERSON71
  281.  
  282. -----------------------------
  283.  
  284. From: David B Stewart <dstewart+@cs.cmu.edu>
  285. Subject: Question on COFF file format
  286. Date: 4 Sep 92 16:16:30 GMT
  287. Sender: Usenet News System <news@cs.cmu.edu>
  288. Nntp-Posting-Host: ius4.ius.cs.cmu.edu
  289. Cc: dstewart@cs.cmu.edu
  290. To:       unix-wizards@sem.brl.mil
  291.  
  292.  
  293. I am writing a program which must read in an i860 COFF file.
  294.  
  295. Is there any way of knowing the size of the string table before
  296. the table is read in?
  297.  
  298. The header information gives the sizes of everything else, but not
  299. for the string table.  However, to be able to allocate memory to
  300. store the string table, I have to know its size, but that doesn't
  301. seem to be available.
  302.  
  303. If the size isn't available, is there a customary way of reading
  304. the string table, as used by loaders which must read the COFF file?
  305.  
  306. Please respond via email.
  307.  
  308. Thanks a whole bunch!
  309.  
  310. ~dave
  311.  
  312.  -------------------------------------------------------------------------------
  313. David B. Stewart  - email: <dstewart@cmu.edu>            The Robotics Institute
  314. snail mail:       - ECE Dept., Carnegie Mellon University, Pittsburgh, PA 15213
  315. Current Projects: - Chimera 3.0 Real-Time Operating System
  316.           - Reconfigurable Sensor-Based Control Systems
  317.  
  318. -----------------------------
  319.  
  320. From: Terry Lambert <terry@thisbe.npd.novell.com>
  321. Subject: Re: Question on COFF file format
  322. Date: 4 Sep 92 21:35:46 GMT
  323. Sender: Terry Lambert <terry@thisbe>
  324. Nntp-Posting-Host: thisbe.eng.sandy.novell.com
  325. To:       unix-wizards@sem.brl.mil
  326.  
  327. In article <Bu2AJL.43K.1@cs.cmu.edu>, dstewart+@cs.cmu.edu (David B Stewart) writes:
  328. |> 
  329. |> The header information gives the sizes of everything else, but not
  330.                                              ^^^^^^^^^^^^^^^
  331. |> for the string table.  However, to be able to allocate memory to
  332. |> store the string table, I have to know its size, but that doesn't
  333. |> seem to be available.
  334.  
  335. String table size = size of file from fstat() - total of everything else
  336.  
  337.  
  338.                     Terry Lambert
  339.                     terry_lambert@gateway.novell.com
  340.                     terry@icarus.weber.edu
  341.  
  342. ---
  343. Disclaimer:  Any opinions in this posting are my own and not those of
  344. my present or previous employers.
  345.  
  346. -----------------------------
  347.  
  348. From: Ken Brown <ccksb@blaze.trentu.ca>
  349. Subject: random passwd generator
  350. Date: 4 Sep 92 17:01:48 GMT
  351. Sender: USENET News System <news@trentu.ca>
  352. To:       unix-wizards@sem.brl.mil
  353.  
  354. I'm looking for a program which will generate 'n' number of passwords.  This
  355. would be used by a faculty member who wishes to have a series of
  356. pre-determined passwords to hand to students.
  357.  
  358. Thanks in advance...
  359. -- 
  360. ====================================================================
  361. Ken Brown                                       voice: (705)748-1540
  362. Trent University Computer Services                fax: (705)748-1246
  363. Peterborough, Ontario, Canada K9J 7B      internet: kbrown@trentu.ca
  364.  
  365. -----------------------------
  366.  
  367. From: Eiji Hirai <hirai@cc.swarthmore.edu>
  368. Subject: Re: random passwd generator
  369. Date: 4 Sep 92 18:52:00 GMT
  370. Sender: USENET News System <news@cc.swarthmore.edu>
  371. Nntp-Posting-Host: gingko
  372. To:       unix-wizards@sem.brl.mil
  373.  
  374. ccksb@blaze.trentu.ca (Ken Brown) writes:
  375. > I'm looking for a program which will generate 'n' number of passwords.
  376.  
  377. How about this minimalist program below.  You give a number as an argument
  378. and it'll give you that many passwords, both in the original form and
  379. encrypted form.  It tries to make the passwords be a pronounce-able word.
  380.  
  381. Hack and enjoy.
  382.  
  383. --
  384. Eiji Hirai <hirai@cc.swarthmore.edu>    :     :    :   :  : :: ::: :::: :::::
  385. Unix Hacker for Swarthmore College      :     :    :   :  : :: ::: :::: :::::
  386. Information Services, Swarthmore, PA, USA.      Copyright 1992 by Eiji Hirai.
  387. I don't speak for Swarthmore College.                    All Rights Reserved.
  388.  
  389. /* generate.c - generates encrypted strings for random passwords.  -eiji */
  390.  
  391. #include <stdio.h>
  392. #include <time.h>
  393.  
  394. extern char    *crypt();
  395.  
  396. #define SALT    ".."
  397. #define LETTERS    26    /* number of letters in the English alphabet */
  398.  
  399. void    main(int argc, char *argv[])
  400. {
  401.     int    howmany, numConsonant, numVowel, count, count2;
  402.     char    password[16], consonant[LETTERS], vowel[LETTERS];
  403.  
  404.     if (argc != 2) {
  405.         fprintf (stderr, "usage: %s howmany\n", argv[0]);
  406.         exit (1);
  407.     }
  408.  
  409.     howmany = atoi (argv[1]);
  410.     srandom((int)(time((time_t *)0)));
  411.  
  412.     strcpy (consonant, "bcdfghjklmnpqrstvwxyz");
  413.     strcpy (vowel, "aeiou");
  414.     numConsonant = strlen(consonant);
  415.     numVowel = strlen(vowel);
  416.  
  417.     for (count = 0; count < howmany; count++)
  418.     {
  419.         strcpy (password, "");
  420.         for (count2 = 0; count2 < 8; count2 += 2)
  421.             password[count2] = consonant[random()%numConsonant];
  422.         for (count2 = 1; count2 < 8; count2 += 2)
  423.             password[count2] = vowel[random()%numVowel];
  424.         for (count2 = 0; count2 < 8; count2 ++)
  425.             if (!(random() % 3))
  426.                 password[count2] = password[count2] - 'a' + 'A';
  427.         printf ("%s\t%s\n", password, crypt(password, SALT));
  428.     }
  429. }
  430.  
  431. -----------------------------
  432.  
  433. From: Ron Feigen <ronf@panther3.panther.mot.com>
  434. Subject: Re: Passing FIDs
  435. Date: 4 Sep 92 18:37:31 GMT
  436. Sender: usenet@panther.mot.com
  437. Nntp-Posting-Host: panther3.panther.mot.com
  438. To:       unix-wizards@sem.brl.mil
  439.  
  440.  
  441. Hello,
  442.  
  443.   Does anyone know of bugs/problems with SunOS 4.1.2 passing of file
  444. descriptors.  I faithfully RTFM (as well as R. Stevens UNIX Net. Prog)
  445. to learn about how to do this.  Here's the desciption:
  446.   I have 1 process open a socket, start a non-blocking connect().  Then
  447. at an arbitrary time later pass the access rights to another process.
  448. The other process would request a socket (through a little ack/nack deal)
  449. and then receive the access rights.
  450.  
  451.     Using sendmsg() -> recvmsg()  with msghdr like the following:
  452.  
  453.         struct iovec iov;
  454.         iov.iov_base = (char *)0; iov.iov_len = 0;
  455.     msg.msg_name = (caddr_t)0; msg.msg_namelen = 0; msg.msg_iov = iov; 
  456.         msg.msg_iovlen = 0; 
  457.         msg.msg_accrights = (caddr_t)&fd; /* where this is the created socket fd */
  458.         msg.msg_accrightslen = sizeof(int);
  459.  
  460. The problems start when I send the desciptor.  For some reason the access 
  461. rights fields in the msghdr struct get zeroed out, and garbage ends up 
  462. getting sent to the receiver...hence a garbled access rights...but NO error 
  463. reported by either sendmsg() or recvmsg() (no return of -1 and errno set)
  464.  
  465. Anybody had problems like this?
  466.  
  467. P.S. The code does seem to work occasionally, or when using dbx.
  468.  
  469. Any help would be greatly appreciated
  470.  
  471. -- 
  472.  
  473. >
  474. Ron Feigen
  475. ronf@panther.mot.com
  476.  
  477. -----------------------------
  478.  
  479. From: P S Narayan <pnarayan@cs.tamu.edu>
  480. Subject: Superblock question
  481. Date: 4 Sep 92 21:05:11 GMT
  482. Sender: Read News <news@tamsun.tamu.edu>
  483. To:       unix-wizards@sem.brl.mil
  484.  
  485. The literature on file systems (4.2 BSD) says that the cylinder block in 
  486. every cylinder group contains a bit map of the available data blocks in that
  487. cylinder group. Every cylinder group also contains superblock information
  488. for reliability.The superblock already contains the list of all free data 
  489. blocks for that file system. Is it not redundant to have free data blocks bit 
  490. map in the cylinder blocks when it is already there in the superblocks ?
  491. Kindly correct me.
  492.  
  493. Thanks
  494. Narayan
  495. pnarayan@cs.tamu.edu
  496.  
  497. -----------------------------
  498.  
  499. From: Mikka Putaala <putaala@zombie>
  500. Subject: UUCP-question
  501. Date: 4 Sep 92 21:54:52 GMT
  502. Sender: news@ousrvr.oulu.fi
  503. To:       unix-wizards@sem.brl.mil
  504.  
  505.  
  506. This newsgroup seemed to be the most appropriate for this posting.
  507.  
  508. I have installed Taylor-uucp-1.03 succesfully.
  509. I am running uucico with flags -r1 -smuikku -x all. The transformation
  510. seemes to run correctly until it crashes while waiting the third packet.
  511. The remote system I am trying to connect uses HDB UUCP and must be
  512. configured correctly because it transmits data (mail and news) every
  513. night with several other systems.
  514.  
  515. Here is the transcript of the session:
  516.  
  517.  ...We have logged in...
  518. uucico muikku - (1992-09-04 23:07:56.09 13535) DEBUG: zget_uucp_cmd:
  519. Got " nuucp\r\n\020Shere=muikku\000"
  520. uucico muikku - (1992-09-04 23:07:59.01 13535) DEBUG: fport_write:
  521. Writing 13 "\020Scecilia -N\000"
  522. uucico muikku - (1992-09-04 23:07:59.01 13535) DEBUG: zget_uucp_cmd:
  523. Got "\020ROK\000"
  524. uucico muikku - (1992-09-04 23:08:00.47 13535) DEBUG: zget_uucp_cmd:
  525. Got "\020Pg\000"
  526. uucico muikku - (1992-09-04 23:08:00.92 13535) DEBUG: fport_write:
  527. Writing 4 "\020Ug\000"
  528. uucico muikku - (1992-09-04 23:08:00.92 13535) DEBUG: fport_set:
  529. Changing setting to 0
  530. uucico muikku - (1992-09-04 23:08:00.95 13535) DEBUG: fgsend_control:
  531. Sending control INITA 7
  532. uucico muikku - (1992-09-04 23:08:00.95 13535) DEBUG: fport_io:
  533. Writing 6 "\020\011k\252?\367"
  534. uucico muikku - (1992-09-04 23:08:00.97 13535) DEBUG: fport_io: Wrote
  535. 6 of 6, read 0 of 16251
  536. uucico muikku - (1992-09-04 23:08:00.97 13535) DEBUG:
  537. fgwait_for_packet: Need 6 bytes
  538. uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_read: Read
  539. 6 "\020\011o\252;\367"
  540. uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fgprocess_data:
  541. Got control INITA 3
  542. uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fgsend_control:
  543.  
  544.  ...OK. We got INIT A...
  545.  
  546. Sending control INITB 1
  547. uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_io:
  548. Writing 6 "\020\011y\2521\353"
  549. uucico muikku - (1992-09-04 23:08:01.49 13535) DEBUG: fport_io: Wrote
  550. 6 of 6, read 0 of 16245
  551. uucico muikku - (1992-09-04 23:08:01.50 13535) DEBUG:
  552. fgwait_for_packet: Need 6 bytes
  553. uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fport_read: Read
  554. 6 "\020\011y\2521\353"
  555. uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fgprocess_data:
  556. Got control INITB 1
  557.  
  558.  ...Here is INIT B...
  559.  
  560. uucico muikku - (1992-09-04 23:08:01.55 13535) DEBUG: fgsend_control:
  561. Sending control INITC 7
  562.  
  563.  ...And finally INIT C...
  564.  
  565. uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG: fport_io:
  566. Writing 6 "\020\011{\252/\367"
  567. uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG: fport_io: Wrote
  568. 6 of 6, read 0 of 16239
  569. uucico muikku - (1992-09-04 23:08:01.58 13535) DEBUG:
  570. fgwait_for_packet: Need 6 bytes
  571. uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fport_read: Read
  572. 6 "\020\011\177\252+\367"
  573. uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fgprocess_data:
  574. Got control INITC 3
  575. uucico muikku - (1992-09-04 23:08:02.05 13535) DEBUG: fgstart:
  576. Protocol started; packsize 64, winsize 3
  577. uucico muikku - (1992-09-04 23:08:02.09 13535) Handshake successful
  578.  
  579.  ...OK. Handshake is successful...
  580.  
  581. uucico muikku - (1992-09-04 23:08:02.18 13535) DEBUG:
  582. fsysdep_get_work_init: Found C.N0002
  583. uucico muikku root (1992-09-04 23:08:02.25 13535) Sending /usr/src/gnu/taylor-uucp/uucp-1.03/uux.1
  584. uucico muikku root (1992-09-04 23:08:02.25 13535) DEBUG: fgsendcmd:
  585. Sending command "S /usr/src/gnu/taylor-uucp/uucp-1.03/uux.1 ~/uux.1
  586. root -Cd D.0001 0444 "
  587. uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fgsenddata:
  588. Sending packet 1 (64 bytes)
  589. uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fport_io:
  590. Writing 70 "\020\002\032\311\210YS
  591. /usr/src/gnu/taylor-uucp/uucp-1.03/uux.1 ~/uux.1 root -Cd D.00"
  592. uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fport_io:
  593. Wrote 70 of 70, read 0 of 16233
  594. uucico muikku root (1992-09-04 23:08:02.26 13535) DEBUG: fgsenddata:
  595. Sending packet 2 (64 bytes)
  596. uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: fport_io:
  597. Writing 70 "\020\002\023\242\220#01 0444 \000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\
  598.  
  599.  
  600. 00\000\000"
  601. uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: fport_io:
  602. Wrote 70 of 70, read 0 of 16233
  603. uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG: zgetcmd:
  604. Waiting for packet
  605. uucico muikku root (1992-09-04 23:08:02.27 13535) DEBUG:
  606. fgwait_for_packet: Need 6 bytes
  607. uucico muikku root (1992-09-04 23:08:12.00 13535) DEBUG: fport_read:
  608. Read 0 ""
  609. uucico muikku root (1992-09-04 23:08:12.00 13535) DEBUG:
  610. fgsend_control: Sending control RJ 0
  611. uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG: fport_io:
  612. Writing 6 "\020\011\232\252\020)"
  613. uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG: fport_io:
  614. Wrote 6 of 6, read 0 of 16233
  615. uucico muikku root (1992-09-04 23:08:12.01 13535) DEBUG:
  616. fgwait_for_packet: Need 6 bytes
  617. uucico muikku root (1992-09-04 23:08:22.00 13535) DEBUG: fport_read:
  618. Read 0 ""
  619.  
  620. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  621. !! Here seems to be the 'bottleneck'.          !!
  622. !! we need something but don't get it? What do !!
  623. !! we exactly need? This is the point that     !!
  624. !! bothers me most. Could anyone help?         !!
  625. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  626.  
  627. uucico muikku root (1992-09-04 23:08:22.00 13535) DEBUG:
  628. fgsend_control: Sending control RJ 0
  629. uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG: fport_io:
  630. Writing 6 "\020\011\232\252\020)"
  631. uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG: fport_io:
  632. Wrote 6 of 6, read 0 of 16233
  633. uucico muikku root (1992-09-04 23:08:22.02 13535) DEBUG:
  634. fgwait_for_packet: Need 6 bytes
  635. uucico muikku root (1992-09-04 23:08:32.00 13535) DEBUG: fport_read:
  636. Read 0 ""
  637. uucico muikku root (1992-09-04 23:08:32.00 13535) DEBUG:
  638. fgsend_control: Sending control RJ 0
  639.  
  640.  ...RJ 0 is obviously a request to resend the packet (am I right?)...
  641.  ...After this uucico try's to resend the packet ten times without...
  642.  ...success and finally times out and executes CLOSE              ...
  643.  
  644. uucico muikku root (1992-09-04 23:09:12.01 13535) ERROR: Timed out
  645. waiting for packet
  646. uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fgsend_control:
  647. Sending control CLOSE 0
  648. uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io:
  649. Writing 6 "\020\011\242\252\010\011"
  650. uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io: Wrote
  651. 6 of 6, read 0 of 16233
  652. uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fgsend_control:
  653. Sending control CLOSE 0
  654. uucico muikku - (1992-09-04 23:09:12.02 13535) DEBUG: fport_io:
  655. Writing 6 "\020\011\242\252\010\011"
  656. uucico muikku - (1992-09-04 23:09:12.04 13535) DEBUG: fport_io: Wrote
  657. 6 of 6, read 0 of 16233
  658. uucico muikku - (1992-09-04 23:09:12.04 13535) Protocol 'g' packets:
  659. sent 2, resent 0, received 0
  660.  
  661. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  662. !!Here it is said: We sent 2 packets but why is it just 2 !!
  663. !!everytime I try it? Are those two the control packets   !!
  664. !!or what? The rest of the transcript was just closing the!!
  665. !!connection, so I deleted it.                            !!
  666. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  667.  
  668. The sys file is here:
  669.  
  670. #
  671. # The following information is for muikku
  672. #
  673. system muikku
  674. # The login name and password are kept in the callout passwd file
  675. call-login nuucp
  676.  
  677. # We can send only during night. (2200-0700)
  678. # time Wk2200-0700,Sa2200-0700,Su2200-0700
  679. time Any
  680.  
  681. # The phone number.
  682. phone 419290
  683.  
  684. # Muikku is very slow
  685. chat-timeout 120
  686.  
  687. # We are using Hayes modem
  688. port type modem
  689. port device /dev/tty00
  690. port baud 2400
  691. port carrier true
  692. port dialer chat "" ATZ\r\d\c OK ATDT\D CONNECT
  693. port dialer chat-fail BUSY
  694. port dialer chat-fail NO\sCARRIER
  695. port dialer complete \d\d+++\d\dATH\r\c
  696. port dialer abort \d\d+++\d\dATH\r\c
  697.  
  698. # This is made to make this work with muikku
  699. # There is no password for user 'nuucp'
  700. chat ogin: \L
  701.  
  702. This is the story of mine. ANY help appreciated!
  703.  
  704. Thanks for listening (reading).
  705. -- 
  706.   // Miikka     putaala@phoenix.oulu.fi           Tatunkuja 6 90540 Oulu
  707.      Putaala    mputaala@tolsun.oulu.fi              FINLAND
  708.                                                   Phone: (358) 81 362430
  709.  
  710. -----------------------------
  711.  
  712.  
  713. End of UNIX-WIZARDS Digest
  714. **************************
  715.