LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-27-2002, 11:12 PM   #1
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Rep: Reputation: 15
i dont wanna join a domain!!


hey,
i have a slacky 8.1 linux half life server, and am having some problems.

i type netconfig for the network, and i put in my hostname, but then it MAKES me join a domain.. i dont have a domain

what can i do about this?

also, what should be in my hosts file?

currently:

127.0.0.1 localhost
127.0.0.1 linuxhale.mydomain linuxhale


thanks,

-James
 
Old 06-27-2002, 11:41 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
You can put whatever you want, then edit it out of your /etc/hosts file and /etc/resolv.conf file... it shouldn't affect it but it doesn't hurt to keep it either, I usually just put whatever ISP I am using for Internet access..
 
Old 06-28-2002, 01:27 AM   #3
banelion
Member
 
Registered: Jun 2002
Distribution: Slacky!
Posts: 61

Original Poster
Rep: Reputation: 15
my main problem is that im trying to run a half life server, and i cant get it to show up in the Lan servers list on a program called server query for half life.

someone said this problem was because my hosts file could be incorrectly setup, or my network, any programs i should run or something?

Regards
James
 
Old 06-28-2002, 07:43 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
You dont have an entry for your WAN side NIC ip, all you have is the loopback ip 127.0.0.1. Type ifconfig eth0 and get the ip address, then change the line in /etc/hosts from:

127.0.0.1 linuxhale.mydomain linuxhale
to
WAN.ip.ad.dy linuxhale.mydomain linuxhale
 
Old 06-28-2002, 03:32 PM   #5
kop
LQ Newbie
 
Registered: Jul 2001
Posts: 24

Rep: Reputation: 15
localhost

You should be able to use "localhost", or "localhost.localdomain", but only on the local computer. If you want the name to be visible on the lan, you need to run a DNS server (bind), and then configure your lan to use the server for name lookups. Ether that, or you need to set up /etc/hosts on each server with the right names in it. (Even Windoze has a "hosts" file, last I looked anyhow.) But this is a pain to coordinate, which is why DNS servers were invented. You can use the domain "localdomain" as your domain.

You might want to check out the network administrator's guide at www.tldp.org.
 
Old 06-28-2002, 03:36 PM   #6
kop
LQ Newbie
 
Registered: Jul 2001
Posts: 24

Rep: Reputation: 15
Microsoft's domains

Unless you're talking about Microsoft's use of the word "domain", which has something to do with logging in on NT. (They _really_ didn't want the Internet to catch on, so they chose the word "domain" just to make life difficult.) In which case you need to look into SAMBA (samba.org) and I've no clue.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 02:30 AM
Losing my bolts in the box ! Grapics dont wanna work!!! blavish Linux - Hardware 1 11-04-2005 09:19 AM
please read it i dont know the exact word to use to describe wat i wanna say pranith Slackware 5 05-30-2005 07:27 AM
Dont wanna pay your taxes...You're not alone jaz General 7 07-12-2004 12:56 AM
dont wanna use edge on gnome-panel leukozyt Linux - General 0 11-14-2003 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration