libera/#devuan/ Monday, 2021-01-25

rrqand that file should be a table of static assignments, in format "mac,hostname,ip"00:00
grillonyes I got it00:01
grillonand it's exactly what I want00:01
grillonI mean it's filled as it should be good mac, ip, hostname00:02
grillonin this order00:02
rrqhmm that's different order from mine (which works)00:03
rrqperhaps try reconfigure libvirt and use name= as ip and ip= as name, then restart00:04
rrq(if that works, then someone worried about semantics should lodge a bug to debian/libvirt)00:05
rrqbut remember also that the clients try to persist their last assignment by proposing that in their request, and dnsmasq typically accepts that00:06
grillonI think it's your last statement00:08
grillonbecause as I said if I wait few minutes and do dhclient eth0 on the guest I get the good IP00:09
grillonand sometimes I have two Ip when I boot (last given IP and IP I want)00:09
rrqthe client uses leases file... client:/var/lib/dhcp/dhclient.eth0.leases00:10
grillonyes so I erased it but it's incrementing, instead of using IP it should00:11
grillonit's like it's about time...00:12
rrqhave you tried with "corrected" file for dnsmasq? and the leases file deleted00:15
rrqit might also be something with the macaddress; that it starts up with a random one and then the client sets it?00:16
rrq(would be rather odd)00:16
rrqdo "pgrep -a qemu" to ensure that the macaddress is assigned as command line argument00:17
rrq(that's on the host obviously)00:17
rrqor even: pgrep -a qemu | sed "s/ -/\n-/g"00:18
rrqor even even: pgrep -a qemu | sed "s/ -/\n-/g" | grep macaddr00:19
grillonrrq here the pgrep qemu : https://controlc.com/6beb3ef800:32
rrqok it has a mac= assignment matching up with your intended devuan_front client00:33
grillonbefore doing it I erased leases files and restart every thing(virtual bridge, libvirt including dnsmasq), started tcpdump and finally the vm00:35
rrqso.. and you had changed the detail order for dnsmasq's conf .. you tried my order and it still didn't work?00:36
grillonhere my tcpdump : https://controlc.com/f81b35c800:36
grillonhere ip addr on guest: https://controlc.com/9e3ad99100:37
grillonas you can see I have dual IPs the good and another00:38
rrqhmm first Reply is for 192.168.122.15100:38
grillonI did not changed dnsmasq conf yet00:38
grillonyes and I have dual Ips. Sometimes it's dual ip, sometimes only bad one bad ip. to have only the good one I need to wait few minutes and do dhclient eth0 on guest00:39
rrqhmm how many network management sub systems does the client have?00:40
grillondo you still want I switch hostname and IP in dnsmasq conf?00:40
rrqseems not necessary given that first reply is good00:40
grillonit's a fresh devuan installation00:40
rrqprobably dnsmasq is flexible :)00:40
rrqthe client is "fresh devuan"... with which networking?00:41
grillonyes client is a fresh devuan, what do you mean by which networking?00:43
rrqlet's see: is there an /etc/network/interfaces with a "allow-hotplug eth0" in?00:44
grillonyes there is00:45
rrqthat indicates the client wants udev to set up the network; and this typically competes with eg wicd for configuring eth000:46
rrqfor your use case I would purge wicd00:47
grillonok how?00:47
rrqso: apt-get purge wicd00:47
grillonnot installed so not removed00:48
rrqok; hmm network-manager? same action00:48
grillonsame result00:50
rrqhmm now I see that your desired hostname "devuan_front" gets digested into the hostname "front" for the secondary dhcp request00:50
rrqprobably the client code takes offense to an underscore in the hostname00:50
grillonno I think it's because I change the hostname00:50
grillonit was front00:50
rrqok; and that causes a new dhcp request for the new hostname00:51
grillonmay be...00:51
rrqwhich dnsmasq does not associate with the assignment ... it's a theory00:51
grillonit's more starnge than that00:51
grillonhostname is still front00:52
grillonvm name is devuan_front00:52
rrqyes, and dhcp asks for the assignment for "front" which there is none00:52
rrqso, add that to the libvirt conf00:53
grillonwhat? front?00:53
grillonmaybe I should I change my hostname in devuan_front to have devuan_front everywhere?00:54
rrqyes, it seems important that the dhcp assignment agrees with the client about the hostname00:55
rrqthat's new knowledge for me; thank you for that.00:56
fsmithredHost  names  may  contain  only  alphanumeric00:57
fsmithred       characters, minus signs ("-"), and periods (".").  They must begin with00:57
fsmithred       an alphabetic character and end with an  alphanumeric  character.00:57
rrqperiods?00:57
fsmithredthat's right from the man page00:57
grillonok my mystake, hostname is front and vm name is devuan_front00:58
rrqman page of what? meaning that hostname may be a FQDN I suppose00:59
fsmithredman hosts00:59
fsmithredyeah, they're talking about fields in the file here01:00
fsmithredetc/hosts01:00
grillonyes it's front01:00
fsmithredthat's fine01:00
grillonfront in /etc/hostname and /etc/hosts01:00
rrqok; anything after the first "period" would be "the network domain"01:00
grillondevuan_front for libvirt01:00
rrqyes: change it to "front"01:01
rrqapparently libvirt conflates the guest name with the hostname of the guest01:02
grillonI did and I obtain: https://controlc.com/a089b9a601:02
grillonyes seems something like that01:02
grillonmaybe I should rename my vm front01:03
grillonfor libvirt I mean01:03
rrqmaybe delete the leases file to start from scratch01:03
rrqyes01:03
grillonok I delete then restart every thing(bridge, libvirt)01:04
rrq.. .and it's all strawberries and cream ...01:04
grillonok I have restarted everything without changing vm name if it does not work I'll change vm name before restart everything again01:06
rrqmeaning it says "front" in the static assignment I guess although "devuan_front" somewhere else in that tool01:08
grillondual ip :-(01:08
grillonok let's change the vm name01:08
rrqdoes the static assignment say "front" ?01:09
grillonyes01:09
rrqperhaps add an assignment for the name "(noname)"; same mac and IP as "front"01:10
rrqno: name "(none)"01:10
grillonI think you are right01:11
grillonstill dual ips but this time the first ip is the ip I want01:14
grillontcpdump : https://controlc.com/96ef53f201:15
rrqhmmm so your client's initrd doesn't have an /etc/hostname I guess01:15
grillonip addr guest + /etc/hosts + /etc/hostname : https://controlc.com/99395e2901:17
rrqyes, I wonder if it'd into initrd upon "update-initramfs -u -k all"01:18
rrqit'd = it's captured01:19
grillonthe hostname was different on the begining, I do not remember what, do you think I need to update initramfs?01:19
rrqworth a try ... otherwise you can also delay network configuration to post-pivot, by changing allow-hotplug to auto (+ update-initramfs)01:20
rrqbtw the dnsmasq format is documented in "man dsnmasq"; look for --dhcp-host=01:24
grillonseems to work with auto + delete leases + update-initramfs01:25
grillontcpdump: https://controlc.com/61d477f701:26
rrqin particular the IP address should be before hostname, which is what you have (not I)01:26
grillonI obtain only one IP \o/01:27
rrqgreat ... maybe raspberries and cream, then :)01:27
rrqor something vegan could be good too01:27
grillonyes :-)01:27
grillonwhere are you from?01:28
rrqI live in Melbourne, AUS01:28
rrqSweden the first 30 years, then here01:29
grillonhaha on the other side of the world for me01:29
grillonSweden waw the opposite for you too01:29
rrqgot tired at moving snow01:30
onefangI thought you where a New South Welshman rrq.01:30
rrqnothng much wrong with them either01:31
grillonhow's life in melbourne?01:33
rrqright now it's splendid!01:34
rrqa bit warm of course, but it's summer01:35
grillonhehe nice01:36
rrqteh odd one-two days of 35-40 C is ok; typically below 25C in the night01:36
rrqand off course, no virus; one of the handful countries01:38
n4diri think africa looks pretty good too. And that is more than just a handful of countries, iirc01:39
grillonI knew for Africa but not for Autralia01:39
rrqyeah.. not a competition of course .. and this topic is moving towards #devuan-offtopic01:40
grillonhaha you are right, I'm moving to my bed, it's almost two(am) here01:41
grillonthank you for your help, have a good day I guess01:42
n4direven better. bed, that is :-)01:42
* rrq off to edit dnsmasq config01:42
grillonsorry I was curious, all ingredient are needed : same vm name as hostname, delete leases, auto eth0 and maybe update-initramfs01:55
grillongood night01:55
hwpplayer1hi people!02:53
plasma41hwpplayer1: o/02:53
hwpplayer1plasma41: Do you know me I was here maybe 3 years ago and I was joining Online Meetings02:55
plasma41hwpplayer1: I don't recognize your nick, no.02:55
hwpplayer1plasma41: No problem I am here for the good02:56
chomwitthi .09:16
chomwittwhille installing from a netinstall iso is there a point when i choose my init system?09:17
chomwittok. i got two choices09:19
chomwittwhy not runinit?09:20
* rrq gratuitous search result for "devuan why not runit" https://github.com/cloux/aws-devuan/issues/109:52
chomwitti am reading it, but having enabled runit how i start/stop sshd?11:50
Jorilsv up/down ssh ?11:52
fsmithredchomwitt, try '/etc/init.d/ssh start|stop|restart'13:10
fsmithredonly things that have runit init files by default are gettys.13:11
xinomilooccasionally stuck windows/DE when using mouse in usb3 port.. could it be mouse hw fault or is it common?13:25
fsmithredxinomilo, it's not a common problem13:26
xinomilook, i see.. it gets unstuck when using trackpad, but after a while the same unresponsiveness.. so my guess is either power options(?) or faulty hw13:27
debdogwireless mouse?13:28
xinomilowired13:28
xinomilonever had issues when used on usb2 port13:34
fsmithredis the plug tight? tail -f /var/log/messages and wiggle the plug.13:42
xinomiloplug seems fine, normal disconnect/connect messages13:44
fsmithredis it a toshiba? mine has wonky usb3 ports13:48
chomwittsv wont work for sshd13:48
fsmithredchomwitt, try '/etc/init.d/ssh start|stop|restart'13:49
chomwittgives error: unable to change to service dir, file does not exist13:49
chomwittfsmithred: one moment13:50
xinomilohad a thinkpad before with the same issue, but with usb2 port available never really cared.. now on fujitsu, usb3 ports only.13:50
xinomilowill try another mouse to see if it's reproducible13:50
fsmithredno init script? Is openssh-server intalled?13:50
chomwitt/etc/init.d/ssh start|stop|restart   worked13:51
fsmithredrunit uses the sysvinit scripts13:52
fsmithredyou can change that, but I don't know the details13:53
xinomilodebian runit has only a few scripts in /etc/sv/ . most daemons use sysvinit scripts13:55
chomwittthanks. But i try to understand the runit. So if a service is not runit ''ready'' :-) then the sysvinit scripts will be used.13:56
fsmithredrunit scripts for gettys are the only ones I saw. I know how to set up console autologin. That's all.13:56
fsmithredyes, sysvinit scripts are used with runit and also with openrc.13:56
fsmithredthere are probable sample runit scripts/files floating around the net13:57
fsmithredprobably13:57
chomwittso runit is ready but work must be done at the service side?13:59
fsmithredyeah, I guess so.14:00
yanmaaniWhat's the most stable network configuration? I'm trying to use r8169 with wicd, it used to work half-decently, but now it only works if I set it to 10 Mbit, half-duplex, autoneg=off.17:55
gnarfacesounds more like a problem with the room or the router17:57
gnarfacechange your router or router settings lately?  or change anything about the environment?17:58
gnarfacesignal problems aren't unheard-of, if you just upgraded kernels and can still go back to the old one it's worth checking17:58
gnarfacebut honestly the most stable network configuration is one that uses wires17:59
gnarfaceit's not impossible that another piece of electronics in the room is interfering, but if it is, you need to repair or discard whatever it is, because it's probably carcinogenic and a fire hazard18:00
gnarfacecould be in a neighboring apartment too i suppose18:01
gnarfaceleading causes for that type of malfunction are usually leaky microwaves and faulty fly-back transformers18:02
gnarfacesometimes ground wire faults in the building wiring18:02
gnarfaceif it's actually a regression in the wifi firmware itself, i would expect complaints to up in a search18:05
gnarfacelike i said, those are less common but also not unheard of18:06
gnarfacehmm, the autoneg=off thing makes me suspicious of jamming though18:12
gnarfaceheh, interestingly enough, a few days ago, elsewhere on the internet i saw someone asking for advice on how to jam up their neighbor's wifi so their own router would stop channel-hopping.  maybe that guy is your neighbor, yanmaani.18:14
fsmithredyanmaani, wired or wireless? What chipset? I've got RTL8111/8168/8411 and wired is working ok with network-manager in beowulf. I have RTL8111/8168B on older box and wired kept dropping out on that. I got r8168-dkms package from ubuntu to get it stable. That was on debian wheezy. No idea if that package still exists.18:33
gnarfaceoh, i assumed wireless, i guess i should have verified though18:35
fsmithredoh, r8168-dkms does still exist and it's in the repo.18:44
fsmithredyanmaani, see 'apt show r8168-dkms' for a list of hardware and some notes about it.18:46
fsmithredit's in non-free18:47
yanmaanignarface: No, this is an ethernet cable.19:15
yanmaanifsmithred: Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)19:15
yanmaanifsmithred: How would I set up r8168-dkms? Just install it?19:16
gnarfaceprobably yes19:17
gnarfacedkms is a thing that triggers module rebuilds on-the-fly, i'd infer by the package name it triggers that automatically on install but if not, check the documentation that comes with it19:18
gnarfaceit's in non-free so it probably contains some binary blackbox blob you need19:18
gnarfacedid you upgrade to gigabit network switches recently?  that could also explain a sudden change19:19
gnarfacesome of these devices work fine without the non-free components as long as you don't need it to sync at gigabit speeds19:20
gnarfacealthough it's worth noting that if your ethernet cables are hand made or really old, it's possible they themselves can only stably link up at 10 megabit19:20
gnarface(just due to the wiring order of the twisted-pairs not being optimal)19:21
fsmithredand you need  linux-headers19:24
fsmithredoh yeah, good call gnarface. I can attest to the fact that dog-chewed cables offer inferior performance.19:25
gnarfaceoh, i forgot, yea for dkms to work you'd need the linux-headers package for the corresponding kernel, though i'd also assume that it would complain about that first if you were missing it19:30
user___https://www.theregister.com/2021/01/25/use_firefox_fedora_chromium_maintainer/ maybe-relevant to devuan too19:39
user___(we may get a better browser in time)19:40
asdflkjuser___: great time to switch to FireFox or LibreWolf. Personally I ♥ Palemoon20:17
nemowish I could trust palewolf team to fix vulnerabilities in timely fashion20:30
nemobut it's already once removed from upstream, and working on backporting stuff20:30
nemoalso ofc they are ever further away from "standard" web tech ☹20:30
nemobut wow. that's a depressing announcement20:31
user___No, it was to be expected. Apple Google Facebook are all "capitalizing" on past investments.20:31
user___They're not in the vaccin business so they are looking bad on the stock market, by comprison.20:32
nemoyou'd think google would be more cautious with antitrust investigations in progress20:32
user___Google is officially too big to fail since they removed the "do no evil" motto years ago and also removed the yellow cheese closeup moon view from goole maps. No sense of self-humor, no respect for others other than Saint Dollar and Power.20:33
user___Fartbook wants to index the private WhatsApp messages and attachments people have on their devices and make money off of bare naked children pictures, credit card and medical history data in there.20:34
user___Apple is also gettin greedy with non repairable devices and so on.20:34
user___Sounds like music to me, being on the open source software user side with just a little bit of development thrown in20:35
nemomy FOSS contributions dropped off a lot after the kids were born. but maybe in another year or two20:37
user___Today I got a new USB keyboard, slightly less bad than the one it replaces. It has a Power button. And I promptly switched my Beowulf off pressing it. Editing /etc/acpi/events/power-button had me put in the "%e" event detail per acpid manpage, then in the action script, I matched the power button event whole line, instead of just the event head button/power. It's more like button/power PWR 000... 0000...20:38
user___K when coming from the USB keyboard, and exactly the same without the 'K' when coming from the PC's hw power button. So I made sure the 'K' version was ignored and now the power button does nothing.20:38
nemoheh20:39
nemothe family living room computer has 3 usb and one wireless keyboard attached, but no bluetooth yet.20:39
nemomight be a bit more secure than the wired one20:40
nemoer. wireless20:40
user___My bt kbd is a source of cussing reasons. No chording no key rollover. Type "legato" and it "eats" characters.20:42
user___I only use it for android.20:42
user___Even as bad as it is, it beats the on screen torture keyboard.20:43
user___Speaking of new browsers, and Chrome "divorce": now is a good time to push non Google standards. They have ceased contributing progress, they now contribute opt-in nd onboarding useless features imo.20:44
nemoI do love my bluetooth keyboard when working in linux on my phone.  I use a folding aluminium one.  it does sometimes eat characters, but works a lot better than on-screen keyboard.20:45
user___So websites etc should be coded to stick with published possibly frozen standards and not follow every crazyness foisted upon up from G.20:45
nemoI've always been a fan of that.  Matomo instead of Google Analytics.   Local font hosting even if the font was generated by google.20:45
user___I am still miffed by the "security" policy implemented recently which prevents AJAX loading from file: domains.20:45
nemobut ofc there are other options too for fonts20:45
user___nemo: what brand/model bt kbd?20:46
user___https://forums.theregister.com/forum/all/2021/01/25/use_firefox_fedora_chromium_maintainer/ the comments are as always golden on thereg.20:47
nemouser___: ummm not a particular brand. it's a folding aluminium keyboard. folds in 3 pieces - I like that one because middle section is stable on my leg when typing. it has magnets for a carrying case that doubles as a standard, and due to magnets works well on like hood of my car. there are dozens of companies selling knockoffs20:47
nemousually between $10-3020:47
nemoI've bought a few over years due to losing them, having them stolen, or accidentally destroying them by leaving out in the rain20:48
nemobut overall like how it handles20:48
user___just link me a pic or such. Thanks.20:48
nemohttps://www.amazon.com/Bluetooth-Keyboard-Arteck-Smartphone-Rechargeable/dp/B015LSEQ28/  um. like this one I guess - but seems to be missing the case and unusually pricey. hunting20:51
nemofits in a jacket pocket though20:51
user___ok, I know that style. Thanks.20:51
user___It does not integrate a pointing device at all, right?20:52
nemohttps://www.amazon.com/Plugable-Foldable-Compatible-Full-Size-Bluetooth/dp/B019PIXO78/  here20:52
user___Aka mouse clit mouse etc?20:52
nemo's one with case and an insanely high price20:52
nemothere's various ones with touchpad, I never bought them because note 4 had a stylus with hover and right click.20:52
unixbsdyou asked me about the pdf editor, so now, it is available: https://gitlab.com/openbsd98324/xpdfedit   (first vers, is bit complicated to use, but it will be improved).20:53
nemothis is probably wildly offtopic tho20:53
user___yeah, thanks and let's stop. There's #devuan-offtopic for this20:53

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!