LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-29-2004, 05:24 AM   #1
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Rep: Reputation: 15
Question dhcp_hostname in Debian Woody R1 where?


Trying to get aquianted with Debian (woody-R1) and am stuck with the DHCP_HOSTNAME option.

My servers are configured to deny access to hosts not registered with dns and this machine gets it's IP from dhcp so can't simply update a host file somewhere.

For some reason, this machine isn't updating the dns server. In RedHat et al, simply putting the DHCP_HOSTNAME="bla bla" option in the ifcfg-ethX works but Debian doesn't use the same format to confgure the interface.

Any assistance would be appreciated.

Thanks.
 
Old 06-29-2004, 01:20 PM   #2
sterrenkijker
Member
 
Registered: Mar 2004
Location: the Netherlands
Distribution: Debian Sarge
Posts: 302

Rep: Reputation: 31
The file you must edit is /etc/network/interfaces. The file has a manpage: basically you just need to add a line
hostname fill_in_your_hostname
in /etc/network/interfaces

I think that's what you're looking for,

Succes!

Sterrenkijker
 
Old 07-02-2004, 06:25 PM   #3
Mrcdm
Member
 
Registered: Apr 2003
Location: Australia
Distribution: Debian 3, 31r0, 4, slackware, DSL, RH8.0/7, MDK9/10, et al. Vista is cute but not Linux - I tried
Posts: 70

Original Poster
Rep: Reputation: 15
Thanks mate. I tried that and had no luck. I even went into the options file (same dir) with the same result.

What I ended up doing was modifying the /etc/dhcp.conf file adding
send host-name "my_hostname";
I found this file in shear desperation used the man pages. RedHat, Mandrake and even Slackware don't use this file but use the configuration scripts for the interface.
It all worked since then. Almost all of the information I found trawling the net suggested the same as you did. Have I got some sort of funny install or something?

Thanks for your help. Hopefully someone else will find this post usefull if nothing else.

Ciao
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian woody : how many CDs do I need. dejavu_01 Debian 4 02-06-2005 09:30 AM
Debian/Woody on laptop baers Debian 5 01-10-2005 10:39 PM
Debian Woody Streams Linux - Newbie 3 08-18-2003 04:33 PM
debian(woody)/x help majesticsock Linux - Newbie 7 08-10-2003 06:44 PM
upgrade debian woody?? yowwww Linux - Distributions 2 06-09-2003 02:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration