Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize Wireless Network and remote Desktop in Raspberry Pie

2025-02-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to realize wireless network and remote desktop in raspberry pie, which has certain reference value. Interested friends can refer to it. I hope you will learn a lot after reading this article. Let's take a look at it.

First, set up wireless

The wireless network at home is hidden from SSID, so raspberry pie can't be found directly.

A network configuration file needs to be modified, and the contents of the commands and modifications are as follows:

$sudo nano / etc/network/interfacesauto loiface lo inet loopbackiface eth0 inet dhcpauto wlan0allow-hotplug wlan0iface wlan0 inet dhcp wpa-ssid "your wifi name" wpa-psk "your wifi password"

When the modification is complete, write to the file using ctrl+o, and then ctrl+X exits the editor.

Restart the network by calling the following command:

$sudo / etc/init.d/networking restart

You can set up your router at home and bind it with a fixed IP, such as 192.168.0.108, to the wireless MAC address of the raspberry pie, so that each time the raspberry pie restarts, you will get a fixed IP address.

Second, configure remote Desktop

Tightvncserver needs to be installed in raspberry pie with the following command:

$sudo apt-get install tightvncserver

The first time you run tightvncserver, you will be prompted to set the access password, which seems to be no more than 8 characters. Just follow the prompt. I can't remember it clearly. Then enter the following command to specify the resolution of the output desktop.

Tightvncserver-geometry 1024x768

Next on the windows side, I use win7 64bit, and the software I need to use is as follows:

PuTTY: this Baidu is easy to find, http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

TightVNC: open source software, also easy to find, http://www.tightvnc.com/

The use of PuTTY is very simple, basically enter the IP address of the raspberry pie, other settings do not need to change, click Open. You will be prompted to enter your account number and password. The default account number for raspberry pie is pi, and the default password is raspberry. You can also save this connection setting before clicking open, and you don't need to enter an IP address next time.

Download and install TightVNC, remember to choose to install TightVNC Viewer, do not install TightVNC server. Open TightVNC Viewer and enter the IP address of the raspberry pie. The default port number is 5900. Others do not need to be modified, just click Connect.

There will be a prompt box that requires you to enter the tightvnc password you set in the raspberry pie, and then you can access the raspberry pie desktop in your Windows system.

Let the raspberry pie boot automatically run tightvncserver, I have not implemented, basically should be to modify the / etc/rc.local file.

Thank you for reading this article carefully. I hope the article "how to realize Wireless Network and remote Desktop in Raspberry Pie" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report