Menu

CoLinux permissions

Help
Ken M
2009-10-07
2013-05-09
  • Ken M

    Ken M - 2009-10-07

    Hi,

    I have really enjoyed using colinux!

    I have found that why I try to run colinux as a service, a startup bat, from run, or as a AutoExNT service it will not use network drivers. I have eth0 set as a ndis-bridge. I have tried adding service dependencies and otherwise. ifconfig only shows eth0 when directly clicking a batch file or starting it from a command prompt.

    I would much appreciate it if someone could help me resolve this..

    -Ken

     
  • Henry N.

    Henry N. - 2009-10-07

    If you runs from different Windows Users (Command line and Services are different users), than coLinux have different MAC numbers for network. In conjunction with udev this does mostly rename the eth0 to any higher number, for example eth1 and eth2. See (https://sourceforge.net/tracker/?func=detail&aid=1923750&group_id=98788&atid=622064)

    Please add a MAC-number to coLinux config. For example use your real network-Card MAC number and replace the first "00:…" with "02:…".
    Or use any unique number you have self created and starts with "02:…".
    Or use the number "00:FF:…", that currently runs (from startup bat).
    <code>
    eth0=ndis-bridge,"Your Network Adapter Name",02:xx:xx:xx:xx:xx
    </code>

    Than edit the file __/etc/udev/rules.d/70-persistent-net.rules__ (Fedora 11, Debian have different name) and remove all entries with "(conet)" in the comment.

    Additionally edit the file __*-persistent-net-generator.rules__, in same directory or under /lib/udev/rules.d/75-persistent-net-generator.rules (Fedora 11) and add a bypass for conet with same command as XEN it does.

    With next boot eth0 should have from all your Windows accounts.

    See an example for Ubuntu in Wiki "(http://colinux.wikia.com/wiki/Wubi#udev:_renamed_network_interface_eth0_to_eth2)"

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.