FANDOM


back to http://scratchpad.wikia.com/wiki/Sasecurity

> is this correct if i swap out a cf card that was dd from another working > wrap board that is nolonger used but is still registered to wiana??

as you can see on the script below, hardwarekey depends on

1. - the mac addr of the 1st interface (eth0 by default)
2. - some infos on your CPU (won't change from one board to an other)
3. - some infos on your HD (WILL change from one CF to another)

So, if "you swap out a cf card that was dd from another working wrap board that is nolonger used but is still registered to wiana", it seems likely that : your mac address will change -> your HWkey will change -> your WianaIP will change.

{{{

#!/bin/sh
PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"
if [ -f /tmp/work/ultrakey.cache ]
then
cat /tmp/work/ultrakey.cache
else
a=`ifconfig | grep HWaddr | grep -v '^br' | head -1`
a="$a
#`ide_info /dev/hda`
`head /proc/cpuinfo | grep -v MHz`"
m=`echo "$a" | md5sum | tr -dc '0-9a-f'`
echo -n "$m"
echo -n "$m" >/tmp/work/ultrakey.cache
fi

}}} That's ok (IDE information won't be taken into account anymore to process hwkey)

> is there a proper procedure for reflashing cf on a wrap board so that you > dont have to register it in wiana and get a whole new ip etc. i just had > one go nuts because it got too hot and all my spares are loaned out to > another wisp.

your wiana ip won't change if you don't change the CF. if you change the CF, just comment out the ide_info part in /hj/ultrakey and the key won't change. if you keep on using wrap, you should better install your own remote iso repository and do some sort of getandverify to upgrade the boxes (i do that).

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.