You are not logged in.

#1 2018-01-31 10:12:50

ab90
Member
Registered: 2017-09-06
Posts: 195

FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Tried several things from tutorials. Dont have internet..  Isnt there a easy solution to simply copy paste between two bunsenlabs via ethernet cable?
Guess one has to be the router?

Last edited by ab90 (2018-01-31 17:15:38)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#2 2018-01-31 19:14:14

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

ab90 wrote:

Guess one has to be the router?

Not really, just assign an IP address to the ethernet interface on each machine and then run an ftp server to transfer the data.

Note that a crossover cable is required rather than a plain ethernet cable.

Detailed instructions here:

https://askubuntu.com/questions/475697/ … -ftp-softw

EDIT: you can use thunar (the file manager) with an ftp server, apparently:

https://wiki.archlinux.org/index.php/th … _locations

Last edited by Head_on_a_Stick (2018-01-31 19:45:09)

Offline

#3 2018-01-31 21:31:41

malm
jgmenu developer
Registered: 2016-10-13
Posts: 740
Website

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

An alternative:

Works well if you have two machines connected to the same router (wifi/ethernet)

Run this on box1:

python3 -m http.server --cgi

On box2, type in box1's ip:port in the browser. E.g: 192.168.1.65:8000

Last edited by malm (2018-01-31 21:32:54)

Offline

#4 2018-01-31 22:15:01

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

I bought two ethernet cables, dont think they are crossover.

...when i was using 'daphile' the os found my Computer via its IP as a router, on which it could be even found as a workgroup; plain cable i assume.

No internet, though i have a Server/Router/internet thing from a german internet provider laying around. Its called fritzbox.

No Computer to Computer with ethernet only? Really?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#5 2018-01-31 23:30:08

nobody
The Great
Registered: 2015-08-10
Posts: 3,655

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Samba (SMB) or SSHFS (simplest method).

Crossover cables shouldn't be needed in recent enough computers anymore because their NICs support auto mdix. Recent like in about 2005.

Offline

#6 2018-02-01 09:32:29

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

I think i need internet then.
Do i need samba on only one pc? Maybe i came with the fresh install of bunsenlabs, since my first pc didnt have it, uninstalled a lot in it...
Sshfs is never installed on setup, right?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#7 2018-02-01 12:40:01

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Sshfs installation was successfull, the samba package didnt work.
Sshfs has no interface, only terminal with a formula given:
So writing -
username'@host:'foldername 'mountpoint' -xyz - will make a folder visible for other Computer via cable beeing plugged in those two?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#8 2018-02-01 16:35:15

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Now i did write while beeing connected in one pcs terminal:
sshfs ab90@host: ~/mount

Mount is a new empty folder, since sshfs requestet so.

I also tried with home/ab90/ -o nonempty -o allow_other

...allow_other would need to have been setup in the config file before...it says.

The wired connection was on automatic on both computers


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#9 2018-02-01 19:21:40

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

this format

sshfs remoteUser@remoteHostOrIp:/remote/path /local/path

is working for me (using full absolute path names). Firts thing you should test is simple:

ssh remoteUser@remoteHostOrIp

to know if you can get into remote shell. And even before that

ping remoteHostOrIp

Last edited by brontosaurusrex (2018-02-01 20:15:25)

Offline

#10 2018-02-01 20:44:44

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

If i write ping IP_other_Computer it asks me whether i want to broadcast


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#11 2018-02-03 11:06:58

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

malm wrote:

An alternative:

Works well if you have two machines connected to the same router (wifi/ethernet)

Run this on box1:

python3 -m http.server --cgi

On box2, type in box1's ip:port in the browser. E.g: 192.168.1.65:8000

looks i have to copy paste every single file this way, since folders will be a html


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#12 2018-02-04 12:52:29

malm
jgmenu developer
Registered: 2016-10-13
Posts: 740
Website

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Yes :-)

Or you could create a tarball on the server and download that.

It depends what you are going to use it for.

Offline

#13 2018-02-04 14:57:57

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Transfer, please.


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#14 2018-02-12 04:50:29

seppalta
Member
Registered: 2015-10-02
Posts: 43
Website

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Pcmanfm, and probably Thunar as well, supports internet protocols.  Basically, all that is needed are the inet addresses for the two computers. For details for pcmanfm, see http://lxlinux.com/#2.

Offline

#15 2018-02-12 17:34:18

Indian
Member
Registered: 2018-02-05
Posts: 23

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

You don't need internet, you can connect both pcs to the router and connect them to the same network, then you can share any folder with NFS

Offline

#16 2018-02-16 12:10:12

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: FileSharing - Bunsenlabs to Bunsenlabs - Pc2Pc/Ethernet

Why to a router and not pc to pc sad


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

Board footer

Powered by FluxBB