![u-blox EVK-W16 User Manual Download Page 11](http://html1.mh-extra.com/html/u-blox/evk-w16/evk-w16_user-manual_3074646011.webp)
EVK-W16 - User Guide
UBX-15017061 - R02
Advance Information
Getting started
Page 11 of 38
2.4
Ethernet over USB
Connect the EVK-W16 to the PC using a USB cable (Type-A to Micro-AB) inserted into USB0 port. On Linux, you
should be able to find the USB device on your PC using the following commands:
// On HOST PC
The ELIN-W160 has a DHCP server, which provides an IP address for your PC. If required, you can request a new
IP address from the ELIN-W160 using the following command:
You should now be able to ping your target
If you use Windows, you must change the USB gadget driver to RNDIS and install the RNDIS driver on Windows
for Ethernet-Over-USB to work properly. Currently, there is no driver in Windows OS for USB NCM. For USB
RNDIS, use the linux.inf driver.
1.
Open the Device Manager in Windows to install the driver.
2.
Under Other devices, select the
RNDIS device
, right click and choose Update Driver Software.
3.
In the Update Driver Software window, select
Browse my computer for driver software
.
4.
On the next screen, where it prompts you to browse for driver software on your computer, select
Let
me pick from a list of device drivers
option and click Next.
5.
In the next screen, click Have Disk button and select the
driver you have already downloaded
(linux.inf)
.
6.
Accept any warnings and the device should be installed.
2.5
Working with Wi-Fi
Connecting to a Wi-Fi is easy using wpa_cli. This also allows you to save your configuration after setting up the
network. You can also modify /etc/wpa_supplicant.conf directly if you are familiar with wpa_supplicant. Refer to
http://w1.fi/wpa_supplicant/ for more information regarding wpa_supplicant.
The wpa_supplicant must be started before using wpa_cli.
Steps
Instructions
Ensure that your Wi-Fi interface is
up.
# ifconfig wlan0 up
Start wpa_supplicant command
line interface.
# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
# wpa_cli
wpa_cli v2.0
Copyright (c) 2004-2012, Jouni Malinen <[email protected]> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
$ ping 192.168.7.1
$ dhclient -i usb0
$ ifconfig usb0
usb0 Link encap:Ethernet HWaddr 02:25:f5:19:00:89
inet addr:192.168.7.8 Bcast:192.168.7.255 Mask:255.255.255.0
inet6 addr: fe80::25:f5ff:fe19:89/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:37 errors:0 dropped:0 overruns:0 frame:0
TX packets:111 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6019 (5.8 KiB) TX bytes:428814 (418.7 KiB)