Ubuntu Networking :: Getting Two Connections To Play Nicely Together?
Jun 12, 2011
Is there any way to turn off the load balancing that occurs when ubuntu detects two active network connections? To be more specific, I have two networks set up, one of which is supposed to be for regular web traffic while the other network is dedicated to streaming various things throughout the house. Whenever I try to connect my server to both networks at once ubuntu "load balances" traffic from the web network onto the streaming network, which completely defeats the segregation I was going for. So far all of my attempts to turn off that behavior haven't worked at all. I'm currently running Ubuntu 10.10.
This setup used to work: MS Access running under Win2K in a virtualbox on a Debian machine. Win98 running on a 230MHz PC using VNC to use the MS Access. The Windows PC is upstairs, the Linux boxes are downstairs. I have not used this setup for about a year or more. Since then KDE 3.5 was vandalised and renamed KDE4. I upgraded the Virtual machine to Win XP.
Now the Linux boxes are not accessible via VNC. All the client gets is a grey screen. This goes for Linux-Linux and Windows-Linux connections. I can connect from the Win98 to the Virtual machine but the connection is slow and the display is poor. I have gathered that VNC and KDE4 do not play nicely together. I would prefer a "least effort" solution for the time being. Later on I can set up a Linux box to replace the Win 98 one.
I can eventually use the ssd for a Gentoo install but it takes too much work(more than it should). What happens is that every live or install cd I've tried automatically decides that the ssd is a raid device and sets it up as raid with double the size. Its 32GB and its set up as 64GB. Of course it doesn't work.
I have to manually unmount, turn off dmraid, install and then disable dmraid completely(I have trouble doing this on OpenSuse). The SSD I'm using is a Patriot100 MLC 32GB. Other SSD's that I've tried have no problem being found and manipulated with cfdisk, fdisk or parted but my Patriot SSD just doesn't want to play nice.
i come from ubuntu installation and i have had opensuse before and i remember installing any of thede two without any problem on any of many harddisk arrangement. but thge ltest opensuse 11.3 doesnt pllay nice with my windows and ubuntu installation booting. i reember using boot loader in yast and it used to load the coorect setting from scratch. but now when i chose "propose new configuration" and it founds opensuse and three other windows!
I have just moved home and now have to place my computer a fair distance from my router. Running a cable is not practical therefore I am looking for a wireless card that plays nicely with Ubuntu (and linux in general). I am resident in the UK.
have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.
In the indicator-applet next to the clock, I have a list of programs which includes Pidgin. Now it used to be a case where if I opened Pidgin logged onto the services and closed the window, it would run in the background and i could re-open the window from the indicator-applet and get notifications of people logging on etc.Now for one reason or another that doesnt happen no more. I can open it through the applet, but if i close the window, it shuts the program down...also if Pidgin is running, i get NO notifications of people logging on, new messages etc.
When I put the machine to sleep (suspend to ram) with Ktorrent running and then wake the machine up again, the torrents that were working do resume. But they resume in a very poor fashion, continually going into and out of "stalled" status. This bad connectivity continues indefinitely.
I have to kill Ktorrent and restart it to get good data flow back for the torrents that are running. Is there an explanation for this? And is there something I can do to make the torrents resume nicely when I bring the machine back from sleep?
Neither of my wired network connections are listed in the network manager applet. I know that networking seems to be functional since I can ping local devices on the network. I can't resolve DNS names however. I suppose this is because network manager usually handles DNS? I've posted the outputs of various configurations below.
Code:
/etc/NetworkManager/nm-system-settings.cfg # This file is installed into /etc/NetworkManager, and is loaded by # NetworkManager by default. To override, specify: '--config file' # during NM startup. This can be done by appending to DAEMON_OPTS in
Is it fair to say that connLimit and hashlimit are very similiar on Linux i.e. while hashlimit caters to limits for groups of ports, they both set the connection rate limit per host? How in IPTables, do I configure a policy that limits connections on a port that encapsulates the total sum of all connections from all hosts? i.e. I do not want to allow more than 6000conn/minute for port range that is the sum of all connecting hosts?
I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.
On my CentOS 5.4 box I run dns, ssh, and smtp servers. This box also has to be able to resolve and browse websites. So basically it needs iptable rules for
TCP 22 25 80 443 UDP 53
My question is, which of these services work nicely with connection tracking? I'm a little confused about how connection tracking works. For example say this iptables rule for smtp
Code: iptables -A INPUT -s 0/0 --sport 513:65535 -d $myip --dport 25 -j ACCEPT versus
Code: iptables -A INPUT -s 0/0 --sport 513:65535 -d $myip --dport 25 -m state --state NEW,ESTABLISHED -j ACCEPT So with connection tracking what exactly does it do that my first iptables rule does not do?
Also for centos is that port range correct? 2.6 Linux kernel randomly chooses a port 513-65535 when it connects to an external smtp server or say browses a site.
When I click on the network manager icon next to the date in the upper right corner of my screen, my network connections do not show up. I have added two DSL connections on my laptop (username & password) but it doesn't show up. Everyday I need to use
Code: sudo pppoeconf if I wish to connect to the internet.
Both these connections are added in the same way on my Desktop Computer and it shows up on the network manager. One of them is even the default which connects automatically on startup.
Because it's not working I assume network manager is not compatible with my laptop. Are there patches to install or other programs that can easily manage my internet connection?
I have recently installed lucid 10.04, and I am having difficulty accessing my wireless. Following instructions to install the drivers for my wireless card, I always run into a problem when I need to configure my card. When I go to system-administration-network, there is no connections tab listed. I can only access General, DNS and hosts.
Did ragemaw ever get that missing connections tab? Mine is missing too and furthermore wireshark cannot set up on any interfaces, because it cannot find them.
So I'm going to try out opendns as an internet filter. But I'm not doing it on a network/router, just on my local machine. Using ubuntu, I read that I need to select each connection and change the dns settings.Is there a way to generically add the dns settings so that if I connect to a new network I don't have to manually update it's settings?
Alright guys, I'm out of ideas... I have a system here with three harddiscs, the first is a 500GB disc which is supposed to contain Windows 7, the second is a 250GB disc for Ubuntu 10.04 and the third is a 1TB drive which contains all my music, movies and stuff like that.
Now I installed Windows 7 first, then Ubuntu 10.04 onto the other disc.The thing is that the Ubuntu-Installer gave me the option of installing them side by side by shrinking the Windows Disc, which I don't want it to because I hate to clutter up ONE drive with more than one OS, So,after installing and rebooting into Ubuntu, I went to see if I could still start Windows 7, which I now can't.
Is there a way to have Windows 7 and Ubuntu 10.04 playing nicely together WITHOUT swapping the SATA ports or something like that?don't ask why i'm giving Ubuntu the smaller drive... I'm still a gamer, and my games need a lot of space.I just want to make a switch to Ubuntu for the times where I'm not playing any kind of Games.
By the way: Both Operating Systems where installed in 64-bit flavour.
Here is the layout of my network:My cable modem plugs into eth0 on my ubuntu server which acts as a firewall (shorewall) and dhcp server to my lan. A dd-wrt access point is plugged into eth1 and then a bridge connecting my xbox360 and another bridge connecting a desktop computer.Everything works pretty well, except a few times a day, my network will just shut down. The wireless on my macbook and my wife's laptop will just shut down, and if my xbox is running, it will lose connectivity. It will be down for maybe a minute or two, and then come back up like nothing ever happened.I never had this problem when I had just a dd-wrt router running everything instead of my server.When I ssh into my server afterwards and run dmesg, this is what I will get:
Code: [398598.251548] martian source 169.254.1.255 from 169.254.1.33, on dev eth1 [398598.251565] ll header: ff:ff:ff:ff:ff:ff:00:23:69:3d:b1:82:08:00
I have been using Ubuntu for a couple of days now and I am starting to like it alot. I decided to install it on my laptop, but getting it to connect wireless is becoming a problem. I have been searching all day on how to fix this but nothing so far has helped.I had Windows 7 installed before and it connected fine.
Is there any way to get drivers working? My hardware switch is on and i have Ubuntu 9.10 running persistently on my usb so i can download the drivers etc. and install them.
I am a user of Ubuntu 10.04 and I use Firestarter because it lets me know which IPs I am connected to, which ports are used, and which applications are using those ports. The problem is that I can't use Firestarter with my non-sudo account (well, I know that I can change my system settings to do that, but I'd rahther not do it).
So the question is: Is there any application that lets the user monitor the internet connection?
Alrighty, I have a couple of questions regarding use of the TSC for remote desktop connections. I'm connecting from my Ubuntu Desktop (Lucid) and i'm connecting to my Laptop (Windows 7) i'm running PC Tools Firewall Plus on the windows machine. The window's machine has remote assistance allowed. At the moment i'm just trying to get the TSC to work on my home network. I filled it out as follows:
Now the first time I tried to connect, about 20ish seconds passed and "The connection has timed out" appears. So I went into my Firewall and sure enough it was blocking the UDP/TCP packets that my desktop was sending. So I temporarily allowed all UDP/TCP packets. Now when I connect "Connection Refused" immediately pops up. I go into my firewall and it's allowed both inbound and outbound packets from my laptop to my desktop and vis versa. So now i'm really stumped.
Now I know how to set up port forwarding on a router so this is not that. What I want to do is, if possible, connect from Computer A to computer B and use computer B as a proxy for all of the Transmission (bit torrent) connections. I know how to do this with DNS, Http, etc etc but I'm not quite sure how to go at this with torrenting.Note that in this case Computer B is a ubuntu 10.04 server with an SSH server but no torrenting program installed.
So it snatched up this old Dell Inspiron 5100 with a WN511B wifi card. When I plug the card into the slot nothing happens and no wireless connections show up. Can someone walk me through on getting the wifi card to work?
I run a webserver Apache2, php5, and MySQL. They are all set up correctly and I can access my website at [URL] I have, also installed, noip2 to update my IP address to no-ip.com for my domain name. Here's the problem: I can access my website through that domain name on other computers, both on internet and on the same network. But I cannot access it from my own computer (using the domain name instead of localhost). I need to be able to access the domain name on my computer because some pages on my website have been defined as the address to my domain name and not localhost. I cannot change this to localhost because if I do then people outside cannot work the webpages correctly. I had the same troubles on Windows before and I simply enabled loopback connections by typing in my private IP address along with the domain name into the Windows hosts file. I use version 10.04.
I got this working om my laptop but on my desktop this keeps going wrong, its an upgraded system to 10.04. Made a standard pptp connection using network-manager (and the connection is 100% fine, working on laptop and on windoooz machine) This is syslog any ideas, i reinstalled network-manager-pptp and pptp-gnome, but no go no go..
I have an Acer AspireOne D255 netbook. I just installed Ubuntu Netbook Remix 10.10 and it looks pretty sweet.Right now, I'm on a wired connection. It's not detecting any networks, and I know at least my home wifi should show up (and usually we can get onto our neighbors!)I used to have a different model of an AspireOne (I think it was 531h but I'm not 100% sure) with UNR 10.04, and my network was detected right out of the box.
This reminds me of when I installed the desktop version of 10.04 on my iMac. I couldn't bring the wired connection to the room it was in, and my wifi didn't show up on it. I just gave up because I like my Mac so it wasn't a *huge* deal. but I definitely don't want to use this stupid Windows 7 Starter that comes on this netbook!
I've just started using ufw with the frontend gufw. I've configured it like this:
Accept everything in and out as default Block incoming FTP connections from a certain IPv4 address (brute-force for days)
Today I noticed that IPv6 connections don't work anymore. The connection to two hosts (IPv6 only) times out. As soon as I disable ufw entirely, the connections work again. The host I want to connect to is:
2001:638:a00:f00b:200:1cff:fedb:d38f port 7337 2001:638:a00:f00b:a00:6ff:fe07:cda2 port 7337
These are small telnet servers that print out a number (temperature nearby) and close again. I'm logging those values in a database.
Is ufw not IPv6-capable and blocks things it's not supposed to?
Update: ufw seems complete garbage to me... You can't even configure it while it's disabled! How am I supposed to safely activate it when the first thing it does is blocking all communications? I can't even configure it to let me in before I configure it to keep me out... And then, even if I explicitly let it pass port 7337, it still blocks it through IPv6.