Editing N900 USB networking
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 303: | Line 303: | ||
</pre> | </pre> | ||
- | + | For 11.10, put these lines to /etc/udev/rules.d/99-nokia-n900.rules | |
<pre> | <pre> | ||
- | SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATTRS{manufacturer}=="Nokia", ATTRS{product}=="N900 (PC-Suite Mode)", NAME="usb0", RUN+="/sbin/ifconfig usb0 192.168.2.14 up" | + | SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATTRS{manufacturer}=="Nokia", ATTRS{product}=="N900 (PC-Suite Mode)", NAME="usb0", RUN+="/sbin/ifconfig usb0 192.168.2.14 up" |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</pre> | </pre> | ||
+ | and don't modify <code>/etc/network/interfaces</code> in the way above, because you will make the boot slow with the message "waiting for network configuration". | ||
The Network Manager on Ubuntu 11.10 won't auto detect this <code>usb0</code> interface, you will have to check it via <code>ping</code> or via Network Tools. | The Network Manager on Ubuntu 11.10 won't auto detect this <code>usb0</code> interface, you will have to check it via <code>ping</code> or via Network Tools. | ||
- | + | For Ubuntu 11.04, just plug the USB cable in, with already-configured N900,the Network Manager will auto handle <code>usb0</code> interface. | |
- | + | For 9.10 (NOT 10.04) you have to fix <code>/etc/init/network-interface.conf</code>, change the line: | |
stop on net-device-removed INTERFACE=$INTERFACE | stop on net-device-removed INTERFACE=$INTERFACE | ||
with: | with: | ||
Line 322: | Line 319: | ||
(Note the difference: net-device-remove'''d''') | (Note the difference: net-device-remove'''d''') | ||
- | + | You have to reload udev rules with: | |
udevadm control --reload-rules | udevadm control --reload-rules | ||
Learn more about Contributing to the wiki.