avhai 탐색 서비스 충돌문제.

bono011의 이미지

unity에서 ubuntu 고전으로 갔습니다.
그러니까 인터넷 시작시 avahi 탐색서비스와 충돌을 일으킨다고 하네요.
ms windows7 에서는 무선인터넷이 빠르다가, ubuntu로 갈아탄후 느려지길래
제 컴퓨터가 ubuntu에 최적화가 안되서 그런가 싶었는데 -_-
전에 보니까 avahi와의 충돌이 있었더군요.

전에 다른분이 올려주셨던 해결책 입니다. 우분트 8.04 더군요.

The dreaded eth0:avahi Ubuntu Feisty bug

I have a very simple setup. One wired network card, that's it. No wireless cards at all. Got a brand new machine with a freshly installed Feisty, on Thursday. Worked like a charm, I could surf the Internet with Firefox, and it was fast.

Immediately after the first reboot, the day after, I couldn't access the Internet anymore. My other two machines , who uses the same router/DHCP server, were still working, so I knew it wasn't a network problem. I could ping the router from the Feisty machine, but with packet loss ratios ranging between 40% - 100%. Firefox could not connect to Google or the internal routers webadmin GUI.

Network manager was showing an IP address of 0.0.0.0. If I used System->Administration->Network Tools->Devices, it showed:

* lo
* eth0 (IPv6)
* eth0:avahi (IPv4)

To make a long story short, this is what worked for me, to get it working again:

1. Network manager works best with only the loopback interface specified in the /etc/networking/interfaces file. Comment out lines in /etc/networking/interfaces, leaving only the loopback interface. Make a backup copy first ! I had to use vi, the other editor I tried left invisible characters which messed up the file completely.

sudo cp /etc/network/interfaces /etc/network/interfaces.bak
sudo vi /etc/network/interfaces

Your /etc/network/interfaces should look something like this after the edit:

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

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
# auto eth1

# iface eth1 inet dhcp

2. Next, get a DHCP address for eth1, overriding NetworkManager:

sudo dhclient

3. OK, we now have Internet access again and can use apt-get to reinstall a broken package

sudo apt-get --purge install avahi-autoipd --reinstall

4. Reboot.

After the reboot, Network Manager showed a proper IP address and not 0.0.0.0
I got Internet access back, and things were back to normal.

Using System->Administration->Network Tools->Devices, now showed, after fix:

* lo
* eth0 (IPv4, IPv6)

These links helped me fix the problem:

* https://help.ubuntu.com/community/WifiD ... orkManager
* https://bugs.launchpad.net/ubuntu/+sour ... +bug/78078
* https://bugs.launchpad.net/ubuntu/+sour ... +bug/82927
* http://ubuntuforums.org/archive/index.php/t-387319.html

omingo - stuff worth sharing about Ubuntu

Articles

* The dreaded eth0:avahi Ubunty Feisty bug
이 글을 공유하기:

bono011의 이미지

지금 구글링 중입니다만......

혹시 아시는분, 우리나라에서는 별로 문제가 안되는지 문서가 안나오네요..
저에게 조금의 아량좀 베풀어 주세요..

bono011의 이미지

서칭해서 해결책 찾아서 해결했습니다.
인터넷 환경 때문에 그런거였군요...
제대로 서칭 안하고 올려 죄송합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.