Raspberry Pi carries Realtek RTL8188 launch hotspot WiFi (compile driver)

Source: Internet
Author: User

</pre> recently want to do something, need to open hot spots in the outdoor, Raspberry Pi is a good choice <p></p><p> driver is not familiar with, referring to several articles online, but always stuck in the last step, failed! </p><p> helpless, can only go to the official website of the community to seek help, finally solved, with the bridge <span style= "border:0px; padding:0px; margin:0px; Font-family:helvetica, Sans-serif; font-size:13px; Font-stretch:inherit; line-height:24px; Vertical-align:baseline; Color:rgb (69, 69, 69); " >bridge-utils assigned IP, with DHCP can refer to other articles, all the same away from </span></p><p><span style= "border:0px; padding:0px; margin:0px; Font-family:helvetica, Sans-serif; font-size:13px; Font-stretch:inherit; line-height:24px; Vertical-align:baseline; Color:rgb (69, 69, 69); " > due to the specificity of the Raspberry Pi, this configuration tutorial will be configured to boot from boot. </span></p><p><span style= "border:0px; padding:0px; margin:0px; Font-family:helvetica, Sans-serif; font-size:13px; Font-stretch:inherit; line-height:24px; Vertical-align:baseline; Color:rgb (69, 69, 69); " > Installation: </span></p><p><span style= "border:0px; padding:0px; margin:0px; Font-family:helvetica, Sans-serif; font-size:13px; Font-stretch:inherit; line-height:24px; Vertical-align:baseline; Color:rgb (69, 69, 69); " ></span></p><pre name= "code" class= "plain" >sudo apt-get install Bridge-utils
Download driver:

wget http://andypi.co.uk/downloads/v1.1.tar.gz
CD in to compile:

sudo makesudo make install
Default configuration file (This step is pretty critical)

sudo vim/etc/default/hostapd
Put it up daemon_conf= "/etc/hostapd/hostapd.conf"
Configure WiFi information:

sudo nano/etc/hostapd/hostapd.conf

Just compile the time will rewrite this file, SSID and password must be changed, or can not start

<span style= "font-family:arial, Helvetica, Sans-serif;" ><span style= "Background-color:rgb (255, 255, 255); > Modify Interfaces Information: <span style= "border:0px; padding:0px; margin:0px; Font-family:helvetica, Sans-serif; font-size:13px; Font-stretch:inherit; line-height:24px; Vertical-align:baseline; Color:rgb (69, 69, 69); " >sudo nano/etc/network/interfaces</span></span></span>

Add the following (seemingly only add the first two sentences on the line)
Auto br0iface lo inet loopbackiface br0 inet dhcpbridge_fd 1bridge_hello 3bridge_maxage 10bridge_stp offbridge_ports eth0 Wlan0
If there are other settings IP in the configuration file, it is best to comment

To set up boot from:

sudo update-rc.d HOSTAPD defaults

Then restart, if there is no error, you should be able to search for their own configured WiFi

Last step some seniors don't re-enable such statements

sudo hostapd-b/etc/hostapd/hostapd.conf

It always fails.

That's how I used it.

sudo ifup wlan0

sudo ifdown wlan0 (these two commands can be reversed, I also forgot ...)

sudo service HOSTAPD restart

We can try.

Raspberry Pi carries Realtek RTL8188 launch hotspot WiFi (compile driver)

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.