DocScrutinizer05 | mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm | 03:02 |
---|---|---|
cmplstofB | Is system requirements for Devuan desktop the same as that of Debian desktop? | 05:35 |
hoshineko | I think so, should be ye | 05:48 |
cmplstofB | O.K. thank you, hoshineko | 05:49 |
cmplstofB | BTW, are you Japanese? If not, I'm very sorry about it. | 05:50 |
hoshineko | nah | 05:56 |
cmplstofB | oh, sorry | 05:59 |
DocScrutinizer05 | ++88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 | 12:48 |
DocScrutinizer05 | 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 | 12:48 |
DocScrutinizer05 | 8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888<l.............................................. | 12:48 |
OmegaPhil | nice cat | 12:50 |
FlibberTGibbet | hi. a devuan pc on my lan specifies another local machine as its primary DNS server (running bind9, working i believe) in /etc/resolv.conf. the router is the secondary nameserver. when I use dig or nslookup though, the router is the server used unless i specify otherwise. any idea what i might be doing wrong? | 16:22 |
FlibberTGibbet | ah, donuts. using the wrong subnet number. as you were :) | 16:24 |
* FlibberTGibbet facepalms | 16:24 | |
djph | haha | 16:25 |
djph | oops | 16:25 |
FlibberTGibbet | can dhcp-client overwrite /etc/resolv.conf, by any chance? | 16:27 |
djph | pretty sure that's what it's supposed to do | 16:28 |
KatolaZ | FlibberTGibbet: yes, it definitely would | 16:28 |
KatolaZ | unless the file is chattr +a, for instance | 16:28 |
FlibberTGibbet | aha. just noticed that the original typo was in my router config, which might explain why the error kept coming back like a late-night cheese sandwich | 16:28 |
FlibberTGibbet | thanks djph | 16:29 |
FlibberTGibbet | thank KatolaZ, might do exactly that | 16:29 |
FlibberTGibbet | w00t. amended the router's entry and all working much better now. | 16:30 |
FlibberTGibbet | type in haste, debug at leisure :) | 16:30 |
stqn | late night cheese sandwiches come back? I'll have to be careful | 16:34 |
FlibberTGibbet | very quickly indeed if they also contain pickled onions. lesson learned... | 16:35 |
DeFender1031 | FlibberTGibbet, donuts and late night cheese sandwiches... hungry much? | 16:37 |
FlibberTGibbet | DeFender1031: trying to shed kilos, therefore unconsciously obsessed :) | 16:41 |
JudicialWatch | heyo, got an issue | 18:09 |
golinux | Join the club | 18:10 |
JudicialWatch | at boot i have networking set to start, and wlan0 starts trying to get a dhcp lease, but then usb disconnects and reconnects | 18:10 |
JudicialWatch | it usually ends up working, but is there a way to delay networking to start after this...usb thing, im not sure why the usb devices are there, then they go away for a split second...probably something to do with boot | 18:10 |
JudicialWatch | ive had it not work once, so its not reliable if the dhcp script fails because the usb device goes away for a second (must be doing something in boot) | 18:11 |
JudicialWatch | its getting a SuprisedRemoved(1) status | 18:13 |
JudicialWatch | hmm i think "pre-up sleep 15s" should work | 18:16 |
errandir_ | could be that bringing the network device up causes newer firmware to be loaded for wlan0, which could then trigger the usb reset | 18:19 |
JudicialWatch | yea could be...the sleep didnt work at boot | 18:23 |
JudicialWatch | didnt help... | 18:23 |
JudicialWatch | made it worse actually :) | 18:24 |
JudicialWatch | wireless at boot is totally unreliable | 18:26 |
JudicialWatch | wtf | 18:26 |
fsmithred | if you're using /etc/network/interfaces, are you using 'auto' or 'allow-hotplug'? | 18:26 |
JudicialWatch | allow-hotplug for wireless usb | 18:27 |
fsmithred | maybe try auto | 18:27 |
JudicialWatch | it works sometimes | 18:27 |
JudicialWatch | but i need it to work every time | 18:27 |
fsmithred | allow-hotplug has udev bring up the interface, auto has ifup/down do it | 18:28 |
JudicialWatch | i heard that the system wont boot though if i use auto and remove the usb | 18:28 |
JudicialWatch | i dont need an unbootable system if the wireless usb is removed | 18:29 |
fsmithred | it might hang for awhile trying to get a dhcp offer, but in my experience, ctrl-c will cancel that | 18:29 |
JudicialWatch | these are headless machines | 18:29 |
fsmithred | that makes it trickier to test stuff | 18:30 |
JudicialWatch | well im testing it now | 18:30 |
JudicialWatch | once i get it 100% reliable i wont have to test anymore | 18:30 |
JudicialWatch | im testing auto to confirm | 18:32 |
JudicialWatch | fsmithred: looks like it boots fine without it connected | 18:35 |
JudicialWatch | now im just going to reboot it like 10 times to make sure wireless always comes up when it is connected and i should be good | 18:36 |
JudicialWatch | but it looks like the default route doesnt update if i bring down eth0 | 18:38 |
JudicialWatch | id expect wlan0 to become default route | 18:38 |
JudicialWatch | likewise if i disconnect ethernet, traffic doesnt default to going out wlan0 | 18:40 |
JudicialWatch | how can i make it so that both default routes are added | 18:42 |
KatolaZ | JudicialWatch: I am not sure that's what you want under all conditions | 18:43 |
fsmithred | would it work to set eth0 to allow hotplug and only plug in the network cable if you need it? | 18:45 |
JudicialWatch | uh, if im working on a device over ethernet, and i set up its wireless, then i disconnect the ethernet cable | 18:45 |
JudicialWatch | its offline | 18:46 |
JudicialWatch | because the route doesnt update | 18:46 |
JudicialWatch | it has an ip and everything but it cant find the internet | 18:46 |
fsmithred | maybe you can do what you want with custom scripts under /etc/network/if*.d dirs. | 18:51 |
JudicialWatch | ip route show shows | 18:52 |
fsmithred | or in interfaces.d | 18:52 |
JudicialWatch | devault via 192.168.1.1 dev eth0 linkdown | 18:52 |
fsmithred | I have very little experience messing with routes, so I probably don't know the right answer | 18:53 |
JudicialWatch | what would people do with a laptop | 18:53 |
JudicialWatch | hook into ethernet, configure wireless, disconnect ethernet | 18:53 |
JudicialWatch | no internet | 18:53 |
fsmithred | I run wicd on my laptop | 18:53 |
fsmithred | yeah, something like that | 18:53 |
KatolaZ | JudicialWatch: people should just rerun dhclient :) | 18:54 |
JudicialWatch | it has to be automated, and reliable | 18:54 |
KatolaZ | great | 18:54 |
JudicialWatch | just wondering why it doesnt say, linkdown, why not use the other gateway | 18:54 |
KatolaZ | please send patches :) | 18:55 |
JudicialWatch | two dhcps = 2 gateways | 18:55 |
JudicialWatch | KatolaZ: patches for what | 18:55 |
KatolaZ | (that work in all possible situations) | 18:55 |
JudicialWatch | KatolaZ: what am i patching exactly | 18:55 |
JudicialWatch | link me to where the bug is | 18:55 |
KatolaZ | I don't know | 18:55 |
KatolaZ | you suggested that there was something to be fixed | 18:56 |
KatolaZ | 18:55 < JudicialWatch> it has to be automated, and reliable | 18:56 |
JudicialWatch | yeah i just need to keep internet through the wlan when i disconnect eth | 18:56 |
JudicialWatch | or vice versa | 18:56 |
JudicialWatch | both have dhcp gateways, but i guess it throws away one of them and never uses it? | 18:56 |
KatolaZ | if you are sure this is what you want, you should put appropiate pre-up/post-down in /etc/network/interfaces | 18:57 |
KatolaZ | I don't know how to do it in wicd/network-manager/whatever | 18:57 |
KatolaZ | I know that I have never been able to let it work reliably | 18:58 |
KatolaZ | without using /etc/network/interfaces directly | 18:58 |
KatolaZ | all automation with network stuff will eventually *suck* | 18:58 |
JudicialWatch | this is pretty basic though | 18:58 |
KatolaZ | I told you what I would do | 18:58 |
KatolaZ | which is pretty basic | 18:58 |
JudicialWatch | im not sure what is appropriate pre-up/post-down | 18:59 |
fsmithred | this might get you started: https://unix.stackexchange.com/questions/91245/execute-custom-script-when-an-interface-gets-connected | 19:02 |
fsmithred | that came up on a search for 'custom ifupdown scripts' | 19:02 |
JudicialWatch | so when one goes down i have to tell the other one to become defualt route? | 19:03 |
JudicialWatch | that doesnt sound right | 19:03 |
JudicialWatch | on slackware it worked out of the box | 19:04 |
JudicialWatch | maybe it isnt working because the wlan and eth have the same gateway ip | 19:06 |
JudicialWatch | ill try it with different networks | 19:06 |
fsmithred | JudicialWatch, two possible solutions here: https://unix.stackexchange.com/questions/345862/is-it-possible-to-have-multiple-default-gateways-for-outbound-connections | 19:14 |
JudicialWatch | i set a metric 10 and metric 20, for cost path routing, and have two gateways with different metrics, but it still tries to go out the linkdown interface @_@ | 19:15 |
JudicialWatch | shouldnt it go to a higher metric when the lower is linkdown ? | 19:15 |
fsmithred | I have no idea. | 19:22 |
JudicialWatch | got it working | 19:29 |
JudicialWatch | i set wlan0 to metric 0, and eth0 to metric 10 | 19:29 |
JudicialWatch | now i can hotplug eth or wlan and it keeps pinging | 19:30 |
JudicialWatch | everything works in fact, so if you want it to work for you just use allow hotplug on eth0 and wlan0, and set eth0 to metric 10, and wlan0 to metric 0. you can boot with nothign connected, and plug wireless and wired in and both get online, then you can ping to the itnernet, and disconnect wireless or wired and it keeps pinging | 20:09 |
JudicialWatch | then you can plug them back in or w/e and it all works | 20:09 |
JudicialWatch | no patches or scripts required | 20:09 |
fsmithred | what happens if you boot with both plugged in? | 20:10 |
JudicialWatch | they both get an ip | 20:10 |
JudicialWatch | it just prefers the wireless for traffic by default | 20:10 |
JudicialWatch | which is fine for me, as long as it stays online | 20:11 |
JudicialWatch | im gonna try making eth default (lower metric) | 20:12 |
JudicialWatch | lower, but not zero. eth is metric 10, wireless is metric 20 for this test | 20:13 |
JudicialWatch | nope it doesnt like that | 20:16 |
JudicialWatch | only works when wireless is a lower metric, but seems to cover all situations with this configuration | 20:16 |
levente | hey, can I somehow install gcc7 from the repos and not manually compile it | 21:20 |
gnarface | yes, it's possible. you should use a chroot. | 21:26 |
gnarface | gcc7 is in ceres, but not ascii-backports | 21:27 |
gnarface | if you install the gcc7 packages from ceres to ascii you will make a mess of your install | 21:27 |
gnarface | but if you debootstrap ceres into a chroot, you can install gcc7 safely within that | 21:27 |
gnarface | (should work for cross-compiling too) | 21:28 |
gnarface | building it yourself will take up less space but won't necessarily take less time | 21:29 |
levente | chrooting and all that stuff is a mess, I will just delete the ones installed by the package manager and manually install it ffs | 21:31 |
gnarface | i really wouldn't recommend that | 21:31 |
gnarface | chrooting is really much less of a mess because you can do it without corrupting your package dependency hierarchy | 21:32 |
levente | what a mess | 21:32 |
gnarface | well you could still try to backport it yourself. maybe it's not that bad... | 21:32 |
levente | I don't know enough about debian/devuan to do that | 21:33 |
gnarface | well the process is fairly simple if it works | 21:34 |
gnarface | but if it doesn't work on the first try there's nothing i can really do to help | 21:34 |
gnarface | whereas the chroot approach will definitely work | 21:34 |
gnarface | what do you need 7 for anyway? | 21:34 |
levente | uhhhhh | 21:35 |
levente | compiling some git projects | 21:35 |
gnarface | don't mess up your install for this dude. use a chroot. | 21:35 |
levente | how can I use different configs in a chroot | 21:36 |
levente | Do I install a separate OS in a damn chroot | 21:36 |
gnarface | well it'll be a separate everything but the kernel | 21:36 |
gnarface | all the rest of the configs will be separate | 21:36 |
levente | I have never in my life done that, seems interesting though | 21:36 |
gnarface | it's fun | 21:36 |
gnarface | i can walk you through it | 21:37 |
levente | that'd be a bit of unecesarry spam, thanks for the offer though | 21:37 |
gnarface | alright. suit yourself. you'd need about 400MB space minimum for proof-of-concept. probably 2GB-4GB free for a build environment | 21:37 |
gnarface | i mostly use it for cross-compiling | 21:38 |
levente | I think I will install a debian system in that chroot, because so much stuff supports it out of the box | 21:38 |
gnarface | the nice thing is stuff you do in there won't touch the host system's package tree | 21:39 |
gnarface | in theory it could be any linux distro compatible with the host's kernel version | 21:39 |
gnarface | i've really never tried it with systemd involved though so i dunno what that'll do | 21:39 |
levente | ah true | 21:42 |
levente | I don't think the init system has an effect on it though | 21:42 |
gnarface | it shouldn't, systemd also pollutes authentication and permissions | 21:43 |
gnarface | device permissions i dunno what will happen | 21:43 |
gnarface | there might be unforseen gotchas with diverging defaults | 21:44 |
JudicialWatch | one issue is that every hour when new dhcpreleases are requested, i guess they go out the wrong interface or something because both interfaces get new ips...probably mostly because they are on the same network with same gateway address.... | 23:48 |
JudicialWatch | ill setup a guest wireless to see if the problem goes away | 23:48 |
JudicialWatch | could also be that i had lots of leases in the /var/lib/dhcp/ files, probably conflicting leases for the same ips on different interfaces...i cleared the files out also | 23:58 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!