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

[plamo:06053] no such file message in shell script



瀧澤と申します。

現在私は米国のカルフォルニア州におります。そこで、この機会とばかりに
Pacific Bellという電話会社の提供するADSLのサービスを申し込み、使用して
います。もちろん、Windows 98では問題ないのですが、私は普段Plamo Linux
を使用していますので、どうしてもLinuxでDSL接続したいと思い、チャレンジ
しているところです。

先日、PacBellのホームページにLinux(Kernel 2.0.36)用の接続プログラムが
あることを発見、それでインストラクション通りにやってみたのですが、接続
とは関係のないところでひっかかっています。

というのは、chmod +x して/usr/local/binに置いたシェルスクリプトを実行
すると

/usr/local/bin/start-pppoe: /usr/local/bin/free_pty: No such file or directory
/usr/local/bin/start-pppoe: /usr/local/bin/pppoe: No such file or directory
In file /etc/ppp/options.pppoe: unrecognized command receive-all

というメッセージが出てきてしまいます。free_ptyとpppoeはバイナリで、ちゃ
んと/usr/local/binの下に置いて実行可能にしているのにかかわらずです。

以前にも、シェルスクリプトからみでこういうことがあって、解決したような
気がするのですが、今は全く手が出ない状況です。もし、おわかりになる方が
いらしたら、教えて下さい。

ちなみに、私はPlamo Linux 1.4を使用しています。また、シェルスクリプト
は、以下のような内容になっています。



#!/bin/bash

# If you need to connect to specific service name then uncomment the 
# line below. Replace YourServiceName with that of the service you wish 
# to access.
# SERVICENAME="-S YourServiceName"

# If you need to access a specific Access Concentrator then uncomment the
# line below. Replace YourAccessConcentratorName with that of the access
# concentrator you wish to use. 
# ACNAME="-A YourAccessConcentratorName"

# Replace YourUserID with that of the userid supplied by your service provider
# You will also need to add the user-id and password to the 
# /etc/ppp/chap-secrets and/or /etc/ppp/pap-sercrets file.
USERID="name YourUserID"

# If the ethernet nic that you will be using is not at eth0 you will need
# to supply that information by uncommenting the line below and replacing
# eth0 with that of your network card. ifconfig command will show a list of
# network interfaces.
# INTERFACE="eth0"

# Uncomment the next command if it's useful for your environment.
# ifconfig $INTERFACE 0.0.0.0 up -arp

FREE_TTY=`/usr/local/bin/free_pty`
/usr/local/bin/pppoe $FREE_TTY $INTERFACE $SERVICENAME $ACNAME&
/usr/sbin/pppd $FREE_TTY $USERID file /etc/ppp/options.pppoe

----------------------------------------------------------------
瀧澤弘和: 東洋大学経済学部
Homepage: http://ramsey.eco.toyo.ac.jp
電話: +1-650-561-9958, Fax: +1-650-561-9958
Fingerprint = 67BD ED58 C8E9 4DA6 CFE5  D105 4B6D AAAC EEB9 6FB9
----------------------------------------------------------------

Follow-Ups
[plamo:06054] Re: no such file message in shell script, KOJIMA Mitsuhiro

[検索ページ] [メール一覧]
Plamo ML 公開システム