Ubuntu Networking :: Avahi Causing The Packet Loss?
May 5, 2010
I got a new X201 which is running Ubuntu 10.04. While at home, everything is fine, at work, I encounter some issues with wireless. the signal cuts in and out repeatedly.Here's the output of ping. I set it to ping a server every 90 seconds, 10 times. So this is a snapshot of 15 minutes of network activity...
Code:
PING (REDACTED) bytes of data.
64 bytes from (REDACTED): icmp_seq=1 ttl=252 time=1.50 ms
64 bytes from (REDACTED): icmp_seq=2 ttl=252 time=2.13 ms
64 bytes from (REDACTED): icmp_seq=3 ttl=252 time=1.38 ms
[code]....
Also I tried this (from a 2 year old thread which was most relevant solution I could find):
Code:
Changing AVAHI_DAEMON_DETECT_LOCAL=1 to AVAHI_DAEMON_DETECT_LOCAL=0 in /etc/default/avahi-daemon has got rid of the irritating pop-up. Basically, every 5 minutes or so, for a solid 60 seconds or so I get no signal. I've tried updating the kernel, and doing apt-get remove avant-daemon, but still have problems.
I am just starting my adventure into Ubuntu. After installing and configuring Shrew Soft in Ubuntu 10.04 64Bit, I am having some serious packet loss issues. The LAN is wireless, however the only packet loss I experience is over the tunnels. I have tried different algorithms, and it seems as I fiddle with the MTU client side, it clears a bit, but the best I have managed is 23% loss average.
I try to setup a locale network between 10 (Web) Servers (openSuse 11.2), each Server is connected to the internet (eth0) which works fine on all servers.
A 2nd NIC eth1 (1GBit rtl-8169) on each Server is connect to a Switch and should function as a LAN. I installed/configured the 2nd NIC with yast, and than added a route for the local network (192.168.20.0) to use eth1. So far every thing works (ssh for example), but I have a packet loss of 10%-60% (ping) on the local network, and I cant find the reason for the packet loss. I already installed a Debian Lenny on 2 Servers (just to test) but I have the same problem on Debian.
No firewall or any other application is in the way. With tcpdump I could figure out that the packages are send but never show up on the destination server.
I put some more information about how I configured the LAN below. I have not done this my first time and from my experience if something is wrong with the network configuration (wrong routing, firewall in the way, etc.) this usually leads to a packet loss of 100% or the destination is simply not reachable.
The 2nd NIC is installed with either yast on suse , or by editing /etc/network/interfaces on debian. The Kernel module rtl8169 is loaded.
I'm using kubuntu 9.10 desktop edition as a server and I set the IP statically, what happens is that when I ping it from another machine on the same network, I get intermittent packet loss (up to 80% and sometimes even higher). When I ping any other machine on the local network everything's fine with 0% packet loss. Packets go directly through switch, no router or anything in between.
I suspected wiring issues, but that doesn't seem to be the problem after I changed the wiring. I was connected to wireless and suspected that but no go either. Same thing when I turn wired. I just changed the ethernet card suspecting drivers but that's no good either. Iptables is a cleanslate installation, it's totally empty.
iwconfig shows that the bit rate is 130Mb/s and link quality is 98/100. I'm using the wcid network manager instead of defaul gnome one. I'm getting lots of packet loss and performance is very bad. The connection is practically unusable. I've tried installing the compat wireless backport package but that did not work at all.
I have 3 Dell Precision M4400 machines. After getting updates yesterday or today, I get random network dropouts like crazy, on wired or wireless. On one machine I was able to turn off ipv6 in grub and reboot, and it works now. However on the other 2 machines, still have the same problems. All 3 are running 9.10 64 bit. Is there a way I can back out the updates so the network works again? Anyone else see this behavior after updates today?
I have a following configuration: 4 PCs (say, A, B, C and D), running Ubuntu or Debian, interconnected using a gigabit switch, which is connected to the Internet. Two machines (say, A and B) also have a direct private connection between them (provided by another pair of NICs).
Now, when I test the connection performance with iperf, the results vary. The private connection between A and B performs well - about 930Mbps using iperf's UDP test. Between C and D it is about 800Mbps which I find tolerable. Packet loss when running these tests is negligible.
However, when I run iperf between any of {A,B} and {C,D}, the performance significantly drops as there is a huge number of lost packets.
For example, here is the result of testing between A and C:
Why is there such a large number of packets which are generated, but lost somewhere?
A<->B private link works fine, so system level parameters on both A and B are correct. Furthermore, C<->D works ok, so I guess I shouldn't blame the switch.
Is there a per-NIC configuration that I should check or it smells like a hw problem? Problematic NICs on both A and B are of the same type - Allied Telesyn AT2916T.
I am running Slackware 13.0 on a old dell dimension 4500. The install went fine. sound worked, graphics where good. Everything was going perfect. until i worked on wireless.i have a realtek rtl8185 wireless chipset card. I got the wireless. Linux wireless driver. It worked on both Mint 5.0 and backtrack 4.0.so I untar the file. cd to the dir and type make then make install and reboot. like I have always done.
I was having to fight with wpa_gui and finally got it working but then it would go in and out on the connect and disconnect feature. so I tried using iwconfig. did not get muc luck with that either so i installed wicd and finally got a ip address after fighting with it would give me in a ping like 75% packet loss. so I read a lot of post and try to find stuff before I post. and while reading I learned that you guys normally ask for info on the hardware and software so here you go. but I will say first that I read about adjusting the mtu to fix packet loss, I showed some of the changes I made in it around the pings I know it is a mess I am sorry I tried to make it readable. if you need more information let me know. I cant get online using a web browser or if I can only for one or two pages. any help would be great. thank you.
Code: bash-3.1# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1
I have problems with my network speed when i ping my proxy server I end up getting a high packet loss generally more than 30%.I have tried to use various network monitoring softwares like etherape, wireshark, tcpdump but I am not able to get to the bottom of the problem.basically I am trying to find out where the lost packets are going.
I am running Linux Mint Isadora 9 and recently installed a wireless USB adapter. After installing RT3070 drivers for my RT2070 card I got everything working and life was good. Now, all of the sudden I am having a world of problems connecting to the internet. I can connect to my AP fine, but I cannot access the internet. If I attempt to ping my AP by IP address I get severe packet loss. I cannot ping my AP by url [URL] at all so Im guessing there are some DNS issues as well.
Code:
poe jk # lsusb Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 003: ID 046d:c045 Logitech, Inc. Optical Mouse Bus 003 Device 002: ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard
I am recently trying to get a steady wireless connection running. I am currently using the default settings/driver Fedora 13 is stocked with. As my internet browsing is somewhat up and down in load times, I decided to check in a video game which is generally a good test for me. haha I am harshly spiking and cannot find the source of my problem so my guess is a driver issue.
lspci | grep Network:
Code:
Code:
It is is seemingly right, my Windows 7 harddrive works just fine, this is just one last of the few issues I'm having from fully formatting my winblows HD to use as Linux storage.
I cannot find any native AR5008 Linux Drivers for my card and it has been a frustrating day. I guess I'm not cut to be a network analyst just yet.
System specs: ASUS P5Q SE/R Intel Core 2 Quad Q9550 4GB DDR2 667 Gigabyte GTX465 1G TP LINK TL-WN851N Wireless card
I adjusted my routes to use my ppp1 (VPN) connection for almost all browsing. Have I misconfigured something.? Some more background information: My VPN is about halfway around the world from where I am / my PPPoE connection. I've already changed my DNS servers in /etc/resolv.conf to Google's 8.8.8.8.I get around 2 kBps on Ubuntu and 50 kBps on Windows using the same VPN. =/
I'm beginning to write a custom RTP implementation and want to test its resilience to UDP traffic. I've searched on the web and all the links I can find are for analysing actual traffic, not generating it or messing it up.
Does anyone know of any software (preferably free software) that will, for example, take actual UDP traffic and drop packets, duplicate some and make some arrive late/out of sequence?
I am running Redhat linux 8.0 with 2.4.22 kernel. I am using this server for traffic shaping my static ip clients using tc. There are about 250 clients and I am running mrtg to monitor traffic via cronjobs each 5 minutes. When mrtg run I see too much packets loss in my network. What could be the problem in my server? RAM is 1gb and processor is Intel Pentium D 2.66GHz.
i made a video and i wanted to put it on my myspace(video upload) and it justs fade to grey and becomes unresponive. that it goes back to normal but no progress. so then i tried going to image shack and uploading a picture. can't do that either. tried mediafire, videos, vimeo, nothing.
so i tried on my desktop(desktop running 9.10 32 bit. laptop(the first one i tried) running 9.10 64 bit. it didn't work on that either. i know it's not my isp because it works on my ps3(no ubuntu). not my firewall and tried without without my router. didn't work either. i tried upgrading flash on both of them and on my desktop i can upload some pictures to imageshack now. nothing else though. i have tried using both firefox and opera.
i pinged yahoo and this is what i got:
6 packets transmitted, 6 received, 0% packet loss, time 5007ms rtt min/avg/max/mdev = 72.732/73.437/75.024/0.761 ms
I am the new user to ns-2. I would like to know is it possible to send the keys or some value as the packet data (content of the packet) in ns-2 (for wireless environment).
I have a few ubuntu machines in my house, 1 mythtv backend server with other services as well, 2 mythbuntu frontends boxes hooked up to tv's etc. I wanted to push the audio from my laptop out over pulseaudio to the machine connected to the AV equipment.
I could not see any other pulseaudio sinks in padevchooser... this lead me down the road to investigating avahi.
When I run avahi-browse on my laptop (hydrogen) it only returns the services published from itself:
My laptop has vmware on it, and I've changed the vmnet intefaces to not support multicast so avahi ignores them. but I'm still at a loss to why my laptop can't see the other machines on my network with avahi (mdns).
why my new Ubuntu 10.04 computer won't automatically advertise afp thru avahi to the network? This is a new install of Ubuntu 10.04, I downloaded and installed newest version of Netatalk, and the Avahi daemon. Both installed with no issues. (I followed instructions from articles on here) I can manually login to Ubuntu afp share from my iMac, by going to "Go to Server" and typing in the ip 10.0.1.3 and putting in the Ubuntu username and password. I just can't get it to advertise or broadcast itself to the network like it is supposed to using netatalk and avahi. I've followed all of the tutorials I can find on this, but nothing works. Even if I issue the command to restart avahi daemon, Ubuntu still isn't seen in the iMac's finder window? Because I can manually login to it, I am assuming that netatalk is working properly. I've even tried to issue the command to restart netatalk first, then restart avahi, but still nothing?
I've got problem with Avahi on my laptop. It can see the other machines and services on the LAN but not it's own local services and I have no idea why. The laptop (hostname: forseti) sports Ubuntu 10.10, installed aavahi-daemon, avahi-dnsconfd and libapache2-mod-dnssd. Firewall is disabled. Other hosts on the LAN are: magni (openSuSE 11.4 with lots of services published and visible from forseti) and freya (Ubuntu 10.10 with gnome-user-share up & running). Forseti can see the other hosts and their services but not itself. The other hosts can't see forseti. Checked both with nautilus and CLI's avahi-browse.
Since I've updated to 9.10 my avahi-daemon sometimes won't start at boot.I've to "restart" it manually.I reinstalled it without success.Has anyone here the same problem? Or a useful solution?
I am wondering if it is possible to use avahi to resolve hostnames across a gateway. With gateway I mean a linux box with ip_forward'ing enabled to pass traffic between interfaces. The gateway connects two networks with all hosts running Ubuntu and specifically avahi-daemon. The gateway is not running avahi and I am not able to install it there. The firewall configuration on the gateway is not blocking any traffic between the networks. I am able to send UDP packets from a host on one network to a host on the other.
When I run tcpdump on a host and try to ping that host.local from a machine on the other network I see no traffic. This means that the gateway is not passing the multicast traffic along. Is there any special setup required on the gateway to allow this?
I am sharing some folders from my Ubuntu machine, using Netatalk and Avahi, over my network.I access these folders from my Mac using the AFP protocol.When all is well, my Ubuntu folders show up in Finder on the Mac and I can connect to them.But at random intervals, the Ubuntu folders will disappear. Sometimes they reappear a short while later.At other times, they wont appear until I go to my Ubuntu machine, and re-save (even if i don't change anything) the file:/etc/avahi/services/afpd.service.
I do not quite understand how the virtual interface wlan0:avahi appeared. My guess was, my request "sudo dhclient wlan0" failed to get a valid ip, although I did not get any error message from running that command. I executed "sudo dhclient wlan0" again, but still no error message or network connection.
Later today, I tried to connect to a public wireless network. Still got the same error. But when I reboot my machine, no such problems.
In a previous thread I had detailed an issue I was having with avahi not firing up properly at startup.As a bit of background: the services available on the server aren't advertising until I restart the avahi-daemon manually after startup - The syslog shows the daemon starting on boot, but it never seems to access the service file.I was wondering if it is possible that this may be a file permission problem?
fedora.local = F14 default mingisapsycho.local = Mac OS X 10.6.4
I want to be able to ssh/scp between these two machines using:
ssh -l login fedora.local and ssh -l login mingisapsycho.local
rather than using IP addresses. Neither of these works, from either of the two machines. This does work between Mac OS machines. And I can ssh if I use IPs. So it seems that by default Avahi is not configured even though it is running? I really don't understand. By "does not work" I mean I get on both machines: ssh: Could not resolve hostname blah.local: Name or service not known