D02HW でダイアルアップ

玄柴(KURO-SHEEVA)

SheevaPlug の時のまんま

ppconfig のインストール

root@debian:~# apt-get install pppconfig
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libx11-data libxcb1 libxau6 libxdmcp6 libxcb-xlib0 libx11-6
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libpcap0.8 ppp
Suggested packages:
  iptables
The following NEW packages will be installed:
  libpcap0.8 ppp pppconfig
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 503kB of archives.
After this operation, 2298kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ports.ubuntu.com jaunty/main libpcap0.8 1.0.0-1 [108kB]
Get:2 http://ports.ubuntu.com jaunty/main ppp 2.4.5~git20081126t100229-0ubuntu2 [350kB]
Get:3 http://ports.ubuntu.com jaunty/main pppconfig 2.3.18ubuntu2 [44.7kB]
Fetched 503kB in 2s (204kB/s)
Selecting previously deselected package libpcap0.8.
(Reading database ... 13467 files and directories currently installed.)
Unpacking libpcap0.8 (from .../libpcap0.8_1.0.0-1_armel.deb) ...
Selecting previously deselected package ppp.
Unpacking ppp (from .../ppp_2.4.5~git20081126t100229-0ubuntu2_armel.deb) ...
 Removing any system startup links for /etc/init.d/ppp ...
Selecting previously deselected package pppconfig.
Unpacking pppconfig (from .../pppconfig_2.3.18ubuntu2_all.deb) ...
Setting up libpcap0.8 (1.0.0-1) ...

Setting up ppp (2.4.5~git20081126t100229-0ubuntu2) ...

Setting up pppconfig (2.3.18ubuntu2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@debian:~#

/etc/ppp/peers/em の編集

root@debian:~# vi /etc/ppp/peers/em
	:
	:
root@debian:~# cat !$
cat /etc/ppp/peers/em
user "em@em"
connect "/usr/sbin/chat -v -f /etc/chatscripts/pap -T *99***1#"
/dev/ttyUSB0
115200
noipdefault
usepeerdns
defaultroute
persist
noauth
root@debian:~#

接続

再起動のあと、pon コマンドを実行する
root@debian:~# pon em
root@debian:~# tail -f /var/log/messages
Jul  1 22:21:22 debian chat[1990]: send (ATDT*99***1#^M)
Jul  1 22:21:22 debian chat[1990]: expect (CONNECT)
Jul  1 22:21:22 debian chat[1990]: ^M
Jul  1 22:21:22 debian chat[1990]: ATDT*99***1#^M^M
Jul  1 22:21:22 debian chat[1990]: CONNECT
Jul  1 22:21:22 debian chat[1990]:  -- got it
Jul  1 22:21:22 debian chat[1990]: send (^M)
Jul  1 22:21:22 debian pppd[1988]: Serial connection established.
Jul  1 22:21:22 debian pppd[1988]: Using interface ppp0
Jul  1 22:21:22 debian pppd[1988]: Connect: ppp0 <--> /dev/ttyUSB0
Jul  1 22:21:23 debian pppd[1988]: PAP authentication succeeded
Jul  1 22:21:26 debian pppd[1988]: Could not determine remote IP address: defaulting to 10.64.64.64
Jul  1 22:21:26 debian pppd[1988]: local  IP address 114.51.115.10
Jul  1 22:21:26 debian pppd[1988]: remote IP address 10.64.64.64
Jul  1 22:21:26 debian pppd[1988]: primary   DNS address 117.55.64.154
Jul  1 22:21:26 debian pppd[1988]: secondary DNS address 60.254.209.158
^C
Good!

でも、このペースで 7/9 の OSC Kansai @ Kyoto に間に合うのか???



KURO-SHEEVA
楽天市場

←(前のページ)
4ポート HUB 入手
当月のハックの記録
SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ
(次のページ)→
Web カメラ

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市