Jetson TK1 II: Use of USB wireless card

Source: Internet
Author: User
Tags nameserver

First, the overall is in accordance with the group of documents "TK1 Wireless network Connection" step operation, but also encountered some problems, as follows:

1. sudo apt-get update and sudo apt-get upgrade error: (Problems after the Ubuntu update process is interrupted)

Ubuntu update process is to download the source files before the start of the upgrade, if it is related to copyright or other issues not added to the source files, in the middle of the upgrade installation and then from the third-party server download. Sometimes need to download the file is relatively large, and the speed is not to force, will be here for a long time. In the event that a special case must be turned off, the update will be interrupted. This brings up a bit of a problem.

The first one is that when you use the Update Manager update again, you are prompted:
E: Unable to get lock/var/lib/dpkg/lock-open (11:resource temporarily unavailable)
E: Unable to lock the management directory (/var/lib/dpkg/), is there any other process that is consuming it?

Workaround:
#:sudo Rm/var/cache/apt/archives/lock
#:sudo Rm/var/lib/dpkg/lock

This problem is resolved and it is possible that the software could not be updated or installed when using Apt-get or dpkg. Prompt to use "sudo dpkg--configure-a", but still cannot be resolved. The error message is similar to "dpkg:error:parsing file '/var/lib/dpkg/updates/0073 ' near line 0:", which is a problem in the '/var/lib/dpkg/updates/directory. The solution is to delete all files in the directory.

Another: Workaround:

sudo rm/var/lib/dpkg/updates/* folder inside the file there is a problem, so that the update software error, so remove it completely, the following instructions will be re-established
sudo apt-get update
sudo apt-get upgrade

2. Automatically configure the device and download the kernel source code to the specified directory (when it is estimated to be decompressed), the occurrence of time ahead of the problem, because the current local time is a few years ago, should be modified to the current actual time (from the network), the problem is resolved after modification.

3. The process of adding USB infinite NIC Driver

1). Automatically configure the device and download the kernel source code to the specified directory
$ sudo./1.sh

The kernel configuration interface will appear

Kernel version number Query method: Uname-r

View USB Type: Lsusb:bus 002 Device 005:id 0bda:8176 Realtek Semiconductor Corp. Rtl8188cus 802.11n WLAN Adapter
Select: Realtek Wireless card support ...


2). Compile Kernel driver module
$ sudo./2.sh
3). Install the Wireless Card driver module
$ sudo./3.sh

4. Configuring the/etc/resolv.conf File

NameServer 61.177.7.1

NameServer 221.228.255.1

Jetson TK1 II: Use of USB wireless card

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.