LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-04-2004, 10:35 PM   #1
jpr9898
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Rep: Reputation: 0
DHCP Client Configuration


Hi all,

I am in the process of setting up a Linux machine on my home network. I currently have two windows 2000 boxes connected to an SMC barricade router. The router is uplinked to a cable modem.

Once the linux install is complete, and the system is up and running, everything seems fine, except that the Linux box has no host name. The router assigns an ip to the system, and it can be pinged from the windows boxes easily enough. no troubvle with connecting to the internet either.

When I browse to the router, I can see the IP assignment, MAC address, but the hostname appears as 'hostname="".

The windows system names are listed along with IP assignment and MAC address.

I am currently fiddling with Mandrake Community 10.1, but had similar experience with Slackware. I am using the text install - low end machine barfs on graphical version. Nowhere am I asked to enter a host name - although I am getting an error message (SIOCETHTOOL: invalid argument).

Been looking through this site for a while now - found some pretty similar problems laid out, but no solutions that worked.

Any suggestions would be welcome.

Thanks in advance
 
Old 12-04-2004, 11:21 PM   #2
EnigmaOne
LQ Newbie
 
Registered: Aug 2003
Location: Long Beach, CA - USA
Distribution: Too many to count...
Posts: 28

Rep: Reputation: 15
Edit or create /etc/hostname with your preferred hostname in there.
Then edit /etc/hosts to reflect the change:
Code:
127.0.0.1	HOSTNAME	localhost
It should be picked-up when you restart the network service.
 
Old 12-05-2004, 12:54 AM   #3
jpr9898
LQ Newbie
 
Registered: Feb 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks,

Worked like a charm
 
  


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
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 05:18 AM
DHCP client configuration TaNeK Linux - Newbie 1 12-12-2004 06:23 AM
Firestarter "No DHCP client configuration found" Locura Linux - General 1 12-10-2003 10:05 AM
DHCP client configuration - debian pe2338 Linux - Networking 8 08-15-2003 12:11 PM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:58 AM.

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