VPN en UMTS
Mark Veenstra
mark op woonschippax.nl
Wo Dec 19 12:45:56 UTC 2007
Martijn,
Ik heb in de bijlage beide bestanden van GPRS Easy Connect toegevoegd
zoals het nu werkt. Als ik het goed interpreteer, dan moet ik het
bestand /etc/ppp/peers/ppp0 vervangen met het bestand run uit de
bijlage. En het bestand /etc/chatscripts/ppp0 vervangen met het bestand
chat.
Mark
Op woensdag 19-12-2007 om 13:29 uur [tijdzone +0100], schreef Martijn
van de Streek:
> On Wed, 19 Dec 2007, Mark Veenstra wrote:
>
> > Heb al eens met jou hierover gesproken, maar het werkt niet onder PPP
> > via network-manager. Krijg de UMTS dan niet werkend. Zal dan nog wel
> > handmatig overal chat scripts en dergelijke moeten aanpassen, maar
> > makkelijk en simpel is het niet.
> >
> > Kan ik niet een VPN handmatig opzetten?
>
> Kan, maar daar is de network manager niet voor.. er zijn meer
> programma's die niet online gaan als de network-manager niet roept dat
> de boel online is.
>
> Je kunt dus beter die chatscripts fixen, en zorgen dat ze doen wat wat
> dat UMTS-programma doet.
>
> Martijn
------------- volgend deel ------------
Een HTML-bijlage is gescrubt...
URL: <https://lists.ubuntu.com/archives/ubuntu-nl/attachments/20071219/c5fbbc01/attachment.html>
------------- volgend deel ------------
SAY '\nC#2'
'' AT
SAY '\nC#3'
TIMEOUT 240
SAY '\nC#4'
OK ATE0
SAY '\nC#5'
OK ATV1
SAY '\nC#6'
OK 'AT+CGDCONT=1,"IP","office.vodafone.nl"'
SAY '\nC#7'
OK AT+CGQREQ=1,0,0,0,0,0
SAY '\nC#8'
OK AT+CGQMIN=1,0,0,0,0,0
SAY '\nC#9'
OK ATDT*99***1#
SAY '\nC#10'
TIMEOUT 30
SAY '\nC#11'
CONNECT ""
SAY '\nC#12'
# GPRS Easy Connect program ekkor modositotta: 2007.12.15
------------- volgend deel ------------
#
#
# PPPD SETUP FOR GPRS
# This file is part of GPRS Easy Connect.
#
# 2003.11.06.
#
# Enables connection debugging facilities.
debug
# Speed
393216
# Use hardware flow control (i.e. RTS/CTS) to control the flow
# of data on the serial port.
crtscts
# Use the modem control lines.
modem
# Specifies that pppd should create a UUCP-style lock file for
# the serial device to ensure exclusive access to the device.
lock
# Disable protocol field compression negotiation in both the
# receive and the transmit direction.
#nopcomp
# Disable Address/Control compression in both directions (send
# and receive).
#noaccomp
# Disable magic number negotiation. With this option, pppd
# cannot detect a looped-back line.
#nomagic
# Disable Compression Control Protocol (CCP) negotiation.
#noccp
# Disable Van Jacobson style TCP/IP header compression in both
# the transmit and the receive direction.
novj
# Disable the connection-ID compression option in Van Jacobson
# style TCP/IP header compression.
#novjccomp
# Don't detach from the controlling terminal.
nodetach
# Disables the default behaviour when no local IP address is
# specified, which is to determine (if possible) the local IP
# address from the hostname.
noipdefault
# This option causes pppd to create such a default route when
# IPCP comes up, and delete it when the link is terminated.
defaultroute
disconnect '/usr/sbin/chat -e -f /usr/share/gprsec/tools/disconnect -v'
connect '/usr/sbin/chat -e -f /home/mark/.gprsec/chat -v'
/dev/ttyS0
user vodafone
password vodafone
#Enable the DNSs from server
usepeerdns
#With this option, pppd will accept all control characters from the peer, including those marked in the receive asyncmap
receive-all
logfile "/home/mark/.gprsec/conn.log"
nobsdcomp
nodeflate
Meer informatie over de Ubuntu-NL
maillijst