https://ecloud.org/index.php?title=Configure_USB_%22network%22_devices_when_plugged_in&feed=atom&action=historyConfigure USB "network" devices when plugged in - Revision history2024-03-28T14:02:07ZRevision history for this page on the wikiMediaWiki 1.26.3https://ecloud.org/index.php?title=Configure_USB_%22network%22_devices_when_plugged_in&diff=2654&oldid=prevEcloud: Created page with 'For example for a Nokia N900, create <code>/etc/udev/rules.d/99-nokia-n900.rules</code>: SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATT…'2011-06-29T14:22:12Z<p>Created page with 'For example for a Nokia N900, create <code>/etc/udev/rules.d/99-nokia-n900.rules</code>: SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATT…'</p>
<p><b>New page</b></p><div>For example for a Nokia N900, create <code>/etc/udev/rules.d/99-nokia-n900.rules</code>:<br />
<br />
SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATTRS{manufacturer}=="Nokia", ATTRS{product}=="N900 (PC-Suite Mode)", NAME="n900", RUN+="/sbin/ifconfig n900 192.168.2.14"<br />
<br />
This is much less complex than solutions involving ifplugd/netcfg, results in a unique and recognizable network name, and may even work if you plug in multiple USB devices. (Hopefully those which use static IPs all use unique ones though.)</div>Ecloud