Hilfe => mpd konfigurieren für PPPoE unter 4.10

g-access

BSD Umsteiger ...
Hallo Leute,

versuche nun seit einigen Tagen mpd dazu zu bewegen seinen Dienst mit meiner DSL Leitung aufzunehmen, bekomme es aber einfach nicht hin.

Weder die Suchfunktion hier noch die über Google hat mir wirklich weitergeholfen !

Also wäre es nett wenn ich hier Hilfe finden würde ;)

Hier meine mpd.conf :
Code:
default:
        load telebel

telebel:
        new -i ng0 telebel PPPoE
        set iface addrs 1.1.1.1 2.2.2.2
        set iface route default
        set iface disable on-demand
        set iface idle 0
        set bundle disable multilink
        set bundle authname "**********@telebel-dsl.de"
        set bundle password ********
        set link no acfcomp protocomp
        set link disable chap pap
        set link accept chap 
        set link mtu 1492
        set link keep-alive 10 60
        set ipcp yes vjcomp
        set ipcp ranges 0.0.0.0/0 0.0.0.0/0
        open iface


Hier meine mpd.links :
Code:
pppoe1:
         set link type pppoe
         set pppoe iface fxp0


Und hier die Ausgabe wenn ich mpd starte :
Code:
Multi-link PPP for FreeBSD, by Archie L. Cobbs.
Based on iij-ppp, by Toshiharu OHNO.
mpd: pid 306, version 3.18 (root@router.g-access.net 21:14  3-Jan-2005)
[telebel] ppp node is "mpd306-telebel"
[telebel] using interface ng0
[PPPoE] this link has no type set
[telebel] IPCP: peer address cannot be zero
[telebel] IFACE: Open event
[telebel] IPCP: Open event
[telebel] IPCP: state change Initial --> Starting
[telebel] IPCP: LayerStart
[telebel:PPPoE] [telebel] bundle: OPEN event in state CLOSED
[telebel] opening link "PPPoE"...
[PPPoE] link: OPEN event
[PPPoE] LCP: Open event
[PPPoE] LCP: state change Initial --> Starting
[PPPoE] LCP: LayerStart
[PPPoE] device: OPEN event in state DOWN
[PPPoE] this link has no type set
[PPPoE] device is now in state DOWN


Dank im voraus für Hilfe ....
 
Hallo,

danke für den Tip - das war es ....
Manchmal sieht man den Wald vor lauter Bäumen nicht ;)

Leider ändert sich dabei nichts an meinem bestehenden Problem das ich mich sobald ich eine PPPoE Verbindung aufgebaut habe, nicht mehr aus dem internen Netz per SSH anmelden kann.

Also muß ich wohl weitersuchen ....
 
s-tlk schrieb:
wie sieht denn deine sshd_config aus?


Hallo,

hier meine sshd_config :
Code:
#       $OpenBSD: sshd_config,v 1.59 2002/09/25 11:17:16 markus Exp $
#       $FreeBSD: src/crypto/openssh/sshd_config,v 1.4.2.13 2003/09/24 19:28:35 des Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

# Note that some of FreeBSD's defaults differ from OpenBSD's, and
# FreeBSD has a few additional options.

#VersionAddendum FreeBSD-20030924

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 3600
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
SyslogFacility AUTH
LogLevel INFO

# Authentication:

#LoginGraceTime 120
#PermitRootLogin no
#StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile     .ssh/authorized_keys

# rhosts authentication should not be used
#RhostsAuthentication no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no

# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
#PermitEmptyPasswords no

# Change to no to disable PAM authentication
#ChallengeResponseAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

#AFSTokenPassing no

# Kerberos TGT Passing only works with the AFS kaserver
#KerberosTgtPassing no

#X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes

#MaxStartups 10
# no default banner path
#Banner /some/path
#VerifyReverseMapping no

# override default of no subsystems
Subsystem       sftp    /usr/libexec/sftp-server
 
uncomment:
Port 22
Protocol 2,1
ListenAddress 0.0.0.0
und dann sshd neustarten oder den rechner.
wenn das funktioniert würde ich es nicht verstehen, weil das die default einstellungen sind, aber ein versuch ist es wert.
 
Schau mal ob dir der mpd bei der Einwahl die defaultroute irgendwie komisch umbiegt.
Ansonsten wären natürlich Fehlermeldungen und log-Einträge der Fehlversuche bzw. eine etwas detailiertere Fehlerbeschreibung ganz nützlich.
Gibts einen timeout, connection refused, $whatever?

Edit: Sorry, ich hatte den Thread nicht gelesen: http://www.bsdforen.de/showthread.php?t=8190
 
Zuletzt bearbeitet:
So ich habe nun endlich den Fehler gefunden !!??

Es war der ntpd ...
Dieser abgeschaltet und die SSH Session läuft wieder :)

Nun würde ich aber schon gerne wissen wie sowas kommt - irgendjemand eine Idee ?
 
Zurück
Oben