File sharing

From Granular Linux Documentation

Jump to: navigation, search

Contents

Introduction

File sharing is as essential to a human as sharing his/her real life items with others. "Sharing" has always been one of the most prominent helpful characteristics of humans. We all do it, in real life and through computers, in one form or the other.

There are many forms of sharing files using Granular and we'll try to cover all major ways of doing just that.

LAN Sharing

Granular Control Center offers an easy access to the network shares, both NFS (Linux-based) and SAMBA (Windows-based)

If you are or have been a school/college student, you will know the importance of file sharing through LAN (Local Area Network). For some students, LAN sharing is a "life saver". LAN sharing is also popular in homes which have more than one PC, or a PC and a laptop. If you aren't aware of what LAN sharing is, simply put together, it is a way to transfer files between PCs connected on a LAN. PCs can be connected on a LAN either through a direct cable or through a hub/switch.

Coming to discussing the way to configuring LAN sharing, here are the steps:

\\xxx.xxx.xxx.xxx

For example, \\192.168.1.136. And hit "Enter".

Note: The package samba-server should be installed on Granular for Windows machines to access shares from Granular.

Note: For Granular users, a still easy way to access / share folders on the LAN is by heading towards Granular Control Center > Network Sharing. To add SAMBA shares or edit other settings, go to Granular Control Center > Sharing > Configure Samba.

Peer-to-Peer (P2P)

Most of us are aware of this term P2P. P2P is a collective term used to refer to the methods of sharing files remotely, that is via Internet. The most popular forms of P2P in existence today are Bittorrent and direct P2P sharing.

Bittorrent

KTorrent showing the Granular 1.0 RC ISO being downloaded through a corresponding torrent file

BitTorrent is a peer-to-peer file sharing (P2P) communications protocol. BitTorrent is a method of distributing large amounts of data widely without the original distributor incurring the entire costs of hardware, hosting, and bandwidth resources. Instead, when data is distributed using the BitTorrent protocol, each recipient supplies pieces of the data to newer recipients, reducing the cost and burden on any given individual source, providing redundancy against system problems, and reducing dependence on the original distributor.

-- Wikipedia

Most Linux distributions are released for public downloading through the bittorrent method.

Some good Bittorrent clients for Linux are:

Direct P2P

P2P file sharing is distinct from file trading in that downloading files from a P2P network does not require uploading, although some networks either provide incentives for uploading such as credits or forcing the sharing of files being currently downloaded.

-- Wikipedia

Some good P2P clients for Linux are:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox