📜 ⬆️ ⬇️

Turning a PDA into a USB WLAN adapter

Situation: there is a wi-fi router, a laptop without a built-in wi-fi adapter and a PDA based on windows mobile. Question: Is it possible to use a pocket assistant as a wireless adapter for a laptop? Yes you can!

Step one. On the wi-fi router we set TCP / IP parameters:
IP address: 192.168.0.1
Subnet mask: 255.255.255.0

Step two. On the PDA, we set a static IP for the wireless adapter:
Start> Settings> Connections> Network Cards> Network Adapters> CF8381PN Wireless Card> Use specific IP address
IP address: 192.168.0.2
Subnet mask: 255.255.255.0
Default gateway: 192.168.0.1

Step three. On the PDA, we activate the packet routing function:
Here we need some kind of registry editor (for example, Resco File Explorer).
HKLM \ Comm \ Tcpip \ Parms \ IpEnableRouter = 1
Reboot the device, turn on wi-fi.
')
Step Four. On the laptop:
Cancel USB sync:
ActiveSync> File> Connection Settings ...> Allow USB connections
We connect the PDA to the laptop via USB.
Set the default route to the Remote-NDIS Host Network Adapter in the PDA:
route -p add 0.0.0.0 mask 0.0.0.0 169.254.2.1 metric 1
Set the addresses of DNS servers:
Control Panel> Network Connections> USB Connection (Windows Mobile-based Device)> Properties> Internet Protocol (TCP / IP)> Properties> Use the following DNS server addresses: 192.168.0.1.

Step five. Enjoy!

Source: https://habr.com/ru/post/50071/


All Articles