Slackware :: DHCP Server Is Not Offering A Lease (WEP Network)?

Mar 28, 2010

Looking at var/log/messages below, it looks like I'm not being offered a lease on this particular network. I can successfully connect to the network because iwconfig wlan0 reveals my network ssid and the access point I'm connected to. But pinging google.com gives me nothing..

Code:

root@darkstar:/# tail -f var/log/messages | grep dhcpcd
Mar 28 15:45:42 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:13 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16
Mar 28 15:46:44 darkstar dhcpcd[5329]: wlan0: adding IP address 169.254.76.182/16

[code]...

View 1 Replies


ADVERTISEMENT

Networking :: Configure A (openSUSE) Client To Dhcp To EBox DHCP Server - Lease An IP Address

Mar 25, 2010

I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response

openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.

The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0

I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?

View 2 Replies View Related

OpenSUSE Network :: Using As A Network Gateway - Renew DHCP Lease

Jul 15, 2010

Why trying to avoid ranting about my Linksys router, I'll try and keep things short. I have a Linksys router in which the default firmware was terrible and would not correctly renew its DHCP lease. After getting feed up with that I flashed dd-wrt on the router and now it works better but randomly DNS queries would stop being resolved. To rule out the chances that it is my ISPs DNS servers I switched my DNS to openDNS, same problem happens (although I have to admit openDNS is a lot better than what my ISP has).

Anyways I'm about feed up with it and about an inch away from drop kicking the thing out my window. To avoid that I figured I will give it one more change and instead of using my Linksys as my network gateway I'll move all of that to my home server, and make the Linksys just an wireless AP. Besides setting up DHCP, DNS, and iptables on the server is there anything else I will need to know and setup on the server to make this work?

Side note anyone using openSUSE for DHCP know if setting up reserved IPs for certain MAC address is possible?

View 2 Replies View Related

Server :: How To Time Limit A DHCP Lease

May 9, 2011

I would like to be able to schedule a limit for an IP connection for my kid's computers/iPods. Since I know the MAC addresses of their various hardware items, is there a way to shut down their connectivity at a particular time via the DHCP server or perhaps a firewall rule?

Running Ubuntu 10.04 and Shorewall is being used for the firewall.

View 4 Replies View Related

Server :: Script For Clearing The Dhcp Server Lease?

Dec 3, 2010

I have a openSUSE10.2(X86-64) Linux DHCP Server in my environment. It has a lot of VM's and Desktop systems which get added continuously. Also, it has a lots of Static-IP entries.Part-IIssue:The DHCP Server stopped leasing the IP's somehow.Workaround:1. Stopped the dhcpd service. (service dhcpd stop)2. Navigated to /var/lib/dhcp/db folder.3. Deleted the "dhcpd.leases" and "dhcpd.leases~" files.4. Recreated the "dhcpd.leases" file. (touch dhcpd.leases)5. Started the dhcpd service. (service dhcpd stop)

View 2 Replies View Related

OpenSUSE Install :: PXE / Dhcp / 11.2 - Preserve Dhcp Lease On Reinit Of Driver?

Feb 8, 2010

first: PXE flawless bind to dhcp address but put next binding state to free second: when installer calls init script to reinit ethernet driver (e1000 (vmware)) binding fails 11.2 opensuse fail to reinit dhcp with log entry "no free leases" third: when manual set network install works how to preserve dhcp lease on reinit of driver?

View 1 Replies View Related

Ubuntu Networking :: Cannot Obtain DHCP Lease ?

Feb 7, 2010

I have a home WiFi network that has been working fine for ages, which currently supports two Windows-based laptops and a WM5 smartphone. They all connect to the WiFi router (Linksys WRT54G) which in turn connects to the ADSL modem (Huawei MT882). The router is configured with a WEP key, the SSID is not being broadcast, and all MAC addresses must be whitelisted. I try to follow good wireless network security practice. I also have NAT running between the router and the modem.

Everything is working fine for the Windows clients, and now I am trying to add my Linux box to the mix. I am setting up an older HP Pavilion 510a desktop with Ubuntu v8.04LTS, using a Realtek RTL8185 WLAN card. The machine has an onboard RTL8139 LAN adaptor also, which works fine when I plug it in directly to an ethernet port on the wireless router. The WLAN, however, does not seem to be getting a DHCP packet, and keeps on autoconfiguring with a 169.254.x.x address. When I try giving it a static IP address it doesn't connect either.

As you can see from the screenshots below, the WLAN is working fine. I have it installed using the ndiswrapper and Windows drivers. I've been through the Comprehensive ndiswrapper troubleshooting guide but that did not resolve my problem.

I configured the network myself, and it works perfectly for my Windows machines. It is just my lack of experience with Linux which is preventing me from getting the wireless to work under Linux. I can get a HDCP packet in Linux when I am connected to the LAN using the RTL8139 adaptor, but not on the WLAN using the RTL8185 adaptor.

View 9 Replies View Related

Networking :: Notification From DHCP Client On Lease Change?

Jan 26, 2011

Is there any way to get an async notification (perhaps through something like a Linux message queue or Unix socket) when a DHCP client is either unable to renew its lease, or the address obtained changes from the previous value? I've got the ISC client and will dig into it to determine if it supports such a feature, but thought I'd ask here in parallel. (I'm trying to find out if there are any DHCP clients out there which already support this capability.)

If you're curious: We have an application where we're doing auto-registration of an IP camera to an external server. If the camera's dynamically assigned address changes, we need to restart the auto-reg state machine. I've seen implementations where a socket is opened and a SIOCGIFADDR ioctl used to fetch the IP addr, but I'd sure like to avoid polling like this if possible.

View 1 Replies View Related

Networking :: Redhat Does Not Retry Renewing DHCP Lease More Than Once?

Apr 23, 2010

We have 20+ Redhat servers on our network and every so often our DHCP server goes down. When it comes back up we have to go around to all of our RedHat servers and restart networking manually. Other OS's (Ubuntu, Windows, etc..) will continually try to get a DHCP lease so that when our DHCP does come back up it requires no work from us for them to get back on the network. But it seems that Redhat only tries once and if it fails it never tries again. Have to go around to 20 different servers (some of them are at remote locations) is less then ideal when this happens. how we can get Redhat to continually try to get a DHCP lease like other OS's?

View 1 Replies View Related

Networking :: Dhcp Lease Time Algorithm Apparently Imprecise?

Mar 3, 2011

The system I am working on is a xdsl board running Linux kernel 2.6 and receiving dhcp address from a Microsoft XP PC. when looking through the dhclient.leases file I can see there's something wrong with renew time and stuff.strange calculation. as far as you know is this normal? You may find below the dhclient.lease file.

lease {
interface "tap0";
fixed-address 10.0.1.16;
filename "***";
medium "-link0 -link1 -link2";

[code]....

View 2 Replies View Related

Networking :: DHCP Lease Under SuSE Is Not Working., Limited At 10 Minutes?

Jun 22, 2011

I got a strange issue here: We are using ISC DHCP v4 which is default in Open SuSE 11.4. These two options 'default-lease-time' and 'max-lease-time' are set in all subnets, with values between 43200 (12 hours) to 518400 (144 hours). See partial dhcpd.conf below please.Now the lease time from Windows client's ipconfig output is only 10 minutes. Why? (dhcpd on servers restarted many times. ipconfig /release, ipconfig /renew on client run many times)

Code:
lease-file-name "/etc/dhcpd.leases";
default-lease-time 43200; # 12 hours

[code]....

View 1 Replies View Related

General :: DHCP Negotiations Consistently Fails To Obtain Lease On First Try And Works On Second Try

Jul 16, 2010

I'm having some problems bringing up my wireless card at boot time on my Red Hat Linux 9.0 box. After some investigation with the boot scripts, I noticed that it was having problems with the DHCP negotiations when the ifup wlan0 command is issued.I then tested the command outside of the booting process and everytime the command is issued the first time, the dhclient fails to get any DHCP offers and returns with the message Unable to obtain a lease on first try. Exiting. and then exits.

If I then issue the same ifup command again a second time, it successfully receives a DHCP offer from the router and receives the needed IP address, and after this, the Internet connection on the box works fine. It is consistently doing this everytime. Why is it failing to obtain a lease the first time?

View 1 Replies View Related

Ubuntu Networking :: Ionitx Can't Get Wired Ethernet To Work ( No DHCP Lease )?

Jun 5, 2010

I have a Zotac Ionitx A-U. I can't get it to establish an internet connection with the wired ethernet within Ubuntu. The chip is detected, but trying to bring up the connection stalls out at trying to obtain a DHCP lease, like this:

DHCP DISCOVER ...
DHCP DISCOVER ...
No DHCPOFFERS received
Specs:
Ionitx A-U
Ubuntu 10.04 x64 kernel 2.6.32-22 (also didn't work in 9.10)

[Code]...

View 3 Replies View Related

Fedora Networking :: DHCP Lease Renewal Failing On Wired Ethernet Connection?

Aug 1, 2010

I'm running an up-to-date Fedora 12 machine with the Gnome desktop (meaning with Network Manager). My network connection is a wired ethernet to a switch which then connects to a Netgear router. For some reason, this machine can't renew its leases with DHCP, so NetworkManager deactivates eth0, taking my machine off the network. I have to click Network Manager and enable eth0, which seems to work every time.

How can I fix it? Here are the relevant bits from /var/log/messages showing a failed DHCP request and then the successful renewal.

Code:
Aug 1 04:00:08 ironton dhclient[12452]: DHCPREQUEST on eth0 to 192.168.1.1 port 67
Aug 1 04:00:08 ironton dhclient[12452]: DHCPNAK from 192.168.1.1
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): DHCPv4 state changed reboot -> expire
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> (eth0): device state change: 8 -> 9 (reason 6)
Aug 1 04:00:08 ironton NetworkManager[1261]: <info> Marking connection 'System eth0' invalid because IP configuration expired.

[Code]...

View 5 Replies View Related

Ubuntu Networking :: Set Up A Permanent DHCP Lease For My MAC Address - Share Internet ADSL Connection

May 26, 2010

I've set up a permanent DHCP lease for my MAC address. I did this hoping to resolve the fact that I share my Internet ADSL connection with my wife and my daughter (the latter a great bandwidth hog)!

View 5 Replies View Related

Server :: Slackware 13.0 DHCP Server - Configuration File Errors Encountered?

Nov 17, 2010

I'm trying to set up a PXE boot server on a PC running Slackware 13.0 using the default apps and info shipped with that Slackware version but to no avail...Carefully reading the Slackware 13.0 README_PXE I've put together this dhcpd.conf file:

# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')

[code]....

View 6 Replies View Related

Slackware :: Dhcpcd Not Acquiring Lease Solely During Boot?

Oct 13, 2010

this is rather odd actually and has never happened to be before.I recently installed slackware in a toshiba satellite m40 185 laptop and during boot it doesn't get an ip address from the server. the boot messages are of the sort:

dhcpcd: v5.2.2 started
dhcpcd: waiting for carrier
dhcpcd: timed out

[code]....

View 6 Replies View Related

Networking :: Dhcp Server On Network Drive

Jan 15, 2010

On my network drive web control panel I have got such an option:What would a dhcp server do on a network hard disk?

View 5 Replies View Related

OpenSUSE Network :: Samba PDC + Dhcp Server 11.2 - Unable To Use Them

Jan 14, 2010

I have setup an dhcp server wich allows ICS, and a samba server as a PDC. I can access the shares from windows if I type the server Ip (ej. \192.168.0.1), however if if write the address (ej. \dbaserver) I cannot access them.If I type ping dbaserver on a command prompt, it returns 127.0.0.2 not 192.168.0.1, what could be wrong. I asume because of this I cannot join the domain also.

View 4 Replies View Related

Networking :: Network Server (DHCP) - No Connectivity To Modem

May 4, 2010

Basically, I wanted to use the Bootp (PXE) protocol to boot a machine (my laptop) from my network instead of using USB/DVD boot medias to reinstall if need be. My router being a piece of crap, I couldn't setup the DHCP server to allow PXE packets. Confirmed from the manufacturer that it is not possible. Well for a $140 router, you would expect the opposite. Anyways, here I am with a small machine setup with Slack, no desktop environment (only CLI) and connected to my router (which I deactivated the DHCP) so the machine can act as a DHCP server. It works very well. However, I would like to install a few other utilities into that machine and for them to work, I need to put the machine between my cable modem and my router. Basically, here's the topology from outside):

Internet (ISP) --> Modem --> DHCP machine --> Router (no DHCP - acting as a switch) --> computers & printers

The problem is that I cannot connect to the modem from the computers on the network. Also I cannot access the internet (go on the WAN side) from the computers. From the computers (namely my laptop), I can ping the router, but cannot ping the interface where DHCP broadcast. Also I cannot ping the modem. From the router (using the web config page), I can ping the DHCP broadcast. From the DHCP machine, I can ping the modem. In the DHCP server, I setup the eth0 (the interface where the modem connect to) as a DHCP assigned IP so it can obtain the IP from the modem. The eth1 (the interface where DHCP broadcast) is static. All my machines obtains a IP from the DHCP machine without a hiccup.

View 13 Replies View Related

General :: Configure Dhcp Server In A Local Lan Network?

Jun 2, 2011

how to configure dhcp server in a local lan network

View 2 Replies View Related

Fedora Networking :: No IP Address From DHCP Server On Wireless Network?

Feb 12, 2009

I have installed Fedora 10 on my A860 Dell Vostrol Laptop with AR242X Atheros Wireless card. Wireless card worked out of the box and i could detect wireless network and connect to it. But i have a problem that, my wireless connection is not able to get IP address from the DHCP server. Please help me out what can i do to get this working. I am using WEP security and authentication is open system.

I have windows 7 beta installed on the same machine and on that wireless network works fine so i am sure that there is no problem with the wirless network. I am using DIR-300 router from D-LINK. I tried to see packet log on wireshark and there i see that there is no reply to the DHCP discover message. Actually i don't see any RX packets at all. Which is not normal as there is traffic on the network.

View 14 Replies View Related

OpenSUSE Network :: Dhcp Client Does Not Receive The Dns Server Address

May 18, 2010

I have installed a working DNS server on my home network. I have an unique server, devoted to dns, gateway, storage which runs opensuse 11.0 (I known that it is rather old). Two new clients require DHCP. I have installed, using yast, a very simple DHCP server, according to the following config:

option domain-name "XXX.XXX";
option domain-name-servers 192.168.0.1;
option routers 192.168.0.1;

[code]...

(I have tried to add "ddns-update-style none", and to remove the ntp-servers option, since my server is not a time server, without success). Unfortunately, even if the client (a mac running OSX 10.4) receives a right IP and gateway address, it displays neither dns server address nor default domain name. The same mac, on my office network (not managed by me), receives everything.

View 5 Replies View Related

Fedora :: Make 13 Box DHCP Server For Network - Cann't Find Dhcpd In YUM

Nov 10, 2010

I would like to make my Fedora 13 box a DHCP server for my network. I can not find dhcpd in YUM. Is there a way to make my Fedora box a dhcp server? This was relay easy with Suse, but my Opensuse box just suffered a hard drive failure.

View 1 Replies View Related

General :: Determine Whether Computer 'gets IP Address Information From Dhcp Server On Network'

Sep 24, 2010

First, (for samba) how do I determine whether my computer "gets IP address information from a dhcp server on the network," and whether "the dhcp server provides info about WINS servers ("NetBIOS name servers") present on the network," and consequently whether a change to my smb.conf file, "so that DHCP-provided WINS settings will automatically be read from /etc/samba/dhcp.conf," and whether the dhcp3-client package must be installed?

View 2 Replies View Related

Server :: Many Entries In DHCPD Lease File

May 10, 2011

I've a question about how work dhcpd. I'm on CentOS 5.6. I has a dhcpd server on it. His configuration:

authoritative;
ddns-update-style none;
deny declines;
deny bootp;

option domain-name "mydomain.domain";
option domain-name-servers IP;
option routers IP;
option time-offset -18000;
#option ntp-servers IP;

subnet IP netmask MASK {
range IP START IP END ;
default-lease-time 86400;
max-lease-time 172800; }

And now in the /var/lib/dhcpd/dhcpd.lease file, there few entrie for the same IP. Sometime I've ten same entries for the same IP. Can I have only one entrie by IP? Is there any problems in my configuration of my dhcpd.conf file?

View 10 Replies View Related

Fedora Networking :: Wireless - Shows Up In The Network Manager - Does Not Get An Ip Address From DHCP Server

May 24, 2010

I'm using a D-Link Xtreme N PCI express wireless adapter (DWA-556). It shows up in the network manager.

However it does not get an ip address from the DHCP server. Below is what I get in the messages log:

View 1 Replies View Related

Ubuntu Networking :: Internet Connection Sharing In Network Manager / No DHCP Server

Oct 14, 2010

How do I tell the shared connection that it has a static IP and that I dont want a DHCP on the network?Do I have to set up DHCP on the box with the shared connection, even if that box only runs DHCP for a single IP address being the eth0 that is shared?Or can I tell the shared connection that it has a static IP and still allow network manager to run the shared connection?Or should I specify static IP's for all clients and the shared network manager and install say firestarter on the gateway to run the NAT for the eth0 out to eth1.

View 3 Replies View Related

Server :: Dnsmasq.lease File + Description Of Its Contents?

May 4, 2011

iam running dnsmasq on my target board , my dnsmasq.conf has following configurations

# cat /var/etc/dnsmasq.conf
strict-order
localise-queries

[code]....

View 1 Replies View Related

Ubuntu Servers :: Run A DHCP Server On Home Network To Enable PXE Booting For Ethernet Clients

Feb 27, 2010

I'm attempting to run a DHCP server on my home network to enable PXE booting for ethernet clients, but I'm having quite a few issues getting it all up and running. I'm not entirely sure what is wrong, but I keep encountering errors in syslog as follows:

Code:

Feb 27 02:26:46 servnerr-1 dhcpd: Wrote 0 leases to leases file.
Feb 27 02:26:46 servnerr-1 dhcpd:
Feb 27 02:26:46 servnerr-1 dhcpd: No subnet declaration for eth0 (192.168.1.3).

[code]....

Networking is not exactly my strong suit, but I would like to get this up and running if at all possible.

View 9 Replies View Related







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