Ubuntu :: Server DHCP3 Stopped To Give Addresses / What To Fix It?

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


ADVERTISEMENT

Server :: DHCP3-Server Giving IP Addresses Depending On MAC

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

Ubuntu Servers :: Dhcp3-server Fails To Start - Can't Open /etc/dhcp3/dhcpd.conf: Permission Denied

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

Ubuntu Servers :: Display The Addresses That Have Been Issued By My Dhcp3?

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

General :: Give Input As Addresses To Tool Through Awk

Feb 4, 2011

we have a tool called trace which takes a memory address as input and gives the function name corresponding to that as output.I have a file which has around 200 addresses, which needs to be given as input to this trace tool.I can start the tool in this way.There is another file called address.txt from which I need to feed these addresses to this tool.Manually it takes lot of time to give the addresses which are in other file one by one. I have idea about some basic awk one liners.

View 3 Replies View Related

Ubuntu :: Firefox Has Stopped Adding .com To The End Of Addresses

Mar 9, 2011

My firefox has stopped adding .com to the end of addresses entered I've tried reseting about:config settings (prefix suffix etc) still no joy...

View 7 Replies View Related

Ubuntu Networking :: DHCP3 Server Won't Start?

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

Ubuntu :: Can't Start Dhcp3 Server Errors Are Come?

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

Networking :: Cannot Get DHCP3-Server To Work Under Ubuntu 9.10

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

Ubuntu Networking :: Disable Dhcp3-server On Startup?

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

Ubuntu :: Dhcp3-server On Computer Doesn't Respond?

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

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 View Related

Ubuntu Networking :: Dhcp3-server Is Not Committing Correct Dns-address To Win XP Client?

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

Debian Configuration :: DHCP3 Server Giving Wrong Ip Address?

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

Networking :: DHCP3 Server - Setting Double Range Of IP Address

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

Ubuntu :: Web Server - Setup Model And Need To Give Computer Some Capability To Act As A Server

May 19, 2010

I want to set up moodle and need to give my computer some capability to act as a server. I am following the steps at [URL] although my question is not really related to moodle. Here is the problem: setting everything up to make my computer accessible from outside has worked so far. I got myself a static IP address using a dynamic dns server and can ssh into my computer from any other computer connected to the www. So,

[Code]....

View 3 Replies View Related

Ubuntu Networking :: DHCP Server Not Handing Out Addresses?

Oct 20, 2010

I have a MacBook Pro running VirtualBox with Ubuntu 10.10 as a guest. I am trying to run a DHCP server from within the Ubuntu VM. I need to do this in order to run a multicast utility. On a stand alone machine running Fedcora I have this working without fail but within the Ubuntu VM I am having troubles. The DHCP server is starting okay, but when I use a cross over cable connected to a device the device does not ever get an address.I have eth1 bound to my ethernet jack where I am trying to source the addresses, and eth2 bound to my airport which is disabled unless I need internet access.Here is my DHCP.conf file

Code:
###############################################################################
# Amino Communications Sample dhcpd.conf file #

[code]....

View 3 Replies View Related

Server :: Set Virtual_alias_domains For All Domains And Addresses?

Apr 28, 2010

I am looking for a code for setting virtual alias for all domains and addresses. The scenario is that when I send an email from anywhere to my server, it will send to only one address but not send to the orginal recipient.

This is my code: I think the problem may be from the regular expression (.*) for any domains/email addresses

/etc/postfix/main.cf:
virtual_alias_domains = (.*) <-----
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual
(.*) admin@myserver.com <----

View 2 Replies View Related

Server :: Using Some Application To Block IP Addresses?

Feb 16, 2011

now I have managed my rsyslogd to log the firewall into a separate file I would like to use a script which looks into this file for intruders which for example try to ping, telnet, ssh, rdp etc into my dsl connection.And then use a kind of app or firewall on my ubuntu server to block them.Yes my firewall logs them but does not block them if the policy is enabled, so they have access on through the firewall and the connect to my server but I only want some known IP addresses have access through it and this I cannot program in the firewall so I have to use some extras.Or am I thinking way to far and is there a better solution with IPtables or app?Is it possible to watch tcp connections between the firewall from outside IP addresses and the ubuntu server?

View 7 Replies View Related

CentOS 5 Networking :: Add Further IP Addresses For Server

Mar 16, 2010

I'd like to add further IP addresses for my server but I don't get it. My steps :

[Code]....

View 19 Replies View Related

OpenSUSE Network :: Set Multiple IP Addresses Onto Server?

Jul 23, 2011

I want to set multiple IP addresses onto my server and I can then put under an alias.

But is it possible to somehow create a script in perl example that can do this for or is it only possible manually?

View 1 Replies View Related

General :: Logging Into Server Via SSH - Allowed Ip Addresses?

Aug 26, 2010

Is there somewhere in WHM where I can allow and disallow various ip addresses to login using PuTTY for SSH.OpenSSH Server, is not running (for security reasons).If OpenSSH is not running, is there a way to allow certain ip addresses only to use ssh.

View 9 Replies View Related

Server :: Bind Apache To Specific IP Addresses?

Nov 28, 2010

I have the following in my httpd.conf file

Code:
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive. Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#Listen 12.34.56.78:80 Listen 80

And when I try to start the server, I get the following

Code:
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80. I did have an Apache web server up and running about 6 or 7 years ago - but seem to have lost everything

View 4 Replies View Related

Server :: Sendmail Adds MX Record To Addresses

Nov 1, 2010

Im working with virtuals machines to configure Sendmail on Linux.

I work with two domains (ar and org), the configuration is similar in both, so i will write just one.

In orgs mail server:

The emails stopped coming and the server adds to the e-mail addresses the MX record. For example, if i send an email to u1@org in log appears u1@org.mail.org.

View 14 Replies View Related

Server :: Setting Up Postfix To Use Multiple IP Addresses?

Apr 17, 2011

I set-up his mail server for him with Postfix but what he wants I have no idea how to do.

Essentially he wants it so that the mail gateway IP corresponds with the dedicated IP of the domain and I have no idea how to accomplish this.

I found some documentation on the web saying that the fix for this was to run multiple instances of Postfix which I tried doing but each time I try to start the second instance I get the error that postfix is already running.

There has to be an elegant way to make this happen, I really hate to tell a client something can't be done even though the concept is a bit pointless, IMHO. I am hoping I can get some feedback here on if this can be done and if it can the easiest way for me to accomplish doing it.

Here is some of the config files (example.com has been put in place of the actual domain names and the ip of 5.5.5.5 is in place of the actual IPs


Code:
[root@youronlinehosting ~]# cat /etc/postfix/transport
example.com smtp:5.5.5.5
example.com smtp:5.5.5.6
example.com smtp:5.5.5.7

[Code].....

View 1 Replies View Related

Server :: Squid - Deny Streaming To All IP Addresses Of A LAN

Aug 23, 2010

I'm trying to use Squid to restrict web access on the computers of my LAN. All of the computers are using static IP address and we use our firewall to deny all HTTP access except for the proxy machine so everyone needs to go through the proxy to access the web.

Most of of the computers have access to websites that are listed on a white list that I called "goodsites". I have a range of IP address that I listed in a file called "super_users". These IP adresses are able to access everything except sites that I have put in a black list called "badsites".

I would like to restrict the use of audio/video streaming for all the IP adresses including the super_users. So far I have been able to effectively block streaming for all the IP addresses except the super_users that are able to bypass this restriction.

Here is the transcript of my squid.conf file:

acl manager proto cache_object
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8
acl localnet src 10.0.0.0/8# RFC1918 possible internal network

[Code]....

View 11 Replies View Related

Server :: Internet Access Only For Specific IP Addresses In LAN

Feb 20, 2010

I have configured squid server and it is working fine. I want that only specific ip addresses in my LAN should be able to access internet and for that I have given these entries in access control lists in squid.conf file:

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80
acl Safe_ports port 21
acl Safe_ports port 443
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl QUERY urlpath_regex cgi-bin ?
acl apache rep_header Server ^Apache
acl our_networks src 192.168.0.181/255.255.255.0 192.168.0.182/255.255.255.0

And in http access I have given this:
http_access allow our_networks
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all

In this I want that only 192.168.0.181 and .182 should be able to access internet but Now the problem is that all the IPs in the LAN like 192.168.0.20 are also able to access internet. What changes I need to do to allow access to specific IP addresses. I am not using any firewall or iptables entries and i am manually changing in the firefox at client side to access internet.

View 3 Replies View Related

Ubuntu Security :: Anyway To Get Nautilus To Give Root Permissions On Server?

Mar 30, 2010

I have recently secured a server by preventing root from logging in via SSH. Now I log in with a non-root account and use 'su' when necessary.However, now I can't do something I used to do, which is open 'sftp://user@ipaddress' in nautilus and be able to edit files as root. Is there anyway to get nautilus to give me root permissions on the server? Or at least end up with root permissions in a GUI text editor on my computer? I don't mind if I have to use bash to start the process, once I can get a GUI for editing files.

Note 1: Yes, I realize I could ssh in and use nano/vi etc, but I'd rather use my graphical text editor.
Note 2: The server does not run X, so I can't just forward it.

View 1 Replies View Related

Networking :: Cannot Access Public Web And Mail Server From LAN Addresses

Aug 5, 2009

I have two nagging problems on one network which I do not have on another elsewhere, both using uptodate Debian servers. The server is on the private subnet behind a router/adsl modem. The symptoms of the one which does not work

1) Users cannot access their web site from lan. If they try, they get to the router web interface, same as if they entered http:10.0.0.138 which is the router's lan address.

2) Users cannot access smtp or pop3 service using the domain name, they can access it only using the servers LAN address.

I fear that I might have not set up the router properly because appart from that the two servers are almost identical but I do not know where I might have made an error.

View 14 Replies View Related

Server :: Configuring Sendmail To Handle Addresses But Not The Whole Domain?

Mar 22, 2011

From my main Postfix SMTP heads, I am sending just a couple select emails (primarily support emails) off to a server that receives them and pipes them into the support software. So far this totally works perfectly and I am pretty happy with the configuration. However, in order for sendmail on the support server to receive those emails I have to place them in the virtusertable of course, but I also have to activate their domain in the local-host-names file. That then causes sendmail to consider itself as the destination server for that whole domain.Is there a way to make sendmail receive email for select addresses without making it think it's the server for the whole domain? This server is only receiving email from two specific smtp servers, so I wonder if I could just permit relaying? Wonder if that would just cause a giant loop though.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved