>> Read No. 10680 article  
한통 adsl network설정으로 한달동안 고생하고 있습니
다. 이 초보를 살려주세요..

등록 2000-11-07 01:06:00     조회 2
이름 아수라    

		한국통신 adsl을 이용한 network설정에 애를 먹고 있는 사람입니다.
 먼저 저는 알짜 배포한 6.2를 사용중이구요.
 받은 시디 pppoe-1.300.000 디렉토리하에
option.pppoe, pppoed-2.0, pppoed-2.2, start-pppoe, stop-pppoe
다섯개의 화일이 있습니다.
 pppoed-2.2를 pppoed로 바꾸고, start-pppoe, stop-pppoe와 더불어,
/usr/local/bin에 복사했습니다.
 다음, start-pppoe를 수정합니다.
USERID에 myuserid를 대체합니다.
 ---
#!/bin/bash
 # Copyright (c) 1999,2000 by Network TeleSystems, Inc.
# All rights reserved.
# Internet http://www.nts.com #
# Please direct all support-related calls to your licensed Internet Service
# Provider.  NTS does not provide direct support.  NTS works through Internet
# Service Providers that have licensed our software.
 unset USERID
unset ACNAME
unset SERVICENAME
unset ETHERNET
unset LINKNAME
unset SYNC
unset PERSIST
 #----- Beginning of User Changeable Area ----------------------------------
 # Note, when making changes be sure NOT to insert white space (blanks)
# around the "=" symbol. 
# For example:  USERID= "RoadRunner"         
# This will not work.  It should be written as:  USERID="RoadRunner"
 # Replace YourUserID with that of the userid supplied by your ISP.
# You will also need to add the user-id and password to the
# /etc/ppp/chap-secrets and/or /etc/ppp/pap-secrets file.
USERID="myuserid"    <--- 여기
 # If you need to connect to a specific service name then uncomment the line
# below.  Replace YourServiceName with the service name specified by your ISP.
# SERVICENAME="YourServiceName"
 # If you need to access a specific Access Concentrator then uncomment the
# line below.  Replace YourAccessConcentratorName with the name specified by
# your ISP.
# ACNAME="YourAccessConcentratorName"
 # Not all systems can support the sync option.  Uncomment the next line if
# yours can.  See the README, section IMPROVE PERFORMANCE, for more
# information on when you can and cannot use this option.
# SYNC=sync
 # If you want your PPPoE connection to automatically reconnect if the
# connection should break, uncomment the next line.
# PERSIST=persist
 # If the Ethernet NIC that you will be using is not at eth0 you will need
# to supply that information below by replacing eth0 with that of your
# network card.  ifconfig command will show a list of network interfaces.
INTERFACE="eth0"
 # Programs w/path.  If your system has these programs in different locations
# update the paths as appropriate.
PPPD=/usr/sbin/pppd
PPPOED=/usr/local/bin/pppoed
IFCONFIG=/sbin/ifconfig
 #----- End User Changeable Area ------------------------------------------------
 if [ "$USERID" = "YourUserID" ]; then
    echo 'Are you sure your correct login user ID is "YourUserID".'
fi
 $IFCONFIG $INTERFACE 0.0.0.0 -broadcast up -arp
 if [ -n "$1" ]; then
    SERVICENAME="$1"
fi
 if [ -n "$SERVICENAME" ]; then
	SERVICENAME="-S $SERVICENAME"
fi
if [ -n "$ACNAME" ]; then
	ACNAME="-A $ACNAME"
fi
if [ -n "$INTERFACE" ]; then
	INTERFACE="-I $INTERFACE"
fi
if [ -n "$USERID" ]; then
	USERID="name $USERID"
fi
if [ -n "$PERSIST" ]; then
	PERSIST="persist"
fi
if [ -n "$SYNC" ]; then
	SYNC="sync"
fi
  $PPPD
    pty "$PPPOED $INTERFACE $SERVICENAME $ACNAME"
    $USERID
    file /etc/ppp/options.pppoe
    defaultroute
    $SYNC
    $PERSIST
   ---
 그후에,
/etc/ppp/chap-secrets 와 pap-secrets 를 아래와 같이 바꿉니다.
물론 myuserid, donttell은 각각 한통 adsl 아이디와 비번입니다.
         # Secrets for Authentication using PAP 
        # Client    server      secret      IP address 
        myuserid    *           donttell    *
 그후, options.pppoe를 /etc/ppp 디렉토리에 넣었습니다.
 그후, 시스템 아디를 10.1.1.1로 바꾸로 기본 게이트웨이도 10.1.1.1로 바꿨습니다.
서브넷 마스크는 255.0.0.0
DHCP, bootp가 아닌 none으로 하고,
 다음은, ifconfig eth0 0.0.0.0 up -broadcast -arp
를 start-pppoe에 삽입해야 했으나
 $IFCONFIG $INTERFACE 0.0.0.0 -broadcast up -arp
와 같으므로 그대로 놔두었습니다.
  그리고, 메인 서버를  /etc/resolv.conf화일에,
         nameserver 168.126.63.1
        nameserver 168.126.63.2
 로 설정했습니다.
 현재는 ifconfig로 eth0, lo만 설정되었고,,
 /usr/local/bin/start-pppoe를 실행하니 에러가 났습니다.
뭘 찾지 못한다나 뭐라나,,
아무리 찾아도 디렉토리나 화일의 철자가 틀린건 없는데,,?
 제발 도와주십시오..
이름
암호


>> 관련글
10680 한통 adsl network설정으로 한달동안 고생하고 있습니다. 이 초보를 살려주세요..  아수라  2000.11.07  ....
  답장 RE: 한통 adsl network설정으로 한달동안 고생하고 있습니다. 이 초보를 살려주세요..  강민성  2000.11.07  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.66 초 ] 작업시간: [ 0.75 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1789738795
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.