Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I get the connection to work? I tried both an Ethernet cable and a Crossover Ethernet cable. 2006 Dell Laptop to 2011 iMac. I failed using Warpinator which does work on my wireless LAN. Both run Linuxmint 21.2 Cinnamon.
Will any commands I use have to be undone when I revert to wireless?
in general you only need to connect the two ports, as it was mentioned. But you need to configure the two hosts to be able to use this setup.
this is a guide to explain that: https://askubuntu.com/questions/2283...hout-a-router/
On mint it should be something similar.
Without knowing what type of adapter is in the Dell or mac I would use the crossover cable. Use the ip command to configure the adapters. Running the commands does not make any permanent changes.
You should be able to connect them with a straight through Ethernet cable and you also can configure static IP addresses, but then you will not have host names. I'm guessing this is temporary to get data/info from one side to the other?
Auto mdi-x came out in the early 2000s so a straight cable should probably work.
If you don't see a link LED illuminated on the port then try the crossover.
Auto mdi-x came out in the early 2000s so a straight cable should probably work.
If you don't see a link LED illuminated on the port then try the crossover.
Can connect with either cable. The port on the 2006 Dell laptop lights up w/either cable when connected to the other computer a 2011 iMac. There are no lights on the iMacs Ethernet port. On the Dell the Ethernet port left light shines steadily, the right one flickers dimly.
Strange, With Mint 21 I would not expect the ethernet adapter to be named eth0 unless you disabled naming conventions.
No need for DHCP since you are manually configuring the adapters.
Route should not matter since you are direct between the two computers.
IPv4 set to Automatic (DHCP) on both
Routes section of IPv4 page has Network, Netmask, Gateway and Metric fields that are not filled in.
Uhh ... I explained already.
One one computer, set to Automatic (DHCP). (The one with WiFi disabled.)
On the other computer, set to "Shared to other computers".
You need one of them to be "Shared to other computers" in order to make it share its internet connection with the other computer. That will configure a simple DHCP server as well as routing to share its other connection with the client computer.
If you go that route with the interface set to "Shared to other computers" as posted dnsmasq is automatically configured to assign IP addresses via DHCP. The host will be 10.42.0.1.
One one computer, set to Automatic (DHCP). (The one with WiFi disabled.)
On the other computer, set to "Shared to other computers".
You need one of them to be "Shared to other computers" in order to make it share its internet connection with the other computer. That will configure a simple DHCP server as well as routing to share its other connection with the client computer.
I do not see a "Shared to other computers" setting. I currently have both set to Automatic (DHCP)
I do see a Manual and a Link local only. Does that mean "Shared to other computers"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.