Jetson/Network Adapters

From eLinux.org
< Jetson
Revision as of 15:29, 19 August 2014 by Barrett.williams (talk | contribs) (re-add 802.11n)
Jump to: navigation, search

Ethernet

Jetson TK1 comes with a 1Gbps Ethernet adapter (RTL8111GS Realtek 10/100/1000Base-T "Gigabit Ethernet" LAN port) that works right out-of-the-box for local networking. It listens for an IP address from a DHCP server, thus you can plug it directly into your router and it should start working and use internet through your router.

It is also possible to install extra Ethernet ports either as a mini-PCIe card (eg: Dual Gigabit LAN (untested) or as a USB Ethernet dongle.

Wifi / Wireless 802.11

Wifi can be added to Jetson TK1 either as a mini-PCIe card (eg: 802.11ac 5GHz Gigabit Wifi + Bluetooth BLE combo (untested), or 802.11n Wifi + Bluetooth combo (untested)) or as a USB Wifi dongle. Some Wifi adapters have worked fine while others haven't. See the Troubleshooting section if your Wifi card is not being detected.

Vendor Chip Tested Working Driver VenID DevID Dual-Band Dual Side Antennas 802.11n 802.11ac BT Version BT Driver Notes
QCAtheros AR9462 Yes ath9k 168c 0034 Yes No 2 Yes No 4 bluez AzureWave 2110/AR5B22
QCAtheros AR9462 Yes ath9k 168c 0034 Yes No 2 Yes No 4 bluez Killer Wireless N-1202/AR5B22
Intel WL 7260HMW Yes iwlwifi 8086 08b1 Yes No 2 Yes Yes 4 NA Requires modprobe -r then modprobe at boot
QCAtheros AR9380 Yes ath9k 168c 3110 Yes Yes 3 Yes No ? NA WPEA-128N; AR5BHB112
QCAtheros AR9382 Yes ath9k 168c 0030 Yes Yes 2 of 3 populated Yes No ? NA WPEA-121N/W; AR5BHB116
Broadcom BCM4352 No wl 14e4 43b1 Yes No 2 Yes Yes 4 bluez No binary blob available (to my knowledge)
QCAtheros AR928X Yes ath9k 168C 002a Yes Yes 2 Yes No No NA AW-NE773/AR5BHB92; broke a U.fl antenna so only one connected
Realtek RTL8188EU No none 0bda 8179 No NA 1 Yes No No NA USB; Raspberry Pi forums are helpful on Wi-Fi
Realtek RTL8187 Yes rtl8187 0bda 8187 No NA Disass Yes No No NA USB

Wifi adapters known to be working for Jetson TK1

  • rtl8192cu chipset based adapters. eg: Edimax EW-7811Un 150Mbps Wireless 802.11n USB nano adapter (tested successfully) for $10. Download & unzip Media:rtl8192cufw.bin.zip then copy this firmware driver into a "/lib/firmware/rtlwifi" folder using root permissions. You can set the Wifi WPA parameters through command-line by editing "/etc/wpa_supplicant.conf" with root permissions, or through your Desktop Environment's NetworkManager GUI.

Wifi adapters known not to be working for Jetson TK1

(Probably just requires the correct firmware or kernel module installed)

2G / 3G / 4G Cellular modem

A "broadband wireless modem" can be added to Jetson TK1, either as a mini-PCIe card (eg: 3G Modem + GPS combo (untested)) or as a USB Broadband Wireless dongle.

Tuning performance

Dropped Packets

To increase TCP/UDP networking performance, increase the socket buffer sizes (in this case to 32MB, performed at boot):

 sudo sysctl -w net.core.rmem_max=33554432
 sudo sysctl -w net.core.wmem_max=33554432
 sudo sysctl -w net.core.rmem_default=33554432
 sudo sysctl -w net.core.wmem_default=33554432

Jumbo Frames

Many networking applications are more efficient if they take advantage of packets with large MTU (>1500 bytes). Jumbo frames are supported on the Jetson's onboard Realtek RTL8111GS NIC.

 sudo ifconfig eth0 mtu 9000

Troubleshooting

Network adapter isn't being detected

If your network adapter is not detected, even when you search through the "dmesg" log, try installing the linux-firmware package then rebooting:

sudo apt-get install linux-firmware
sudo reboot

Also try searching the web for the Linux source code of the driver for your card. For example, many Intel-based Wifi cards can follow the iwlwifi page to install appropriate firmware binaries into "/lib/firmware". Some network adapters will require you to build a custom L4T kernel and flash it to your board (typically wiping your whole system in the process). NVIDIA is still preparing documentation on how best to perform this.

List of desired Wifi chipset drivers

NVIDIA is collecting a list of the most common Wifi drivers to ensure they will soon be easily available for Jetson TK1. Here is the current list of drivers intended to support:

  • Atheros ath9k
  • Broadcom b43 (bcm4312, bcm4321, bcm43142)
  • Intel iwlwifi (7260, 6205, 6230, 6235)
  • Intel iwlwifi (2230 for mini-PCIe)
  • Ralink rt2800usb
  • Ralink rt3090
  • Realtek rtl8187
  • Realtek rtl8188 (rtl8188cus for USB at http://www.adafruit.com/products/1030)
  • Realtek rtl8192 (rtl8192cu for USB and rtl8192ce for mini-PCIe)
  • Realtek r8712u

(In addition to mac80211).

Add your driver to the list if it is not shown.