<set_>
u-boot stepped up and ported some nice things!
buzzmarshall has quit [Quit: Konversation terminated!]
akaWolf has quit [Ping timeout: 258 seconds]
akaWolf has joined #beagle
vagrantc has quit [Quit: leaving]
ikarso has quit [Quit: Connection closed for inactivity]
ikarso has joined #beagle
akaWolf has quit [Ping timeout: 258 seconds]
rob_w has joined #beagle
akaWolf has joined #beagle
otisolsen70 has joined #beagle
otisolsen70 has quit [Quit: Leaving]
Shadyman has quit [Quit: Leaving.]
indigaz1 has joined #beagle
indigaz has quit [Ping timeout: 272 seconds]
indigaz1 is now known as indigaz
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has joined #beagle
starblue has quit [Ping timeout: 258 seconds]
starblue has joined #beagle
Pieter0420 has joined #beagle
<Pieter0420>
Hi, when I boot off an SD card(without intention to flash the eMMC) the internet is unable to be reached. I can connect to wifi however no addresses can be pinged. Can anyone help with this
<Pieter0420>
Anyone please? I can't flash the eMMC because the packages I intend to install is too large. Thus I hope to run Debian 10 from the SD card, also helping me to save the Images as progress is made
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
sicelo has quit [Client Quit]
<set_>
Pieter0420: Hello!
<set_>
What board are you using?
<set_>
Try Bullseye and look to the forums! There are many images for SD Cards and some info. on how to update/upgrade w/ apt for your specified kernel.
sicelo has joined #beagle
sicelo has quit [Changing host]
sicelo has joined #beagle
<Pieter0420>
set_ I'm using the Blue, its been configured and connected to my campus wifi but unable to reach anything
<Pieter0420>
How would I set up wifi to be enterprise?
<set_>
Are you using connmanctl or wpa_supplicant?
<Pieter0420>
connmanctl
<set_>
Oh.
<set_>
Hmm. I think people have moved on, i.e. me. I think connmanctl still works w/ older images but the updated images uses wpa_supplicant w/ networkd.
<set_>
Maybe someone else knows something.
<Pieter0420>
Okay, I did use the most recent image provided by beagleboard
<set_>
Those are old. Look at that link posted for the Debian 11 Bullseye images.
<set_>
Now, if you can get them to work, yes. If not, try an updated image.
<Pieter0420>
Okay I see thanks a lot, will check it out
<set_>
I mean...it is worth a shot. You can still use kernel 4.19.x but w/ Bullseye instead of the older Buster images from bbb.io/latest-images .
<Pieter0420>
I may even have to switch to Ubuntu 16 since I need to use ROS but it also doesn't reach the internet
<set_>
Pieter0420: Are you the person on the forums using ROS2?
<set_>
If so, neat. I have been, for a long time, trying to find time to make it work.
<Pieter0420>
I haven't posted anything on using ROS2 but I am trying to get it to work on my Blue yeah
<Pieter0420>
Which forums?
<set_>
Oh! Okay...oh.
<set_>
forum.beagleboard.org
<set_>
I was asking b/c there was a fellow or gal/whomever asking about it. he/she was trying to make it work.
<set_>
I think they got it to boot and then using C/C++, they commanded some source w/ an Ubuntu Image.
<Pieter0420>
Ohh, no I haven't posted anything but I have been struggling with it... Considering using old images with ROS1 but the problem still remains about being unable to use the internet
<set_>
That person got to it and had some issues w/ permissions.
<zmatt>
Pieter0420: one thing to beware of when running from SD card: you can get weird problems if eMMC has a bootloader installed that's substantially different from the one on SD card. a simple fix for that is wiping eMMC (using sudo blkdiscard /dev/mmcblk1) since in that case the bootloader will be loaded from SD card instead of from eMMC
<set_>
Zoinks.
<Pieter0420>
zmatt: Okay that might be causing it, if I do wipe the eMMC is it possible to set it up again later?
<zmatt>
yes you can reflash eMMC later
<Pieter0420>
Okay cool I think I'll try that, after wiping do I need to reboot the device?
<zmatt>
yes
<Pieter0420>
Trying it now, hopefully it does the trick
<zmatt>
the issue is that a wildly different bootloader version (especially if the bootloader on eMMC is much older than on SD card) may not be able to correctly interpret config settings in /boot/uEnv.txt which can result in a variety of issues even if it seems to boot okay
<zmatt>
I don't know if it's at all related to whatever problem you're trying to solve, it's just something to beware of
<zmatt>
it doesn't sound likely honestly but who knows
<zmatt>
you're saying it connects to wifi but you can't ping anything? pastebin the output of the commands "ip addr" and "ip route"
<Pieter0420>
I think it was the same image from 2020, but it hasn't really changed anything, still can't ping anything
<Pieter0420>
debian@beaglebone:/var/lib/cloud9$ ip addr
<Pieter0420>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
<zmatt>
it can't connect to wifi because it can't validate the TLS certificate as part of WPA Enterprise authentication because the system date/time is wrong, and it can't set the system date/time because to do so it needs NTP i.e. it needs to connect to wifi first
sicelo has quit [Quit: Bye!]
<Pieter0420>
Eesh, should I try internet over USB?
sicelo has joined #beagle
sicelo has joined #beagle
<zmatt>
no, try setting the system date/time manually: sudo date --set='2022-06-09 11:24 UTC'
<zmatt>
if the system date is even approximately right it should be able to connect and then will automaticaly set the system date/time properly
<Pieter0420>
Okay its set, do I reboot and try again or just disconnect and reconnect?
<zmatt>
it should auto-reconnect
<zmatt>
you can monitor wpa_supplicant's activity with: journalctl -f -u wpa_supplicant (use ctrl-C to kill it again)
<Pieter0420>
Okay I'll try that, it hasn't worked yet
<zmatt>
there's probably also some way to tell it to just ignore the certificate validity, although that's not an ideal workaround obviously from a security point of view
<zmatt>
there's also probably some way to poke it into retrying the connection immediately instead of waiting for it
<Pieter0420>
I disabled and enabled wifi, no luck there
<zmatt>
has it made no attempt yet or is it still failing?
<zmatt>
(based on logs)
<Pieter0420>
Can now successfully ping google, thanks a lot for the help
<set_>
!
Pieter0420 has quit [Quit: Client closed]
<zmatt>
it would be nice if there were some global way to tell OpenSSL that the system date is unreliable and "certificate is not yet valid" errors should therefore be suppressed
<zmatt>
but normally you wouldn't try to establish TLS connections until *after* you've connected to the internet, at which point it can set the system date/time correctly using NTP
<zmatt>
using TLS-based wifi authentication such as PEAP however is an exception to that rule
<set_>
what about dpkg-reconfigure tzdata?
<zmatt>
that is completely irrelevant here
<set_>
Oh.
<set_>
Okay.
<zmatt>
your timezone is purely a cosmetic thing
<set_>
oh.
<set_>
I could never get to update w/out this dpkg-reconfigure tzdata command.
<zmatt>
that does nothing
<set_>
Well...oh.
<set_>
It helps w/ dates and times...
<zmatt>
no it doesn't
<set_>
The BBB w/ the images given out is in UTC.
<zmatt>
it just lets you change what timezone you've selected
<set_>
If I set up that command to my local timezone, I get to update/upgrade w/out rebooting.
<zmatt>
which is something you'll want to set to your local timezone (once)
<zmatt>
but it's purely cosmetic and has no effect on update/upgrade
<zmatt>
if you think it did, most likely it's just because you had to wait a moment for the system date/time to get set correctly, and fiddling with that command made you wait a moment
<set_>
Oh.
<set_>
Okay.
<zmatt>
doing nothing for the same amount of time would have the same result
<set_>
I can never, never, use my board w/out the update of my local timezone (supposedly).
<set_>
It is set to Americas. I need to set it to US.
* set_
kept on thinking that was it.
<set_>
Thank you for explaining I was aloof.
<set_>
Mental aloofness is keen!
<set_>
which way did he go George? ^ < ^ > ?
<set_>
@zmatt: Way to dig. I am always learning from you and your ability to problem solve!
Steve_ has joined #beagle
Steve__ has quit [Ping timeout: 250 seconds]
sicelo has quit [Quit: Bye!]
sicelo has joined #beagle
sicelo has joined #beagle
sicelo has quit [Changing host]
rob_w has quit [Remote host closed the connection]
vagrantc has joined #beagle
dinuxbg has quit [Ping timeout: 256 seconds]
CygniX has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
CygniX has joined #beagle
CygniX has left #beagle [#beagle]
CygniX has joined #beagle
PR has joined #beagle
PR has quit [Client Quit]
Pete90 has joined #beagle
<Pete90>
Hi does anyone have experience in Ubuntu 20.04 on a BB Blue, its not much but I cannot get it to connect to my, or my campus, wifi and most guides use tools that aren't available in the base images of https://rcn-ee.com/rootfs/. Connman isn't available and I don't understand how the wpa_cli works
<set_>
Do you have internets?
<set_>
Sorry.
<set_>
Do you have Internet?
<set_>
Look to this site: forum.beagleboard.org
xet7 has quit [Remote host closed the connection]
<Pete90>
Yes I have internet but going back until beginning last year didn't give any results
<Pete90>
Okay I changed it successfully, do I wait for it to change or do I reset connection or maybe reboot?
<set_>
Pete90: That first link I showed you has the instructions on how exactly to perform the Wifi connection.
<Pete90>
Only needed another enabling, thanks for the help man I really appreciate it
<set_>
So, change /etc/wpa_supplicant/wpa_supplicant-wlan0.conf w/ your credentials.
<set_>
Oh.
<set_>
No issue.
<set_>
Did it work?
<Pete90>
Yeah connected to my home wifi, can ping google so
<set_>
Okay. Nice. that forum has some good ideas on it. Specifically regarding updated systems from the beagleboard.org people.
<Pete90>
Will definitely check it out, thanks
<set_>
I always forget the command to update the WiFi system.
<set_>
I keep going back and back again. Writing it down this time will prevent me from looking it up again.
florian has quit [Quit: Ex-Chat]
<Pete90>
Any suggestions regarding campus wifi where I need to sign in using credentials?
<set_>
I think w/ the BBBW or BBBlue along w/ WiFi, you have to update the time and date.
<set_>
brb
<set_>
Pete90: I am not sure about campus wiring for WiFi. Maybe once you make it to campus, someone at some point can pitch in.
<set_>
It is a signal, right. So, there is a way. But...you may need to update timing and dates from what @zmatt what saying earlier.
<Pete90>
set_: thanks man, that'll only be about a week from now, the date should be fine but it requires my email and password to log in
<set_>
Hmm.
<Pete90>
I tried this method https://docs.gwdg.de/doku.php?id=en:services:network_services:eduroam:linux_wpa_supplicant but it did not work and removed the file
<set_>
Odd. So, you need access to a server and have permission to do so.
<set_>
I wonder...can they override your access to get your board connected.
<set_>
?
<set_>
They usually have things set up so one does not actually damage their server.
<Pete90>
Very much doubt, even if I email they'll take quite a while to respond
<set_>
I never really thought about it until now.
<set_>
It is not easy to say what a school will allow and what they will not allow.
<set_>
For instance, the library here does not allow me to just show up and attach a BBB to their computers.
<Pete90>
Yup even worse cause its university and they tend to just ignore anything they won't consider
<set_>
It is a security issue from their standpoint unless it is allowed.
<set_>
I am sure they have a password for one server and another for another server. One may allow for direct access while others may only allow for connections for usb debugging.
<set_>
Pete90: Have you talked to the IT Dept. yet?
<Pete90>
Nope I haven't, using the original Debian 10 image allowed you to configure a file in the connman folder with the specified in and it would connect automatically so I though I might find one here
<set_>
I tried to chat w/ the IT Dept. once at this college I attended. They invited me back to the lair, I stood still for five minutes, and then left. No one showed up. I should have stayed patient.
<set_>
Oh.
<set_>
Okay.
<set_>
Maybe.
<Pete90>
As far as I've found these guys don't like helping people
<set_>
Most people hate to help others.
<set_>
"Do it yourself."
<set_>
Ha.
<set_>
I understand, sort of. "If I help you, how am I going to help myself?"
<set_>
The BBB land is the same.
<set_>
I like to learn and sometimes me getting in the way by helping only hurts me and others too.
<set_>
Anyway, if you configure things at the school, good on ya'.
<set_>
If not, maybe a computer w/ a Hotspot?
<Pete90>
That is the other option yeah, laptops can relay the connection
<set_>
So, even outside of the library, one cannot connect to a BBB on the campus?
<set_>
What if you did not have Internet access on the BBB/BBBlue?
<set_>
Could you still debug
<set_>
?
<Pete90>
This wifi is campus wide, so you can't import packages then
<set_>
For instance, you can load your...blah.
<set_>
There is no way they have one access to WiFi on the entire campus. It is tons of servers in different locations.
<set_>
For instance, Hall A has their setup. Library has their setup and so on.
<Pete90>
Yeah but a lot of access points all under the same name and such so wherever you move the Eduroam wifi is always about 3 or 4 bars
<set_>
It is almost like they are watching you...I am scared.
<set_>
Oh. Odd.
<set_>
I never used wifi at the college before today and I would not know about it. It is interesting though.
<set_>
it is like they put up a web page right for you to access your WiFi?
<Pete90>
Actually no, you just click on the wifi to connect, provide email and password, and then its connected campus wide, each lecture hall has 1 or 2 routers etc
<set_>
I am scared.
<set_>
Do you take notes on your computer or by pen/paper
<set_>
?
<set_>
All jokes aside, it is normal.
<Pete90>
Mostly pen and paper but they provide notes a lot now so that does help
<set_>
They "Provide" notes?
<set_>
Who does?
<set_>
Oh. Like worksheets and print-outs.
<Pete90>
The lecturer gives notes on the topic he covers the day
<set_>
Damn!
<set_>
That is too much.
<Pete90>
For online you might as well I guess, you have to give the recording so
<set_>
I remember one class. The lady handed out the lesson on paper. It was about memory and not the actual subject.
<set_>
Oh.
<set_>
Online school.
<set_>
I want to try it one day.
<set_>
Futuristic.
<Pete90>
No physical school, online classes, our country isn't fully out of lock down so classes have a size limit and I never felt the need to book
<set_>
Oh.
<set_>
That makes sense.
<set_>
Oh. COVID?
<Pete90>
Yup, still
<set_>
Did you see that test case based around the BBB? It is biomedical but interesting nonetheless.
<zmatt>
Pete90: if you're trying to connect to wifi using WPA Enterprise (e.g. eduroam), make sure the system date is set at least *roughly* correctly otherwise it won't be able to verify certificates
<Pete90>
set_: Biomedical is cool and I would consider it but I hate the lecturers in charge of it
<zmatt>
(normally the system date and time would be set using NTP once the beaglebone has internet access, but when connecting to wifi requires TLS you get a chicken and egg problem)
<Pete90>
zmatt: Okay I'll check that it is up to date but how would you enter the identity? Like my email address
<zmatt>
this is assuming you're using a debian buster image
<Pete90>
Eesh but Ubuntu doesn't have connman
<zmatt>
I think he was using ubuntu actually
<zmatt>
I have no idea what's on any ubuntu images that float around for the beaglebone
<Pete90>
Okay I'll check if I find anything but connman and nmcli isn't on
<zmatt>
it'll depend on what network manager is used on whatever image you're using
<zmatt>
e.g. the debian buster images use connman, the debian bullseye images use systemd-networkd and wpa_supplicant
<Pete90>
This one also uses wpa_supplicant
<zmatt>
I mean, wpa_supplicant is of course always used for wifi, but it can be either controlled by another network manager or it can be used directly
<zmatt>
with its own config file
<Pete90>
Ohh thats what you mean
<zmatt>
when systemd-networkd is the network manager (as is the case on beagleboard.org debian bullseye images), wifi requires configuring wpa_supplicant directly
<zmatt>
like I said, I have no idea what any of the ubuntu images use
<zmatt>
also, the right settings may depend on your institution
<zmatt>
"Important: all configuration instructions are specific for the issuing institution. It is not helpful to follow configuration instructions of other institutions; the settings are different from institution to institution and you will very likely mis-configure your device if trying third-party configurations" .. according to eduroam
<Pete90>
Yeah found a config earlier for a German university and though it probably wouldn't work
<Pete90>
Guess I'll find out once I'm back on campus
<zmatt>
eduroam has a config assist tool but I'm not sure if it can just provide the settings (an "installer" is obviously not helpful here)
<zmatt>
what institution are you studying at?
<Pete90>
University of Pretoria, in South Africa
<zmatt>
not listed in eduroam's config assist tool :/
<Pete90>
Ffs, there really is no help at this place -_-
doppo_ has quit [Remote host closed the connection]
<zmatt>
like, WPA-EAP has a ton of options and I have no idea though what magic those get selected if you're not asked to configure them explicitly
ikarso has quit [Quit: Connection closed for inactivity]
<Pete90>
Ofcourse none of the links work
doppo has joined #beagle
<Pete90>
I could have a chat with the networking department lecturer
calrama has joined #beagle
<calrama>
Hey, how would I go about enabling timer10 and setting clock source and rate on the beaglebone ai? I assume with a dts, but there's no example I can find.
<zmatt>
Pete90: this seems like a plausible network config block for wpa_supplicant, but ideally these settings wouldn't have to be guessed: https://pastebin.com/raw/kePsw9QH
<zmatt>
calrama: what exactly are you trying to do with a hardware timer?
<calrama>
zmatt: Route it to an external pin to drive an MCP346's AMCLK in order to reach 50+ksps
<calrama>
With its internal clock, it can only reach about 36 ksps at best, but I need more.
<calrama>
I could program a pru to do it, but that seemed like a waste.
<zmatt>
there's a pwm driver that supports these hardware timers
doppo has quit [Quit: leaving]
<calrama>
Ok? How does one use that, theN?
doppo has joined #beagle
<zmatt>
MCP346 seems to be a microwave oven, do you mean MCP3461/MCP3462/MCP3464 ?
<calrama>
(kernel 4.14; cannot upgrade the kernel due to TIDL not working on newer kernels)
<calrama>
Yeah, sorry. The MCP3462, for now.
<zmatt>
are you using a kernel driver for it or just direct spi from userspace?
<calrama>
I'm coding on the PRU.
<calrama>
It's a hard realtime application.
<zmatt>
ok
<calrama>
But the setup can be in userspace
<calrama>
The setup of the generating a stable clock for AMCLK.
<zmatt>
ok.. hold on, need to dig up how to configure a gptimer for pwm in dts
<calrama>
I'm happy to provide any information you want, but since I'm already using a custom dts (I "backported" the universal cape code back to kernel 4.14) that would be easiest for me, I think.
<calrama>
(By that I mean insert the pwm-timer16 node into the same level as reserved-memory, leds, etc.)
<zmatt>
for example
<calrama>
Ok, thank you very much :)
<zmatt>
there's a lot of flexibility in how you structure a dts file... each top-level block just says "add/merge the following nodes/properties into this target node", hence https://pastebin.com/raw/qygTtGNc
<zmatt>
I generally prefer to keep things grouped by logical function rather than by where things are located in the final tree
<calrama>
Ah, fair enough. I'll try this and come back tomorrow in case things don't work out. Thanks very much :)
calrama has quit [Quit: Client closed]
behanw has quit [Quit: Connection closed for inactivity]
dKaiser has joined #beagle
Pete90 has quit [Quit: Client closed]
Guest5448 has joined #beagle
Guest5448 has quit [Client Quit]
ikarso has joined #beagle
PhotoJim has quit [Ping timeout: 260 seconds]
PhotoJim has joined #beagle
PhotoJim has quit [Ping timeout: 255 seconds]
doppo has quit [Quit: leaving]
doppo has joined #beagle
doppo has quit [Quit: leaving]
ikarso has quit [Quit: Connection closed for inactivity]