免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1502 | 回复: 3
打印 上一主题 下一主题

[嵌入式] adls拨号报错『/bin/sh:adls-start: not found』解决 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-12-18 11:31 |只看该作者 |倒序浏览
目标板上所有配置都作好了。运行pppd也出现乱码。
服务器pc也设置好了。
在目标板的sbin目录下运行adsl-start
[root@DOC sbin]# adsl-start
/bin/sh: adsl-start: not found
运行./adsl-start也不行。
什么原因啊?
[root@DOC sbin]# ls -l
-rwxr-xr-x  1 root root   10248 Sep  2  2004 accton
-rwxr-xr-x  1 root root    8008 Dec 22  2004 addpart
-rwxr-xr-x  1 root root   10110 Oct 15  2004 adsl-connect
-rwxr-xr-x  1 root root   12886 Oct 15  2004 adsl-setup
-rwxr-xr-x  1 root root    6451 Oct 15  2004 adsl-start
-rwxr-xr-x  1 root root    2748 Oct 15  2004 adsl-status
-rwxr-xr-x  1 root root    3030 Oct 15  2004 adsl-stop

[ 本帖最后由 yinchonging 于 2006-12-19 15:05 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-12-19 09:37 |只看该作者
指定一下全路径试试
/目录/adsl-start

论坛徽章:
0
3 [报告]
发表于 2006-12-19 09:55 |只看该作者
也不行,我本身就在它的目录下。

论坛徽章:
0
4 [报告]
发表于 2006-12-19 10:34 |只看该作者
问题解决:
修改adsl-start
程序片断
#! /bin/bash      修改成#! /bin/ash



# Generated automatically from adsl-start.in by configure.
#***********************************************************************
#
# adsl-start
#
# Shell script to bring up an ADSL connection
#
# Copyright (C) 2000 Roaring Penguin Software Inc.
#
# $Id: adsl-start.in,v 1.7 2001/06/25 15:00:47 dfs Exp $
#
# This file may be distributed under the terms of the GNU General
# Public License.
#
# Usage: adsl-start [config_file]
#        adsl-start interface user [config_file]
# Second form overrides USER and ETH from config file.
# If config_file is omitted, defaults to /etc/ppp/pppoe.conf
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP