Click to See Complete Forum and Search --> : DHCPD and Windows not working?
jakev383
06-30-2003, 02:34 AM
Here's an interesting one... I've set up a RH9 box as a file server (or, it will be), and had dhcpd working yesterday. Turned on my Windows XP laptop, and it got an IP no prob. Even set up masquerrading, and had that working. Being done for the day, I shut down the laptop, and then shutdown RH9. Today, when I start it back up, my XP laptop says Access Denied when trying to obtain an IP. Thinking maybe my firewall didn't take some changes or somethng, I played with it for a while. Yes, I tried 'route add 255.255.255.255 eth 0', and still no go. Access Denied. powered up my RH8 laptop, and it grabs an IP no problem. Move over to my XP laptop, and still Access Denied. Any ideas? It was working yesterday, and no go today. Looking at my dhcpd.leases file, it shows the XP laptop :
lease 192.168.5.100 {
starts 1 2003/06/30 05:48:26;
ends 1 2003/06/30 07:48:26;
tstp 1 2003/06/30 07:48:26;
binding state active;
next binding state free;
hardware ethernet xx:xx:xx:xx:xx:xx;
uid "\001\010\000FIXW";
client-hostname "VAIO1";
}
And has like 50 entries (I'm assuming from everytime I tried to /renew my IP...) Any help would be appreciated! Thanks in advance!
homey
06-30-2003, 08:22 AM
Can we have a look at your dhcpd.conf
jakev383
06-30-2003, 09:21 AM
No prob. Here's my dhcpd.conf file:
ddns-update-style none;
default-lease-time 7200;
max-lease-time 86400;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.5.255;
option routers 192.168.5.1;
option domain-name-servers 192.168.5.1, 24.95.227.34, 24.95.227.35;
option nntp-server 195.168.5.1;
option domain-name "linux_ring";
subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.5 192.168.5.100;
}
homey
06-30-2003, 09:39 AM
Well I don't see anything wrong with dchp. :(
Maybe something that is locked out with the firewall but seems strange that it used to work and now a reboot causes dhcp to fail on one machine.
Guess you have checked the connections and what not....
Maybe you could put an address in manually just to make sure you can get some connection that way.
jakev383
06-30-2003, 12:14 PM
That's what dives me up the wall.... I even rebooted 3 o 4 times the other day when it was working, and all was OK. Shut it down overnight, and poof! I even tried turning the firewall off with Lokkit, and still didn't change. It's currently set with eth0 as trusted (my LAN NIC).
My first guess was the firewall also; it took me a few tries to find out that if I didn't 'service iptables save' it all went away when I rebooed :D
jakev383
06-30-2003, 01:42 PM
I tried another WindowsXP machine, and it got the same result: Access Denied. The RH8 laptop worked fine, yet again. I'm including my rc.firewall file, and the output of my route command is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
dhcp * 255.255.255.255 UH 0 0 0 eth0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth0
65.xx.xx.0 * 255.255.248.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 1.xx.xx.65.cfl. 0.0.0.0 UG 0 0 0 eth1
My quest continues.....
Gertrude
06-30-2003, 02:00 PM
Try this.. disabaling the simple file sharing is what should fix the issue.
"I was able to resolve the issues myself.
Step 1) Set up windows explorer to NOT use simple file sharing. To do so
open Windows Explorer, tools, views, down at the bottom un-tick the box that
says "Use Simple File Sharing"
Step 2) Highlight the drive C and right click to access "Sharing and
Security" settings. Once open select the Sharing Tab, check the permissions
you want to have. I selected all three (Full Control - Change - Read)
Step 3) Select the Security tab next. I selected all 6 options (Full
Control - Modify - Read & Execute - List Folder Contents - Read - Write)
Step 4) While on the "Security" tab now select "Advanced" button in the
lower right. Make sure you check off the box on the permissions tab down
below that states "Replace permission entries on all child objects with
entries shown here that apply to child objects"
This in effect resets all the files and folder viewing options that
prevented the access."
jakev383
06-30-2003, 02:28 PM
Think you got the wrong thread there... My problem is I can't get my XP machines to obtain an IP from my RH9 box.....
Gertrude
06-30-2003, 02:57 PM
Wrong Forum.
EDIT:
To your question..
Go into the device manager. Remove the ethernet card and reboot the computer.. XP will cache the drivers and when it reboots it should reinstall them, and then see if that works..
Gertrude
06-30-2003, 03:06 PM
Oh and another thing.. Regular users in XP dont have access to renew the IP so also be sure you are logged in as admin or at least have admin rights.
seabass55
06-30-2003, 05:07 PM
helps to /release sometimes before /renew also
jakev383
06-30-2003, 11:49 PM
Okay, I got it working. Real simple. Reformat patitions and reinstall RH9, and everything is okay now....:rolleyes: All my Win machines work, as well as my RH machines now.