3G-Script
Hallo Goetz
Ich habe die Anleitung durchgefuert
http://www.nslu2-linux.org/wiki/HowTo/AddUsb3gModem
Ich denke ich habe alles richtig gemacht es sind keine errors aufgetaucht,.
Ich hab das ttyUSB0 dev im default script verwendet:
#!/bin/sh
DEV=/dev/ttyUSB0
echo "ATZ" >$DEV
head -n 2 $DEV
echo 'AT+CGDCONT=1,"IP","internet.mobilcom"' >$DEV
head -n 2 $DEV
echo 'ATD*99***1#' >$DEV
head -n 2 $DEV
sleep 1
/usr/sbin/pppd debug nodetach 460800 $DEV
wenn ich das dev nach ttyUSB1 komm ich etwas weiter:
ThomsonSyno> ./connect
ATZ
AT+CGDCONT=1,"IP","internet.mobilcom"
ATD*99***1#
using channel 4
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x592de240> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x592de240> <pcomp> <accomp>]
sent [LCP ConfNak id=0x1 <magic 0x8cc4f168>]
rcvd [LCP ConfNak id=0x1 <magic 0x8cc4f168>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x93fe9179> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x93fe9179> <pcomp> <accomp>]
sent [LCP ConfNak id=0x2 <magic 0x88612ac>]
rcvd [LCP ConfNak id=0x2 <magic 0x88612ac>]
sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xb0b03f94> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0xb0b03f94> <pcomp> <accomp>]
sent [LCP ConfNak id=0x3 <magic 0x980a656>]
rcvd [LCP ConfNak id=0x3 <magic 0x980a656>]
sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xff1da824> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xff1da824> <pcomp> <accomp>]
sent [LCP ConfNak id=0x4 <magic 0x8691bc30>]
rcvd [LCP ConfNak id=0x4 <magic 0x8691bc30>]
sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0xfe005507> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0xfe005507> <pcomp> <accomp>]
sent [LCP ConfNak id=0x5 <magic 0x631ee943>]
rcvd [LCP ConfNak id=0x5 <magic 0x631ee943>]
sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x85f504ae> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x85f504ae> <pcomp> <accomp>]
sent [LCP ConfNak id=0x6 <magic 0x1144782>]
rcvd [LCP ConfNak id=0x6 <magic 0x1144782>]
sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x17642b47> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x17642b47> <pcomp> <accomp>]
sent [LCP ConfNak id=0x7 <magic 0x7afb40b7>]
rcvd [LCP ConfNak id=0x7 <magic 0x7afb40b7>]
sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x4c669773> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x4c669773> <pcomp> <accomp>]
sent [LCP ConfNak id=0x8 <magic 0x400cc422>]
rcvd [LCP ConfNak id=0x8 <magic 0x400cc422>]
sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x30d85781> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0x30d85781> <pcomp> <accomp>]
sent [LCP ConfNak id=0x9 <magic 0x9d6da5a4>]
rcvd [LCP ConfNak id=0x9 <magic 0x9d6da5a4>]
sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x1348ca41> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x1348ca41> <pcomp> <accomp>]
sent [LCP ConfNak id=0xa <magic 0x4935366f>]
rcvd [LCP ConfNak id=0xa <magic 0x4935366f>]
Serial line is looped back.
sent [LCP TermReq id=0xb "Loopback detected"]
rcvd [LCP TermReq id=0xb "Loopback detected"]
sent [LCP TermAck id=0xb]
rcvd [LCP TermAck id=0xb]
Connection terminated.
Denkst du das dies gefixed werden kann?
Herzlichen Dank
Thomas