Saturday, November 18, 2006
ISA Modem on Mothball
Install old ISA modem in Mothball (Dell XP600?)
/var/log/messages:
Nov 18 17:54:25 mothball kernel: isapnp: Scanning for PnP cards...
Nov 18 17:54:25 mothball kernel: isapnp: Card 'CPI ViVa CommCenter/SP 33.6'
Nov 18 17:54:25 mothball kernel: isapnp: 1 Plug & Play card detected total
Nov 18 20:04:02 mothball kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Nov 18 20:04:02 mothball kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Nov 18 20:04:02 mothball kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Removing modem removes isapnp Card 'CPI ViVa CommCenter/SP 33.6', but not ttyS0. Modem isn't registered with tty.
setserial -v /dev/ttyS0 autoconfig
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
No ISAPNP support on serial driver?
From http://www.mjmwired.net/resources/mjm-fedora-fc5.html
$ yum install yum-utils
$ yumdownloader --source kernel --enablerepo core-source --enablerepo updates-source
$ rpm -ivh kernel-2.6.15-1.1955_FC5.src.rpm
$ rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.15/linux-2.6.15.ARCH/
From http://www.mjmwired.net/resources/mjm-kernel-fc4.html
Get kernel source and turn on CONFIG_PNP_DEBUG CONFIG_PNPBIOS and CONFIG_PNPBIOS_PROC_FS
/var/log/messages:
Nov 18 17:54:25 mothball kernel: isapnp: Scanning for PnP cards...
Nov 18 17:54:25 mothball kernel: isapnp: Card 'CPI ViVa CommCenter/SP 33.6'
Nov 18 17:54:25 mothball kernel: isapnp: 1 Plug & Play card detected total
Nov 18 20:04:02 mothball kernel: Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
Nov 18 20:04:02 mothball kernel: serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Nov 18 20:04:02 mothball kernel: 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Removing modem removes isapnp Card 'CPI ViVa CommCenter/SP 33.6', but not ttyS0. Modem isn't registered with tty.
setserial -v /dev/ttyS0 autoconfig
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
No ISAPNP support on serial driver?
From http://www.mjmwired.net/resources/mjm-fedora-fc5.html
$ yum install yum-utils
$ yumdownloader --source kernel --enablerepo core-source --enablerepo updates-source
$ rpm -ivh kernel-2.6.15-1.1955_FC5.src.rpm
$ rpmbuild -bp --target=$(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.15/linux-2.6.15.ARCH/
From http://www.mjmwired.net/resources/mjm-kernel-fc4.html
Get kernel source and turn on CONFIG_PNP_DEBUG CONFIG_PNPBIOS and CONFIG_PNPBIOS_PROC_FS
Saturday, November 04, 2006
Remote Backup Using SSH and TAR
I have one of those three-year free trial hosting accounts from 1&1. It's coming due at the end of the year and their documents say upgrading the account (that is, actually paying for it) requires the site be backed up and restored to a new account. It's annoying, but whether I do this or move to another host, the backup needs to be made just the same. I have been backing it up manually by logging in to the account and making a TAR of the site, then transferring it to my local computer with FTP. The problem is, the site has a 500MB limit and I'm using 400MB of it, so there isn't room for the files and a compressed TAR backup. SSH to the rescue! I've found lots of sites that show you how to back up using SSH and TAR this way:
If you can't SSH to your local machine, you can do it this way:
The restore command is:
or to restore to a different location:
home$ ssh user@example.com
user@example.com's password:
example$ tar zcf - . | ssh user@home-machine.net "cat > example.tgz"
If you can't SSH to your local machine, you can do it this way:
home$ (ssh user@example.com tar czf - .) > example.tgz
user@example.com's password:
The restore command is:
home$ cat example.tgz | (ssh user@example.com tar xzf -)
user@example.com's password:
or to restore to a different location:
home$ cat example.tgz | (ssh user@example.com "cd temp; tar xzf -")
user@example.com's password:
Subscribe to Posts [Atom]
BlogPhiles webring: Previous Site | Random Site | Next | Membership Guide | Site List