ホーム | カスタムPC | サポート | リナックス | ギャラリー | 会社概要 | お問合せ

Docomo の A2502 (Ubuntu 8.10)


 Docomo の A2502 を Ubuntu 8.10 で試した結果です。USB にさすと、/var/log/messages に、以下の様なログが出力され、ttyUSB0、ttyUSB1、ttyUSB2 が認識されます。

Sep 4 16:32:57 ubuntu810 kernel: [ 157.116313] usb 5-4.4.4: new full speed USB device using ehci_hcd and address 13
Sep 4 16:32:57 ubuntu810 kernel: [ 157.210060] usb 5-4.4.4: configuration #1 chosen from 1 choice
Sep 4 16:32:57 ubuntu810 kernel: [ 157.326364] usbcore: registered new interface driver usbserial
Sep 4 16:32:57 ubuntu810 kernel: [ 157.326389] usbserial: USB Serial support registered for generic
Sep 4 16:32:57 ubuntu810 kernel: [ 157.326478] usbcore: registered new interface driver usbserial_generic
Sep 4 16:32:57 ubuntu810 kernel: [ 157.326481] usbserial: USB Serial Driver core
Sep 4 16:32:57 ubuntu810 kernel: [ 157.348863] usbserial: USB Serial support registered for GSM modem (1-port)
Sep 4 16:32:57 ubuntu810 kernel: [ 157.349240] option 5-4.4.4:1.0: GSM modem (1-port) converter detected
Sep 4 16:32:57 ubuntu810 kernel: [ 157.349671] usb 5-4.4.4: GSM modem (1-port) converter now attached to ttyUSB0
Sep 4 16:32:57 ubuntu810 kernel: [ 157.349936] option 5-4.4.4:1.1: GSM modem (1-port) converter detected
Sep 4 16:32:57 ubuntu810 kernel: [ 157.350256] usb 5-4.4.4: GSM modem (1-port) converter now attached to ttyUSB1
Sep 4 16:32:57 ubuntu810 kernel: [ 157.350517] option 5-4.4.4:1.2: GSM modem (1-port) converter detected
Sep 4 16:32:57 ubuntu810 kernel: [ 157.350835] usb 5-4.4.4: GSM modem (1-port) converter now attached to ttyUSB2
Sep 4 16:32:57 ubuntu810 kernel: [ 157.351095] usbcore: registered new interface driver option
Sep 4 16:32:57 ubuntu810 kernel: [ 157.351101] option: USB Driver for GSM modems: v0.7.2

 pppconfig を使って、ttyUSB0 に対して ppp を行えば良いのですが、mopera U に接続すると、以下の様なログが、/var/log/syslog に出力されます。

Sep 4 16:46:58 ubuntu810 pppd[6795]: pppd 2.4.4 started by root, uid 0
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (BUSY)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (NO CARRIER)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (VOICE)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (NO DIALTONE)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (NO DIAL TONE)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (NO ANSWER)
Sep 4 16:46:59 ubuntu810 chat[6797]: abort on (DELAYED)
Sep 4 16:46:59 ubuntu810 chat[6797]: send (ATZ^M)
Sep 4 16:46:59 ubuntu810 chat[6797]: expect (OK)
Sep 4 16:46:59 ubuntu810 chat[6797]: ATZ^M^M
Sep 4 16:46:59 ubuntu810 chat[6797]: OK
Sep 4 16:46:59 ubuntu810 chat[6797]: -- got it
Sep 4 16:46:59 ubuntu810 chat[6797]: send (ATDT*99***3#^M)
Sep 4 16:46:59 ubuntu810 chat[6797]: expect (CONNECT)
Sep 4 16:46:59 ubuntu810 chat[6797]: ^M
Sep 4 16:46:59 ubuntu810 chat[6797]: ATDT*99***3#^M^M
Sep 4 16:46:59 ubuntu810 chat[6797]: CONNECT
Sep 4 16:46:59 ubuntu810 chat[6797]: -- got it
Sep 4 16:46:59 ubuntu810 chat[6797]: send (\d)
Sep 4 16:47:00 ubuntu810 pppd[6795]: Serial connection established.
Sep 4 16:47:00 ubuntu810 pppd[6795]: using channel 5
Sep 4 16:47:00 ubuntu810 pppd[6795]: Using interface ppp0
Sep 4 16:47:00 ubuntu810 pppd[6795]: Connect: ppp0 <--> /dev/ttyUSB0
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xdf0bbdd6> <pcomp> <accomp>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5> <magic 0xf3dbfe64> <pcomp> <accomp>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [LCP ConfNak id=0x10 <auth pap>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xdf0bbdd6> <pcomp> <accomp>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP ConfReq id=0x11 <asyncmap 0x0> <auth pap> <magic 0xf3dbfe64> <pcomp> <accomp>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [LCP ConfAck id=0x11 <asyncmap 0x0> <auth pap> <magic 0xf3dbfe64> <pcomp> <accomp>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [LCP EchoReq id=0x0 magic=0xdf0bbdd6]
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [PAP AuthReq id=0x1 user="foma" password=<hidden>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP DiscReq id=0x12 magic=0xf3dbfe64]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP EchoRep id=0x0 magic=0xf3dbfe64 df 0b bd d6]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [PAP AuthAck id=0x1 ""]
Sep 4 16:47:01 ubuntu810 pppd[6795]: PAP authentication succeeded
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Sep 4 16:47:01 ubuntu810 pppd[6795]: rcvd [LCP ProtRej id=0x13 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Sep 4 16:47:01 ubuntu810 pppd[6795]: Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
Sep 4 16:47:02 ubuntu810 pppd[6795]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Sep 4 16:47:02 ubuntu810 pppd[6795]: sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Sep 4 16:47:03 ubuntu810 pppd[6795]: Hangup (SIGHUP)
Sep 4 16:47:03 ubuntu810 pppd[6795]: Modem hangup
Sep 4 16:47:03 ubuntu810 pppd[6795]: Connection terminated.
Sep 4 16:47:04 ubuntu810 pppd[6795]: Exit.

 PAP での認証は通るものの、そこから先は、如何とも進みません。では、mopera に繋げた時の /var/log/mesages は、

Sep 4 16:35:40 ubuntu810 kernel: [ 320.082959] PPP generic driver version 2.4.2
Sep 4 16:35:40 ubuntu810 pppd[6489]: pppd 2.4.4 started by root, uid 0
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (BUSY)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (NO CARRIER)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (VOICE)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (NO DIALTONE)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (NO DIAL TONE)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (NO ANSWER)
Sep 4 16:35:41 ubuntu810 chat[6491]: abort on (DELAYED)
Sep 4 16:35:41 ubuntu810 chat[6491]: send (ATZ^M)
Sep 4 16:35:41 ubuntu810 chat[6491]: expect (OK)
Sep 4 16:35:41 ubuntu810 chat[6491]: ATZ^M^M
Sep 4 16:35:41 ubuntu810 chat[6491]: OK
Sep 4 16:35:41 ubuntu810 chat[6491]: -- got it
Sep 4 16:35:41 ubuntu810 chat[6491]: send (ATDT*99***1#^M)
Sep 4 16:35:41 ubuntu810 chat[6491]: expect (CONNECT)
Sep 4 16:35:41 ubuntu810 chat[6491]: ^M
Sep 4 16:35:43 ubuntu810 chat[6491]: ATDT*99***1#^M^M
Sep 4 16:35:43 ubuntu810 chat[6491]: NO CARRIER
Sep 4 16:35:43 ubuntu810 chat[6491]: -- failed
Sep 4 16:35:43 ubuntu810 chat[6491]: Failed (NO CARRIER)
Sep 4 16:35:44 ubuntu810 pppd[6489]: Exit.

となり、「NO CARRIER」で返事すらしてくれません。cu で通信カードの中身の設定を以下の様に変えてみます。

root@ubuntu810:~# chmod 666 /dev/ttyUSB0
root@ubuntu810:~# cu -l /dev/ttyUSB0
Connected.
AT+CGDCONT?
+CGDCONT: 1,"PPP","mopera.ne.jp","",0,0
+CGDCONT: 2,"IP","0120.mopera.net","",0,0
+CGDCONT: 3,"IP","mopera.net","",0,0
+CGDCONT: 4,"IP","mopera.flat.foma.ne.jp","",0,0

OK
AT+CGDCONT=1,"IP","mopera.ne.jp","",0,0
OK
~.
Disconnected.

 これで、mopera にはログインする所までは進みますが、mopera U の場合と同様、IP アドレスの取得に至りません。