|
|
安装版本:colinux0.7.2
colinux安装时自动安装了一虚拟网卡,但提示“网络电缆没有插好”。
本机使用的是无线网络,colinux如何连接网络?
colinux中用的系统是gentoo,在下面ip地址什么的都设置好了,但一直无连接其它机器(完全ping不通)
[color="Red"]
补充一问:为何每次进入系统后IP总是变为默认的10.0.0.2,如何才能保存我手式分配的IP?
[color="Blue"]/*************************
昏,今天过来一看,这个问题竞然还留着,当时查了手册就解决这个问题了,昏了……惭愧~
/*************************
=====================================
第一问的解决方法:
老实说我也不确定问题怎么解决的,就讲一下我操作的过程,哪位高手总结一下……
首先是安装colinux0.7.2,在安装时勾选了下Root FileSystem Image Download,安装过程中也有下载文件的进度显示,安装成功后竟然找不到Image文件:yun:。
重复安装多次后仍旧找不到Image文件,最后只有上网直接手工下了“Gentoo-colinux-i686-2007-03-03.7z”文件,解压此文件后修改了其中gentoo.bat文件(所有修改过的文件附在最后),成功启动系统。
网络配置时一直不成功
后按照“晨想”提供的笔记修改了gentoo.conf 和 example.conf 两个文件,启动系统后设IP,依旧无法 ping 通局域网中的其它机器。多次重复操作后无果,一直到下班…… 无奈关机回家
今天早上开机后直接开启colinux,设IP,ping了一下外网,竟然通了……:yun:
莫非关键之处就在于重启?不解……
======================================================================================================================
gentoo.conf 内容(example.conf与之相同,个人认为可以不改但没试过不修改能不能成功配置网络):
- #
- # This is an example for a configuration file that can
- # be passed to colinux-daemon in this manner:
- #
- # colinux-daemon @example.conf
- #
- # Note that you can still prepend or append configuration and
- # boot parameters before and after '@', or you can use more
- # that one '@ to load several settings one after another.
- #
- # colinux-daemon @example.conf @overrider.conf mem=32
- #
- # The default kernel
- kernel=vmlinux
- # File contains the root file system.
- # Download and extract preconfigured file from SF "Images for 2.6".
- cobd0=d:\colinux\gentoo\gentoo-root
- # Swap device, should be an empty file with 128..512MB.
- # Inside coLinux run "mkswap /dev/cobd1 ; swapon cobd1"
- cobd1=d:\colinux\gentoo\linux-swap
- # Tell kernel the name of root device (mostly /dev/cobd0)
- # This parameter will be forward to Linux kernel.
- root=/dev/cobd0
- # Initrd installs modules into the root file system.
- # Need only on first boot.
- initrd=initrd.gz
- # Maximal memory for linux guest
- mem=256
- # Slirp for internet connection (outgoing) on second linux adapter.
- # Inside running coLinux configure eth0 with this static settings:
- # ipaddress 10.0.2.15 broadcast 10.0.2.255 netmask 255.255.255.0
- # gateway 10.0.2.2 nameserver 10.0.2.3
- eth0=pcap-bridge,"gentoo",02:0A:79:08:20:FD
- # Networking (tuntap as private network between gust and host)
- eth1=tuntap
- # Setup for serial device
- #ttys0=COM1,"BAUD=115200 PARITY=n DATA=8 STOP=1 dtr=on rts=on"
- # Run an application on colinux start (Sample Xming, a Xserver)
- #exec0=C:\Programs\Xming\Xming.exe,":0 -clipboard -multiwindow -ac"
复制代码
其中eth0的物理地址可在windows下的cmd 中通过 ipconfig /all 查看 |
|