/etc/pccard_ether && assigning IP and routing
Matthias Apitz
guru at unixarea.de
Thu Jun 18 13:08:18 UTC 2015
El día Thursday, June 18, 2015 a las 10:17:03PM +0930, Shane Ambler escribió:
> usbconfig will list devices, if your phone is at ugen2.5 then -
> usbconfig -u 2 -a 5 dump_device_desc | grep idVendor
>
> Replace your idvendor in the following -
>
> Put the following into /usr/local/etc/devd/myubuntuphone.conf
>
> attach 200 {
> device-name "ue[0-9]+";
> match "vendor" "0x056a";
> action "/path/to/script options";
> };
>
> detach 200 {
> device-name "ue[0-9]+";
> match "vendor" "0x056a";
> action "/path/to/script options";
> };
Thanks. At the end I used now:
notify 1 {
match "system" "IFNET";
match "subsystem" "ue0";
match "type" "ATTACH";
action "/usr/local/etc/devd/bq.sh $subsystem $type";
};
Thanks for your feedback anyway.
matthias
--
Matthias Apitz, guru at unixarea.de, http://www.unixarea.de/ +49-170-4527211 +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)
More information about the freebsd-questions
mailing list