[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bsd-nomads:16204] b-mobile data card BMH10-J on FreeBSD




	ささきといいます。
	日本通信のプリペイドPHSデータカード

		http://www.bmobile.co.jp/prepaid/

	がFreeBSD4.5-Rであっさり動きましたのでご報告します(既出
	だったらすみません)。ちなみにFIVA103Sです。条件が良いと
	IPCPで4.7KBpsくらい出ます。

# 物品として通信料が払えるのが(もごもご(笑))。しかも3月から128Kbps
# 対応予定。

------------------------------------------------------------------------
</etc/pccard.conf>
------------------------------------------------------------------------
# Nippon Tsuushin BMH10-J
card "HONDA ELECTRON CO.,LTD" "BMH10-J"
    config  auto "sio" ?
    reset   100
    logstr  "BMH10-J"

------------------------------------------------------------------------
</etc/ppp/ppp.conf>
------------------------------------------------------------------------
default:
 set speed 115200
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 set timeout 120            # 3 mintue idle timer (the default)
 add default HISADDR            # Add a (sticky) default route
 enable dns             # request DNS info (for resolv.conf)
(略)
bmh:
 set device /dev/cuaa4
 set log local chat
 set phone PHONENUMBER\#\#6X  ←※ カード付属の電話番号 (#はエスケープ)
 set dial "ABORT BUSY ABORT NO\\sCARRIER ABORT ERROR TIMEOUT 60 \"\" \
        AT OK-AT-OK \\dAT&FE1&C1&D2V1S0=0S7=60X4#Q1 OK-AT-OK \
        \\dATD\\T CONNECT"
 set authname USERNAME ←※
 set authkey PASSWORD  ←※ 初回認証時はイニシャルID・パスワード
------------------------------------------------------------------------

	↑こんなんで使えてます。
	Winのドライバはインストールしていないので、オンラインの
	ATコマンドのマニュアルを基に適当なパラメータを並べて
	みました。おまけですが

Chat: Received: AT&FE1&C1&D2V1S0=0S7=60X4#Q1
Chat: Received: 36
                ~~
	ここの数字はダイヤル時の電界強度です。

------------------------------------------------------------------------
<"pccardc dumpcis"結果>
------------------------------------------------------------------------
Configuration data for card in slot 0
Tuple #1, code = 0x1 (Common memory descriptor), length = 3
    000:  00 00 ff
	Common memory device information:
		Device number 1, type No device, WPS = OFF
		Speed = No speed, Memory block size = 512b, 1 units
Tuple #2, code = 0x15 (Version 1 info), length = 34
    000:  04 01 48 4f 4e 44 41 20 45 4c 45 43 54 52 4f 4e
    010:  20 43 4f 2e 2c 4c 54 44 00 42 4d 48 31 30 2d 4a
    020:  00 ff
	Version = 4.1, Manuf = [HONDA ELECTRON CO.,LTD], card vers = [BMH10-J]
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
    000:  36 c0 1a 00
	PCMCIA ID = 0xc036, OEM ID = 0x1a
Tuple #4, code = 0x21 (Functional ID), length = 2
    000:  02 01
	Serial port/modem - POST initialize
Tuple #5, code = 0x22 (Functional EXT), length = 4
    000:  00 02 0f 5c
	Serial interface extension:
		16550 UART, Parity - Space,Mark,Odd,Even
		Data bit - 7bit,8bit, Stop bit - 1bit,2bit
Tuple #6, code = 0x22 (Functional EXT), length = 9
    000:  05 1f 0f 00 10 00 00 10 00
	Data modem interface capabilities:
Tuple #7, code = 0x22 (Functional EXT), length = 9
    000:  06 1f 0f 00 10 00 00 10 00
	Fax/modem interface capabilities:
Tuple #8, code = 0x22 (Functional EXT), length = 12
    000:  02 06 00 3b 0c 03 03 0f 02 00 00 00
	Data modem services available:
Tuple #9, code = 0x22 (Functional EXT), length = 8
    000:  13 06 00 0f 00 02 00 00
	Fax1/modem services available:
Tuple #10, code = 0x22 (Functional EXT), length = 8
    000:  23 06 00 0f 00 02 00 00
	Fax2/modem services available:
Tuple #11, code = 0x1a (Configuration map), length = 5
    000:  01 2d 00 04 03
	Reg len = 2, config register addr = 0x400, last config = 0x2d
	Registers: XX------ 
Tuple #12, code = 0x1b (Configuration entry), length = 15
    000:  c5 01 99 11 55 2e aa 60 f8 02 07 30 bc 86 00
	Config index = 0x5(default)
	Interface byte = 0x1 (I/O)
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
		Max current average over 1 second: 2.5 x 100mA
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2f8 block length = 0x8
		IRQ modes: Level
		IRQs:  2 3 4 5 7 9 10 15
	Max twin cards = 0
	Misc attr:
Tuple #13, code = 0x1b (Configuration entry), length = 9
    000:  0d 09 01 55 aa 60 f8 03 07
	Config index = 0xd
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3f8 block length = 0x8
Tuple #14, code = 0x1b (Configuration entry), length = 9
    000:  15 09 01 55 aa 60 e8 03 07
	Config index = 0x15
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x3e8 block length = 0x8
Tuple #15, code = 0x1b (Configuration entry), length = 9
    000:  1d 09 01 55 aa 60 e8 02 07
	Config index = 0x1d
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 10 address lines, 8 Bit I/O only
		I/O address # 1: block start = 0x2e8 block length = 0x8
Tuple #16, code = 0x1b (Configuration entry), length = 7
    000:  2d 09 01 55 a3 40 07
	Config index = 0x2d
	Vcc pwr:
		Nominal operating supply voltage: 5 x 1V
	Card decodes 3 address lines, 8 Bit I/O only
		I/O address # 1:  block length = 0x8
Tuple #17, code = 0x14 (No link), length = 0
Tuple #18, code = 0xff (Terminator), length = 0
1 slots found
------------------------------------------------------------------------

* Please don't attach any application dependent (e.g. MS-Excel or Word)
  file. I'll NEVER open it for the sake of protecting the network.

--- SASAKI, Taroh         | When you go on this road, never be anxious.|
    mailto:taroh@taroh.org|               If you fear, there's no road.|
    http://www.taroh.org/ | ???         If you step, that'll be a road.|
    phone://81/908/50/76728  %   Go, don't be hesitate.  You will know.|
    icq:19785633          |  **********  ***      --- Ikkyu, the Bonze |
    address:jp/221/0005/4/541/1/203A  **** ----------------------------+
    global:wgs84/n35/30/06.9/e139/38/14.6/h29
    pgpfingerprint:4C/6A/E6/0E/D5/A1/DA/AC/54/8F/94/E9/E3/F2/9C/08