SHARE
TWEET

02-htcnet.rules

invik Apr 15th, 2012 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 02-htcnet.rules - by invik
  2. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ATTR{address}=="xx:xx:xx:xx:xx:xx", ACTION=="add", RUN+="/usr/bin/fakehtcnat.py"
  3. KERNEL=="usb[0-9]*", SUBSYSTEM=="net", ACTION=="remove", RUN+="/usr/sbin/dhclient -x $kernel"
  4.  
  5. # Remember to change the "xx:xx:xx:xx:xx:xx" address to the MAC addres of your phone!
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top