LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-19-2005, 11:26 AM   #1
tbrenner
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Rep: Reputation: 0
Trouble joining domain


Hi

I've just setup a Redhat 9 server (Samba, NFS, etc.,) at my local school and I need to join the domain (SCBOE.org). Can anyone tell me how to do this. I also need help assiging a static IP address to the server.

Thanks
 
Old 08-19-2005, 11:55 AM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You aren't "joining" the domain with a linux machine.
You can specify to the machine what domain you wish it to belong to, and create an entry in that domains DNS server - and you have effectively "joined" the domain.

If you are referring to joining an AD domain - that is a different story.

At any rate, to setup your IP:

First - you need an IP. If you are using DHCP now, DO NOT use the one you are currently assigned. In some environments, this is ok - but I can't say for sure - so to play it safe don't do it. You can screw up the DHCP pool - have dup addy's - it'll be a mess.

Once you have your IP - look in /etc/sysconfig/network-scripts/ for a file that is labeled:

ifcfg-eth0

replace "eth0" with your interface name (eth1, ra0, whatever)

If you don't have one, create one. It MUST have that naming convention.
Once you have one - and it may already be there - open it and make sure at least the following are present:
Code:
DEVICE=eth0(replace with your IF name)
HWADDR=your mac address (00:00:00:00:00:00) <- in that format
BOOTPROTO=static
ONBOOT=yes
TYPE=Ethernet
IPADDR=your IP
NETMASK=your subnet mask
***NOTE - the onboot entry above MUST be all caps. It won't let me do it, though - because this forum thinks it's VB code

Now, there is another file in /etc/sysconfig/ called network.

In here - specify the following:
Code:
NETWORKING=yes
HOSTNAME=your FQDN
Then at a command prompt:
Code:
service network restart
This should bring up your interface with all of the configurations you just provided it. It will come up this way everytime you reboot - so if the machine goes down - you won't have to reconfigure.
 
Old 08-22-2005, 10:28 AM   #3
tbrenner
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
maybe?

i just re installed red hat and typed in the IP setting and all at installation, think this will work. i'm inpaitent and trying to set this thing up!
 
Old 08-22-2005, 09:52 PM   #4
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You opted to reinstall instead of make like 10 minutes worth of config changes
You're a braver man than I.
 
Old 08-22-2005, 10:01 PM   #5
tbrenner
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
It worked, although for some reason I have a copy of every computer under the original workgroup (SCBOE.org) in mine (LinGroup). Anyone know of a reason maybe? Sorry I'm not too clear, this is my senior project at high school and i've never really setup a server before. It's really fun though.
 
  


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
joining my samba domain tude_1802 Linux - Newbie 1 08-22-2005 07:35 AM
Joining Linux to an AD domain garullon245136 Linux - Networking 2 05-30-2005 05:56 AM
joining a domain bjbrochu Mandriva 7 01-27-2004 06:13 AM
Joining a machine from another domain to my linux samba domain acummins Linux - Networking 0 09-13-2003 07:07 AM
Trouble with XP box joining samba domain Jason_25 Linux - Networking 2 05-09-2002 03:46 PM

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

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