Nowe posty

xx Problem ze sterownikami. (5)
2024-04-13, 21:25:16
xx Instalacja xfce4 (2)
2024-04-13, 16:20:17
xx Serie kompilacji bez instalacji dla “emerge” w Gentoo (2)
2024-04-08, 18:40:04
xx Plasma 6 w Neonie ssie trochę mniej ... (17)
2024-04-05, 10:03:46
xx Problem z Linux Lite po instalacji (3)
2024-04-03, 14:23:40
xx Jak właczyć num locka przy starcie systemu debian 12? (12)
2024-04-02, 17:43:54
xx Brak dźwieku w systemie. (5)
2024-04-02, 16:13:41
xx Dystrybucja pod HP Omen (7)
2024-03-29, 11:33:05
xx [Poradnik] Wyszukiwanie Sterowników (2)
2024-03-27, 21:08:23
xx Ile pingwinów? (1)
2024-03-27, 08:59:24

Autor Wątek: Neostrada przez ethernet  (Przeczytany 6893 razy)

bojleros

  • Gość
Neostrada przez ethernet
« Odpowiedź #15 dnia: 2005-08-26, 23:09:42 »
2005-08-26 22:45:04 Opol napisał:

> Spod windy dziala bezproblemu (wlasnie teraz z niego kozystam) problem tkwi tylko gdzies w
 > linuxie. Wedlug logow wszystko jest ok, podczas wlaczania systemu pokazuje sie ze eth0 zostal
 > poprawnie wlaczony.

 a co mówią logi ???

bojleros

  • Gość
Neostrada przez ethernet
« Odpowiedź #16 dnia: 2005-08-26, 23:28:11 »
zobacz sobie moją konfigurację


1.


#***********************************************************************
#
# 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 xxyyzz@magma.ca
USER='bleble@neostrada.pl'

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

# 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




2.chap-secrets

"user" * "passwd"
"bleble@neostrada.pl"   *   "niezakodowane_hasło"


3.pap-secrets

"user" MyPeer "passwd"
"bleble@neostrada.pl"   *   "niezakodowane_hasło"

4.options-pppoe


noipdefault
hide-password
defaultroute
persist
lock



--------------------

Na takich ustawieniach działa .







Opol

  • Gość
Neostrada przez ethernet
« Odpowiedź #17 dnia: 2005-08-27, 12:08:29 »
Popwproladzeniu tych ustawien w logach w systemie "znikl" eth0 pozostal tylko eth1 na ktorym jest FireWire.

bojleros

  • Gość
Neostrada przez ethernet
« Odpowiedź #18 dnia: 2005-08-27, 15:08:15 »
2005-08-27 12:08:29 Opol napisał:

> Popwproladzeniu tych ustawien w logach w systemie "znikl" eth0 pozostal tylko eth1 na
 > ktorym jest FireWire.

Troche nie rozumiem wypowiedzi . A codaje adsl-start na tych ustawieniach ??? , a adsl-connect ?? co pisze w logach ??

Opol

  • Gość
Neostrada przez ethernet
« Odpowiedź #19 dnia: 2005-08-27, 16:11:44 »
Zmienilem log na wzor tego ktory dostalem i po zrestartowaniu systemu nie bylo juz polaczenia na eth0 (w opcji nowe polaczenie>adsl byla do wyboru tylko karta  FireWire-wczesniej jeszcze byla nVidia Ethernet Adpater)

bojleros

  • Gość
Neostrada przez ethernet
« Odpowiedź #20 dnia: 2005-08-28, 10:29:28 »
2005-08-27 16:11:44 Opol napisał:

> Zmienilem log ?

?????????????????????????????????????????????

To co dostałeś to pliki które siedzą u mnie w /etc/ppp , one stanowią konfiguracje rp-pppoe . Nie wiem coś zrobił jeszcze ze sie interfejs stracił ale napewnpo tak nie powinno być. Musisz cofnąć operacje które wykonałeś . Nie wieżę w to ze po zmianie wpisu w plikach w /etc/ppp stracił się interfejś eth. Może przestań wykonywać operacje przez jakieś konfiguratory graficzne tylko postaraj się o to żeby poprostu:

1. Skrypty startowe ładowały modół do kernela (sterownik karty sieciowej) , jak masz realteka to coś takiego pomoże :

lsmod |grep 8139too -sprawdz czy nie jest juz załadowany

Jezeli nie jest załadowany to : modprobe 8139too

2. Podnieś interfejs i nadaj adres ip :

ifconfig eth0 up
ifconfig eth0

3. Sprawdz czy masz ping do modemu , ppodejzewam ze powinien odpowiedzieć.

4. Sprawdz jeszcze raz konfigurację w /etc/ppp i spróbuj się połaczyć adsl-start i patrz co masz w logach /var/log/messages /var/log/debug i inne w których mozna sie takich informacji spodziewać.