Centurion_Dan | unmy: there is still a live lease using that IP for another system/mac address. | 05:50 |
---|---|---|
DocScrutinizer05 | Centurion_Dan: ummy: looks to me like you have a statically configured IP on your client ("disabling DHCP static address 10.1.1.10") and still dnsmasq tries to get a DHCP IP lease | 11:32 |
DocScrutinizer05 | AIUI you should do either/or, not both | 11:33 |
DocScrutinizer05 | if you want to assign a persisting IP to a MAC, you need to do so on DHCP server, not client | 11:33 |
DocScrutinizer05 | *or* you configure your client with static IP address, but then you don't run DHCP to get a new IP | 11:36 |
DocScrutinizer05 | my uneducated guess | 11:37 |
DocScrutinizer05 | also MAC randomization or change during boot comes to mind, could that be a problem here? | 11:38 |
DocScrutinizer05 | I know a DHCP lease request can ask for a certain IP address, and DHCP server will probably grant that if it's in subnet range unless it's assigned to a different MAC already | 11:41 |
DocScrutinizer05 | I think I know, at least | 11:42 |
DocScrutinizer05 | no expert | 11:42 |
DocScrutinizer05 | so the first line of what you posted seems to suggest that 10.1.1.10 was assigned to a different MAC before | 11:43 |
unmy | DocScrutinizer05, nah, dhcp server is fine, 10.1.1.10 assigned to correct mac on server, client got same mac, on client default configuration | 13:21 |
unmy | it happening only with sysvinit together with isc-dhcp-client, all rest different distributions/systems/devices NEVER got such a problem | 13:22 |
unmy | it is isc-dhcp-client which don't know why sending DHCPDECLINE to the dhcp server and asking for different IP | 13:25 |
unmy | other weird thing is that client first time setting up correct ip 10.1.1.10 to after second send DHCPDECLINE and add another not assigned ip like 10.1.1.2xx without drop the previous one... | 13:29 |
unmy | maybe isc-client expect extra functions from systemd and need fix some script because like I said it happens in debian stretch with sysvinit and devuan ascii | 13:32 |
mipl_ | hey. probably not. i have several mixed networks running, this problem only occured due to a misconfigured dhcpd.conf. | 13:36 |
mipl_ | the DHCPDECLINE is sent after the client did an ARP-probe and found the IP already in use. | 13:38 |
mipl_ | your client is not changing the MAC while setting up network? or has two interfaces with the same MAC in the same network? | 13:39 |
mipl_ | happened to me once with generated LXCs and a (my) faulty script | 13:39 |
mipl_ | or: is there somewhere a second (hidden) dhcpd running? | 13:44 |
mipl_ | to debug: look with tcpdump what is happening in the network: | 13:50 |
mipl_ | tcpdump -i eth0 -s 1500 port bootps or port bootpc | 13:51 |
mipl_ | then doublecheck MACs and IPs | 13:51 |
DocScrutinizer05 | https://support.ruckuswireless.com/answers/000003789 and ypur paste says it's dnsmasq-dhcp, not isc-dhcp-client | 14:03 |
DocScrutinizer05 | ((<mipl_> or: is there somewhere a second (hidden) dhcpd running?)) dnsmasq-dhcp vs isc-dhcp-client. Another fishy detail: "br-lan" in that paste, "br " like "bridge"? | 14:07 |
unmy | DocScrutinizer05, server dhcp is on openwrt router and log is from there, isc-dhcp-client is on laptop box | 14:22 |
DocScrutinizer05 | aaah | 14:23 |
unmy | mipl_, not any mac changes, all happening on same interface with same mac, router says same | 14:24 |
DocScrutinizer05 | wait... does initrd already configure the network? | 14:25 |
unmy | only isc-client got that problem, with any other dhcp client software is just fine without modificating anything, purge isc, install other client is fine | 14:25 |
unmy | DocScrutinizer05, probably can set it up and configure to use with network disks | 14:31 |
DocScrutinizer05 | wild guessing: the dhcp-client in initrd and regular system must play nice with each other? | 14:34 |
DocScrutinizer05 | would that explain why there are two DHCP requests? | 14:36 |
unmy | a little :) | 14:40 |
DocScrutinizer05 | tricky topic https://unix.stackexchange.com/questions/172159/disable-dhcp-in-initramfs for example | 14:44 |
unmy | ye tried with ip=none | 14:46 |
unmy | didn't help :P | 14:46 |
DocScrutinizer05 | I searched https://www.startpage.com/do/search?q=isc-dhcp-client+initrd to learn what's up with that, seems it's a quite a broad area to have fun | 14:47 |
unmy | and I never liked isc dhcp, many many years somebody told me to not using if don't have to | 14:47 |
DocScrutinizer05 | with systemd-dhcpd all across the field | 14:48 |
unmy | but would be cool to know what is wrong since it is in default installation | 14:48 |
DocScrutinizer05 | yep | 14:48 |
DocScrutinizer05 | also note how 3 of 10 first hits are bug tickets :-P | 14:50 |
unmy | it kind of start looking like a windows issues where is 234242 same bug reports with 321321 fix stories | 14:52 |
unmy | s/is/are | 14:53 |
DocScrutinizer05 | never underestimate the impact of poetterware like avahi (aka zeroconf) to acerbate a loosely related problem | 14:53 |
DocScrutinizer05 | exacerbate even | 14:54 |
unmy | speaking of, got some avahi ipd package installed and that package created scripts in dhcp hooks... | 14:56 |
unmy | DocScrutinizer05, ok found out, somehow only isc-client is so sensitive for that... | 15:13 |
unmy | "Before actually configuring the address, dhclient-script should somehow ARP for it and exit with a nonzero status if it receives a reply. In this case, the client will send a DHCPDECLINE message to the server and acquire a different address. This may also be done in the RENEW, REBIND, or REBOOT states, but is not required, and indeed may not be desirable." | 15:13 |
unmy | and on openwrt default: net.ipv4.conf.default.arp_ignore=1 and net.ipv4.conf.all.arp_ignore=1 | 15:13 |
unmy | when changed arp_ignore to 0 on router interface then all works fine... jeeeesusssss | 15:14 |
unmy | still is weird that isc couldnt ignore it like every does | 15:17 |
unmy | so... sorry for spam and my problems and thanks for help :) I probably should create 'issue' on openwrt and/or isc client somewhere :) | 15:22 |
DocScrutinizer05 | >>"...and indeed may not be desirable."<< LOL yeah | 15:24 |
unmy | ye LOL :/ | 15:26 |
unmy | and with arp was my first idea but didn't know that is blocked by default :\ | 15:27 |
DocScrutinizer05 | I got aware how little I know for sure about DHCP | 15:27 |
DocScrutinizer05 | sounds so simple | 15:28 |
DocScrutinizer05 | and looking at wireshark, it actually seemed to be as simple as it sounds | 15:28 |
unmy | :) | 15:28 |
DocScrutinizer05 | as long as it works ;-D | 15:29 |
unmy | bleh, nah, after 2 reboots and more is still same problem even with arp ignore 0 all interfaces, so it is just isc client problem with don't know what :P tired to dig more for now or will reconfigure too much in too many places | 15:47 |
KatolaZ | unmy: are you sure you are shutting down the dhcp client correcty? | 15:50 |
KatolaZ | correctly? | 15:50 |
KatolaZ | it might not release the leases if you don't | 15:51 |
KatolaZ | and if the server is not notified, it will propose a new IP at each request | 15:51 |
KatolaZ | no matter the mac | 15:51 |
KatolaZ | (since it thinks that the matching IP is taken) | 15:51 |
unmy | reboots enough + deleting lease file in /var/lib/dhcp/ | 15:52 |
KatolaZ | this is a problem with the dhcp SERVER | 15:52 |
KatolaZ | look into dhclient manpage | 15:52 |
KatolaZ | under "-r | 15:52 |
KatolaZ | and "-x" | 15:52 |
KatolaZ | they are one after the other | 15:52 |
KatolaZ | you should kill it throuhg `dhclient -r` probably | 15:52 |
KatolaZ | this is not strictly necessary, but some servers require it | 15:53 |
unmy | dhcp server is fine... | 15:54 |
KatolaZ | unmy: please read what I wrote above | 15:54 |
KatolaZ | "fine" does not mean much | 15:55 |
KatolaZ | some servers have problems with clients not releasing the leases | 15:55 |
unmy | tried before even with router restart all together with client box reboots etc etc | 15:55 |
KatolaZ | unmy: you haven't read | 15:55 |
KatolaZ | try to stop dhclient with -r instead of the standard -x | 15:56 |
unmy | KatolaZ, ye cool but it doesnt change anything with scripts running isc dhcp, like said before there is some problem with service/script | 16:01 |
unmy | sure when I kill it and run it again, works great but next reboot I will get again two IP addresses | 16:02 |
KatolaZ | unmy: script are made to be modified and/or adapted | 16:02 |
KatolaZ | then just look for the place where the option is specified | 16:02 |
unmy | it is dhclient-script provided by isc software :\ | 16:05 |
KatolaZ | so it can't be modified? | 16:05 |
KatolaZ | o_O | 16:05 |
unmy | not sure what can modificate there | 16:06 |
unmy | ok, so isc-client is fine, dhcp server is fine but something wrong in network script(s) which I don't know how even init the dhcp process | 16:17 |
unixman | Ah, I see the ascii release hit overnight. Sweet. :) | 18:18 |
_stephen_ | Weird, just did another install from the dvd, very similar hardware, except I didn't have to manually run efibootmgr this time. | 22:35 |
_stephen_ | Dunno if it matters, but the other system had 0 entries before running the installer, dunno if that was a problem. | 22:37 |
aitor | hi | 22:51 |
aitor | i'm doing an experiment, i'll be back within an hour | 22:55 |
unmy | aitor, good luck and try to not destroy something or somebody! | 23:06 |
aitor | :) | 23:25 |
aitor | in any case, it'll not be today; it'll take some hours | 23:25 |
unmy | aitor, I will do the experiment too, I will try use ascii as a daily use desktop :P | 23:28 |
unmy | as a platform to build openwrt images will be great on different machine but don'n know how many packages I will have to build by own if will need something newer, rolling release distros for that use working better for me I think :) | 23:30 |
aitor | i'm building gcc-4.9 in jessie, including the code of libstd++-v3 taken from ascii | 23:44 |
aitor | three hours building without errors | 23:45 |
darkworld | I haven't considered changing distros in about 5 years, but I've messed around with Devuan a few times on other PCs. Might I ask, is Devuan ASCII ready enough for daily use? I'm pissed off with Slackware right now but I'm not going to install ancient Jessie packages on my machine | 23:45 |
darkworld | Also I ahvent used Debian in like 5 years. If I want to set up a minimal system, I use the netisntall iamge, yes? | 23:46 |
aitor | my problem with libstd++-v3 is related with simple-netaid-gtk, developed in gtkmm, concretly with std::thread and std::mutex | 23:48 |
gnarface | darkworld: yes, and yes | 23:48 |
darkworld | alright | 23:48 |
aitor | i always developed it in ascii, and i get errors in jessie | 23:49 |
gnarface | darkworld: for minimal, choose expert mode install, and when you get to the tasksel panel, just don't check any boxes. | 23:50 |
gnarface | it'll still be bootable | 23:50 |
darkworld | Ive never been opposed to a minimal system, but I ahte bleeding edge distros with a passion | 23:50 |
gnarface | i would recommend still including "standard system utilities" because they don't take much space compared to what they provide | 23:51 |
darkworld | yeah I getcha | 23:51 |
darkworld | I jsut want a system that isnt 10GB | 23:51 |
gnarface | that will use about ~500MB | 23:51 |
darkworld | And im thinking about falling for the window manager meme again | 23:51 |
gnarface | you can add a desktop and still keep it under 2GB if you choose the right one | 23:52 |
gnarface | (not KDE) | 23:52 |
darkworld | Ive used XFCE for a long time | 23:52 |
darkworld | I hate DEs but it's the only good one imho | 23:52 |
gnarface | just remember there's nothing you can't install later after your first boot, so don't feel the need to evaluate what you want to include during install | 23:53 |
darkworld | yeah thats the idea | 23:53 |
darkworld | I just want a stable system that just werks (TM) | 23:54 |
darkworld | I have thigns to do during the day and the last thing I want to do at home is configure things all day | 23:54 |
darkworld | mad props to the devs of this great system btw my buddy shills devuan all the time | 23:55 |
darkworld | Ive installed jessie before on random PCs and I can confirm | 23:56 |
gnarface | yea they're doing a good job | 23:57 |
gnarface | better job than Debian, these days, sadly | 23:57 |
darkworld | lol | 23:57 |
gnarface | Debian might as well be Ubuntu now | 23:58 |
darkworld | Funny enough the reason I switched from Debian to Slackware around 2013 was because Debian was too buggy for a "stable" distro | 23:58 |
gnarface | hmmm, is that when they switched to systemd? | 23:58 |
darkworld | that was later | 23:58 |
darkworld | but you can miss me with that shit | 23:58 |
darkworld | *shakes finger profusely* | 23:59 |
gnarface | i had problems with the upgrade to Debian jessie but not Devuan jessie | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!