|
News,
Internal,
Projects,
Home Software, Support, Documentation |
|
[Áú¹®]PPP¼³Á¤À» ÇÏ°í ³ÈÄ
ÀüÈÁ¢¼ÓÀ¸·Î InternetÀ» »ç¿ëÇϱâ À§Çؼ /etc/ppp.conf, /etc/hosts, /etc/resolv.conf ¸¦ ¼öÁ¤Çß½À´Ï´Ù. Á¦°¡ Á¢¼ÓÇÏ´Â °÷Àº UnitelÀ̸ç Linux¿¡¼´Â Á¢¼ÓÀ» ÀßÇØ¼ »ç¿ëÀ» Çß¾ú½À´Ï´Ù. ±×·±µ¥ FreeBSD¿¡¼ Á¢¼ÓÀ» Çϸé Unitel¿¡´Â Á¢¼ÓÀ» ÇÒ¼ö Àִµ¥ ´Ù¸¥ Site¸¦ Á¢¼ÓÀ» ÇÒ¼ö°¡ ¾ø½À´Ï´Ù. Á¦°¡ »ý°¢Çϱ⿡´Â Default GatwayÀÇ ÁöÁ¤ÀÌ Á¦´ë·Î µÇÁö ¾Ê¾Æ¼ »ý±ä ¹®Á¦ÀÎ°Í °°Àºµ¥ ¾î¶»°Ô ÇØ¾ß µÇ´ÂÁö´Â ¸ð¸£°í Àֱ⠶§¹®¿¡ ÀÌ·¸°Ô Áú¹®À» µå¸³´Ï´Ù. ±×¸®°í pppÁ¢¼ÓÀ» Çϱâ Àü¿¡ ping localhost¸¦ Çϸé #ping localhost
PING localhost.nightrose.com (127.0.0.1): 56 data
bytes
ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host ping: sendto: No route to host --- localhost.nightrose.com ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss ÀÌ·±½ÄÀ¸·Î Message°¡ Ãâ·ÂÀÌ µÇ°í ¶Ç ppp -ddial unitelÇÏ°í³ ÈÄ¿¡´Â localhost¸¦ Á¦´ë·Î ã°í ÀÖ½À´Ï´Ù.
¹®Á¦°¡ ¹ºÁö °¡¸£ÃÄ ÁÖ¼ÌÀ¸¸é ÇÕ´Ï´Ù. red# ifconfig -a
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 203.240.196.1 netmask 0xffffff00 broadcast 203.240.196.255 ether 00:10:4b:69:6c:e7 media: 10baseT/UTP <half-duplex> (autoselect) supported media: autoselect 100baseTX <full-duplex> 100baseTX <half-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500 tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1514 inet 77.2.14.224 --> 77.2.14.250 netmask 0xffffff00 sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552 ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500 lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384 red# netstat -rn
Routing tables Internet:
Destination Gateway Flags Refs Use Netif Expire default 77.2.14.250 UGSc 4 0 tun0 77.2.14.250 77.2.14.224 UH 5 0 tun0 203.240.196 link#1 UC 0 0 xl0 203.240.196.1 0:10:4b:69:6c:e7 UHLW 0 160 lo0 red# Á¦°¡ ¼öÁ¤ÇÑ FileµéÀÔ´Ï´Ù. -File---------------------------------------------
/etc/ppp/ppp.conf default:
set device /dev/cuaa0
set log Phase Chat LCP IPCP CCP tun command
set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 120
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns unitel:
set phone 01433 set authname kkamsyon set authkey xxxxxxxx --------------------------------------------------- /etc/hosts
127.0.0.1 localhost.nightrose.com localhost
203.240.196.1 red.nightrose.com red 203.240.196.1 red.nightrose.com. 203.241.132.60 unitel.co.kr unitel 203.241.132.92 unitel.co.kr uniwin /etc/resolv.conf
domain nightrose.com
nameserver 203.240.196.1 nameserver 203.241.132.60 nameserver 203.241.132.92 ------------------------------------------------- |
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2002/03/26 13:39:07 $ |
|