LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Need help with @Home DHCP setup w/ Suse distro (https://www.linuxquestions.org/questions/linux-networking-3/need-help-with-%40home-dhcp-setup-w-suse-distro-7575/)

jmelgin 10-15-2001 09:17 PM

Need help with @Home DHCP setup w/ Suse distro
 
I'm running Suse Linux 7.1 and have @Home cable modem service (was just converted from Mediaone). I am trying to get DHCP to work on eth0 (connected to cable modem) but am having no luck.

I was able to use a Windoze box w/ DHCP client to get an IP address and have set up my linux box with that address as a static IP (for now). I'm able to run everything fine (ip masq and all) this way but am fearful that @Home will want to reset my IP address - so I really want to figure out how to get DHCP working.

I have seen several posts suggesting that I edit a file with DHCP_HOSTNAME=cx999999 or something similar, however these refer to some config files that I can't find.

I understand that Suse has a different set of config files, so I'm looking for any help with this distro that I can find.

Steave 10-16-2001 11:23 AM

The following needs to be done to set a network card (here: eth0) to be a dhcp-client in SuSE:

edit your /etc/rc.config file:

find a line that says

IFCONFIG_0="<something>"
edit the <something> to say dhcpclient

save rc.config and run SuSEconfig

Now your eth0 is set to be a dhcp-client. I don't know how you can assign a dhcp-name though. Have a look into the man-pages for ifconfig. the <something> is given as parameters to ifconfig ethx at startup. So you can probably also assign a dhcp-name that way.
Don't forget to run SuSEconfig each time you change any settings in /etc/rc.config!

HTH, Steave.


All times are GMT -5. The time now is 12:25 PM.