Hi,
ich versuche unter 9.1 über meinen UMTS-Stick das Internet anzusprechen -- Fehlanzeige (fast) ohne Fehlermeldung. Hier ist das entsprechende Log:
Eine Warnung kommt auf das Kommando CGACT, das ich aus der ppp.example.conf übernommen habe und auch überall im Netz bei FreeBSD finde (nur nicht in den Hayes-Kommando-Listen). Anscheinend hängt er sich aber nicht auf.
Der Input/Output Error gibt mir aber gar keinen Anhaltspunkt.
Dies ist meine /etc/ppp/ppp.conf:
PIN ist abgeschaltet, User und Password werden nicht gefragt, APN ist "internet.mobilcom". Kann hier jemand den Grund erkennen, warum das nicht geht?
ich versuche unter 9.1 über meinen UMTS-Stick das Internet anzusprechen -- Fehlanzeige (fast) ohne Fehlermeldung. Hier ist das entsprechende Log:
Code:
Jan 7 14:32:40 netbook ppp[1068]: Phase: Using interface: tun0
Jan 7 14:32:40 netbook ppp[1068]: Phase: deflink: Created in closed state
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: default: ident user-ppp VERSION ppp 3.4.2
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set device /dev/ugen1.2
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set speed 460800
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set phone *99***1#
Jan 7 14:32:40 netbook ppp[1068]: tun0: Warning: /etc/ppp/ppp.conf: 34: Syntax error
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: AT+CGACT? OK-AT-OK AT+CGATT? OK AT+COPS? OK ATD*99***1
Jan 7 14:32:40 netbook ppp[1068]: tun0: Warning: AT+CGACT?: Invalid command
Jan 7 14:32:40 netbook ppp[1068]: tun0: Warning: AT+CGACT?: Failed 1
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set timeout 180
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set vj slotcomp off
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set crtscts on
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: enable dns
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Jan 7 14:32:40 netbook ppp[1068]: tun0: Command: o2: add default HISADDR
Jan 7 14:32:40 netbook ppp[1068]: tun0: Phase: PPP Started (interactive mode).
Jan 7 14:32:43 netbook ppp[1068]: tun0: Command: /dev/ttyv0: dial
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: bundle: Establish
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: closed -> opening
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: Connected!
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: opening -> dial
Jan 7 14:32:43 netbook ppp[1068]: tun0: Chat: deflink: Dial attempt 1 of 1
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: dial -> carrier
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: carrier -> login
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: login -> lcp
Jan 7 14:32:43 netbook ppp[1068]: tun0: LCP: FSM: Using "deflink" as a transport
Jan 7 14:32:43 netbook ppp[1068]: tun0: LCP: deflink: State change Initial --> Closed
Jan 7 14:32:43 netbook ppp[1068]: tun0: LCP: deflink: State change Closed --> Stopped
Jan 7 14:32:43 netbook ppp[1068]: tun0: [COLOR="Red"]Phase: deflink: read (2): Input/output error[/COLOR]
Jan 7 14:32:43 netbook ppp[1068]: tun0: LCP: deflink: State change Stopped --> Closed
Jan 7 14:32:43 netbook ppp[1068]: tun0: LCP: deflink: State change Closed --> Initial
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: Disconnected!
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: lcp -> logout
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: logout -> hangup
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: Disconnected!
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: Connect time: 0 secs: 0 octets in, 0 octets out
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: 0 packets in, 0 packets out
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Mon Jan 7 14:32:43 2013
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: deflink: hangup -> closed
Jan 7 14:32:43 netbook ppp[1068]: tun0: Phase: bundle: Dead
Jan 7 14:32:46 netbook ppp[1068]: tun0: Command: /dev/ttyv0: quit
Jan 7 14:32:46 netbook ppp[1068]: tun0: Phase: PPP Terminated (normal).
Eine Warnung kommt auf das Kommando CGACT, das ich aus der ppp.example.conf übernommen habe und auch überall im Netz bei FreeBSD finde (nur nicht in den Hayes-Kommando-Listen). Anscheinend hängt er sich aber nicht auf.
Der Input/Output Error gibt mir aber gar keinen Anhaltspunkt.
Dies ist meine /etc/ppp/ppp.conf:
Code:
#################################################################
# PPP Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself@cdrom.com
#
# See /usr/share/examples/ppp/ for some examples
#
# $FreeBSD: release/9.1.0/etc/ppp/ppp.conf 203943 2010-02-16 01:07:06Z jkim $
#################################################################
default:
set log Phase Chat LCP IPCP CCP tun command +connect
ident user-ppp VERSION ppp 3.4.2
# Ensure that "device" references the correct serial port
# for your modem. (cuau0 = COM1, cuau1 = COM2)
#
o2:
set device /dev/ugen1.2
set speed 460800
set phone *99***1\#
# set authname O2
# set authkey
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"mobilcom.internet\\\" OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+COPS? OK \
ATD*99***1# CONNECT"
# ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
set vj slotcomp off
set crtscts on
# set default HISADDR
enable dns # request DNS info (for resolv.conf)
#papchap:
#
# edit the next three lines and replace the items in caps with
# the values which have been assigned by your ISP.
#
# set phone PHONE_NUM
# set authname USERNAME
# set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR # Add a (sticky) default route
PIN ist abgeschaltet, User und Password werden nicht gefragt, APN ist "internet.mobilcom". Kann hier jemand den Grund erkennen, warum das nicht geht?