LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   3G usb dongle problem (https://www.linuxquestions.org/questions/linux-networking-3/3g-usb-dongle-problem-920701/)

goctala 12-27-2011 06:09 AM

3G usb dongle problem
 
Hi

I hope that someone else had this problem and can help me...
I have a ZTE MF636 3g usb dongle from comviq here in Sweden.
The idea is to establish a 3g link as a backup.

I run usb_modeswitch in order to change to manufacturer values:

lsusb:
Bus 002 Device 006: ID 19d2:0031 ONDA Communication S.p.A. ZTE MF636

I run pppd in order to establish the connection, however when i run the command:

pppd call tele2

I got this messages in the /var/log/messages

"Dec 27 13:00:00 RTB pppd[7237]: pppd 2.4.5 started by root, uid 0
Dec 27 13:00:01 RTB pppd[7237]: Script /opt/ppp/sbin/chat -v -f /etc/chatscripts/tele2 finished (pid 7238), status = 0x7f
Dec 27 13:00:01 RTB pppd[7237]: Connect script failed"


These are my configuration scripts:

/etc/ppp/peers/tele2:
noauth
connect '/sbin/chat -v -f /etc/chatscripts/tele2'
debug
/dev/ttyUSB0
9600
defaultroute
noipdefault
remotename tele2
ipparam tele2
usepeerdns

/etc/ppp/peers/tele2:
ABORT BUSY
ABORT VOICE
ABORT "+CGATT: 0"
ECHO ON
TIMEOUT 30
"" ATZ
OK 'ATQ0 V1 E1 X3 S0=0 &C1 &D2 +FCLASS=0'
OK 'AT+CGDCONT=1,"IP","data.comviq.se"'
OK ATD*99***1#
CONNECT ""

Do you have any ideas, what could be the problem of the "status = 0x7f" ?

visko777 12-28-2011 11:51 AM

HI
Try to change connect '/sbin/chat -v -f /etc/chatscripts/tele2'
to connect '/usr/sbin/chat -v -f /etc/chatscripts/tele2' (add /usr to path)
and check correct path of file /etc/chatscripts/tele2


All times are GMT -5. The time now is 02:19 PM.