LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 10-27-2003, 03:07 PM   #1
flying_eyes
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Sharing Internet+WiFi+Wired


I just installed Debian 3 and i want to configure a Linux Pc to share my Internet connection to 3 clients.2 of 3 clients will have wirelless access to Pc and the other 1 by wire.
The scheme is something like that: DSL Modem-->Linux Pc--From Linux Pc 1 client by wire and the other 2 wireless with Pci Adapters(Linksys WMP54G) by Hardware AP(Linksys WRT54G)..
I want your help how can i share the bandwith equal to 3,so everyone to have the same amount of Kbs....
I don't know many things about Linux so....

Last edited by flying_eyes; 10-27-2003 at 03:08 PM.
 
Old 10-27-2003, 09:28 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Right now the Linux PC gets a full pull from you DSL modem, which is probably bringing in 160Kilobytes per second. Don't get fooled by ISP math, to make things bigger they call it 1.5 Megabit / sec, divide that by 8 and you've got reality. The Linux PC is connected to other machines, probably by 100BaseT ethernet, 10 Megabytes a second, and the wireless clients can pull at 5.9 Megabytes per second (on a good day, but g never really gets 54, so probably more like 3.3megs)... no matter what, the bottleneck is the DSL line.

Did you want to do quality of service queing so that if machineB wants to download something, and MachineA is using all of the pipe, then MachineA's bandwidth gets throttled?

That's quality of Service queing, or QOS, its built into IPtables... google for QOS and you'll choke, warning though a lot of those pages will tell you "compile in blah blah blah to your kernel", and its Debian's default build right? You've got that.

Cheers,

Finegan
 
Old 10-28-2003, 07:11 PM   #3
flying_eyes
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Finegan,thanks for your reply..
My DSL line has bandwith 48kb/s,so i want everyone of these(3) to have 16kb/s for surfing or downloading..I think that it will be easy to do,but i don't know the way..
Can you give an example,please???
 
Old 10-28-2003, 07:20 PM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
http://www.szabilinux.hu/bandwidth/

Is about the best place I found to start. That's some limit matching. Remember you don't have 48/48 probably more like 48/26 so make certain to limit inbound accordingly.

Cheers,

Finegan
 
Old 10-28-2003, 08:07 PM   #5
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Rep: Reputation: 15
Linux as Router/Gateway

Some basics to consider on the linux machine[list=1][*] It will need two NICs (one for your cable modem (call it Eth0), one to connect to the rest of the machines (call it Eth1))[*] You'll need a hub or router to connect Eth1 to so that in turn it can connect to all the other machines. This device ideally will also be a WAP and router combined.[*] you are probably better off NOT locking everyone down to 16kbs (i.e. 25% of the total available). You need to have a throttle (i.e. QOS) mechanism in place as per some of the other posts. Why (if I am the only person on the network) should I only get 25% bandwidth... QOS will take care of this.[*] there are lots of other things that the clever people on here can tell you about[/list=1]

Regards
Jo
Disclaimer : I know nothing about Linux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Bridging a wired network to a wifi network bobmcobob Linux - Wireless Networking 2 07-18-2008 06:36 PM
computers around me get internet, but i dont... wired lan kahn Linux - Networking 6 06-26-2005 07:07 PM
wired and wireless internet connections. levicc00123 Linux - Laptop and Netbook 1 01-14-2005 08:55 PM
Wifi ipw2100 & wired eth0 issues mehargags Linux - Wireless Networking 0 08-22-2004 11:03 AM
Cannot connect to internet via wired adapter psycovic23 Linux - Networking 1 06-05-2004 09:17 AM


All times are GMT -5. The time now is 02:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration