Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Establishing RNDIS over USB

3 views
Skip to first unread message

troy anderson

unread,
Mar 7, 2006, 6:14:58 PM3/7/06
to
I am trying to figure out what are the necessary registry settings, platform
builder 5.0 settings, autostart exes on the device, and client side .inf and
driver files I need to be able to perform PPP over USB.

I have a PXA270 processor that I added RNDIS support to. I am trying to
setup the OS such that when the device is plugged via USB to a PC it shows
up as a network device. I would like to be able to verify communications
via WinSock over this connection. Does anyone know what I need to do to set
this all up.

Currently, I have added a RAS entry on the device side to try to establish a
connection. If I have ActiveSync running the device gets and IP address
assigned but the PC side has ActiveSync connecting forever and I never see
an IP address. Plus I would like to not use ActiveSync.

Thanks


Voidcoder

unread,
Mar 8, 2006, 3:32:19 AM3/8/06
to
1. Download the latest RNDIS driver.

http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx

2. Extract and place x86fre\*.sys and rndis*.inf files to the
same directory.

2. Add USB Function, USB Function RNDIS Client and
networking support components to your OS design.

3. Add the following entries to Platform.reg or Project.reg

[HKEY_LOCAL_MACHINE\Comm\RndisMini]
"DisplayName"="Microsoft RNDIS Miniport Driver"
[HKEY_LOCAL_MACHINE\Comm\RndisMini\Linkage]
"Route"=multi_sz:"RNDISMINI1"
[HKEY_LOCAL_MACHINE\Comm\RNDISMINI1]
"DisplayName"="Microsoft RNDIS Miniport Driver"
[HKEY_LOCAL_MACHINE\Comm\RNDISMINI1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"Interrupt"=dword:0
"IOAddress"=dword:0
[HKEY_LOCAL_MACHINE\Comm\RNDISMINI1\Parms\TcpIp]
"EnableDHCP"=dword:0
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="0.0.0.0" << Setup IP address and subnet mask
"Subnetmask"="0.0.0.0"

4. Resysgen the OS design and boot the device.

5. Plug the cable to PC.

6. Point the "New Device Wizard" to the folder containing
rndis drivers and inf.

7. When the driver installed, goto network connections
applet and select both your main network connection
and the new RNDIS connection. Next open the context
menu and choose "Bridge connections".

8. At this point should be able to use any networking features
to communicate to/from device as you normally do with
other connection (eg. standard ethernet connection), as well
as should be able to use standard Windows Socket API
on both sides to communicate between the applications.

"troy anderson" <tand...@hotmail.com> wrote in message news:u3rL2zjQ...@TK2MSFTNGP12.phx.gbl...

Manish

unread,
Mar 8, 2006, 8:29:31 PM3/8/06
to
Soory ! VoidCoder I entered in between,becasue my question is related

I would like to use RAS service(Serial or USB) in my device .
1. Do i need to implement NDIS ..?
2. How to use RAS service when communication media is USB or ethernet.

I hope you will answer my questions

Regards
Manish

Voidcoder

unread,
Mar 9, 2006, 3:34:55 AM3/9/06
to
1. RAS relays on PPP protocol, which stays on top
of NDIS layer. So yes, you need NDIS copmponents
in your OS design. But you don't need to implement
NDIS yourself though.

2. Why do you need RAS to communicate over ethernet
(or USB RNDIS)? Are you using RAS when connecting two
PCs over ethernet in your office? Just plug the cable, configure
properly your network settings and you are connected.

RAS is mainly used for the direct serial (or modem)
connections, so you need RAS when using serial
port (or USB Serial).


"Manish" <Man...@discussions.microsoft.com> wrote in message news:48470C10-3B25-4660...@microsoft.com...

Manish

unread,
Mar 9, 2006, 8:31:17 AM3/9/06
to
I will always appreciate you ,for answering my questions.

I am happy to note that i need not to implement my own NDIS component.I have
few more points to say...

Please clear these points .

1. Which standard component i should include in OS image so that NDIS
component and RAS and Networking feature will get included in my OS image.

2. Yes! we are supposed to use a CDMA modem for RAS connectivity.The
connectivity between our device and the MODEM is ethernet cable. That is why
we are planng to use CS8900 ethernet controllet in my device to connect to
MODEM .

3. Once RAS is connected ,will we able to do anything at application level
related to internet.

Waiting for your reply..pls do

Voidcoder

unread,
Mar 10, 2006, 4:09:31 AM3/10/06
to

1. You don't really need to add NDIS separatelly as normally
it will be included automatically. Almost all networking features
direct or indirect depend on it.

Normally you will need:

- RAS/PPP
- RAS/PPP/Autodial
- TAPI
- TAPI -> Unimodem
- Windows Internet Services

2. I'm not sure what is behind the "connectivity between our device
and the MODEM is ethernet cable". Is the speak about the
PPP over Ethernet? In that case you neen also
"Point-to-Point Protocol over Ethernet (PPPoE)"
feature in your OS design.

"Manish" <Man...@discussions.microsoft.com> wrote in message news:5D690098-0094-4CC0...@microsoft.com...

Manish

unread,
Mar 10, 2006, 4:19:27 AM3/10/06
to
Thank you ..I hope with ur advise i will make it .

Manish

0 new messages