View Single Post
Viqsi's Avatar
Posts: 115 | Thanked: 136 times | Joined on Mar 2008 @ Central Ohio
#262
Originally Posted by Kossuth View Post
I thought about trying this Viqsis method of not using any script. I noticed that sconf made two remarks about the code, and I think I understood the first about apostrophe (the last six lines should end like %k'" (apostrophe and quotation mark)), but where should I add the "ifconfig %k up;" part? Should it read like?

Code:
KERNEL=="bnep5", ACTION=="add", RUN+="/bin/sh -c '/usr/bin/ifconfig %k up; brctl addif pan0 %k'"
That looks about right to me. I didn't have to do it, but he did so YMMV.

I'm actually having to recreate this configuration on a new phone (my old one's internal memory is dying), so if I come across any new foibles I'll mention 'em here.
 

The Following User Says Thank You to Viqsi For This Useful Post: