LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2019, 12:35 AM   #1
ericlindellnyc
Member
 
Registered: Jun 2017
Posts: 181

Rep: Reputation: Disabled
Crossover Ethernet Cable Connecting Linux Mint 19.1 with High Sierra


I'm connecting two PCs, Linux & mac, using crossover cable.

Linux Mint sees the imac,
but when I try to copy a file to the imac folder,
I get an error message ..
Error while copying .. operation not supported by back end.

On the imac, for Ethernet, location is "automatic" & status is "connected,"
but when I try to copy a file to "network" in sidebar, nothing happens.

Suggestions?
Thanks.
 
Old 07-01-2019, 06:02 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
What do you mean by see?

Typically computers are configured using dhcp and will acquire an IP address from your router. Computers directly connected assuming neither are running a dhcp server may default to a 169.254.xxx.xxx address which should still work.

The network in the file browser sidebar is for locating and connecting to windows computers or anything else that runs samba. Is samba running and do you have shares and a samba password configured on the mac. I've never used samba on a mac before so can't tell you the exact steps.

If ssh/sftp is running on the mac you can copy files via sftp but you need to find the macs IP address.
 
1 members found this post helpful.
Old 07-01-2019, 06:38 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
With modern NIC's you would not need a crossover cable. However also with modern NIC's, they'll also detect it and be fine.

As michaelk says, you need to set up these stations so as to have an actual network communicating. Merely connecting them together provides the physical pathway, but if no addresses are configured, then there will not be any communications.
 
Old 07-03-2019, 11:02 PM   #4
ericlindellnyc
Member
 
Registered: Jun 2017
Posts: 181

Original Poster
Rep: Reputation: Disabled
iMac’s IP address
Okay, I found iMac’s IP address from SystemPreferences, Network,
Code:
169.254.203.163
Screenshot attached.Click image for larger version

Name:	Screen Shot 2019-07-03 at 11.50.22 PM.png
Views:	41
Size:	73.2 KB
ID:	30838
I also have checked "Sharing" in SystemPreferences. Screenshot attached.

LinuxBox address
I found my HP’s “Hardware address” by clicking NetworkConnections Ethernet Wired:
Code:
00:24:81:C6:89:F7

I obtained the following with terminal command, “ifconfig | grep inet”:
Code:
* * * * inet6 fe80::84eb:3dc9:19a6:cca9 *prefixlen 64 *scopeid 0x20<link>
* * * * inet 127.0.0.1 *netmask 255.0.0.0
* * * * inet6 ::1 *prefixlen 128 *scopeid 0x10<host>
* * * * inet 10.0.23.72 *netmask 255.255.0.0 *broadcast 10.0.255.255
* * * * inet6 fe80::9ff2:60c2:2ff:1064 *prefixlen 64 *scopeid 0x20<link>
I don’t know which if any of this info is an IP address.

In Linux, Network, Wired, Ethernet, Device, is the following info:
Code:
enp0s25 (00:24:81:C6:89:F7)
I don’t see anything called “IP address” anywhere in Linux.

Any assistance much appreciated !!
 
Old 07-03-2019, 11:03 PM   #5
ericlindellnyc
Member
 
Registered: Jun 2017
Posts: 181

Original Poster
Rep: Reputation: Disabled
Here's the Mac Sharing screenshot, which didn't upload to previous post.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2019-07-03 at 11.50.22 PM.png
Views:	36
Size:	73.2 KB
ID:	30839  
 
Old 07-04-2019, 07:36 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Mac IP address 169.254.203.163 mask 255.255.0.0

Although everything posted about from the ifconfig command is an IP address this really the one that counts. 10.0.23.72 mask 255.255.0.0

They not on the same subnet which is why they can't "talk" to each other. I'm guessing that you unplugged the cable from the Mint computer that connected to a router and plugged it into the Mac?

To change the linux computer address run the command
sudo ifconfig enp0s25 169.254.203.164 netmask 255.255.0.0


The easiest way to copy a file would be to use sftp from your linux file browser. ssh has to be running on the Mac. From the browser file pull down menu you select connect to server, select ssh and enter the IP address, username, password and the directory you want to access. Click ok and if everything works you should be connected. To copy files drag and drop.
 
Old 07-04-2019, 07:48 AM   #7
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Do you have a router?
 
Old 07-05-2019, 01:37 PM   #8
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
TRY USING A BRIDGE. APPLE USES THEM AND ALREADY IS READY FOR IT. you'll be online without glitches in no-time

(i assume your copying using a graphics shell that uses scp (not rcp or nfs) (note - read your software manual and tell us which if you can)

i assume you tried turning off your firewall to see if that is blocking traffic in a bad/illegal way.

in any case - setting up an interface and routes and firewall "that work" with imac can be difficult: imac has seemless networks that are graphically configured easily and can connect to multiple devices effortlessly and that means: their networking code, their routes interfaces, are both more and less complicated

the BRIDGE INTERFACE (needs no routes) is not super secure but hey - you can shore that up if you need to later. it's super simple to get working (you need to find linux docs on making your lan connection on the linux side a bridge - on the apple side do nothing it'll know it'll work)

Last edited by X-LFS-2010; 07-05-2019 at 01:44 PM.
 
Old 07-05-2019, 03:32 PM   #9
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
An ethernet switch would do this without any configuration - but it would be nice if there was a router device handling things like DHCP etc
 
Old 07-06-2019, 07:20 PM   #10
X-LFS-2010
Member
 
Registered: Apr 2016
Posts: 510

Rep: Reputation: 58
i'm not sure you need crossover cables. but diagrams are easy to google.

that depends whether or not both your cards can "sense".

infact i just grab a cable and plug these days i don't even look to see if the cable is crossed or not

i bet they can

make sure you can test the cable without assuming it needs to be crossed over
 
  


Reply

Tags
network



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [ubuntu] recompile sierra 3G modem driver sierra.ko with custom wireless-regdb linuxbastler Linux - Laptop and Netbook 1 01-30-2013 08:43 AM
Connecting to xbox live via ethernet cable (Mint 12) Terrorz Linux - Newbie 2 04-25-2012 08:46 AM
[SOLVED] Connecting Debian client to Voyager client via Crossover Cable westers Linux - Networking 2 01-06-2011 12:47 PM
connecting linux and windows with crossover cable cyberwizard Linux - Networking 2 02-15-2006 07:27 PM
Connecting Windows with a crossover cable tur third Linux - Networking 3 12-20-2005 02:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration