W53Hでppp。
超簡単だ、時代を感じる。
usb接続と確認。
[dmesg] [82319.788000] usb 2-1: USB disconnect, address 2 [86389.380000] usb 2-1: new full speed USB device using uhci_hcd and address 3 [86389.556000] usb 2-1: configuration #1 chosen from 1 choice [86389.560000] cdc_acm 2-1:1.0: ttyACM0: USB ACM device [86939.252000] usb 2-1: USB disconnect, address 3 [107243.644000] usb 2-1: new full speed USB device using uhci_hcd and address 4 [107243.820000] usb 2-1: configuration #1 chosen from 1 choice [107243.820000] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
cu がなかったのでインストール
apt-get insatll cu
次にpppdの設定。ここ参照。
[/etc/ppp/peers/au ] user "au@au-win.ne.jp" connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T *99**24#" # Serial device to which the modem is connected. /dev/ttyACM0 [/etc/ppp/chap-secrets] # client server secret IP addresses au@au-win.ne.jp * au
ppp接続。
pon au
接続の確認。
[ifconfig] root@baroque:~# /sbin/ifconfig ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:125.28.41.198 P-t-P:172.23.44.239 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:3 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:48 (48.0 b) TX bytes:63 (63.0 b) [dmesg] [107653.920000] PPP generic driver version 2.4.2 [107658.116000] PPP BSD Compression module registered [107658.340000] PPP Deflate Compression module registered
ppp切断。
poff au
いやぁ簡単簡単。