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
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...
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
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...
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
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