Титла: Проблем с ppp0
Публикувано от: techobg в Jun 10, 2005, 19:35
Примерен код | Note: You have enabled demand-connection; adsl-status may be inaccurate. adsl-status: Link is up and running on interface ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:10.112.112.112 P-t-P:10.112.112.113 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:0 (0.0 b) TX bytes:44 (44.0 b)
| Въпросът ми е как да си смена inet-адреса и p-t-p :.......Пробвах много варианти но не става! Използвам YSO Linux....KDE
Титла: Проблем с ppp0
Публикувано от: zeridon в Jun 11, 2005, 13:58
не можеш достав4ика ти ги назначава автоматично
Титла: Проблем с ppp0
Публикувано от: в Jun 11, 2005, 14:22
Цитат (zeridon @ Юни 11 2005,14:58) | не можеш достав4ика ти ги назначава автоматично |
E,dobre de tova kvo zna4i ,4e ne moga da polzvam neta prez Linux?
Титла: Проблем с ppp0
Публикувано от: neptun в Jun 12, 2005, 21:36
Е защо да не можеш.Азкато гледам имаш връзка.
Титла: Проблем с ppp0
Публикувано от: в Jun 13, 2005, 08:42
A аз като гледам няма връзка  има некав проблем с пппоето чети и пробвай.
Титла: Проблем с ppp0
Публикувано от: zeridon в Jun 13, 2005, 16:47
редовния проблем е че доставчика ползва pap вместо chap
Титла: Проблем с ppp0
Публикувано от: в Jun 13, 2005, 23:41
тез адреси излизат като се пусне демона pppd не е разрешил да приеме техните адреси тряба да има noipdefault ipcp-accept-local ipcp-accept-remote и освен туй DNS сървъра тряба да се зададе или да си пусне named на неговия компютър и да си търси от там имената. Изобщо човека не казва ко е правил, най-вероятно нищо.
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 08:00
Цитат (Guest @ Юни 14 2005,00:41) | тез адреси излизат като се пусне демона pppd не е разрешил да приеме техните адреси тряба да има noipdefault ipcp-accept-local ipcp-accept-remote и освен туй DNS сървъра тряба да се зададе или да си пусне named на неговия компютър и да си търси от там имената. Изобщо човека не казва ко е правил, най-вероятно нищо. |
Примерен код | # pppoe.conf # # Configuration file for rp-pppoe. Edit as appropriate and install in # /etc/ppp/pppoe.conf # # NOTE: This file is used by the adsl-start, adsl-stop, adsl-connect and # adsl-status shell scripts. It is *not* used in any way by the # "pppoe" executable. # # Copyright (C) 2000 Roaring Penguin Software Inc. # # This file may be distributed under the terms of the GNU General # Public License. # # LIC: GPL # $Id: pppoe.conf,v 1.10 2002/04/09 17:28:38 dfs Exp $ #***********************************************************************
# When you configure a variable, DO NOT leave spaces around the "=" sign.
# Ethernet card connected to ADSL modem ETH='eth0'
# ADSL user name. You may have to supply "@provider.com" Sympatico # users in Canada do need to include "@sympatico.ca" # Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets # contains the right username/password combination. # For Magma, use [EMAIL=xxyyzz@magma.ca]xxyyzz@magma.ca[/EMAIL] USER='techo-vd'
# Bring link up on demand? Default is to leave link up all the time. # If you want the link to come up on demand, set DEMAND to a number indicating # the idle time after which the link is brought down. DEMAND=0
#DEMAND=300
# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2; # NOCHANGE=do not adjust. DNSTYPE=SPECIFY
# Obtain DNS server addresses from the peer (recent versions of pppd only) # In old config files, this used to be called USEPEERDNS. Changed to # PEERDNS for better Red Hat compatibility PEERDNS=no
DNS1=84.238.147.3 DNS2=213.240.252.3
# Make the PPPoE connection your default route. Set to # DEFAULTROUTE=no if you don't want this. DEFAULTROUTE=yes
### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT
# How long adsl-start waits for a new PPP interface to appear before # concluding something went wrong. If you use 0, then adsl-start # exits immediately with a successful status and does not wait for the # link to come up. Time is in seconds. # # WARNING WARNING WARNING: # # If you are using rp-pppoe on a physically-inaccessible host, set # CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying # to connect forever after adsl-start is called. Otherwise, it will # give out after CONNECT_TIMEOUT seconds and will not attempt to # connect again, making it impossible to reach. CONNECT_TIMEOUT=30
# How often in seconds adsl-start polls to check if link is up CONNECT_POLL=2
# Specific desired AC Name ACNAME="united"
# Specific desired service name SERVICENAME="internet"
# Character to echo at each poll. Use PING="" if you don't want # anything echoed PING="."
# File where the adsl-connect script writes its process-ID. # Three files are actually used: # $PIDFILE contains PID of adsl-connect script # $PIDFILE.pppoe contains PID of pppoe process # $PIDFILE.pppd contains PID of pppd process CF_BASE=`basename $CONFIG` PIDFILE="/var/run/$CF_BASE-adsl.pid"
# Do you want to use synchronous PPP? "yes" or "no". "yes" is much # easier on CPU usage, but may not work for you. It is safer to use # "no", but you may want to experiment with "yes". "yes" is generally # safe on Linux machines with the n_hdlc line discipline; unsafe on others. SYNCHRONOUS=no
# Do you want to clamp the MSS? Here's how to decide: # - If you have only a SINGLE computer connected to the ADSL modem, choose # "no". # - If you have a computer acting as a gateway for a LAN, choose "1412". # The setting of 1412 is safe for either setup, but uses slightly more # CPU power. CLAMPMSS=1412 #CLAMPMSS=no
# LCP echo interval and failure count. LCP_INTERVAL=20 LCP_FAILURE=3
# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL PPPOE_TIMEOUT=80
# Firewalling: One of NONE, STANDALONE or MASQUERADE FIREWALL=NONE
# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode # plugin, use LINUX_PLUGIN=/etc/ppp/plugins/rp-pppoe.so LINUX_PLUGIN=
# Any extra arguments to pass to pppoe. Normally, use a blank string # like this: PPPOE_EXTRA=""
# Rumour has it that "Citizen's Communications" with a 3Com # HomeConnect ADSL Modem DualLink requires these extra options: # PPPOE_EXTRA="-f 3c12:3c13 -S ISP"
# Any extra arguments to pass to pppd. Normally, use a blank string # like this: PPPD_EXTRA=""
########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING # If you wish to COMPLETELY overrride the pppd invocation: # Example: # OVERRIDE_PPPD_COMMAND="pppd call dsl"
# If you want adsl-connect to exit when connection drops: # RETRY_ON_FAILURE=no
|
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 08:07
Цитат (zeridon @ Юни 13 2005,17:47) | редовния проблем е че доставчика ползва pap вместо chap |
Примерен код | Device Name - WAN Miniport(PPPOE) Device Type - PPPoE Server type - PPP Transports - TCP/IP Authentication -MS CHAP V2 Compression - (none) PPP multilink framing -Off Server IP address - . . . Client IP address - . . . |
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 12:00
/etc/ppp/options
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 16:49
Цитат (Guest @ Юни 14 2005,13:00) | /etc/ppp/options |
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 17:20
я си ползвай уиндоуса
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 17:24
Цитат (Guest @ Юни 14 2005,18:20) | я си ползвай уиндоуса |
Mersi za suveta...no ti pokazvam kakvo ima v OPTIONS file...
Титла: Проблем с ppp0
Публикувано от: techobg в Jun 14, 2005, 17:32
Цитат (Guest @ Юни 14 2005,18:20) | я си ползвай уиндоуса |
Ще помагаш ли или кво...и пиши малко повече,а не само с една две думи да отговаряш...знаеш как е ,почвам от нулата...! И все пак ми помагаш!!!
Титла: Проблем с ppp0
Публикувано от: в Jun 14, 2005, 18:28
пробвай да сложиш и тия неща noipdefault ipcp-accept-local ipcp-accept-remote
Титла: Проблем с ppp0
Публикувано от: techobg в Jun 15, 2005, 22:53
Цитат (Guest @ Юни 14 2005,19:28) | пробвай да сложиш и тия неща noipdefault ipcp-accept-local ipcp-accept-remote |
Мерси за съветите но май нищо не става...... Ще мина на Suse 9.1 .... Казаха ми ,че е по подходящата за начинаещи като мен....!!!!
|