From: Henry N. <Hen...@Ar...> - 2008-01-13 15:29:07
|
Vedang wrote: > I am running colinux (version 0.8.0) with a debian image on linux > kernel 2.6.15 (guest and host). Be carefully with kernel 2.6.15 as guest. This have only backports. Some functions are not full implemented, as they are in kernel 2.6.22 > Can somebody please tell how to start internet on colinux? I passed > boot parameter eth0=slirp > > ifconfig gives network address : 192.168.0.40 for eth0 which is statically set. http://colinux.wikia.com/wiki/Network#Reconfigure_Network_Interface_On_the_Fly With this commands you "Reconfigure Network Interface On the Fly": # ifconfig eth0 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255 # route add default gw 10.0.2.2 # echo "nameserver 10.0.2.3" > /etc/resolv.conf To set the config permanently follow the "Example: Typical Slirp Configuration" in http://colinux.wikia.com/wiki/Network#Debian and write into file /etc/network/interfaces: auto eth0 iface eth0 inet static address 10.0.2.15 network 10.0.2.0 broadcast 10.0.2.255 netmask 255.255.255.0 gateway 10.0.2.2 -- Henry N. |