Koozali.org: home of the SME Server

VPN con ihpone

Offline killrob

  • *****
  • 241
  • +0/-0
VPN con ihpone
« on: August 01, 2012, 07:53:33 PM »
Salve a tutti,

sto tentando di far connettere un iphone in vpn (pptp) con il mio sme server 7.5.1 server&gateway ma non si collega,
un altro smartphone (LG L3) con android 3.2 si collega senza problemi.
Nel log quando tenta di collegarsi l'iphone trovo queste righe:

"Aug  1 15:49:30 sassone01 pptpd[16235]: CTRL: Client 217.200.200.232 control connection started
Aug  1 15:49:30 sassone01 pptpd[16235]: CTRL: Starting call (launching pppd, opening GRE)
Aug  1 15:49:30 sassone01 pppd[16236]: Plugin radius.so loaded.
Aug  1 15:49:30 sassone01 pppd[16236]: RADIUS plugin initialized.
Aug  1 15:49:30 sassone01 pppd[16236]: pppd 2.4.4 started by root, uid 0
Aug  1 15:49:30 sassone01 kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Aug  1 15:49:30 sassone01 pppd[16236]: Using interface ppp0
Aug  1 15:49:30 sassone01 pppd[16236]: Connect: ppp0 <--> /dev/pts/0
Aug  1 15:49:30 sassone01 udevd[1315]: udev done!
Aug  1 15:50:00 sassone01 pppd[16236]: LCP: timeout sending Config-Requests
Aug  1 15:50:03 sassone01 pptpd[16235]: CTRL: EOF or bad error reading ctrl packet length.
Aug  1 15:50:03 sassone01 pptpd[16235]: CTRL: couldn't read packet header (exit)
Aug  1 15:50:03 sassone01 pptpd[16235]: CTRL: CTRL read failed
Aug  1 15:50:03 sassone01 pppd[16236]: Modem hangup
Aug  1 15:50:03 sassone01 pptpd[16235]: CTRL: Reaping child PPP[16236]
Aug  1 15:50:03 sassone01 pppd[16236]: Connection terminated.
Aug  1 15:50:03 sassone01 kernel: divert: no divert_blk to free, ppp0 not ethernet
Aug  1 15:50:03 sassone01 pppd[16236]: Exit.
Aug  1 15:50:03 sassone01 pptpd[16235]: CTRL: Client 217.200.200.232 control connection finished
Aug  1 15:50:03 sassone01 udevd[1315]: udev done!"


mentre se mi collego con l'LG trovo queste altre:

"Aug  1 15:46:46 sassone01 pptpd[15841]: CTRL: Client 176.245.140.115 control connection started
Aug  1 15:46:47 sassone01 pptpd[15841]: CTRL: Starting call (launching pppd, opening GRE)
Aug  1 15:46:47 sassone01 pppd[15842]: Plugin radius.so loaded.
Aug  1 15:46:47 sassone01 pppd[15842]: RADIUS plugin initialized.
Aug  1 15:46:47 sassone01 pppd[15842]: pppd 2.4.4 started by root, uid 0
Aug  1 15:46:47 sassone01 kernel: divert: not allocating divert_blk for non-ethernet device ppp0
Aug  1 15:46:47 sassone01 pppd[15842]: Using interface ppp0
Aug  1 15:46:47 sassone01 pppd[15842]: Connect: ppp0 <--> /dev/pts/0
Aug  1 15:46:47 sassone01 udevd[1315]: udev done!
Aug  1 15:46:53 sassone01 pppd[15842]: MPPE 128-bit stateless compression enabled
Aug  1 15:46:54 sassone01 pppd[15842]: found interface eth0 for proxy arp
Aug  1 15:46:54 sassone01 pppd[15842]: local  IP address 192.168.0.30
Aug  1 15:46:54 sassone01 pppd[15842]: remote IP address 192.168.0.244
Aug  1 15:46:55 sassone01 esmith::event[15868]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.168.0.30 192.168.0.244 pptpd
Aug  1 15:46:55 sassone01 esmith::event[15868]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
Aug  1 15:46:55 sassone01 esmith::event[15868]: expanding /etc/rc.d/init.d/masq 
Aug  1 15:46:56 sassone01 esmith::event[15868]: generic_template_expand=action|Event|ip-up.pptpd|Action|generic_template_expand|Start|1343828815 186192|End|1343828816 92966|Elapsed|0.906774
Aug  1 15:46:56 sassone01 esmith::event[15868]: Running event handler: /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access
Aug  1 15:46:56 sassone01 /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[15870]: /home/e-smith/db/configuration: OLD pptpd=service|Interfaces||TCPPort|1723|access|public|sessions|10|status|enabled
Aug  1 15:46:56 sassone01 /etc/e-smith/events/ip-up.pptpd/S70pptp-interface-access[15870]: /home/e-smith/db/configuration: NEW pptpd=service|Interfaces|ppp0|TCPPort|1723|access|public|sessions|10|status|enabled
Aug  1 15:46:56 sassone01 esmith::event[15868]: S70pptp-interface-access=action|Event|ip-up.pptpd|Action|S70pptp-interface-access|Start|1343828816 93465|End|1343828816 402216|Elapsed|0.308751
Aug  1 15:46:56 sassone01 esmith::event[15868]: Running event handler: /etc/e-smith/events/actions/adjust-services
Aug  1 15:46:56 sassone01 esmith::event[15868]: adjusting non-supervised masq (adjust) 
Aug  1 15:46:57 sassone01 esmith::event[15868]: adjust-services=action|Event|ip-up.pptpd|Action|adjust-services|Start|1343828816 402729|End|1343828817 401213|Elapsed|0.998484
Aug  1 15:46:57 sassone01 pidof[16029]: invalid options on command line!
Aug  1 15:46:57 sassone01 pidof[16030]: invalid options on command line!
Aug  1 15:46:57 sassone01 ddclient: Chiusura -p failed"

e si collega

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: VPN con ihpone
« Reply #1 on: August 01, 2012, 09:31:41 PM »
stesso provider telefonico? se si, stesso tipo di contratto?
hai cercato qui nei forum? e con google?
che iphone? modello e versione iOS?

Offline killrob

  • *****
  • 241
  • +0/-0
Re: VPN con ihpone
« Reply #2 on: August 01, 2012, 11:06:59 PM »
no operatore telefonico differente. con vodafone funziona e con tim no. per il tipo di os ti faccio sapere che non è mio ma di mia sorella e al momento non l‘ho sotto mano. Sul forum ho cercato senza risultati e su google la stessa cosa.

Ok è un iphone 4 con iOS5 a bordo
« Last Edit: August 02, 2012, 12:04:37 AM by killrob »

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: VPN con ihpone
« Reply #3 on: August 02, 2012, 09:49:45 AM »
scambia le sim e riprova, senza toccare alcuna impostazione..

ci sono operatori/contratti che non prevedono la possibilità di fare vpn (per es. in alcune ricaricabili)

Offline killrob

  • *****
  • 241
  • +0/-0
Re: VPN con ihpone
« Reply #4 on: August 03, 2012, 03:58:44 PM »
Ok proverò ma comunque sono tutti e 2 abbonamenti, magari dipende dall'operatore come dici tu.

io la scrivo con opzione di verifica, potrebbe dipendere anche dal fatto che si debba utilizzare ibox come APN per Tim  e non wap, ma come ripeto lo devo verificare
« Last Edit: August 03, 2012, 04:06:23 PM by killrob »

Offline killrob

  • *****
  • 241
  • +0/-0
Re: VPN con ihpone
« Reply #5 on: August 04, 2012, 07:05:01 PM »
ok confermo che con ibox.tim.it come APN la VPN funziona