From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4421E178.2030000@lanl.gov> Date: Wed, 22 Mar 2006 16:44:56 -0700 From: Ronald G Minnich User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] simple question: monitor ppp Topicbox-Message-UUID: 1b7fa20c-ead1-11e9-9d60-3106f5b1d025 I'm thinking it would be nice to have a way to do this: watcher -s /srv/watcher -f /dev/eia0 ppp -p /srv/watcher watcher would print all the traffic as it flows from ppp to eia0. Something like: SENT |.... (blah blah; xd format) RECV | .... etc. I also think that there is already a way to do this; there usually is in Plan 9, I just usually miss it :-) Hints accepted :-) Here's a hint for you in trade: when attaching an rs232 GPRS phone device to plan9, run con -Rs /dev/eia0 You need to convert LF->CR, and ALSO strip bit 0x80. If we can get this to go, we'll have a cell-connected 9grid :-) ron