shell via serial

Brian Fahrlander brian at fahrlander.net
Sun Apr 22 21:36:02 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carl Karsten wrote:
> Brian Fahrlander wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Carl Karsten wrote:
>>> I boot feisty on Box1 with console=ttyS0,115200 and see all my boot messages in 
>>> minicom on a 2nd box.  So my serial ports and null modem are hooked up.  what do 
>>>   I need to do to get a shell login prompt?
>>>
>>> In the ol days, I did this in inittab
>>>
>>> #1:2345:respawn:/sbin/mgetty /dev/ttyS1 -x 5
>>>
>>> now I nave no inittab...  what do I do?
>>     Ya see?  That's why I don't upgrade from Dapper.  :)
>>
>>     It sounds like you're an old-timer like me...I used to *always* have
>> a serial terminal around, and for about two decades, could tell you the
>> pinouts you need on various serial devices.
>>
>>     Not to get too off-track, but is there some reason you don't use the
>> networking? You can direct the 'console' messages five ways from Friday...
>>
> 
> I am trying to setup something similar to:
> 
> https://help.ubuntu.com/community/Router
> 
> What I am really trying to do is make a bridge that will let a normal wifi AP be 
> the 'remote' side of a bridge.  (I should just go buy an AP that will let me 
> configure it as a bride, but that's no fun :)

    Ya know, I did that; I got a Belkin at WalMart for about $40. It
works pretty well, but as always when you buy something they obscure all
the 'goodies' that are possible to make it market-ready.

    That's why I want to eventually make a Linux box my router/firewall.
Then I can get a 'logwatch' from it each night, set up QualityOfService
so the Packet8 telephone doesn't get trashed when I'm in a BT download,
that kinda  thing.

> as I try things that don't work quite right, I keep loosing my ssh session, and 
> sometimes any/all networking. I tried adding a 2nd nic just for getting the 
> configuration working, but I would loose my connection to it too.

    There's a "keepalive" option in ssh; I'll bet that's not set, and
it's pulling down the connection, 'cause it thinks you've walked away
after an hour or so.

    If you really want to have some fun, look into eBay for "pc104
- -keyboard".  That's where you'll find some really interesting hardware
that's stackable, perfect for routers/firewalls, including those who can
act as a personal weather station for just another $30.

    This PC104 thing is like what the PC would be, if it had to be
designed in an oatmeal box; the boards are something like 3.5"x3.5".
They stack, so you can do all kinds of neat things, including
supercomputing, if you want to.
- --
 ------------------------------------------------------------------------
 Brian Fahrländer                 Christian, Conservative, and Technomad
 Evansville, IN                              http://Fahrlander.net/brian
 ICQ: 5119262                         AOL/Yahoo/GoogleTalk: WheelDweller
 ------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGK9VC6PLtRzZbdhYRAkAUAJ9QGaWmLyn1BfpSCF7/2j0jf8n6MwCeOMIc
F56MW1LtNQI/all5b9aSewo=
=KPJC
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list