It is normal that the IP changes during the installation process. On many boards random MAC addresses are assigned after each reboot. And during the installation phase the MAC will be configured first time by SOA.
As far as I understand routers usually try to assign the same IP to the same MAC, if the client DHCP process asks for an IP. If the MAC for a client changes all the time, you'll usually get a different IP. If you reserve an IP for a certain device on your router, it'll only work if the MAC stays the same all the time. The router obviously gets pretty confused by running into a MAC chaos. Each board/fimware/OS/image handles the process of fixing a MAC different, if the MAC is not hardcoded on your ethernet card. Another problem is, if you run different images on your board, you'll also get different MACs all the time. This generates more chaos. You'd basically have to allign the MACs manually between your OSes. Oherwise you'd have to change all your bookmarks, snippets ( I use shutdown,reboot,login snippets/makros/thumbnails for all my squeeze clients under Android) My Debian installation assigns a random MAC when running the firstboot script. E.g. Code: -------------------- NEWMAC=00:01:43:`openssl rand -hex 3 | sed 's/\(..\)/\1:/g; s/.$//'` sed -e 's/ether/ether '$NEWMAC'/g' -i /etc/network/interfaces -------------------- SOA configures a fake (non-random) MAC "00:11:22:33:44:55" located in /etc/modprobe.d/gmac.conf That's not good. All SOA devices will have the same address. >From a handling and security perspective this is IMO all but OK. Triode: Could you please generate a "random" MAC when running soa-firstboot.sh: You could also offer a field for manually entering/import a MAC. This way I (we) can easily copy e.g. a Debian MAC into SOA. This could obviously also be done manually later on. Solution for SOA e.g: /root/soa-firstboot.sh Code: -------------------- NEWMAC=00:01:44:`openssl rand -hex 3 | sed 's/\(..\)/\1:/g; s/.$//'` sed -i "s/mac_str=\".*\"/mac_str=\"$NEWMAC\"/g" /etc/modprobe.d/gmac.conf -------------------- Cheers ::: ' Touch Toolbox and more' (http://soundcheck-audio.blogspot.com) ::: by soundcheck ------------------------------------------------------------------------ soundcheck's Profile: http://forums.slimdevices.com/member.php?userid=34383 View this thread: http://forums.slimdevices.com/showthread.php?t=101624 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix