Click to See Complete Forum and Search --> : dhcp w/static linux box
anravel
04-16-2007, 01:14 PM
I have inherited a Linux box that handles internal email only. It died, I placed the hard drive in a new computer and it works....sort of. It appears that the network cannot see the IP address.
Because I have ZERO Linux knowledge I do not even know what to do at this point. My network is set up on DHCP but the Linux has a static IP address.
Do I need to change something on the computer?
HELP!
je_fro
04-16-2007, 01:35 PM
yeah, set up the compter to use DHCP....
do you have any gui networking tools?
what distro and version is this?
anravel
04-16-2007, 01:41 PM
I couldn't tell you what version it is. And the GUI controls do not appear to want to work.
This system was hooked up to the same network yesterday (diff MOBO--OLD)and today it won't work in a Dell box?
BOOTPROTO = NONE
Should this say DHCP?
je_fro
04-16-2007, 01:54 PM
BOOTPROTO = NONE
Should this say DHCP?
Probably not. Since you just moved the HD into a different box, I'm suprised it boots at all...you're lucky.
Anyway, we're going to need to know at least the distro to get it fixed properly. In the meantime, here's a couple of shots in the dark...
As root try issuing:
dhcpcd eth0
or
dhclient eth0
and then check your ip with
ifconfig
Good Luck!
anravel
04-16-2007, 02:05 PM
When I boot up it says 7.0 version kernel 2.2.16-22 on an i686.
when I ran (from root) any of the cmds you suggested returned a bash
anravel
04-16-2007, 02:12 PM
I did run a ifcfg-eth0 and it returned a lot of stuff but my IP address is what is should be.
mrrangerman43
04-16-2007, 03:03 PM
Open a terminal window and type cd /etc/apt/ if you get dir does not exist. Then it will not be any of the Debian's OS.
Then type which yum as root and see if you get some output, if you do then its a rpm Linux.
I'm going to guess it's redhat 7.0 but thats just a guess.
anravel
04-16-2007, 03:38 PM
Yes it's Redhat.
je_fro
04-16-2007, 11:50 PM
perhaps try issuing the command "startx"
if you get a gui it'll be a lot easier to configure networking...other than that, there's always this: http://www.redhat.com/docs/manuals/linux/RHL-7-Manual/