[완료] windows7 VMware 인터넷 연결 문제. (apt-get 동작포함)

doodoori2의 이미지

안녕하세요

Linux 2.6.26-2-686
Debain5.0.3 netist 상에서 apt-get이 동작하지 않아서 질문을 올립니다.

연결이 되지 않는다고 나오는데,
어떤 부분에서 막혀있는지 파악이 안되고 있습니다.

apt-get install

#apt-get install libncurses5-dev
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
다음 새 패키지를 설치할 것입니다:
  libncurses5-dev
0개 업그레이드, 1개 새로 설치, 0개 지우기 및 6개 업그레이드 안 함.
1546k바이트 아카이브를 받아야 합니다.
이 작업 후 6599k바이트의 디스크 공간을 더 사용하게 됩니다.
경고: 다음 패키지를 인증할 수 없습니다!
  libncurses5-dev
확인하지 않고 패키지를 설치하시겠습니까 [y/N]? y
0% [<a href="http://ftp.kr.debian.org" rel="nofollow">ftp.kr.debian.org</a>(143.248.234.110)에 연결하는 중입니다]
  <a href="http://ftp.kr.debian.org:80" rel="nofollow">ftp.kr.debian.org:80</a>에 연결할 수 없습니다 (143.248.234.110). 연결 제한 시간이 초과했습니다
http://ftp.kr.debian.org/debian/pool/main/n/ncurses/libncurses5-dev_5.7+20081213-1_i386.deb 파일을 받는 데 실패했습니다  <a href="http://ftp.kr.debian.org:80" rel="nofollow">ftp.kr.debian.org:80</a>에 연결할 수 없습니다 (143.248.234.110). 연결 제한 시간이 초과했습니다
E: 아카이브를 받을 수 없습니다. 아마도 apt-get update를 실행해야 하거나 --fix-missing 옵션을 줘서 실행해야 할 것입니다.

apt-get update

# apt-get update
오류 <a href="http://ftp.daum.net" rel="nofollow">http://ftp.daum.net</a> gutsy Release.gpg
  <a href="http://ftp.daum.net:80" rel="nofollow">ftp.daum.net:80</a>에 연결할 수 없습니다 (211.62.252.36). 연결 제한 시간이 초과했습니다
오류 <a href="http://ftp.daum.net" rel="nofollow">http://ftp.daum.net</a> gutsy/main Translation-ko
  <a href="http://ftp.daum.net" rel="nofollow">ftp.daum.net</a> http에 연결할 수 없습니다:
오류 <a href="http://ftp.daum.net" rel="nofollow">http://ftp.daum.net</a> gutsy/universe Translation-ko
  <a href="http://ftp.daum.net" rel="nofollow">ftp.daum.net</a> http에 연결할 수 없습니다:
오류 <a href="http://ftp.daum.net" rel="nofollow">http://ftp.daum.net</a> gutsy/restricted Translation-ko
  <a href="http://ftp.daum.net" rel="nofollow">ftp.daum.net</a> http에 연결할 수 없습니다:
오류 <a href="http://ftp.daum.net" rel="nofollow">http://ftp.daum.net</a> gutsy/multiverse Translation-ko
  <a href="http://ftp.daum.net" rel="nofollow">ftp.daum.net</a> http에 연결할 수 없습니다:
패키지 목록을 읽는 중입니다... 완료
W: <a href="http://ftp.daum.net/debian/dists/gutsy/Release.gpg" rel="nofollow">http://ftp.daum.net/debian/dists/gutsy/Release.gpg</a> 파일을 받는 데 실패했습니다  <a href="http://ftp.daum.net:80" rel="nofollow">ftp.daum.net:80</a>에 연결할 수 없습니다 (211.62.252.36). 연결 제한 시간이 초과했습니다
-이하 생략- 

install도 안되고 upgrade도 안됩니다.
물론 인터넷이 끊겨있진 않습니다. -_-;;

외부로 ping 때리면 잘 갑니다.

# ping mirrors.kernel.org
PING mirrors.all.kernel.org (204.152.191.39) 56(84) bytes of data.
64 bytes from mirrors2.kernel.org (204.152.191.39): icmp_seq=1 ttl=128 time=154 ms
64 bytes from mirrors2.kernel.org (204.152.191.39): icmp_seq=2 ttl=128 time=147 ms
64 bytes from mirrors2.kernel.org (204.152.191.39): icmp_seq=3 ttl=128 time=153 ms
 
# ping kldp.org
PING kldp.org (211.115.85.9) 56(84) bytes of data.
64 bytes from panic.kldp.org (211.115.85.9): icmp_seq=1 ttl=128 time=2.17 ms
64 bytes from panic.kldp.org (211.115.85.9): icmp_seq=2 ttl=128 time=9.11 ms

혹시나 싶어 /etc/apt/sources.list 에다가
deb http://ftp.daum.net/debian/ gutsy main universe restricted multiverse
deb-src http://ftp.daum.net/debian/ gutsy universe main multiverse restricted
를 추가했는데 여전히 안됩니다.

http://ftp.kr.debian.org/debian/ 가 웹에서 접속이 가능한 것으로 보아
미러 사이트 서버가 죽은것 같지도 않고.

추가적인 정보를 좀 더 알려드리면
Windows7 에서 VMware6상에서 NAT로 네트워크 잡아서 작업중입니다.
putty로 포트 포워딩해서 내부 접근중인 셈이고요.

그리고 지난 주 까지 잘 동작했었는데
이번주에 XP에서 windows 7으로 갈아타면서 apt-get이 동작하지 않기 시작했습니다.
windows7이 정확한 원인인지는 잘 모르겠습니다.

데비안 설치 후
기본 세팅 + apm 삭제 이후
거의 아무런 동작도 하지 않았기에
DNS가기전에 hosts 파일에 이상한 ip를 박아놨다거나
그런 일도 없습니다..

어디서 뭘 더 찾아봐야 할까요.

살려주세요 ;ㅁ;

doodoori2의 이미지

글을 쓰다가 windows7 보안 정책에 의해
내부 프로그램(VMware)이 외부 프로그램과 통신을 하는걸 막고있는건 아닐까 라는 생각이 들었습니다.
그래서 vmware를 관리자 권한으로 실행했는데
여전히 안되는군요.

여태껏 VMware를 쓰면서 한번도 이런일을 해본적이 없지만
apt-get 으로 패키지를 전송할때 사용하는 포트가 따로 있는지
그에 해당하는 포트도 포워딩을 해줘야 하는걸까요?

애초에 컴퓨터 내부에서 커넥션을 만들어가니까
별로 상관없을거같은데 -_);;

doodoori2의 이미지

오류 http://volatile.debian.org lenny/volatile/main Translation-ko
volatile.debian.org:80에 연결을 초기화할 수 없습니다 (2001:610:1908:a000::149:227). - connect (101 네트워크가 접근 불가능합니다)
[IP: 2001:610:1908:a000::149:227 80]

..?!

Prentice의 이미지

Gutsy면 우분투 코드명일텐데 조금 이상하네요. 혹시나 싶어서 말씀드려 봅니다.

doodoori2의 이미지

ftp.daum 추가하면서 ubuntu 를 debian으로 수정했는데
gusty를 lenny로 수정하지 않았었군요 ;;

감사합니다. :)

그러나 여전히 update가 안되는 무심한 apt-get ㅠ

doodoori2의 이미지

ping 은 가는데
인터넷이 연결이 안될 수 도 있는 것이었군요;

windows7 VMware 인터넷연결 등의 검색을 통해 해결하였습니다.

bridge로 연결해서 새로 IP를 잡아오는 방법과
NAT 설정을 바꿔주는 방법이 있었는데 후자를 택했습니다.

http://tong.nate.com/armland/49494833

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.