Needless to say, Raspberry Pi deployed in the intranet, then there is no public IP address, how to make FTP file transfer through the external network? Today, we will tell you how to use the port mapping of peanut rods combined with raspberry sent to solve this problem.Here's how it works:1, connected peanut stick2. Lo
configurationdriver=rtl871xdrvieee80211n=1Hw_mode=Gdevice_name=Rtl8192cumanufacturer=realtekThird, DHCP1. Install the DHCP service to assign IP to each access devicesudo Install Isc-dhcp-server2. Edit the configuration filesudo nano/etc/dhcp/dhcpd.conf3, set the gateway and other information, here is the use of 10.38.10.1default-lease- Time -; Max-lease- Time 7200; log-facility LOCAL7; subnet10.38.10.0Netmask255.255.255.0{Range10.38.10.10 10.38.10.1
best to ensure that the file contents are shown below.Auto LoIface Lo inet LoopbackIface eth0 inet DHCPAuto Wlan0Allow-hotplug Wlan0Iface Wlan0 inet ManualWpa-roam/etc/wpa_supplicant/wpa_supplicant.confIface Default inet DHCPIf you do not want to set the DHCP dynamic IP, you can also set the static IP, the file contents are as follows:Auto LoIface Lo inet LoopbackIface eth0 inet DHCPAllow-hotplug Wlan0Ifac
The use of academic exchanges, small partners do not mess with OHRaspberry Pi a TP mini network card a 8187L Carro (a treasure boss no 3070) TF card One (8G or more)3070 smaller and Raspberry Pi better fit or use omni-directional antennas This time, I'm using orientation.Use TP Mini Card to do AP a 5V2A charging treasure a small schoolbag in the schoolbag it is b
, to play on their own OK, really is to do the Web server to use, or pretty tough.
Can do, more than 200 dollars to fix, the process is quite fun
The CPU is a bit hard, but it can
Oneself by a Raspberry Pi server running at home to indicate static no problem dynamic on ...
Practice can run from WordPress. The main bottleneck is memory.
Cannot withstand industrial-grade loads, but as a learning and
Objective
Last year's Raspberry Pi has been in the drawer to eat ash, the previous array of Debian 9 released, there is no accidental support for the Raspberry Pi.
Then re-took out the card reader and re-installed on the Debian Desktop version of the system.
Introduced
Now this thing is just a little bit more about Py
Use SFTP to manage files on Raspberry Pi
SFTP (SSH File Transfer Protocol) is a network protocol that provides SSH-based file access, file transfer, and file management methods.
With SFTP, you can easily modify, browse, and edit files on Raspberry Pi. SFTP is easier to configure than FTP, because Raspbian has enabled
"/" that is, for example, the IP address of the Raspberry Pi is: 192.168.0.10
That with http://192.168.0.10:8080 access to our "/" route (bottle default port is 8080)
Similarly, the path to the second route is "/cmd", which means that access to Http://192.168.0.10:8080/cmd accesses the second route
The last sentence: run (host = "0.0.0.0") is called the bottle R
The first thing we think of about Linux Web servers is:Apache + MySql + Php.
Apache: is the world's first Web server software to use.
Can run on almost all widely used computer platforms, and is the most popular Web server-side software because of its widespread use across platforms and security.
MySQL: is a relational database management system developed by the Swedish MySQL AB company. is the most popular relational database management system, MySQL is one of the best RDBMS (r
This is a creation in
Article, where the information may have evolved or changed.
Overview
Self-build Git service solution There are many, yesterday I built a gitlab on the server, yes Gitlab is very powerful, the function is very complete, but installed in the Raspberry Pi card, installed on my VPS also very card, so I think of Gitea, although the function is not particularly powerful, but very complete,
./mjpg_streamer-i"./input_uvc.so"-o"./output_http.so -w ./www"
The instructions for starting the Raspberry Pi dedicated camera Raspicamera are:
1
./mjpg_streamer-i"./input_raspicam.so"-o"./output_http.so -w ./www"
Some cameras will have an error when executing this command, at least if you do not return to the command prompt at the end, and display "starting
Linux dual-Nic intranet/Internet settings (Raspberry Pi) Raspberry Pi dual-Nic internet/intranet settings, there are the following methods. 1) use a wired network to connect a PC to a gateway. 2) the other is wired to the intranet and wireless to the Internet. Www.2cto.com, even if there are multiple NICs in the config
that the network is connected well从终端登陆树莓派,配置网络:利用网线,将树莓派和路由器连接起来:进入192.168.1.1查看已经连接的设备(因为在这里使用的是别人的路由器,而他的路由器和Mac地址绑定,所以在我的电脑上不能打开192.168.1.1 网页),但是可以通过ifconfig命令查看树莓派绑定的 ip 地址:在树莓派端证明网络已经连接成功,在树莓派端输入:ping www.baidu.com在PC 端证明网络已经连接,在PC 端输入: ping 192.168.1.1055, see a number of different ports landing, and run the Linux write to communicate6. Select and install the cross-compilation environment on the PC下载ARM GNU Linux编译工具链:[https://github.com/down
the following two lines of code:http. Handle ("/", HTTP. Fileserver (http. Dir ("HTML")))http. Listenandserve ("0.0.0.0:8080", nil)Step 4: The target environment is modified to CROSS-ARM6, according to "Ctrl+b" compiled, the generated execution file is the source directory "Test", no suffixStep 5: Copy "Test" to your arm Development Board (Raspberry Pi Raspberrypi, Orange pie Orangepi), and authorize: sudo
IP address based on the MAC address.
Router Query MethodIf you have the permission to log on to a vro (such as a home network), you can directly query the IP address assigned by the vro to the access control card on the vro management interface.
2.2 front-end controller card reading display and uploading
Log on to the front-end access control panel. The IP addr
Deployment of Zen Road management system using Raspberry PiApt-get Install Apache2Apt-get Install PHP5Apt-get Install Mysql-serverApt-get Install Mysql-clientApt-get Install Php5-mysqlAfter completing the above, reboot your system, rebootThis will see the detailed process ... To test the Apache server, you can see the IP address of your own Raspberry Pi.Cd/var/ww
configuration files are written
/var/~/var/run/php5-
The path location is written in path_info forwarding. change location
location ~ .*\.php(\/.*)*$
You can solve the problem.
5. The Intranet access is normal. The typecho homepage accessed through the dynamic domain name of the peanut shell is completely white. The CSS file cannot be loaded and the second-level webpage cannot be opened.
In WordPress, there is a blog address setting that can be used to regulate the pointing and forwarding of se
same as the previous cont.
routines, Ssh+vnc.
Now the small partners, whether it is the network cable straight, or WiFi hotspot we are connected to small pi, in order to later we can the small Pi overlord the bow, we have to prepare some tools--ssh and VNC. reason: ssh+vnc simple rough Connection Small pi Brief Introduction: No, oneself Baidu a bit ~ Tools: Sma
=6800Continue=trueInput-file=/etc/aria2/aria2.sessionSave-session=/etc/aria2/aria2.sessionMax-concurrent-downloads=3Start aria2Test$ aria2c--conf-path=/etc/aria2/aria2.conf-d background Run$ vi/etc/rc.local boot upAdd sudo aria2c--conf-path=/etc/aria2/aria2.conf-dInstalling AppacheApt-get Install Apache2-ychmod 777/var/wwwInstalling YAAWDownload the Yaaw and copy the contents of the extracted folder to the/var/www folder after downloading.In the browser input to the
(decorated with @ post)
The first route is very simple, that is, reading the index template (the template is html) and sending it to the client (browser), because the path is "/", that is, for example, the IP address of Raspberry Pi is 192.168.0.10.
Use http: // 192.168.0.10: 8080 to access our "/" route (the default port of the bottle is 8080)
Similarly, the se
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.