Archive

Posts Tagged ‘Ubuntu’

Ubuntu Serial PowerConnect Setup

November 14th, 2011 Comments off

Starting to configure a new Dell PowerConnect 6248, I realized that my new laptop didn’t have a serial interface to configure the initial router setup (Dell, seriously, the VT-100 console mode is a tad 1978-ish).

There’s no fear, I have an old Ubuntu box that so happens to have a serial port free, but I did not have a clue what program would be easy to use like a Hyperterminal.

I stumbled on an article that good ol “Putty” can do serial connections AND is available on Ubuntu. A simple “apt-get putty” and few minutes later and we were off to the races.

(Quick note, make SURE that you have your serial ports enabled in the bios. Trust me.)

After plugging the serial connection into the PowerConnect 6248, the only problem was, trying to find the right serial port available.
A quick “dmesg | grep ‘tty’” showed that I had both TTYS0 and TTYS1 available. So we try them both!

Setup a new Putty Session and on the left hand-side underneath “Connection” click on the “Serial” label. Using Dell’s manual, I configured it to try /dev/TTYS0, 9600, 8, 1 None, XON/XOFF. Hit “Open” and voila..a blank screen.

You NEED to press the “Enter” key to get it to wake up. If you are talking to the PowerConnect you should be a “Console>” command prompt. Pick up the PowerConnect Manual, power off/on the switch and follow the manual to completion. Note, if /dev/TTYS0 doesn’t work, try the /dev/TTYS1

The old Ubuntu box is now dubbed the “Serial Box” in our office (I know..really..really bad).

Fail2Ban – A Secured Site’s Best Friend

October 12th, 2010 Comments off

If you run a linux site that is exposed to the internet, check the /var/log/auth.log or /var/log/secure log files. Chances are you’ll see a bunch of ‘ Failed password for user ‘ attacks on your site.

Read more…

Win7 VMware Server Network Speedup

October 6th, 2010 Comments off

I recently was having horrible download rates on some VMWare ubuntu images that are hosted on a beefy Win7 box.
Read more…

Ubuntu Sata drive reset VT6421 bug

September 29th, 2010 Comments off

Upgrade time for an older storage server (really a workstation), running Ubuntu 10.04. The old workstation did not have any Sata controllers in it, so I had to install a new MASSCOOL XWT-RC018 run-of-the-mill PCI Sata controller. Popped in two brand new Samsung Spinpoing 1 TB drives (SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM) and started to setup Software raid-1 in Ubuntu.
Read more…

Ubuntu: Fixing the “Not replacing deleted config file”.

September 17th, 2010 Comments off

A recent upgrade to a new Ubuntu server version, caused my dovecote server to not be happy.   Apparently in my haste, I had kept my old configuration files for Dovecot that had several features replaced or depreciated.  I tried removing the package using “apt-get remove dovecot*”, but my config files were still left behind.
Read more…