Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DSl Verbindung mit Gentoo 1.4 ??
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Wed Nov 06, 2002 5:16 am    Post subject: DSl Verbindung mit Gentoo 1.4 ?? Reply with quote

Hallo !

Ich kann es noch gar nicht glauben, nach einigen Jahren Mandrake bin ich jetzt auf Gentoo umgestiegen.
Nach etlichen Versuchen hab ich es tatsächlich geschafft, Gentoo läuft.
Aber nun hab ich leider Mist gebaut. Ich hatte das Problem, dass ich nur über die Konsole die ADSL Verbindung starten konnte, über KDE nicht.
In der Readme von rp-pppoe stand, daß man einfach die default route von eth0 auf ppp0 üpber die /etc/rc.local umbiegen soll.
Nur diese Datei gibt es bei Gentoo nicht.
Also hab ich was dummes getan, hab dies ausprobiert:
rc-update add net.ppp0 default

Danach bekam ich auch in der Konsole keine Verbindung mehr mit dem Internet.
Also hab ich gedacht, ich mach den Befehl einfach rückgängig, hab dies eingegeben:

rc-update del net.ppp0 default

Hat aber nichts gebracht, bekomme immer noch keine Verbindung.

Kann mir jemand sagen, wie ich wieder ins Internet komme? Wenigstens wieder mit der Konsole??

Danke

minbari
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Wed Nov 06, 2002 10:41 am    Post subject: Reply with quote

Hi,
evtl. hilft schon ein neues adsl-setup?

Dim
Back to top
View user's profile Send private message
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Wed Nov 06, 2002 2:17 pm    Post subject: Reply with quote

Nein, schon probiert, ich denke es liegt daran dass ppp0 nicht mehr aktiviert wird.
ifconfig zeigte vorher 3 laufende schnittstellen an.

eth0
io
ppp0

Jetzt fehlt ppp0, nur wie änder ich dies?
Back to top
View user's profile Send private message
catfeelx
n00b
n00b


Joined: 27 Nov 2002
Posts: 6
Location: Essen, Germany

PostPosted: Tue Dec 03, 2002 6:40 am    Post subject: Reply with quote

Moin,
Ich hatte zuerst auch Probleme mit dem DSL Zugang.
Ich habe, zuerst auf der console mit adsl-start den zugang gestartet.
Als dies erfolgreich geklappt hat habe ich mir ein Startscript gebastelt. Soweit ich weis, started diese Script adsl-start den pppd selbst. Ich habe also kein rc-update add ppp0 default gemacht.

Ob "dial on demand" oder "always on" wird ja mit adsl-setup konfiguriert

Ich poste ganz einfach mal mein script /etc/ppp/adsl.

<script>
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/net-dns/ddclient/files/ddclient.rc6,v 1.1 2002/06/29 00:55:03 bangert Exp $

depend() {
need net
}


start() {
ebegin "Starting RP-PPPoE"
/usr/sbin/adsl-start
eend $?
}

stop() {
ebegin "Stopping RP-PPPoE"
/usr/sbin/adsl-stop
eend $?
}


status() {
ebegin "Status: "
/usr/sbin/adsl-status
eend $?
}


</script>


Ich kann mir jetzt also mit /etc/init.d/adsl start die verbindung starten. Er greift hierbei auf das adsl-start zurück. Das selbe ist funzt auch mit adsl status -> adsl-status und adsl stop -> adsl-stop.

Bei mir hat es erfolgreich geklappt und kann jetzt schön von der Arbeit auf den Rechner zugreifen...

Ich hoffe das hilft!
Catfeelx
Back to top
View user's profile Send private message
minbari
n00b
n00b


Joined: 06 Nov 2002
Posts: 27
Location: Lübeck

PostPosted: Fri Dec 06, 2002 8:56 am    Post subject: Reply with quote

Jo danke, habe den Fehler dann selber gefunden.
Man muß einfach, wie oben schon erwähnt, die Standartroute von eth0 auf ppp0 umbiegen.
Also entweder man führt "rc-update add net.eth0 default" gar nicht erst aus, oder man löscht dies wieder mit "rc-update del net.eth0 default", dann funktioniert es tadellos.
_________________
www.gentooforum.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum