Gnetcat: a simple Puppy-to-Puppy file transfer program

Configuration wizards, scanners, remote desktop, etc.
Post Reply
Message
Author
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Gnetcat: a simple Puppy-to-Puppy file transfer program

#1 Post by rcrsn51 »

[Edit] This project has been removed due to lack of testing.
Last edited by rcrsn51 on Mon 16 May 2016, 10:16, edited 8 times in total.

Pelo

Better than an USB pendrive ?

#2 Post by Pelo »

Better than an USB pendrive ?
Ok, Gnetcat tested. My computers are on the same table.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post by rcrsn51 »

In Gnetcat v1.1, the receiver initiates file transfer instead of the sender.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

Re: Better than an USB pendrive ?

#4 Post by rcrsn51 »

Pelo wrote:Better than an USB pendrive ?
Here is a test:

1. On machine A, put 10 Puppy ISO files in a folder.
2. Using a USB pendrive, transfer the folder to machine B.
3. Repeat using Gnetcat and Ethernet.
4. Compare times.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#5 Post by slavvo67 »

rcrsn51:

Another simple, exciting tool.

Thank you,

Slavvo67

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#6 Post by corvus »

Hi rcrsn51, tried gnetcat-1.2 to transfer data between two computers both with puppy inside. Scenario:
First pc ASUS A555LB with T64_Light (Xanad's derivate from Tahrpup64 6.0.2).
Second pc Fujitsu Siemens AMILO A-7620 with Tahrpup 6.0.5 CE.
Turned off Firewall, assigned ip to the ethernet network cards, launched gnetcat on both computers, setted the various parameters and everything went well. :D
Some little questions:
Can I use the same ip of wlan0 card?
Is there a particular port number to choose or the default is fine?

Thanks for the great work on this Forum.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#7 Post by rcrsn51 »

Thank you for this test report.
Can I use the same ip of wlan0 card?
Gnetcat should work equally well over WiFi but with one caveat. If the sender has both its eth0 and wlan0 interfaces up at the same time, Gnetcat may get confused about which to use. It would be safer to first run "ifconfig eth0 down". Then Gnetcat should correctly identify the active interface at both ends. Please test this, if possible.
Is there a particular port number to choose or the default is fine?
Any port should work, as long as both parties agree. But you might want to avoid low-numbered ports which might already be in use. Please test.

Bill

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#8 Post by corvus »

rcrsn51 wrote:Gnetcat should work equally well over WiFi but with one caveat. If the sender has both its eth0 and wlan0 interfaces up at the same time, Gnetcat may get confused about which to use. It would be safer to first run "ifconfig eth0 down". Then Gnetcat should correctly identify the active interface at both ends. Please test this, if possible.
Successfully tested the data transfer through the wifi network but it's not recommended with large files, too slow in comparison to Ethernet.
If both network cards have the same ip Gnetcat does not work:

Code: Select all

Receiving ...
nc: can't connect to remote host (192.168.1.120): No route to host
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
Done.
Press Enter:
rcrsn51 wrote:Any port should work, as long as both parties agree. But you might want to avoid low-numbered ports which might already be in use. Please test.
Tested various port numbers, in my case all above 16384, with success.

Thanks again Bill.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#9 Post by rcrsn51 »

corvus wrote:Successfully tested the data transfer through the wifi network but it's not recommended with large files, too slow in comparison to Ethernet.
Agreed. Using a flash drive and the "sneaker-net" would almost be faster.
If both network cards have the same ip Gnetcat does not work:
Which network cards to you mean - the sender and receiver's? How would they have the same IP address? It should be unique to each host on the network.

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#10 Post by corvus »

rcrsn51 wrote:Which network cards to you mean - the sender and receiver's? How would they have the same IP address? It should be unique to each host on the network.
Sorry for my bad English, I mean the ethernet card and the wifi card on the same computer.

Regards.
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#11 Post by rcrsn51 »

corvus wrote:I mean the ethernet card and the wifi card on the same computer.
I'm curious as to how that happened. In my experience, the router should be smart enough to give the two devices different IP addresses.

In any case, if you want to use Gnetcat over WiFi, you should take the eth0 interface down and make sure that the wlan0 interface is active. You can check by pinging its IP address from the receiving machine before starting Gnetcat.

User avatar
corvus
Posts: 153
Joined: Fri 12 Jun 2015, 18:00
Location: In the peninsula shaped like a boot.

#12 Post by corvus »

The mistake is mine, for testing pourpose I have given the same wlan0 ip at ethernet card manually by typing in terminal:

Code: Select all

ifconfig eth0 add 192.168.1.120
but forgot to turn off the wifi interface. :oops:
[b]We are waves of the same sea, leaves of the same tree, flowers of the same garden.[/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#13 Post by rcrsn51 »

That makes sense now. Thank you for all your feedback.

Post Reply