manuelle Internetprovidereinrichtung mit pppd (für fritzcard dsl sl)

D

dgdaniel

ich benutze zwar kein yoper aber ich denke trotzdem dass der treiber für die karte nun funktioniert. ich habe mich an dieses tut gehalten http://www.yoper.de/phpbb/viewtopic.php?t=522&sid=7c817dbc788754112a26d2551be7a2af
mein problem ist, das ich nicht so genau weiß wie ich mit pppd, meine 1&1 providereinstellungen editieren muss.
im tut steht, dass ich unter /etc/ppp/peers/ eine provider datei erstellen muss und außerdem die dateien pppoe.conf und pap-secrets angepasst werden müssen.
ich weiß nur nicht genau wie ich das anstellen soll um mich bei 1und1 einwählen zu können.
hat da vielleicht einer mehr ahnung?:hilfe2:
 
Code:
# Begin /etc/ppp/peers/dsl

# Written by Milan "jagdfalke" Holzaepfel -- http://mjh.name/
# -- do what you want with it

# The first version of this file is probably from AVM, the guys from 
# adsl4linux.de have also done one 
# (<URL:http://adsl4linux.de/howtos/fritzdsl.php> and maybe I also got sth.
# from a SuSE-version in here...

# terms from <URL:http://imp.mjh.name/index.en.html> apply, esp. if you got
# it from mjh.name.  Feel free to remove this, but mention that this file is
# provided without any warranty.

# just to be sure...
hide-password
# That's really funny isn't it (at least if you forward it to an extra file...)
debug
# whatever syncronous HDCL serial encoding is, we use it
sync
# Our peer needn't authenticate itself
noauth
# You'll be our default route, baby
defaultroute
# Test every five seconds whether the peer is still alive
lcp-echo-interval 5
# and give up after three failed tries
lcp-echo-failure 3
# no more than 50 LCP configure-request transmissions
lcp-max-configure 50
# and no more than 2 LCP terminate-request transmissions
lcp-max-terminate 2
# don't use Compression Control Protocol
noccp
# and don't use ipx
noipx

# try to reopen connection after close
persist
# wait some time before reopen
holdoff 5
# but only really connect when there is demand
# demand
# and idle some time before disconnect
# idle 300
# don't use a connect script
connect ""

# we have to set MRU and MTU ourselves
mru 1492
mtu 1492
# accept the peer's ideas of our and his IP address
ipcp-accept-local
ipcp-accept-remote


# hmm... where was this left from?  I'd guess from some SuSE version of the file
##plugin userpass.so

# for people who don't know & have to use it...
# Anschlusskennung T-Online-Nummer Mitbenutzerkennung
#          |           |           |
#user 000000000000\#000000000000\#0001\#@t-online.de

# we are
user xxxXXXxxx
# and authenticate with
#password <password>
# (better put that into /etc/ppp/pap-secrets)
# if you use /etc/ppp/pap-secrets, put a line like this into it:
# "<username>" 217.5.98.33 "<password>"
# (without the '#', of course)
# I think the IP in the middle column is my peer's address, probably you have
# to fill in your peer's address instead

# our link's logical name
linkname dsl
# extra parameter for our ip-up script
ipparam internet

# and use the plugin for our hardware
plugin capiplugin.so
# with some magic stuff
avmadsl
:
/dev/null

#  End /etc/ppp/peers/dsl
 
meine pap secrets
Code:
# Secrets for authentication using PAP
# client	server	secret			IP addresses
"1und1/1736-xxx@online.de" * "mein pw halt"

das ist dann meine verbindung, nach deinem post, habe allerdings nur username verändert:
Code:
# Begin /etc/ppp/peers/dsl

# Written by Milan "jagdfalke" Holzaepfel -- http://mjh.name/
# -- do what you want with it

# The first version of this file is probably from AVM, the guys from 
# adsl4linux.de have also done one 
# (<URL:http://adsl4linux.de/howtos/fritzdsl.php> and maybe I also got sth.
# from a SuSE-version in here...

# terms from <URL:http://imp.mjh.name/index.en.html> apply, esp. if you got
# it from mjh.name.  Feel free to remove this, but mention that this file is
# provided without any warranty.

# just to be sure...
hide-password
# That's really funny isn't it (at least if you forward it to an extra file...)
debug
# whatever syncronous HDCL serial encoding is, we use it
sync
# Our peer needn't authenticate itself
noauth
# You'll be our default route, baby
defaultroute
# Test every five seconds whether the peer is still alive
lcp-echo-interval 5
# and give up after three failed tries
lcp-echo-failure 3
# no more than 50 LCP configure-request transmissions
lcp-max-configure 50
# and no more than 2 LCP terminate-request transmissions
lcp-max-terminate 2
# don't use Compression Control Protocol
noccp
# and don't use ipx
noipx

# try to reopen connection after close
persist
# wait some time before reopen
holdoff 5
# but only really connect when there is demand
# demand
# and idle some time before disconnect
# idle 300
# don't use a connect script
connect ""

# we have to set MRU and MTU ourselves
mru 1492
mtu 1492
# accept the peer's ideas of our and his IP address
ipcp-accept-local
ipcp-accept-remote


# hmm... where was this left from?  I'd guess from some SuSE version of the file
##plugin userpass.so

# for people who don't know & have to use it...
# Anschlusskennung T-Online-Nummer Mitbenutzerkennung
#          |           |           |
#user 000000000000\#000000000000\#0001\#@t-online.de

# we are
user 1und1/1736-432@online.de
# and authenticate with
#password <password>
# (better put that into /etc/ppp/pap-secrets)
# if you use /etc/ppp/pap-secrets, put a line like this into it:
# "<username>" 217.5.98.33 "<password>"
# (without the '#', of course)
# I think the IP in the middle column is my peer's address, probably you have
# to fill in your peer's address instead

# our link's logical name
linkname dsl
# extra parameter for our ip-up script
ipparam internet

# and use the plugin for our hardware
plugin capiplugin.so
# with some magic stuff
avmadsl
:
/dev/null

#  End /etc/ppp/peers/dsl

ich habe keine ahnung wozu ich die pppoe.conf brauch
Code:
#***********************************************************************
#
# 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=eth1

# 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 xxyyzz@magma.ca
USER=bxxxnxnx@sympatico.ca

# 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=no
#DEMAND=300

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=SERVER

# 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=yes

DNS1=
DNS2=

# 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=

# Specific desired service name
SERVICENAME=

# 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

naja schlussendlich kommt sowas wie bei dir
http://www.unixboard.de/vb3/showthread.php?t=13924&highlight=fritzcard+dsl+sl
also nix passiert, hattest du das prob lösen können?
 

Ähnliche Themen

Fritzcard DSL SL - PPPD verbindet nicht

DSL Connect via pppd scheitert - Falsche IP wird vergeben

Zurück
Oben