[01:17] I'm moving an old digital ocean ubuntu 14.04 install to 18.04. I was going to see if I could retain old IP address... but after thinking about this a bit more, is there any disadvantage to simple updating A records (with a TTL of 10 minutes) to the new IP? Only downside is some IPs may cache for a 10 min window, correct? [01:24] you may need to update PTRs as well [01:24] + you will need to update the systems' network configuration [01:26] tomreyn: reverse DNS and/or PTR, yes. Will put in a request for that. Network conf is defaulting to digital ocean. Thank you! Doing some tests now to ensure sites run well, fairly basic. [01:27] tomreyn: Main purpose for PTR is for e-mail to not get flagged as spam, eh/ Or what else? [01:27] nay other systems with IP based access control configurations will need to be updated accordingly. [01:29] the main purpose of a PTR is to indicate who manages it, what its purpose is. FcRDNS is a common anti spam measure and the most common use of PTRs, yes. [01:29] tomreyn: I see, thank you [01:29] (besides of just IPAM) [03:39] I'm on ubuntu 18.04, previously 14.04. On 14.04 I had my init scripts in /etc/init/ [03:39] Is this still the place to put them on 18.04? [06:01] !releasenotes | foo: Yes, but only if you strictly still have to use sysv init scripts. You really should use systemd, though, as discussed in the release notes [06:01] foo: Yes, but only if you strictly still have to use sysv init scripts. You really should use systemd, though, as discussed in the release notes: For release notes of a given Ubuntu release, please refer to the 'Docs' column on the 'List of releases' table at https://wiki.ubuntu.com/Releases [06:03] tomreyn: thank you, I set everything up on systemd now. Last step is to make sure it starts the service on reboot [11:59] ask your details here weq [12:00] yeah just need to fix my driver again so I'm at the same point until I bug you guys with my issue. [12:00] damn wierd netgear usb card. [12:00] weird* [12:01] anyone able to share some insight in why a ubuntu server aren't able to connect to a wifi network? I can see the wifi with iwlist and afaik the netplan configuration is correct. Networkctl just reports that it is degraded in connection status. [12:05] weq: interesting would be to paste your syslog errors about it, volunteers can take a look for you whats it about [12:05] weq: your server doesnt have an eth port? [12:05] this is a home lab, so I have ethernet atm but I wish to utilize it on wifi for the convenince of it. [12:06] having a ethernet cable across the entire living room ain't exactly a popular opinion in the household. [12:06] weq: could use those powerline eth adapters maybe in the future [12:07] server over wifi doenst sound very comfy right? [12:07] it is just a lab, but it is so annoying to be so close but not having it pair with the AP. it can clearly detect it via iwlist scan [12:09] weq: if you can show the netplan and resulting systemd-networkd and wpa_supplicant configurations (without revealing passwords / sensitive info), that'd make it easier to help you [12:09] trying to dump it all with pastebinit now [12:10] I'm threading on water on my wifi skills in linux also fyi [12:11] made a wpa_supplicant config with the iface name here http://paste.ubuntu.com/p/wjM8J3dBsT [12:13] the netplan cfg is http://paste.ubuntu.com/p/J5BHMQS7Vd/ [12:13] I'm sorta making throwing everything at this box to see what sticks [12:14] https://paste.ubuntu.com/p/64Y4tbzsX6/ last 50 lines of the syslog [12:15] dunno exactly what else would be of benefit to share, so please just ask for more intel. [12:17] weq: your server up to date? [12:17] yes clean install of 18.04 update&upgrade completely. [12:18] installed yesterday. [12:19] weq: chipset of your wifi card? [12:19] contents of /etc/systemd/network/ may be of interest [12:19] afaik it is "Netgear-A6210", had to find a 3rd party driver and compile it myself. [12:19] line 13 of http://paste.ubuntu.com/p/J5BHMQS7Vd/ is indented by one extra speace. not an issue, though, i think. [12:20] weq: what was wrong with the driver module by default? [12:20] unsupported afaik. [12:21] tomreyn: the network folder is empty. [12:21] removing the extra space and then running netplan generate & apply did nothing. [12:22] nothing new of intrest in syslog either. [12:22] http://paste.ubuntu.com/p/c6TYmxkY6X/ [12:22] https://paste.ubuntu.com/p/7qhqFXmntx/ the driver seems to work [12:24] weq: can you tail -f /var/log/syslog and plug out wifi/plug back in and pastebin the output [12:24] nothing in /run/systemd/network either? [12:24] sure. but the comments on the driver is that it might be unstable when plugging out and in [12:25] ...nor in /lib/systemd/network ? [12:25] there is contents in that folder tomreyn, it has two config files. the one with the wlan0 interface just states that is will use dhcp etc nothing about SSID or anything similiar [12:25] in the /run folder [12:26] dhcp, linklocal,mtu and metric is all that is that file. [12:28] Ty for the intrest, I have to step out a while because of the inlaws etc. but if you have any points just highlight me and I'll probably keep working at this through the x-mas so :P [12:29] i'venever done this myself, just reading up on it and doing peer review [12:29] weq: I'm confused; if you're using netplan to configure the WiFi why are you also configuring wpa_supplicant? [12:38] When i'm booting Ubuntu server on Virtualbox. It's taking too much time to get network configured? [15:27] TJ-: been basically trying everything I've been able to google regarding how to configure it to see what stuck to the box. [15:29] I'm not that familiar with all these networking manager options in ubuntu anymore. and defintely not familiar with wifi in linux as my primary configuration is ethernet on linux and purely as a server host environment while this is basically a "wireless-lab" at the inlaws place. [15:30] weq: if this is a 18.04+ server install it'll be using systemd-networkd [15:30] weq: at each boot, the netplan YAML is 'rendered' into the network-manager config in /run/systemd/network/ [15:31] and that is "all" right? netplan to populate the systemd-networkd ? [15:31] weq: you shouldn't need to do anything else; in fact if you manually create a wpa_supplicant.conf and have the wpa_supplicant service enabled it'll likely fight with systemd-networkd [15:33] I'll make sure to remove wpa_supplicant then, am I supposed to see the configuation regarding ssid etc in the /run/systemd/network configuration? cause I can't find any trace of it there. [15:34] it is present in my YAML and as far as I can see that configuration is correct though. [15:34] are there any options to configure wpa2-psk etc incase there are some negation errors? just to rule things out. [15:35] weq: I'm not entirely sure, my memory is struggling on that right now, but as I recall when configuring a wireless link systemd-networkd will activate it's own private instance of wpa_supplicant. I need to check on that though, got to ssh into a remote system to check! [15:36] I know for a fact that the provider is not supporting this particular nic on nix but there are community made drivers that do seem to work as I can clearly see the wifi network when scanning with iwlist. But I'm not sure if there is some feature missing in the driver to be able to connect. This is a bit out of my daily routine. [15:37] There is nothing of value in this system as of now so if it help I can set up a user and screen if you'd been be willing to take a look at this configuration later perhaps? We have have some x-mas things to go through here as I recon everyone has. regardless of geeky we are. [15:39] weq: remind of the pastebin link with your netplan config; I'll test it here [15:40] weq: no matter; found it [15:40] ty for trying. [15:47] if it is of any information this is the driver that I've compiled and installed the wifi network when scanning with iwlist. But I'm not sure if there is some feature missing in the driver to be able to connect. This is a bit out of my daily caliculk [15:47] whops [15:47] https://github.com/kaduke/Netgear-A6210 [15:47] this touchpad, sry fot he mispaste. [15:55] weq: OK, I've created a separate YAML for wifis, and using "netplan --debug generate" to see what it creates. You should do that too to understand what it does. It looks like it generates both systemd-networkd and wpa_supplicant service files [15:59] weq: I daren't allow it to actually apply since that system is a very long way away :) [16:02] ok I'll try that soon to see what happens, but can you confirm that there is anything related to the wifi ssid and/or passphrase for the network in the /run configuration? [16:04] cause I'm not that familiar with netplan, so just curious if I'm supposed to see any of the ssid&passphrase information in my yaml in the networkd config. Cause what I've understood so far is that netplan is just a simplified method of making networkd config. YAML -> systemd-networkd.conf's [16:05] I would sorta expect that netplan would tell me of any syntax errors in the yaml though if it is sane. [16:06] weq: as the --debug shows, it writes a wpa_supplicant conf file to /run/netplan/ which you can inspect [16:07] ah k I'll traverse that as soon as I can, thanks. But are there any logs that will show the "pairing" attempt other that what I can expect from syslog? [16:14] weq: it is creating systemd services so you can look at those logs [16:14] weq: e.g. "systemctl status xxxx" or "journalctl -u xxxx.service" [16:46] Hello, I am using Ubuntu 16.04 LTS and Torsocks as system wide proxy. Do you know how can I fix DNS leakage through Socks? [16:58] TJ-: hmm ok, I found the files you mentioned in run and the debug options. It is still the same error message. Dependency failed for WPA supplicant for netplan wlan0. [16:59] and I found this, though it is related to archlinux. https://bbs.archlinux.org/viewtopic.php?id=150087 It is similar but I'm not quite following the logic here. Not that familiar with systemctl at all. [17:00] and it seems like that "wpa_supplicant" config I made with ssid etc aren't being used what so ever and it afaik it shouldn't conflict given that paths I see in netplan --debug [17:01] and when I check the systemctl --all --type device I can see that the sys-subsystem-net-devices-wlan0.device is marked as loaded inactive dead [17:02] instead of the others devices in the list that is active and plugged. [17:03] weq: does / did wifi work in a live session? [17:04] you need to explain that further for me to give a response cryptodan_mobile. You mean just a live linux? Haven't tried it. There is no driver natively available so I had to compile and install it from a community source. [17:07] http://paste.ubuntu.com/p/zXMKrhQ76B/ [17:07] this is the entire systemctl device list [17:07] Weq you sure that nic has a ralink chip [17:08] it is able to scan see the avaiable wifis here. [17:08] wasnt it netgear? [17:08] it is the netgear ac1200 usb dongle, which afaik is the Netgear A6210 [17:09] if I use iwlist to scan for wifi networks I can see the network I'm trying to connect to. [17:09] and as far as I can see in the /run files that TJ- described earlier both the ssid and passphrase is correct. [17:12] weq: run "dmesg | nc termbin.com 9999" share link here [17:13] cryptodan_mobile: weq told us his wifi driver didnt work by default, hence why the own compile [17:13] https://termbin.com/zpq1 [17:13] im also curious why [17:14] there is no wifi adapter available if I do ipconfig -a without compiling the driver then modprobing it. [17:14] Is there a way to use "mail" command in linux ubuntu with mailgun? I just did apt-get install mailutils... and realized it installed postfix + mysql common ... plus a bunch of stuff I probably don't want... I some random stuff on my system uses mail command but everything is routed through mailgun. [17:15] as far as you guys is this adapter natively supported? [17:17] https://paste.ubuntu.com/p/zXMKrhQ76B/ in that paste I'm curious if I'm supposed to use a different device than the one marked as dead. If I compare strings towards what is dmesg I can see the "same" information regarding usb and 1-5 at line 98. If that is really the device. [17:18] cause that seems to be the same scenario as this https://bbs.archlinux.org/viewtopic.php?id=150087 [17:18] mt7662u_sta: version magic '4.15.0-29-generic SMP mod_unload ' should be '4.15.0-43-generic SMP mod_unload [17:18] weq: is secure boot enabled [17:18] no. [17:19] it is old hw so no secure boot [17:20] could it be wrongly compiled weq ? [17:20] lotuspsychje: that might be due it had an older version prior, I had to make clean && make && make install this morning just to get the adapter back. probably due to an update. [17:20] lotuspsychje: it could, but I'm out of my league here. [17:21] I have not enough experience or knowledge on this topic to claim one or the other here. [17:22] weq: well the best way of debugging things on ubuntu, is to keep as much as vanilla possible, perhaps see why the netgear driver doesnt load by default first? [17:24] any simple method of removing the driver I compiled to start from there? if that helps with the process of you getting a better grasp of the situation. [17:24] or would you prefere that I just start from scratch? [17:24] yeah i would go from scratch [17:25] ok reinstalling now [17:25] Weq [ 325.095355] ModemManager[772]: segfault at 0 ip 000055c5b3009659 sp 00007fffba8ebb20 error 4 in ModemManager[55c5b2fce000+123000] [17:26] that is greek to me... :-/ [17:26] So that maybe why it's not working that happened after the driver loaded [17:28] so reinstall, apt update&&apt upgrade anything else I should do before we try a more structured method of doing this? [17:29] weq: always keep system up to date is always a good idea :p [17:29] that is my intentions :P [17:29] Try using ubuntu 18.04 [17:29] cryptodan_mobile: desktop you mean? [17:30] Yeah [17:31] soon done reinstalling so will give that ago if there is "logical" reasoning to this after this. Had a crapton of troubles trying to even make the boot usb for some reason. Rufus didn't want to make the usb correct so had to a use a different linux laptop I had lying around to even make the usb to get a stick with no defects. === lotuspsychje_ is now known as lotuspsychje [17:43] ok soon done updating. no wifi card visible in ifconfig -a [17:43] weq: check with sudo lshw -C network [17:44] only the ethernet adapter there. [17:44] weq: allright, then we need your full syslog after install, boot [17:44] lets c what happens there [17:44] after a clean boot? [17:44] weq: make sure system up to date to kernel -43 also ok [17:45] yeah will finish apt until it is completly done, reboot then pastebin the entire syslog [17:45] great [17:52] do pastebinit filter syslog by default or something? [17:53] cat /var/log/syslog | nc termbin.com 9999 -> http://termbin.com/ju8w [17:56] weq: something badly wrong with ureadahead there [17:56] what does that mean? [17:56] big error list [17:56] not sure why it does that [17:59] Hey its possible to get https to my vps ip ? [18:00] I've followed some steps on google but nothing happen !! [18:00] lotuspsychje: but should that have any impact on the issue? As far as I can understand ureadahead is only there to put config in cache basically? [18:01] weq: well the errors list so far, i didnt find why your netgear didnt load, not related to our issue no [18:01] hmmm it even cut of the paste since there were so many messages. [18:02] weq: I'm back; just looked at the dmesg; the kernel you're using is v4.15. Instead of trying to build the kernel module out-of-tree why not try an Ubuntu Mainline build of either v4.19 or v4.20, which both have that module [18:03] ah good idea TJ- [18:03] tail -f /var/log/syslog -n 500 | nc termbin.com 9999 -> https://termbin.com/7qie [18:03] grep -n '0846.*9053' /lib/modules/*/module* [18:03] /lib/modules/4.19.0-041900-lowlatency/modules.alias:9769:alias usb:v0846p9053d*dc*dsc*dp*ic*isc*ip*in* mt76x2u [18:03] /lib/modules/4.20.0-042000rc4-lowlatency/modules.alias:9796:alias usb:v0846p9053d*dc*dsc*dp*ic*isc*ip*in* mt76x2u [18:03] !mainline | weq [18:03] weq: The kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds [18:03] do-release-upgrade and go to 18.10 ? [18:03] is that what you want me to try? [18:04] weq: I have a script to automate dowload/install of Ubuntu mainline kernels http://iam.tj/projects/ubuntu/wget_kernel_mainline.sh [18:04] weq: no, don't change the installed release, just install a recent mainline kernel :) [18:04] TJ-: just to inform you, we reinstalled now are running a clean 18.04 fully patched with no 3rd party driver atm. [18:04] so run your script and presto? [18:05] weq: by default the script will fetch/install the latest build, which might be a release-candidate. You also need to add the Ubuntu kernel team's GPG public key to the system keyring [18:06] I will be prompted for that won't I? after wget script && ./ script ? [18:06] weq: download the script, make it executable ("chmod +x wget_kernel_mainline.sh") then do "wget_kernel_mainline.sh -l" to fetch and display the list of versions [18:06] weq: I recommend doing this in $HOME/Downloads/ since it'll create a sub-dir ./kernels/ to download into [18:07] root@zulu:~# ./wget_kernel_mainline.sh -l | pastebinit [18:07] http://paste.ubuntu.com/p/pb5Mg3wKwx/ [18:07] weq: Linus is due to release v4.20 before xmas day so it's OK to fetch the latest v4.20-rc7 [18:08] weq: OK, now do "wget_kernel_mainline.sh" and it'll fetch v4.20-rc7 [18:08] fetching now [18:09] weq: as I said you'll get a warning/error about not being able to verify the signature so you'll need to add that key to your sysytem keyring - the script tells you how :) [18:09] (or should!) [18:09] does the script also do some dpkg -i here? [18:10] weq: yes, it does everything [18:11] http://paste.ubuntu.com/p/7kHxKmwJbF/ so... apt install gpg or something? what package am I missing? [18:11] gnupg2? [18:12] weq: eerrrrr you've found a bug! it should have reported the failed key. is gnupg (gpg2) installed on that system? [18:12] nope clean install [18:12] so install gnupg2 the rerun the script ? [18:13] just to not frack anything up I'd rather do this step by step. [18:13] weq: yes, you can rerun the script, it won't upset it and it won't re-download anything it has already fetched [18:14] yes to install gnupg2 right? [18:14] weq: yes, although it should be installed to support apt-key [18:15] and then apt-key and the RSA key right? [18:15] since that also fails [18:17] weq: this is the key you need: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0856F197B892ACEA [18:17] ok key installed and it is unpacking the deb files now. [18:17] nice one :) [18:17] so the script did tell you the key ID finally? [18:17] I'd best add some functionality to ensure gpg is available and working! [18:19] wth?... https://paste.ubuntu.com/p/5TyVN42HcJ/ [18:20] I think there might be some fs issues here. I see all of the suddenly it has remounted as RO. [18:20] weq: looks like the storage device/file-system went read-only in the middle of operations [18:21] weq: check "dmesg | tail -n 50" [18:21] fsck /dev/sda2 -y now, rebooting [18:21] it happened last time I rebooted also, [18:21] err reinstalled. [18:21] weq: better check the SMART log if the device has one, using smartmon-tools smartctl tool [18:22] weq: I have to go to dinner now, hopefully you can sort that issue out [18:22] would be wierd if there is any physical issues on the drive as it is brand spanking new but we'll see. [18:24] ok TJ-, script also done now and rebooting to boot into the 4.20 kernel. [18:29] ok we are now on 4.20.0-042000rc7-generic, syslog is as long as the chinese wall because of the unknown ureadahead error but I can upload it in it's entirety to a server if needed. [18:30] lshw -C network still only reveals the ethernet card and no usb card. lsusb still shows that the realtek card is there. [18:32] weq: that dongle is kinda old? [18:33] made 4 years ago or so. [18:34] the father in-law do have a linksys wifi pci adapter here as well which is even older but I sorta want to avoid trying that it is 11mbps only. [18:34] weq: can we see your new syslog on the 4.20? [18:36] ofc I'm crap at sed so able to help me filter away the crap from ureadahead so that you get only the valuable parts instead of half of the syslog ? [18:38] hmmm I've lost internet on that machine now all of the sudden [18:39] there restarted systemd.networkd.service [18:43] weq: I'm beginning to suspect many of the issues on that system are due to a broken disk drive [18:44] weq: the earlier segfault in ModemManager for example, and the other issues [18:44] installing smartmontools now [18:47] smartctl -a /dev/sda ? [18:47] is that suffient? [18:47] weq: yes [18:48] http://paste.ubuntu.com/p/QYk8hzTfKz/ [18:48] overall passed [18:50] weq: so the next suspect is the RAM modules, because there's something not right causing the I/O problems [18:51] weq: but referring back to v4.20 and the WiFi module, we need to see the kernel boot log to get any sense of what went wrong [18:51] how can I share that properly? [18:52] given that we have thousands of ureadahead ignored relative path messages in syslog. [18:54] cat /var/log/syslog | sed -i 'zulu ureadahead[378]' > full_syslog.log or something ? [18:54] I'm really crappy at regex and sed [18:55] weq: "sudo apt install pastebinit" then "journalctl -b | grep -v ureadahead | pastebinit" [18:55] http://paste.ubuntu.com/p/3SSPNPWDqQ/ [18:57] I see it at line 751 [18:57] line 923 "mt76x2u: probe of 1-5:1.0 failed with error -2" [18:59] weq: lets see if it needs firmware, although that wouldn't result in this error -2: "modinfo mt76x2u" and see which firmware files it lists, then check if they're in /lib/firmware/ - if not, we possibly need to grab/extract them from the mediatek source package [18:59] http://paste.ubuntu.com/p/cXMTvw54g3/ [19:00] no mediatek in /lib/firmware [19:00] -2 == -ENOENT which isn't very revealing [19:01] root@zulu:~# ls /lib/firmware/ | grep mediatek [19:01] no results [19:01] weq: where did you get the original mediatek source package from? do you still have it so we can extract the firmware files from it? [19:02] what source package? you mean the 3rd party driver I found prior to reinstalling? [19:02] as of now this what we done, clean install, patch OS, upgrade to 4.20, install smart tools [19:02] weq: yes [19:03] https://github.com/kaduke/Netgear-A6210 this was the repo I downloaded in the previous install [19:04] and then compiled & installed so I could see the wifi networks with iwlist [19:04] git clone repo, make, make install, modprobe, iwlist wlan0 scan showed the wifi in the previous install. Haven't done anything like that in this install yet. [19:05] only what you've suggested. [19:05] thanks again for being so patient and willing to lend me your experience. [19:05] weq: they're in the latest linux-firmware repo: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/mediatek [19:06] weq: you can fetch the 2 you need; you'll need to create the directory for them, as in "sudo mkdir /lib/firmware/mediatek" first [19:06] can I just wget them raw or clone the repo and copy them into /lib/firmware? [19:06] ok [19:06] weq: yes, you can fetch them with wget [19:06] all of them ? [19:07] weq: you only need the 2 that the modinfo command listed [19:07] ah k [19:07] 7662 then [19:07] weq: those of them "mt7662u*" [19:08] root@zulu:/lib/firmware/mediatek# ls [19:08] mt7662u.bin mt7662u_rom_patch.bin [19:08] weq: then check if the module is still loaded with "lsmod | grep mt76" - if no result, then try "sudo modprobe mt76z2u" then recheck kernel log with "dmesg | tail" [19:08] oops, typo [19:08] weq: "sudo modprobe mt76x2u" then recheck kernel log with "dmesg | tail" [19:09] http://paste.ubuntu.com/p/F2CX5Nft8p/ no idea what I'm looking at there if it is correct or not. Does it automatially load files that just pop in? [19:10] weq: it's loaded so we need to unload it first; "sudo modprobe -r mt76x2u" [19:10] then modprobe mt76x2u to reload it right? [19:10] yes [19:11] and lets hope that -2 error was due to missing firmware, and now it gets further [19:11] another command another error [19:11] -5 now [19:11] http://paste.ubuntu.com/p/8QGdtdnR2Z/ [19:11] That's -EIO [19:12] hmm I was a bit quick -71 also dunno what makes more sense for you. [19:12] weq: LoL "mt76x2u 1-5:1.0: ROM patch build: " that's your fault !!! :D [19:12] your wget command hasn't fetched a raw firmware file it has fetched an HTML document :D [19:12] how? :P I just did wget after copying the file. [19:13] lol I see it :P [19:13] weq: presumably the link you gave wget doesn't fetch the raw file but an HTML overview [19:13] yeah I'll fix that quick and modprobe -r and modprobe it once more [19:13] You need the "plain" links [19:14] Thank goodness it showed the file header in the log else we'd not have realised [19:14] sorry, not used to git.kernel.org compared to github etc. [19:15] http://paste.ubuntu.com/p/D8XgpYpkP2/ there [19:15] modprobe -r && modprobe done [19:16] Try removing and re-inserting the USB device itself [19:16] ok [19:16] it may be confused with everything we've done to it :D [19:16] http://paste.ubuntu.com/p/yPbZn64QBP/ after unplug and insert [19:17] wooo hooo, you have a device wlxc0ffd4b2f709 [19:17] try "iwconfig" [19:18] you might want to "sudo apt install wireless-tools" for additional bits and pieces for diagnosis [19:18] then you can do things like "sudo iwlist scan" to see if it can detect any APs [19:20] gotta go afk here couple of mins so please stay with me when I return [19:21] weq: I suspect all you need now is put that device name in the netplan config :) [20:00] there done opening presentens today. lets give this ago. [20:01] You're early! [20:04] this familiy does it on the 23rd and the 24th cause they are such a big familiy at the 24th so it would take the entire night otherwise. [20:04] so mostly today and some minors tomorrow. [20:10] but no go it looks like TJ-... [20:12] http://paste.ubuntu.com/p/w7kTkGsVgd/ [20:13] it can see the wifi still and heck of alot more info with iwlist scan now than before. [20:14] but it won't pair it seems [20:14] weq: OK, but you're making progress. So now we look at the wpa log [20:14] networkctl says almost the same as before. setup = configuring [20:14] indeed [20:15] where is the wpa log? [20:15] weq: something like " journalctl --u netplan-wpa@wlxc0ffd4b2f709.service " [20:16] http://paste.ubuntu.com/p/qKQG8RDxWs/ such a great error [20:17] weq: so maybe that starts the main wpa_supplicant.service? is there a log for that? [20:18] weq: you could do "journalctl -n 50" [20:18] yeah it is complaing about missing /sbin/wpa_supplicant [20:18] so I guess I need that package also [20:19] hahah yes well it would help :DD [20:19] Dec 23 21:09:34 zulu systemd[4528]: netplan-wpa@wlxc0ffd4b2f709.service: Failed to execute command: No such file or directory [20:19] Dec 23 21:09:34 zulu systemd[4528]: netplan-wpa@wlxc0ffd4b2f709.service: Failed at step EXEC spawning /sbin/wpa_supplicant: No such file or directory [20:19] weq: at least its an easy fix [20:19] crossing my fingers now. [20:21] hmm that killed my ssh connection also, gotta check the host physically then. probably restarted networkd or something [20:22] nah even worse. kernel panic.. [20:23] I've not seem many pain-free experiences with USB 802.1ac devices [20:28] it is working.. it seems... going to unplug the ethernet and just try a reboot to confirm [20:28] we are connected and have gotten an ip atleast. [20:28] :) [20:29] I'm at a loss for words how grateful I am for your patience to you all. [20:29] No freakin way I'd be able to do this without for sure. [20:30] weq: in these kind of hardware/driver cases I always recommend checking if the latest mainline kernel can help [20:31] I have rather little experience with hardware and drivers in linux. [20:32] hmm seems like we aren't there yet though :P [20:33] we have IP but I'm unable to ping the gw. [20:34] weq: can the gatweay ping the PC? [20:34] in arp I can see the gw ip and mac. [20:34] any firewall rules on either? [20:35] not able to ping from the router, but my laptop can't ping the linux box [20:35] If the PC has obtained an address using DHCP then you know they can talk [20:35] yeah but not sure what is happening exactly here now. [20:35] ifconfig doesn't report any rx or tx errors either. [20:36] go back to the logs [20:36] "journalctl -n 50" -- any recent clues? [20:36] nope. [20:37] resolved complains about using degraded feature set but I'm pinging ip's not any dns names. [20:37] plug in the cable, install tcpdump, monitor the wifi link [20:37] weq: that warning is pretty standard [20:44] yeah figured as much [20:52] hmmm any suggestion to parameter on tcpdump? tcpdump -i interface -vv -w tcpdump.pcap or something? [20:53] with those params it does capture some data atleast [20:53] weq: "sudo tcpdump -ni wlxc0ffd4b2f709" is enough [20:54] weq: the purpose is to confirm there are packets received and sent [20:55] there is content yeah, can see some traffic like the apple tv in the household etc. [20:55] started a ping from the box to the gw as well [20:55] weq: are those multicast packets then? [20:56] 60 packages received by filter 0 dropped by kernel [20:56] yeah apple devices are noisy that way [20:56] weq: has the PC got a valid route? "ip route show" [20:57] https://paste.ubuntu.com/p/ZbRG5M6Fwc/ the tcpdump [20:58] yeah it has configure 192.168.1.1 as default for wifi device [20:58] but a gw shouldn't be needed for lan? [20:58] what is the IP address on the PC? [20:58] 205 [20:59] OK, so I see successful ping echo/responses there [20:59] wow yeah there are some [20:59] there is huge package loss [21:00] 98% package loss infact in the other tty I started a ping [21:00] out of 261 transmitted only 5 were sucessfull. [21:00] poor implementation of the driver then? cause the physical location and coverage should not be a issue [21:01] I'm sitting with my win laptop at the same location without any issues nor loss. [21:01] yeah; I read that there is an issue when the device scans but I thought that was effectvely solved by now [21:02] I'm afraid you've managed to pick a device where the manufacturer doesn't care about Linux [21:02] not a choice really :P [21:03] father in-law's available choice of viable HW for a potentional wifi lab :P [21:03] well then I'm going to call it for this particular nic tbh. [21:04] so if he wants a wifi lab based solely on a ubuntu that nic is a no go. [21:04] You've done everything you can with it. It's a problem for any Linux device [21:04] for productivty I'd think I'd rather recommend him sticking to win10 on this machine and vbox for experimenting [21:05] you've done everything :P I'm just a puppet with the idea in this. [21:05] there are a few manufacturers known for no/terrible support for Linux [21:05] I'd just use an 802.11n device, that works reliably [21:05] the linksys device he has might have better success but 11mbps only :| [21:05] 802.11an even [21:05] might as well use sneakernet then. [21:13] thanks again for all the help and assistance. I learned a ton atleast. Thanks TJ- cryptodan_mobile and lotuspsychje. [23:37] I've question do i can get https with green bar on a vps ip address ? [23:38] i always got message with Your connection is not private [23:41] letsencrypt would probably be the simplest solution [23:44] Checkmate: you are using a self signed cert [23:50] mybalzitch yeah for domains not ips :v