Neo 1973 and Windows

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(USB Ethernet emulation)
(USB Ethernet emulation: routing/ip forwarding in windows)
Line 18: Line 18:
 
# Go into the Windows network configuration for the new USB networking adapter and set the IP address of the interface to 192.168.0.200.
 
# Go into the Windows network configuration for the new USB networking adapter and set the IP address of the interface to 192.168.0.200.
  
You should now be able to connect to your Neo1973 on 192.168.0.202.
+
You should now be able to connect to your Neo1973 on 192.168.0.202 via ssh (e.g. putty)
  
Further references:
+
 
 +
=== Setting up routing ===
 +
 
 +
If you want to connect to the internet from your Neo via Windows XP, e.g. for doing ipkg update/upgrade, you need to set up IP forwarding and routing properly.
 +
 
 +
In the Windows registry, go to:
 +
Hkey_Local_Machine\System\CurrentControlSet\Services\Tcpip\Parameters
 +
and set
 +
REG_DWORD: "IPEnableRouter" to "1"
 +
Be aware that IP Forwarding can be a security risk.
 +
 
 +
If there is a router between your Windows XP system and the internet, you also need to tell the router how to get back to your Neo, so you need to set a route on it for 192.168.0.0/255.255.255.0 to your Windows XP LAN interface IP address. Windows will then forward the packets to the Neo.
 +
 
 +
 
 +
=== Further references ===
 
* http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx
 
* http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx
 
* http://maemo.org/maemowiki/USBnetworkingWinXP
 
* http://maemo.org/maemowiki/USBnetworkingWinXP

Revision as of 14:03, 10 September 2007

This page tries to collect some information on how to use your Neo1973 together with a computer running a Microsoft(R) Windows(TM) series operating system.

Please note that this is not really supported, and that the OpenMoko developers themselves only use Linux for testing.

Contents

Connecting to the phone

Bluetooth connection

How to connect to Windows XP via Bluetooth is described here: Manually_using_Bluetooth#Bluetooth_networking_with_a_Windows_XP_system

USB Ethernet emulation

NOTE: As of Kernel 2.6.22.5-moko11, USB RNDIS networking finally works in Windows XP using the procedure described below.


  1. Download http://privat.wmo.de/~c_schweers/NeoRndis.inf to somewhere convenient on your Windows machine.
  2. Connect the Neo1973 USB port to the Windows machine, using a standard USB-A to USB-mini-B cable.
  3. Assuming the new drivers have been installed as above, Windows should detect the Neo1973 and prompt you for a driver for the USB device. Select to specify your own driver, and then choose the NeoRndis.inf file you downloaded earlier. This file tells Windows XP to use its own built-in RNDIS driver for the device.
  4. Windows may complain of "reduced network connectivity". This is because it expects to be able to get an address automatically from the Neo1973 and it doesn't provide one in the default setup. To fix this, see the next step.
  5. Go into the Windows network configuration for the new USB networking adapter and set the IP address of the interface to 192.168.0.200.

You should now be able to connect to your Neo1973 on 192.168.0.202 via ssh (e.g. putty)


Setting up routing

If you want to connect to the internet from your Neo via Windows XP, e.g. for doing ipkg update/upgrade, you need to set up IP forwarding and routing properly.

In the Windows registry, go to:

Hkey_Local_Machine\System\CurrentControlSet\Services\Tcpip\Parameters

and set

REG_DWORD: "IPEnableRouter" to "1"

Be aware that IP Forwarding can be a security risk.

If there is a router between your Windows XP system and the internet, you also need to tell the router how to get back to your Neo, so you need to set a route on it for 192.168.0.0/255.255.255.0 to your Windows XP LAN interface IP address. Windows will then forward the packets to the Neo.


Further references

Personal tools

This page tries to collect some information on how to use your Neo1973 together with a computer running a Microsoft(R) Windows(TM) series operating system.

Please note that this is not really supported, and that the OpenMoko developers themselves only use Linux for testing.

Connecting to the phone

Bluetooth connection

How to connect to Windows XP via Bluetooth is described here: Manually_using_Bluetooth#Bluetooth_networking_with_a_Windows_XP_system

USB Ethernet emulation

NOTE: As of Kernel 2.6.22.5-moko11, USB RNDIS networking finally works in Windows XP using the procedure described below.


  1. Download http://privat.wmo.de/~c_schweers/NeoRndis.inf to somewhere convenient on your Windows machine.
  2. Connect the Neo1973 USB port to the Windows machine, using a standard USB-A to USB-mini-B cable.
  3. Assuming the new drivers have been installed as above, Windows should detect the Neo1973 and prompt you for a driver for the USB device. Select to specify your own driver, and then choose the NeoRndis.inf file you downloaded earlier. This file tells Windows XP to use its own built-in RNDIS driver for the device.
  4. Windows may complain of "reduced network connectivity". This is because it expects to be able to get an address automatically from the Neo1973 and it doesn't provide one in the default setup. To fix this, see the next step.
  5. Go into the Windows network configuration for the new USB networking adapter and set the IP address of the interface to 192.168.0.200.

You should now be able to connect to your Neo1973 on 192.168.0.202 via ssh (e.g. putty)


Setting up routing

If you want to connect to the internet from your Neo via Windows XP, e.g. for doing ipkg update/upgrade, you need to set up IP forwarding and routing properly.

In the Windows registry, go to:

Hkey_Local_Machine\System\CurrentControlSet\Services\Tcpip\Parameters

and set

REG_DWORD: "IPEnableRouter" to "1"

Be aware that IP Forwarding can be a security risk.

If there is a router between your Windows XP system and the internet, you also need to tell the router how to get back to your Neo, so you need to set a route on it for 192.168.0.0/255.255.255.0 to your Windows XP LAN interface IP address. Windows will then forward the packets to the Neo.


Further references