找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: rsus

[linux] [原创]用Coyote Linux制作软件路由器

[复制链接]
发表于 2003-9-21 11:15:50 | 显示全部楼层
QUOTE
请问楼主8139D蕊片的网卡应该选那一个呢?


8139too
routeros
回复

使用道具 举报

发表于 2003-9-21 11:18:23 | 显示全部楼层
QUOTE
我的PING 不到。

我的路由器没有显卡,

这个好像要装显卡,是吗?

我装过不要.
但可以装个显卡接显示器看看路由器启动是否成功.以后使用就不必要了
routeros
回复

使用道具 举报

发表于 2003-9-21 11:38:43 | 显示全部楼层
QUOTE
我的外网也ping不了。我想限制内网某些ip上网。coyote本身不知如何作。反正是iptables,俺上网乱查,后来
iptables -A INPUT -s 192.168.0.10 -i eth0 -j DROP
结果192.168.0.10的机子ping 192.168.0.1也就是coyote的内网网卡不通,但ping 61.x.x.x也就互联网正常,上网也正常。晕,如何作?难道 是INPUT要改成FORWARD?

没错,用FORWARD
    iptables -A FORWARD -s 192.168.0.10  -j REJECT
或 iptables -A FORWARD -s 192.168.0.10  -j DROP
routeros
回复

使用道具 举报

发表于 2003-9-24 13:57:14 | 显示全部楼层
我安装过程中发现rlt8029是ne驱动,而不是楼上仁兄说的ne2k-pci,是安装向导出错还是楼上的大哥搞错了??
routeros
回复

使用道具 举报

发表于 2003-9-24 15:54:57 | 显示全部楼层
谢谢  能提供这么好的软件 给我
们     不知道能管理内网用户上网?。。。
routeros
回复

使用道具 举报

发表于 2003-9-24 15:58:13 | 显示全部楼层
coyote 能否装在硬盘上?如何装?
routeros
回复

使用道具 举报

发表于 2003-9-24 17:41:07 | 显示全部楼层
QUOTE
coyote 能否装在硬盘上?如何装?
看http://www.rictec.com.br/claudio/coyote/ide.htm
routeros
回复

使用道具 举报

发表于 2003-9-24 22:36:58 | 显示全部楼层
我的ip ping 通了  但上不了网  请问是怎么会事
机器 dns  设路由器ip吗
谢谢
routeros
回复

使用道具 举报

发表于 2003-9-24 23:02:34 | 显示全部楼层
我试了一下 装完后 qq 能上  网页打不开  脱机的网页能用 新的不行  
请指教 谢谢  email:zhyum1@163.com
routeros
回复

使用道具 举报

发表于 2003-9-25 16:08:01 | 显示全部楼层
我试用过coyote,但上不了网,先用BBI上网后,客户机用RH上网浏览GOOGLE,然后换CL作路由器,结果只有google能上,而其他网页都打不开,上网查了一下,说是CL不支持DNS cache,也没找到解决的办法,有一个人说用linux制作的路由器盘可以支持DNS cache,我下载了linux下的制作软件,在RH9下又运行不了,没办法,放弃了,还是用BBI
routeros
回复

使用道具 举报

发表于 2003-10-6 16:27:14 | 显示全部楼层
我按wty会员提供的网址所介绍的方法制作coyote硬盘启动失败。哪位会员有成功案例,请介绍一下。感谢!!!
routeros
回复

使用道具 举报

发表于 2003-10-6 17:16:04 | 显示全部楼层
star, 我已搞清限制ip了,不过如何绑定mac?coyote里没有arp命令:( 有qq没?告诉一个呀。msn也行。

coyote装在硬盘上的办法不错,嘿嘿,俺也要学:)哪有电子盘卖?便宜的要!
routeros
回复

使用道具 举报

发表于 2003-10-6 18:48:38 | 显示全部楼层
谢谢~!
routeros
回复

使用道具 举报

发表于 2003-10-6 18:57:16 | 显示全部楼层
QUOTE

QUOTE
coyote 能否装在硬盘上?如何装?
看http://www.rictec.com.br/claudio/coyote/ide.htm
有做成功的么,各位,我试了几次都未成功
routeros
回复

使用道具 举报

发表于 2003-10-6 19:25:00 | 显示全部楼层
How to Install Coyote Linux on an IDE Hard Disk

Why do That ?

- Because I hate floppies.
- Because they are slow.
- Because they are fragile.
- Because they are unreliable.
- Because I need to add things to Coyote which won't fit on a floppy.
- Because floppy drives are becoming expensive.
- Because I have a hard drive and I have nothing better to do with it.
- Because I want to... and that's reason enough...

What will you need ?

- An old and little IDE hard disk. Believe me, a 200MB drive is HUGE compared to a floppy.
- A Coyote Linux kernel compiled with IDE suport enabled (Download it here)
- Syslinux 1.48 (Download it here)
- A DOS boot floppy. I can't give it to you because MS-DOS is copyrighted by Micro$oft, but this page might help.

Before You Start:

In Any Computer:
1 - Download the kernel linked above.
2 - Rename the file you just downloaded to linux
3 - Download the syslinux.com
4 - Take a blank, formatted 1.44 disk and copy these two files to it.

How to:

1 - Make sure your hard drive is empty, don't try to put more than one operating system on the same hard drive unless you know what are you doing. I'm not responsable if you lose anything stored on that hard drive.
2 - If you didn't install the drive already:
2.1 - Set (jumper) the drive to be MASTER. Some older drives will designate this jumper setting as "C" (as opposed to "D").
2.2 - Connect your drive to the PRIMARY IDE Interface
2.3 - Turn the machine on and enter the BIOS SETUP (by pressing Delete, F1, F10, or whatever your BIOS uses). Detect your drive (or set the parameters manually), save the setting, and exit.
3 - Boot your machine using the DOS boot-floppy.
4 - If the HD has any partitions other than a FAT12 or FAT16 DOS partition, delete them with FDISK. (See this page if you need help with FDISK.) Otherwise, skip to step 7.
5 - Create a primary FAT12 or FAT16 partition (it must be smaller than 1GB) at the starting sector of the HD and make sure to make it active.
6 - Boot your machine using the DOS boot-floppy again.
7 - Format the new partition by typing: format c: /u [Enter]
8 - Insert the floppy with syslinux.com and install the Linux boot sector by typing: syslinux -s c:
(If you're using a Windows9x (MS-DOS 7) boot disk, you may see a message telling you that Windows disabled write to protect the hard drive.... In this case you have to type lock c: [Enter] before the syslinux command, and unlock c: [Enter] after it.)
9 - Copy the linux file (the kernel you've downloaded) to the HD: copy a:linux c: [Enter]
10 - Insert your working coyote floppy and copy all files except ldlinux.sys (it was just created on the HD by syslinux) and linux (the kernel you just copied). The following commands will get all the files of a standard Coyote installation:
copy a:*.tgz c:[Enter]
copy a:syslinux.* c: [Enter]
copy a:coyote.cfg c: [Enter]
copy a:packages c: [Enter]
11 - Insert your DOS disk again end type edit c:syslinux.cfg [Enter]
12 - Navigate to the end of fourth line. You will find something like boot=/dev/fd0,vfat. Replace that with boot=/dev/hda1,msdos
13 - Save the file and close the editor. Remove the disk from floppy drive and try to boot from HD.
14 - If you did everything right, your Coyote Linux box will boot fine and work.

Things that can go wrong....

- The DOS boot disk can't handle 1680K floppies. If your Coyote disk is a 1680K floppy you may need to copy its files to a 1440K before you can transfer them to the HD. Any Windows machine will do that easily, and since you don't need to copy the file linux, one 1440K floppy will be enough.
- If your HD is not installed as MASTER on the PRIMARY IDE INTERFACE, you must change /dev/hda1 in step 12 as follows:
Primary Master = hda
Primary Slave = hdb
Secondary Master = hdc
Secondary Slave = hdd
- If your partition is not the first partition on the HD then /dev/hda1 may have to be changed to /dev/hda2 or something else.
- Make sure the Master Boot Record of your HD doesn't have a boot loader installed. The command fdisk /mbr [Enter] should remove any of them.
- Make sure your partition was made ACTIVE by fdisk.
- Make sure your partition was formatted with the FAT12 or FAT16 filesystems (not FAT32).
- Make sure your cluster size is 16K or less.
- Make sure your partition size is shorter then 1GB.
- Pray?

Notes about this kernel

I've compiled this kernel on a RedHat 9 machine using Joshua Jackson's Linux-portable Coyote development kit (here).
The kernel can handle FAT12, FAT16 and FAT32, but syslinux doesnt suport FAT32.
The kernel supports only PIO MODE or DMA MODE (33).
The kernel doesn't support Ultra DMA (66/100/133). Believe me: you don't need this.
The kernel doesn't support CD-ROM, but I can do that if someone asks for it...

Credits, Licenses, Sources and Documentation

Coyote Linux - Vortech Consulting - http://www.coyotelinux.com
Syslinux - H. Peter Anvin - http://syslinux.zytor.com/
RedHat Linux - http://www.redhat.com
MS-DOS - Microsoft Corporation - http://www.microsoft.com

If this page helps you to get what you want, let me know, send me an e-mail:
Claudio Roberto Cussuol
routeros
回复

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-11 00:40 , Processed in 0.079987 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

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