» »

ADSL modem hangup

ADSL modem hangup

3LeR. ::

ok problemcek je sledec: Imam linux router (Debian 3.0 woody) in kar nekaj casa je zadeva tekla na 1m/256kbit adslju... potem pa smo zadevo "malce" nadgradili.. na 4m/512kbit >:D
od takrat se dogajajo cudne stvari. Kadar je povezava mocno obremenjena (200-300k downloada + 30k uploada, navadno pri uporabi bit torrenta ali eMule) povezava preprosto pade. Kadar p2p programi ne tecejo povezava brez tezav stoji tudi po vec dni. Ali se komu sanja zakaj bi se to dogajalo? Po minuti ali malo vec se povezava sama vzpostavi nazaj...

Spodaj prilagam c/p iz sysloga.

Hvala za pomoc.

Mar 17 19:42:46 gw pppoe[6846]: send (sendPacket): No buffer space available
Mar 17 19:42:46 gw pppd[209]: Modem hangup
Mar 17 19:42:46 gw pppd[209]: Connection terminated.
Mar 17 19:42:46 gw pppd[209]: Connect time 2222.6 minutes.
Mar 17 19:42:46 gw pppd[209]: Sent 1370554759 bytes, received 2927735986 bytes.
Mar 17 19:43:16 gw pppd[209]: Serial connection established.
Mar 17 19:43:16 gw pppd[209]: Using interface ppp0
Mar 17 19:43:16 gw pppd[209]: Connect: ppp0 -- /dev/pts/0
Mar 17 19:43:17 gw pppoe[7396]: PADS: Service-Name: ''
Mar 17 19:43:17 gw pppoe[7396]: PPP session is 1517
Mar 17 19:43:20 gw pppd[209]: PAP authentication failed
Mar 17 19:43:20 gw pppd[209]: Connection terminated.
Mar 17 19:43:20 gw pppoe[7396]: read (asyncReadFromPPP): Input/output error
Mar 17 19:43:20 gw pppoe[7396]: Sent PADT
Mar 17 19:43:50 gw pppd[209]: Serial connection established.
Mar 17 19:43:50 gw pppd[209]: Using interface ppp0
Mar 17 19:43:50 gw pppd[209]: Connect: ppp0 -- /dev/pts/1
Mar 17 19:43:50 gw pppoe[7405]: PADS: Service-Name: ''
Mar 17 19:43:50 gw pppoe[7405]: PPP session is 1519
Mar 17 19:43:54 gw pppd[209]: PAP authentication failed
Mar 17 19:43:54 gw pppd[209]: Connection terminated.
Mar 17 19:43:54 gw pppoe[7405]: read (asyncReadFromPPP): Input/output error
Mar 17 19:43:54 gw pppoe[7405]: Sent PADT
Mar 17 19:44:24 gw pppd[209]: Serial connection established.
Mar 17 19:44:24 gw pppd[209]: Using interface ppp0
Mar 17 19:44:24 gw pppd[209]: Connect: ppp0 -- /dev/pts/1
Mar 17 19:44:24 gw pppoe[7422]: PADS: Service-Name: ''
Mar 17 19:44:24 gw pppoe[7422]: PPP session is 1521
Mar 17 19:44:27 gw pppd[209]: PAP authentication failed
Mar 17 19:44:27 gw pppd[209]: Connection terminated.
Mar 17 19:44:27 gw pppoe[7422]: read (asyncReadFromPPP): Input/output error
Mar 17 19:44:27 gw pppoe[7422]: Sent PADT
Mar 17 19:44:57 gw pppd[209]: Serial connection established.
Mar 17 19:44:57 gw pppd[209]: Using interface ppp0
Mar 17 19:44:57 gw pppd[209]: Connect: ppp0 -- /dev/pts/1
Mar 17 19:44:57 gw pppoe[7442]: PADS: Service-Name: ''
Mar 17 19:44:57 gw pppoe[7442]: PPP session is 1522
Mar 17 19:45:01 gw pppd[209]: PAP authentication failed
Mar 17 19:45:01 gw pppd[209]: Connection terminated.
Mar 17 19:45:01 gw pppoe[7442]: read (asyncReadFromPPP): Input/output error
Mar 17 19:45:01 gw pppoe[7442]: Sent PADT
Mar 17 19:45:31 gw pppd[209]: Serial connection established.
Mar 17 19:45:31 gw pppd[209]: Using interface ppp0
Mar 17 19:45:31 gw pppd[209]: Connect: ppp0 -- /dev/pts/1
Mar 17 19:45:31 gw pppoe[7454]: PADS: Service-Name: ''
Mar 17 19:45:31 gw pppoe[7454]: PPP session is 1524
Mar 17 19:45:35 gw pppd[209]: Cannot determine ethernet address for proxy ARP
Mar 17 19:45:35 gw pppd[209]: local IP address 193.95.243.xxx
Mar 17 19:45:35 gw pppd[209]: remote IP address 213.250.19.90
Mar 17 19:45:35 gw pppd[209]: primary DNS address 193.189.160.11
Mar 17 19:45:35 gw pppd[209]: secondary DNS address 193.189.160.12
  • spremenil: 3LeR. ()

Sumo ::

Lahko da imaš prešvoh procesor v routerju.

3LeR. ::

router je p2 333 z 256 rama ... mislm da bi moralo to zadostovat za se kj vec kot 4mega link

3LeR. ::

*bump*

2nemesis ::

Predlagam ti da malce popraviš konfiguracijsko datotkeko v RH je to /etc/sysconfig/network-scripts/ifcfg-ppp0:

Spremeni
CLAMPMSS=1412
v
CLAMPMSS=no
ker uporabljaš routanje, in posebej če uporabljaš za forwardiranje ukaz:
/sbin/iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Pri RH9 je sta bili spodnji vrednosti zamenjani:
PPPOE_TIMEOUT=80
LCP_INTERVAL=20

PPPOE_TIMEOUT naj bi bil vsaj 3 krat večji od LCP_INTERVAL.

Za mtu vpiši:
MTU=1454

Dobra cifra je tudi 1492, vendar upošteva samo PPPOE + ADSL, medtem ko 1454 upošteva PPPOE + ADSL + ATM.

Navadni routerji počepnejo že pri več kot 400 povezavah, vendar pri linux-u naj ne bi bilo tako. Poizkusi jih zmanjšat.

3LeR. ::

Najprej hvala za odgovor.
Vendar nimam RH ampak debiana. Mogoce ves kje bi nasel te nastavitve v debianu??

Lp 3ler

2nemesis ::

Za debian mislim da je "/etc/ppp/pppoe.conf".

3LeR. ::

ni... nikjer ne najdem pppoe.conf..

2nemesis ::

Poglej še v datoteko "/etc/ppp/peers/dsl-provider".
Ali kaj podobnega.

3LeR. ::

aha nasel..
sem popravil vrednosti po tvojih navodilih... bom porocal o rezultatih..

Hvala.

Lp 3ler


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

PPTP na Ubuntu

Oddelek: Omrežja in internet
61524 (1351) poweroff
»

[Linux] Noče se povezati z ADSL

Oddelek: Operacijski sistemi
402091 (1560) sverde21
»

PPP: Input/output error

Oddelek: Omrežja in internet
91482 (1320) b
»

net in gentoo

Oddelek: Operacijski sistemi
121474 (1340) Poldi112
»

adsl+debian

Oddelek: Omrežja in internet
391517 (1129) Gandalfar

Več podobnih tem