Ubuntu Networking :: 2+ Internet Interfaces - Control Application Specific Usage?
Mar 24, 2010
I currently have two internet interfaces installed, one is ethernet (eth0) and the second is wireless (wlan0). Many command line applications allow you to specify which interface should be used, but many gui apps don't provide this option or at least I haven't found it. I have some questions:
1. How would I tell Firefox to use only my wlan0 interface? If it's possible in Firefox, is this also possible with Google Chrome?
2. If a program doesn't provide a command line argument to support this, is there a standalone application that could help manage preferences for multiple applications?
View 2 Replies
ADVERTISEMENT
Feb 17, 2010
application to monitor application wise network usage?
View 3 Replies
View Related
Mar 23, 2010
I want an application/program whatever that can save how much I have downloaded an uploaded, so I can keep track of things. Is there something like this that I can use on Linux?
View 8 Replies
View Related
Oct 15, 2010
I've got a 10.04 machine with two ethernet interfaces. I have two separate outside internet connections. This machine is connected to both interfaces. But it DOES NOT route between them. It's just a host on both subnets. Again, no routing is to go through this host. I'd like to force traffic originating on each ethernet port out to that network's internet connection.
Here's the desired setup:
eth0 192.168.12.37/24 gw 192.168.12.1
eth1 192.168.1.37/24 gw 192.168.1.1
I'd like traffic on the 192.168.1.37 address to go out through the 192.168.1.1 gateway. I have a program bound to that address and need it's traffic to go out ONLY through the 192.168.1.1 gateway. Any other traffic on the machine should go out the 192.168.12.1 gateway.
The logic is: source IP is 192.168.1.37, dest IP is any then go out only through 192.168.1.1 source IP is 192.168.12.37, dest IP is any then go out through 192.168.12.1 first or 192.168.1.1 next. The point is source on the .1.37 address must always go out the .1.1 gateway and NEVER through .12.1. Whereas traffic on the .12.37 address should try going out the .12.1 gateway first but can go out the .1.1 gateway if the .12.1 connection is down. I could live with this failover option. I could accept that traffic on the .12.37 address was likewise limited to its own gateway.
View 3 Replies
View Related
Apr 10, 2011
Now that IPv6 is becoming more and more common, I found the need to disable IPv6 on some interfaces but have it enabled on other. I found that /proc/sys/net/ipv6/conf/*/disable_ipv6 does exactly that. I am now wondering if anybody knows, why are networking scripts so counterintuitive. /etc/sysconfig/network has an option:
NETWORKING_IPV6=yes
All this option does is disable some ipv6 services (dhcpv6...), it does not disable IPv6 in whole (as one would assume...that's why you had to disable it with module parameters). Searching for more IP6 related config option, one can find that /etc/sysconfig/network-scripts/ifcfg-* scripts can contain:
IPV6INIT=yes
Again, this option does not disable IPv6 protocol on the interface, it just skips running ifup-ipv6/ifdown-ipv6 scripts. I added a /sbin/ifup-pre-local. Now, this script runs before ethX entries are created (other scripts run when it's already too late) in /proc directory, so it modifies default values which are then used after those entries are created:
#!/bin/bash
#
[ -f "/etc/sysconfig/network-scripts/$1" ] && . /etc/sysconfig/network-scripts/$1
[code]...
View 1 Replies
View Related
May 8, 2010
# rfcomm -a
rfcomm0: 00:1A:89:09:8C:77 channel 1 clean
rfcomm1: 00:07:E0:2E:99:43 channel 3 clean
Then I connect by the mobile, and:
# rfcomm -a
rfcomm0: 00:1A:89:09:8C:77 channel 1 clean
rfcomm1: 00:07:E0:2E:99:43 channel 3 clean
rfcomm2: 00:1BC:0F:5C:AB -> 00:07:E0:2E:99:43 channel 1 connected [reuse-dlc release-on-hup tty-attached]
What the heck is that rfcomm2, when that mobile is bound to rfcomm1? Is it udev that makes fun of me? If so, how to bind the devices to specific rfcomm interfaces via udev?
[Code]...
View 9 Replies
View Related
Jun 17, 2009
Wich is the file for the menubar Sistem->Administration->Control Net Interfaces(I think this is the translation)
sorry if it doesn't.
View 1 Replies
View Related
Sep 14, 2010
I need to get usage's bytes of a specific (src/dst)IP adress;can i use this
#iptables -L -n -v -x
with the other options that get only byte of the specific IP address?
View 4 Replies
View Related
Dec 5, 2010
I'm running Ubuntu 10.04 and all was well on my home network until a household member decided to get a laptop and jump on my network. All he does is watch videos on ....., download crap from P2P sites, and maybe even watch p0rn. Is there something I can use to control this or maybe set my router to give him the minimum resources available? Also, I want to block him from downloading junk from P2P sites or places he might get a virus. I'm on a D-Link DGL 4500 Router.
View 1 Replies
View Related
Oct 17, 2010
For a very special project, many hardware issues, unusual limitations, etc, I'm turning my ubuntu into an access point (temporarily) by sharing the Internet from one device to another. I found out that with the devices I'm using, this can't be done with the network manager.
I need to get the internet from a device called 'tun0', to my 'wlan0', so it can broadcast it as a very special access point. I've read that there are ways to do this with the terminal.
View 2 Replies
View Related
Sep 1, 2011
is there any way to monitor each application network bandwidth usage ?I've used gnome-system-monitor, but unfortunately it just show the total network activity
View 3 Replies
View Related
Apr 19, 2010
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.
View 1 Replies
View Related
Apr 8, 2011
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .
View 5 Replies
View Related
Feb 1, 2010
On this box I have Two seperate Ubuntu installations. Recently in both I seem to be having the same problem. I initially can connect to the internet as per normal and use any internet application. But after a period of time, sometimes just minutes, sometimes hours, even though the icon says connected, I cant update pages or send emails etc because there is no actual connection. My Physical connection is good I know - My Ubuntu laptop and Windows gamming PC connect fine during this period. So
Does this suggest an intermittent hardware fault or is there some thing in Ubuntu I can check to make sure that it is setup correctly and nothing has been corrupted? I am a lay PC person - I dont really want to be command prompting - Plug & Play and Point & Click is my limit.
View 2 Replies
View Related
Jan 7, 2010
I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.
It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"
Code:
ADVISEADDR:error in specifying interfaces: no existing ip interfaces found
#lspci
Code:
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network
[code].....
View 5 Replies
View Related
Apr 16, 2010
If I try to add a new interface (eth1) to /etc/network/interfaces, I get
Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
How do I add 2 interfaces and get anyone of them to work, as available ?
View 5 Replies
View Related
Jul 24, 2011
I'm using ubuntu 11.04 and have a DSL connection straight from my local telephone (landline) provider.I need a ubuntu app, preferably a daemon/service (that I can start up on boot) that, in essence, can simply log to a file, on a per session basis (with timestamps of course), the bandwidth I use (download + upload bytes).
I'm not interested in logging site info etc., just want raw data usage so at the end of the month I can run some summary reports on it.Basically I was to see if my ISP is cheating me or not (and in general to control myself on my HUGE ..... + ISO download habbits)..I need nothing fancy, even a basic command will do in which case i'll be happy to write my own basj script for that...
View 3 Replies
View Related
Aug 6, 2010
I've come across a really strange issue with one of my RHEL servers. The "free" command shows that 7019 MB of memory are actually in use by my system, but when summing up the actual usage (or even virtual usage like the example below) it doesn't add up - the sum is far less than what is reported by "free":
Code:
[root@server1 ~]# free -m
total used free shared buffers cached
Mem: 12011 7946 4065 0 4 23
-/+ buffers/cache: 7919 4092
[code]....
View 2 Replies
View Related
Jan 25, 2010
I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:
Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255
View 12 Replies
View Related
Jan 5, 2010
My wireless usb network adapter is constantly using ~100bytes/s even when there is nothing I can think of that needs to talk to the internet. Is there a way to find out what programs are using the internet?
View 2 Replies
View Related
Jul 6, 2010
The Wifi is connected to my router but it still will not let me access the Internet or any other Internet based operation. (I am running 10.04, I had just installed and and now am trying to get the internet connection running)
View 6 Replies
View Related
Aug 3, 2010
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
View 4 Replies
View Related
Jul 27, 2010
I have a desktop, a laptop, & a wireless router. The router, unfortunately, doesn't support dd-wrt, tomato, etc firmware, but I would still like to prioritize voip/web browsing over bulk Internet traffic. I hope I can offload the router's missing QoS to my desktop.
Is it possible to have the laptop's connection go from the wall to the router to the desktop, where the desktop could perform the QoS of tomato, then continue on to the laptop? I'm a bit of a noob to networking (subnets?) but do well enough following good instructions.
As for the program that would do the QoS... Don't some Linux machines basically work as super-powered routers for businesses? So there must be some package but couldn't find one. The closest I got was wondershaper but it only shapes traffic for the computer on which it's installed; it might form part of the solution but falls short on its own. other devices should be able to access the Internet normally if the desktop is turned off, & work with other devices like a (jailbroken) iPod Touch.
View 1 Replies
View Related
Jul 15, 2009
I feel little silly asking this, I accidently removed from my gnome panel my internet connection, volume control and battery indicator on F11. how can I add this back. It does not show up in the add to panel menu and the applications do not give you back the default feel.
View 1 Replies
View Related
Jul 12, 2010
I want to control the limit of cpu usage of the whole system to a certain percentage, similar to cap the VCPU usage of a virtual machine. Is it possible?
View 4 Replies
View Related
Jul 15, 2011
All of a sudden, none of the applications are able to connect to the internet, except the web browser. I use Google Chrome and sometimes Mozilla firefox.
There is a network proxy and I did apply the network proxy setting system wide.
Applications like Dropbox, Messenger etc stopped connecting to internet which were working very well until yesterday.
View 1 Replies
View Related
Apr 24, 2010
I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the execution in a low memory environment without creating a virtual machine?
View 1 Replies
View Related
May 3, 2010
As the thread states, I wonder why my RAM usage is about 56% without any application running. It turns to 58% while opening Firefox (with only one Tab/Page opened) and typing this post. Is there something wrong?
View 9 Replies
View Related
Nov 13, 2010
I recently noticed my RAM problem. When I start any application it increases RAM usage but even after I close it RAM usage doesn't go down. Instead when I restart that application RAM usage goes up again. Using ubuntu 10.10
View 6 Replies
View Related
Aug 13, 2011
I was looking into using control groups to limit the memory usage of each user on my CentOS system. I was told that this required me to recompile the kernel to have cgroup support. Is this true? Or is there a kernel module that will allow cgroups to work for users and groups on the system without kernel re-compile? Or, is there another way to limit the users memory usage? I have tried ulimit and it doesn't seem to work right.
I ask since this setup will be on a VPS system, that means to re-compile the kernel I need to use Xen instead of OpenVZ. Plus I have never in my life re-compiled the kernel, least of all with different modules ha ha ha so I would have to pay my NOC to do it. So if I don't HAVE to recompile the kernel to get cgroup support.
View 2 Replies
View Related