Reply
Thread Tools
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#21
Yeah, it's possibly being added automatically by the phone - I don't have logging enabled so couldn't confirm if my phone is adding it or not, I just threw it out there in case you'd added it yourself. Obviously it's needed. I'll set logging up on my phone and post them up.
 
Posts: 17 | Thanked: 0 times | Joined on Oct 2006
#22
It may not be exactly equivalent but below is what's in the PPP chat script for my Linux laptop connecting to GPRS on an old Nokia 6310i on Vodafone.

As you can see, in the AT+CGDCONT line, the string after "IP" is "internet" rather than an operator's domain name.

My N800 will also connect via same phone however I haven't looked at the log files to see what it sends.

----------------------------------------------------------------

SAY "Press CTRL-C to close the connection at any stage!" \
SAY "\ndefining PDP context...\n" \
OK ATH \
OK ATE1 \
OK 'AT+CGDCONT=1,"IP","internet","",0,0' \
OK ATD*99# \
TIMEOUT 22 \
SAY "\nwaiting for connect...\n" \
CONNECT "" \
SAY "\nConnected." \
SAY "\nIf the following ppp negotiations fail,\n" \
SAY "try restarting the phone.\n"
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#23
Not sure when I'll be able to install syslogd as maemo.org appears to be offline and I can't download the deb from the Nokia repositories... I'm sure it'll be back tomorrow, or it could be a problem at my end (no other sites seem to be affected).
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#24
This is the output in /var/log/syslog from the moment of selecting my phone connection in the Connection dialog to the point where it is connected in the UI. The phone connection is listed as "O2 Mobile Web" in the connection dialog.

I've split it over two messages as it has exceeded the 10K message limit...

Part 1:
Code:
May 11 01:17:13 Nokia-N800-10 iap_conndlg 1.3.48[1065]: activating connection 'O2 Mobile Web'
May 11 01:17:13 Nokia-N800-10 iap_conndlg 1.3.48[1065]: size of callbacks: 1
May 11 01:17:13 Nokia-N800-10 iap_conndlg 1.3.48[1065]: dialog closed
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: Received com.nokia.icd.activate (s) request
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: [[ASK]] matched reply from UI with request
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: [[ASK]] icd_request_attempt: new IAP 'O2 Mobile Web'
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] Calling connect of 'Bluetooth DUN'
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] State changed from IDLE to CONNECTING
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: common_inetstate: connection  'O2 Mobile Web' with type 'DUN_GSM_PS' and status 'CONNECTING' (1) and reason '' 
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: connecting contains 1 elements, connected 0
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: changing to 'O2 Mobile Web'
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: common_inetstate: reporting state '2', name 'O2 Mobile Web', type '2'
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: inet status: blinking 1
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: inet status: added new timeout
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: updating active conn
May 11 01:17:13 Nokia-N800-10 maemo_af_desktop[1054]: not wlan
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] Calling connect of 'Bluetooth DUN'
May 11 01:17:13 Nokia-N800-10 btcond[878]: Received rfcomm_connect
May 11 01:17:13 Nokia-N800-10 btcond[878]: Adding 00:19:63:15:B6:BA to list of known devices
May 11 01:17:13 Nokia-N800-10 btcond[878]: schedule_capability_update(00:19:63:15:B6:BA, DUN)
May 11 01:17:13 Nokia-N800-10 btcond[878]: Sending SDP query to 00:19:63:15:B6:BA
May 11 01:17:13 Nokia-N800-10 iap_conndlg 1.3.48[1065]: NameownerChanged(:1.52, , :1.52)
May 11 01:17:13 Nokia-N800-10 iap_conndlg 1.3.48[1065]: NameownerChanged(com.nokia.btsdp, , :1.52)
May 11 01:17:13 Nokia-N800-10 btsdp[1230]: BT SDP 1.0.8 started.
May 11 01:17:13 Nokia-N800-10 btsdp[1230]: get_services_request()
May 11 01:17:13 Nokia-N800-10 btsdp[1230]: Adding string to search list: DUN
May 11 01:17:13 Nokia-N800-10 btsdp[1230]: running sdp-query: sdp-query 00:19:63:15:B6:BA DUN
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: Service ':1.52' belongs now to base service ':1.52'.
May 11 01:17:13 Nokia-N800-10 icd 1.1.26[924]: Service 'com.nokia.btsdp' belongs now to base service ':1.52'.
May 11 01:17:13 Nokia-N800-10 kernel: [128935.031616] Loading 3826.arm firmware
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295654] (c)opyright 2004 Conexant
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295715] 
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295745] build info: PRISM SoftMAC
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295745]   creator: [kvalo]
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295776]   date: [06/12/22-12:08]
May 11 01:17:14 Nokia-N800-10 kernel: [128935.295806] 
May 11 01:17:14 Nokia-N800-10 kernel: [128935.303192] CX3110x: MAC address 00:19:4f:9e:8f:7e
May 11 01:17:14 Nokia-N800-10 kernel: [128935.315490] cx3110x: PSM disabled
May 11 01:17:15 Nokia-N800-10 kernel: [128936.561798] EAC mode: play disabled, rec disabled
May 11 01:17:16 Nokia-N800-10 kernel: [128937.369995] Scan complete, scanned 13 channels
May 11 01:17:16 Nokia-N800-10 kernel: [128937.421722] cx3110x: PSM full
May 11 01:17:16 Nokia-N800-10 btcond[878]: Connection complete (handle 44, bda 00:19:63:15:B6:BA)
May 11 01:17:16 Nokia-N800-10 btcond[878]: sending connection_status("00:19:63:15:B6:BA", "connected", 0x00) signal
May 11 01:17:16 Nokia-N800-10 btcond[878]: new handle 44 added (usage count: 1)
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: conn_bt: gw status: '2'
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: conn_bt: loading icon 'qgn_stat_bluetooth_active' for state 1
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: GLIB DEBUG default - signal sended 1
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: GLIB DEBUG default - Start: 1 Place here: 0
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: GLIB DEBUG default - Start: 1 Place here: 1
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: GLIB DEBUG default - Start: 1 Place here: 2
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: GLIB DEBUG default - Start: 1 Place here: 3
May 11 01:17:16 Nokia-N800-10 maemo_af_desktop[1054]: conn_bt: name change: 00:19:63:15:B6:BA = W950i
May 11 01:17:17 Nokia-N800-10 btsdp[1230]: 1 supported services
May 11 01:17:17 Nokia-N800-10 btsdp[1230]: DUN, channel 7, ttl 0, "Dial-up Networking"
May 11 01:17:17 Nokia-N800-10 btcond[878]: btsdp_notify()
May 11 01:17:17 Nokia-N800-10 btcond[878]: handle_btsdp_reply()
May 11 01:17:17 Nokia-N800-10 btcond[878]: 00:19:63:15:B6:BA: adding DUN, channel 7, ttl 0, "Dial-up Networking"
May 11 01:17:17 Nokia-N800-10 btcond[878]: connect_service("00:19:63:15:B6:BA", "DUN", ":1.15", auth, noencrypt, "any")
May 11 01:17:17 Nokia-N800-10 btcond[878]: Connect in progress
May 11 01:17:17 Nokia-N800-10 btcond[878]: process_update_queue()
May 11 01:17:17 Nokia-N800-10 iap_conndlg 1.3.48[1065]: NameownerChanged(com.nokia.btsdp, :1.52, )
May 11 01:17:17 Nokia-N800-10 iap_conndlg 1.3.48[1065]: NameownerChanged(:1.52, :1.52, )
May 11 01:17:17 Nokia-N800-10 btsdp[1230]: Exiting.
May 11 01:17:17 Nokia-N800-10 icd 1.1.26[924]: Service 'com.nokia.btsdp' no longer exists.
May 11 01:17:17 Nokia-N800-10 icd 1.1.26[924]: Base service ':1.52' no longer exists.
May 11 01:17:17 Nokia-N800-10 hcid[800]: link_key_request (sba=00:19:4F:A4:A9:FE, dba=00:19:63:15:B6:BA)
May 11 01:17:17 Nokia-N800-10 btcond[878]: sock_io_cb: connected
May 11 01:17:17 Nokia-N800-10 ke_recv[913]: handle_kevent:327: i|m|p: org.kernel.kevent|add|/org/kernel/class/tty/rfcomm0
May 11 01:17:17 Nokia-N800-10 btcond[878]: connect_cb: (00:19:63:15:B6:BA, DUN): connected
May 11 01:17:17 Nokia-N800-10 btcond[878]: add_name_listener(:1.15)
May 11 01:17:17 Nokia-N800-10 btcond[878]: sending rfcomm_status("00:19:63:15:B6:BA", "DUN", "connected") signal
May 11 01:17:17 Nokia-N800-10 icd 1.1.26[924]: Using RFCOMM device: /dev/rfcomm0
May 11 01:17:17 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Open: '/dev/rfcomm0'
May 11 01:17:17 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Sending: 'AT&F'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'AT&F'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'OK'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Sending: 'AT+GCAP'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'AT+GCAP'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: '+GCAP: +CGSM, +DS'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'OK'
May 11 01:17:18 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Sending: 'AT+CMEE=1'
May 11 01:17:19 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:19 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'AT+CMEE=1'
May 11 01:17:19 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'OK'
May 11 01:17:19 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Sending: 'AT+CGDCONT=1,"ip","mobile.o2.co.uk"'
May 11 01:17:19 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:20 Nokia-N800-10 kernel: [128941.707061] Shut down SoftMAC
May 11 01:17:21 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:21 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'AT+CGDCONT=1,"ip","mobile.o2.co.uk"'
May 11 01:17:21 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'OK'
May 11 01:17:21 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Sending: 'ATD*99***1#'
May 11 01:17:21 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-CB: IN
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'ATD*99***1#'
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-Received: 'CONNECT'
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: DUN username: mobileweb
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: DUN password: password
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] Getting DNS configuration automatically.
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [0x2add0] AT-EnterDataMode
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: Starting PPP
May 11 01:17:23 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] PPP started with pid 1235 on ppp0
May 11 01:17:23 Nokia-N800-10 pppd[1235]: pppd 2.4.2 started by root, uid 0
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#25
Part 2:

Code:
May 11 01:17:23 Nokia-N800-10 pppd[1235]: using channel 1
May 11 01:17:23 Nokia-N800-10 ke_recv[913]: handle_kevent:327: i|m|p: org.kernel.kevent|add|/org/kernel/class/net/ppp0
May 11 01:17:23 Nokia-N800-10 pppd[1235]: Using interface ppp0
May 11 01:17:23 Nokia-N800-10 pppd[1235]: Connect: ppp0 <--> /dev/rfcomm0
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x85f7a1b8> <pcomp> <accomp>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xc046ba80>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [LCP ConfAck id=0x1 <auth chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xc046ba80>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [LCP ConfReq id=0x2 <auth chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xc046ba80>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [LCP ConfAck id=0x2 <auth chap MD5> <accomp> <pcomp> <asyncmap 0x0> <magic 0xc046ba80>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x85f7a1b8> <pcomp> <accomp>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [LCP EchoReq id=0x0 magic=0x85f7a1b8]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [LCP EchoRep id=0x0 magic=0xc046ba80]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [CHAP Challenge id=0x0 <4c95aa9b38117677e44d021350494e6f7c055a8b6881266714bdb20380b9fe5fac750a7b98f1d657442d62f3b029ae4fdce5ba6bc8618647749d12e3e0995e>, name = "Kermit"]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [CHAP Response id=0x0 <5dc77a4b0a56b47f939b19e080490cca>, name = "mobileweb"]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [CHAP Success id=0x0 "Congratulations!"]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: CHAP authentication succeeded: Congratulations!
May 11 01:17:23 Nokia-N800-10 pppd[1235]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: 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>]
May 11 01:17:23 Nokia-N800-10 pppd[1235]: rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
May 11 01:17:24 Nokia-N800-10 pppd[1235]: rcvd [IPCP ConfReq id=0x1]
May 11 01:17:24 Nokia-N800-10 pppd[1235]: sent [IPCP ConfNak id=0x1 <addr 0.0.0.0>]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: rcvd [IPCP ConfNak id=0x1 <addr 10.249.88.228> <ms-dns1 193.113.200.200> <ms-dns3 193.113.200.201>]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.249.88.228> <ms-dns1 193.113.200.200> <ms-dns3 193.113.200.201>]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: rcvd [IPCP ConfReq id=0x2]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: sent [IPCP ConfAck id=0x2]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.249.88.228> <ms-dns1 193.113.200.200> <ms-dns3 193.113.200.201>]
May 11 01:17:25 Nokia-N800-10 pppd[1235]: Could not determine remote IP address: defaulting to 10.64.64.64
May 11 01:17:25 Nokia-N800-10 pppd[1235]: Cannot determine ethernet address for proxy ARP
May 11 01:17:25 Nokia-N800-10 pppd[1235]: local  IP address 10.249.88.228
May 11 01:17:25 Nokia-N800-10 pppd[1235]: remote IP address 10.64.64.64
May 11 01:17:25 Nokia-N800-10 pppd[1235]: primary   DNS address 193.113.200.200
May 11 01:17:25 Nokia-N800-10 pppd[1235]: secondary DNS address 193.113.200.201
May 11 01:17:25 Nokia-N800-10 pppd[1235]: Script /etc/ppp/ip-up started (pid 1237)
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Service ':1.53' belongs now to base service ':1.53'.
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Received com.nokia.icd.autoconf.autoconf_changed signal
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Received autoconf_changed notification for interface ppp0 from program PPP with parameter .
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Using idletimer key '/system/osso/connectivity/IAP/timeout_dun_ps'
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Setting timeout to 0
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] Setting gconf proxy settings.
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: Unkown proxy mode: NONE
May 11 01:17:25 Nokia-N800-10 icd 1.1.26[924]: [O2 Mobile Web] State changed from CONNECTING to CONNECTED
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2007
#26
I have read the above posts, I need help hooking up to the Three network with my N800, haven't maaged it yet. Could somone please tell me how to get the bluetooth link to work ( I can pair the two ) and use my Nokia E65 as a modem?
 
fnordianslip's Avatar
Posts: 670 | Thanked: 359 times | Joined on May 2007
#27
As an update, I finally managed to get Bluetooth DUN working with my 3 service, using my Sony Erricsson K800i.

The final steps I took were as follows. Note that I'm not entirely sure what really made it start working.

1) Update the K800i to latest firmware from Sony Erricsson. Note that trying to do this in a Windows XP virtual machine under VMWare is fruitless, I had to find a real Windows box.

2) Use an alternative data account (not the 3-locked one) on the phone, using CID:5. Set DUN to dial *99***5#.

I wish I could be more specific on what really fixed it for me. I'm reluctant to mess with it now, as I remember the first rule of engineering.

The CID change is my favourite theory. It fits best with what I saw in the system logs, as the modem commands failed immediately after dialling. I never tried this before flashing the phone.

Anyway, woohoo 8-)
__________________
Class .. : Lame hacker & beardy boffin
Humour . : [#######---] Alignment: Apathetic anarchist
Patience : [####------] Weapon(s): My cat, my code.
Agro ... : |#---------] Relic(s) : N900, MacBookPro, NSLU2, N800, SheevaPlug, Eee-901, Core2-Quad, PS3
"In theory, theory and practice are the same. In practice, they're not."
--
Beware of extras-devel.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:59.