/srv/irclogs.ubuntu.com/2018/12/23/#ubuntu-server.txt

fooI'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:17
tomreynyou may need to update PTRs as well01:24
tomreyn+ you will need to update the systems' network configuration01:24
footomreyn: 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:26
footomreyn: Main purpose for PTR is for e-mail to not get flagged as spam, eh/ Or what else?01:27
tomreynnay other systems with IP based access control configurations will need to be updated accordingly.01:27
tomreynthe 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
footomreyn: I see, thank you01:29
tomreyn(besides of just IPAM)01:29
fooI'm on ubuntu 18.04, previously 14.04. On 14.04 I had my init scripts in /etc/init/03:39
fooIs this still the place to put them on 18.04?03:39
tomreyn!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 notes06:01
ubottufoo: 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/Releases06:01
footomreyn: thank you, I set everything up on systemd now. Last step is to make sure it starts the service on reboot06:03
lotuspsychjeask your details here weq11:59
weqyeah just need to fix my driver again so I'm at the same point until I bug you guys with my issue.12:00
weqdamn wierd netgear usb card.12:00
weqweird*12:00
weqanyone 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:01
lotuspsychjeweq: interesting would be to paste your syslog errors about it, volunteers can take a look for you whats it about12:05
lotuspsychjeweq: your server doesnt have an eth port?12:05
weqthis is a home lab, so I have ethernet atm but I wish to utilize it on wifi for the convenince of it.12:05
weqhaving a ethernet cable across the entire living room ain't exactly a popular opinion in the household.12:06
lotuspsychjeweq: could use those powerline eth adapters maybe in the future12:06
lotuspsychjeserver over wifi doenst sound very comfy right?12:07
weqit 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 scan12:07
tomreynweq: 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 you12:09
weqtrying to dump it all with pastebinit now12:09
weqI'm threading on water on my wifi skills in linux also fyi12:10
weqmade a wpa_supplicant config with the iface name here http://paste.ubuntu.com/p/wjM8J3dBsT12:11
weq the netplan cfg is http://paste.ubuntu.com/p/J5BHMQS7Vd/12:13
weqI'm sorta making throwing everything at this box to see what sticks12:13
weqhttps://paste.ubuntu.com/p/64Y4tbzsX6/ last 50 lines of the syslog12:14
weqdunno exactly what else would be of benefit to share, so please just ask for more intel.12:15
lotuspsychjeweq: your server up to date?12:17
weqyes clean install of 18.04 update&upgrade completely.12:17
weqinstalled yesterday.12:18
lotuspsychjeweq: chipset of your wifi card?12:19
tomreyncontents of /etc/systemd/network/ may be of interest12:19
weqafaik it is "Netgear-A6210", had to find a 3rd party driver and compile it myself.12:19
tomreynline 13 of http://paste.ubuntu.com/p/J5BHMQS7Vd/ is indented by one extra speace. not an issue, though, i think.12:19
lotuspsychjeweq: what was wrong with the driver module by default?12:20
wequnsupported afaik.12:20
weqtomreyn: the network folder is empty.12:21
weqremoving the extra space and then running netplan generate & apply did nothing.12:21
weqnothing new of intrest in syslog either.12:22
weqhttp://paste.ubuntu.com/p/c6TYmxkY6X/12:22
weqhttps://paste.ubuntu.com/p/7qhqFXmntx/ the driver seems to work12:22
lotuspsychjeweq: can you tail -f /var/log/syslog and plug out wifi/plug back in and pastebin the output12:24
tomreynnothing in /run/systemd/network either?12:24
weqsure. but the comments on the driver is that it might be unstable when plugging out and in12:24
tomreyn...nor in /lib/systemd/network ?12:25
weqthere 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 similiar12:25
weqin the /run folder12:25
weqdhcp, linklocal,mtu and metric is all that is that file.12:26
weqTy 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 :P12:28
tomreyni'venever done this myself, just reading up on it and doing peer review12:29
TJ-weq: I'm confused; if you're using netplan to configure the WiFi why are you also configuring wpa_supplicant?12:29
bipulWhen i'm booting Ubuntu server on Virtualbox. It's taking too much time to get network configured?12:38
weqTJ-: been basically trying everything I've been able to google regarding how to configure it to see what stuck to the box.15:27
weqI'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:29
TJ-weq: if this is a 18.04+ server install it'll be using systemd-networkd15:30
TJ-weq: at each boot, the netplan YAML is 'rendered' into the network-manager config in /run/systemd/network/15:30
weqand that is "all" right? netplan to populate the systemd-networkd ?15:31
TJ-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-networkd15:31
weqI'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:33
weqit is present in my YAML and as far as I can see that configuration is correct though.15:34
weqare there any options to configure wpa2-psk etc incase there are some negation errors? just to rule things out.15:34
TJ-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:35
weqI 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:36
weqThere 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:37
TJ-weq: remind of the pastebin link with your netplan config; I'll test it here15:39
TJ-weq: no matter; found it15:40
weqty for trying.15:40
weqif 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   caliculk15:47
weqwhops15:47
weqhttps://github.com/kaduke/Netgear-A621015:47
weqthis touchpad, sry fot he mispaste.15:47
TJ-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 files15:55
TJ-weq: I daren't allow it to actually apply since that system is a very long way away :)15:59
weqok 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:02
weqcause 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's16:04
weqI would sorta expect that netplan would tell me of any syntax errors in the yaml though if it is sane.16:05
TJ-weq: as the --debug shows, it writes a wpa_supplicant conf file to /run/netplan/ which you can inspect16:06
weqah 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:07
TJ-weq: it is creating systemd services so you can look at those logs16:14
TJ-weq: e.g. "systemctl status xxxx" or "journalctl -u xxxx.service"16:14
mojtabaHello, 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:46
weqTJ-: 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:58
weqand 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.16:59
weqand 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 --debug17:00
weqand when I check the systemctl --all --type device I can see that the sys-subsystem-net-devices-wlan0.device is marked as loaded inactive dead17:01
weqinstead of the others devices in the list that is active and plugged.17:02
cryptodan_mobileweq: does / did wifi work in a live session?17:03
weqyou 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:04
weqhttp://paste.ubuntu.com/p/zXMKrhQ76B/17:07
weqthis is the entire systemctl device list17:07
cryptodan_mobileWeq you sure that nic has a ralink chip17:07
weqit is able to scan see the avaiable wifis here.17:08
lotuspsychjewasnt it netgear?17:08
weqit is the netgear ac1200 usb dongle, which afaik is the Netgear A621017:08
weqif I use iwlist to scan for wifi networks I can see the network I'm trying to connect to.17:09
weqand as far as I can see in the /run files that TJ- described earlier both the ssid and passphrase is correct.17:09
cryptodan_mobileweq: run "dmesg | nc termbin.com 9999" share link here17:12
lotuspsychjecryptodan_mobile: weq told us his wifi driver didnt work by default, hence why the own compile17:13
weqhttps://termbin.com/zpq117:13
lotuspsychjeim also curious why17:13
weqthere is no wifi adapter available if I do ipconfig -a without compiling the driver then modprobing it.17:14
fooIs 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:14
weqas far as you guys is this adapter natively supported?17:15
weqhttps://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:17
weqcause that seems to be the same scenario as this https://bbs.archlinux.org/viewtopic.php?id=15008717:18
lotuspsychjemt7662u_sta: version magic '4.15.0-29-generic SMP mod_unload ' should be '4.15.0-43-generic SMP mod_unload17:18
cryptodan_mobileweq: is secure boot enabled17:18
weqno.17:18
weqit is old hw so no secure boot17:19
lotuspsychjecould it be wrongly compiled weq ?17:20
weqlotuspsychje: 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
weqlotuspsychje: it could, but I'm out of my league here.17:20
weqI have not enough experience or knowledge on this topic to claim one or the other here.17:21
lotuspsychjeweq: 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:22
weqany 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
weqor would you prefere that I just start from scratch?17:24
lotuspsychjeyeah i would go from scratch17:24
weqok reinstalling now17:25
cryptodan_mobileWeq [ 325.095355] ModemManager[772]: segfault at 0 ip 000055c5b3009659 sp 00007fffba8ebb20 error 4 in ModemManager[55c5b2fce000+123000]17:25
weqthat is greek to me... :-/17:26
cryptodan_mobileSo that maybe why it's not working that happened after the driver loaded17:26
weqso reinstall, apt update&&apt upgrade anything else I should do before we try a more structured method of doing this?17:28
lotuspsychjeweq: always keep system up to date is always a good idea :p17:29
weqthat is my intentions :P17:29
cryptodan_mobileTry using ubuntu 18.0417:29
weqcryptodan_mobile: desktop you mean?17:29
cryptodan_mobileYeah17:30
weqsoon 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.17:31
=== lotuspsychje_ is now known as lotuspsychje
weqok soon done updating. no wifi card visible in ifconfig -a17:43
lotuspsychjeweq: check with sudo lshw -C network17:43
weqonly the ethernet adapter there.17:44
lotuspsychjeweq: allright, then we need your full syslog after install, boot17:44
lotuspsychjelets c what happens there17:44
weqafter a clean boot?17:44
lotuspsychjeweq: make sure system up to date to kernel -43 also ok17:44
weqyeah will finish apt until it is completly done, reboot then pastebin the entire syslog17:45
lotuspsychjegreat17:45
weqdo pastebinit filter syslog by default or something?17:52
weqcat /var/log/syslog | nc termbin.com 9999 -> http://termbin.com/ju8w17:53
lotuspsychjeweq: something badly wrong with ureadahead there17:56
weqwhat does that mean?17:56
lotuspsychjebig error list17:56
lotuspsychjenot sure why it does that17:56
CheckmateHey its possible to get https to my vps ip ?17:59
CheckmateI've followed some steps on google but nothing happen !!18:00
weqlotuspsychje: 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:00
lotuspsychjeweq: well the errors list so far, i didnt find why your netgear didnt load, not related to our issue no18:01
weqhmmm it even cut of the paste since there were so many messages.18:01
TJ-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 module18:02
lotuspsychjeah good idea TJ-18:03
weqtail -f /var/log/syslog -n 500 | nc termbin.com 9999 -> https://termbin.com/7qie18:03
TJ-grep -n '0846.*9053' /lib/modules/*/module*18:03
TJ-/lib/modules/4.19.0-041900-lowlatency/modules.alias:9769:alias usb:v0846p9053d*dc*dsc*dp*ic*isc*ip*in* mt76x2u18:03
TJ-/lib/modules/4.20.0-042000rc4-lowlatency/modules.alias:9796:alias usb:v0846p9053d*dc*dsc*dp*ic*isc*ip*in* mt76x2u18:03
TJ-!mainline | weq18:03
ubottuweq: 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/MainlineBuilds18:03
weqdo-release-upgrade and go to 18.10 ?18:03
weqis that what you want me to try?18:03
TJ-weq: I have a script to automate dowload/install of Ubuntu mainline kernels  http://iam.tj/projects/ubuntu/wget_kernel_mainline.sh18:04
TJ-weq: no, don't change the installed release, just install a recent mainline kernel :)18:04
weqTJ-: just to inform you, we reinstalled now are running a clean 18.04 fully patched with no 3rd party driver atm.18:04
weqso run your script and presto?18:04
TJ-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 keyring18:05
weqI will be prompted for that won't I? after wget script && ./ script ?18:06
TJ-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 versions18:06
TJ-weq: I recommend doing this in $HOME/Downloads/ since it'll create a sub-dir ./kernels/ to download into18:06
weqroot@zulu:~# ./wget_kernel_mainline.sh -l | pastebinit18:07
weqhttp://paste.ubuntu.com/p/pb5Mg3wKwx/18:07
TJ-weq: Linus is due to release v4.20 before xmas day so it's OK to fetch the latest v4.20-rc718:07
TJ-weq: OK, now do "wget_kernel_mainline.sh" and it'll fetch v4.20-rc718:08
weqfetching now18:08
TJ-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
TJ-(or should!)18:09
weqdoes the script also do some dpkg -i here?18:09
TJ-weq: yes, it does everything18:10
weqhttp://paste.ubuntu.com/p/7kHxKmwJbF/ so... apt install gpg or something? what package am I missing?18:11
weqgnupg2?18:11
TJ-weq: eerrrrr you've found a bug! it should have reported the failed key. is gnupg (gpg2) installed on that system?18:12
weqnope clean install18:12
weqso install gnupg2 the rerun the script ?18:12
weqjust to not frack anything up I'd rather do this step by step.18:13
TJ-weq: yes, you can rerun the script, it won't upset it and it won't re-download anything it has already fetched18:13
weqyes to install gnupg2 right?18:14
TJ-weq: yes, although it should be installed to support apt-key18:14
weqand then apt-key and the RSA key right?18:15
weqsince that also fails18:15
TJ-weq: this is the key you need: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x0856F197B892ACEA18:17
weqok key installed and it is unpacking the deb files now.18:17
TJ-nice one :)18:17
TJ-so the script did tell you the key ID finally?18:17
TJ-I'd best add some functionality to ensure gpg is available and working!18:17
weqwth?... https://paste.ubuntu.com/p/5TyVN42HcJ/18:19
weqI think there might be some fs issues here. I see all of the suddenly it has remounted as RO.18:20
TJ-weq: looks like the storage device/file-system went read-only in the middle of operations18:20
TJ-weq: check "dmesg | tail -n 50"18:21
weqfsck /dev/sda2 -y now, rebooting18:21
weqit happened last time I rebooted also,18:21
weqerr reinstalled.18:21
TJ-weq: better check the SMART log if the device has one, using smartmon-tools smartctl tool18:21
TJ-weq: I have to go to dinner now, hopefully you can sort that issue out18:22
weqwould be wierd if there is any physical issues on the drive as it is brand spanking new but we'll see.18:22
weqok TJ-, script also done now and rebooting to boot into the 4.20 kernel.18:24
weqok 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:29
weqlshw -C network still only reveals the ethernet card and no usb card. lsusb still shows that the realtek card is there.18:30
lotuspsychjeweq: that dongle is kinda old?18:32
weqmade 4 years ago or so.18:33
weqthe 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
lotuspsychjeweq: can we see your new syslog on the 4.20?18:34
weqofc 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:36
weqhmmm I've lost internet on that machine now all of the sudden18:38
weqthere restarted systemd.networkd.service18:39
TJ-weq: I'm beginning to suspect many of the issues on that system are due to a broken disk drive18:43
TJ-weq: the earlier segfault in ModemManager for example, and the other issues18:44
weqinstalling smartmontools now18:44
weqsmartctl -a /dev/sda ?18:47
weqis that suffient?18:47
TJ-weq: yes18:47
weqhttp://paste.ubuntu.com/p/QYk8hzTfKz/18:48
weqoverall passed18:48
TJ-weq: so the next suspect is the RAM modules, because there's something not right causing the I/O problems18:50
TJ-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 wrong18:51
weqhow can I share that properly?18:51
weqgiven that we have thousands of ureadahead ignored relative path messages in syslog.18:52
weqcat /var/log/syslog | sed -i 'zulu ureadahead[378]' > full_syslog.log or something ?18:54
weqI'm really crappy at regex and sed18:54
TJ-weq: "sudo apt install pastebinit" then "journalctl -b | grep -v ureadahead | pastebinit"18:55
weqhttp://paste.ubuntu.com/p/3SSPNPWDqQ/18:55
weqI see it at line 75118:57
TJ-line 923 "mt76x2u: probe of 1-5:1.0 failed with error -2"18:57
TJ-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 package18:59
weqhttp://paste.ubuntu.com/p/cXMTvw54g3/18:59
weqno mediatek in /lib/firmware19:00
TJ--2 == -ENOENT which isn't very revealing19:00
weqroot@zulu:~# ls /lib/firmware/ | grep mediatek19:01
weqno results19:01
TJ-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:01
weqwhat source package? you mean the 3rd party driver I found prior to reinstalling?19:02
weqas of now this what we done, clean install, patch OS, upgrade to 4.20, install smart tools19:02
TJ-weq: yes19:02
weqhttps://github.com/kaduke/Netgear-A6210 this was the repo I downloaded in the previous install19:03
weqand then compiled & installed so I could see the wifi networks with iwlist19:04
weqgit 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:04
weqonly what you've suggested.19:05
weqthanks again for being so patient and willing to lend me your experience.19:05
TJ-weq: they're in the latest linux-firmware repo: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/mediatek19:05
TJ-weq: you can fetch the 2 you need; you'll need to create the directory for them, as in "sudo mkdir /lib/firmware/mediatek" first19:06
weqcan I just wget them raw or clone the repo and copy them into /lib/firmware?19:06
weqok19:06
TJ-weq: yes, you can fetch them with wget19:06
weqall of them ?19:06
TJ-weq: you only need the 2 that the modinfo command listed19:07
weqah k19:07
weq7662 then19:07
TJ-weq: those of them "mt7662u*"19:07
weqroot@zulu:/lib/firmware/mediatek# ls19:08
weqmt7662u.bin  mt7662u_rom_patch.bin19:08
TJ-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
TJ-oops, typo19:08
TJ-weq:  "sudo modprobe mt76x2u" then recheck kernel log with "dmesg | tail"19:08
weqhttp://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:09
TJ-weq: it's loaded so we need to unload it first; "sudo modprobe -r mt76x2u"19:10
weqthen modprobe mt76x2u to reload it right?19:10
TJ-yes19:10
TJ-and lets hope that -2 error was due to missing firmware, and now it gets further19:11
weqanother command another error19:11
weq-5 now19:11
weqhttp://paste.ubuntu.com/p/8QGdtdnR2Z/19:11
TJ-That's -EIO19:11
weqhmm I was a bit quick -71 also dunno what makes more sense for you.19:12
TJ-weq: LoL "mt76x2u 1-5:1.0: ROM patch build: <!DOCTYPE html>" that's your fault !!! :D19:12
TJ-your wget command hasn't fetched a raw firmware file it has fetched an HTML document :D19:12
weqhow? :P I just did wget after copying the file.19:12
weqlol I see it :P19:13
TJ-weq: presumably the link you gave wget doesn't fetch the raw file but an HTML overview19:13
weqyeah I'll fix that quick and modprobe -r and modprobe it once more19:13
TJ-You need the "plain" links19:13
TJ-Thank goodness it showed the file header in the log else we'd not have realised19:14
weqsorry, not used to git.kernel.org compared to github etc.19:14
weqhttp://paste.ubuntu.com/p/D8XgpYpkP2/ there19:15
weqmodprobe -r && modprobe done19:15
TJ-Try removing and re-inserting the USB device itself19:16
weqok19:16
TJ-it may be confused with everything we've done to it :D19:16
weqhttp://paste.ubuntu.com/p/yPbZn64QBP/ after unplug and insert19:16
TJ-wooo hooo, you have a device wlxc0ffd4b2f70919:17
TJ-try "iwconfig"19:17
TJ-you might want to "sudo apt install wireless-tools" for additional bits and pieces for diagnosis19:18
TJ-then you can do things like "sudo iwlist scan" to see if it can detect any APs19:18
weqgotta go afk here couple of mins so please stay with me when I return19:20
TJ-weq: I suspect all you need now is put that device name in the netplan config :)19:21
weqthere done opening presentens today. lets give this ago.20:00
TJ-You're early!20:01
weqthis 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
weqso mostly today and some minors tomorrow.20:04
weqbut no go it looks like TJ-...20:10
weqhttp://paste.ubuntu.com/p/w7kTkGsVgd/20:12
weqit can see the wifi still and heck of alot more info with iwlist scan now than before.20:13
weqbut it won't pair it seems20:14
TJ-weq: OK, but you're making progress. So now we look at the wpa log20:14
weqnetworkctl says almost the same as before. setup = configuring20:14
weqindeed20:14
weqwhere is the wpa log?20:15
TJ-weq: something like " journalctl --u netplan-wpa@wlxc0ffd4b2f709.service "20:15
weqhttp://paste.ubuntu.com/p/qKQG8RDxWs/ such a great error20:16
TJ-weq: so maybe that starts the main wpa_supplicant.service? is there a log for that?20:17
TJ-weq: you could do "journalctl -n 50"20:18
weqyeah it is complaing about missing /sbin/wpa_supplicant20:18
weqso I guess I need that package also20:18
TJ-hahah yes well it would help :DD20:19
weqDec 23 21:09:34 zulu systemd[4528]: netplan-wpa@wlxc0ffd4b2f709.service: Failed to execute command: No such file or directory20:19
weqDec 23 21:09:34 zulu systemd[4528]: netplan-wpa@wlxc0ffd4b2f709.service: Failed at step EXEC spawning /sbin/wpa_supplicant: No such file or directory20:19
TJ-weq: at least its an easy fix20:19
weqcrossing my fingers now.20:19
weqhmm that killed my ssh connection also, gotta check the host physically then. probably restarted networkd or something20:21
weqnah even worse. kernel panic..20:22
TJ-I've not seem many pain-free experiences with USB 802.1ac devices20:23
weqit is working.. it seems... going to unplug the ethernet and just try a reboot to confirm20:28
weqwe are connected and have gotten an ip atleast.20:28
TJ-:)20:28
weqI'm at a loss for words how grateful I am for your patience to you all.20:29
weqNo freakin way I'd be able to do this without for sure.20:29
TJ-weq: in these kind of hardware/driver cases I always recommend checking if the latest mainline kernel can help20:30
weqI have rather little experience with hardware and drivers in linux.20:31
weqhmm seems like we aren't there yet though :P20:32
weqwe have IP but I'm unable to ping the gw.20:33
TJ-weq: can the gatweay ping the PC?20:34
weqin arp I can see the gw ip and mac.20:34
TJ-any firewall rules on either?20:34
weqnot able to ping from the router, but my laptop can't ping the linux box20:35
TJ-If the PC has obtained an address using DHCP then you know they can talk20:35
weqyeah but not sure what is happening exactly here now.20:35
weqifconfig doesn't report any rx or tx errors either.20:35
TJ-go back to the logs20:36
TJ-"journalctl -n 50" -- any recent clues?20:36
weqnope.20:36
weqresolved complains about using degraded feature set but I'm pinging ip's not any dns names.20:37
TJ-plug in the cable, install tcpdump, monitor the wifi link20:37
TJ-weq: that warning is pretty standard20:37
weqyeah figured as much20:44
weqhmmm any suggestion to parameter on tcpdump? tcpdump -i interface -vv -w tcpdump.pcap or something?20:52
weqwith those params it does capture some data atleast20:53
TJ-weq: "sudo tcpdump -ni wlxc0ffd4b2f709" is enough20:53
TJ-weq: the purpose is to confirm there are packets received and sent20:54
weqthere is content yeah, can see some traffic like the apple tv in the household etc.20:55
weqstarted a ping from the box to the gw as well20:55
TJ-weq: are those multicast packets then?20:55
weq60 packages received by filter 0 dropped by kernel20:56
weqyeah apple devices are noisy that way20:56
TJ-weq: has the PC got a valid route? "ip route show"20:56
weqhttps://paste.ubuntu.com/p/ZbRG5M6Fwc/ the tcpdump20:57
weqyeah it has configure 192.168.1.1 as default for wifi device20:58
weqbut a gw shouldn't be needed for lan?20:58
TJ-what is the IP address on the PC?20:58
weq20520:58
TJ-OK, so I see successful ping echo/responses there20:59
weqwow yeah there are some20:59
weqthere is huge package loss20:59
weq98% package loss infact in the other tty I started a ping21:00
weqout of 261 transmitted only 5 were sucessfull.21:00
weqpoor implementation of the driver then? cause the physical location and coverage should not be a issue21:00
weqI'm sitting with my win laptop at the same location without any issues nor loss.21:01
TJ-yeah; I read that there is an issue when the device scans but I thought that was effectvely solved by now21:01
TJ-I'm afraid you've managed to pick a device where the manufacturer doesn't care about Linux21:02
weqnot a choice really :P21:02
weqfather in-law's available choice of viable HW for a potentional wifi lab :P21:03
weqwell then I'm going to call it for this particular nic tbh.21:03
weqso if he wants a wifi lab based solely on a ubuntu that nic is a no go.21:04
TJ-You've done everything you can with it. It's a problem for any Linux device21:04
weqfor productivty I'd think I'd rather recommend him sticking to win10 on this machine and vbox for experimenting21:04
weqyou've done everything :P I'm just a puppet with the idea in this.21:05
TJ-there are a few manufacturers known for no/terrible support for Linux21:05
TJ-I'd just use an 802.11n device, that works reliably21:05
weqthe linksys device he has might have better success but 11mbps only :|21:05
TJ-802.11an even21:05
weqmight as well use sneakernet then.21:05
weqthanks again for all the help and assistance. I learned a ton atleast. Thanks TJ- cryptodan_mobile and lotuspsychje.21:13
CheckmateI've question do i can get https with green bar on a vps ip address ?23:37
Checkmatei always got message with Your connection is not private23:38
mybalzitchletsencrypt would probably be the simplest solution23:41
cryptodan_mobileCheckmate: you are using a self signed cert23:44
Checkmatemybalzitch yeah for domains not ips :v23:50

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!