Raspberry Pi 2 + ubuntu rtl8188 wlan0 eth0 Nodevice

Source: Internet
Author: User

Line command:Cat/proc/net/dev See what is eht wlan what may not be eth0 eth1 but eth3432213213

Configuring the/etc/network/interfaces File

sudo nano/etc/network/interfaces

Uto Lo//indicates the use of localhostiface eth0 inet DHCP//indicates that if there is a network card ech0, then use DHCP to obtain an IP address (this network card is the local network card, not the WiFi network card) Auto Wlan0//Indicates if there is a WLAN device, Using the WLAN0 device name Allow-hotplug wlan0//indicates that the WLAN device can be hot-swappable iface wlan0 inet DHCP//indicates that if there is a WLAN Nic Wlan0 (that is, the WiFi network card), the IP address is obtained with DHCP Wpa-ssid "Your WiFi Name"//indicates the connection SSID name WPA-PSK "Your WiFi password"//means to connect WiFi network, use WPA-PSK authentication method, authentication password

sudo/etc/init.d/networkingrestart

sudoThe service networking restart     #跟上面行的作用一样。 ifconfig command can see the WLAN0 device and has an IP address (connected).

Sometimes you need to perform sudo ifdown wlan0 and sudo ifup wlan0 to work, and if not, sudo reboot it.

Raspberry Pi 2 + ubuntu rtl8188 wlan0 eth0 Nodevice

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.