分页: 1 / 2

(數字校園拨号)sudo: dial: command not found(已解决 )

发表于 : 2010-05-11 14:27
ljb251314
以前我一直用sudo dial都能成功,但后来就不行了,都出现以下情况。
mrli@ubuntu:~$ sudo dial
[sudo] password for mrli:
sudo: dial: command not found
mrli@ubuntu:~$ sudo dial
sudo: dial: command not found
mrli@ubuntu:~$
每次打开系统后就运行终端输入sudo dial都会到[sudo] password for mrli:这一步,输了密码后就是sudo: dial: command not found了,后来sudo dial都是出现sudo: dial: command not found
其中,我重装ubuntu和软件包都不行,以前我也是装了ubuntu就装软件包就可以运行sudo dial 成功了。这是上网用到的拨号器.
我是新手等待高手回答,万分感谢~

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 17:54
ljb251314
:em18 :em19 :em21 没人回答~希望能有人帮忙下,坐等了~

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 18:17
hrbeu06ws
sudo: dial: command not found
请楼主确认一下dial是否包含在指定路径当中

代码: 全选

echo $PATH
查看当前指定路径

代码: 全选

whereis dial
查看dial所在路径

还有,直接执行sudo不会继承当前的$PATH环境变量,这也是值得注意的地方。

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 18:42
peteryeh64
連裝都裝不了... :em20

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:15
ljb251314
不知hrbeu06ws 在否?
其结果如下,该如何解决呢
mrli@ubuntu:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
mrli@ubuntu:~$ whereis dial
dial:
mrli@ubuntu:~$
我QQ124999828.有那位好心人士能帮我解决呢,感恩~

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:22
hrbeu06ws

代码: 全选

mrli@ubuntu:~$ whereis dial
dial:
请问,dial应该是一个PPP的拨号软件吧!你是怎么安装的呢?确定已经正确安装了吗?安装到哪里了?

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:24
ljb251314
hrbeu06ws, 呵呵,是啊~是数字校园拨号器,是已经装好的,以前用用还可以输入号码和密码,后来就出现以上状况了。我现在用window上网呢。

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:31
hrbeu06ws
hrbeu06ws, 呵呵,是啊~是数字校园拨号器,是已经装好的,以前用用还可以输入号码和密码,后来就出现以上状况了。我现在用window上网呢。
从未用过这个软件。请你告诉我,你是怎么安装的?是通过软件包管理器还是直接编译源代码呢?否则我怎么帮你想办法呢?

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:40
ljb251314
hrbeu06ws, 不好意思,刚才有事情。我是下载软件包直接拉到桌面安装的,以前还可以输入帐号密码的就是上不了,但现在重装依然是这样mrli@ubuntu:~$ sudo dial
[sudo] password for mrli:
sudo: dial: command not found
mrli@ubuntu:~$ sudo dial
sudo: dial: command not found
mrli@ubuntu:~$

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 19:48
peteryeh64
軟件包完整名稱是什麼? :em20

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-11 20:33
ljb251314
peteryeh64, 你的是什么软件包?我的是校园拨号器,名字叫pppdial_2.0.2_i386.deb,和你不同的吧

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-12 8:04
peteryeh64
那你終端下執行

代码: 全选

whereis pppdial
看有沒有什麼出現什麼訊息...

或者終端下執行

代码: 全选

sudo pppdial
看有沒有作用...

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-12 13:29
ljb251314
peteryeh64, 呵呵,谢谢了。 已经弄好了~只是输入帐号和密码还是上不了网,出错好像是:
no pppoe to 什么的 interface is up?
是不是网卡没设置好啊? :em18

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-12 13:45
peteryeh64
校園網我不懂... :em20 (最好提供完整一點的錯誤訊息...否則...只能杯具)

Re: 求救啊~sudo: dial: command not found

发表于 : 2010-05-12 17:52
ljb251314
peteryeh64, 错误提示为:no pppeo found ,interface is up?好像错误提示意思是:找不到pppoe,接口是不是已经插好?
已经插好了啊,用windows还能上网呢。是不是网卡没设置好呢?
很抱歉!我是新手呢。