Learning log-OpenWrt install Python and then Wallproxy

Source: Internet
Author: User

Premise:

-first to plug the USB stick into the router port, in most cases openwrt will automatically mount it, try to find the current year or the previous year's firmware. SSH into the router, you can see the/MNT/SDA1

-Make the router networked because the installation package needs to be downloaded from the network, and (of course, it can be downloaded in advance to/tmp to install ...) )

2. Python-Installed commands
mkdir/mnt/sda1/packages/
echo dest usb/mnt/sda1/packages/>>/etc/opkg.conf
OPKG Update
Opkg-dest usb Install Python Pyopenssl python-openssl


# "Optional" when the document is ready to complete
Cp-r/mnt/sda1/local//


# Configure Wallproxy
# # 1. Get GAE, done

# # 2. Download wallproxy to U disk

# # 3. Run:/mnt/sda1/packages/usr/bin/python2.7/local/startup.py &
-/mnt/sda1/packages/usr/bin/python2.7/mnt/sda1/local/startup.py &

# # 4. Upload:/mnt/sda1/packages/usr/bin/python2.7/mnt/sda1/server/uploader.py


# Upload before you modify the following configuration file parameters:
-IP = 0.0.0.0:8087
-***1|***2/* Enter the GAE app name*/
-* * * @gmail. com/* Enter appengine/gmail account*/
-XXX/* Enter password*/

# # 5. Update Proxy.ini with in Router, by:i.e. 192.168.1.1:8087
-Listen on 0.0.0.0
-uploaded appids.
-Update to open router ' s firewall


# # 6.
# Last Run
/mnt/sda1/packages/usr/bin/python2.7/local/startup.py &
Or:/mnt/sda1/packages/usr/bin/python2.7/mnt/sda1/local/startup.py &


# # 7. Import CA.CRT for browser

# # [Troubleshoot] on gae:https://appengine.google.com/, is the app running properly?
-Is it because 2-step verification is:off
-After using the SSH proxy link on the URL, check that the app is OK, is it because the router in cmd can't link to appengine.google.com? How to give it a router agent? Used to complete upload
-2014SEP30, with the agent to complete the upload, with the Mac to complete the upload ... Continue to try resolved because of security setup, been defaulted
-Account granted Permissions app and website view all
Access rights for apps that are not secure
[Enabled] Setting
-Need to enable this

Learning log-OpenWrt install Python and then Wallproxy

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.