Raspberry Pi 4b + bookwarm + 7i76E ethernet connection problem

More
18 Feb 2024 19:29 #293702 by dragon44
Hi Guys,
I have problem with configuration connection between raspberry pi 4b and mesa card's 7i76e.
I downloaded official LinuxCNC 2.9.2 "Raspberry Pi 4 OS based on Debian Bookworm" from linuxcnc.org/downloads/ , and after installation is version 2.9.1 (?).
First trying, I used standard setting jumper w3 (up), ip: 192.168.1.121 and I add contents to file /etc/network/interfaces:
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
hardware-irq-coalesce-rx-usecs 0

but every time I have problem with ping 7i76e.
Configuration ifconfig -a showed inet6 , so I was thinking about problem with active ipv6. Next I tried disable ipv6, but after reboot ipv6 was active. (ipv6 is enabled by kernel). So - I added ipv6 to kernel blacklist. All the time i cant pinging mesa card. I change setting for ip 10.10.10.10, jumper, and the same situation. I use two ethernet cable, with configuration:
1-3   and   1-3
2-6             2-6
3-1             3-1
4-4             4-7
5-5             5-8
6-2             6-2
7-7             7-4
8-8             8-5
When I ping 7i76e 4 green leds are flashing with 1Hz frequency with binary code, but is mistake connection.
I used many different configuration, but every time is the same effect.
I havent more ideas. Tomorrow I try used fresh system again...
Somebody has any idea?

Bartek

Please Log in or Create an account to join the conversation.

More
18 Feb 2024 19:35 #293703 by rodw
I think you are chasing the wrong thing. ip6 has nothing to do with it
In this video about 16 minutes in, I explain networking and how to set this up with a mesa card
The following user(s) said Thank You: dragon44

Please Log in or Create an account to join the conversation.

More
18 Feb 2024 19:47 #293705 by tommylight
First cable is "cross" so not sure if it works, allthough it should with all new-ish PC as they all have automatic settings.
The second cable is useless for networking as it is not a standard pinout/wiring.
Try using a normal "straight" cable.
Also, when Mesa is set at default 192.168.1.121 your settings should work. But if you change Mesa to 10.10.10.10 you also have to set the RPI to 10.10.10.11 for it to work.
And as a general rule, do not mess with systcl, edit only the interface file.
The following user(s) said Thank You: dragon44

Please Log in or Create an account to join the conversation.

More
18 Feb 2024 20:22 #293708 by dragon44
Rodw
Thank You for Your video, I saw him and one more with configuration network, but in this distribution isnt grafical network manager. Tomorrow I try again start with fresh system, but I need suggestion, what i wrong do.
In Your movie, after powered card, all the time four green leds flashing. In my card after powered green leds dont flashing.

Tommylight
I havn't idea, why i was thinking, that i need "crossover" cable. If problem is in "straight" cable, that isnt problem :D
I set mesa to 10.10.10.10, and rpi to 10.10.10.1, 10.10.10.2, 10.10.10.11, 10.10.10.100, many times, but I dont tried change cable for "straigth", ehhh..

I cant wait check it tomorrow,

Bartek
 

Please Log in or Create an account to join the conversation.

More
18 Feb 2024 20:38 - 18 Feb 2024 20:39 #293712 by PCW
If the green user LEDS on the 7I76E count up, the 7I76E is receiving packets
What error do you get from ping?
Last edit: 18 Feb 2024 20:39 by PCW.

Please Log in or Create an account to join the conversation.

More
19 Feb 2024 07:58 #293748 by rodw
you don't need a cross over cable.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.307 seconds
Powered by Kunena Forum