ダウンロードした twsk30d.exe アイコンをダブルクリック。 /font>
(3) 解凍されたファイルの中から install.exe アイコンをダブルクリックしてインストーラを起動。
(4) [Install]→[OK]→[Yes]ボタンをクリックして進む。
(5) インストール先のディレクトリを尋ねてくるので指定する。
(例) C:\twsk30d
(6) [OK]→[OK]→[OK]ボタンをクリックして進む。
(7) auto.exe のバックアップのファイル名を尋ねてくるのでファイル名を autox.bak などとして(他の名前でも構わない)[OK]ボタンをクリック。
(8) [使用承諾]画面で[Accept]ボタンをクリック。
(9) [Trumpet Winsock Setup]画面が現われるが、ここでは取敢ず何も変更せずに[OK]→[OK]ボタンをクリックして進む。
(10) 再起動を要請されるので[OK]→[Restart]で再起動。
以上でインストール完了。
【設定】
(1) 再起動後、プログラムマネージャーから[Trumpet WInsock]グループを開き、その中の[Trumpet Winsock]アイコンをダブルクリック。

(2) メニュー[File]から[Setup...]を選択。

(3) 各項目について次のとおり入力・選択する(注:入力は全て半角英数字)。
-
| IP address | : |
0.0.0.0 |
| DNS server[s] | : |
210.226.54.1 |
| Domain suffix | : |
meix-net.or.jp |
| Driver | : |
[PPP] |

(4) [Dialler settings...]ボタンをクリック。
(5) [Dialler settings...]ボタンをクリック。
(6) 各項目について次のとおり入力・選択する。
-
| COMM port | : |
モデムが繋がっているポートの番号 |
| Baud rate | : |
DTE(コンピュータ)と DCE(モデム・TA)間の通信速度 |
| Hardware handshaking | : |
チェック |
| VJ header compression | : |
チェック |
| Auto redial on disconnect | : |
チェックなし |
| Online Status Detection | : |
[None]を選択 |
| Automatic Login | : |
[Login/logout on load/unload]を選択 |
| Parity and Word Size | : |
[Standard SLIP/PPP settings]を選択 |

[OK]ボタンをクリック。
(7) [OK]ボタンをクリックして[Trumpet Winsock Steup]画面を閉じる。
(8) 次にメニュー[File]から[PPP options...]を選択。
(9) 各項目について次のとおり入力・選択する。
-
| Use Password Authentication Protocol [PAP] |
: | チェック |
| Use Challenge Handshake Auth. Prot. [CHAP] |
: | チェックなし |
| Username | : |
ダイアルアップ (PPP) アカウント名 |
|---|
| Password | : |
ダイアルアップ (PPP) パスワード |
|---|

[OK]ボタンをクリック。
(10) 次にメニュー[Dialler]から[Profile...]を選択。

(9) [Login Profile]画面で[Username]および[Password]は 何も入力しない(空欄)。
[Phone]には ポートネットのアクセス電話番号を入力。
-
| Username | : |
無記入(空欄) |
| Password | : |
無記入(空欄 ) |
| Phone | : |
アクセス電話番号(半角英数字) |

(10) [Modem Settings...]ボタンをクリック。
(11) 各項目については次のとおり入力・選択する。
-
| Use reset string | : |
チェックを付け入力欄に `z' |
| Init String | : |
``&f'' または ``&f&c1&k3'' |
| Dial string | : |
プッシュホン(トーン)回線の場合 ``dt''、ダイアル(パルス)回線の場合 ``dp'' |
| Hangup string | : |
通常こちらをチェックし、入力欄には `h' |

[OK]ボタンをクリック。
(12) 次に[Login Profile]画面から[Server Settings...]ボタンをクリック。
(13) 接続には PAP 認証方法を使うので、[Username Prompt]および[Password prompt]は必要ない。
- ※login.cmd スクリプトで $userprompt および、$passprompt 制御を無効にすることと同じ(【ログイン・スクリプト】参照)。
各項目については次のとおり入力・選択する。
-
| Username prompt | : |
空欄 |
| Password prompt | : |
空欄 |
| Command prompt | : |
空欄 |
| SLIP prompt | : |
特に指定なし |
| SLIP response | : |
空欄 |
| PPP command | : |
特に指定なし |
| PPP response | : |
空欄 |
| Scan for IP address | : |
チェックなし |

[OK]ボタンをクリック。
(14) 設定を有効にするために、一旦 Trumpet Winsock を終了する。
以上で設定は完了。
【ログイン・スクリプト】
Trumpet WInsock を使ってメイクスネットに接続する際のログイン・スクリプトのサンプルを以下に載せます。
- ※ `#' で始まる行はコメントです。スクリプトの実行には使われませんので省略可能です。
- ※ 青字 の行が変更部分で、これは【設定】(13) の[Server Profile]画面の設定と内容は同じ。
(Trumpet Winsock 3.0d 用 login.cmd の場合)
#
# Trumpet Winsock 3.0 Login.cmd for MEIX-NET
#
# Copyright (C) 1996 distributed by
# Trumpet Software International Pty Ltd
# A.C.N 070065860
# Under Licence from the Copyright owners.
# All Rights Reserved.
#
include "profile.cmd","preload"
include "modem.cmd","preload"
include "server.cmd","preload"
%attempts = 10
###############################################
# timeouts for various sections of the script #
###############################################
# timeout for busy tone...
# adjust this until the BUSY string is detected.
%busytimeout = 10
# time between successive busy attempts.
%busywait = 1
# time to wait for a CONNECT string to be received
%connecttimeout = 60
# time to wait until DCD is detected
%onlinetimeout = 60
# time to wait for username & password prompts
%logintimeout = 60
# time to wait for server prompt to appear
%prompttimeout = 30
# time to wait for a SLIP address to be parsed
%addresstimeout = 30
####################
# initialize modem #
####################
output \13
%n = [input 1 \n]
if %usereset
status "Initializing modem..."
output "at"$modemreset\13
%x = matchinput(10,"OK","ERROR")
if %x = 2
message "Incorrect modem reset string. Please change profile."
abort
end
if %x = 0
message "Modem is not responding."
abort
end
end
############################
# setup our modem commands #
###########################
output "at"$modeminit\13
%x = matchinput(10,"OK","ERROR")
if %x = 2
message "Incorrect modem init string. Please change profile."
abort
end
if %x = 0
message "Modem is not responding."
abort
end
#######################################
# do the dial up....send phone number #
#######################################
%n = 0
repeat
%n = %n + 1
if %n > %attempts
message "Too many dial attempts"
abort
end
status Dialling $number...(attempt %n)
output "at"$modemdial$number\13
%ok = 0
%which = matchinput(%connecttimeout,"CONNECT","BUSY","NO DIALTONE","NO ")
if %which = 1
%ok = 1
end
if %which = 2
status "The line is busy...pausing for a while"
sleep %busywait
end
if %which = 3
message "No Dial tone. Please check modem or phone line."
abort
end
if %which = 4
message "No carrier - check condition of line or phone number"
abort
end
until %ok
input 10 \n
############################################################
# wait till it's safe to send because some modems hang up #
# if you transmit during the connection phase #
############################################################
wait %onlinetimeout dcd
status Connected. Now logging in as $username...
#################################
# now prod the terminal server ##
# #
#output \13 #
# #
# wait for the username prompt #
#################################
#if $promptuser <> ""
# input %logintimeout $promptuser
# output $username\13
#end
####################
# and the password #
####################
#if $promptpass <> ""
# input %logintimeout $promptpass
# output $password\13
#end
########################
# we are now logged in #
########################
status "Logged in. Now switching to Internet..."
#if $promptcmd <> ""
# input %prompttimeout $promptcmd
#end
if %ppp
######################
# jump into ppp mode #
######################
#if $pppcmd <> ""
# output $pppcmd\13
#end
########################
# wait for PPP prompt. #
########################
#if $pppready <> ""
# input %prompttimeout $pppready
#end
#
if %getaddr
input %addresstimeout $addrprompt
#################
# parse address #
#################
address %addresstimeout
input %addresstimeout \n
display \n
display PPP mode selected. Your IP address is \i.\n
status Connected. Your IP address is \i.
else
display \n\n"PPP mode selected. Will try to negotiate IP address."\n
status "PPP mode selected. Will try to negotiate IP address."
sleep 1
end
#
else
#######################
# jump into slip mode #
#######################
if $slipcmd <> ""
output $slipcmd\13
end
if $slipready <> ""
input %prompttimeout $slipready
end
###############################
# wait for the address string #
###############################
if %getaddr
if $addrprompt <> ""
input %addresstimeout $addrprompt
end
#################
# parse address #
#################
address 30
input %addresstimeout \n
display \n
display SLIP mode selected. Your IP address is \i.\n
status SLIP mode selected. Your IP address is \i.
else
display \n\n"SLIP mode selected. Will try to negotiate IP address."\n
status "SLIP mode selected. Will try to negotiate IP address."
sleep 1
end
end
########################
# now we are finished. #
########################
|
【接続】
Automatic Login(※[設定](6) 参照)を有効にしているので Trumpet Winsock を起動するとメイクスネットに接続を行なう。
(Trumpte Winsock 起動)

(モデムの初期と回線の接続)

(PAP 認証が通り、IP アドレスが動的に割り振られる)

| インデックス |
本ページの複製ならびに転載を禁ず
1996-1998 メイクスネット・サポート