[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Problem med 3G/GPRS (Serial line is looped back?)



Hej

Jeg forsøger at anvende min Motorola E1000 3G mobiltelefon som modem
(til teleudbyderen 3.dk) over bluetooth under Linux, men kan ikke få det
til at virke.

Jeg har bundet telefonens "Dial-up networking Gateway" på bluetooth
kanal 1 til /dev/rfcomm0 og har derefter oprettet følgende pppd script:

connect '/usr/sbin/chat -v -f /etc/ppp/3G.chat'
noauth
defaultroute
usepeerdns
/dev/rfcomm0
115200
debug
nodetach

Filen /etc/ppp/3G.chat indeholder følgende:

TIMEOUT 5
ECHO ON
ABORT BUSY
ABORT ERROR
ABORT NO\sANSWER
ABORT NO\sDIALTONE
ABORT NO\sCARRIER
'' ATZ
TIMEOUT 12
OK-AT-OK AT+CGDCONT=1,"IP","data.tre.dk"
OK-AT-OK ATDT*99***1# \
CONNECT ''

Når jeg forsøger at køre pppd med ovenstående konfiguration før jeg
følgende:

Jun 15 23:14:24 sponge pppd[21789]: pppd 2.4.2 started by brix, uid 0
Jun 15 23:14:25 sponge hcid[19982]: link_key_request (sba=00:0A:94:10:86:6E, dba=00:12:8A:38:CF:01)
Jun 15 23:14:29 sponge chat[21791]: timeout set to 5 seconds
Jun 15 23:14:29 sponge chat[21791]: abort on (BUSY)
Jun 15 23:14:29 sponge chat[21791]: abort on (ERROR)
Jun 15 23:14:29 sponge chat[21791]: abort on (NO\sANSWER)
Jun 15 23:14:29 sponge chat[21791]: abort on (NO\sDIALTONE)
Jun 15 23:14:29 sponge chat[21791]: abort on (NO\sCARRIER)
Jun 15 23:14:29 sponge chat[21791]: send (ATZ^M)
Jun 15 23:14:29 sponge chat[21791]: timeout set to 12 seconds
Jun 15 23:14:29 sponge chat[21791]: expect (OK)
Jun 15 23:14:29 sponge chat[21791]: ATZ^M^M
Jun 15 23:14:29 sponge chat[21791]: OK
Jun 15 23:14:29 sponge chat[21791]:  -- got it
Jun 15 23:14:29 sponge chat[21791]: send (AT+CGDCONT=1,"IP","data.tre.dk"^M)
Jun 15 23:14:30 sponge chat[21791]: expect (OK)
Jun 15 23:14:30 sponge chat[21791]: ^M
Jun 15 23:14:30 sponge chat[21791]: AT+CGDCONT=1,"IP","data.tre.dk"^M^M
Jun 15 23:14:30 sponge chat[21791]: OK
Jun 15 23:14:30 sponge chat[21791]:  -- got it
Jun 15 23:14:30 sponge chat[21791]: send (ATDT*99***1#^M)
Jun 15 23:14:30 sponge chat[21791]: expect ()
Jun 15 23:14:30 sponge chat[21791]: got it
Jun 15 23:14:30 sponge chat[21791]: send (CONNECT^M)
Jun 15 23:14:30 sponge pppd[21789]: Serial connection established.
Jun 15 23:14:30 sponge pppd[21789]: using channel 26
Jun 15 23:14:30 sponge pppd[21789]: Using interface ppp0
Jun 15 23:14:30 sponge pppd[21789]: Connect: ppp0 <--> /dev/rfcomm0
Jun 15 23:14:31 sponge pppd[21789]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ee21c0f> <pcomp> <accomp>]
Jun 15 23:14:31 sponge pppd[21789]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x5ee21c0f> <pcomp> <accomp>]
Jun 15 23:14:31 sponge pppd[21789]: sent [LCP ConfNak id=0x1 <magic 0xb345888b>]
Jun 15 23:14:31 sponge pppd[21789]: rcvd [LCP ConfNak id=0x1 <magic 0xb345888b>]
Jun 15 23:14:31 sponge pppd[21789]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x2ecc5d60> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0x2ecc5d60> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfNak id=0x2 <magic 0x224b6e07>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfNak id=0x2 <magic 0x224b6e07>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x1bafe753> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfReq id=0x3 <asyncmap 0x0> <magic 0x1bafe753> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfNak id=0x3 <magic 0x8f24aca9>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfNak id=0x3 <magic 0x8f24aca9>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x1226eb7b> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0x1226eb7b> <pcomp> <accomp>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfNak id=0x4 <magic 0x7a37923b>]
Jun 15 23:14:32 sponge pppd[21789]: rcvd [LCP ConfNak id=0x4 <magic 0x7a37923b>]
Jun 15 23:14:32 sponge pppd[21789]: sent [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x960e59b6> <pcomp> <accomp>]
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0x960e59b6> <pcomp> <accomp>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfNak id=0x5 <magic 0xcca021c6>]
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfNak id=0x5 <magic 0xcca021c6>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x3d83c675> <pcomp> <accomp>]
Jun 15 23:14:33 sponge fetchmail[11490]: awakened at Wed, 15 Jun 2005 23:14:33 +0200 (CEST)
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfReq id=0x6 <asyncmap 0x0> <magic 0x3d83c675> <pcomp> <accomp>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfNak id=0x6 <magic 0xa069933d>]
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfNak id=0x6 <magic 0xa069933d>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x8b236be6> <pcomp> <accomp>]
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfReq id=0x7 <asyncmap 0x0> <magic 0x8b236be6> <pcomp> <accomp>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfNak id=0x7 <magic 0xc0c9e6a>]
Jun 15 23:14:33 sponge pppd[21789]: rcvd [LCP ConfNak id=0x7 <magic 0xc0c9e6a>]
Jun 15 23:14:33 sponge pppd[21789]: sent [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x45fe4eaa> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfReq id=0x8 <asyncmap 0x0> <magic 0x45fe4eaa> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP ConfNak id=0x8 <magic 0x6cf5308d>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfNak id=0x8 <magic 0x6cf5308d>]
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xdddaa310> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfReq id=0x9 <asyncmap 0x0> <magic 0xdddaa310> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP ConfNak id=0x9 <magic 0x11e4b87>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfNak id=0x9 <magic 0x11e4b87>]
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x1cd5de8> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfReq id=0xa <asyncmap 0x0> <magic 0x1cd5de8> <pcomp> <accomp>]
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP ConfNak id=0xa <magic 0xe4441e8a>]
Jun 15 23:14:34 sponge pppd[21789]: rcvd [LCP ConfNak id=0xa <magic 0xe4441e8a>]
Jun 15 23:14:34 sponge pppd[21789]: Serial line is looped back.
Jun 15 23:14:34 sponge pppd[21789]: sent [LCP TermReq id=0xb "Loopback detected"]
Jun 15 23:14:35 sponge pppd[21789]: rcvd [LCP TermReq id=0xb "Loopback detected"]
Jun 15 23:14:35 sponge pppd[21789]: sent [LCP TermAck id=0xb]
Jun 15 23:14:35 sponge pppd[21789]: rcvd [LCP TermAck id=0xb]
Jun 15 23:14:35 sponge pppd[21789]: Connection terminated.
Jun 15 23:14:36 sponge pppd[21789]: Exit.

Som pppd konkluderer, får jeg præcis de samme LCP beskeder tilbage, som
jeg sender ud - altså loopback.

Er der nogen her, der har en virkende opsætning af 3G/GPRS (evt. med
teleudbyderen 3.dk?) - eller er der andre, der kan fortælle mig hvad jeg
gør galt?

Mvh
Brix
-- 
Henrik Brix Andersen <sslug@sslug>
Gentoo Metadistribution | Mobile computing herd


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *