« | August 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | | | | | | |
| 公告 |
不知不觉6年了
|
Blog信息 |
blog名称:〾堯仸〾的天空 日志总数:139 评论数量:503 留言数量:16 访问次数:2714372 建立时间:2005年4月23日 |

| |
coLinux 安装 ,Debian 的网络设置2007-02-19 13:22 pcap-bridge: 网桥设置终于成功,参考 http://www.chaoyi.info/2min.html(上面有视频,呵呵) 原创空间, 文章收藏
〾堯仸〾 发表于 2007/2/24 0:05:19 |
转载自: http://hi.baidu.com/yach/blog/item/1c30ac4b821ea5f082025ce5.html
coLinux 安装 ,Debian 的网络设置
2007-02-19 13:22
pcap-bridge: 网桥设置终于成功,参考 http://www.chaoyi.info/2min.html(上面有视频,呵呵)
500)this.width=500'>
Debian 的网络设置
如果设成静态IP auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
如果设成DHCPauto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
2. 修改 /etc/resolv.conf search sample.com
nameserver 211.129.14.138
nameserver 211.129.12.47
3. 设置apt源, 修改 /etc/apt/sources.list 例:# Debian \"Sarge\" (> 3.0)
#
deb http://ftp.us.debian.org/debian sarge main contrib non-free
deb-src http://ftp.us.debian.org/debian sarge main contrib non-free
# Debian \"unstable\" (\"Sid\" will always be unstable.)
#
#deb http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-src http://ftp.us.debian.org/debian unstable main contrib non-free
# Debian \"Sid\" (> 3.0)
#
#deb http://ftp.us.debian.org/debian sid main contrib non-free
#deb-src http://ftp.us.debian.org/debian sid main contrib non-free
//设置文件
initrd=initrd.gzkernel=vmlinuxroot=/dev/cobd0mem=256cobd0=G:\coLinux\root_fscodb1=G:\coLinux\swap_deviceeth0=pcap-bridge,"3",00:00:00:00:00:11
;***************************************
ps:0.7.1 取消了xml的设置,通过@xxx来
initrd=initrd.gzkernel=vmlinuxroot=/dev/cobd0mem=128cobd0=G:\coLinux\root_fscobd1=G:\coLinux\swap_deviceeth0=tuntap,"Tap";**********************
主要是xml的设置了(0.6.4)
root=/dev/cobd2 devfs=mount,dall 写个批,保存成start.bat(我觉得不不加-t nt 好)
"colinux-daemon.exe" -c Preinstall_debian.xml
差不多了,我还没装完(等下补充下,尴尬)
参考 台湾人的教程 http://studftp.stut.edu.tw/~m9335203/colinux/colinux.html -->
500)this.width=500'> |
|
|