[Original] 24 hours for new Raspberry Pi and 24 hours for new Raspberry Pi
[Connection]
I bought Raspberry Pi.3-generation B, With Bluetooth and wifi, RS is the original English version. The cutting process of the board is general. There are several burrs on the side of GPIO. I have to count the process of consuming electronic manufacturing (not designing.
Plug in the TF card, connect Raspberry Pi and TV with an HDMI cable, and connect to the power interface of Raspberry Pi sub with an android charger. After the instance is started, the system is directly started and the console configuration interface is not displayed. Therefore, no keyboard is required during this process.
Connect the USB wireless mouse to test the availability (Logitech M505 ).
Next, connect to the Wi-Fi router. The password is incorrect because there is no keyboard. Open your browser, and the browser will display a large number of English characters, such as being unable to connect. I copied the characters from the above and pasted them into the Password box. It was slow but it solved the problem.
After connecting to WIFI, the IP address of Raspberry Pi is displayed on the tray icon.
[SHH]
With the IP address, you can use SSH. Use putty to connect to SHH:
User name: pi
Password: raspberry
A dialog box will pop up during the first connection to talk nonsense. Just click OK.
Disable standby]
However, in this case, the monitor cannot be disconnected, because Raspberry Pi enters the standby mode after a while and SHH is disconnected. Disable the standby mode.
First enable the root account:
$ sudo passwd root$ sudo passwd --unlock rootroot# cd /etc/profile.droot# vi screen.sh
Input content:
xset dpms 0 0 0xset s off
Save and exit.
root# chmod +x screen.shroot# reboot
Restart the instance.
[Use a USB microphone]
I also bought a USB microphone. The recording command is:
$ arecord -D 'plughw:1,0' -d 5 filename.wav
Among them, plughw: is the code of the external device (plug hardware), 5 is the meaning of 5 seconds.
In the middle of the recording, press ctrl + C to exit.
To play the wav file, you can use the built-in omxplayer:
$ Omxplayer-o hdmi (or local) filename.wav
I followed the HDMI, so I used the TV speaker to output the sound. If the parameter is local, I would need to plug the headset into Raspberry Pi's multimedia outlet.
In addition, the command to kill a process is:
ps -A | grep proccess_name
List all processes and find the pid of the proccess_name process.
kill ####
##### Enter the pid Number
Remote Desktop]
Finally, I want to configure a remote desktop to control Raspberry Pi with the mouse and keyboard of another computer.
Install xrdp first:
$ sudo apt-get install xrdp$ sudo /etc/init.d/crdp restart
Then open the built-in remote desktop software under win7, select the first xorg in Listbox, enter the user name pi and password raspberry, and then log on to the system.
[Chinese font]
Select the config menu item and set the language to Chinese. garbled characters are displayed. Download Chinese fonts:
$ sudo apt-get install ttf-wqy-zenhei
Then restart and OK.
So far, you can only use SHH and remote desktop to operate Raspberry Pi. You can unplug the HDMI cable from the TV.