找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4908|回复: 20

optware的运行库无法安装?!

[复制链接]
挂好U盘后,执行wget http://pastebin.ca/raw/328107  -O - | tr -d '\r' > /tmp/optware-install.sh这个命令,提示连接被拒绝!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
telnet ipkg.nslu2-linux.org 80   可以连接上  可是optware就是安装不上  这是为啥呢?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

你那个路由上网是怎么设置的?  贴图上来。

还有就是运行一下命令  mount或者 df -h ,把信息贴上来.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
上网方式是 长城宽带pppoe拨号上网

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
mount命令后的截图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

从5楼的图看,你都没有把usb mount到 /opt

不知道你是采用那种mount:

1. mount到 /mmc, 再在 /mmc 里面建立opt目录,把/mmc/opt   mount  到/opt

mount /dev/scsi/host0/bus0/target0/lun0/part1 /mmc
mount -o bind /mmc/opt /opt

2.   加载完usb驱动之后。
先umount了 /jffs, 把/dev/mtdblock/4  mount到 /mnt .
然后把u盘mount到 /jffs, 再在 /jffs 里面建立opt目录,把/jffs/opt   mount  到/opt
umount  /jffs
mount /dev/mtdblock/4  /mnt
mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs
mount -o bind /jffs/opt /opt


如果不想处理jffs umount之类的话,就用第1个,不过运行/opt/bin里面命令的时候要使用全路径.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
我是按照kasimir版大给的教程弄的,应该是上面两种里的第二种方法。
insmod /jffs/lib/modules/2.4.30/usbcore.o
insmod /jffs/lib/modules/2.4.30/usb-ohci.o
insmod /jffs/lib/modules/2.4.30/scsi_mod.o
insmod /jffs/lib/modules/2.4.30/usb-storage.o
insmod /jffs/lib/modules/2.4.30/sd_mod.o
insmod /jffs/lib/modules/2.4.30/ext2.o
insmod /jffs/lib/modules/2.4.30/jbd.o
insmod /jffs/lib/modules/2.4.30/ext3.o
sleep 3
umount /jffs
umount /mnt
mount /dev/scsi/host0/bus0/target0/lun0/part1 /jffs
mount /dev/mtdblock/4 /mnt
mount -o bind /jffs/opt /opt
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

cd /jffs
ls
看看显示什么了?
里面有没有opt文件夹?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
里面有三个文件夹分别是lost+found;opt;tmp

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
还有这次的mount命令后显示的内容,应该是正确的了吧。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
昨天晚上又按照教程重新做了一次,还是在连接wget http://pastebin.ca/raw/328107  -O - | tr -d '\r' > /tmp/optware-install.sh这个命令时,提示连接被拒绝!郁闷了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

1. 加载驱动。加载完毕后看状态:
(a) df
(b)mount

确保把u盘 mount到 /opt 下面。

2.  确认网络是连通的
(a) telnet 192.168.1.1 登录路由
(b) 在路由里面 telnet bbs.gznet.edu.cn    看看能不能解析到域名。

3.  一次过把你做的过程上图。或者是copy里面的内容上来。
最好还是copy内容吧。
(命令提示符的内容 copy,  点右键,选择标记,按住左键拖动,然后在白色的区域里面点右键. )

4. 你参考下这个连接的文章
http://www.dd-wrt.com/wiki/index.php/Optware

里面Installing ipkg-opt and uclibc-opt  ,再往下一点
Output should look like:   

安装过程显示出来的内容和这个差不多。

5.  上传一个optware-install.sh 给你试试。
解压后上传到/tmp 目录,修改为可执行文件。
cd /tmp
chmod +x optware-install.sh
sh optware-install.sh

6.  粘贴一下我的安装过程吧

root@Belkin:/# wget http://pastebin.ca/raw/328107  -O - | tr -d '\r' >  /
tmp/optware-install.sh
Connecting to pastebin.ca [208.68.18.97:80]
-                    100% |*****************************|  2552    --:--:- ETA
root@Belkin:/# cd /tmp/
root@Belkin:/tmp# ls
cron.d              hosts               resolv.dnsmasq
crontab             loginprompt         root
dnsmasq.conf        optware-install     var
dnsmasq.leases      optware-install.sh  www
etc                 resolv.conf

root@Belkin:/# sh /tmp/optware-install.sh
Checking system config ...
Using 192.168.0.168 as default gateway.
Using the following nameserver(s):
nameserver 192.168.1.1
Warning: local nameserver is different than gateway!
Check config or enter:
  sed -i s/192.168.*/192.168.0.168/ /tmp/resolv.conf
to correct this.
Installing package uclibc-opt_0.9.28-12_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org [140.211.167.165:80]
uclibc-opt_0.9.28-12 100% |*****************************|   833 KB 00:00:00 ETA
touch: /opt/etc/ld.so.conf: No such file or directory
Updating /opt/etc/ld.so.cache
/opt/sbin/ldconfig: can't create /opt/etc/ld.so.cache~ (No such file or
directory)
Installing package ipkg-opt_0.99.163-9_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org [140.211.167.165:80]
ipkg-opt_0.99.163-9_ 100% |*****************************| 75770    00:00:00 ETA
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/
Packages.gz
Inflating
http://ipkg.nslu2-linux.org/feed ... /stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
Installing uclibc-opt (0.9.28-12) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/
uclibc-opt_0.9.28-12_mipsel.ipk
package uclibc-opt suggests installing ipkg-opt
Configuring uclibc-opt
Updating /opt/etc/ld.so.cache
Successfully terminated.
Installing ipkg-opt (0.99.163-9) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/
ipkg-opt_0.99.163-9_mipsel.ipk
Configuring ipkg-opt
Successfully terminated.
root@Belkin:/#

7.  还不行的话,找你身边的朋友直接过去帮你吧.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

8. 你的路由是? 7231-4p ?64M ? (我好像问过,不过忘记了。)

  会不会是你的路由物理地址和网上的重复了?

   如果是刷过cfe的,可能会出现相同物理地址。 因为大家都用同一个cfe 。

  7231-4p 64M  或者32M 的最好修改一下吧?  修改方法搜索我的帖子.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
嗯 我先从1做到7试试看

我的路由是7231-4P  64M
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
还有第8项说得改物理地址是不是这个意思?
修改路由器型号
刷完cfe后,路由器变成了西门子 505(?)
修改addr
nvram set il0macaddr=xx:xx:xx:xx:xx:xx
nvram set wan_hwaddr=xx:xx:xx:xx:xx:xx
nvram set lan_hwaddr=xx:xx:xx:xx:xx:xx
nvram set et0macaddr=xx:xx:xx:xx:xx:xx
nvram set et1macaddr=xx:xx:xx:xx:xx:xx
nvram set wl0_hwaddr=xx:xx:xx:xx:xx:xx
nvram commit
reboot

修改完毕reboot之后路由器又变回
路由器型号Belkin F5D7230-4 v1444  
(上面nvram改物理地址的,好像保存不到 web备份的 nvrambak.bin,导入后又要重新修改。)

[xx:xx:xx:xx:xx:xx 自己看板子背面贴的,上面的参数哪些是相同的,那个+1,那个+2,自己先
nvram show |grep addr  看一下,
lan_hwaddr,et0macaddr,et1macaddr 三个一样。
il0macaddr,wan_hwaddr 一样。]
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 09:00

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表