[prev in list] [next in list] [prev in thread] [next in thread] 

List:       colinux-users
Subject:    [coLinux-users] mac changing between service and standalone modes
From:       Mike Frysinger <vapier.adi () gmail ! com>
Date:       2009-11-08 13:56:31
Message-ID: 8bd0f97a0911080556h4de41ef7t1120cfbf8caf2bad () mail ! gmail ! com
[Download RAW message or body]

if i start up coLinux (0.7.5) in stand alone mode (i.e. under my
user), i get one set of randomly generated MACs.  the values seen
match my registry keys:
HKCU\Software\coLinux\monitor\0\eth{0,1}\mac

but when i start up in service mode (i.e. under the system user), i
get a different set of randomly generated MACs.  the values seen match
the default user's registry keys:
HKU\.DEFAULT\Software\coLinux\monitor\0\eth{0,1}\mac

obviously this plays havoc with udev's default behavior of
saving/restoring eth names based on MAC addresses.  my network is
configured by slirp/tuntap:
eth0=slirp
eth1=tuntap

reading the Network wiki page [1] indicates that i could specify the
MAC manually for both modes, but it seems like this randomization
should match by default.  i guess the trouble here would be clashes
between multiple users trying to run their own instance of coLinux --
you wouldnt want them to get the same set of random MACs.  perhaps if
the service install step defaulted to running the coLinux service
under the current user instead of the Local System account ?
-mike

[1] http://colinux.wikia.com/wiki/Network

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
coLinux-users mailing list
coLinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/colinux-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic