Hardware e Software > Connessioni ADSL/VDSL/FTTC

[GUIDA] Configurazione VoIP Vodafone su OpenWrt e Homeware

<< < (18/56) > >>

gabri_1908:
allora ragazzi, ho ricontrollato tutto e rifatto tutto da capo rimandando il modem ai settaggi iniziali. Il problema sta nel gateway sbagliato che è della classe 1.255 infatti eseguendo nslookup mi risolve il proxy ma non riesce a pingarmelo usando ping. Davvero non so più come raccapezzarmi, può essere che il seriale della mia vodafone station non vada bene?

gacchu:

--- Citazione ---Qual'è il mac address dell'interfaccia wan?
Qual'è il mac address dell'interfaccia voip?

Sarebbe utile avere un estratto del tuo ifconfig con: wanptm0, voipptm0, pppoe-wan, pppoe-voip
Aggiungi magari anche l'output del comando route.
Magari metti la configurazione di interfaccia wan e voip del file /etc/config/network (cambiando naturalmente SN e host_uniq)
--- Termina citazione ---

Riporta questi dati, altrimenti è difficile aiutarti

gabri_1908:
questa è la mia configurazione in etc/config/network

--- Codice: ---config interface 'wan'
option auto '1'
option proto 'pppoe'
option demand '0'
option macaddr 'A4:91:B1:2D:32:58'
option ipv6 '0'
option peerdns '1'
option keepalive_adaptive '0'
option dns_metric '0'
option ifname 'wanptm0'
option reqopts '1 3 6 15 33 42 51 121 249'
option password 'vodafone'
option username 'D-S142xxxxxxxxx63'
option host_uniq '533136xxxxxxxxx9363633'

config route 'voip_private'
option interface 'voip'
option netmask '255.0.0.0'
option metric '1'
option target '10.0.0.0/8'
option gateway '1.255.63.1'

config device 'voipptm0'
option type '8021q'
option name 'voipptm0'
option macaddr 'A4:91:B1:2D:32:5A'
option ifname 'ptm0'
option ipv6 '0'
option vid '1035'

config interface 'voip'
option auto '1'
option proto 'pppoe'
option demand '0'
option macaddr 'A4:91:B1:2D:32:5A'
option ipv6 '0'
option keepalive_adaptive '0'
option ifname 'voipptm0'
option password 'vodafone'
option username 'V-S1406xxxxx9663'
option host_uniq '533134xxxxxxxx303239363633'
option keepalive '4,20'
option defaultroute '0'


--- Termina codice ---
dopodichè questp è l'output di route

--- Codice: ---/etc/config$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         net-93-66-58-1. 0.0.0.0         UG    0      0        0 pppoe-wan
1.255.63.1      *               255.255.255.255 UH    0      0        0 pppoe-voip
10.0.0.0        1.255.63.1      255.0.0.0       UG    1      0        0 pppoe-voip
93.66.58.1      *               255.255.255.255 UH    0      0        0 pppoe-wan
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.10.0    *               255.255.255.128 U     0      0        0 eth4
192.168.168.0   *               255.255.255.128 U     0      0        0 wl0_1
192.168.168.128 *               255.255.255.128 U     0      0        0 wl1_1
239.0.0.0       *               255.0.0.0       U     0      0        0 br-lan

--- Termina codice ---

mentre queste sono le sezioni di ifconfig da voi richieste

--- Codice: ---voipptm0  Link encap:Ethernet  HWaddr A4:91:B1:2D:32:5A 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2042 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3397 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:85767 (83.7 KiB)  TX bytes:1153774 (1.0 MiB)

wanptm0   Link encap:Ethernet  HWaddr A4:91:B1:2D:32:58 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:22234 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20509 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2567830 (2.4 MiB)  TX bytes:1919509 (1.8 MiB)

pppoe-voip Link encap:Point-to-Point Protocol 
          inet addr:1.255.63.125  P-t-P:1.255.63.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1359 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:54 (54.0 B)  TX bytes:1062671 (1.0 MiB)

pppoe-wan Link encap:Point-to-Point Protocol 
          inet addr:93.66.58.223  P-t-P:93.66.58.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:510597 errors:0 dropped:0 overruns:0 frame:0
          TX packets:171713 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:575229127 (548.5 MiB)  TX bytes:20283845 (19.3 MiB)

ptm0      Link encap:Ethernet  HWaddr A4:91:B1:2D:32:58 
          inet6 addr: fe80::a691:b1ff:fe2d:3258/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:515468 errors:0 dropped:0 overruns:0 frame:0
          TX packets:177944 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:590784046 (563.4 MiB)  TX bytes:25968788 (24.7 MiB)

--- Termina codice ---

ultima cosa: ho notato che quando eseguo il firewall restart mi da una marea di errori.  Non credo sia molto normale

molto importante: il termine ultimo per il recesso gratuito della mia offerta è il 21, quindi ho questi ultimi due giorni per risolvere altrimenti dovrò recedere il contratto con vodafone e tornare a tim. Ovviamente a prescindere dal buon esito o no, ringrazio TUTTI di cuore per il supporto, sia quelli di questo thread sia il ragazzo che mi ha aiutato con i proxy Vodafone. Vi chiedo un ultimo sforzo visto che ormai ci sto perdendo le speranze

 :'( :headbang: :help: :pray:

gacchu:
in /etc/config/network finchè non hai il gateway giusto, commenta tutta la sezione config route 'voip_private'

fatto questo, dai un "ifdown voip && ifup voip && route" e nell'output verifica se il gateway è ancora nella classe 1.255

Se non va, in /etc/config/network prova ad usare in voipptm0 e in voip questo mac address: E4:8F:34:3A:82:15 e dai un "/etc/init.d/network restart && /etc/init.d/firewall restart". Ricontrolla in route se è cambiato qualcosa.

Cosa intendi che quando restarti il firewall hai un sacco di errori? dovresti avere solo qualche warning, eventualmente posta anche l'output che hai quando restarti il firewall

gabri_1908:
questo è l'output del tuo comando

--- Codice: ---/etc/config$ ifdown voip && ifup voip && route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         net-47-53-7-1.c 0.0.0.0         UG    0      0        0 pppoe-wan
47.53.7.1       *               255.255.255.255 UH    0      0        0 pppoe-wan
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan
192.168.10.0    *               255.255.255.128 U     0      0        0 eth4
192.168.168.0   *               255.255.255.128 U     0      0        0 wl0_1
192.168.168.128 *               255.255.255.128 U     0      0        0 wl1_1

--- Termina codice ---
non mi esce neanche un pppoe voip. ed io la parte voip private l'ho proprio tolta che è diverso

Navigazione

[0] Indice dei post

[#] Pagina successiva

[*] Pagina precedente

Vai alla versione completa