LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1477|回复: 6

老机器如何利用做MINI路由!谢谢!

[复制链接]
发表于 2005-11-17 14:37:23 | 显示全部楼层 |阅读模式
本人有一台老机器 C300 ,   内存256M  ,硬盘是CF卡转的48M,

请问装那种版本更能让它发挥应有的功能。

谢谢!
发表于 2005-11-17 14:54:53 | 显示全部楼层
m0n0.ch/wall

是基于BSD的,只有十几M;我测试过了。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-17 15:26:16 | 显示全部楼层
谢谢!能提供一个下载地址吗
回复 支持 反对

使用道具 举报

发表于 2005-11-17 17:05:34 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-17 18:04:57 | 显示全部楼层
OK
收到
谢谢!


还有一点就是,用什么工具把IMG文件写入CF卡呢,

如何来做呢!

不好意思哦!
回复 支持 反对

使用道具 举报

发表于 2005-11-17 18:55:22 | 显示全部楼层
在linux windows和bsd下都能进行写操作。

就看自己有什么环境了。。。

我做的方法是刻了一张体积最小的 linux 的livecd ,什么版本都行;只要能用就行;然后把下载下来的文件 放在usb 盘中。挂载 usb盘 ,也就是mount;然后就是写入了。。。因为我没有读卡器,所以只能用笨办法写入了。如果有读卡器,在哪个操作系统下都能方便写入。然后再插在路由机上。。。


用slackware 的第一张盘也行。



然后用linux的方法写入;下面就是方法;



    *  FreeBSD:
      gzcat generic-pc-xxx.img | dd of=/dev/rad[n] bs=16k
      where n = the ad device number of your CF card (check dmesg)
      (ignore the warning about trailing garbage - it's because of the digital signature)
    * Linux:
      gunzip -c generic-pc-xxx.img | dd of=/dev/hdX bs=16k
      where X = the IDE device name of your HD/CF card (check with hdparm -i /dev/hdX) - some CF adapters, particularly USB, may show up under SCSI emulation as /dev/sdX
      (ignore the warning about trailing garbage - it's because of the digital signature)
    * Windows:
      (use the -u flag if the target disk is > 800 MB - make very sure you've selected the right disk!!)
      physdiskwrite [-u] generic-pc-xxx.img
      (you must use v0.3 or later!)
回复 支持 反对

使用道具 举报

发表于 2005-11-18 00:37:07 | 显示全部楼层
北南南北兄回复的好快啊!PFPF!
回复 支持 反对

使用道具 举报

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

本版积分规则

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