IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Bootstrapping -- a serial installment

I've been putting together the various systems I've had lying around over the past couple of years into a functional network. Various goals, partly just keeping myself out of trouble.

\r\n\r\n

One box is a classic -- Thinkpad Type 9545. That's a 486 laptop with a docking station. ~10" display, mouse buttons and nubbin, onboard floppy, CDROM and speakers on the accompanying docking station, along with full ports (keyboard, mouse, printer, serial, and some random stuff). Two 16 bit PCMCIA slots. Thought is that it might make a decent gateway/firewall system (lord knows it does little else ;-).

\r\n\r\n

Problem is that the NICs I've got (Belkin F5D5020, more later) don't want to work. Feh. I've got one that does, but it's shared with another laptop.

\r\n\r\n

The CDROM doesn't work (apparently a SCSI driver, messed with that a bit). And the floppy's dodgy.

\r\n\r\n

So, options through now have been to sit down in front of this puppy and mess with it, or get real work done. Oh, and for some reason, video out doesn't on the KVM (though keyboard in does, handily blocking the onboard keyboard).

\r\n\r\n

Hrm....

\r\n\r\n

Well, I've got a bit of serial null-modem cable handy. And while SLIP didn't seem to work.... Yes, I can run a getty on /dev/ttyS0. Muck about with minicom. Hrm... minicom -s /dev/ttyS0 Bump up the buad, as 9600 is painfully slow. OK, and sync both sides. A few init qs, nothing like risking ruin.... No, vt220 doesn't work, so fix it blind back to vt100. Ah, there's a color switch. Coolio.

\r\n\r\n

But terminal access doesn't do much for file transfer. Though minicom's got z/y/xmodem protocols built in, I don't have the client-side software on the remote side. But there is an "ascii" transfer mode....

\r\n\r\n

Brainwave: use a "shar" archive to send files in text mode, usually by opening a vi session and typing: :0r!cat<return>, then initiating the transfer. An awk script consisting of {if (NR%2) {print}} strips the added linefeeds (even lines are tossed). But shar uses uudecode. Rats. But there is a [link|http://www.perl.com/language/ppt/src/uudecode/uudecode.nick|perl implementation of uudecode]. Rawk! Transfer this via ASCII mode. Then uuencode the sharutils deb and transfer it. And while we're at it, lrzsz which has the x/y/zmodem protocols.

\r\n\r\n

OK, we're bootstrapped to the point that we can get packages installed. Granted, at 56k locally, but still. The zmodem stuff still doesn't work (a pointer to a "here's how you do x/y/z modem file transfers with minicom" would be appreciated. Last time I used any of this stuff was about fifteen years ago. Literally. But I've got something I can work with, with some pain, now.

\r\n\r\n

Some useful zmodem links from [link|http://www.uv-ac.de/ipaqhelp/index-2.html|iPaq] and [link|http://www.linux.org/docs/ldp/howto/Remote-Serial-Console-HOWTO/upload-zmodem.html|Remote Serial Console HOWTO].

\r\n\r\n

Oh, and a trick I learned: 'here' documents with a quoted terminator don't do shell expansion on contents, so:

\r\n\r\n
\r\n
\r\ncat <<'EOF' > foo\r\n<stuff>\r\nEOF\r\n
\r\n
\r\n\r\n

...should allow you to put arbitrary 'stuff' in there. Though in my case it doesn't quite work as advertised.

--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
Expand Edited by kmself Sept. 2, 2003, 05:32:50 AM EDT
New Re: Bootstrapping -- a serial installment
Belkin NIC - if Type II (not Cardbus) - pcnet_cs module. Do it hotplug.
-drl
New Belkin-5020 PCMCIA NIC configuration (new thread)
Created as new thread #116308 titled [link|/forums/render/content/show?contentid=116308|Belkin-5020 PCMCIA NIC configuration]
--\r\n
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n
[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n
What part of "gestalt" don't you understand?\r\n
[link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n
\r\n
   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
     Bootstrapping -- a serial installment - (kmself) - (2)
         Re: Bootstrapping -- a serial installment - (deSitter) - (1)
             Belkin-5020 PCMCIA NIC configuration (new thread) - (kmself)

Eat your failures.
78 ms