Networking :: Using SFQ Queue To Divide Bandwidth Per Connection / Computer

Feb 4, 2010

Can the SFQ queue be used to divide bandwidth not only per connections but also per computer? E.g. if two computers download something each computer gets half of the bandwidth. I'm trying to do my own script based on wondershaper and would want to divide the bandwidth between all devices so that one device can't saturate the uplink.

View 2 Replies


ADVERTISEMENT

Fedora Networking :: Divide Equal Bandwidth Between / Among Clients

Mar 3, 2010

how to Divide Equal Bandwidth between / Among Network Clients? e.g if there is total bandwidth = 10Mbps and only 5 clients are online then bandwidth should be divided evenly i.e each client to 2Mbps and if 20 clients are online then 0.5Mbps to each client automatically. [in windows this can be done by bandwidthcontroller software now how it can be done in linux]

View 3 Replies View Related

Networking :: Netfilter: Connection Tracking Bandwidth Accounting?

Dec 10, 2010

On Kernel 2.6.33.4 I get this from /proc/net/ip_conntrack:

tcp 6 431557 ESTABLISHED src=X.X.X.X dst=X.X.X.X sport=44242 dport=993 packets=128 bytes=9267 src=X.X.X.X dst=X.X.X.X sport=993 dport=44242 packets=85 bytes=53950 [ASSURED] mark=0 use=2

On Kernel 2.6.36.2 I get this from that same file:

tcp 6 431665 ESTABLISHED src=X.X.X.X dst=X.X.X.X sport=4640 dport=8082 src=X.X.X.X dst=X.X.X.X sport=8082 dport=4640 [ASSURED] mark=0 use=2

It's missing the data on bytes and packets transmitted through that particular connection. I had written a program that uses this information. Was this pulled out of the kernel on purpose or did I miss some option when compiling the new kernel for my box?

View 1 Replies View Related

Networking :: In PPTP Server - Limit Bandwidth Per User & No. Of Connection Per Account?

Apr 2, 2010

recently i rent a xen vps intended to setup a PPTPD vpn server for me and my friends. so we can by-pass the great firewall in china and get back on ....., facebook and stuff. i have already setup the server and i can connect to it without any problem. but i still want to do some further configuration the server:

1. i want to limit the bandwidth to 400k/s per connection.
2. i also want to limit the max connection per user a/c

i have some thoughts on the 2nd requirement. in the user configuration file of /etc/ppp/chap-secret, you can specify the range of ip the user can get, does it limit the max connection per user a/c? or they can connect anyway, just every now and then a box pop up says conflict in IP address?

View 1 Replies View Related

Fedora Networking :: Finding The Upcoming Bandwidth And Specify The Bandwidth Rateto Classes

Nov 18, 2010

I created a the class like this for shaping the packets with a specified bandwidth rate.....

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 750kbit ceil 750kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 600kbit ceil 750kbit prio 0

For Our Requirement:-

I dont want to specify the bandwidth rate strictly like this rate750kbit ceil 750kbit,based on whatever speed is coming which should allocate the bandwidth rate for particular class...I need one application for finding the upcoming bandwidth & Is any other method is there for specify the bandwidth rate in a classes.

View 1 Replies View Related

OpenSUSE Hardware :: Configured The Queue Same Way It Used To Be On The Old Computer But Nothing Ever Comes Out On The Printer?

Mar 21, 2009

As you know some(?) new computers have no built-in parallel port. The one I built didn't have one anyway so I bought a PCI-express card with a port, a cheap one with a printer port, nothing more.OpenSUSE 11.1 sees the card somehow and "lspci" says it's aCode:Parallel controller: Oxford Semiconductor Ltd Device c110"hwinfo --printer" does not see it at all, whatever that may mean?I have connected my old inkjet to it and configured the queue same way it used to be on the old computer but nothing ever comes out on the printer. Maybe the fact that I'm running openSUSE 64-bit has something to do with it, wrong drivers or some such?

View 9 Replies View Related

Networking :: Control Bandwidth Access With Squid - Allow Certain IPs To Have Higher Bandwidth Access?

May 27, 2009

We have a sipmle office network set up that we also use use to connect to the internet, however of late the number of users has increased thus slowing internet access. Bandwidth upgrade is not an option thus i have to do bandwidth shaping on our linux router. The question is how do set the squid configs to allow certain IP's range a certain percentage bandwidtheg 60% and furthe divide the rest. Alternatively how can allow certain IPs to have higher bandwidth access.

View 1 Replies View Related

Ubuntu Networking :: Get Internet Connection Through Another Computer?

Nov 17, 2010

I have a computer running XP with a wireless Internet connection. I have installed Ubuntu 10.04 on a second computer. I would like to connect my Ubuntu computer to the internet through a wired connection to the XP computer. As I am a newby to Linux commands could someone explain how to do this in laymans terms.

View 9 Replies View Related

Programming :: Get Length Of Run Queue And Swap Queue?

Nov 3, 2010

is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...

Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?

View 1 Replies View Related

Ubuntu Networking :: Bridge Wireless Connection With XP Computer

May 5, 2010

How I can make this "link" with Ubuntu 10.04?
pc 1 == win xp
pc 2 == Ubuntu 10.04

View 1 Replies View Related

Networking :: Share An Internet Connection From A Computer With Two NICs ?

Feb 24, 2010

Im posting after reading through a lot of articles explaining the same thing on how to share an internet connection from a computer with two NICs.

I have the following simple setup

When I first followed this guide

I was able to ping between the GW and a client on the LAN but couldn't access the internet from it. So I started to configure different things to get it to work which failed.

Now I can't ping between GW and the LAN. I tried to follow the same guide over again and even flushing the tables but still...

These are my current settings (without any chains).

(this client also has a wireless connection displayed in 'ifconfig')

View 1 Replies View Related

Ubuntu Networking :: Sharing Internet Connection Through Multihomed Computer?

Dec 2, 2010

I am in college and live in a dorm room. As a dorm resident, I have access to only one wired network connection and I am not allowed to connect it to a router. My primary computer is multihomed and I was hoping I could share network access (eth1) through eth0 to a router. Then I want to hook up my secondary system to the router. I am not using the WAN port on the router. I believe this makes it act like a switch, which seems to be what I want.Here is my /etc/network/interfaces file on my primary computer

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

[code].....

View 2 Replies View Related

Ubuntu Networking :: Restart Computer If Internet Connection Is Lost

Apr 24, 2011

Like the title says, is there a way to restart the computer if the internet connection is lost?Is this possible on ubuntu?

View 3 Replies View Related

Ubuntu Networking :: Get An Internet Connection On Newly-installed Computer

Jun 30, 2011

I am trying to get an internet connection on my newly-installed ubuntu computer.

i have tried <sudo apt-get install b43-fwcutter>. it responded <E: Unable to locate package b43-fwcutter>.

i then tried a <dmesg | grep -i firm>.
the it spat back at me.
[ 0.161805][Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.245165] pci 0000:05:08.0: Firmware left e100 interrupts enabled; disabling
[ 17.328521] Broadcom 43xx driver loaded [ Features: PNL, Firmware-ID: FW13 ]
[ 18.302783] b43-phy0 ERROR: Firmware file "b43/ucode5.fw" not found

[Code]....

i read the instructions, but no downloads. and fast, too; caus if i don't set up my friends computer by sunday i dont get $50.

View 9 Replies View Related

Networking :: Ethernet Connection Only Work When Restart/boot Up Computer

Feb 23, 2011

I'm currently running Fedora 13, after I updated the kernel to 2.6.34, I have to run (as a superuser) "service NetworkManager start" in order to start my network manager, is there are way I can run this on startup?

Also my ethernet connection seems to only work when I restart/boot up my computer, when I wake my computer up from being asleep, the ethernet stops working.

View 2 Replies View Related

General :: Bandwidth Management - How To Limit Connection Speed

Jan 4, 2010

In my household a number of people use the internet. Up to a maximum of 3 wired connections and 2 wireless connections at its peak, all connection through my D-LINK G604T router. The problem is, when one person is downloading or watching ..... or whatever, the others using the internet suffer. I've spent hours configuring QoS on my router, and long story short, no matter how I configure it, it just simply does not work. QoS in no way shape or form limits connection speed (which it says it should). Anyway.

I have a spare computer under my desk, and I'd like to know if I could set this up with a (free) linux distro that limits bandwidth speed per connection. For example, of the 1500 kb/ps (about) my modem pulls, is there a way to limit that to 768 or 512 per connection? so person A can still download, person B can still watch ....., and person C can still play counterstrike with a latency under 100. This would solve many, many arguments in my house I am *fairly* good with computers, but if the distro came with documentation and a GUI that would be awesome.

* TL;DR: *
Is there a linux distro I can load on a spare computer that limits bandwidth per connection, wireless or otherwise, with good documentation?
Failing that is there firmware I can use for my modem (dlink g604t) that would do the same?
Failing that do you know of any good hitmen that would solve my family arguments, ahem, permanently?

View 6 Replies View Related

Ubuntu Networking :: At Times Desktop Computer Can't Establish Wired Connection?

Aug 3, 2011

My desktop computer, running 11.04 (fresh install) sometimes can't establish a wired Ethernet connection. Sometimes when I boot, it keeps trying to establish, but with no luck. I keep trying to choose "Auto eth0" from the networking menu, but still, it doesn't succeed. If I reboot, it sometimes works. I can't establish a connection about half the times that I boot.

The computer is connected with a cable to a router ("Belkin Wireless Pre-N router"), and the router is connected with a cable to a cable modem.I've been using Ubuntu for a while, and I've had a problem for the past few versions (since around 10.04)? I thought that it might be some old issue that got resolved, so I did a fresh install of 11.04 today, and still have the same behaviorI'm willing to try things next time I can't get a connection, but don't know what.

View 1 Replies View Related

Ubuntu Servers :: Realtime Bandwidth Monitor 10.10 (Bridged Connection)

Apr 14, 2011

I posted this in the Networking section, but should probably be over here. Couldn't move it. I have a transparent proxy in place. I have Webmin installed on the server. Is there an app that can monitor bandwidth in real time? Also run reports? I have SARG installed, but seems to only monitor HTTP traffic, I need to monitor all traffic. I have a bridged connection, but monitoring the outside interface is fine too.

View 5 Replies View Related

Ubuntu Networking :: Computer Loses Internet Connection And Requires Many Reboots To Re-connect

Sep 5, 2010

I am using Ubuntu Studio 10.04 LTS and I am experiencing the following problem: my computer loses its Internet connection and appears to require several reboots to re-establish an Internet connection.

As suggested on a similar post relating to wireless connection loss, I supply the output of sudo lshw -C network

*-network
description: Ethernet interface
product: NetLink BCM5789 Gigabit Ethernet PCI Express
vendor: Broadcom Corporation

[Code].....

Note that I have REMOVED my wireless card in case there was some kind of hardware conflict or failure. I am using a wired connection through a Linksys WRT54G router that is supplying an Internet connection to another computer and an IP phone without any problem.

When I run the command network-admin (or select System > Administration > Network) I can see only 3 tabs (General, DNS and Hosts) It seems that the Connections tab has disappeared (and I believe this happened when I upgraded from Ubuntu 9/Karmic Koala). If I click Help it shows me that there should be 4 tabs, not 3.

The connection dropping began prior to my decision to upgrade. In fact it took several attempts to complete the upgrade. Should I attempt to re-install the upgrade? I am not sure how to do it without losing my connection. When I visit System > Administration > Update Manager, I am informed that my system is up to date.

View 3 Replies View Related

Ubuntu Networking :: Ethernet Lan Port On The Computer Seems To Not Be Activiating As No Wired Connection Is Recognized

Oct 6, 2010

while my brother was browsing the web on my windows partition he had a blue screen pop up, one of the soft/hardware error ones, not a true BSOD, anyways, ever since my lan port on the computer seems to not be activiating as no wired connection is recognized. The lan port/card is directly attached to the Mother Board, it's a gigabyte motherboard in a self-build computer. I'm just wondering if there's anything I can do to troubleshoot this and see if it is truly a hardware problem or if its something else.

View 9 Replies View Related

Ubuntu Networking :: Setup A Proxy Server Who Just Redirect The Internet Connection To My Second Computer?

Jan 9, 2011

I want to settup a proxy server who just redirect the internet connection to my second computer. I try Squid Proxy but its too complicated for me. Can you sugest me another more simple program to do what i want?

View 1 Replies View Related

Ubuntu Networking :: Mobile Broadband - VPN - Remote Computer Losing It's Connection To The Server

Feb 21, 2011

I'm setting up a computer with xUbuntu installed and wan't to run it as a PPtP VPN server.

I'm using a mobile broadband for internet connection, with DynDNS wich updates the host with public IP-address.

I've managed to set up the connections and installed the needed packages. The problem appears when I connect to the VPN server through another computer;

When I get connected to the VPN server the remote computer recieves an IP-address from the server (xUbuntu) wich is great! But the server changes prefered network, from the mobile broadband to the wired network wich results in the remote computer losing it's connection to the server.

View 1 Replies View Related

Networking :: How To Monitor Queue In NS2

Jun 23, 2010

How do I use the drop-trace command in NS2 to create a trace file of all of the packets dropped over the course of a simulation? If drop-trace is the wrong command to use, which command should I use to monitor the number of packets dropped at a certain queue in a link?

View 2 Replies View Related

Networking :: Function Of TCP Backlog Queue

Aug 3, 2010

I want to know the basic function of TCP Backlog queue.

View 3 Replies View Related

Networking :: Userspace Ethernet Packet Queue

Feb 12, 2010

I am a windows programmer. There I wrote a firewall and VPN System. It was easy. Simply, I USED WINPKFilter by ntkernel.com.What I need is to GET, Edit, and Send the raw Layer 2 packet before reaching to IP Stack.My friends were saying that linux is Ideal for Networking purposes. But for now I say that Linux is very bad in this field and I should say that windows is much better (I beg your pardon)After tens of hours for searching I got nothing good. The hook system of IPtables is not GOOD for me because it has not Ethernet header and also the packets are defragmented when I caught them.

I tried ebtables but it has no user space queue like IPTABLES. What I exactly need is to be able to reach to the chain of raw Ethernet packets and be able to modify them and resend or inject some ethernet packet packet. I Dont Want to go inside the KERNEL. (As windows I want a userspcae library). Dear linux expert I beg your help. Do not let me turn back to windows.

View 1 Replies View Related

General :: Divide A Partition Into Two Parts?

Jul 10, 2009

I am having a big /home partition. I need to make it small and create one more partition from it which will be used for some other purpose. Can you tell me please how to do it?
I searched on google and found some methods which were very different from each other.I don't know which one is good, so, I thought I will ask you experts before doing anything.

View 9 Replies View Related

General :: Divide Shell Space Into Two Parts?

Sep 9, 2010

On my c shell, I use the alias p ls -lt; pwd to speed up things while switching directories and getting their listings.Things could be much easier if I could somehow divide the space I have on my console in two parts such that the prompt is in the lower part and the top part always shows the listing of the current directory (the directory which I am using in the second part).The upper part needs to be dynamic in the sense that whenever I switch directories using the prompt in the lower part, It should give the listing of the current directory in the upper half.

View 3 Replies View Related

Software :: Divide Hard Disk To Install 11

Jun 28, 2011

How to divide hard disk to install suse 11.

How many partition I have to choose

What kind of format;ext2 or ext3

View 1 Replies View Related

Networking :: SO_RCVBUF Does Not Reflect Increasing Listen Queue Size

Jul 9, 2010

In my Solaris tcp client server program, In server side I am checking the size of recv buffer, based on different listen queue size.

I was expecting this size to be increased due to the increase in receive queue size. why the value is same ?

View 1 Replies View Related

Networking :: See The Number Of Packets Dropped By Kernel Due To Insufficient Queue Size?

Sep 15, 2010

As is known, there is a queue lies between the kernel subsystem and the network driver for incoming data. And if data come when this queue has no space for it, the data got dropped by kernel. Is there some way to see how many packets are dropped due to this buff penury? I tried netstat -s but could not find something useful. On the other hand, I found this 12176 packets collapsed in receive queue due to low socket buffer from netstat -s. I think this is something related to the per-socket buffer, but not the incoming queue between the network driver and kernel. Is this right?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved