Homemade Wifipineapple (ii)

Source: Internet
Author: User

There are some problems with the wifipineapple of the last blog post, such as plugins cannot be upgraded

Find a simpler way to transplant by looking up data


Original link: http://www.hypn.za.net/blog/2013/06/30/tp-link-tl-wr703n-router-as-a-wifi-pineapple/


Preparation tools:

#1 Wireless Portable 3G Router

Description: The router needs to meet several requirements: 1, configure USB port 2, flash storage is greater than 4M 3, can be brushed openwrt.

Recommended tl-wr703n/tl-wr720n,703n use of people seem more, foreign tutorials are in use, and there are OPENWRT official firmware package, 720N is not a problem, because the author uses wr720n to do the test, so the following wr720n operations prevail.

#2 SanDisk (SanDisk) Cool Beans (CZ33)

This is not advertising, if you can find a smaller than he is more suitable for long-term hanging router on the USB stick of course it's better.


First step: Brush OpenWrt


This step is very flexible, you can follow the model of their own routers to brush different versions of the OpenWrt.

Official link:http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/


Step Two: system make WiFi Pineapple USB

Download the official firmware,

Download Link: Https://wifipineapple.com/?downloads&version=mk4

UNSQUASHFS Decompression Release Firmware

Format the USB drive in 2GB format to swap (SDA1) for the remainder of the format EXT4 (SDA2)

Copy the contents of the firmware package to the USB drive.


Step three : router external USB flash drive


First you need to install the software to enable routing support for mount and to identify EXT4 format USB storage:

SSH access to device ssh 192.168.0.1

Enter the root password to log in

And then click Execute

opkg update
opkg install kmod-usb-storage
opkg install kmod-fs-ext4
opkg install block-mount

Then plug the USB drive into the router and do the following:

mkdir-p/mnt/sda2
mount/dev/sda2/mnt/sda2
mkdir-p/tmp/cproot
Mount--bind//tmp/cproot
tar-c/TMP/CPROOT-CVF-. | tar-c/MNT/SDA2-XF-
Umount/tmp/cproot
umount/mnt/sda2


/etc/init.d/fstab enable
/etc/init.d/fstab start


Vi/etc/config/fstab//Change as follows

Config Mount
option Target/
option Device/dev/sda2
option Fstype Ext4
option Options Rw,sync
option enabled 1
option Enabled_fsck 0

Config swap
option DEVICE/DEV/SDA1
option enabled 1

Restart the device after saving

Reboot



Fourth Step : Modify the adjustment configuration file

Copy the original firmware uhttpd, php.ini configuration file to the corresponding directory

Modify the software source to: http://cloud.wifipineapple.com/mk5/packages

Reinstall Configuration Components


Reboot completes the migration operation.




This article is from the "m4tr1x" blog, make sure to keep this source http://matr1x.blog.51cto.com/6698309/1538742

Contact Us

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

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

A Free Trial That Lets You Build Big!

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

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

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