Click to See Complete Forum and Search --> : Setup DHCP without a GUI
Nexist
11-15-2000, 01:11 PM
Hello.
I need to enable DHCP for my Trustix Linux install.
I beleive it is based upon the Redhat Dist. Kernel is 2.2.16-5tr.
The Howto tells me to go into the Control Panel, which isn't available in this version (no GUI)
TIA
Douglas
RageAHolic
11-15-2000, 01:24 PM
In a terminal window as root, type:
ifconfig eth0 dhcp (this assumes that you've only got one NIC...substitute eth1 if that is your intended NIC).
ifup eth0
It should be as simple as that...if anyone sees anything wrong with that, please post any corrections http://www.linuxnewbie.org/ubb/smile.gif
------------------
...your friendly neighborhood RageAHolic (http://www.angelfire.com/electronic/RageAHolic/index.html)
Rage fueled by: AMD Athlon
Nexist
11-15-2000, 01:35 PM
When I type that, I get what looks like a help screen (it scrolls off the top of the display).
I wonder if the net card is too new.
It is an Intel PRO/100 VE
How would I check if this has a driver installed?
D-Termind
11-15-2000, 01:55 PM
Originally posted by :
Sorry...I should have read the rest of his post.
------------------
D-Termind
Luthor
11-15-2000, 02:37 PM
I am not familiar with the "Trustix" dist but type "linuxconf" at the CLI, you might get lucky and it will be installed. It has a nice ncurses based text display, if run without X, that is easy to navigate and well organized. If it is not part of your distribution, you might consider installing it yourself.
Using linuxconf, you should be able to find what you are looking for by going to "networking"->"host name..."->"adaptor 1" or some variation of those depending on the version.
The DHCP button should be right there. http://www.linuxnewbie.org/ubb/smile.gif
------------------
Luthor St. James
(aka [AcK]BillTheCat)
RageAHolic
11-15-2000, 04:32 PM
Originally posted by Nexist:
When I type that, I get what looks like a help screen (it scrolls off the top of the display).
I wonder if the net card is too new.
It is an Intel PRO/100 VE
How would I check if this has a driver installed?
lsmod will print modules that are currently loaded.
Look for eepro100 in the output of lsmod. I think that that is the module that you need.
If it is not listed in the output of lsmod, you need to insert (load) it.
Try:
insmod eepro100
OR
modprobe eepro100
This is a quote from the author of the driver...ripped from lhd.datapower.com
From the author: This driver will work only with PCI cards. ISA and EISA cards have different architectures and have no chance of working with this driver. The older 100A cards using the i82556 chip will not work with this driver. There is no simple modification to make it so. I have no plans to write a driver for the ancient 100A, or documentation to do so. Please don't write to ask about it.
You will probably need to have this loaded at boot...I'm not sure about how to do that for Trustix or RedHat-based distros...sorry.
So once you find out whether your NIC's module is loaded or not, try ifconfig again.
------------------
...your friendly neighborhood RageAHolic (http://www.angelfire.com/electronic/RageAHolic/index.html)
Rage fueled by: AMD Athlon