[06:39] I just rebooted and machine came up with NEW IP address 192.168.101.107 it used to be 106. How to tell dhcp to use 106 and NOT make it static ? [10:19] InHisName: create a reservation [10:27] Morning [10:50] Morning rmg51 [11:15] o/ [13:05] Morning peoples, dogs, turkeys, hamsters and everything else [13:06] JonathanD: it uses something called dnsmasq but cannot find notes on creating reservation. Guide me to where to find instructions. The word reservation is not in man page dnsmasq [13:29] https://help.ubuntu.com/community/Dnsmasq [13:29] * InHisName asks for forgiveness in first asking a question rather than the standard 'good morning'. [13:38] no === Pici` is now known as Pici [14:00] does dnsmasq support reservations ? === InHisName is now known as HowdyDoody === InHisName1 is now known as InHisName [15:05] I managed somehow to force dnsmasq to use 106 instead of 107. [15:06] Stopped service, edit dnsmasq.leases file and canged 107 to 106 saved it. Then started service again. Booted the 106 machine. It got it. [15:07] I googled til the turnips bled, but never saw those kinds of notes. [15:07] Did I cheat something or other ? [15:08] InHisName: where did you find .leases? [15:08] Now I have 192.1368.101.106 and all is working great once again. [15:10] /var/db/dhcmasq.leases was linked to /mnt/kd/dhcmasq.leases. I changed that one. It seems to re-write an update to it every few minutes. So I stopped dnsmasq, made chages, saved. Then started it again. [15:11] huh. [15:11] I don't know about dnsmasq, but .leases is generally a generated file. [15:11] so your change will eventually be thrown away. [15:11] It's on my 'router' an astlinux system [15:12] Seems to be generated all the time, but appears to be read once when starting. [15:12] It's been over 15 minutes, I'll check it now to see what's changed in .leases file [15:13] InHisName: it'll still be wiped out eventually. [15:13] so it'll break again. [15:13] you need to edit dnsmasq.conf [15:13] # Always allocate the host with Ethernet address 11:22:33:44:55:66 [15:13] # The IP address 192.168.0.60 [15:13] #dhcp-host=11:22:33:44:55:66,192.168.0.60 === argv_tur1 is now known as argv_turk [15:18] It has re-witten the file once a minute. Each time STILL has the 192.168.101.106 and it appears to NOT be changing back to the bogus 107 number. the IP of this machine is still 192.168.101.106 also. [15:19] Looks to me that dnsmasq reads the last written .leases file for its starup and goes with what it read in. [15:21] InHisName: .leases is a state file. [15:21] InHisName: it's where dnsmasq writes it's states... the reason it reads it on startup is to get back into the orig state on restart. [15:22] InHisName: but when the lease expires, and your box asks for a new ip, it may or may not give it the same one unless you set the config file to do so. [15:24] It was maintaning 106 for 6-8 years. Then with this power outage for 38 hours. It changed it. I think I forced to back to stay. [15:25] *shrugs* until the next power outage. [15:25] What command to use to see the time remaining on the lease ? [15:25] usually you'll get the same ip if you still have it when yours expires. [15:25] whihc is why a power outage can break things, if it's down past the expire point. [15:25] That's what I am hoping [15:26] InHisName: if it's not in the leases I'm not sure. [15:26] InHisName: if you set it in the config file, though, it will always get the same ip, no matter what. [15:26] It is NOT static [15:27] that wouldn't make it static, just statically assigned dhcp. [15:27] it just means when such and such mac addy asks for an address, always give them the same one. [15:27] I changed the startup script to do 71 hours instead of 24. No clue in ifconfig [15:28] getting the same one, life is good..... [15:39] InHisName: you'll be fine unless the box is down longer than that [16:28] Windows shows lease obtained and expires with ipconfig, but ifconfig apparently does not. Is there commd to see lease obtained and expiry ? [17:42] grep -iHnR dhc /var/log/* [21:21] 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 [21:21] sdfl'gjkasdf;lkgfjasd [21:21] asd [21:21] fasd [21:21] gkladfglk'zdhjfg [21:22] * waltman waves to InHisName's cat