우분투 8.04 설치시 ip4가 eth0:avahi로 가는 문제 좀 봐주세요..

wolfishungry의 이미지

7.10 에서는 잘 되던 인터넷이 하디에서는 안되는데, 라이브 시디를 각각 돌려서 확인해본결과...

네트워크 설정인가? 관리인가?(위도우라 확인이 안되네요.ㅜㅜ) 거기서 첫번째 탭애서 여러 가지 장치 보니깐 7.10에선 eth0 이라는 장치 하나에 ip4, ip6두개 다 들어가 있더군요.
근데 하디에서는 eth0은 ip6만 잡고 있고 eth0:avahi라는 이상한 놈이 ip4 를 잡구 있더군요.. 그래서 생각한게 하디에선 이놈 때문에 인터넷이 안되는구나.. 라고 생각중입니다.ㅜ

하여튼 시냅틱 관리자에서 avahi들어가는 놈들을 지워버렸습니다. 아 eth1:avahi는 사라졌더군요. 문제는 eth0 장치에 ip4에 관한게 아무것도 없네요..ㅜㅜ
검색을 해보니 avahi가 dns를 자동으로 뭐 어쩌고 해주는 거라는데.. 저는 그걸 지워버려서 DNS가 셋팅이 안되는거겠죠...?
그럼 7.10에서 쓰던 avahi 같은건 없을까요?? avahi탓으로 돌리기는 뭐하지만.. 이거 참.. 버저마다 점점 힘들어지네요 우부투.
아시는 분은 꼭 좀 답변 부탁드립니다.

아직 한국에선 저같은 실패자가 없는지 한국어 웹에선 검색해도 안나오고 구글에서 외국인 유저들은 이걸로 고생하는 사람이 꽤 있나보군요.
대충 검색해보니깐 이런 글이 보이네요. 왠지 이 문제가 맞는거 같습니다.
하라는데로 한거 같은데.. 제가 영어도 짧고 컴퓨터도 짧아서.ㅜ
보시구 좀 쉽게 정리 좀 해주시면 감사드리겠습니다.

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

댓글 달기

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 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • 사용할 수 있는 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>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • You can use Textile markup to format text.
  • 사용할 수 있는 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>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <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].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 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>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.