nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
starblue has quit [Ping timeout: 250 seconds]
starblue has joined #beagle
brook has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
brook has joined #beagle
Posterdati has quit [Read error: Connection reset by peer]
Posterdati has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
Shadyman has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has quit [Quit: leaving]
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 276 seconds]
ikarso has joined #beagle
starblue has quit [Ping timeout: 268 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 276 seconds]
starblue has joined #beagle
Stat_headcrabed has joined #beagle
starblue has quit [Ping timeout: 246 seconds]
starblue has joined #beagle
Shadyman has quit [Quit: Leaving.]
Stat_headcrabed has quit [Ping timeout: 246 seconds]
starblue has quit [Ping timeout: 276 seconds]
starblue has joined #beagle
Guest72 has joined #beagle
Stat_headcrabed has joined #beagle
Stat_headcrabed has quit [Client Quit]
starblue has quit [Ping timeout: 246 seconds]
starblue has joined #beagle
Guest72 has quit [Quit: Client closed]
starblue has quit [Ping timeout: 276 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 250 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 264 seconds]
starblue has joined #beagle
florian has joined #beagle
otisolsen70 has joined #beagle
ft has quit [Quit: leaving]
starblue has quit [Ping timeout: 276 seconds]
starblue has joined #beagle
starblue has quit [Ping timeout: 255 seconds]
starblue has joined #beagle
jfsimon1981_b has joined #beagle
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #beagle
buckket has quit [Quit: buckket]
buckket has joined #beagle
buzzmarshall has joined #beagle
johanhenselmans has quit [Quit: johanhenselmans]
johanhenselmans has joined #beagle
brook has joined #beagle
GenTooMan has quit [Ping timeout: 260 seconds]
brook has quit [Remote host closed the connection]
brook has joined #beagle
Stat_headcrabed has joined #beagle
brook has quit [Ping timeout: 260 seconds]
Stat_headcrabed has quit [Client Quit]
GenTooMan has joined #beagle
brook has joined #beagle
brook has quit [Remote host closed the connection]
balrog has quit [Quit: Bye]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
balrog has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
chococandy has joined #beagle
brook has joined #beagle
chococandy has quit [Client Quit]
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has quit [Quit: leaving]
florian has quit [Quit: Ex-Chat]
brook has quit [Read error: Connection reset by peer]
brook_ has joined #beagle
brook_ has quit [Remote host closed the connection]
brook has joined #beagle
Guest88 has joined #beagle
Guest88 has quit [Client Quit]
Guest88 has joined #beagle
ft has joined #beagle
<Guest88> Hello, I am having issues getting networking to work correctly on my board. I followed this page (https://ofitselfso.com/BeagleNotes/HowToConnectPocketBeagleToTheInternetViaUSB.php) to set up networking via usb, with some google DNS's. I then manually set the system time. Pinging google.com results in no packet loss, pinging beagleboard.org results
<Guest88> in 100% loss. I then tried running 'sudo apt update' and all the debian connections timed out, though pinging one of the servers results in no loss. I tried following this BeagleBoard page on upgrading (https://beagleboard.org/upgrade), but under 'update the boot-scripts' it says to 'cd /opt/scripts/' however there is no 'scripts' folder or file on
<Guest88> my board there. Any ideas on what the issue is?
<zmatt> you don't have /opt/scripts ? that sounds very odd, what image do you have flashed onto it? also, what board do you have?
<Guest88> AI-64, bbai64-debian-11.3-xfce-arm64-2022-06-14-10gb.img.xz
<zmatt> ah ok, ai64
<zmatt> can't you just connect it to your network via ethernet?
<zmatt> or if your computer has internet via wifi and has an ethernet port, use internet sharing to ethernet and connect the beaglebone to that. this requires no network setup other than enabling internet sharing
<Guest88> I'll give that a shot
<zmatt> what this guide is doing is a bad idea since it's bypassing the system's network manager... though at least the debian 11 images use systemd-networkd which is less prone to fight you if you work behind its back than connman on debian 10 did
<Guest88> Interestingly pip works just fine- not sure why only some networks are fine
<zmatt> what exactly is the error you're getting?
<zmatt> oh btw that guide has you messing with /etc/resolv.conf ... that file should actually be a symlink to /run/systemd/resolve/stub-resolv.conf to get the nameservers configured automatically based on dhcp
<zmatt> (I think systemd-resolved has fallback to google's nameservers anyway, so even in the dhcpless situation you wouldn't need to configure that manually I think)
<Guest88> when running 'sudo apt update', various version of "could not connect to debian.beagleboard.org", "cannot initiate the connection to deb.debian.org (Network is unreachable)", "connection timed out"
<Guest88> how could I symlink resolv.conf to stub-resolv.conf?
<zmatt> is it not already/still a symlink? I'm not sure what happens if you try to edit a file that's a symlink with nano, whether it'll replace the symlink with a file or whether it'll edit the pointed-to file
brook has quit [Remote host closed the connection]
<Guest88> Not sure, when I opened it in nano there was a comment "No DNS servers known" and a single line 'search .'
<Guest88> I tried changing it back just now and it no longer recognizes google.com
<zmatt> that sounds like you edited the pointed-to file (which is bad since that's an auto-generated file you shouldn't be editing)
<zmatt> but it also sounds like it's a symlink to the wrong file
<zmatt> what does ls -ld /etc/resolv.conf show?
<zmatt> I suspect it's a symlink to /run/systemd/resolve/resolv.conf
<zmatt> which would be wrong, it should point to /run/systemd/resolve/stub-resolv.conf
brook has joined #beagle
<Guest88> lrwxrwxrwx 1 root root 32 Jun 14  2022 /etc/resolv.conf -> /run/systemd/resolve/resolv.conf
<zmatt> yep that's definitely wrong
<zmatt> ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
<Guest88> ok I ran that, then ran ls -ld /etc/resolv.conf to check and it gave me
<Guest88> lrwxrwxrwx 1 root root 37 Mar 14 20:05 /etc/resolv.conf -> /run/systemd/resolve/stub-resolv.conf
<Guest88> again
<zmatt> that looks correct
<zmatt> what do you mean "again" ? it now points to stub-resolv.conf rather than resolv.conf
<Guest88> i misread it my bad
<Guest88> pinging google.com results in "temporary failure in name resolution"
<zmatt> can you share the output of "ip addr" and "ip route" using e.g. pastebin? (don't paste directly into chat)
<Guest88> sure
<zmatt> hmm maybe I'm wrong about fallback dns being configured by default
<zmatt> yeah it seems I am
<zmatt> you can configure FallbackDNS=8.8.8.8 in /etc/systemd/resolved.conf
<zmatt> though, maybe it would be better to just configure it specifically for the usb interface if you're still going with that, it's not really needed in any other circumstance
<Guest88> alright then I'll go try the ethernet cable and see if that works
<zmatt> that's certainly what I'd recommend, it also avoids the risk of losing connection to your beaglebone as a result of messing with the usb networking (on the beaglebone side and/or your computer)
<zmatt> but if you want to go for usb, the proper way to add the default route and set the dns would be by setting Gateway=192.168.7.1 and DNS=8.8.8.8 in the [Network] section of /etc/systemd/network/usb0.network and then do "sudo networkctl reload"
<zmatt> oh
<zmatt> hold on, I see that usb now uses /24 as mask instead of /30, so there's nothing guaranteeing your PC will be 192.168.7.1
<Guest88> so far 192.168.7.1 has worked
<zmatt> sure, since it's the first ip in the range, but it doesn't feel great to rely on that
<zmatt> anyway, this bizarre setup of the PC being the dhcp client but also the gateway is kinda gross anyway
brook has quit [Remote host closed the connection]
<zmatt> normally when using internet sharing the PC would be the dhcp server and the beaglebone the DHCP client, which is how it will work by default via ethernet, but reconfiguring usb like that is a bit riskier since it risks connectivity (in theory you should be able to ssh to "beaglebone.local" regardless of network config thanks to link-local IPv6, except OSes love to randomly break that under some ...
<zmatt> ...circumstances)
<zmatt> Windows is particularly obnoxious about that... it may decide to classify the usb network interface as a "public network" and in that case it refuses to resolve .local names on it
brook has joined #beagle
<Guest88> stole an ethernet from another computer and just hooked the board up to a monitor, worked easily. I'll just stick to this setup then since it works. Thank you for all your help zmatt
brook has quit [Remote host closed the connection]
Guest88 has quit [Quit: Client closed]
brook has joined #beagle
vagrantc has joined #beagle
buckket has quit [Quit: buckket]
otisolsen70 has quit [Quit: Leaving]
buckket has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
vagrantc has quit [Quit: leaving]