Difference between pages "Package talk:Iproute2" and "Template:DisplayBuilds"

(Difference between pages)
m
 
 
Line 1: Line 1:
=== mac address reassignment ===
+
<includeonly>
{{console|body=###i## ip link set dev wlan0 down
+
{{#get_web_data:url=http://build.funtoo.org/index.xml|format=xml|use xpath|data=build=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@build,variant=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@variant,latest=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@latest,path=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@path,download=/subarches/subarch[@name='{{#var:subarch}}']/build[@id='{{{1}}}']/@download}}{{#vardefine:latest|{{#external_value:latest}}}}{{#ifeq:{{#var:latest}}|None||
###i## ip link set dev wlan0 address XX:XX:XX:XX:XX:XX
+
<tr>
###i## ip link set dev wlan0 up}}
+
<td>{{#external_value:build}}</td>
 
+
<td>{{#vardefine:v|{{#replace:{{#external_value:variant}}|,|+}}|}}{{#if:{{#var:v}}|{{#var:v}}|<span style="color: #888;">standard</span>}}</td>
{{note|confirmed working with actually dropping the network manager connections before hand...  so note to completely disconnect from the router before running the commands.}}
+
<td>{{#var:latest}}</td>
 
+
<td>
{{note|original mac address will return to the device upon network restart, alternate wifi ap selection, and possibly upon disconnect.}}
+
* from '''[http://ftp.osuosl.org/pub/funtoo{{#external_value:download}} osuosl.org]'''
 
+
* from '''[http://build.funtoo.org{{#external_value:download}} funtoo.org]'''</td>
https://github.com/alobbs/macchanger/blob/master/data/wireless.list imitate known wireless brands. (some cards/routers don't like some arbitrary mac addresses)
+
<td>
 +
* [http://ftp.osuosl.org/pub/funtoo{{#external_value:path}} osuosl.org]
 +
* [http://build.funtoo.org{{#external_value:path}} funtoo.org]</td>
 +
</tr>}}
 +
</includeonly>

Revision as of 18:34, January 16, 2015