|
|
|
![]() |
|
Strumenti |
![]() |
#7661 |
Junior Member
Iscritto dal: May 2009
Messaggi: 22
|
Ciao Alfonsor.
Il problema, non è continua e non ottiene l'IP. Quando funziona bene. Connect: ppp1 <--> nas0 Couldn't increase MTU to 1500. Couldn't increase MRU to 1500 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x4cbae6c2>] rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x4cbae6c2>] sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x4cbae6c2>] rcvd [LCP ConfReq id=0x2 <mru 1492> <auth chap MD5> <magic 0xb1706710>] sent [LCP ConfAck id=0x2 <mru 1492> <auth chap MD5> <magic 0xb1706710>] rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0x4cbae6c2>] Untimeout 0x407be4:0x1004ab90. rcvd [CHAP Challenge id=0x1 <76dd728108dbcda6b4686ad967e9e591>, name = "Huawei"] sent [CHAP Response id=0x1 <9fc8ac5359041036a43f136d6c82ae11>, name = "jazztel"] rcvd [CHAP Success id=0x1 "Authentication success,Welcome!"] Untimeout 0x41048c:0x1004ae00. Remote message: Authentication success,Welcome! sent [IPCP ConfReq id=0x1 <addr 0.0.0.0>] rcvd [IPCP ConfReq id=0x1 <addr 37.14.128.1>] ipcp: returning Configure-ACK sent [IPCP ConfAck id=0x1 <addr 37.14.128.1>] rcvd [IPCP ConfNak id=0x1 <addr 37.14.134.119>] Untimeout 0x407be4:0x1004ad98. sent [IPCP ConfReq id=0x2 <addr 37.14.134.119>] rcvd [IPCP ConfAck id=0x2 <addr 37.14.134.119>] Untimeout 0x407be4:0x1004ad98. ipcp: up Saluti. Ultima modifica di hamoble : 11-03-2015 alle 14:28. |
![]() |
![]() |
![]() |
#7662 | |
Senior Member
Iscritto dal: Mar 2002
Messaggi: 423
|
Quote:
![]() Con valori "settabili" dall'utente...
__________________
"Mi preoccupo continuamente di mia figlia e di Internet, anche se è ancora troppo giovane per collegarsi. Ecco di cosa mi preoccupo. Mi preoccupo che fra 10 o 15 anni verrà da me e mi dirà : "Papà, dov'eri quando hanno sradicato da Internet la libertà di stampa?" - Mike Godwin, Electronic Frontier Foundation Ultima modifica di Loco1 : 11-03-2015 alle 14:49. |
|
![]() |
![]() |
![]() |
#7663 | |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
i valori impostati, sono PPPoA 8/35 VC-MUX login: usuario contraseña hai controllato bene? |
|
![]() |
![]() |
![]() |
#7664 | |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
cosa dovrei mettere in una pagina web? che l'utente vuole che alle 8 di mattina il router mandi un'email così il cellulare gli suona? che un dispositivo usb connesso al router attivi il coso che rilascia cibo nella vaschetta del gatto alle 6 di mattina così quello non sveglia chi dorme? che il router si riavvii ogni notte alle 3? di controllare ogni mezz'ora se la velocità di download è inferiore a 15mega e fare un retrain? di scaricare la pagina della hit parade ogni giorno e creare un file xml con le prime tre posizioni? non so, fa un pò tu |
|
![]() |
![]() |
![]() |
#7665 | |
Junior Member
Iscritto dal: May 2009
Messaggi: 22
|
Quote:
Voglio solo vedere il traffico sulla ppp1 <--> nas0, il contenuto dei pacchetti per l'analisi, tcpdump?, Wireshark? Saluti. Ultima modifica di hamoble : 11-03-2015 alle 16:07. |
|
![]() |
![]() |
![]() |
#7666 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
è praticamente impossibile usare tcpdump, perché le interfacce ppp1 e nas1 vanno down quando fai un renew ip e quindi tcpdump si blocca perché l'interfaccia sparisce
per fare il debug ppp ti ho spiegato molti post fa come fare, cioé scrivere a mano la riga del comando pppd aggiungendo l'opzione debug mi dispiace ma è oltre le mie capacità saper diagnosticare un problema ppp con un provider spagnolo ![]() PS ti rispiego: Codice:
DGND4000 /tmp/etc # ps | grep pppd 32118 root 0:00 /var/w/pppd_1 unit 1 ipparam 1 info_file /tmp/w/info_1 lcp_file /tmp/w/lcp_1 pppd_fail /tmp/w/pppd_fail_1 demand_file /tmp/w/demand_1 plugin pppoe nas1 user aliceadsl password aliceadsl mru 1492 mtu 1492 nodetach nodefaultroute usepeerdns maxfail 0 lcp-echo-failure 3 lcp-echo-interval 10 Codice:
killall pppd Codice:
unit 1 ipparam 1 info_file /tmp/w/info_1 lcp_file /tmp/w/lcp_1 pppd_fail /tmp/w/pppd_fail_1 demand_file /tmp/w/demand_1 plugin pppoe nas1 user aliceadsl password aliceadsl mru 1492 mtu 1492 nodetach nodefaultroute usepeerdns maxfail 0 lcp-echo-failure 3 lcp-echo-interval 10 Codice:
pppd unit 1 ipparam 1 info_file /tmp/w/info_1 lcp_file /tmp/w/lcp_1 pppd_fail /tmp/w/pppd_fail_1 demand_file /tmp/w/demand_1 plugin pppoe nas1 user aliceadsl password aliceadsl mru 1492 mtu 1492 nodetach nodefaultroute usepeerdns maxfail 0 lcp-echo-failure 3 lcp-echo-interval 10 debug & Codice:
Plugin pppoe loaded. PPPoE Plugin Initialized Plugin pppoe called. pppd: unit=1 setting line discipline hook Sending PADI ses->filt->stag==NULL HOST_UNIQ successful match Host not in blacklist. Ether addr: 00:90:1a:a3:6c:90 (PPPOE Discovery) PPPoE hdr: ver=0x1 type=0x1 code=0x07 sid=0x0000 length=0x002b (PADO) PPPoE tag: type=0102 length=0007 (AC Name) data (UTF-8): r-pe059 PPPoE tag: type=0103 length=0004 (Host Uniq) d Add 00:90:1a:a3:6c:90 to blacklist after send PADR. HOST_UNIQ successful match Got connection: 1592 Connecting PPPoE socket: 00:90:1a:a3:6c:90 1592 nas1 0x491118 using channel 4 Using interface ppp1 Connect: ppp1 <--> nas1 Couldn't increase MTU to 1500. Couldn't increase MRU to 1500 sent [LCP ConfReq id=0x1 <mru 1492> <magic 0xaad61e23>] rcvd [LCP ConfReq id=0x7c <mru 1492> <auth pap> <magic 0x3d78eb03>] sent [LCP ConfAck id=0x7c <mru 1492> <auth pap> <magic 0x3d78eb03>] rcvd [LCP ConfAck id=0x1 <mru 1492> <magic 0xaad61e23>] Untimeout 0x407fb0:0x48dce4. mtu is <1492> ao->mru is <1492> Set ppp0 MTU 1492 sent [LCP EchoReq id=0x0 magic=0xaad61e23] sent [PAP AuthReq id=0x1 user="aliceadsl" password=<hidden>] rcvd [LCP EchoRep id=0x0 magic=0x3d78eb03] rcvd [PAP AuthAck id=0x1 ""] sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfNak id=0x1 <addr 87.7.176.127> <ms-dns1 85.37.17.46> <ms-dns3 85.38.28.84>] Untimeout 0x407fb0:0x48deb0. sent [IPCP ConfReq id=0x2 <addr 87.7.176.127> <ms-dns1 85.37.17.46> <ms-dns3 85.38.28.84>] rcvd [IPCP ConfAck id=0x2 <addr 87.7.176.127> <ms-dns1 85.37.17.46> <ms-dns3 85.38.28.84>] rcvd [IPCP ConfReq id=0xdf <addr 192.168.100.1>] ipcp: returning Configure-ACK sent [IPCP ConfAck id=0xdf <addr 192.168.100.1>] Untimeout 0x407fb0:0x48deb0. ipcp: up local IP address 87.7.176.127 remote IP address 192.168.100.1 primary DNS address 85.37.17.46 secondary DNS address 85.38.28.84 call p_marksuccessserver ipcp_script: /etc/ppp/ip-up st=9 code=1 Script /etc/ppp/ip-up started (pid 32759) Script /etc/ppp/ip-up finished (pid 32759), status = 0x0 sent [LCP EchoReq id=0x1 magic=0xaad61e23] rcvd [LCP EchoRep id=0x1 magic=0x3d78eb03] sent [LCP EchoReq id=0x2 magic=0xaad61e23] rcvd [LCP EchoRep id=0x2 magic=0x3d78eb03] sent [LCP EchoReq id=0x3 magic=0xaad61e23] rcvd [LCP EchoRep id=0x3 magic=0x3d78eb03] sent [LCP EchoReq id=0x4 magic=0xaad61e23] rcvd [LCP EchoRep id=0x4 magic=0x3d78eb03] sent [LCP EchoReq id=0x5 magic=0xaad61e23] rcvd [LCP EchoRep id=0x5 magic=0x3d78eb03] sent [LCP EchoReq id=0x6 magic=0xaad61e23] rcvd [LCP EchoRep id=0x6 magic=0x3d78eb03] sent [LCP EchoReq id=0x7 magic=0xaad61e23] rcvd [LCP EchoRep id=0x7 magic=0x3d78eb03] sent [LCP EchoReq id=0x8 magic=0xaad61e23] rcvd [LCP EchoRep id=0x8 magic=0x3d78eb03] sent [LCP EchoReq id=0x9 magic=0xaad61e23] rcvd [LCP EchoRep id=0x9 magic=0x3d78eb03] Ultima modifica di alfonsor : 11-03-2015 alle 16:59. |
![]() |
![]() |
![]() |
#7667 | |
Senior Member
Iscritto dal: Mar 2002
Messaggi: 423
|
Quote:
![]()
__________________
"Mi preoccupo continuamente di mia figlia e di Internet, anche se è ancora troppo giovane per collegarsi. Ecco di cosa mi preoccupo. Mi preoccupo che fra 10 o 15 anni verrà da me e mi dirà : "Papà, dov'eri quando hanno sradicato da Internet la libertà di stampa?" - Mike Godwin, Electronic Frontier Foundation Ultima modifica di Loco1 : 11-03-2015 alle 17:16. |
|
![]() |
![]() |
![]() |
#7668 | |
Senior Member
Iscritto dal: Mar 2002
Messaggi: 423
|
Quote:
![]()
__________________
"Mi preoccupo continuamente di mia figlia e di Internet, anche se è ancora troppo giovane per collegarsi. Ecco di cosa mi preoccupo. Mi preoccupo che fra 10 o 15 anni verrà da me e mi dirà : "Papà, dov'eri quando hanno sradicato da Internet la libertà di stampa?" - Mike Godwin, Electronic Frontier Foundation Ultima modifica di Loco1 : 11-03-2015 alle 17:16. |
|
![]() |
![]() |
![]() |
#7669 |
Member
Iscritto dal: May 2013
Messaggi: 200
|
Ho settato il limiter in questo modo su dgnd 4000:
Autostart downstream 11000 upstream 637 delta 5 Downstream - default rate 100 - default ceil rate 100 Nella classe 1 IP 192.168.0.xx rate 30 ceil rate 80 priorità 1 Praticamente all'ip indicato c'è un raspberry che scarica da torrent e vorrei che quando mi collego con altri dispositivi esso venga limitato. Per prova ho messo a scaricare da torrent e poi dal pc ho aperto 3/4 pagine youtube, in download qualche img di sistema etc... però la velocità dei torrent non scende al 30%. Ho notato però che se setto anche il ceil rate a 30, limita il dispositivo. Sbaglio qualcosa? o semplicemente la prova che ho effettuato non significa niente? Grazie EDIT: ogni volta che salvo qualche modifica, riavvio il modem, perchè mi pare di ricordare che si devono scollegare tutti i dispositivi Ultima modifica di dariett : 11-03-2015 alle 17:15. |
![]() |
![]() |
![]() |
#7670 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
ceil vuol dire fino a che percentuale di banda è per quella classe, se disponibile
se vuoi limitare la banda al 30% devi mettere rate e ceil al 30% non c'è alcun bisogno di riavviare il router; l'unico "problema" che esiste è che il limiter non agisce sulle connessioni che esistono prima che entri in funzione, ma solo su quelle dopo per cui se cambi qualcosa e riavvii il limiter, potrebbe non accadere nulla per forzare che le nuove impostazioni siano attive, devi cancellare tutte le connessioni questo si può fare da info pages/connections/Delete all oppure da telnet scrivendo conntrack -D ogni connessione sarà cancellata, così, per fare un esempio, un cliente torrent dovrà riconnettere tutte le sue cose e le nuove impostazioni del limiter entreranno in gioco |
![]() |
![]() |
![]() |
#7671 |
Member
Iscritto dal: Nov 2005
Città: Milano
Messaggi: 274
|
Wake on lan
Ciao Alfonsor.
Ho messo sul mio 3500 l'ultimo amod 13.0.8. Solo che entrando da ssh non mi risveglia i mac adress settati in amod services. Ti allego immagine del risultato del comando. |
![]() |
![]() |
![]() |
#7672 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
può accadere se l'ora non è stata messa
Codice:
on() { [ -e /tmp/timesyc ] || exit 1 local n _lock for i in AMODSRVWOLMAC1 AMODSRVWOLMAC2 AMODSRVWOLMAC3 AMODSRVWOLMAC4 AMODSRVWOLMAC5 AMODSRVWOLMAC6; do eval eth="\$$i" [ "$eth" ] && { echo " * waking up" $eth ether-wake -b -i $(amodfunc lan) $eth n=1 } done [ "$n" ] || _warn "no host to wake up" exit 0 } |
![]() |
![]() |
![]() |
#7673 |
Member
Iscritto dal: Nov 2005
Città: Milano
Messaggi: 274
|
Ciao,
in lan\service i server ntpd li ho messi correttamente,infatti quando riavvio vedo dai log che l'orario di sistema viene sincronizzato. Come posso risolvere? Grazie |
![]() |
![]() |
![]() |
#7674 |
Junior Member
Iscritto dal: Jun 2012
Messaggi: 13
|
Hello,
I'm using amod on my dgn3500 but when I updated to latest version I saw some Tx errors, some times I lost connection with my WiFi I'm not sure that problem was before amod or not because when I used to original firmware everything worked correctly, now when my WiFi some times disconnected I try to investigate and find reason. Please find attached screenshot. Below ping from ssh to WiFi client Codice:
ping 192.168.0.8 PING 192.168.0.8 (192.168.0.8): 56 data bytes 64 bytes from 192.168.0.8: seq=0 ttl=128 time=2.617 ms 64 bytes from 192.168.0.8: seq=2 ttl=128 time=2.319 ms 64 bytes from 192.168.0.8: seq=5 ttl=128 time=16.214 ms 64 bytes from 192.168.0.8: seq=11 ttl=128 time=10.246 ms 64 bytes from 192.168.0.8: seq=12 ttl=128 time=2.336 ms 64 bytes from 192.168.0.8: seq=18 ttl=128 time=2.298 ms 64 bytes from 192.168.0.8: seq=23 ttl=128 time=5.253 ms 64 bytes from 192.168.0.8: seq=27 ttl=128 time=2.309 ms 64 bytes from 192.168.0.8: seq=32 ttl=128 time=2.287 ms 64 bytes from 192.168.0.8: seq=33 ttl=128 time=2.297 ms 64 bytes from 192.168.0.8: seq=34 ttl=128 time=2.274 ms 64 bytes from 192.168.0.8: seq=35 ttl=128 time=2.332 ms 64 bytes from 192.168.0.8: seq=36 ttl=128 time=2.361 ms 64 bytes from 192.168.0.8: seq=37 ttl=128 time=2.534 ms --- 192.168.0.8 ping statistics --- 39 packets transmitted, 14 packets received, 64% packet loss round-trip min/avg/max = 2.274/4.119/16.214 ms Codice:
wifi0 Link encap:Ethernet HWaddr 30:46:9A:26:59:5E UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21848 errors:0 dropped:0 overruns:0 frame:1307049 TX packets:18474 errors:822 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:4407303 (4.2 MiB) TX bytes:5166471 (4.9 MiB) Interrupt:22 Memory:b8000000-b8010000 PS: I live in stand alone house and in my house I have only one WiFi (I checked by WiFi Analyzer in my mobile phone), so I don't have another network on the same channel. Ultima modifica di dar3k : 11-03-2015 alle 20:43. |
![]() |
![]() |
![]() |
#7675 |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
|
![]() |
![]() |
![]() |
#7676 | |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
the usual stuff to have a stable wifi on amod is to have - a fixed channel - wpa2 AES - one sid (stability) - 300 Mbps, 40 mhz |
|
![]() |
![]() |
![]() |
#7677 |
Member
Iscritto dal: Nov 2005
Città: Milano
Messaggi: 274
|
|
![]() |
![]() |
![]() |
#7678 |
Junior Member
Iscritto dal: Feb 2015
Messaggi: 8
|
Hello! I am using the amod 3.0.10 for the DGN2200v4 and would like to change the default 'admin' username to a different username - is this possible please?
It used to be easy to do on the DG834 as you could edit the config.cfg file and change the username, however since the names are now encrypted it cannot be done. and a dream - does the DGN2200v4 have enough RAM to be able to run SABnzb or NZBget? thank you. |
![]() |
![]() |
![]() |
#7679 | ||
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
param save but, I don't really know if everything will work fine after that Quote:
|
||
![]() |
![]() |
![]() |
#7680 | |
Senior Member
Iscritto dal: Oct 2005
Messaggi: 7494
|
Quote:
come puoi vedere dal pezzo di wolsc che ho inserito sopra, al posto di /tmp/timesync ho scritto /tmp/timesyc per cui fallsice sempre mannaggia la paperella mo metto subito un update solo per questa cosa |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 07:46.