BUFFALO WHR-G54S明誠科技特別版介紹



贊助商連結


頁 : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 [15] 16 17 18 19 20

88djy
2008-01-26, 09:37 AM
7. 建立一個 symlink
# ln -s /tomato/tools/brcm /opt/brcm
8. 把下面的路徑加入到 PATH 中
/opt/brcm/hndtools-mipsel-uclibc/bin
/opt/brcm/hndtools-mipsel-linux/bin
.

這裏不太明白,請說明具體怎樣做。
解决了。

贊助商連結


hzxyy
2008-01-26, 09:39 AM
个人认为从Buffalo WHR-G54S的規格表看:
CPU: Broadcom 200MHz
FLASH: 4MB
RAM: 16MB
如果这个在不开QOS的情况下,能同时带30台主机已经是极限了,明诚的253台来测试有意义?请用30台主机再对比测试下,看看效能是否相差还是那么严重。

puwen
2008-01-26, 10:27 AM
這裏不太明白,請說明具體怎樣做。

7. 建立一個 symlink, 所要下的命令如下
# ln -s /tomato/tools/brcm /opt/brcm
8. 把下面的路徑加入到 PATH 中
/opt/brcm/hndtools-mipsel-uclibc/bin
/opt/brcm/hndtools-mipsel-linux/bin, 所要下的命令如下
#export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

88djy
2008-01-26, 11:03 AM
7. 建立一個 symlink, 所要下的命令如下
# ln -s /tomato/tools/brcm /opt/brcm
8. 把下面的路徑加入到 PATH 中
/opt/brcm/hndtools-mipsel-uclibc/bin
/opt/brcm/hndtools-mipsel-linux/bin, 所要下的命令如下
#export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

make[2]: Leaving directory `/home/djy/tomato/tools-src/uClibc'
/bin/sh: mipsel-linux-gcc: not found
/bin/sh: mipsel-linux-gcc: not found
make[2]: mipsel-linux-gcc:命令未找到
make[2]: Entering directory `/home/djy/tomato/tools-src/uClibc'
rm -rf include/bits
mkdir -p include/bits
can't find file extra/Configs/Config.
make[2]: *** [include/bits/uClibc_config.h] 错误 1
make[2]: Leaving directory `/home/djy/tomato/tools-src/uClibc'
make[1]: *** [libc] 错误 2
make[1]: Leaving directory `/home/djy/tomato/release/src'
make: *** [all] 错误 2
cp: 无法确认 ‘release/image/code.bin’: No such file or directory
我是用ubuntu 7.10是不是没有mipsel-linux-gcc

puwen
2008-01-26, 11:17 AM
make[2]: Leaving directory `/home/djy/tomato/tools-src/uClibc'
/bin/sh: mipsel-linux-gcc: not found
/bin/sh: mipsel-linux-gcc: not found
make[2]: mipsel-linux-gcc:命令未找到
make[2]: Entering directory `/home/djy/tomato/tools-src/uClibc'
rm -rf include/bits
mkdir -p include/bits
can't find file extra/Configs/Config.
make[2]: *** [include/bits/uClibc_config.h] 错误 1
make[2]: Leaving directory `/home/djy/tomato/tools-src/uClibc'
make[1]: *** [libc] 错误 2
make[1]: Leaving directory `/home/djy/tomato/release/src'
make: *** [all] 错误 2
cp: 无法确认 ‘release/image/code.bin’: No such file or directory
我是用ubuntu 7.10是不是没有mipsel-linux-gcc


看起來問題有二種可能
1. 目錄不對
2. 權限不足

----------------------------------------------------
1. 所有的 source 都是解到根目錄底下的 tomato
/tomato

2. 切換 user 到 root, 再去 build code
# su - root

88djy
2008-01-26, 02:48 PM
看起來問題有二種可能
1. 目錄不對
2. 權限不足

----------------------------------------------------
1. 所有的 source 都是解到根目錄底下的 tomato
/tomato

2. 切換 user 到 root, 再去 build code
# su - root
/bin/sh: mipsel-linux-gcc: not found
/bin/sh: mipsel-linux-gcc: not found
make[4]: mipsel-linux-gcc: Command not found
make[4]: Entering directory `/tomato/tools-src/uClibc/libc/sysdeps/linux/sparc'
rm -f *.[oa] *~ core
rm -f bits/sysnum.h
make[4]: Leaving directory `/tomato/tools-src/uClibc/libc/sysdeps/linux/sparc'
make -C v850 clean
/bin/sh: mipsel-linux-gcc: not found
/bin/sh: mipsel-linux-gcc: not found
make[4]: mipsel-linux-gcc: Command not found
make[4]: Entering directory `/tomato/tools-src/uClibc/libc/sysdeps/linux/v850'
rm -f *.[oa] *~ core
rm -f bits/sysnum.h
make[4]: Leaving directory `/tomato/tools-src/uClibc/libc/sysdeps/linux/v850'
make[3]: Leaving directory `/tomato/tools-src/uClibc/libc/sysdeps/linux'
make[2]: Leaving directory `/tomato/tools-src/uClibc'
/bin/sh: mipsel-linux-gcc: not found
/bin/sh: mipsel-linux-gcc: not found
make[2]: mipsel-linux-gcc:命令未找到
make[2]: Entering directory `/tomato/tools-src/uClibc'
rm -rf include/bits
mkdir -p include/bits
can't find file extra/Configs/Config.
make[2]: *** [include/bits/uClibc_config.h] 错误 1
make[2]: Leaving directory `/tomato/tools-src/uClibc'
make[1]: *** [libc] 错误 2
make[1]: Leaving directory `/tomato/release/src'
make: *** [all] 错误 2
root@djy-desktop:/tomato/release/src#

puwen
2008-01-26, 03:06 PM
/bin/sh: mipsel-linux-gcc: not found


1. 先切換身份
# su - root
2. 建立一個 symlink
# ln -s /tomato/tools/brcm /opt/brcm
3. 把下面的路徑加入到 PATH 中
#export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

再試看看
我猜是在建立 symlink 時,
你沒有權限
所以找不到 mipsel-linux-gcc

88djy
2008-01-26, 04:41 PM
1. 先切換身份
# su - root
2. 建立一個 symlink
# ln -s /tomato/tools/brcm /opt/brcm
3. 把下面的路徑加入到 PATH 中
#export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

再試看看
我猜是在建立 symlink 時,
你沒有權限
所以找不到 mipsel-linux-gcc
root@djy-desktop:~# ln -s /tomato/tools/brcm /opt/brcm
ln: 正在创建指向 ‘/tomato/tools/brcm’ 的符号链接 ‘/opt/brcm/brcm’: File exists
root@djy-desktop:~# export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

puwen
2008-01-26, 04:54 PM
root@djy-desktop:~# ln -s /tomato/tools/brcm /opt/brcm
ln: 正在创建指向 ‘/tomato/tools/brcm’ 的符号链接 ‘/opt/brcm/brcm’: File exists
root@djy-desktop:~# export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

可以請你把你的步驟都寫出來嗎?
包含 Tomato & Buffalo 的版本.

88djy
2008-01-26, 08:55 PM
可以請你把你的步驟都寫出來嗎?
包含 Tomato & Buffalo 的版本.

8. 把下面的路徑加入到 PATH 中
/opt/brcm/hndtools-mipsel-uclibc/bin
/opt/brcm/hndtools-mipsel-linux/bin, 所要下的命令如下
#export PATH="$PATH:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin"

查出来了。问题在这里。
在~/.bashrc 最 加上

export $PATH=/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/brcm/hndtools-mipsel-linux/bin