Thursday, August 12, 2010

If the vendor doesn't fit, change him + CentOS 5.5 changing from DHCP to static IP addressing

If the vendor doesn't fit, change him
Fodder for another post is a nightmare I've had with Xorcom USA with one of my newest accounts.  If there was a way to blow the order and the VAR-partner relationship, including lying to the VAR, they've done it with this account.  No fun.

Eventually, we were obligated to drop Xorcom for this project and get a different appliance vendor.  We opted for Rhino Equipment Corp .  24h after the order was in, I got this from the customer:

I got the device. It's great. Perfectly packaged. It's plugged in and I've SSH'd in
First try, and the customer is happy.  Which makes me happy.  After six weeks of delays because of hardware, hopefully we'll get back on track.


CentOS 5.5 changing from DHCP to static IP addressing
The other thing the customer needed was a "how-to" on setting the Ceros-1U to a static IP address.  Here is the info I sent him.  Hopefully it will help some other Netizen out there:


Here is what you do:
cd /etc/sysconfig/network-scripts/
nano (or vi) ifcfg-eth0
... you'll see something like:
DEVICE=eth0 
BOOTPROTO=dhcp 
HWADDR=04:01:01:03:7e:1e 
ONBOOT=yes
... change it to look like this:
DEVICE=eth0
ONBOOT=yes
NETMASK=255.255.255.240
IPADDR=173.1.138.2
HWADDR=04:01:01:03:7e:1e
GATEWAY=173.1.138.1
TYPE=Ethernet
BOOTPROTO=none
...  ensure the IPADDR, GATEWAY and NETMASK lines make sense for your network.  Now, save and exit.  Then type:
service network restart
... your SSH session will likely die at this point, since the machine is now on a different IP address.  PING or/ and SSH to your new IP and you're in business.

2 comments:

  1. I'm sorry to hear that you had issues with Xorcom; I've been building Asterisk boxes with their hardware for years and it works great if it is set up correctly.
    I'm curious what happened!

    ReplyDelete
  2. Also Im really curious why it took them 6 weeks.. I can get their hardware THE NEXT DAY.
    Something must have been very awry there!

    ReplyDelete