LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 05-20-2003, 08:42 PM   #1
PlatinumRik
Member
 
Registered: Feb 2003
Location: Buffalo, NY
Distribution: Novell Linux Desktop
Posts: 159

Rep: Reputation: 30
Setting up a dhcp server


I have a fresh install of redhat 7.1 (custom) bare min. alomst. I wanted to use this as a learning box to do everythign from strach almost. about the only things i keep was the samba so it was ez to setup and transfer files from the internet off my win2k box to the linux w/o burning cd's or using floppy's. well i want to start by setting it up as a dchp server. does anyone have a wlk through guide and/or a place to dl everything i need. sorry for being so vauge, i just don't know where to start :-) thanks alot




_______________________________________________
look out a newbie in action!!!
_______________________________________________
 
Old 05-21-2003, 02:38 AM   #2
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 34
Re: Setting up a dhcp server

Quote:
Originally posted by PlatinumRik
I have a fresh install of redhat 7.1 (custom) bare min. alomst. I wanted to use this as a learning box to do everythign from strach almost. about the only things i keep was the samba so it was ez to setup and transfer files from the internet off my win2k box to the linux w/o burning cd's or using floppy's. well i want to start by setting it up as a dchp server. does anyone have a wlk through guide and/or a place to dl everything i need. sorry for being so vauge, i just don't know where to start :-) thanks alot
Okey dokey!
Download package dhcpd (should also be on your cds, from redhat, I mean)
install the stuff with rpm -ivh dhcpd.blablabla.rpm
Once installed, you got two roads: One is the easy one (but you won't learn that much) = download webmin (webmin.org or something) and that should give you a nice frontend to configure your dhcp server.
Second road is to do a man dhcpd and read the doc on this deamon (server service).
Edit the configuration (in /etc/dhcpd.conf or something) and add some stuff like the network range (I guess that is the bare minimum)

Then do a "service dhcpd start" and you will be in business. If you get problems, you can always go look in /var/log/messages for errors when it starts. You should also be able to see in the log when a clients does look for a dhcp server (dhcp discover) and finds one (dhcp offer from the server)

Yep, I guess that is it. Need more details?
Ask.
 
Old 05-21-2003, 09:21 AM   #3
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Browny_amiga,

There have been a few vulnerabilities discovered in Samba over the last few months. I would hesitate to put it on a machine connected to the internet.

If you do, please monitor samba.org for patches.

As Linux gets more popular, it is facing increased scrutiny.

http://news.com.com/2100-1002-995834.html

http://news.com.com/2100-1002-992965.html?tag=nl


It is useful to have only one box connected to the internet. This box should have a minimum install and be locked down.

Other boxes can then access the internet via this one.

The security forum has several links to good security resources.
 
Old 05-22-2003, 01:32 AM   #4
Robert0380
Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
dhcpd HOWTO, its pretty easy to setup:


http://www.tldp.org/HOWTO/mini/DHCP/x369.html
 
Old 05-22-2003, 01:50 AM   #5
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu 10.04, Debian Squeeze, Windoze 7
Posts: 512

Rep: Reputation: 34
Smile Samba / DHCP?? ;-)

Quote:
Originally posted by jamrock
Browny_amiga,

There have been a few vulnerabilities discovered in Samba over the last few months. I would hesitate to put it on a machine connected to the internet.

If you do, please monitor samba.org for patches.

As Linux gets more popular, it is facing increased scrutiny.

http://news.com.com/2100-1002-995834.html

http://news.com.com/2100-1002-992965.html?tag=nl


It is useful to have only one box connected to the internet. This box should have a minimum install and be locked down.
Well Thank you. That's new to me, I will check this out and fix it immediately.

But a few questions:
1. How come you posted this samba post after the DHCP post? ;-)
2. a system protected by a firewall would not be vunerable to this bug, right? And who (that is not a windows-admin) would be daft enough to let samba be visible to the internet?

Anyway, as I said, thanks for the pointer!

Markus
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a DHCP server MasterCephus Linux - Newbie 9 06-26-2005 07:41 AM
setting up dhcp server? help please!!!! lumbrjackedpcj Linux - Networking 7 10-06-2004 11:01 PM
Setting up a DHCP server w/ the server on a wireless network Ionexchange Linux - Wireless Networking 0 05-08-2004 10:56 AM
Setting up DHCP server. joshnya Linux - Networking 1 10-12-2003 03:15 PM
Setting up a DHCP Server bselzler Linux - Networking 2 08-07-2001 04:28 AM


All times are GMT -5. The time now is 03:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration