´ÙÀ½ ÀÌÀü Â÷·Ê

2. ¼³Ä¡ ¹æ¹ý

* ¼³Ä¡¿¡ µé¾î°¡±â Àü¿¡...

·¹µåÇÞ ¸®´ª½º 5.2 ÀÌ»ó (Glibc 2.x)

ÀÌ ±ÛÀº x86 ¸Ó½Å¸¦ ±âÁØÀ¸·Î Çß´Ù. ¾ËÆijª ½ºÆÅÀº °ü·Ã ¸µÅ©¿¡¼­ ¼Ò½º¸¦ ¹Þ¾Æ´Ù°¡ ¸Â°Ô ÄÄÆÄÀÏÇØ ½ÃµµÇغ¸±æ ¹Ù¶õ´Ù.

Ä¿³Î 2.0 ÀÌ»ó

µÇµµ·Ï 2.2.x ¸¦ ÃßõÇÑ´Ù.

pppd 2.3.7 ÀÌ»ó

·¹µåÇÞ 6.1À̶ó¸é 2.3.10-3 ÀÌ»óÀ» »ç¿ëÇ϶ó.

¸ÖÂÄÇÑ ·£Ä«µå + µå¶óÀ̹ö°¡ ÀâÇô ÀÖ¾î¾ß ÇÑ´Ù. (³Ê¹«³ª ´ç¿¬..)

±×¸®°í ÁøÂ¥ Á¢¼ÓÀ» À§Çؼ­´Â À©µµ¿ìÁî¿¡¼­ ADSL Á¢¼Ó½Ã¿¡ ÇÊ¿äÇß´ø ``·Î±×ÀΠâ¿¡ ¾²´Â ¾ÆÀ̵ð''¿Í ``¾ÏÈ£''¸¦ ¹Ýµå½Ã ¾Ë¾Æ¾ß ÇÑ´Ù.

Áö¿ª¿¡ µû¶ó¼­ ÄÚ³Ý ¾ÆÀ̵𰡠leesop À϶§ ·Î±×ÀÎâ¿¡ ¾²´Â ¾ÆÀ̵ð¶õ¿¡´Â leesop@local À̶ó°í Àû°Å³ª leesop@ppp ¶ó°í Àû´Â °æ¿ìµµ ÀÖ´Ù°í µé¾ú´Ù. ¹Ýµå½Ã È®ÀÎÇÏ°í ½ÃÀÛÇ϶ó.

2.1 Ä¿³Î ÆÐÄ¡¸¦ ÇÏÁö ¾Ê´Â ¹æ¹ý (enternet 100 ÇÁ·Î±×·¥ »ç¿ë)

°¡Àå °£´ÜÇÏ°í, ¿©·¯°¡Áö Ä¿³Î ¹öÀü¿¡ µ¶¸³ÀûÀ¸·Î ÀÌ¿ëÇÒ ¼ö ÀÖÀ¸¸ç, º¸´Ù ¾ÈÁ¤ÀûÀ̳ª À̸¦ ÀÌ¿ëÇÒ ¼ö ¾ø´Â ȯ°æ¿¡ ÀÖ´Â »ç¶÷µéÀÌ ÀÖÀ¸¹Ç·Î, ÁÖÀÇÇϱ⠹ٶõ´Ù.

PPPoE ÇÁ·Î±×·¥À» ´Ù¿î·Îµå ÇÑ´Ù.

°¡Àå ½Å·Ú¼º ÀÖ´Â PPPoE Ŭ¶óÀ̾ðÆ®´Â À©µµ¿ìÁî µîÀÇ ´Ù¾çÇÑ Ç÷¿Æû¿¡¼­ Á¦Ç°À» ³»³õ°í ÀÖ´Â NTS »çÀÇ Enternet 100 ÀÇ Linux ¹öÀüÀÌ´Ù. ÀÌ Enternet À̶ó´Â Á¦Ç°Àº ¿ø·¡ ÀϹÝÀÌ¿ëÀڵ鿡°Ô ÆǸŵǴ ¼ÒÇÁÆ®¿þ¾î°¡ ¾Æ´Ï°í, Ư¼öÇÑ PPPoE ¼­¹ö°¡ ¹Ýµå½Ã ÇÊ¿äÇÑ Á¦Ç°À̱⠶§¹®¿¡ ±â¾÷À̳ª ISP¸¦ ´ë»óÀ¸·Î OEM ³³Ç°¸¸ ÇÑ´Ù. µû¶ó¼­ À̸¦ ±¸ÇÏ·Á¸é ÀÌ Á¦Ç°ÀÌ OEM À¸·Î µé¾î°£ ISPÀÇ °í°´ Áö¿ø/´Ù¿î ·Îµå »çÀÌÆ®¿¡¼­ °¡Á®¿À´Â ¹æ¹ý ¹Û¿¡´Â ¾ø´Ù.

ij³ª´ÙÀÇ Sympatico »ç¿¡¼­ ÀÌ Á¦Ç°À» ¶óÀ̼¾½ºÇؼ­ ÀÚ»ç °¡ÀÔÀڵ鿡°Ô Access Manager ¶ó´Â À̸§À¸·Î ¹èÆ÷ÇÏ°í ÀÖ´Ù. ¸î¸î ¸®´ª¼­µéÀÌ ÀÚ½ÅÀÇ È¨ÆäÀÌÁö¿¡¼­ °ü·Ã ÇÁ·Î±×·¥¼ÂÀ» Á¦°øÇÏ°í ÀÖ´Ù.

¿ì¸®´Â ¿©±â¼­ ´Ù¿î·Îµå ÇÑ´Ù. http://sidhe.folkwolf.net/~chris/pppoe-howto/enternet100.bin.tar.gz ·¹µåÇÞ 5.2¿ëÀÇ ¹ÙÀ̳ʸ® ÆÄÀÏÀ̸ç, ·¹µåÇÞ 6.0 À̻󿡼­µµ Àß µ¿ÀÛÇÑ´Ù.

ÀÌ È¨ÆäÀÌÁö ¾Æ·¡¿¡ enternet100 ÀÇ ¼Ò½ºµµ ÀÖÀ¸³ª ¶óÀ̺귯¸® µîÀÌ ´õ ÀÖ¾î¾ß Çϸç Å×½ºÆ®Çغ» °á°ú ÄÄÆÄÀÏÀÌ Çѹø¿¡ Àß µÇÁö´Â ¾Ê¾Ò°í, ±¦È÷ Ãʺ¸ÀÇ °æ¿ì ¸Ó¸®¸¸ º¹ÀâÇØÁö´Â ´ÜÁ¡ÀÌ ¹ß»ýÇß´Ù.

³ªÁß¿¡ ¼º°øÇÏ°í ³­ µÚ¿¡ ÇÒÀÏÀÌ ¾ø°Å³ª, ¿©·¯°¡Áö ÀÌÀ¯·Î ½ÇÇàÀÌ µÇÁö ¾ÊÀ» °æ¿ì¿¡¸¸ ¹Þ¾Æ¼­ Çغ¸±æ ±ÇÇÑ´Ù.

Àû´çÇÑ À§Ä¡¿¡ ¾ÐÃàÀ» Ǭ´Ù.

ÀÌ ÆÄÀÏÀ» ¾Æ¹« µð·ºÅ丮¿¡³ª Ǭ´Ù. ´ÙÀ½ÀÇ µÎ ÆÄÀÏÀÌ ³ª¿Ã °ÍÀÌ´Ù.

pppoe
pty-redir

´Ù¸¥ ÆÄÀÏÀÌ Çϳªµµ ³ª¿ÀÁö ¾ÊÁö¸¸ ´çȲÇÏÁö ¸¶¶ó.

1Â÷ Å×½ºÆ®¸¦ Çغ»´Ù.

ÀÌ 1´Ü°è Å×½ºÆ® °úÁ¤¿¡¼­ ½ÇÆÐÇÑ´Ù¸é ÀÌ ¹æ¹ýÀ¸·Î´Â ÇöÀç ȯ°æ¿¡¼­ Á¢¼ÓÀÌ µÇÁö ¾ÊÀ½À» ÀǹÌÇÑ´Ù. 2-2 ¹æ¹ýÀ¸·Î ÀüȯÇϰųª, ADSL ´ã´çÀÚ¿Í ¹®ÀÇÇϱ⠹ٶõ´Ù.

ÀÏ´Ü ·£Ä«µå¸¦ ¿Ã¸°´Ù.

ifconfig eth0 up

ÆĶó¹ÌÅÍ µîÀº Áß¿äÇÏÁö ¾Ê´Ù.

linuxconf µî¿¡¼­ IP´Â 192.168.0.10 ½ÄÀ¸·Î ¾Æ¹«·¸°Ô³ª ¼³Á¤ÇÏ°í, °ÔÀÌÆ®¿þÀÌ´Â ¼³Á¤ÇÏÁö ¸¶¶ó. È£½ºÆ® ³×ÀÓ µîÀº ÀüÇô Áß¿äÇÏÁö ¾Ê´Ù. ¹Ù²ãºÁ¾ß µµ¿òÀÌ ¾ÈµÈ´Ù.

¾Æ·¡´Â À̸¦ ¿Ã·ÈÀ»¶§ÀÇ ÇÊÀÚÀÇ »óȲÀÌ´Ù. Âü°íÇ϶ó.

ÇÊÀÚ´Â IP ¸¶½ºÄ¿·¹À̵ùÀ» ½ÃµµÇϱâ À§ÇØ ·£Ä«µå¸¦ µÎ°³ ¼³Ä¡Çß´Ù. ÀÌÁß¿¡ eth0 ÀÌ ADSL ¸ðµ©°ú ¿¬°áµÇ¾î ÀÖ´Ù.

[leesop@www pppoe]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:26:11:8D:BD  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xe400 

eth1      Link encap:Ethernet  HWaddr 00:00:E8:ED:20:A0  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

·£Ä«µå¸¦ ¿Ã¸° ´ÙÀ½, ¾Æ±îÀÇ pppoe ÇÁ·Î±×·¥À» ±¸µ¿ÇÑ´Ù.

[leesop@www pppoe]$ ./pppoe

À̸¦ ÀÔ·ÂÇÏ°í ¸îÃÊ°£À» ±â´Ù·Á º»´Ù. À̶§ ¸ðµ©À¸·Î ÀÏ¹Ý PPP Á¢¼Ó½Ã¿¡ ³ª¿À´Â ¾²·¹±â¹®ÀÚ°¡ ÀÏÁ¤ °£°ÝÀ¸·Î ¹Ýº¹Çؼ­ Ãâ·ÂµÇ¸é ¼º°øÀÌ´Ù.

±×·¸Áö ¾Ê´Ù¸é Áö³­¹ø Á¢¼ÓÀÌ ºñÁ¤»ó Á¾·áµÇ¾î ÀÖ¾î ÀϽÃÀûÀ¸·Î ȸ¼±ÀÌ Àá°¡Á® ÀÖ´Â °ÍÀ̰ųª, ¾Æ´Ï¸é ¼¾ÅÍÂÊÀÇ ¸Ó½ÅÀÌ PPPoE ¸¦ Á¦´ë·Î Áö¿øÇÏÁö ¾Ê´Â °ÍÀÌ´Ù. À̶§´Â µÚÀÇ 2-2ÀÇ Ä¿³Î ÆÐÄ¡ ¹æ¹ýÀ» ½ÃµµÇØ º¸°Å³ª ¼¾ÅÍ¿Í Çù»óÀ» ÇØ¾ß ÇÑ´Ù.

À©µµ¿ìÁî ¸Ó½ÅÀÌ ÀÖ´Ù¸é Å×½ºÆ®Àü¿¡ ¹Ì¸® Çѹø ¿¬°áÇØ º¸°í¼­ ½ÃµµÇØ º¸±â¸¦ ±ÇÇÑ´Ù.

Á¢¼Ó ½ºÅ©¸³Æ®¸¦ ¸¸µç´Ù.

¾ÕÀÇ µÎ ÆÄÀϸ¸ µ¢±×¸¸ÇÏ°Ô ³ª¿Í ÀÖ´Â °Í¿¡ ´çȤÇØ ÇÏ´Â ºÐµéÀÌ ¸¹¾ÒÀ» °ÍÀÌ´Ù.

ÇÊÀÚ°¡ À̸¦ ½ÇÇàÇϱâ À§ÇÑ °£´ÜÇÑ ±¸µ¿ ½ºÅ©¸³Æ®¸¦ Á¦°øÇÑ´Ù.

[leesop@www pppoe]$ ls -al
total 243
drwxr-xr-x   2 leesop   users        1024 Nov 30  1999 .
drwxr-xr-x   3 leesop   users        1024 Nov 28 18:59 ..
-rwxr-xr-x   1 leesop   users      238004 Jun 25 06:18 pppoe
-rwxr-xr-x   1 leesop   users        5320 Nov 30  1999 pty-redir
-rwxr-xr-x   1 leesop   users         228 Nov 30  1999 start

[leesop@www pppoe]$ cat start
#!/bin/sh -x
USER=leesop@local
pty=`./pty-redir ./pppoe -I eth0`
if [ "X$pty" = "X" ]; then
        echo >&2 "cannot start pppoe"
        exit 1
fi
/usr/sbin/pppd $pty noipdefault defaultroute passive persist name $USER lcp-echo-interval 30

¾ÕÀÇ USER ºÎºÐÀÇ ¾ÆÀ̵𸦠À©µµ¿ìÁî¿¡¼­ ·Î±×ÀΠâ¿¡ ¾²´Â °ÍÀ¸·Î ±³Ã¼Ç϶ó. ¾ÕÀ¸·Î Á¢¼ÓÀ» À§Çؼ­´Â ÀÌ µð·ºÅ丮·Î ¿Í¼­ ./start ¶ó°í Ä¡¸é Á¢¼ÓÀÌ µÉ °ÍÀÌ´Ù. ±×·¯³ª, ´çÀå ±ÞÇÏ°Ô ¾ÆÁ÷ ½ÃµµÇÏÁö´Â ¸¶¶ó. ¼³Á¤ÇÒ°Ô ´õ ÀÖ´Ù.

pap-secrets ¸¦ ¼³Á¤ÇÑ´Ù.

¾Õ¿¡ ¾ÆÀ̵ð´Â ³Ö´Â °÷ÀÌ Àִµ¥, ¾ÏÈ£¸¦ ÀÔ·ÂÇÏ´Â ¶õÀÌ ¾ø´Ù°í ÀÌ»óÇÏ°Ô »ý°¢ÇÒ ¼öµµ ÀÖ´Ù. °ÆÁ¤ÇÏÁö ¸¶¶ó. ¾ÏÈ£´Â ¿©±â¿¡ ³Ö´Â´Ù.

/etc/ppp/pap-secrets ÆÄÀÏÀ» ¿¬´Ù.

ÀÌ ÆÄÀÏÀÇ ³¡¿¡ ´ÙÀ½°ú °°ÀÌ Àû´Â´Ù.

leesop@local * 12345

¾ÕÀÇ # À¸·Î ½ÃÀÛÇÏ´Â ¹®ÀåµéÀº ÁÖ¼®ÀÌ´Ù. ppp ÇÁ·Î±×·¥Àº ÀÌ°É ÀÐÀ¸·Á°í ½ÃµµÁ¶Â÷ ÇÏÁö ¾Ê´Â´Ù. µû¶ó¼­ ÀÌ°É Á¦°ÅÇÏ°í ¾ÈÇÏ°í´Â ¾Æ¹«·± Àǹ̰¡ ¾ø´Ù. Ȥ½Ã ¾ÈµÈ´Ù°í ÀÌ°É Áö¿öº¸°í ÇÏ´Â °ÍÀº ½Ã°£ ³¶ºñÀÌ´Ù.

±¸¼ºÀº º¸½Ã´Â´ë·Î ¾Õ¿¡´Â ¾Õ¼­ ½ºÅ©¸³Æ®ÀÇ USER Ç׸ñ¿¡ Àû¾ú´ø ·Î±×ÀÎâ¿¡ Àû´Â ¾ÆÀ̵ð¿Í º°Ç¥ ±×¸®°í ¾ÏÈ£ÀÌ´Ù. (¿¹·Î 12345¶ó°í Àû¾ú´Ù. Á¤¸»·Î ÇÊÀÚ°¡ ¾ÏÈ£¸¦ 12345·Î ¼³Á¤ÇÏ°í »ç¿ëÁßÀ̶ó°í ¹ÏÁö´Â ¸»±â ¹Ù¶õ´Ù. ^_^) ¼¼°¡Áö´Â ¸ðµÎ °ø¹éÀ̳ª ÅÇ µîÀ¸·Î ¶ç¿ö³õ±â¸¸ ÇÏ¸é µÈ´Ù.

¼³Á¤Àº ¿Ï·á, 2Â÷ Å×½ºÆ®¸¦ Çغ¸ÀÚ.

Å͹̳ΠâÀ» Çϳª ´õ ¿¬´Ù.

»õ â¿¡¼­ tail -f /var/log/messages ¶ó°í ÀÔ·ÂÇÑ´Ù.

ÀÌ Ã¢¿¡¼­´Â ÀÌÁ¦ pppd°¡ º¸³»¿À´Â ¸Þ½ÃÁö°¡ Ãâ·ÂµÈ´Ù.

¸ÕÀú ÀÖ´ø â¿¡¼­ ./start ¶ó°í ÀÔ·ÂÇØ ¾Æ±î ¸¸µé¾ú´ø ½ºÅ©¸³Æ®¸¦ ½ÇÇà½ÃŲ´Ù.

±æ°Ô Àâ¾Æ 10ÃÊ Á¤µµ ±â´Ù¸°´Ù.

À̶§ ¸Þ½ÃÁö â¿¡ ´ÙÀ½°ú °°ÀÌ IP¸¦ ¹Þ¾Ò´Ù°í ¸Þ½ÃÁö°¡ ³ª¿À¸é ¼º°øÀÌ´Ù.

Nov 30 17:46:33 home kernel: PPP: version 2.3.7 (demand dialling) 
Nov 30 17:46:33 home kernel: PPP line discipline registered. 
Nov 30 17:46:33 home kernel: registered device ppp0 
Nov 30 17:46:33 home pppd[659]: pppd 2.3.10 started by root, uid 0
Nov 30 17:46:33 home pppd[659]: Using interface ppp0
Nov 30 17:46:33 home pppd[659]: Connect: ppp0 <--> /dev/ttyp0
Nov 30 17:46:34 home pppd[659]: local  IP address 128.134.107.16
Nov 30 17:46:34 home pppd[659]: remote IP address 128.134.107.1

ÀÌÁß¿¡¼­ Connect ±îÁö¸¸ ¶³¾îÁö°í ¸ÔÅëÀ̶ó¸é, ÀÌ´Â ½ºÅ©¸³Æ®¸¦ À߸ø ¸¸µé¾úÀ» °æ¿ì³ª ¾Æ±îÀÇ pap-secrets ÆÄÀÏÀÇ ¾ÆÀ̵ð¿Í ½ºÅ©¸³Æ®ÀÇ ¾ÆÀ̵𰡠´Ù¸¥ °æ¿ì µîÀ¸·Î »ý°¢ÇÒ ¼ö ÀÖ´Ù.

Áß°£¿¡ warning À̳ª error°¡ ¶³¾îÁø´Ù¸é ½ºÅ©¸³Æ®°¡ À߸øµÇ¾úÀ» °¡´É¼ºÀÌ ³ô´Ù.

Á¢¼ÓÀ» È®ÀÎÇÑ´Ù.

¸Þ½ÃÁö â¿¡¼­ º¸µí ÀÌ·¸°Ô IP¸¦ ¹Þ¾Æ¿Ô´Ù¸é Á¢¼ÓÀº ¼º°øÇÑ °ÍÀÌ´Ù.

³×Æ®¿÷ »óŸ¦ º¸±â À§ÇØ ifconfig ¸¦ ´Ù½Ã Çغ¸ÀÚ.

[leesop@www pppoe]$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:26:11:8D:BD  
          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
          RX packets:15 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:10 Base address:0xe400 

eth1      Link encap:Ethernet  HWaddr 00:00:E8:ED:20:A0  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          Interrupt:9 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:128.134.107.5  P-t-P:128.134.107.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 

¸Ç ¾Æ·¡¿¡ ppp0 À̶ó´Â Á¢¼Ó ¾î´ðÅÍ°¡ »ý°å´Ù. ÀÎÅÍ³Ý ¿¬°áÀÌ Àß µÈ °ÍÀÌ´Ù.

Âü°í·Î ÀÎÅÍ³Ý »ç¿ë Àü¿¡ /etc/resolv.conf ÆÄÀÏÀ» ÆíÁýÇؼ­ ³×ÀÓ ¼­¹ö ÁÖ¼Ò¸¦ ³Ö¾îÁà¾ß www.hitel.net °°Àº ½ÄÀ¸·Î ÀÎÅͳÝÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù. (ÀçºÎÆÃÀ̳ª Á¢¼Ó ´ÜÀý µîÀº ÀüÇô ÇÊ¿ä ¾øÀÌ ±×³É vi µîÀ¸·Î ¿¡µðÆà ÇØÁÖ°í ÆÄÀϸ¸ ÀúÀåÇÏ¸é ¹Ù·Î È¿·ÂÀÌ ¹ß»ýÇÑ´Ù.)

ÇູÇÑ ¸¶À½À¸·Î Á¢¼ÓÀ» ²÷´Â´Ù.

ps -aux ¶ó°í Ä¡¸é, ÇÁ·Î¼¼½º ¸ñ·ÏÀÌ ³ª¿Â´Ù.

ÀÌÁß¿¡ pppd ¸¦ kill·Î Á׿©ÁÖ¸é µÈ´Ù.

¾Æ±îÀÇ ¸Þ½ÃÁö â¿¡ Á¢¼ÓÀÌ ¼º°øÀûÀ¸·Î Á¾·áµÇ¾ú´Ù´Â ¸»°ú ÇÔ²², Àü¼ÛÇÑ ¹ÙÀÌÆ® ¼ö¿Í »ç¿ë ½Ã°£ÀÌ ³ª¿Ã °ÍÀÌ´Ù.

2.2 Ä¿³Î ÆÐÄ¡¸¦ ÅëÇØ ÇÏ´Â ¹æ¹ý (pppoed 0.4 »ç¿ë)

¸¹Àº °æ¿ì¿¡ ¼º°øÀ» Çß´Ù´Â »ç·Ê°¡ º¸°íµÇ´Â ¹æ¹ýÀÌ°í, ¿À¹öÇìµå°¡ ¾ÕÀÇ ¹æ¹ý º¸´Ù Àû¾î ´õ ÁÁÀº ¼º´ÉÀ» ³½´Ù°í ¾Ë·ÁÁ® ÀÖ´Ù. ±×·¯³ª Ä¿³Î ¹öÀüÀÌ ¸Â¾Æ¾ß ÇÏ°í, Ä¿³Î ÄÄÆÄÀÏ¿¡ ¾à°£ÀÇ Áö½ÄÀÌ ÀÖ¾î¾ß ÇÑ´Ù´Â ´ÜÁ¡µµ ÀÖ´Ù.

  1. Áغñ

    http://www.davin.ottawa.on.ca/pppoe/¿¡ Á¢¼ÓÇØ pppoed0.4.tgz ÆÄÀÏÀ» ´Ù¿î·Îµå ÇÑ´Ù.

    ftp://ftp.kernel.org/pub/linux/kernel¿¡¼­ ±ú²ýÇÑ Ä¿³Î ¼Ò½º¸¦ ¹Þ¾Æ¿À°Å³ª Ä¿³Î ¼Ò½º ÆÐÅ°Áö¸¦ ¼³Ä¡ÇÑ´Ù.

    ÇöÀç ¾ÕÀÇ 0.4 ¹öÀüÀÇ pppoed ÇÁ·Î±×·¥Àº Ä¿³Î 2.0.38 2.2.13 2.3.29 ¸¸À» °ø½ÄÀ¸·Î Áö¿øÇÏ°í ÀÖ´Ù.

  2. Ä¿³ÎÀ» ÆÐÄ¡ÇÑ´Ù.

    Àû´çÇÑ µð·ºÅ丮¿¡ pppoed ÇÁ·Î±×·¥À» Ç®¸é, Ä¿³Î¹öÀü-pppox.gz ¶ó´Â ÆÄÀÏÀÌ »ý°Ü³­´Ù.

    ÀÌ ÆÄÀÏÀ» Ä¿³Î ¼Ò½º¿¡ Àû¿ëÇÑ´Ù.

    ÆíÀÇ»ó Ä¿³Î ¼Ò½º¸¦ /usr/src/linux ¿¡ Ç®¾î³õ¾Ò´Ù°í °¡Á¤ÇÑ´Ù.

    cd /usr/src/linux 
    zcat /¾ÐÃàÀ» Ǭ µð·ºÅ丮.../Ä¿³Î¹öÀü-pppox.gz | patch -b -p1
    

  3. Ä¿³ÎÀ» ¼³Á¤ÇÑ´Ù.

    ½Ã½ºÅÛ¿¡ ¸Â°Ô Àû´çÇÏ°Ô Ä¿³ÎÀ» ¼³Á¤ÇÑ´Ù.

    À̶§ pppoe¸¦ »ç¿ëÇϱâ À§Çؼ­ network devices Ç׸ñ ¾È¿¡ ÀÖ´Â ``tty support for pppox'' ¸¦ ÄÒ´Ù.

    Ä¿³Î 2.3.x ¿¡¼­´Â `PPP support for sync tty ports' Ç׸ñµµ ÄÒ´Ù.

  4. ÄÄÆÄÀÏÀ» ÇÑ´Ù.

    ¾Õ¼­ ¼³Á¤ÇÑ Ä¿³ÎÀ» ÄÄÆÄÀÏ/¼³Ä¡ ÇÑ´Ù.

    pppoed ¸¦ ÄÄÆÄÀÏ ÇÑ´Ù.

    µð·ºÅ丮·Î µé¾î°¡¼­

    make realclean
    make dev
    make depend
    make
    make install
    

    À» ¼ø¼­´ë·Î ¼öÇàÇÑ´Ù.

    ½Ã½ºÅÛÀ» Àç½ÃÀÛ ÇÑ´Ù.

  5. ·£ Ä«µå¿Í pppd¸¦ ¼³Á¤ÇÑ´Ù.

    ·£ Ä«µå¿¡¼­ IP ´Â 0.0.0.0 , ±âº» °ÔÀÌÆ®¿þÀÌ´Â ºÎ¿©ÇÏÁö ¾Ê´Â´Ù.

    /etc/ppp/options ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.

    lock
    local
    nocrtscts
    noauth
    #be careful with mtu/mru if you are masquareding. 
    # Look at Kal Lin's page at http://www.cs.toronto.edu/~kal/hse/resource.html
    mru 1490
    mtu 1490
    #please make sure you have noaccomp for now
    noaccomp
    #the construct below is needed by sympatico
    name "leesop@local" 
    #you might want to change defaultroute if you have more
    #than one pppoe session
    defaultroute
    hide-password
    sync
    #it might be a good idea to uncoment the debug below 
    #debug
    #kdebug 7
    #if you use the -R option to make it persistent
    #then uncomment the next two lines below
    #lcp-echo-interval 240
    #lcp-echo-failure 3
    #nodetach
    

    À§ÀÇ name Ç׸ñ¿¡´Â ¾ÕÀÇ À©µµ¿ì¿¡¼­ WinPoETÀ¸·Î Á¢¼ÓÇÒ¶§ ·Î±×ÀÎâ¿¡ ¾²´ø ¾ÆÀ̵𸦠³Ö´Â´Ù.

    /etc/ppp/pap-secrets ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ÇÑ´Ù.

    # Secrets for authentication using PAP
    # client        server  secret                  IP addresses
    leesop@local * 12345
    

    ¿ª½Ã ¾ÕÀÇ name Ç׸ñ¿¡ ¾´ °Í°ú °°Àº Á¢¼Ó¿¡ »ç¿ëµÇ´Â ¾ÆÀ̵ð¿Í ¾ÏÈ£¸¦ Àû´Â´Ù.

  6. Á¢¼ÓÇغ¸±â

    pppoed ÇÁ·Î±×·¥À» ½ÇÇàÇÑ´Ù.

    ÀÚµ¿À¸·Î Á¢¼ÓÀÌ µÇ¸é¼­ ¿¬°áÀÌ µÈ´Ù.

    ¿É¼ÇÀÌ ¸î°¡Áö Àִµ¥, ÀÌ´Â pppoed -help ¶ó°í ÀÔ·ÂÇÏ¸é ¾òÀ» ¼ö ÀÖ´Ù.

±âŸ ¼³Ä¡¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ »çÇ×Àº ³»ÀåµÈ INSTALL ¹®¼­¸¦ ÂüÁ¶Çϱ⠹ٶõ´Ù.


´ÙÀ½ ÀÌÀü Â÷·Ê