Mobiel als modem voor GPRS verbinding

Jeroen van de Nieuwenhof lists op vandenieuwenhof.nl
Do Aug 16 07:12:02 UTC 2007


Hallo,

Ik probeer al een tijdje om mijn Nokia E61 telefoon te gebruiken als
modem via bluetooth voor mijn Ubuntu laptop. Ik heb op het
internationale forum een aantal howto's gevonden en verschillende opties
geprobeerd, maar helaas nog zonder bruikbaar resultaat. Ik gebruik de
volgende bestanden:

/etc/bluetooth/rfcomm.conf:


Code:
rfcomm0 {
        device 00:12:D2:B4:55:1E;
        channel 2;
        comment "Nokia E61";
}
Dit klopt volgens mij wel, want als ik verbinding probeer te maken zie
ik aan mijn telefoon dat er iets met bluetooth gebeurt.

/etc/ppp/peers/vodafone


Code:
/dev/rfcomm0 115200
connect '/usr/sbin/chat -v -f /etc/chatscripts/chat-gprs'
crtscts
modem -detach
noccp
defaultroute
usepeerdns
user vodafone
ipcp-accept-remote
ipcp-accept-local
noipdefault
debug
Deze verwijst naar het bestand /etc/chatscripts/chat-gprs:


Code:
'' ATZ OK
AT+CGDCONT=1,"IP","live.vodafone.nl","0.0.0.0",0,0 
OK "ATD*99#"
CONNECT ''
De gegevens voor dit bestand heb ik gehaald uit dit topic op een Palm
forum: http://www.palmclub.nl/forums/internet- … -hier.html
Ik heb hier ook geprobeerd om *ATD*99***1# te gebruiken, maar dit maakte
niets uit. 

Dit zijn de foutmeldingen die ik krijg als ik vervolgens 'pppd call
vodafone' uitvoer

In /var/log/syslog:


        Aug 15 22:21:09 lisa2-ubuntu NetworkManager: <debug
        info>^I[1187209269.711858] nm_hal_device_added (): New device
        added (hal udi is
        '/org/freedesktop/Hal/devices/usb_device_b05_1712_0194E8_5B_0002_if0_bluetooth_hci_bluetooth_hci'). 
        Aug 15 22:21:13 lisa2-ubuntu hcid[5619]: link_key_request
        (sba=00:18:F3:8D:1F:17, dba=00:12:D2:B4:55:1E)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: send (ATZ^M)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: expect (OK)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: ATZ^M^M
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: OK
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]:  -- got it 
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: send (AT
        +CGDCONT=1,"IP","live.vodafone.nl","0.0.0.0",0,0^M)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: expect (OK)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: ^M
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: AT
        +CGDCONT=1,"IP","live.vodafone.nl","0.0.0.0",0,0^M^M
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: OK
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]:  -- got it 
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: send (ATD*99#^M)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: expect (CONNECT)
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: ^M
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: ATD*99#^M^M
        Aug 15 22:21:14 lisa2-ubuntu chat[14324]: NO CARRIER^M
        Aug 15 22:21:59 lisa2-ubuntu chat[14324]: alarm
        Aug 15 22:21:59 lisa2-ubuntu chat[14324]: Failed
        Aug 15 22:21:59 lisa2-ubuntu pppd[14313]: Connect script failed
        Aug 15 22:22:00 lisa2-ubuntu pppd[14313]: Exit.
        
        

En in terminal zie ik verder:


        jeroen op lisa2-ubuntu:/etc/chatscripts$ pppd call vodafone
        Serial connection established.
        using channel 5
        Using interface ppp0
        Connect: ppp0 <--> /dev/rfcomm0
        rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap
        0xa0000>]
        sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x695cadc6>
        <pcomp> <accomp>]
        sent [LCP ConfAck id=0x0 <auth pap> <mru 1500> <asyncmap
        0xa0000>]
        rcvd [LCP ConfRej id=0x1 <magic 0x695cadc6> <pcomp> <accomp>]
        sent [LCP ConfReq id=0x2 <asyncmap 0x0>]
        rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]
        sent [LCP EchoReq id=0x0 magic=0x0]
        sent [PAP AuthReq id=0x1 user="vodafone" password=<hidden>]
        rcvd [LCP EchoRep id=0x0 magic=0x0]
        rcvd [PAP AuthAck id=0x1 ""]
        PAP authentication succeeded
        sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>
        <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
        rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]
        sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]
        rcvd [LCP TermReq id=0x1]
        LCP terminated by peer
        sent [LCP TermAck id=0x1]
        Connection terminated.
        Modem hangup
        
        

Heeft iemand het zelf al eens geprobeerd en ook aan de praat gekregen
(en hoe dan!) of weet iemand wat ik nog kan doen om mijn telefoon als
modem te gebruiken?

Groet,

Jeroen






Meer informatie over de Ubuntu-NL maillijst