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
ADVERTISEMENT
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
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
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
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
Jul 13, 2010
I've got a DNS problem I cannot figure out. I've been digging and pinging all day and I've waited for caches to expire and I'm not having much luck.From my desktop mac, I can't seem to resolve mail.port-o-call.net:
Code:
My-Mac:~ sneakyimp$ ping mail.port-o-call.net
ping: cannot resolve mail.port-o-call.net: Unknown host
[code]....
View 4 Replies
View Related
Mar 5, 2011
At the moment I am having a problem with the MySQL server on my VPS. It's a completely fresh install of both Debian 5 and MySQL but the problem is upon logging in I get:
[root@boris ~]#mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[code]....
View 8 Replies
View Related
Aug 18, 2011
I get assigned an IP from the university's server. Every now and then, a student will plug in his router to the network trying to get wifi in his/her room.
And by doing so will start assigning IPs on the network, while rendering useless the university dhcp server, which has to cope with a higher number of pc's.
How can I specify to dhclient (or the linux system in general) NOT TO obtain IP addresses given by a specific mac address ?
View 7 Replies
View Related
Apr 27, 2011
I'm running gnome desktop on squeeze system. When I boot my system seems to be using my internet modem as its dhcp server. The rest of the machines on my lan are correctly using my router for that purpose. As a result, what happens then is that my debian machine frequently gets a duplicate ip address assigned to it. I would like to specify to my debian computer that I want it to use the specific fixed ip address of my router for dhcp purposes.
View 9 Replies
View Related
Jul 29, 2010
I want to restrict the access to my local web server by IP address. Im in a LAN (192.168.200.xx) so i have this:
[code]....
But when i try to connect from 192.168.200.4 it says i don't have permission to access
View 1 Replies
View Related
Aug 16, 2010
After installing postfix on my server , all emails sent by a PHP class that i built , are received to spam folder , no matter what i do .am not an expert , except in PHP , the class i built works fine everywhere else except on this server , so i think the problem might be from the server it self ?some told me wrong configuration/software on my server , others told me wrong DNS stuff . actually i don't understand the DNS stuff , and am not an expert in linux softwares and services but i cann install/configure them , so could anyone please check the DNS for problems ?
View 3 Replies
View Related
Dec 9, 2010
ConkyForecast is giving me the way wrong temperature (conky says it is 129 but weather.com says it is 54) it also added an A symbol before the degree symbol.
ConkyForecast.template
Code:
${image [--datatype=WI --CC] -p 0,0 -s 64x64}
${image [--datatype=WI --startday=1] -p 120,0 -s 64x64}
${image [--datatype=WI --startday=2] -p 240,0 -s 64x64}
${voffset 15}
Now: [--datatype=LT]${goto 135}[--datatype=DW --startday=1]: [--datatype=LT --startday=1]${goto 255}[--datatype=DW --startday=2]: [--datatype=LT --startday=2]
conkyrc
Code:
# conky configuration
# edited by Mark Buck (Kaivalagi) <m_buck@hotmail.com>
# set to yes if you want Conky to be forked in the background
background no
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se* .....
View 1 Replies
View Related
Apr 7, 2010
I'm having a problem with xbindkeys giving the wrong mapping information, hence I can't get it work at all when trying new mappings from this machine. From another computer, I have some definitions for xbindkeys (made with xbindkeys-config). These key codes work correctly on this computer I'm having difficulty with. From the config file for example:
[Code]...
View 1 Replies
View Related
Jun 25, 2015
I recently installed another Linux distro, Kali Linux, alongside my Debian 8 and discovered to my chagrin that my computer boots to Kali's grub rather than to the Debian grub. I had spent some time customizing Debian's grub and would hate to see that effort go to waste. Is there a way I can get my computer to boot to Debian's grub instead? I tried deleting Kali's boot partition with gparted but that did not seem to do anything.
View 14 Replies
View Related
Oct 6, 2015
Today I fresh installed the latest stable version of debian (jessie) with gnome from the USB DVD image for a 64bit machine. Everything got fine except the graphic driver, I think.
Now Gnome 3 is running but graphic is super slow. My previous debian/gnome 3 ran much better and I think there is a problem with the graphic driver.
I'm on an thinkpad t61.
Processor: Intel Core2 Duo CPU T7500 @ 2.20GHz × 2
Ram: 4GB
Graphic: VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
Now the graphic is: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits) which is likely wrong. If I'm not mistaken llvmpipe is pure slow software acceleration.
Moreover this was different on my previous debian (wheezy), which was faster. Anyway I don't know what " Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits) " is and it was for sure different in wheezy.
According to apt-get I have the latest intel graphic divers installed. So maybe this an X-org confic problem?
View 5 Replies
View Related
Feb 17, 2016
A couple of days ago I asked why my pc changes the wireless card name.It switches between AR9285 ( right) and AR5008 ( wrong). Well, it is not the case. When system identified with AR9285,it loads ath9k and I can connect to the router. When system identifies my card as AR5008, no kernel module is present at all ( lspci -k). The wrong card name occurs only when system rebooted. If I gracefully shut down the system, it always comes up with a right name for the card( AR9285). So, how to force the system identify my card right no matter if I reboot or shut down?
View 1 Replies
View Related
Feb 26, 2010
I've been working on the setup of a FTP server on my Debian system for the whole afternoon. But I can't get it straight! Normally I get it working in just a second, but it's been a while I guess.
I installed only proftpd-basic and it's default dependencies. Should be enough right?
My configuration files are as follows:
I created the user zeitgeist, gave it a password, group and a homedir. Group of the user is nogroup and the homedir is correct with the 755 permission. My port 21 for FTP is open I tested it with nmap -p 21 [ip-address].
My Filezilla client tells me that at first he is connecting, then the connection is established, And then the connection is closed by server.
View 1 Replies
View Related
Jun 11, 2010
Using Debian 5.0 Stable, with all current updates, if I type \192.168.0.249 I get samba access and can use all the shared files ok.if I go via the network the computer should be called \squ-eee-zeboxserver but instead comes up as \SQU-EEE-ZEBOXSERsqu-eee-zeboxserver which when clicked gives the attached error.
View 11 Replies
View Related
Jan 6, 2011
I've got a strage problem with openssh-server on debian lenny. I've done setup of sshd and basically everything works fine. I can check the fingerprint of the ssh-keys on the server and it matches with the fingerprint shown on the client for the first connection. so the key is stored in the known-hosts-file on the client.
The problem occurs after a "connection reset by peer" (i guess when the connected client goes to sleep or a timeout occures)!
After such a reset, when I try to connect to the server, the banner "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" appears and the shown fingerprint of the server-key is totally wrong (it differs from the one on the server, BUT it is everytime when this problem occurs the same fingerprint). If I nevertheless remove the correct key from the known-host-file and accept the new key, I still can't login (permission denied).
To fix this situation temporarily I just need to restart the networking on the server. After the network-restart I get (again) the correct fingerprint of the server-key and can login without problems. Until the next connection reset.
View 1 Replies
View Related
Jun 22, 2011
Installed 6.01a from DVD 1 on a system with 4GB ram. Installer installed amd64 version by default. When I try to install amd64.deb files I get "wrong architecture" error messages from the package manager.
root@Laptop-RalphDeb:/home/ralphq# uname -r
2.6.32-5-amd64
root@Laptop-RalphDeb:/home/ralphq# uname -p
unknown
Why I can install amd64 programs and why I get unknown for the uname -p command?
View 2 Replies
View Related
Jun 3, 2011
I've configured my dhcp server to update dynamically the DNS zones of BIND9 name server. Everything works ok, except for reverse nslookup:
nslookup 10.141.50.3
Server:127.0.0.1
Address:127.0.0.1#53
[code]....
View 2 Replies
View Related
Apr 11, 2011
I installed squeeze on virtualbox on arch linux.After squeeze is booted up, ifconfig says no ip address is given to eth0.I tried ifdown/up eth0, then an ip address was properly given.Does anyone have the same problem or know how to solve this?The network of virtualbox is set to bridged adapter.The host os has only eth0, no br0 and wiredly connected to a wifi router which has the dhcpd.
View 4 Replies
View Related
Jan 7, 2016
I got the Raspberry pi 2 Model B. I flashed my sdcard with raspberian Jessie kernel 4.1 (latest).Also tried wheezy and NOOBS, same behavior.With a ethernet cable (known working), I tried connecting my Pi to my home router, and I got a invalid ip address 169.254.xxx.xxx, and therefore no linkup. I got the same results by connecting my Pi directly to my modem (wired).
I know that /etc/dhcpd.conf is the new /etc/network/interfaces for network configurations.So I tried the debug option, and I noticed that the router doesn't seems to response to the DISCOVER command from the Pi (dhcp v4 protocol).Here's a dump of by /var/log/syslog | grep dhcp
Code: Select allDec 28 12:00:02 raspberrypi systemd[1]: Starting dhcpcd on all interfaces...
Dec 28 12:00:02 raspberrypi dhcpcd[349]: version 6.7.1 starting
Dec 28 12:00:02 raspberrypi dhcpcd[349]: udev: starting
Dec 28 12:00:02 raspberrypi dhcpcd[349]: dev: loaded udev
Dec 28 12:00:02 raspberrypi dhcpcd[349]: eth0: disabling kernel IPv6 RA support
[code]...
ANd if i use raspbian flesh out of installation, I get this when i run
dhcpcd -k
dhcpcd eth0
eth0: probing for an IPv4ALL address
eth0: using IPv4ALL address 169.154.202.224
Seems like my home router TP-link (default setup) doesn't send a response to the dhcp request.
View 1 Replies
View Related
Mar 22, 2010
Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?
View 2 Replies
View Related
May 13, 2010
My sources list for updates is a bit wonky as in needs the correct uk repositories listed, for Lenny main, could someone point me to where I can find the uk repositories so I can enter then in the software sources option from the menu?
View 2 Replies
View Related
Sep 23, 2010
This is embarrassing. I can't get a wireless address from my router with dhclient. The distribution is sid/lxde/liquorix kernel with no network manager on /dev/sdb1.
root@sid:/home/jheaton5# dhclient -4 -v wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
[code]....
View 14 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
May 13, 2010
Got this while installing the kernel development tools on my Squeeze system being used as a router/firewall. Setting up update-inetd (4.36) ... Setting up cvs (1:1.12.13-12) ... Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Ignoring install-info called from maintainer script The package cvs should be rebuilt with new debhelper to get trigger support Setting up autopoint (0.17-11) ...
Is that an issue that I need to address prior to building the latest kernel (2.6.33.4)?
View 1 Replies
View Related