웹마스터 팁

리눅스에서 한통 ADSL 설정해 주기;; 헉 ㅡ.ㅡ;;
처음 시작하신 분들은 막막하실 겁니다..
그런 분들을 위해 강의를 시작할께요..
---------------------------------------------------------
아참.. 주의하실점은요.. 와우리눅스 7.3 버젼이상에서만 먹힙니다..^^;;
6.0 까지버젼에서는 퍽 ㅡ.ㅡ;;
http://www.wowlinux.com/contents/techup/ADSL/rp-pppoe-2.5-1.i386.rpm 에서 다운받으세요^^;;
※ 리눅스 설치때는요..
리눅스 설치때 랜카드 방식을 물어볼때가 있어요.. 그때 DHCP의 체크를 지워버리고 고정아이피(임시) 192.168.0.1 을 줍니다. 그리고 모든 설치가 끈나고 난뒤 리부팅을 시키죠 *^^*

여기까진 순조롭네요..

※ 자 본격적인 ADSL 설치에 들어갑니다..
한텀 혹은 콘솔에서요..
# adsl-setup
명령어를 칩니다.
그러면은요.. 쭈욱..

Welcome to the Roaring Penguin ADSL client setup.  First, I will run

some checks on your system to make sure the PPPoE client is installed

properly...



Looks good!  Now, please enter some information:



USER NAME



>>> Enter your PPPoE user name (default alponce):

이렇게 나오는데..

>>> Enter your PPPoE user name (default alponce): <= 이곳에다가는 자신의 한통 아뒤를 넣어주세요(코넷)

그담에 앤터치고 넘어갑니다..


INTERFACE



>>> Enter the Ethernet interface connected to the ADSL modem

(default eth1):

여기서,

(default eth1): eth0 <= 랜카드가 하나일때를 가정해서 씁니다.

또 앤터 누르시고요..

Do you want the link to come up on demand, or stay up continuously?

If you want it to come up on demand, enter the idle time in seconds

after which the link should be dropped.  If you want the link to

stay up permanently, enter 'no' (two letters, lower-case.)

NOTE: Demand-activated links do not interact well with dynamic IP

addresses.  You may have some problems with demand-activated links.

>>> Enter the demand value (default no):

여기에서..

그냥 엔터치고 넘어갑니다 ㅡ.ㅡ;;

Please enter the IP address of your ISP's primary DNS server.

If your ISP claims that 'the server will provide DNS addresses',

enter 'server' (all lower-case) here.

If you just press enter, I will assume you know what you are

doing and not modify your DNS setup.

>>> Enter the DNS information here:

여기에서..

>>> Enter the DNS information here: 168.126.63.1 <= 한국통신 DNS를 넣어 줍니다..

이렇게 하고 앤터 치시고요...

Please enter the IP address of your ISP's secondary DNS server.

If you just press enter, I will assume there is only one DNS server.

>>> Enter the secondary DNS server address here:

여기에서..

>>> Enter the secondary DNS server address here: 168.126.63.2 <= 보조 DNS입니다.

앤터치시고요..

PASSWORD



>>> Please enter your PPPoE password:

>>> Please re-enter your PPPoE password:

여기에서..

>>> Please enter your PPPoE password: <= 한통 또는 코넷패스워드를 넣어 줍니다..

>>> Please re-enter your PPPoE password:  <= 다시 한번 넣어 줍니다...

앤터를 치시고요,.

FIREWALLING



Please choose the firewall rules to use.  Note that these rules are

very basic.  You are strongly encouraged to use a more sophisticated

firewall setup; however, these will provide basic security.  If you

are running any servers on your machine, you must choose 'NONE' and

set up firewalling yourself.  Otherwise, the firewall rules will deny

access to all standard servers like Web, e-mail, ftp, etc.  If you

are using SSH, the rules will block outgoing SSH connections which

allocate a privileged source port.



The firewall choices are:

0 - NONE: This script will not set any firewall rules.  You are responsible

     for ensuring the security of your machine.  You are STRONGLY

     recommended to use some kind of firewall rules.

1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation

2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway

     for a LAN

>>> Choose a type of firewall (0-2):

여기에서 일단..

>>> Choose a type of firewall (0-2): 0 <= 일단 0을 선택합니다.

엔터 누르시고요..

    ** Summary of what you entered **



    Ethernet Interface: eth0

    User name:          lsy1974

    Activate-on-demand: No

    Primary DNS:        168.126.63.1

    Secondary DNS:      168.126.63.2

    Firewalling:        STANDALONE



>>> Accept these settings and adjust configuration files (y/n)? <= y를 입력합니다.

     Adjusting /etc/ppp/pppoe.conf

     Adjusting /etc/resolv.conf

     Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets

     (But first backing it up to /etc/ppp/pap-secrets-bak)

     (But first backing it up to /etc/ppp/chap-secrets-bak)

이런메시지가 뜨면서 다 되었습니다..*^^*

이제는 파일을 편집할 차레 입니다..

vi 에디터를 이용토록 할께요..

vi /etc/ppp/pppoe.conf

이렇게 입력해 주시고요..^^;;

그러면 vi 에디터로 들어갈 것입니다..

거기서 Insert 누르시고요..

거의 끝쯤에 가나요? 그러면 이 구문이 있는데요..

# Any extra arguments to pass to pppoe.  Normally, use a blank string

# like this:

PPPOE_EXTRA=""

여기에 보이는 PPPOE_EXTRA=""를

PPPOE_EXTRA="-S pppoe"

로 변경해 주세요.. 단 대소문자 구별하니 주의해 주시고요..

그다음에 ESC를 누르고

:eq! 를 치고 엔터 눌러 저장하고 나옵니다.

※ 이제 인터넷 연결을 해 봅시다..

한텀이나 콘솔에서

# adsl-start 를 입력하시면은..

인터넷에 연결되었다는 메시지가 뜰 겁니다..

※ 필자의 구축은?

우선은 지금 글을 쓰고 있는 필자 저의 구축 상황은요..

안방 컴퓨터에다가 서버로 돌리고(리눅스) 바깥 컴퓨터에서 아이피 공유기를 통해

인터넷을 받아오고 있습니다..^^;;

이상입니다..








제목 글쓴이 날짜
qmail-1.03설치⑤ (courier-imap연동) 비츠로 2003.02.28
qmail-1.03설치⑥ (qmail-scanner 스팸필터링) 비츠로 2003.02.28
qmail-1.03설치⑦ (qmailadmin 큐메일 웹관리툴) 비츠로 2003.02.28
qmail-1.03설치⑧ (squirrel웹메일과 연동) 비츠로 2003.02.28
apache-1.3.x설치① (필수조건과 pre configure) 비츠로 2003.03.02
apache-1.3.x설치② (mm, mod_ssl, mod_perl모듈) 비츠로 2003.03.02
apache-1.3.x설치③ (resin, jdk, jdbc연동) 비츠로 2003.03.02
apache-1.3.x설치③ (tomcat4, jdk, jdbc연동) 비츠로 2003.03.02
apache-1.3.x설치④ (php4 + db + mail연동) 비츠로 2003.03.02
apache-1.3.x설치⑤ (apahce설치, php가속기 추가) 비츠로 2003.03.02
apache-1.3.x설치⑥ (apahce, tomcat, resin가상호스팅설정) 비츠로 2003.03.02
리눅스에서 한통 ADSL 설정해 주기.. [5] 이희덕 2003.03.02
Sendmail 취약점 발표 [3] 조수권 2003.03.04
안녕하세요, php 보안 취약점인데 한번 보시길.. [28] Dopesoul 2003.03.08
php 의 보안 관련.. [7] Dopesoul 2003.03.08
apache server의 log file 관리 [3] 겨울늑대 2003.03.09
트래픽관리 Throttle-status 사용자 인증시키기 [1] Cksoft 2003.03.18
Apache1.3.27 + PHP4.3.1 + MySQL4.0.12 + ZendOptimizer2.1.0 [6] FriZeX 2003.03.19
mysql에서 사용자 권한을 잘못 부여하여 root로 접속불가, 사용권한 제한등 문제 해결방법 [3] 정종화 2003.03.20
커널 2.4 local ptrace-related vulnerability 패치하세요~ [8] 김도한 2003.03.20