On 13.08.2011 19:26, 余松 wrote:


I make a new colinux file system of debian 6.0.2 using debootstrap.

When I start the colinux from command line, the network is ok, the ping is ok.

But when I run the colinux as service, the network does not ping ok. Why?

 


Running from command prompt and as service are different Users under Windows. The MAC is stored in Users registry.
The "automatic" MAC is differ between these boots and udev will rename your interface eth0 into an other, mostly eth1 or eth2.

Please write a unique MAC into your config file.

Or follow the description in the Wiki to not rename the eth0 on different boots:
http://colinux.wikia.com/wiki/Wubi#udev:_renamed_network_interface_eth0_to_eth2
http://colinux.wikia.com/wiki/Fedora11Minimal#udev:_renamed_network_interface_eth0_to_eth1
-- 
Henry N.