Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My phone is a Nokia-N900, and I find the most useful way to interact with it from my PC is by ssh. Luckily it is possible to switch out the usb-networking module in the devices kernel to make it appear to windows as a generic RNDIS gadget. Plugging it into a windows PC I can now ssh into it, I can open an sftp session, everything works perfectly...

Except I can't access the web. I can't view other network resources. I look in the network connections section in the control panel and see my two connections, but I don't see any way to set which one to use for what. Seeing as I only use usb0 for ssh and eth0 for everything else, it seems I need a way to set it up so that usb0 only gets port 22 or something similar.

Is there any way to achieve this, or another method by which I could leave my phone connected to my Pc while using it for other network tasks?

share|improve this question
    
Are you trying to access the external Internet via the computer or via the phone while you are sshed into it? –  ultrasawblade Apr 11 '11 at 16:16
    
via the computer - the phone has no trouble using its own 3g or wifi connections rather than attempting to use the usb connection. –  theheadofabroom Apr 11 '11 at 16:23

1 Answer 1

up vote 1 down vote accepted

You can have a look at the following article.


Info added by OP:

As explained in the linked article, you can set the interface metric for each network interface, with the lower numbered interfaces taking priority. I found that after setting the usb interface to have a priority of 100 (usually a very slow interface would be set to 50) my device was able to be connected to via ssh over usb, and I am still able to connect to everything else from my computer.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.