Advanced Search

Search Results (Searched for: raspberry pi 3)

  • electrosteam
  • electrosteam
12 Jun 2025 00:21
Replied by electrosteam on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Thanks Rod, the external antenna was my next move.
I am in Sydney, any suggestion on model number that is known to work with LC2.9.4 ?

The Extender has been set up to use 2.4 GHz from the start.

The engineer in me wants to know why the failure in the cubicle.
I will do some more testing.
John.
  • rodw
  • rodw's Avatar
11 Jun 2025 12:10

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Seems the card uses a R8168 interface. The R8168 requires a DKMS driver to get acceptable RT  performance. Not sure how that goes with a Pi. I would not use it for ethercat but would be fine for general network use.
  • rodw
  • rodw's Avatar
11 Jun 2025 11:41
Replied by rodw on topic WiFi Problem on Raspberry Pi

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Try 2.4 GHz. 5 GHz is not as reliable in an industrial setting and has much shorter range. I turned off all my 5G wifi

Failing that use a wifi USB dongle that has an external antenna and get a SMA bulkhead mount cable to extend it outside of the cabinet
  • electrosteam
  • electrosteam
11 Jun 2025 09:43
WiFi Problem on Raspberry Pi was created by electrosteam

WiFi Problem on Raspberry Pi

Category: General LinuxCNC Questions

Raspberry Pi 4B 4GB has operated a very conventional x,y,z mill with a Mesa 7i96 for a couple of years.
WiFi never worked and has been a back-burner issue for a year or more.

Two cubicles:
 - Power: VFD, stepper supply, general supplies, AC/DC relays,
 - Electronics: RPi, stepper drivers, DC relays, power supplies,
     - minimal 240VAC cabling for power supplies, monitor.
 Monitor, keyboard and mouse cabled.

WiFi-Extender for workshop 4m from RPi.
Test set-up on workshop bench 6m from Extender.
Bench desktop ethernet cabled to extender, has always had reliable WiFi.

I have two RPi; 4GB and 8GB.
The 4GB is currently LC2.9.2, and I downloaded LC2.9.4 recently to a separate SD card.

Investigated:
 - both 4GB and 8GB operate WiFi with either L2.9.2 or LC2.9.4 on the bench no problem,
 - confirmed linked to the Extender by switching it Off (house WiFi 5G is at -70dBm),
 - both operated with Mesa card Off,
 - both fail to launch WiFi in electronic cubicle when mounted or hung in free space.

Also:
 - both have identical (as close as I can tell) WiFi set-up,
 - both detect the Extender and show signal level at -40dBm,
 - both fail to scan for ssid using menu-config in LC2.9.4,
 - both respond to "iw dev wlan0 scan" with response for Extender at -40dBm.

Note: test in cubicle has all non-essential supplies Off: VFD, steppers, Mesa, general control,
nothing else in workshop energised, other than air conditioner and desktop.

Need suggestions on which stone to turn over next.
John.
  • unknown
  • unknown
10 Jun 2025 23:32

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Like I said the kernel in the image is the same as the RPi OS (with realtime added)

Driver is there:
cnc@raspberrypi:/boot$ ls /lib/modules/6.12.11/kernel/drivers/net/ethernet/realtek/
r8169.ko.xz
cnc@raspberrypi:/boot$ sudo modinfo r8169
filename:       /lib/modules/6.12.11/kernel/drivers/net/ethernet/realtek/r8169.ko.xz
firmware:       rtl_nic/rtl8126a-3.fw
firmware:       rtl_nic/rtl8126a-2.fw
firmware:       rtl_nic/rtl8125b-2.fw
firmware:       rtl_nic/rtl8125a-3.fw
firmware:       rtl_nic/rtl8107e-2.fw
firmware:       rtl_nic/rtl8168fp-3.fw
firmware:       rtl_nic/rtl8168h-2.fw
firmware:       rtl_nic/rtl8168g-3.fw
firmware:       rtl_nic/rtl8168g-2.fw
firmware:       rtl_nic/rtl8106e-2.fw
firmware:       rtl_nic/rtl8106e-1.fw
firmware:       rtl_nic/rtl8411-2.fw
firmware:       rtl_nic/rtl8411-1.fw
firmware:       rtl_nic/rtl8402-1.fw
firmware:       rtl_nic/rtl8168f-2.fw
firmware:       rtl_nic/rtl8168f-1.fw
firmware:       rtl_nic/rtl8105e-1.fw
firmware:       rtl_nic/rtl8168e-3.fw
firmware:       rtl_nic/rtl8168e-2.fw
firmware:       rtl_nic/rtl8168e-1.fw
firmware:       rtl_nic/rtl8168d-2.fw
firmware:       rtl_nic/rtl8168d-1.fw
license:        GPL
softdep:        pre: realtek
description:    RealTek RTL-8169 Gigabit Ethernet driver
author:         Realtek and the Linux r8169 crew <netdev@vger.kernel.org>
srcversion:     668EE5A1A5251AE4E5F0F08
alias:          pci:v000010ECd00003000sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008126sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008125sv*sd*bc*sc*i*
alias:          pci:v00000001d00008168sv*sd00002410bc*sc*i*
alias:          pci:v00001737d00001032sv*sd00000024bc*sc*i*
alias:          pci:v000016ECd00000116sv*sd*bc*sc*i*
alias:          pci:v00001259d0000C107sv*sd*bc*sc*i*
alias:          pci:v00001186d00004302sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv*sd*bc*sc*i*
alias:          pci:v00001186d00004300sv00001186sd00004B10bc*sc*i*
alias:          pci:v000010ECd00008169sv*sd*bc*sc*i*
alias:          pci:v000010FFd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008168sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008167sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008162sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008161sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008136sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008129sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002600sv*sd*bc*sc*i*
alias:          pci:v000010ECd00002502sv*sd*bc*sc*i*
depends:        
intree:         Y
name:           r8169
vermagic:       6.12.11 SMP preempt_rt mod_unload modversions aarch64
sig_id:         PKCS#7
signer:         Build time autogenerated kernel key
sig_key:        14:CE:12:BC:56:1A:45:BD:26:4B:22:D7:A5:0D:7A:06:44:B9:F4:69
sig_hashalgo:   sha1
signature:      4A:5E:4B:28:A7:ED:65:3D:C8:53:C3:E2:BD:07:40:04:C0:32:C0:8E:
		4E:C5:37:6A:AE:02:25:29:77:E4:6F:92:65:10:15:3D:2A:05:62:9C:
		13:B7:B5:8A:8F:CA:95:FF:A6:B6:73:E2:85:75:D2:FD:C1:1E:58:64:
		3D:B1:97:1A:DB:85:9D:30:5F:98:FB:B6:55:54:42:37:8E:33:C2:36:
		0A:D5:DF:96:4D:9E:C1:1E:FE:B3:33:B1:7F:B2:1B:B4:76:FD:16:2C:
		66:22:9C:02:B2:ED:32:99:47:6B:96:FB:4D:1F:0F:DF:BE:D2:D7:F2:
		4E:FB:DB:AF:70:ED:AD:91:22:3F:08:96:88:C3:C9:BB:7A:80:7F:E4:
		40:E7:4D:AA:25:E5:DD:0D:78:0D:7E:14:EB:98:05:36:31:D2:2F:FA:
		9E:55:3F:11:71:F6:3A:4C:A5:F2:A7:F7:D6:B3:84:31:27:88:0B:18:
		61:F6:68:F9:31:D6:C7:8D:E6:9C:17:2F:25:05:DF:3F:19:7F:69:95:
		5E:C4:1F:09:D1:31:CE:E2:77:A3:F2:63:F4:16:9D:EC:B8:5D:33:01:
		75:BB:59:6E:6D:70:93:92:4F:CF:45:9A:9C:AA:DB:F0:C3:CB:CD:54:
		14:EF:25:C3:61:5F:05:52:BB:57:9D:D4:DA:F6:72:F4:AC:56:1E:EC:
		5D:3D:79:EB:15:67:2A:80:CD:D8:2E:D1:AA:07:8F:C5:BB:E3:BD:32:
		A7:E8:32:F7:5E:CD:E0:42:C1:05:EB:28:41:C4:FE:34:E0:6D:7E:E1:
		4F:34:EF:C0:25:95:A3:4D:7F:AE:04:7A:9A:9E:17:91:5C:89:CF:F1:
		E7:27:B1:D9:E2:F5:9E:45:DE:C3:78:15:B9:35:29:3A:83:0E:54:EF:
		80:D6:A6:09:0D:9C:F0:18:4A:5C:00:89:88:10:B6:66:44:31:78:A9:
		C3:47:1D:73:C6:1C:0E:33:DE:01:13:A8:C1:7B:13:82:D9:CB:0F:E5:
		2C:AC:24:70:F1:4A:45:E9:67:0F:38:94:0A:51:72:A7:4A:3A:BA:05:
		89:D0:0D:13:A2:23:05:3A:1B:96:EE:5E:28:79:14:C9:20:F6:D4:94:
		F7:C0:20:FB:E3:B9:52:3D:BB:C5:BB:68:DE:F8:08:32:4E:A4:F2:F5:
		2C:98:87:E8:E5:23:3A:7A:7A:A7:4C:AA:97:04:07:3A:4A:FF:AD:EA:
		1C:52:C0:2D:20:73:F7:75:A1:94:92:4E:64:21:4A:0E:35:22:73:81:
		92:84:97:98:3A:C2:3E:06:99:42:86:1D:33:7E:8A:22:90:3F:66:8C:
		57:76:DE:B3:EC:D2:AA:DE:54:E4:C0:6E

You may have to check dmesg for any references to R8169. PCIe should be enabled, I used a NVMe boot drive. Remember that the location of config.txt is
/boot/broadcom/config.txt
I sure this is mentioned in the main image RPi5 thread.
  • mediocre_chloride
  • mediocre_chloride's Avatar
10 Jun 2025 22:43 - 10 Jun 2025 22:44

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Thanks for the fast reply

I Downloaded 2.94 Rpi 5 based OS from the official linuxcnc/download site.

The Waveshare user guide states that something in the lines of:
Device Drivers
> Network device support
    > Ethernet driver support
       > Realtek devices
          > Realtek 8169/8168/8101/8125 ethernet support

needs to be added if not using original rpi os.
i am pretty sure that is the problem, as i see the card with lspci as described in the user guide:

 

but not in ifconfig:

 

it is also stated, drivers could be installed manually but its not recommended.
Also, there are other rpi linuxcnc distros floating around, do you think its worth switching around?
 
  • unknown
  • unknown
10 Jun 2025 20:59

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Shouldn't need recompiling as, our images use a kernel built from the Raspberry Pi GitHub sources.
The only difference being is choosing the kernel config option for real time.
If the standard kernel doesn't work give me a yell and I'll build an update image, as there are a few minor things I would like to add.
  • mediocre_chloride
  • mediocre_chloride's Avatar
10 Jun 2025 14:54

Raspberry Pi Kernel recompile for waveshare 1Gbit Network interface

Category: Computers and Hardware

Hi all
My goal is to setup a raspberry pi with ethercat.

I have a raspberry Pi 5 with an additional network interface from waveshare ( here )
its planned to use this additional ethernet port for connecting the machine to the network, and the native Port on the Pi for Ethercat.
to use this additional Interface, the kernel needs to be recompiled with some additions to the config file.

I am not familiar with recompiling a kernel, thats why i am seeking help here. 

Has anyone encountered similar issues?
Is there maybe a fixed Kernel to download so i dont need to do the recompile?

greetings
Marc






 
Displaying 316 - 323 out of 323 results.
Time to create page: 1.576 seconds
Powered by Kunena Forum