You are not logged in.
What I want to achieve is to transfer files in between two PCs using crossover LAN cable. The thing is that both have wireless card which is connected to a router for internet access. Ethernet card are not being used. I just would like to transfer files time to time within this independent small network of two PCs. How can I do this? If so, what application can I use for this? I also would like to set the IP, not use DHCP. Thanks.
Last edited by redshoe (2024-06-16 02:20:23)
Offline
cross-over cables are a thing of the past since 1gbit NICs all implement auto mdi-x
a cross-over is only needed between two 10/100 mbit nics whitout auto-mdix and without a hub or router in between
Offline
cross-over cables are a thing of the past since 1gbit NICs all implement auto mdi-x
a cross-over is only needed between two 10/100 mbit nics whitout auto-mdix and without a hub or router in between
Okay. Cool. So, I don't have to use crossover cable for 1 Gb (or faster) ethernet?
Do you know what I should do once two computers are connected with normal LAN cable?
Thanks.
Offline
You bring up the NICs, assign static IPs and set the route accordingly so the system knows where to send those packages.
https://wiki.archlinux.org/title/Networ … ion#Manual
ethtool will tell you whether you've MDI-X
Offline
Is manual set route tables required if both nics set to thr same /24 subnet? The kernel should add a default by itself.
Offline
The default route will likely be the wifi NIC?
Offline
One should probably use a different subnet for the static wired line than the one used for the WiFi. The gateway for the static wired network is unimportant as there is none.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I understand I can set the IPs manually for both machines. How do I transfer files once that procedure is done?
Offline
ftp? sftp? a http server? icecast? dlna? smb? nfs?
Offline
ftp? sftp? a http server? icecast? dlna? smb? nfs?
rsync? rcp?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Ahh. Okay. Thanks.
Offline
seth wrote:ftp? sftp? a http server? icecast? dlna? smb? nfs?
rsync? rcp?
Netcat?
Offline
ewaller wrote:seth wrote:ftp? sftp? a http server? icecast? dlna? smb? nfs?
rsync? rcp?
Netcat?
python -m http.server?
Offline
#include <sys/socket.h>
socket(AF_INET, SOCK_STREAM, 0);
I understand I can set the IPs manually for both machines. How do I transfer files once that procedure is done?
somehow this question sounds like just using an external drive would be the easier and faster way (as even gigabit ethernet is limited to 128mbyte/s (which is just the baudrate (line symbols) - which uses 8/10 encoding so the actual net data rate is around 100mbyte/s) - any usb3 with 5gbit/s and up is way faster
Last edited by cryptearth (2024-06-15 19:46:20)
Offline
somehow this question sounds like just using an external drive would be the easier and faster way (as even gigabit ethernet is limited to 128mbyte/s (which is just the baudrate (line symbols) - which uses 8/10 encoding so the actual net data rate is around 100mbyte/s) - any usb3 with 5gbit/s and up is way faster
That's not always practical. For example, I have a direct connection between my NAS and my desktop, so the desktop transcoding video files doesn't "clog up" the whole network.
Offline
I'll mark it as solved. I do have some more detailed questions though which I think it would be posted separately. Thanks.
Offline
HA ... I came here because I saw the title change and thought that it was S.O.L. as in shit out of luck and you had given up.
I'm not sure how many people's minds are as twisted as mine, but the few there are could perhaps be aided by a revision "[SOLVED] transfer files between two PCs using crossover cable".
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
cryptearth wrote:somehow this question sounds like just using an external drive would be the easier and faster way (as even gigabit ethernet is limited to 128mbyte/s (which is just the baudrate (line symbols) - which uses 8/10 encoding so the actual net data rate is around 100mbyte/s) - any usb3 with 5gbit/s and up is way faster
That's not always practical. For example, I have a direct connection between my NAS and my desktop, so the desktop transcoding video files doesn't "clog up" the whole network.
Agreed - I've setup my network with all kind of convinence like pxe, both smb and nfs shares, http and database and all kind of weird stuff tinkered together over the years.
For most transfers the about 100mb/s of gigabit is fast enough or is limited otherwise like protocol overhead, slow drives or old slow system.
But if I work on a system not belong to my network, like a crashed system of one of my friends, I often just grab a prepared usb3 thumbdrive and a usb3 exteral drive as they're way easier and faster than setting up the system for one-time use in my network.
It depends on OPs use case and if it will become a permanent solution - but the question in itself "step 1: cable - step 2: ifconfig - step 3: now what?" hints to me lack of rquired knowledge - hence I suggested "the average joe solution".
//update
the follow-up threads somewhat confirm my thoughts: Instead of usibg a search to figure out how to do it OP now spams every single detail in a new thread - suggesting just to use an external drive was the better option
Last edited by cryptearth (2024-06-16 17:11:44)
Offline