There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard mouse network operating system printer problem ram registry router security slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Host Name

Reply  
Thread Tools
Shadowfax's Avatar
Junior Member with 17 posts.
 
Join Date: Sep 2001
Location: Arizona
08-May-2002, 05:46 PM #1
Host Name
I, like many, am in the process of learning Linux.

I'm having trouble getting my home network working with both Mandrake 8.2 and Red Hat 7.2. (Two different computers) RH dual boots with Win98 and Mandrake is solo.

I use DHCP on a 4 port Linksys router so I'm not sure if Linux still needs an IP address or if it configures dynamically like Windows. This is a peer to peer network.

The Host name is an issue unto itself. I've tried 'root' and everything else that I could think of. Ironically, I've had the two computers running Linux connected to the Internet but after rebooting they both no longer do.

If someone does know how to configure this (through KDE hopefully), please walk me through it like the newbie that I am.

Any and all suggestions are warmly welcome.
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
11-May-2002, 01:29 AM #2
Linux will work with either a static IP address (can be a local, non-routable one such as 192.168.0.X or similar) or a dynamic IP address. In order to use a dynamic IP address, you will need some form of a DHCP client running on your system. You probably have at least dhcpd included in your distribution (try man dhcpd for help with this utility). You might also try the DHCP mini-HOWTO for additional information. Static IP addresses are typically set in the system initialization scripts in the /etc/rc.d hierarchy.

You can use the hostname command to set the hostname; the fully-qualified hostname may be kept in a file such as /etc/HOSTNAME (note caps). The hostname is typically reset during system boot; you can review the scripts in the /etc/rc.d directory hierarchy to see where the name is set during boot (often in /etc/rc.d/rc.inet1 or similar). Choice of hostname is completely up to you.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
Shadowfax's Avatar
Junior Member with 17 posts.
 
Join Date: Sep 2001
Location: Arizona
13-May-2002, 02:45 PM #3
Thank you, codejockey, your help is much appreciated; I'll try this.
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:48 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.