killall dbus-scripts
| The Following User Says Thank You to jschan For This Useful Post: | ||
| The Following User Says Thank You to jschan For This Useful Post: | ||
DisablePlugins = network,input,hal
DisablePlugins = hal
| The Following 4 Users Say Thank You to jackburton For This Useful Post: | ||
DisablePlugins = network,input,hal
DisablePlugins = hal
auto pan0
iface pan0 inet static
address 192.168.2.1
netmask 255.255.255.0
pre-up sh -c "/usr/sbin/iptables -t nat -F ; /usr/sbin/iptables -t nat -A POSTROUTING -s 192.168.2.0/24 ! -d 192.168.2.0/24 -j MASQUERADE ; echo 1 >/proc/sys/net/ipv4/ip_forward"
up sh -c "/sbin/start-stop-daemon -S -p /var/run/btpan.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.2.1 -F 192.168.2.100,192.168.2.105 -b"
down sh -c "/sbin/start-stop-daemon -K -p /var/run/btpan.pid"
KERNEL=="pan0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifup -f %k'" KERNEL=="pan0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifdown -f %k'" KERNEL=="bnep0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep1", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep1", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep2", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep2", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep3", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep3", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep4", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep4", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep5", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep5", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'"
bridge name bridge id STP enabled interfaces pan0 8000.000000000000 no
)
| The Following 9 Users Say Thank You to Viqsi For This Useful Post: | ||
| The Following User Says Thank You to ale152 For This Useful Post: | ||