Ethernet Settings for Raspi4

More
1 year 7 months ago #323257 by Nathan40
Hi All,

I am unable to connect 7i95t on raspi4 with the below settings. Ping is not sending any data. Please suggest as what I am doing wrong!

# Ethernet
allow-hotplug eth0
iface eth0 inet dhcp
        address 10.10.10.1
        netmask 255.0.0.0
        gateway 10.10.10.1
        dns-nameservers 8.8.8.8 8.8.4.4

 

Please Log in to join the conversation.

More
1 year 7 months ago #323261 by tommylight
What does
ip a
in a terminal return?

Please Log in to join the conversation.

More
1 year 7 months ago #323268 by unknown
The issue is that interface is setup for both dhcp and a static address.

I'd do a write up about how to setup an interface but for 2 reasons, it would get lost and ignored, and this kind of thing has been discussed far too many times to recall.

I think people have lost the art of being able to search.

Please Log in to join the conversation.

More
1 year 7 months ago #323269 by unknown
Read this page, not just the chapter in the link.
wiki.debian.org/NetworkConfiguration#Con...e_interface_manually

Please Log in to join the conversation.

More
1 year 7 months ago #323277 by tommylight

The issue is that interface is setup for both dhcp and a static address.
Yeaaa man, sorry i missed that.

Please Log in to join the conversation.

More
1 year 7 months ago #323288 by Nathan40
Thanks for your reply! If possible can you share exact settings so that noobs like us can know and get this 7i95t up and running. Any help will be highly appreciated.

Please Log in to join the conversation.

More
1 year 7 months ago #323292 by tommylight
We can not give you exact settings as you did not reply to our questions, so go back, read and reply.

Please Log in to join the conversation.

More
1 year 7 months ago #323294 by PCW
Replied by PCW on topic Ethernet Settings for Raspi4
As others have mentioned, you definitely do not want DHCP and you do
need to set a static address.

You might try this:

       auto eth0
       iface eth0 inet static
           address 10.10.10.100
           netmask 255.255.255.0

DO NOT set a gateway or nameservers

 

Please Log in to join the conversation.

More
1 year 7 months ago #323323 by unknown
Thanks Pete

I've added your post to the RPi sticky in the Installing Linuxcnc Section.

Please Log in to join the conversation.

More
1 year 7 months ago #323400 by Nathan40
Thanks PCW for your help! Cheers.

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum