LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-13-2016, 10:45 AM   #1
AuroraSCII
LQ Newbie
 
Registered: Nov 2016
Posts: 2

Rep: Reputation: Disabled
Network Bonding for the purpose of increasing bandwidth


Howdy and I wish you a very pleasant evening.

I want to setup a little FTP server for my wifi network at home with my old laptop.
The idea is that there's an external hard drive connected via USB that my family and me can access via filezilla.
(For now. Maybe there is another software that is more "userfriendly" in a sense that tech illiterate people have an easier time using?)

For this purpose I use the latest version of lubuntu (since zorin os light 10 is using an older kernel that has issues with the wifi adapters I am using). I sucessfully setup an openssh server aswell as an x11vnc server so I can setup and tinker with the thing from the comfort of my desktop PC.

The laptop is rather old and doesn't support gigabit LAN unfortunately, but it has a 72 Mbit Wifi adapter built in (802.11bgn "rtl_wifi).
I also happen to have a wifi usb stick (RTL8191SU 802.11n "wlpls0") that should run at up to 300 Mbit/s.

iwconfig says though:

rtl_wifi is running at 72Mb/s

wlpls0 is running at 57,8 Mb/s

whole output: https://gyazo.com/01374dff2d0bba58c95cf49aa8d3e2d6


So my first question is:

1.) How can I find out why my wifi adapters are running at such slow speeds and how can I fix this issue?

2.) Even though iwconfig displays above speeds, both adapters are providing a bandwith of about 3 MB/s or 24 Mbit/s when using Filezilla (or dukto R6 for that matter).

I know that the router is configured correctly bc my Desktop PC's wifi adapter has no issues running in n mode:

https://gyazo.com/bee2e86eac7e296dee098167cbe5389e

I guess that has to be a driver issue then? Is there some way to force my wifi adapters to run in n mode?

3.) Is there a way of bonding both adapters together so that the effective bandwith is doubled for the purpose of providing a connection to the router which then connects to the other users in my home?

https://gyazo.com/2b1dab4c1d066bcf29f3bc7a9a28680a


I already tried to use dispatch proxy to achieve this, but it's not doing what I want. I don't want to increase the downstream to the laptop, but the upstream from the laptop.

And from what I've read about network bonding so far is that it is more of a redudancy feature than used to combine two (or more) connections.

Thank you in advance,

fondest regards
 
Old 11-14-2016, 04:14 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,265

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
The usb port would be a bottleneck. On an old laptop you won't get usb-3.x, and I would not be surprised at your speeds on usb-2.x.

Usb speed can be dependent on cabling (quality & length, or lack thereof), and wifi speed is dependent on signal strength. I get 37 MB/S with a speedtest app beside my router, but only ~/20MB/S a bit further away.

If you want speed, forget the wifi bonding. Go to Cat 5 from laptop to router, and use an internal disk. Most laptops are ill equipped to act as servers. You may even benefit from a docking station for the thing.
 
Old 11-14-2016, 05:17 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,474

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Quote:
Originally Posted by business_kid View Post
The usb port would be a bottleneck. On an old laptop you won't get usb-3.x, and I would not be surprised at your speeds on usb-2.x.
+1

Also be aware that bonding network interfaces is a tricky art and depends a LOT on the switch/router being clever enough to know how to work with a bonded pair.

Advertised speeds like "300mb/s" are highly subjective and only ever reached in specific conditions with specific hardware.
 
Old 11-14-2016, 12:49 PM   #4
AuroraSCII
LQ Newbie
 
Registered: Nov 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Wink

Thank you for your replies,

I just want to make it clear that I am doing this mostly for fun. I don't want to create the best homeserver possible,
for that purpose I'd prbly go with a singleboard computer or a µATX board with an integrated CPU like here: http://geizhals.de/asrock-qc5000m-90...loc=at&hloc=de

I just happen to have that old netbook lying around anyways, and if I won't be able to get more than 4 mb/s upstream to the network out of it via wifi that's not the end of the world.

I just find it fun and interesting to do
 
  


Reply



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
Bonding for Bandwidth d072330 Linux - Networking 10 10-27-2011 05:12 PM
Bonding Links Together for increased bandwidth? cussy Linux - Networking 1 09-19-2005 02:56 PM
increasing bandwidth log size YSutarko Linux - Networking 1 04-21-2005 05:06 PM
Increasing bandwidth FuzzBall Linux - Networking 6 11-28-2004 11:40 AM
Increasing network bandwidth FuzzBall Fedora 0 09-25-2004 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:26 AM.

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