<?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/index.php?action=history&amp;feed=atom&amp;title=Rock%2FWireless%2FAP_mode_manually</id>
		<title>Rock/Wireless/AP mode manually - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rock%2FWireless%2FAP_mode_manually"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock/Wireless/AP_mode_manually&amp;action=history"/>
		<updated>2026-06-14T09:10:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock/Wireless/AP_mode_manually&amp;diff=1546&amp;oldid=prev</id>
		<title>Jim: /* Prepare works */</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock/Wireless/AP_mode_manually&amp;diff=1546&amp;oldid=prev"/>
				<updated>2015-02-23T01:57:01Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Prepare works&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 01:57, 23 February 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd wpa_supplicant_hostapd/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd wpa_supplicant_hostapd/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; tar xzf wpa_supplicant_hostapd-0.8_rtw_r7048.20130424.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; tar xzf wpa_supplicant_hostapd-0.8_rtw_r7048.20130424.tar.gz&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd wpa_supplicant_hostapd-0.8_rtw_r7048.20130424/&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cd wpa_supplicant_hostapd-0.8_rtw_r7048.20130424/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;hostapd&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; make&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; make&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sudo make install&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; sudo make install&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rock/Wireless/AP_mode_manually&amp;diff=1541&amp;oldid=prev</id>
		<title>Hipboi: Created page with &quot;==== AP mode(RR acts as wireless router) ====  Below is how to manually configure wifi as AP mode on RR.  ====Prepare works====  1.1 Compile hostapd   wget http://dl.radxa.com...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rock/Wireless/AP_mode_manually&amp;diff=1541&amp;oldid=prev"/>
				<updated>2015-02-07T09:18:28Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==== AP mode(RR acts as wireless router) ====  Below is how to manually configure wifi as AP mode on RR.  ====Prepare works====  1.1 Compile hostapd   wget http://dl.radxa.com...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&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/&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>Hipboi</name></author>	</entry>

	</feed>