Re: Tips for serial terminal file transfer?

2003-09-06 Thread Todd Pytel
On Sat, 6 Sep 2003 06:36:56 +0100
Karsten M. Self [EMAIL PROTECTED] wrote:

 Waddyaknow (not much, you?).  PLIP works.  Sorta.
 
 I get some long periods of timeout, but currently have an ssh session
 into the box.  I don't know if this is going to be feasible...
 
 I've played a tad with plipconfig, upping nibble and trigger to 6000
 and 1000 (twice their defaults) on both sides of the link.  Frankly,
 I'm not sure if this helps or not.  Hrm.  Upped it again to
 12000/2000. Definitely dicey.

It's been years since I used PLIP, but I seem to remember that the
default parallel port BIOS settings were not correct for me. I would
think that those settings would be all-or-nothing, but it may be worth
checking into.

-- 
Todd Pytel


Signature attached
PGP Key ID 77B1C00C


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-06 Thread Karsten M. Self
on Sat, Sep 06, 2003 at 09:46:32AM -0500, Todd Pytel ([EMAIL PROTECTED]) wrote:
 On Sat, 6 Sep 2003 06:36:56 +0100
 Karsten M. Self [EMAIL PROTECTED] wrote:
 
  Waddyaknow (not much, you?).  PLIP works.  Sorta.
  
  I get some long periods of timeout, but currently have an ssh session
  into the box.  I don't know if this is going to be feasible...
  
  I've played a tad with plipconfig, upping nibble and trigger to 6000
  and 1000 (twice their defaults) on both sides of the link.  Frankly,
  I'm not sure if this helps or not.  Hrm.  Upped it again to
  12000/2000. Definitely dicey.
 
 It's been years since I used PLIP, but I seem to remember that the
 default parallel port BIOS settings were not correct for me. I would
 think that those settings would be all-or-nothing, but it may be worth
 checking into.

ThinkPad BIOS lets me set LP number (1,2,3), bidirectional or not.  No
IRQ or I/O settings.

I can't upgrade BIOS w/o a power source for the box, which would cost
more than it's worth.  BIOS upgrade won't take if box is in docking
unit.

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   We freed Dmitry!Boycott Adobe! Repeal the DMCA!
 http://www.freesklyarov.org


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-05 Thread Karsten M. Self
on Tue, Sep 02, 2003 at 08:19:33AM +0100, Karl E. Jorgensen ([EMAIL PROTECTED]) wrote:
 On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
  I'm trying to bootstrap an old 486 Thinkpad.  It's got two PCMCIA slots,
  and might make a decent gateway.

 Why not run a laplink cable and run pppd at both ends? (remember to
 specify local to pppd).  Or even plip?
 
 It won't be fast, but it should be much less cumbersome than
 uuenconde/shar or whatever. 

Waddyaknow (not much, you?).  PLIP works.  Sorta.

I get some long periods of timeout, but currently have an ssh session
into the box.  I don't know if this is going to be feasible...

I've played a tad with plipconfig, upping nibble and trigger to 6000 and
1000 (twice their defaults) on both sides of the link.  Frankly, I'm not
sure if this helps or not.  Hrm.  Upped it again to 12000/2000.
Definitely dicey.

Again, thoughts appreciated.


Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
Defeat EU Software Patents! http://swpat.ffii.org/


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-04 Thread Karl E. Jorgensen
On Thu, Sep 04, 2003 at 02:29:21AM +0100, Karsten M. Self wrote:
 on Tue, Sep 02, 2003 at 08:19:33AM +0100, Karl E. Jorgensen ([EMAIL PROTECTED]) 
 wrote:
  On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
   I'm trying to bootstrap an old 486 Thinkpad.  It's got two PCMCIA slots,
   and might make a decent gateway.
   [ getty/minicom/zmodem stuff: can't get it to work ]
  
  Why not run a laplink cable and run pppd at both ends? (remember to
  specify local to pppd).  Or even plip?
  
  It won't be fast, but it should be much less cumbersome than
  uuenconde/shar or whatever. 
 
 I've already tried both.  Don't work :-(

Hm. Since it sounds like that you have a laplink cable handy, I don't
mind helping out with ppp (very remotely..).

ppp symptoms? Settings?

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]   http://karl.jorgensen.com
 Today's fortune:
The good thing about standards is that there are so many to choose from.
-- Andrew S. Tanenbaum


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-03 Thread Karsten M. Self
on Tue, Sep 02, 2003 at 08:19:33AM +0100, Karl E. Jorgensen ([EMAIL PROTECTED]) wrote:
 On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
  I'm trying to bootstrap an old 486 Thinkpad.  It's got two PCMCIA slots,
  and might make a decent gateway.
 
 Never throw working hardware away :-)
 
  First problem:  I can't get external video off the system, not sure why.
  Running it through an Omniview 4-port KVM.
 
 It's an old laptop - bent pins?
 
  [ getty/minicom/zmodem stuff ]
 
 Why not run a laplink cable and run pppd at both ends? (remember to
 specify local to pppd).  Or even plip?
 
 It won't be fast, but it should be much less cumbersome than
 uuenconde/shar or whatever. 

I've already tried both.  Don't work :-(

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   At the sound of the toner, boycott Lexmark:  trade restraint via DMCA.
http://news.com.com/2100-1023-979791.html


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-02 Thread Colin Watson
On Mon, Sep 01, 2003 at 11:56:48PM +0100, Karsten M. Self wrote:
 It would also be helpful if I could do the old trick of :
 
 cat EOFfoo
 file transfer
 EOF
 
 ...but this method performs shell expansions on the content.

If you quote EOF, it doesn't:

  $ cat EOF
   $BASH_VERSION
   EOF
  2.05b.0(1)-release
  $ cat 'EOF'
   $BASH_VERSION
   EOF
  $BASH_VERSION
  $ cat EOF
   $BASH_VERSION
   EOF
  $BASH_VERSION

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tips for serial terminal file transfer?

2003-09-02 Thread Karsten M. Self
on Tue, Sep 02, 2003 at 12:05:12AM +0100, Colin Watson ([EMAIL PROTECTED]) wrote:
 On Mon, Sep 01, 2003 at 11:56:48PM +0100, Karsten M. Self wrote:
  It would also be helpful if I could do the old trick of :
  
  cat EOFfoo
  file transfer
  EOF
  
  ...but this method performs shell expansions on the content.
 
 If you quote EOF, it doesn't:
 
   $ cat EOF
$BASH_VERSION
EOF
   2.05b.0(1)-release
   $ cat 'EOF'
$BASH_VERSION
EOF
   $BASH_VERSION
   $ cat EOF
$BASH_VERSION
EOF
   $BASH_VERSION

Ahhh

That's _two_ things learned today.  Very sweet.


I still find the idea of bootstrapping a Debian system by way of
uuencoded ASCII file transfers to be horribly _wrong_, but I won't
complain about it.

Hrm.

Hrm.

Yes, I suppose I could tar some large archives and do bulk transfers
this way.

Thanks.

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
   Hollings:  bought, paid for, but couldn't deliver the CBDTPA:
 http://www.politechbot.com/docs/cbdtpa/hollings.s2048.032102.html


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-02 Thread Karl E. Jorgensen
On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
 I'm trying to bootstrap an old 486 Thinkpad.  It's got two PCMCIA slots,
 and might make a decent gateway.

Never throw working hardware away :-)

 First problem:  I can't get external video off the system, not sure why.
 Running it through an Omniview 4-port KVM.

It's an old laptop - bent pins?

 [ getty/minicom/zmodem stuff ]

Why not run a laplink cable and run pppd at both ends? (remember to
specify local to pppd).  Or even plip?

It won't be fast, but it should be much less cumbersome than
uuenconde/shar or whatever. 

-- 
Karl E. Jørgensen
[EMAIL PROTECTED]   http://karl.jorgensen.com
Your eyes are weary from staring at the screen...  You feel sleepy...  Notice
how restful it is to watch the cursor blink...  Close your eyes (but keep
reading)...  The opinions stated above are yours. You cannot imagine why you
ever felt otherwise.


pgp0.pgp
Description: PGP signature


Re: Tips for serial terminal file transfer?

2003-09-01 Thread Frank Gevaerts
On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
 I'm still looking for a good method for doing file transfers.  I haven't
 used kermit, x/y/zmodem, etc., for about fifteen years, so I'm not sure
 what the options are here.

minicom supports x/y/zmodem once you install lrzsz on both sides. I have
not used it much, so I can't really tell you more, but at least a few
years ago, with slackware 3.4, xmodem downloads worked.

Frank


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tips for serial terminal file transfer?

2003-09-01 Thread Shaul Karl
On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
 
 After this point, you can transfer shar archives (which use uudecode,
 hence the above step), allowing for ASCII mode transfers.
 


  I am missing something. Can't you uuencode every file and transfer it
in the same way?


 
 I'm still looking for a good method for doing file transfers.  I haven't
 used kermit, x/y/zmodem, etc., for about fifteen years, so I'm not sure
 what the options are here.
 
 I'm also wondering if there is other terminal software other than
 minicom I can use, preferably with color support.  minicom seems to do
 only vt100.
 


  What about minicom -c on?
  
$ minicom -h|grep color
  -c, --color=on/off : ANSI style color usage on or off
  
-- 

Shaul Karl,shaulk @ actcom . net . il


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Tips for serial terminal file transfer?

2003-09-01 Thread Karsten M. Self
on Mon, Sep 01, 2003 at 07:17:18PM +0300, Shaul Karl ([EMAIL PROTECTED]) wrote:
 On Mon, Sep 01, 2003 at 12:41:24PM +0100, Karsten M. Self wrote:
  
  After this point, you can transfer shar archives (which use uudecode,
  hence the above step), allowing for ASCII mode transfers.
  
 
 
   I am missing something. Can't you uuencode every file and transfer it
 in the same way?

I can, but it's a tad cumbersome.

The main problem is having to clear out every other line, as there's a
linefeed inserted on ASCII transfers.

I suppose I could write an awk script to handle this.

Hrm, that was easy:

cat EOFoddlines
#!/usr/bin/awk -f
{ if ( NR%2 ) {print} }
EOF
chmod +x oddlines


It would also be helpful if I could do the old trick of :

cat EOFfoo
file transfer
EOF

...but this method performs shell expansions on the content.  Similarly:

echo '
file transfer
'  foo


...runs into problems if the quote character is included in the
transferred content.


  I'm still looking for a good method for doing file transfers.  I haven't
  used kermit, x/y/zmodem, etc., for about fifteen years, so I'm not sure
  what the options are here.
  
  I'm also wondering if there is other terminal software other than
  minicom I can use, preferably with color support.  minicom seems to do
  only vt100.

   What about minicom -c on?
   
 $ minicom -h|grep color
   -c, --color=on/off : ANSI style color usage on or off

Cool!  That works ;-)

Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
Defeat EU Software Patents! http://swpat.ffii.org/


pgp0.pgp
Description: PGP signature