Ubuntu Servers :: Setup A DHCP3-server On Brand New Learning 11.04 ?
Jun 3, 2011
I been trying to set up a DHCP3-server on my brand new learning Ubuntu 11.04 server. I can connect when i put the IP infomation in manually, so I know everything else is working, just got to fix the DHCP problem before I put the machine into production on my home LAN. Can someone tell me if these config files located at /etc/dhcp3/dhcpd.conf and another at /etc/default/dhcp3-server are correct? eth1 is the NIC that will be the LAN side of the network, I double checked that...
Code:
/# A slightly different configuration for an internal subnet.
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.200;
option domain-name-servers 8.8.8.8, 8.8.4.4;
option domain-name "linuxrouter.local";
[Code]...
View 7 Replies
ADVERTISEMENT
Oct 1, 2010
I installed dhcpd using:
Code:
Now when I try to run it, I get this weird error:
Code:
The error was:
I changed permissions to 777:
Code:
To no avail!
It's got something to do with AppArmor.
I don't think it is installed on this system:
Code:
View 1 Replies
View Related
Dec 21, 2010
I have been at this for what seems like forever but i am getting somewhere after many errors i got dhcp3 reading the file and everything is almost there but now i got an error i cannot figure out.first my config file
HTML Code:
shared-network local {
subnet 192.168.0.0 netmask 255.255.255.0 {
[code]....
View 8 Replies
View Related
Jan 1, 2011
I want to display the associated host name with each address.
I've found the /var/lib/dhcp3/dhcpd.leases file, but it appears to have an entry for every time a lease was issued so it's hard to tell which ones are currently active.
View 3 Replies
View Related
Feb 7, 2011
Ubuntu 10.10 w/ dual NICs
here's my etc/network/interfaces file code...
Here's the problem -- DHCP wont start and throws the error "Can't create PID file /var/run/dhcpd.pid: Permission denied." Somewhere I found a post that indicated that the following corrected the issue (I dont really know why):
ln -s /var/run/dhcp3-server/dhcpd.pid /var/run/dhcpd.pid
dhcpd3 -cf /etc/dhcp3/dhcpd.conf eth1
When I do the above DHCP will start (in theory, at least no erros are thrown). But if I ask DHCP to restart, it will stop, but not restart. And the error is "No subnet declaration for eth1 (192.168.3.2)"
I'm newbie-ish. Help me Obi-Wan Kenobi.
View 2 Replies
View Related
Feb 1, 2011
I have followed the ubuntu guide for setting up a dhcp3-server server for my internal network, I have installed dhcp3-server, configured it refuse to start, here are some background:This is my /etc/default/dhcp3-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/dhcp3-server by the maintainer scripts
[code]....
View 9 Replies
View Related
May 3, 2011
I'm using ubuntu 10.04, Im going to setup LTSP sever, But I cant start dhcp3 server this errors are come, how can I fix this this error comes when I tried to start dhcp3 server
lachitha@lachitha-desktop:~$ sudo /etc/init.d/dhcp3-server start
[Code]...
View 9 Replies
View Related
Jan 7, 2010
I've never had this much trouble, but maybe it's because I have not setup a dhcp3-server in some time.
My server has three NIC cards. The Internet connection is on eth2, and I'm trying to get connect other computers to the server through eth0.
It's suppose to be relatively easy, unless I'm assigning specifics, right?
Code:
#
# Sample configuration file for ISC dhcpd for Debian
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
[Code]....
View 1 Replies
View Related
Apr 11, 2011
I have dhcp3-server (isc-dhcp-server) installed on my Debian and now I got a question about how it's giving the IP addresses to new devices.
For example: I connected my laptop and dhcp server gave me 192.168.1.5 address. Will it always give me the same ip address when I connect my laptop or it will eventually change after some time (week-month)? If it's not changing it, then I am wrong about this.
BUT...If I am somehow correct and if it will change in a week and give me another random (like 192.168.1.8) IP even I won't change my laptop network adapter, is it possible to configure dhcp server to always give same IP address depending on what MAC it is?
To make it clear, I want that when I connect new device (new laptop/pc) dhcp server would give it random IP but same time it would note the MAC address and never change the IP on that MAC.
I know about MAC filters, but setting filters is when you know MAC address since beginning and want to assign IP for it, but in my situation I don't know the MAC address.
View 4 Replies
View Related
Jun 26, 2010
I have an old Linksys WUSB54G USB wireless card lying around, and occasionally I like to use it as an access point for my laptop. For assigning IP addresses I use dhcp3-server. The only problem is that the server attempts to start itself up on boot, which I do not want- I want to start it up manually if I need it. how to disable this service on boot?
View 9 Replies
View Related
Sep 11, 2010
I need to create a network boot from 1 laptop to another, with a crossover ethernet cable between them, no routers no nothing, my computer is supposed to be the server. I followed half dozen tutorials over the internet but I think my major problem is with the dhcp serverfollowed this tutorial[URL]but when the client boots it makes several dhcp requests but doesn't respondwireshark capture looks something like this until the client times out
Code:
1 0.000000000 0.0.0.0 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x200d8ad
[code].....
View 7 Replies
View Related
Mar 7, 2011
I'm writing because my ubuntu server has started with troubles .
It's running Linux 2.6.32-29-generic-pae kernel for ubuntu server 10.04 and after the last update it stopped from giving addresses on clients connected.
Dhcp3 server it's running and the conf files are fine, but i can only use static addresses assignation now...
Also MYSQL has stopped working (installed for Bacula purpose) but now the dhcp problem is the biggest issue. I work in an office where dhcp is fundamental, too much clients (about 15) that are personal laptops also (so static assignation for clients is not a good choose).
Please any one could help me? It's two days I'm trying to figure it out without success.
also tried removing and reinstalling dhcp3-serer...no way.
Here are my conf files code...
View 1 Replies
View Related
Oct 15, 2010
I'm troubling setting up my dhcp3-server.Although I've configured "option domain-name-servers 192.168.1.1" in my dhcpd.conf my windows-xp-clients dns-server address is set to 192.186.1.1.This is strange! All other things seem to work correctly.This is my dhcpd.conf:
Code:
ddns-updates on;
ddns-update-style interim;
[code].....
View 3 Replies
View Related
May 20, 2011
Hey guys. I have a client computer PXE booting from my host computer and it is supposed to give the client the ip address 172.16.0.100 however instead it gives it the ip address 172.16.0.208.
I have this set up working with two other computers and there is no noticeable difference other than mac addresses for the network card.
Here is an extract from my '/etc/dhcp3/dhcpd.conf' file...
ddns-update-style-none;
option domain-name "example.org";
default-lease-time 600;
max-lease-time 7200;
[Code]....
I have quadruple checked the mac address of the client and it is definitely "00:07:E9:32:16:81" so why is it not giving it the IP address that I have specified?
View 2 Replies
View Related
Apr 27, 2010
I would like to set a double range of IP address with my DHCP3-server. Now, I have eth0 (which is my only network card) with this IP address : 172.16.93.1 and I have created a second interface eth0:1 with this address: 192.168.3.1. The goal is to give an IP address 172.16.93.X to phones (with option 66) and the IP address 192.168.3.X to the computers.
This is my DHCPD.conf :
ddns-update-style none;
option domain-name "mycompany.com";
option domain-name-servers 172.16.93.1;
default-lease-time 3600;
max-lease-time 2347200;
authoritative;
log-facility local7;
option ip-forwarding off;
default-lease-time 20;
max-lease-time 20; .....
Right now my DHCP server work fine, (I means, no error at the startup ) but the server give always the same kind of IP address, whatever if it's a phone or a computer. I notice something "wired", if I put the :
subnet 192.168.3.0 netmask 255.255.255.0 {
range 192.168.3.100 192.168.3.199;
option routers 192.168.3.254; }
(Which is first in the dhcpd.conf) after the "subnet 172.16.93.0 netmask 255.255.255.0", the server will give IP address 172.16.93.X at all the clients. Is it possible to give more than one IP range with one network card at the same time? And how set the option 66 to only give IP address (172.16.93.X) to the phones?
View 4 Replies
View Related
Nov 24, 2010
After installation Ubuntu Server 10.10 I don't know what to do next to access to the Internet.
View 9 Replies
View Related
Jan 25, 2011
I've just installed Ubuntu 10.04 LTS Server with LAMP. Tomcat6 appears to function properly. BUT, I cannot gain access to the 'manager webapp'. I've updated tomcat-users.xml:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
[code]....
but no matter what I use as username/password, I am unable to get in.
View 3 Replies
View Related
Jun 8, 2010
am thinking of buying new server that is tested in slackware for my company. as file server web server mail server and a capability of multiple hardisk (sas technology)to be use as san server in the future any recommadation?
View 1 Replies
View Related
Jan 9, 2011
I have started reading book Linux Device Drivers 3rd edition. So I want to know which is the best light weight distribution to use so that learning can be more generic and also does not involve distro specific nitty-gritty details. I have already tried building kernel for Ubuntu 10.04 but it involved different commands from what is mentioned in the book. So I am not sure whether I would be able to make further in the book. Has anybody tried?
View 5 Replies
View Related
Mar 4, 2010
When logging into a new server how can I tell which brand of Linux is running. For example: RedHat; SuSe; etc
View 3 Replies
View Related
Jan 5, 2010
i got an old server with a 64mb flash-disk in.this seems to be the boot-disk.would it be possible to get ubuntu server on this?there is also an ide-disk in.in my opinion it should be good to boot of the flash disk and put the /home or /srv on the ide disk.someone any ideas about this?
View 9 Replies
View Related
Oct 8, 2010
I am completely new to everything linux, however I decided that it was time to do something with an old pc I had and I was thinking of setting it up as a home server. I look around for an easy guide on how to set up the server from the begining but I can't seem to find one that's good for a complete beginner like me.What I would like to do is to had the server as a place where I keep all my movies, music etc and be able to acces it from my home network and also from outside of it. Also, I would like to connect my two printers to this server and share them on the network.
Is there a place where I can find simple information about what I want to do and is it possible for a complete beginner like me to do what I want to do?
View 9 Replies
View Related
Nov 12, 2010
I am trying to setup a TFTP server and followed these instructions in setting up TFTP-HPA.
[URL]
I pretty much followed every step but commented out these two lines from the /etc/xinet.d/tftp.
# only_from = 172.31.0.240/28
# interface = 172.31.0.252
Do we really need the lines if I am allowing any machine to connect? And I have only 1 network card. This is acting as a dedicated TFTP server.I ask as I get an error on the get and put commands as below:
tftp> get xxx.txt
tftp: error received from server <File not found>
tftp: aborting
However although it gives an error it DOES GET the file.The put command however does NOT put the file. I have nobody / nogroup setup for the directory permissions as well.
tftp> put .vimrc
tftp: error received from server <File not found>
tftp: aborting
View 1 Replies
View Related
Jan 11, 2011
I need to set up a server for my company.There are only 4 people working here and we want a server that will allow us to run a cloud-like system. We want to be able to log in and use programs and have our files available from within the office and at home. I've used Citrix in the past and would like something similar, but free/open source if possible.I want an Ubuntu based server that gives the user a windows compatible environment. What I mean is it needs to be able to run windows software.What kind of hardware do I need? We want to run fairly resource hungry software like GIS and mapping software. I want to run Ubuntu server but what other software will I need?
View 9 Replies
View Related
May 30, 2011
Ive tried on multiple occasions to setup a dhcp server, but all the google searches return legitimate results it seems, and ill set everything up, except the last few instructions i have to configure /etc/dhcp3/dhcpd.conf and /etc/default/dhcp3-server, but ubuntu says its not there.Im running Ubuntu Server 11.04 and using nano to edit files
View 4 Replies
View Related
Aug 2, 2011
I am trying to set up a SQUID server on my Red Hat Linux 7.3. to act as a cache server.
The machine has 2 network interface:
eth0 172.30.254.4/23
eth1 172.3.254.65/23
Default gateway is 172.30.254.19/23
The hostname is "amelie".
[Code].....
View 2 Replies
View Related
Apr 5, 2010
I am trying to set a home file and print serverwhile learning about Linux at the same time. How ever I have hit a wall...I am trying to install samba but I have the following messages...
Urbie:~# apt-get install samba
Reading package lists... Done
Building dependency tree
[code]....
View 2 Replies
View Related
Jul 21, 2010
I recently setup a server running subversion. It is working well and all, but I am curious as to how to make it send out email alerts to my team when a commit occurs.Also, are their any good GUI tools to manage a subversion server in Ubuntu. The command line is fine since I made some scripts but a nice GUI would be great! Maybe that could be a fun project to work on.
View 1 Replies
View Related
Sep 20, 2010
I'm running Ubuntu 10.04 server as a guest on a Windows 7 host using VirtualBox. I've set the VirtualBox configuration to use a Bridged network connection so that I can access the internet through the Ubuntu guest and to access the Ubuntu apache server through my Windows host.This is all running on my laptop which connects to various routers using dhcp (some ip addresses start with 198. while others start with 10.) What I need is a single static ip address (or hostname/url) to setup my cms (drupal).how I can accomplish this given the varying routers the laptop connects to?
View 6 Replies
View Related
Dec 27, 2010
how to setup a secure and reliable server, i have three ubuntu 10.10 servers a Dell PowerEdge 850,1850 and 2850 which has a Dell PowerVault 220s attached to it.The Dell PE850 Server Consists of:
Intel Pentium D 3.0GHz
4 GB RAM
Eventually 2x250GB Sata Hard Drives
The Dell PE850 Server Consists of:
2xIntel Xeon Processors 3.4GHz
4 GB RAM
2x76GB SCSI Hard Drives RAID 1
The Dell PE850 Server Consists of:
2xIntel Dual Core Processors 2.8GHz
4 GB RAM
6x76GB SCSI Hard Drives RAID 5 (pretty sure)
Dell PowerVault 220s
I would like to setup a reliable webserver, mail server, DNS and Dynamic DNS, DHCP, SQL, FTP, Samba (with Roaming Profiles), PXE Boot Server.I know how to setup most of the server modules, i would just like to know the best way to do it tho. I also want to no how to setup the secuity of the system correctly, and setup and partition up my hard disks to allow for the best reliabilty, even when a server crashes.I would like to now how to set these servers up from start to finish in a sence.
View 1 Replies
View Related