LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2003, 11:16 AM   #1
rot
LQ Newbie
 
Registered: Apr 2003
Posts: 15

Rep: Reputation: 0
Problem with domainname


Hi!

I set up a new RH 9.0 box and I'm meeting a strange problem:

When I reboot, the box forgets its domainname and can't start ypbind. When I log in as root (my account ist distributed by NIS and so not available), set the domainname via "domainname <domain>" an start ypbind, everything is fine.

But why does it always forget the domainname? Did I miss any entry?

Greetings, rot
 
Old 08-06-2003, 01:41 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Change it in:
/etc/sysconfig/network
 
Old 08-06-2003, 01:51 PM   #3
cIx
Member
 
Registered: Aug 2003
Location: /dev/null
Posts: 40

Rep: Reputation: 15
as said above, you can check /etc/sysconfig/network or edit the /etc/rc.local file and add the command

domainname YOUR_DOMAIN
 
Old 08-11-2003, 05:10 AM   #4
rot
LQ Newbie
 
Registered: Apr 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Hi!

My /etc/sysconfig/network contains

==
NETWORKING=yes
HOSTNAME=aldea.intern.net
DOMAINNAME=caxopen
GATEWAY=192.168.1.254
==

This should be ok, but ist still doesn't work.

My /etc/yp.conf contains the following line:

==
domain caxopen server 192.168.1.4
==

So this entry ist also correct. But evertime I reboot the machine, "domainname" tells me "(none)"...

Any other ideas?

rot
 
Old 08-11-2003, 05:19 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Try changing DOMAINNAME in /etc/sysconfig/network

to NISDOMAINNAME

or NISDOMAIN

can remember which when exactly
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
domainname? kalleanka General 2 06-12-2005 05:53 PM
domainname pkp2372 Linux - Newbie 1 02-24-2004 11:40 AM
domainname problem, MAC question deesto *BSD 8 12-18-2003 07:44 PM
domainname kevv Linux - Networking 1 05-03-2002 11:19 AM
domainname problem jayakrishnan Linux - General 1 03-21-2002 01:51 AM

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

All times are GMT -5. The time now is 01:43 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