Jump to content

kayanite

Members
  • Posts

    4
  • Joined

  • Last visited

  1. Hi, I setup a Radxa Zero 2 last week with Klipper, a 3d printing firmware. Over the past few months, I've transitioned my printer to using canbus. I'm finding the setup process slightly different with Armbian than it was on RpiOS, and I'd appreciate feedback or pointers that could help me better understand networking in Armbian. I use a usb canbus adapter. In the past, I've configured it using the standard Klipper config written to `/etc/network/interfaces.d/can0`: allow-hotplug can0 iface can0 can static bitrate 1000000 up ifconfig $IFACE txqueuelen 1024 So, when I went to setup the Radxa, I did what I've always done, and it seemed to work fine. My canbus boards showed up and I was able to home and jog my printer, and heat the hotend. But when I tried to print a full gcode file, my print failed due to no room in the queue. I tried to run ifconfig but it is not present on a default Armbian install. I had also noticed its absence in a /var/log/syslog entry noting it wasn’t present, but the can bus was working in my tests moving the toolhead and issuing commands and monitoring thermals. So I ran ip -details -statistic link show can0 and to my surprise my anticipated queue length of 1024 was being reported as just plain 10. I ultimately did an sudo apt install net-tools and rebooted, and everything is worked as expected. Then I thought, am I doing it wrong? My understanding is that net-tools is being deprecated. Is there some other place that I should be setting my queue length? I looked through the settings for the can interface in nmtui, but I didn’t see an area there where I could set the queue length… So I researched some more. It looks like the less smelly way to do this would be to uninstall net-tools and change /etc/network/interfaces.d/can0 to allow-hotplug can0 iface can0 can static bitrate 1000000 up ip link set $IFACE txqueuelen 1024 or allow-hotplug can0 iface can0 can static bitrate 1000000 post-up ip link set $IFACE txqueuelen 1024 ... I still can't determine if there's a difference between the two. But I'm still not sure if that's correct. My impression is that I shouldn't be using /etc/network/interfaces at all, but should be able to do the whole thing through Network Manager? I tried searching for something like an Armbian Networking Manifesto, but couldn't find anything. Any thoughts or experiences anyone has on best practice regarding this issue would be much appreciated!
  2. Using Armbian-config, I tried all the uarts from this zero [pinout](https://wiki.radxa.com/Zero/hardware/gpio), but none of them worked.
  3. Running into this issue as well. I am also completely new to Arabian but would be very excited to be able to switch the serial (looking to use a raspbeeII with the Radax Zero).
  4. Can confirm I have the same issue. It hasn't been a big deal... I just unplug the usb uart device from my laptop for a sec till power starts up. It doesn't seem to be an issue if I do a reboot via software, only when I'm first starting up and plugging in everything.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines