PDA

View Full Version : DHCP configuration



Rudeboy
03-31-2003, 08:56 AM
Hi there,

I'm trying to configure Knoppix to work with my cable modem, but I can't get it to work.
On a Redhat installation, all i needed to do was dhcpcd -h "hostname" -d eth0 and it worked. But i can't change the config file on Knoppix (because it is on cd?)

I think all i need to do is to activate DHCP (or is it on by default?) and then set the correct hostname.
(I'm using an @home connection in the Netherlands)

Any help is appriciated.

garyng
03-31-2003, 10:19 AM
dhcp is the default which in general means you don't have to do anything. However, if there is any additional setup that is needed before dhcp will work, KNOPPIX would get confused.

For example, I use a wireless PCMCIA card which requires me to set the proper essid and WEP key before it will function. So I have to do it first then tell KNOPPIX to do the network card configuration through DHCP.

FunForum
09-27-2003, 11:04 AM
i live in the Netherlands as well
and have @Home Cable

and i can't seem to be able to set my computername/hostname

we need to set our computersname to somethign they tell us,
then they recognise us with that name and give us out own IP

i use using Knoppix v3.3 on CD
did "sudo gvim /etc/hostname" and changed the line in that file to my hostname; CP121041-A
that went fine, even went back to check if my changes got saved, and it did.
but when i try this:
sudo -u root pump -h 'CP121041-A' -i eth0
it returns an "Operation Failed" :|

i read in another thread that this would let oen change the hostname
but "Operation Failed" doesn't sound like it's working :(

anyone any ideas?

WimG
09-27-2003, 10:54 PM
You can try:

sudo -u pump -h computername -i eth0

without the ' ' also instead off eth0 maybe try eth1