<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jim</id>
		<title>Radxa Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jim"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/Jim"/>
		<updated>2026-06-17T08:29:09Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/Rock</id>
		<title>Rock</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock"/>
				<updated>2015-06-27T06:33:25Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Rock_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rock}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-8 mwbs-color-darker&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;thumbnail &amp;quot;&amp;gt;http://wiki.radxa.com/mw/images/3/36/Rock.jpg&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3&amp;gt;Radxa Rock(Pro/Lite)&amp;lt;/h3&amp;gt;&lt;br /&gt;
        &amp;lt;p class=&amp;quot;text-justify&amp;quot;&amp;gt;Radxa Rock is a RK3188 based SBC(Single Board Computer) by [[Special:SpecialContact| Radxa]]. It has a quad core ARM processor, can run android or some Linux distributions. It also features 80 pin 2.54mm headers, which makes it easy to connect other sensors or use the GPIO.&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-9&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;panel panel-hearts-white&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt; &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hand-o-up&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Getting started&amp;lt;/h3&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
The Radxa Rock is shipped with Android 4.2.2 (Jelly Bean) and Ubuntu/Linaro 13.09 dual boot on the NAND flash (on-board storage) and it works out of the box(Rock Pro is shipped with Android 4.4.2(Kitkat) on NAND flash). Let's read '''[[rock/Getting Started|Radxa Rock Getting Started Guide]]''' and hook everything up and start playing with the board.&lt;br /&gt;
&lt;br /&gt;
Once you get started, you can [[Rock/flash_the_image|flash]] latest [[Rock/prebuilt_images|Android image and several Linux images]], or you can try to [[Rock/SD_images|boot Android/Linux from SD card]]. You can also [[Rock/Android_Build|build your own Android]], [[Rock/Booting_Linux|build your own kernel]], [[Rock/ubuntu|build your own Ubuntu root file system]], or whatever you want.&lt;br /&gt;
&lt;br /&gt;
'''FAQs'''&lt;br /&gt;
&lt;br /&gt;
Before you ask any questions about the Radxa Rock check if your question has already been asked and answered [[rock/FAQ|Radxa Rock FAQ]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-3 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-midnight-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-download&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Download&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
Visit the '''[[rock/download| download]]''' page to get the download link and description of the source code, tools, images etc&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cocktail-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-users&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Users'''&lt;br /&gt;
&lt;br /&gt;
* [http://talk.radxa.com/ Radxa Talk]&lt;br /&gt;
* [https://plus.google.com/communities/114007636590240429960 Radxa Google Plus community]&lt;br /&gt;
* [https://www.facebook.com/groups/218416868348521/ Facebook Group Page]&lt;br /&gt;
&lt;br /&gt;
'''Developers'''&lt;br /&gt;
&lt;br /&gt;
* [https://groups.google.com/forum/#!forum/radxa radxa google groups], send emails to radxa@googlegroups.com to subscribe &lt;br /&gt;
* &amp;lt;tt&amp;gt;#radxa&amp;lt;/tt&amp;gt; [http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] channel on [http://freenode.net/ Freenode]. Click to [http://webchat.freenode.net/?channels=radxa join #radxa on Freenode (WebChat mode)], or consult [http://irclog.whitequark.org/radxa/ IRC logs].     &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-gunmetal-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-linux&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Linux&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/Booting Linux | Build your own kernel and boot into Linux]]&lt;br /&gt;
* [[rock/Linux Mainline | Build Linux Mainline]]&lt;br /&gt;
* [[rock/ubuntu| Make Ubuntu rootfs]]&lt;br /&gt;
* [[Rock/debian | Make Debian rootfs]]&lt;br /&gt;
* [[rock/make_sd_image| Make SD booting images]]&lt;br /&gt;
* [[rock/audio | Audio on Rock]]&lt;br /&gt;
* [[rock/display | Display on Rock]]&lt;br /&gt;
* [[rock/LED| Using LEDs on Rock]]&lt;br /&gt;
* [[rock/vnc | Setting up VNC server on Rock]]&lt;br /&gt;
* [[rock/sd lubuntu | Boot Lubuntu from SD card]] '''OBSOLETE'''       &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-mango-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-cog&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Common HowTos&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/flash the image | Flash the image to NAND]]&lt;br /&gt;
* [[rock/SD images | Flash the image to SD card]]&lt;br /&gt;
* [[rock/SD upgrading | Upgrade NAND from SD card]]&lt;br /&gt;
* [[rock/backup| Backing up]]&lt;br /&gt;
* [[rock/fsck| Recovery ext4 file system]]&lt;br /&gt;
* [[rock/Serial debug tools Setting | Serial console debugging]]&lt;br /&gt;
* [[rock/unbrick | Unbrick Rock]]&lt;br /&gt;
* [[rock/resize linux rootfs |Resize linux rootfs ]]&lt;br /&gt;
* [[rock/ir| Using IR on Rock]]&lt;br /&gt;
* [[rock/usb| Using USB on Rock]]&lt;br /&gt;
* [[rock/uart| Using UART on Rock]]&lt;br /&gt;
* [[rock/Wireless | Using Wireless on Rock]]&lt;br /&gt;
* [[rock/Camera | Using Camera on Rock]]&lt;br /&gt;
* [[rock/Tp,Lvds,Camera | Using Lvds,Tp,Camera on Rock]]&lt;br /&gt;
* [[rock/Rock Lite | Run Rock Lite]]&lt;br /&gt;
* [[rock/Hdmi Resolution| Add new hdmi resolution]]&lt;br /&gt;
* [[rock/wiringX| wringX:GPIO/I2C/SPI/ISR/UART/PWM]]&lt;br /&gt;
* [[rock/PM| Config power saving ]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-berry-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-check-circle&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Others&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/dual boot| Dual boot Android/Linux]]&lt;br /&gt;
* [[rock/FreeBSD| Boot FreeBSD]] &lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-party-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-gamepad&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Addons&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/cases | Cases]]&lt;br /&gt;
* [[rock/cables | Cables]]&lt;br /&gt;
* [[rock/shields | Extension boards]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cello-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hdd-o&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Hardware&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/specifications| Specifications]]&lt;br /&gt;
* [[rock/hardware revision | Hardware Revision]]&lt;br /&gt;
* [[rock/extension header | Extension Header]]&lt;br /&gt;
* [[rock/hardware docs | hardware documents]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-meadow-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-android&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Android&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/windows adb| ADB under Windows]]&lt;br /&gt;
* [[rock/linux adb| ADB under Linux]]&lt;br /&gt;
* [[rock/Android Build|Build Android image for RR]]&lt;br /&gt;
* [[rock/SD booting | Making bootable SD card]]&lt;br /&gt;
* [[rock/AP android |Make radxa as a WIFI_AP]]&lt;br /&gt;
* [[rock/Android backup | Backup your apps]]&lt;br /&gt;
* [[rock/Android dev tips | Some tips for android development]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cyanide-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-bold&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Bootloader&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/bootloader | Boot Loader]]&lt;br /&gt;
* [[rock/U-Boot | U-Boot]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-left&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-neutral-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;Projects&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [http://radxa.com/Rock/pilight Run Pilight on Radxa Rock for remote control]&lt;br /&gt;
* [http://www.mydbapool.com/install-postgresql-9-4-raspberry-pi-radxa-similarmicrocomputers-running-lubuntu/ How to install PostgreSQL 9.4 on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/diy-nas-with-rk3188-device-radxa-rock.html DIY low power NAS (home file server) with Radxa Rock]&lt;br /&gt;
* [http://www.megaleecher.net/Network_Sharing_Radxa_Rock Network sharing on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/radxa-rock-communicating-with-i2c.html Hardware hacking: Communicating the Radxa with external I2C devices]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/bitbanging-radxa-rock-gpios.html Hardware hacking: Control Radxa Rock's expansion header GPIOs]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-right&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-concrete-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;References&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Photos'''&lt;br /&gt;
&lt;br /&gt;
* [http://dl.radxa.com/rock/media/pic/hd/ Some high definition photos of the Radxa Rock engineering samples]&lt;br /&gt;
&lt;br /&gt;
'''External'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.cnx-software.com/2013/09/07/radxa-rock-development-boards-with-rockchip-rk3188-are-available-for-developers-now/ cnx-soft - radxa rock development boards with rockchips rk3188 are available for developers now]&lt;br /&gt;
* [http://linuxgizmos.com/open-sbc-runs-android-and-linux-on-quad-core-rockchip/ linuxgizmos - open sbc runs android and linux on quad core rockchip]&lt;br /&gt;
* [http://minipute.com/2013/09/12/new-radxa-rock-single-board-computer-runs-rockchip-rk3188-90/3246 minipute - new radxa rock single board computer runs rockchip rk3188]&lt;br /&gt;
* [http://omglaptop.com/desktops/radxa-rock-specs-price/ omglaptop - Radxa Rock Specs]&lt;br /&gt;
* [http://liliputing.com/2013/10/picuntu-4-5-installer-loads-ubuntu-onto-rockchip-rk3188-devices.html PicUntu 4.5 with a GUI installer for RK3188 based devices]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Rock]]&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/PM</id>
		<title>Rock/PM</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/PM"/>
				<updated>2015-06-24T03:34:06Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirement==&lt;br /&gt;
* Radxa Rock,Rock pro, Rock lite running debian linux&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
First, install the power manager tools:&lt;br /&gt;
   sudo apt-get install mate-power-manager&lt;br /&gt;
&lt;br /&gt;
Next, open the Screensaver,click &amp;quot;System&amp;quot; -&amp;gt; &amp;quot;Preferences&amp;quot; -&amp;gt; &amp;quot;Screensaver&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=====Never power saving=====&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_1.png]] PIC_1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_2.png]] PIC_2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_3.png]] PIC_3&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/PM</id>
		<title>Rock/PM</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/PM"/>
				<updated>2015-06-24T03:32:27Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: Created page with &amp;quot;==Requirement== * Radxa Rock,Rock pro, Rock lite running debian linux   First, install the power manager tools:    sudo apt-get install mate-power-manager  Next, open the Scre...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Requirement==&lt;br /&gt;
* Radxa Rock,Rock pro, Rock lite running debian linux&lt;br /&gt;
 &lt;br /&gt;
First, install the power manager tools:&lt;br /&gt;
   sudo apt-get install mate-power-manager&lt;br /&gt;
&lt;br /&gt;
Next, open the Screensaver,click &amp;quot;System&amp;quot; -&amp;gt; &amp;quot;Preferences&amp;quot; -&amp;gt; &amp;quot;Screensaver&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=====Never power saving=====&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_1.png]] PIC_1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_2.png]] PIC_2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:SMP_3.png]] PIC_3&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/File:SMP_3.png</id>
		<title>File:SMP 3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/File:SMP_3.png"/>
				<updated>2015-06-24T03:29:21Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: power manager pictures&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;power manager pictures&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/File:SMP_2.png</id>
		<title>File:SMP 2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/File:SMP_2.png"/>
				<updated>2015-06-24T03:28:46Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: power manager pictures&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;power manager pictures&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/File:SMP_1.png</id>
		<title>File:SMP 1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/File:SMP_1.png"/>
				<updated>2015-06-24T03:27:41Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: power-manager pictures&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;power-manager pictures&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock</id>
		<title>Rock</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock"/>
				<updated>2015-06-24T03:04:26Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Rock_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rock}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-8 mwbs-color-darker&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;thumbnail &amp;quot;&amp;gt;http://wiki.radxa.com/mw/images/3/36/Rock.jpg&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3&amp;gt;Radxa Rock(Pro/Lite)&amp;lt;/h3&amp;gt;&lt;br /&gt;
        &amp;lt;p class=&amp;quot;text-justify&amp;quot;&amp;gt;Radxa Rock is a RK3188 based SBC(Single Board Computer) by [[Special:SpecialContact| Radxa]]. It has a quad core ARM processor, can run android or some Linux distributions. It also features 80 pin 2.54mm headers, which makes it easy to connect other sensors or use the GPIO.&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-9&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;panel panel-hearts-white&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt; &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hand-o-up&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Getting started&amp;lt;/h3&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
The Radxa Rock is shipped with Android 4.2.2 (Jelly Bean) and Ubuntu/Linaro 13.09 dual boot on the NAND flash (on-board storage) and it works out of the box(Rock Pro is shipped with Android 4.4.2(Kitkat) on NAND flash). Let's read '''[[rock/Getting Started|Radxa Rock Getting Started Guide]]''' and hook everything up and start playing with the board.&lt;br /&gt;
&lt;br /&gt;
Once you get started, you can [[Rock/flash_the_image|flash]] latest [[Rock/prebuilt_images|Android image and several Linux images]], or you can try to [[Rock/SD_images|boot Android/Linux from SD card]]. You can also [[Rock/Android_Build|build your own Android]], [[Rock/Booting_Linux|build your own kernel]], [[Rock/ubuntu|build your own Ubuntu root file system]], or whatever you want.&lt;br /&gt;
&lt;br /&gt;
'''FAQs'''&lt;br /&gt;
&lt;br /&gt;
Before you ask any questions about the Radxa Rock check if your question has already been asked and answered [[rock/FAQ|Radxa Rock FAQ]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-3 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-midnight-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-download&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Download&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
Visit the '''[[rock/download| download]]''' page to get the download link and description of the source code, tools, images etc&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cocktail-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-users&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Users'''&lt;br /&gt;
&lt;br /&gt;
* [http://talk.radxa.com/ Radxa Talk]&lt;br /&gt;
* [https://plus.google.com/communities/114007636590240429960 Radxa Google Plus community]&lt;br /&gt;
* [https://www.facebook.com/groups/218416868348521/ Facebook Group Page]&lt;br /&gt;
&lt;br /&gt;
'''Developers'''&lt;br /&gt;
&lt;br /&gt;
* [https://groups.google.com/forum/#!forum/radxa radxa google groups], send emails to radxa@googlegroups.com to subscribe &lt;br /&gt;
* &amp;lt;tt&amp;gt;#radxa&amp;lt;/tt&amp;gt; [http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] channel on [http://freenode.net/ Freenode]. Click to [http://webchat.freenode.net/?channels=radxa join #radxa on Freenode (WebChat mode)], or consult [http://irclog.whitequark.org/radxa/ IRC logs].     &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-gunmetal-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-linux&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Linux&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/Booting Linux | Build your own kernel and boot into Linux]]&lt;br /&gt;
* [[rock/Linux Mainline | Build Linux Mainline]]&lt;br /&gt;
* [[rock/ubuntu| Make Ubuntu rootfs]]&lt;br /&gt;
* [[Rock/debian | Make Debian rootfs]]&lt;br /&gt;
* [[rock/make_sd_image| Make SD booting images]]&lt;br /&gt;
* [[rock/audio | Audio on Rock]]&lt;br /&gt;
* [[rock/display | Display on Rock]]&lt;br /&gt;
* [[rock/LED| Using LEDs on Rock]]&lt;br /&gt;
* [[rock/vnc | Setting up VNC server on Rock]]&lt;br /&gt;
* [[rock/sd lubuntu | Boot Lubuntu from SD card]] '''OBSOLETE'''       &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-mango-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-cog&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Common HowTos&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/flash the image | Flash the image to NAND]]&lt;br /&gt;
* [[rock/SD images | Flash the image to SD card]]&lt;br /&gt;
* [[rock/SD upgrading | Upgrade NAND from SD card]]&lt;br /&gt;
* [[rock/backup| Backing up]]&lt;br /&gt;
* [[rock/fsck| Recovery ext4 file system]]&lt;br /&gt;
* [[rock/Serial debug tools Setting | Serial console debugging]]&lt;br /&gt;
* [[rock/unbrick | Unbrick Rock]]&lt;br /&gt;
* [[rock/resize linux rootfs |Resize linux rootfs ]]&lt;br /&gt;
* [[rock/ir| Using IR on Rock]]&lt;br /&gt;
* [[rock/usb| Using USB on Rock]]&lt;br /&gt;
* [[rock/uart| Using UART on Rock]]&lt;br /&gt;
* [[rock/Wireless | Using Wireless on Rock]]&lt;br /&gt;
* [[rock/Camera | Using Camera on Rock]]&lt;br /&gt;
* [[rock/Tp,Lvds,Camera | Using Lvds,Tp,Camera on Rock]]&lt;br /&gt;
* [[rock/Rock Lite | Run Rock Lite]]&lt;br /&gt;
* [[rock/Hdmi Resolution| Add new hdmi resolution]]&lt;br /&gt;
* [[rock/wiringX| wringX: GPIO/I2C/SPI/ISR/UART/PWM]]&lt;br /&gt;
* [[rock/PM| Config power saving ]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-berry-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-check-circle&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Others&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/dual boot| Dual boot Android/Linux]]&lt;br /&gt;
* [[rock/FreeBSD| Boot FreeBSD]] &lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-party-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-gamepad&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Addons&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/cases | Cases]]&lt;br /&gt;
* [[rock/cables | Cables]]&lt;br /&gt;
* [[rock/shields | Extension boards]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cello-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hdd-o&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Hardware&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/specifications| Specifications]]&lt;br /&gt;
* [[rock/hardware revision | Hardware Revision]]&lt;br /&gt;
* [[rock/extension header | Extension Header]]&lt;br /&gt;
* [[rock/hardware docs | hardware documents]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-meadow-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-android&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Android&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/windows adb| ADB under Windows]]&lt;br /&gt;
* [[rock/linux adb| ADB under Linux]]&lt;br /&gt;
* [[rock/Android Build|Build Android image for RR]]&lt;br /&gt;
* [[rock/SD booting | Making bootable SD card]]&lt;br /&gt;
* [[rock/AP android |Make radxa as a WIFI_AP]]&lt;br /&gt;
* [[rock/Android backup | Backup your apps]]&lt;br /&gt;
* [[rock/Android dev tips | Some tips for android development]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cyanide-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-bold&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Bootloader&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/bootloader | Boot Loader]]&lt;br /&gt;
* [[rock/U-Boot | U-Boot]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-left&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-neutral-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;Projects&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [http://radxa.com/Rock/pilight Run Pilight on Radxa Rock for remote control]&lt;br /&gt;
* [http://www.mydbapool.com/install-postgresql-9-4-raspberry-pi-radxa-similarmicrocomputers-running-lubuntu/ How to install PostgreSQL 9.4 on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/diy-nas-with-rk3188-device-radxa-rock.html DIY low power NAS (home file server) with Radxa Rock]&lt;br /&gt;
* [http://www.megaleecher.net/Network_Sharing_Radxa_Rock Network sharing on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/radxa-rock-communicating-with-i2c.html Hardware hacking: Communicating the Radxa with external I2C devices]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/bitbanging-radxa-rock-gpios.html Hardware hacking: Control Radxa Rock's expansion header GPIOs]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-right&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-concrete-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;References&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Photos'''&lt;br /&gt;
&lt;br /&gt;
* [http://dl.radxa.com/rock/media/pic/hd/ Some high definition photos of the Radxa Rock engineering samples]&lt;br /&gt;
&lt;br /&gt;
'''External'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.cnx-software.com/2013/09/07/radxa-rock-development-boards-with-rockchip-rk3188-are-available-for-developers-now/ cnx-soft - radxa rock development boards with rockchips rk3188 are available for developers now]&lt;br /&gt;
* [http://linuxgizmos.com/open-sbc-runs-android-and-linux-on-quad-core-rockchip/ linuxgizmos - open sbc runs android and linux on quad core rockchip]&lt;br /&gt;
* [http://minipute.com/2013/09/12/new-radxa-rock-single-board-computer-runs-rockchip-rk3188-90/3246 minipute - new radxa rock single board computer runs rockchip rk3188]&lt;br /&gt;
* [http://omglaptop.com/desktops/radxa-rock-specs-price/ omglaptop - Radxa Rock Specs]&lt;br /&gt;
* [http://liliputing.com/2013/10/picuntu-4-5-installer-loads-ubuntu-onto-rockchip-rk3188-devices.html PicUntu 4.5 with a GUI installer for RK3188 based devices]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Rock]]&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock</id>
		<title>Rock</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock"/>
				<updated>2015-06-23T12:41:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Rock_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rock}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-8 mwbs-color-darker&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;thumbnail &amp;quot;&amp;gt;http://wiki.radxa.com/mw/images/3/36/Rock.jpg&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;caption&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;h3&amp;gt;Radxa Rock(Pro/Lite)&amp;lt;/h3&amp;gt;&lt;br /&gt;
        &amp;lt;p class=&amp;quot;text-justify&amp;quot;&amp;gt;Radxa Rock is a RK3188 based SBC(Single Board Computer) by [[Special:SpecialContact| Radxa]]. It has a quad core ARM processor, can run android or some Linux distributions. It also features 80 pin 2.54mm headers, which makes it easy to connect other sensors or use the GPIO.&amp;lt;/p&amp;gt;&lt;br /&gt;
      &amp;lt;/div&amp;gt;&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
&amp;lt;div class=&amp;quot;col-md-9&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;panel panel-hearts-white&amp;quot;&amp;gt; &lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt; &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hand-o-up&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Getting started&amp;lt;/h3&amp;gt; &amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
The Radxa Rock is shipped with Android 4.2.2 (Jelly Bean) and Ubuntu/Linaro 13.09 dual boot on the NAND flash (on-board storage) and it works out of the box(Rock Pro is shipped with Android 4.4.2(Kitkat) on NAND flash). Let's read '''[[rock/Getting Started|Radxa Rock Getting Started Guide]]''' and hook everything up and start playing with the board.&lt;br /&gt;
&lt;br /&gt;
Once you get started, you can [[Rock/flash_the_image|flash]] latest [[Rock/prebuilt_images|Android image and several Linux images]], or you can try to [[Rock/SD_images|boot Android/Linux from SD card]]. You can also [[Rock/Android_Build|build your own Android]], [[Rock/Booting_Linux|build your own kernel]], [[Rock/ubuntu|build your own Ubuntu root file system]], or whatever you want.&lt;br /&gt;
&lt;br /&gt;
'''FAQs'''&lt;br /&gt;
&lt;br /&gt;
Before you ask any questions about the Radxa Rock check if your question has already been asked and answered [[rock/FAQ|Radxa Rock FAQ]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-3 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-midnight-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-download&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Download&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
Visit the '''[[rock/download| download]]''' page to get the download link and description of the source code, tools, images etc&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
   &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cocktail-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-users&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Community&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Users'''&lt;br /&gt;
&lt;br /&gt;
* [http://talk.radxa.com/ Radxa Talk]&lt;br /&gt;
* [https://plus.google.com/communities/114007636590240429960 Radxa Google Plus community]&lt;br /&gt;
* [https://www.facebook.com/groups/218416868348521/ Facebook Group Page]&lt;br /&gt;
&lt;br /&gt;
'''Developers'''&lt;br /&gt;
&lt;br /&gt;
* [https://groups.google.com/forum/#!forum/radxa radxa google groups], send emails to radxa@googlegroups.com to subscribe &lt;br /&gt;
* &amp;lt;tt&amp;gt;#radxa&amp;lt;/tt&amp;gt; [http://en.wikipedia.org/wiki/Internet_Relay_Chat IRC] channel on [http://freenode.net/ Freenode]. Click to [http://webchat.freenode.net/?channels=radxa join #radxa on Freenode (WebChat mode)], or consult [http://irclog.whitequark.org/radxa/ IRC logs].     &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-gunmetal-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-linux&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Linux&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/Booting Linux | Build your own kernel and boot into Linux]]&lt;br /&gt;
* [[rock/Linux Mainline | Build Linux Mainline]]&lt;br /&gt;
* [[rock/ubuntu| Make Ubuntu rootfs]]&lt;br /&gt;
* [[Rock/debian | Make Debian rootfs]]&lt;br /&gt;
* [[rock/make_sd_image| Make SD booting images]]&lt;br /&gt;
* [[rock/audio | Audio on Rock]]&lt;br /&gt;
* [[rock/display | Display on Rock]]&lt;br /&gt;
* [[rock/LED| Using LEDs on Rock]]&lt;br /&gt;
* [[rock/vnc | Setting up VNC server on Rock]]&lt;br /&gt;
* [[rock/sd lubuntu | Boot Lubuntu from SD card]] '''OBSOLETE'''       &lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-mango-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-cog&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Common HowTos&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/flash the image | Flash the image to NAND]]&lt;br /&gt;
* [[rock/SD images | Flash the image to SD card]]&lt;br /&gt;
* [[rock/SD upgrading | Upgrade NAND from SD card]]&lt;br /&gt;
* [[rock/backup| Backing up]]&lt;br /&gt;
* [[rock/fsck| Recovery ext4 file system]]&lt;br /&gt;
* [[rock/Serial debug tools Setting | Serial console debugging]]&lt;br /&gt;
* [[rock/unbrick | Unbrick Rock]]&lt;br /&gt;
* [[rock/resize linux rootfs |Resize linux rootfs ]]&lt;br /&gt;
* [[rock/ir| Using IR on Rock]]&lt;br /&gt;
* [[rock/usb| Using USB on Rock]]&lt;br /&gt;
* [[rock/uart| Using UART on Rock]]&lt;br /&gt;
* [[rock/Wireless | Using Wireless on Rock]]&lt;br /&gt;
* [[rock/Camera | Using Camera on Rock]]&lt;br /&gt;
* [[rock/Tp,Lvds,Camera | Using Lvds,Tp,Camera on Rock]]&lt;br /&gt;
* [[rock/Rock Lite | Run Rock Lite]]&lt;br /&gt;
* [[rock/Hdmi Resolution| Add new hdmi resolution]]&lt;br /&gt;
* [[rock/wiringX| wringX: GPIO/I2C/SPI/ISR/UART/PWM]]&lt;br /&gt;
* [[rock/Power Manager| Never power saving]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-berry-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-check-circle&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Others&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/dual boot| Dual boot Android/Linux]]&lt;br /&gt;
* [[rock/FreeBSD| Boot FreeBSD]] &lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-party-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-gamepad&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Addons&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/cases | Cases]]&lt;br /&gt;
* [[rock/cables | Cables]]&lt;br /&gt;
* [[rock/shields | Extension boards]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-4 &amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cello-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-hdd-o&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Hardware&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/specifications| Specifications]]&lt;br /&gt;
* [[rock/hardware revision | Hardware Revision]]&lt;br /&gt;
* [[rock/extension header | Extension Header]]&lt;br /&gt;
* [[rock/hardware docs | hardware documents]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-meadow-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-android&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Android&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/windows adb| ADB under Windows]]&lt;br /&gt;
* [[rock/linux adb| ADB under Linux]]&lt;br /&gt;
* [[rock/Android Build|Build Android image for RR]]&lt;br /&gt;
* [[rock/SD booting | Making bootable SD card]]&lt;br /&gt;
* [[rock/AP android |Make radxa as a WIFI_AP]]&lt;br /&gt;
* [[rock/Android backup | Backup your apps]]&lt;br /&gt;
* [[rock/Android dev tips | Some tips for android development]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-cyanide-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;&amp;lt;i class=&amp;quot;fa fa-bold&amp;quot;&amp;gt;&amp;lt;/i&amp;gt; Bootloader&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [[rock/bootloader | Boot Loader]]&lt;br /&gt;
* [[rock/U-Boot | U-Boot]]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;clearfix&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-left&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-neutral-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;Projects&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
* [http://radxa.com/Rock/pilight Run Pilight on Radxa Rock for remote control]&lt;br /&gt;
* [http://www.mydbapool.com/install-postgresql-9-4-raspberry-pi-radxa-similarmicrocomputers-running-lubuntu/ How to install PostgreSQL 9.4 on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/diy-nas-with-rk3188-device-radxa-rock.html DIY low power NAS (home file server) with Radxa Rock]&lt;br /&gt;
* [http://www.megaleecher.net/Network_Sharing_Radxa_Rock Network sharing on Radxa Rock]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/radxa-rock-communicating-with-i2c.html Hardware hacking: Communicating the Radxa with external I2C devices]&lt;br /&gt;
* [http://hwswbits.blogspot.com/2013/10/bitbanging-radxa-rock-gpios.html Hardware hacking: Control Radxa Rock's expansion header GPIOs]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
      &amp;lt;div class=&amp;quot;col-md-6 pull-right&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;div class=&amp;quot;panel panel-concrete-white&amp;quot;&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-heading&amp;quot;&amp;gt;&lt;br /&gt;
            &amp;lt;h3 class=&amp;quot;panel-title&amp;quot;&amp;gt;References&amp;lt;/h3&amp;gt;&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
          &amp;lt;div class=&amp;quot;panel-body&amp;quot;&amp;gt;&lt;br /&gt;
'''Photos'''&lt;br /&gt;
&lt;br /&gt;
* [http://dl.radxa.com/rock/media/pic/hd/ Some high definition photos of the Radxa Rock engineering samples]&lt;br /&gt;
&lt;br /&gt;
'''External'''&lt;br /&gt;
&lt;br /&gt;
* [http://www.cnx-software.com/2013/09/07/radxa-rock-development-boards-with-rockchip-rk3188-are-available-for-developers-now/ cnx-soft - radxa rock development boards with rockchips rk3188 are available for developers now]&lt;br /&gt;
* [http://linuxgizmos.com/open-sbc-runs-android-and-linux-on-quad-core-rockchip/ linuxgizmos - open sbc runs android and linux on quad core rockchip]&lt;br /&gt;
* [http://minipute.com/2013/09/12/new-radxa-rock-single-board-computer-runs-rockchip-rk3188-90/3246 minipute - new radxa rock single board computer runs rockchip rk3188]&lt;br /&gt;
* [http://omglaptop.com/desktops/radxa-rock-specs-price/ omglaptop - Radxa Rock Specs]&lt;br /&gt;
* [http://liliputing.com/2013/10/picuntu-4-5-installer-loads-ubuntu-onto-rockchip-rk3188-devices.html PicUntu 4.5 with a GUI installer for RK3188 based devices]&lt;br /&gt;
          &amp;lt;/div&amp;gt;&lt;br /&gt;
        &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Rock]]&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-04-16T06:05:30Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
=====Easily Make Your Own HostAP(8723au) =====&lt;br /&gt;
&lt;br /&gt;
first ,ensure your network function well on board&lt;br /&gt;
&lt;br /&gt;
to get the hostap package('''8723au''') [http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz  8723au_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf  rock_pro_8723au_hostapd_linux.tar.gz&lt;br /&gt;
 cd rock_pro_8723au_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
=====Easily Make Your Own HostAP(8188eu)=====&lt;br /&gt;
&lt;br /&gt;
In the same way,to get the hostap package('''8188eu''') [http://dl.radxa.com/rock_lite/source/8188eu_hostapd_linux.tar.gz 8188eu_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf 8188eu_hostapd_linux.tar.gz&lt;br /&gt;
 cd 8188eu_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-03-02T07:38:21Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP(8723au)&lt;br /&gt;
&lt;br /&gt;
first ,ensure your network function well on board&lt;br /&gt;
&lt;br /&gt;
to get the hostap package('''8723au''') [http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz  8723au_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf  rock_pro_8723au_hostapd_linux.tar.gz&lt;br /&gt;
 cd rock_pro_8723au_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP(8188eu)&lt;br /&gt;
&lt;br /&gt;
In the same way,to get the hostap package('''8188eu''') [http://dl.radxa.com/rock_lite/source/8188eu_hostapd_linux.tar.gz 8188eu_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf 8188eu_hostapd_linux.tar.gz&lt;br /&gt;
 cd 8188eu_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-03-02T07:30:11Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP&lt;br /&gt;
&lt;br /&gt;
ensure your network function well on board&lt;br /&gt;
&lt;br /&gt;
to get the hostap package('''8723au''') [http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz  8723au_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf  rock_pro_8723au_hostapd_linux.tar.gz&lt;br /&gt;
 cd rock_pro_8723au_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
In the same way,to get the hostap package('''8188eu''') [http://dl.radxa.com/rock_lite/source/8188eu_hostapd_linux.tar.gz 8188eu_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf 8188eu_hostapd_linux.tar.gz&lt;br /&gt;
 cd 8188eu_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-03-02T05:48:35Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP(8723au)&lt;br /&gt;
&lt;br /&gt;
ensure your network function well on board&lt;br /&gt;
&lt;br /&gt;
to get the hostap package [http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz  8723au_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf  rock_pro_8723au_hostapd_linux.tar.gz&lt;br /&gt;
 cd rock_pro_8723au_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-03-02T01:57:17Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP(8723au)&lt;br /&gt;
&lt;br /&gt;
ensure your network function well on board&lt;br /&gt;
&lt;br /&gt;
to get the hostap package [http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz  rock_pro_8723au_hostapd_linux.tar.gz].&lt;br /&gt;
 tar zxf  rock_pro_8723au_hostapd_linux.tar.gz&lt;br /&gt;
 cd rock_pro_8723au_hostapd_linux&lt;br /&gt;
 make install&lt;br /&gt;
 reboot&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-03-02T01:48:03Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR as the wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR as the wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Easily Make Your Own HostAP(8723au)&lt;br /&gt;
to get the hostap package [[http://dl.radxa.com/rock_pro/source/rock_pro_8723au_hostapd_linux.tar.gz | rock_pro_8723au_hostapd_linux.tar.gz]]&lt;br /&gt;
&lt;br /&gt;
You can also configure wifi as AP mode manually, please refer [[Rock/Wireless/AP_mode_manually | AP mode manually]].&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless/AP_mode_manually</id>
		<title>Rock/Wireless/AP mode manually</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless/AP_mode_manually"/>
				<updated>2015-02-23T01:57:01Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Prepare works */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Below is how to manually configure wifi as AP mode on RR.&lt;br /&gt;
&lt;br /&gt;
====Prepare works====&lt;br /&gt;
&lt;br /&gt;
1.1 Compile hostapd&lt;br /&gt;
&lt;br /&gt;
 wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 sudo apt-get install unrar&lt;br /&gt;
 unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 sudo apt-get install build-essential&lt;br /&gt;
 cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/&lt;br /&gt;
 cd wpa_supplicant_hostapd/&lt;br /&gt;
 tar xzf wpa_supplicant_hostapd-0.8_rtw_r7048.20130424.tar.gz&lt;br /&gt;
 cd wpa_supplicant_hostapd-0.8_rtw_r7048.20130424/hostapd&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
 sudo mkdir -p /etc/hostapd&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
root@radxa:/tmp# git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
&lt;br /&gt;
or download here&lt;br /&gt;
&lt;br /&gt;
http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
====Compile the driver====&lt;br /&gt;
&lt;br /&gt;
=====Attention please： first,ensure your kernel has been compiled=====&lt;br /&gt;
&lt;br /&gt;
 unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 cd driver&lt;br /&gt;
 tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 vim Makefile&lt;br /&gt;
&lt;br /&gt;
=====To select target platform for compilation===== &lt;br /&gt;
&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 '''603 ARCH := arm'''     #the architecture of the CPU.&lt;br /&gt;
 '''604 CROSS_COMPILE := arm-eabi-'''    # the toolchain prefix&lt;br /&gt;
 '''605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip'''   # the path of kernel source&lt;br /&gt;
&lt;br /&gt;
=====Build wifi driver=====&lt;br /&gt;
root@radxa:/tmp/driver/rtl8723A_Wi...3.3_beta# '''make'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''reboot'''&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
&lt;br /&gt;
=====3.1 Configure static IP=====&lt;br /&gt;
 root@radxa:/etc#vim /etc/network/interfaces&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.2.1&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
=====3.2 Configure the dhcp server=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
 interface=wlan0 &lt;br /&gt;
 bind-interfaces &lt;br /&gt;
 except-interface=lo  &lt;br /&gt;
 dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
 dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&lt;br /&gt;
=====3.3 Make your network faster=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''apt-get install haveged'''&lt;br /&gt;
&lt;br /&gt;
=====3.4  Configure the wifi(user,password):=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim /etc/hostapd/hostapd.conf'''&lt;br /&gt;
&lt;br /&gt;
 interface=wlan0&lt;br /&gt;
 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
 channel=6&lt;br /&gt;
 wpa=2&lt;br /&gt;
 wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
=====3.5 Autorun your softAP:=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim wifs.sh'''&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
root@radxa# '''vim /etc/rc.local'''&lt;br /&gt;
&lt;br /&gt;
 '''/etc/wifs.sh'''&lt;br /&gt;
 /lib/init/vars.sh&lt;br /&gt;
 /lib/lsb/init-functions&lt;br /&gt;
&lt;br /&gt;
root@radxa# reboot&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/AP_android</id>
		<title>Rock/AP android</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/AP_android"/>
				<updated>2015-02-07T05:33:52Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
If you want to use the radxa rock as a WIFI-AP under android . you can enable the item in settings(More-&amp;gt;Portable hotspot-&amp;gt;Portable Wi-Fi hotspot). &lt;br /&gt;
&lt;br /&gt;
But the setting will be cancelled after reboot. we provider image resolves the problem,you can download here.[http://pan.baidu.com/s/1hqp96CW  140224_android_softAp.tgz].&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
&lt;br /&gt;
Enable your hostAP easier&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Prepare works====&lt;br /&gt;
&lt;br /&gt;
1.1 Compile hostapd&lt;br /&gt;
&lt;br /&gt;
 wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 sudo apt-get install unrar&lt;br /&gt;
 unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 sudo apt-get install build-essential&lt;br /&gt;
 cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/&lt;br /&gt;
 cd wpa_supplicant_hostapd/&lt;br /&gt;
 tar xzf wpa_supplicant_hostapd-0.8_rtw_r7048.20130424.tar.gz&lt;br /&gt;
 cd wpa_supplicant_hostapd-0.8_rtw_r7048.20130424/&lt;br /&gt;
 make&lt;br /&gt;
 sudo make install&lt;br /&gt;
 sudo mkdir -p /etc/hostapd&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
root@radxa:/tmp# git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
&lt;br /&gt;
or download here&lt;br /&gt;
&lt;br /&gt;
http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
====Compile the driver====&lt;br /&gt;
&lt;br /&gt;
=====Attention please： first,ensure your kernel has been compiled=====&lt;br /&gt;
&lt;br /&gt;
 unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 cd driver&lt;br /&gt;
 tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 vim Makefile&lt;br /&gt;
&lt;br /&gt;
=====To select target platform for compilation===== &lt;br /&gt;
&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 '''603 ARCH := arm'''     #the architecture of the CPU.&lt;br /&gt;
 '''604 CROSS_COMPILE := arm-eabi-'''    # the toolchain prefix&lt;br /&gt;
 '''605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip'''   # the path of kernel source&lt;br /&gt;
&lt;br /&gt;
=====Build wifi driver=====&lt;br /&gt;
root@radxa:/tmp/driver/rtl8723A_Wi...3.3_beta# '''make'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:~# '''reboot'''&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
&lt;br /&gt;
=====3.1 Configure static IP=====&lt;br /&gt;
 root@radxa:/etc#vim /etc/network/interfaces&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.2.1&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
=====3.2 Configure the dhcp server=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
 interface=wlan0 &lt;br /&gt;
 bind-interfaces &lt;br /&gt;
 except-interface=lo  &lt;br /&gt;
 dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
 dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&lt;br /&gt;
=====3.3 Make your network faster=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''apt-get install haveged'''&lt;br /&gt;
&lt;br /&gt;
=====3.4  Configure the wifi(user,password):=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim /etc/hostapd/hostapd.conf'''&lt;br /&gt;
&lt;br /&gt;
 interface=wlan0&lt;br /&gt;
 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
 channel=6&lt;br /&gt;
 wpa=2&lt;br /&gt;
 wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
=====3.5 Autorun your softAP:=====&lt;br /&gt;
&lt;br /&gt;
root@radxa:/etc# '''vim wifs.sh'''&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
root@radxa# '''vim /etc/rc.local'''&lt;br /&gt;
&lt;br /&gt;
 '''/etc/wifs.sh'''&lt;br /&gt;
 /lib/init/vars.sh&lt;br /&gt;
 /lib/lsb/init-functions&lt;br /&gt;
&lt;br /&gt;
root@radxa# reboot&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-07T02:50:14Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR acts as wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-05T07:18:46Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Build the driver for softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
一.  Prepare works&lt;br /&gt;
&lt;br /&gt;
1.1 Download the source driver from the address:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
 root@radxa:/tmp# wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@radxa:/tmp# sudo apt-get install unrar&lt;br /&gt;
 root@radxa:/tmp# unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@radxa:/tmp# sudo apt-get install build-essential&lt;br /&gt;
 root@radxa:/tmp# cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/&lt;br /&gt;
 root@radxa:/tmp/RTL8723A_WiFi...beta# cd wpa_supplicant_hostapd/&lt;br /&gt;
 root@radxa:/tmp/RTL8723A_WiFi...beta/wpa_supplicant_hostapd# tar zxf wpa_supplicant_hostapd-0.8_rtw_r7048.20130424.tar.gz&lt;br /&gt;
 root@radxa:/tmp/RTL8723A_WiFi...beta/wpa_supplicant_hostapd# cd wpa_supplicant_hostapd-0.8_rtw_r7048.20130424/hostapd&lt;br /&gt;
 root@radxa:/tmp/RTL8723A_WiFi...beta/wpa_supplicant_hostapd/wpa_supplican...0424/hostapd# make&lt;br /&gt;
 root@radxa:/tmp/RTL8723A_WiFi...beta/wpa_supplicant_hostapd/wpa_supplican...0424/hostapd# sudo make install&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
二. Compile the driver&lt;br /&gt;
 Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
     root@radxa:/tmp# unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     root@radxa:/tmp# cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp# cd driver&lt;br /&gt;
     root@radxa:/tmp/driver# tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     root@radxa:/tmp/driver# cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# vim Makefile&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
    root@radxa:~# rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko&lt;br /&gt;
    root@radxa:~# cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/&lt;br /&gt;
    root@radxa:~# reboot&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
 三. configure service:&lt;br /&gt;
 3.1 Configure static IP&lt;br /&gt;
 root@radxa:/etc#vim /etc/network/interfaces&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.2.1&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
 3.2 Configure the dhcp server&lt;br /&gt;
 root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
 root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0 &lt;br /&gt;
bind-interfaces &lt;br /&gt;
except-interface=lo  &lt;br /&gt;
dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.3 Make your network faster&lt;br /&gt;
 root@radxa:/etc# '''apt-get install haveged'''&lt;br /&gt;
&lt;br /&gt;
 3.4  Configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0&lt;br /&gt;
ctrl_interface=/var/run/hostapd&lt;br /&gt;
ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
channel=6&lt;br /&gt;
wpa=2&lt;br /&gt;
wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
#bridge=br0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.5 autorun your softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc# vim wifs.sh&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the line befor '''exit'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  . /etc/wifs.sh&lt;br /&gt;
  . /lib/init/vars.sh&lt;br /&gt;
  . /lib/lsb/init-functions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-04T08:23:13Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Configure dhcp server,wifi(user,password),autorun the softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
一.  Prepare works&lt;br /&gt;
&lt;br /&gt;
1.1 Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
二. Compile the driver&lt;br /&gt;
 Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
     root@radxa:/tmp# unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     root@radxa:/tmp# cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp# cd driver&lt;br /&gt;
     root@radxa:/tmp/driver# tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     root@radxa:/tmp/driver# cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# vim Makefile&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
    root@radxa:~# rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko&lt;br /&gt;
    root@radxa:~# cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/&lt;br /&gt;
    root@radxa:~# reboot&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
 三. configure service:&lt;br /&gt;
 3.1 Configure static IP&lt;br /&gt;
 root@radxa:/etc#vim /etc/network/interfaces&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.2.1&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
 3.2 Configure the dhcp server&lt;br /&gt;
 root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
 root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0 &lt;br /&gt;
bind-interfaces &lt;br /&gt;
except-interface=lo  &lt;br /&gt;
dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.3 Make your network faster&lt;br /&gt;
 root@radxa:/etc# '''apt-get install haveged'''&lt;br /&gt;
&lt;br /&gt;
 3.4  Configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0&lt;br /&gt;
ctrl_interface=/var/run/hostapd&lt;br /&gt;
ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
channel=6&lt;br /&gt;
wpa=2&lt;br /&gt;
wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
#bridge=br0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.5 autorun your softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc# vim wifs.sh&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the line befor '''exit'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  . /etc/wifs.sh&lt;br /&gt;
  . /lib/init/vars.sh&lt;br /&gt;
  . /lib/lsb/init-functions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-04T08:20:35Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Configure dhcp server,wifi(user,password),autorun the softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
一.  Prepare works&lt;br /&gt;
&lt;br /&gt;
1.1 Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
二. Compile the driver&lt;br /&gt;
 Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
     root@radxa:/tmp# unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     root@radxa:/tmp# cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp# cd driver&lt;br /&gt;
     root@radxa:/tmp/driver# tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     root@radxa:/tmp/driver# cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# vim Makefile&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
    root@radxa:~# rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko&lt;br /&gt;
    root@radxa:~# cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/&lt;br /&gt;
    root@radxa:~# reboot&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
 三. configure service:&lt;br /&gt;
 3.1 Configure static IP&lt;br /&gt;
 root@radxa:/etc#vim /etc/network/interfaces&lt;br /&gt;
 auto wlan0&lt;br /&gt;
 iface wlan0 inet static&lt;br /&gt;
 address 192.168.2.1&lt;br /&gt;
 netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
 3.2 Configure the dhcp server&lt;br /&gt;
 root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
 root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0 &lt;br /&gt;
bind-interfaces &lt;br /&gt;
except-interface=lo  &lt;br /&gt;
dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.3 Make your network faster&lt;br /&gt;
 root@radxa:/etc# '''apt-get install haveged'''&lt;br /&gt;
&lt;br /&gt;
 3.4  Configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0&lt;br /&gt;
ctrl_interface=/var/run/hostapd&lt;br /&gt;
ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
channel=6&lt;br /&gt;
wpa=2&lt;br /&gt;
wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
#bridge=br0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 3.5 autorun your softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc# vim wifs.sh&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the following befor '''exit'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  . /etc/wifs.sh&lt;br /&gt;
  . /lib/init/vars.sh&lt;br /&gt;
  . /lib/lsb/init-functions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-04T08:01:54Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Build the driver for softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
一.  Prepare works&lt;br /&gt;
&lt;br /&gt;
1.1 Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
&lt;br /&gt;
1.2 [[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
1.3 Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
二. Compile the driver&lt;br /&gt;
 Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
     root@radxa:/tmp# unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     root@radxa:/tmp# cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp# cd driver&lt;br /&gt;
     root@radxa:/tmp/driver# tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     root@radxa:/tmp/driver# cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# vim Makefile&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta# make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
    root@radxa:~# rm /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/8723au.ko&lt;br /&gt;
    root@radxa:~# cp wlan.ko /lib/modules/3.0.36+/kernel/drivers/net/wireless/rtl8723au_lwfinger/&lt;br /&gt;
    root@radxa:~# reboot&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
 root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0 &lt;br /&gt;
bind-interfaces &lt;br /&gt;
except-interface=lo  &lt;br /&gt;
dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0&lt;br /&gt;
ctrl_interface=/var/run/hostapd&lt;br /&gt;
ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
channel=6&lt;br /&gt;
wpa=2&lt;br /&gt;
wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
#bridge=br0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc# vim wifs.sh&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the following befor '''exit 0'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  . /etc/wifs.sh&lt;br /&gt;
  . /lib/init/vars.sh&lt;br /&gt;
  . /lib/lsb/init-functions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-04T07:47:01Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Build the driver for softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
&lt;br /&gt;
[[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
     root@radxa:/tmp#  unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     root@radxa:/tmp#  cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp#  cd driver&lt;br /&gt;
     root@radxa:/tmp/driver#  tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     root@radxa:/tmp/driver#  cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     root@radxa:/tmp/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#  vim Makefile&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
 '''48 CONFIG_PTFORM_ANDROID_X86 = n'''&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
 &lt;br /&gt;
    root@radxa:~#insmod wlan.ko&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# '''apt-get install dnsmasq'''&lt;br /&gt;
 root@radxa:/etc# '''vim dnsmasq.conf'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0 &lt;br /&gt;
bind-interfaces &lt;br /&gt;
except-interface=lo  &lt;br /&gt;
dhcp-range=192.168.2.150,192.168.2.254,12h  #configure the range of available ip&lt;br /&gt;
dhcp-option=3,192.168.2.1  #configure the server&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# '''cp /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf'''&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
interface=wlan0&lt;br /&gt;
ctrl_interface=/var/run/hostapd&lt;br /&gt;
ssid=&amp;quot;user-name&amp;quot;&lt;br /&gt;
channel=6&lt;br /&gt;
wpa=2&lt;br /&gt;
wpa_passphrase=&amp;quot;password&amp;quot;&lt;br /&gt;
#bridge=br0&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc# vim wifs.sh&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the following befor '''exit 0'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot; enclose=&amp;quot;div&amp;quot;&amp;gt;&lt;br /&gt;
  . /etc/wifs.sh&lt;br /&gt;
  . /lib/init/vars.sh&lt;br /&gt;
  . /lib/lsb/init-functions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2015-02-03T12:54:46Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Configure dhcp server,wifi(user,password),autorun the softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rock_header}}&lt;br /&gt;
{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
For the new wifi driver, iwlist will report '''''wlan0     Interface doesn't support scanning'''''. you need to use the new tool '''iw''' instead&lt;br /&gt;
&lt;br /&gt;
    iw dev wlan0 scan&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
&lt;br /&gt;
[[Rock/install toolchain|Install toolchain]].&lt;br /&gt;
&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
     unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
     cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     cd driver&lt;br /&gt;
     tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
     cd rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
     vim Makefile&lt;br /&gt;
&lt;br /&gt;
To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 '''47 CONFIG_PLATFORM_I386_PC = n'''&lt;br /&gt;
 48 CONFIG_PTFORM_ANDROID_X86 = n&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
build wlan.ko&lt;br /&gt;
    make&lt;br /&gt;
&lt;br /&gt;
you will get wlan.ko, copy the wlan.ko to your rock pro board and run&lt;br /&gt;
 &lt;br /&gt;
    root@radxa:~#insmod wlan.ko&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# apt-get install dnsmasq&lt;br /&gt;
 root@radxa:/etc# vim dnsmasq.conf&lt;br /&gt;
 631 interface=wlan0 &lt;br /&gt;
 632 bind-interfaces &lt;br /&gt;
 633 except-interface=lo  &lt;br /&gt;
 634 dhcp-range=192.168.2.150,192.168.2.254,12h  //configure the range of available ip&lt;br /&gt;
 635 dhcp-option=3,192.168.2.1  //configure the server&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc#mv /tmp/RTL8723A_WiFi_/wpa_supplicant_hostapd/rtl_hostapd_2G.conf  /etc/hostapd/hostapd.conf&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
 3 interface=wlan0&lt;br /&gt;
 4 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 '''5 ssid=user-name'''&lt;br /&gt;
 6 channel=6&lt;br /&gt;
 7 wpa=2&lt;br /&gt;
 '''8 wpa_passphrase=password'''&lt;br /&gt;
 9 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc#vim wifs.sh&lt;br /&gt;
 add lines&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the line&lt;br /&gt;
 '''13 . /etc/wifs.sh'''&lt;br /&gt;
 14 . /lib/init/vars.sh&lt;br /&gt;
 15 . /lib/lsb/init-functions&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2014-12-10T03:02:59Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Build the driver for softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
Download the toolchain from the address:&lt;br /&gt;
      if your host is 64bit&lt;br /&gt;
      git clone -b kitkat-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
      if your host is 32bit&lt;br /&gt;
      git clone -b jb-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta#cd driver&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver#tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 root@jimL:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#vim Makefile&lt;br /&gt;
&lt;br /&gt;
1&amp;gt;.To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 '''47 CONFIG_PLATFORM_I386_PC = n'''&lt;br /&gt;
 48 CONFIG_PTFORM_ANDROID_X86 = n&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;.you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
3&amp;gt;.insmod the wlan.ko&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#make&lt;br /&gt;
 root@radxa:~#rmmod wlan.ko&lt;br /&gt;
 root@radxa:~#insmod wlan.ko&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# vim dnsmasq.conf&lt;br /&gt;
 631 interface=wlan0 &lt;br /&gt;
 632 bind-interfaces &lt;br /&gt;
 633 except-interface=lo  &lt;br /&gt;
 634 dhcp-range=192.168.2.150,192.168.2.254,12h  //configure the range of available ip&lt;br /&gt;
 635 dhcp-option=3,192.168.2.1  //configure the server&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
 3 interface=wlan0&lt;br /&gt;
 4 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 '''5 ssid=user-name'''&lt;br /&gt;
 6 channel=6&lt;br /&gt;
 7 wpa=2&lt;br /&gt;
 '''8 wpa_passphrase=password'''&lt;br /&gt;
 9 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc#vim wifs.sh&lt;br /&gt;
 add lines&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the line&lt;br /&gt;
 '''13 . /etc/wifs.sh'''&lt;br /&gt;
 14 . /lib/init/vars.sh&lt;br /&gt;
 15 . /lib/lsb/init-functions&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2014-12-09T13:34:52Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* Configure dhcp server,wifi(user,password),autorun the softAP */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
Download the toolchain from the address:&lt;br /&gt;
      if your host is 64bit&lt;br /&gt;
      git clone -b kitkat-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
      if your host is 32bit&lt;br /&gt;
      git clone -b jb-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta#cd driver&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver#tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 root@jimL:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#vim Makefile&lt;br /&gt;
&lt;br /&gt;
1&amp;gt;.To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 '''47 CONFIG_PLATFORM_I386_PC = n'''&lt;br /&gt;
 48 CONFIG_PTFORM_ANDROID_X86 = n&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;.you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
3&amp;gt;.to install the wlan0.ko&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#make&lt;br /&gt;
 root@radxa:~#rmmod wlan0.ko&lt;br /&gt;
 root@radxa:~#insmod wlan0.ko&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# vim dnsmasq.conf&lt;br /&gt;
 631 interface=wlan0 &lt;br /&gt;
 632 bind-interfaces &lt;br /&gt;
 633 except-interface=lo  &lt;br /&gt;
 634 dhcp-range=192.168.2.150,192.168.2.254,12h  //configure the range of available ip&lt;br /&gt;
 635 dhcp-option=3,192.168.2.1  //configure the server&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
 3 interface=wlan0&lt;br /&gt;
 4 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 '''5 ssid=user-name'''&lt;br /&gt;
 6 channel=6&lt;br /&gt;
 7 wpa=2&lt;br /&gt;
 '''8 wpa_passphrase=password'''&lt;br /&gt;
 9 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc#vim wifs.sh&lt;br /&gt;
 add lines&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc/init.d# vim rc.local &lt;br /&gt;
 add the line&lt;br /&gt;
 '''13 . /etc/wifs.sh'''&lt;br /&gt;
 14 . /lib/init/vars.sh&lt;br /&gt;
 15 . /lib/lsb/init-functions&lt;br /&gt;
 root@radxa:/etc/init.d# reboot&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2014-12-09T13:28:27Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR acts as wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
=====Build the driver for softAP=====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
Download the toolchain from the address:&lt;br /&gt;
      if your host is 64bit&lt;br /&gt;
      git clone -b kitkat-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
      if your host is 32bit&lt;br /&gt;
      git clone -b jb-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta#cd driver&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver#tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 root@jimL:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#vim Makefile&lt;br /&gt;
&lt;br /&gt;
1&amp;gt;.To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
 '''47 CONFIG_PLATFORM_I386_PC = n'''&lt;br /&gt;
 48 CONFIG_PTFORM_ANDROID_X86 = n&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
 '''67 CONFIG_PLATFORM_ARM_RK2818 = y'''&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;.you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
3&amp;gt;.to install the wlan0.ko&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#make&lt;br /&gt;
 root@radxa:~#rmmod wlan0.ko&lt;br /&gt;
 root@radxa:~#insmod wlan0.ko&lt;br /&gt;
&lt;br /&gt;
=====Configure dhcp server,wifi(user,password),autorun the softAP=====&lt;br /&gt;
configure the dhcp server:&lt;br /&gt;
 root@radxa:/etc# vim dnsmasq.conf&lt;br /&gt;
 631 interface=wlan0 &lt;br /&gt;
 632 bind-interfaces &lt;br /&gt;
 633 except-interface=lo  &lt;br /&gt;
 634 dhcp-range=192.168.2.150,192.168.2.254,12h  //configure the range of available ip&lt;br /&gt;
 635 dhcp-option=3,192.168.2.1  //configure the server&lt;br /&gt;
&lt;br /&gt;
configure the wifi(user,password):&lt;br /&gt;
 root@radxa:/etc# vim /etc/hostapd/hostapd.conf&lt;br /&gt;
 3 interface=wlan0&lt;br /&gt;
 4 ctrl_interface=/var/run/hostapd&lt;br /&gt;
 '''5 ssid=user-name'''&lt;br /&gt;
 6 channel=6&lt;br /&gt;
 7 wpa=2&lt;br /&gt;
 '''8 wpa_passphrase=password'''&lt;br /&gt;
 9 #bridge=br0&lt;br /&gt;
&lt;br /&gt;
autorun the softAP:&lt;br /&gt;
&lt;br /&gt;
 root@radxa:/etc#vim wifs.sh&lt;br /&gt;
 add lines&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
 #start the AP service&lt;br /&gt;
 #Start hostapd, and it will automatically be bringed up &lt;br /&gt;
 sudo hostapd -B /etc/hostapd/hostapd.conf&lt;br /&gt;
 #Set ip on wlan0 &lt;br /&gt;
 sudo /sbin/ip addr add 192.168.2.1/24 dev wlan0&lt;br /&gt;
 #Start dnsmasq &lt;br /&gt;
 sudo /usr/sbin/service dnsmasq start&lt;br /&gt;
 #Start ip_forward &lt;br /&gt;
 sudo echo 1 &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;br /&gt;
 #add iptables rule for NAT &lt;br /&gt;
 sudo /sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;br /&gt;
 #start haveged&lt;br /&gt;
 sudo /etc/init.d/haveged start&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rock/Wireless</id>
		<title>Rock/Wireless</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rock/Wireless"/>
				<updated>2014-12-09T11:48:32Z</updated>
		
		<summary type="html">&lt;p&gt;Jim: /* AP mode(RR acts as wireless router) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|rock/Wireless}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Before start ==&lt;br /&gt;
The Radxa Rock provides various ways to connect, wired and wireless. The full version has wifi and bluetooth on board, and lite version has wifi only. Both module are connect to the cpu via the USB interface.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Android ==&lt;br /&gt;
&lt;br /&gt;
The wifi and bluetooth(if has) works out of the box, check out in the Setting to configure it.&lt;br /&gt;
&lt;br /&gt;
== Using wireless under Linux ==&lt;br /&gt;
=== Wifi ===&lt;br /&gt;
The model number of the module on RR and RR lite is RTL8723AU on RR full version and RTL8188ETV on lite version. You can see the id of the module with the following command on RR:&lt;br /&gt;
&lt;br /&gt;
    sudo apt-get install usbutils&lt;br /&gt;
    lsusb&lt;br /&gt;
&lt;br /&gt;
For RR full version the output is &lt;br /&gt;
    root@radxa:~# lsusb&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB&lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0724 Realtek Semiconductor Corp.&lt;br /&gt;
on lite version, the output is:&lt;br /&gt;
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub                  &lt;br /&gt;
    Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB         &lt;br /&gt;
    Bus 002 Device 003: ID 0bda:0179 Realtek Semiconductor Corp.    &lt;br /&gt;
The 0bda:0724 is the id of rtl8723 modlue, the 0bda:0179 is the id of rtl8188etv module.&lt;br /&gt;
&lt;br /&gt;
==== Desktop ====&lt;br /&gt;
    Go to Start menu -&amp;gt; Perference -&amp;gt; Network Connections -&amp;gt; wifi, choose the wifi network you want to join and click edit -&amp;gt; wifi security, input the wifi password and save. Then click the right corner to join your wifi network.&lt;br /&gt;
&lt;br /&gt;
==== Manually connect with Network Manager ====&lt;br /&gt;
&lt;br /&gt;
You can use '''nmcli''' (Network Manager Command Line Interface) to configure your network interfaces.&lt;br /&gt;
&lt;br /&gt;
'''List wireless networks'''&lt;br /&gt;
 # nmcli dev wifi list&lt;br /&gt;
 SSID                              BSSID               MODE             FREQ       RATE       SIGNAL   SECURITY   ACTIVE  &lt;br /&gt;
 'MY-ACCESS-POINT'                 12:34:56:78:90:AB   Infrastructure   2412 MHz   44 MB/s    100      WPA WPA2   yes&lt;br /&gt;
 'OTHER-ACCESS-POINT'              34:12:78:56:AB:90   Infrastructure   2416 MHz   54 MB/s    70       WPA WPA2   yes&lt;br /&gt;
&lt;br /&gt;
'''Connect to your wireless network'''&lt;br /&gt;
 # nmcli dev wifi connect MY-ACCESS-POINT password MY-PASSWORD&lt;br /&gt;
&lt;br /&gt;
'''List network devices'''&lt;br /&gt;
 # nmcli device&lt;br /&gt;
 DEVICE     TYPE              STATE        &lt;br /&gt;
 wlan1      802-11-wireless   connected    &lt;br /&gt;
 eth0       802-3-ethernet    unavailable&lt;br /&gt;
&lt;br /&gt;
'''List saved networks'''&lt;br /&gt;
 # nmcli connection&lt;br /&gt;
 NAME                      UUID                                   TYPE              TIMESTAMP-REAL                    &lt;br /&gt;
 MY-ACESS-POINT            a2301195-5c6a-4000-adc5-dd388a58822e   802-11-wireless   Tue 15 Apr 2014 10:30:30 PM UTC   &lt;br /&gt;
 OTHER-ACCESS-POINT        83202209-1328-4e85-b7fa-e8c4a902e9ef   802-11-wireless   never                             &lt;br /&gt;
 Wired connection 1        413fdf5a-27bf-4f88-93c5-a4da394e20ce   802-3-ethernet    Tue 15 Apr 2014 10:10:33 PM UTC   &lt;br /&gt;
 Auto Ethernet             e96a5543-1235-4497-9e10-b431f588a94d   802-3-ethernet    Fri 14 Mar 2014 11:36:21 AM UTC   &lt;br /&gt;
&lt;br /&gt;
==== Manually config to connect wireless router ====&lt;br /&gt;
To use RR(lite) to connect to your wireless router, you need to do the following:&lt;br /&gt;
    sudo apt-get install wireless-tools&lt;br /&gt;
    sudo apt-get install wpasupplicant&lt;br /&gt;
    '''sudo ifconfig wlan0 up'''&lt;br /&gt;
&lt;br /&gt;
If you are unable to bringup wlan0, mean drivers are not installed. Follow this step to add driver. Assumes you have net connection thru ethernet, else download and move&lt;br /&gt;
    sudo mkdir -p /lib/modules &amp;amp;&amp;amp; cd /lib/modules&lt;br /&gt;
    sudo wget http://dl.radxa.com/rock/images/ubuntu/partitions/modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo tar zxvf modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo rm modules_3.0.36+_14-04-12.tar.gz&lt;br /&gt;
    sudo modprobe 8723au&lt;br /&gt;
&lt;br /&gt;
now you should see wlan0 by ifconfig&lt;br /&gt;
&lt;br /&gt;
Now you can view is the wifi module works by scanning the AP nearby&lt;br /&gt;
&lt;br /&gt;
    iwlist wlan0 scan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
edit /etc/wpa_supplicant.conf&lt;br /&gt;
    ctrl_interface=/var/run/wpa_supplicant&lt;br /&gt;
    network={&lt;br /&gt;
    	ssid=&amp;quot;your ssid name&amp;quot;&lt;br /&gt;
    	psk=&amp;quot;your wireless password&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
and then run&lt;br /&gt;
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf &lt;br /&gt;
to connect to the wireless router.&lt;br /&gt;
&lt;br /&gt;
run the following to get an IP from the router.&lt;br /&gt;
    dhclient wlan0&lt;br /&gt;
&lt;br /&gt;
If you want to set the RR to connect to the wireless router automatically every time it boot up. Add the following to the  '''/etc/network/interfaces'''&lt;br /&gt;
    auto wlan0&lt;br /&gt;
    iface wlan0 inet dhcp&lt;br /&gt;
    wpa-conf /etc/wpa_supplicant.conf&lt;br /&gt;
&lt;br /&gt;
==== AP mode(RR acts as wireless router) ====&lt;br /&gt;
Download the source driver from the address:&lt;br /&gt;
      wget http://dl.radxa.com/rock/source/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
Download the toolchain from the address:&lt;br /&gt;
      if your host is 64bit&lt;br /&gt;
      git clone -b kitkat-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
      if your host is 32bit&lt;br /&gt;
      git clone -b jb-release --depth 1 https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6&lt;br /&gt;
Download the kernel from the address:&lt;br /&gt;
      git clone -b radxa-stable-3.0 https://github.com/radxa/linux-rockchip.git&lt;br /&gt;
      or download here&lt;br /&gt;
      http://pan.baidu.com/s/1jfOTo  (china)&lt;br /&gt;
Attention please： first,ensure your kernel has been compiled&lt;br /&gt;
&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#unrar x RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta.rar&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk#cd RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta#cd driver&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver#tar zxvf rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta.tar.gz&lt;br /&gt;
 root@jimL:/media/jim/rmdisk/RTL8723A_WiFi_linux_v4.1.7_8023_BTCOEX20130528_ver3.3_beta/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#vim Makefile&lt;br /&gt;
&lt;br /&gt;
1&amp;gt;.To select target platform for compilation，Only one entry is allowed to be set with value ‘y’ and others with ‘n’ ：&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;  highlight=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
47 CONFIG_PLATFORM_I386_PC = n&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 48 CONFIG_PLATFORM_ANDROID_X86 = n&lt;br /&gt;
 49 CONFIG_PLATFORM_JB_X86 = n&lt;br /&gt;
 ...&lt;br /&gt;
 ...&lt;br /&gt;
 66 CONFIG_PLATFORM_ARM_TCC8920_JB42 = n&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;  highlight=&amp;quot;1&amp;quot;&amp;gt;&lt;br /&gt;
67 CONFIG_PLATFORM_ARM_RK2818 = y&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 68 CONFIG_PLATFORM_ARM_URBETTER = n&lt;br /&gt;
&lt;br /&gt;
2&amp;gt;.you should modify the corresponding entry inside platform setting section&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;make&amp;quot;&amp;gt;&lt;br /&gt;
603 ARCH := arm&lt;br /&gt;
604 CROSS_COMPILE := arm-eabi-&lt;br /&gt;
605 KSRC := /media/jim/radxa_rock_linux/linux-rockchip&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
 ARCH&lt;br /&gt;
 The ARCH is used to specify the architecture of the target platform CPU.&lt;br /&gt;
 CROSS_COMPILE&lt;br /&gt;
 The CROSS_COMPILE is used to specify the toolchain prefix used for driver compilation.&lt;br /&gt;
 KSRC&lt;br /&gt;
 The KSRC is used to specify the path of kernel source used for driver compilation&lt;br /&gt;
&lt;br /&gt;
3&amp;gt;.to install the wlan0.ko&lt;br /&gt;
 root@jim-L:/media/jim/rmdisk/RTL8723A_WiFi_/driver/rtl8723A_WiFi_linux_v4.1.7_8023.20130628_BTCOEX20130528_ver3.3_beta#make&lt;br /&gt;
 root@radxa:~#rmmod wlan0.ko&lt;br /&gt;
 root@radxa:~#insmod wlan0.ko&lt;br /&gt;
&lt;br /&gt;
=== Bluetooth ===&lt;br /&gt;
to get the driver:&lt;br /&gt;
&lt;br /&gt;
   git clone https://github.com/lwfinger/rtl8723au_bt&lt;br /&gt;
&lt;br /&gt;
To compile the driver, you need to have compiled your own Kernel like described in &lt;br /&gt;
  http://wiki.radxa.com/Rock/Booting_Linux&lt;br /&gt;
&lt;br /&gt;
Then on your Linux host computer you will find a directory &amp;quot;/lib/modules/3.0.36+/&amp;quot; containing a &amp;quot;kernel&amp;quot; directory and two symbolic links called &amp;quot;build&amp;quot; and &amp;quot;source&amp;quot; to your Rockchip kernel source directory (originally called &amp;quot;rockchip-3.0&amp;quot;) wherever you downloaded it to. This is the prerequisite for compiling rockchip modules.&lt;br /&gt;
&lt;br /&gt;
Then change into the bluetooth driver directory rtl8723au_bt and edit the textfile called &amp;quot;Makefile&amp;quot;.&lt;br /&gt;
My &amp;quot;Makefile&amp;quot; now looks like this, I marked the changes bold:&lt;br /&gt;
&lt;br /&gt;
  FW_DIR	:= '''/lib/firmware/rtk_bt'''&lt;br /&gt;
  MDL_DIR	:= '''/lib/modules/3.0.36+'''&lt;br /&gt;
  DRV_DIR	:= $(MDL_DIR)/kernel/drivers/bluetooth&lt;br /&gt;
      &lt;br /&gt;
  ifneq ($(KERNELRELEASE),)&lt;br /&gt;
      &lt;br /&gt;
         obj-m := rtk_btusb.o&lt;br /&gt;
      &lt;br /&gt;
  else&lt;br /&gt;
     PWD := $(shell pwd)&lt;br /&gt;
     KVER := '''&amp;quot;3.0.36+&amp;quot;'''&lt;br /&gt;
     KDIR := '''/lib/modules/3.0.36+/build'''&lt;br /&gt;
       &lt;br /&gt;
  all:&lt;br /&gt;
     $(MAKE) -C $(KDIR) M=$(PWD) modules&lt;br /&gt;
    &lt;br /&gt;
      &lt;br /&gt;
  clean:&lt;br /&gt;
      rm -rf *.o *.mod.c *.mod.o *.ko *.symvers *.order *.a&lt;br /&gt;
  endif&lt;br /&gt;
      &lt;br /&gt;
  install:&lt;br /&gt;
       mkdir -p $(FW_DIR)&lt;br /&gt;
       cp -f rlt8723a_chip_b_cut_bt40_fw_asic_rom_patch-svn8511-0x0020342E-20121105-LINUX_USB.bin $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       cp -f rtk_btusb.ko $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       '''#depmod -a $(MDL_DIR)''''&lt;br /&gt;
       '''#echo &amp;quot;install rtk_btusb success!'''&lt;br /&gt;
       &lt;br /&gt;
  uninstall:&lt;br /&gt;
       rm -f $(DRV_DIR)/rtk_btusb.ko&lt;br /&gt;
       depmod -a $(MDL_DIR)&lt;br /&gt;
       rm -f $(FW_DIR)/rtk8723a.bin&lt;br /&gt;
       echo &amp;quot;uninstall rtk_btusb success!&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then do &lt;br /&gt;
  export ARCH=arm&lt;br /&gt;
  export CROSS_COMPILE=arm-linux-gnueabihf-&lt;br /&gt;
  make&lt;br /&gt;
  sudo make install&lt;br /&gt;
&lt;br /&gt;
After that copy the following files from the host system into the same folder on Radxa Rock:&lt;br /&gt;
  /lib/firmware/rtk_bt/rtk8723a.bin&lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth/rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Last on Radxa Rock system change into the folder &lt;br /&gt;
  /lib/modules/3.0.36+/kernel/drivers/bluetooth &lt;br /&gt;
&lt;br /&gt;
and enter the command&lt;br /&gt;
  sudo insmod rtk_btusb.ko&lt;br /&gt;
&lt;br /&gt;
Now &amp;quot;hcitool dev&amp;quot; recognizes the adapter (hci0) and &amp;quot;hcitool scan&amp;quot; finds remote bluetooth devices.&lt;br /&gt;
But I could not get any device to pair. Any ideas appreciated.&lt;br /&gt;
&lt;br /&gt;
Alex&lt;br /&gt;
letux@arcor.de&lt;/div&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	</feed>