-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRaspberry Pi.txt
112 lines (91 loc) · 2.86 KB
/
Raspberry Pi.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
####################################################################################################
####################################################################################################
#####
##### START
#####
####################################################################################################
####################################################################################################
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%
%%%%% Various Settings
%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
gpu_mem=384
config_hdmi_boost=7
hdmi_drive=2
overscan_left=32
overscan_right=32
overscan_top=32
overscan_bottom=32
overscan_scale=1
disable_splash=1
arm_freq=1000
core_freq=500
sdram_freq=500
over_voltage=2
force_turbo=1
max_usb_current=1
%%%%%%%%%%%%%%%%%%%%
%%%%% Situations
%%%%%%%%%%%%%%%%%%%%
- Use overscan values on non-LCD TV
- Overclock settings on all Pis
- GPU mem on all Pis
- HDMI Boost on TVs where blanking and other weird stuff happens (VIZIO)
- HDMI drive on RetroPie
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%
%%%%% OpenELEC NAS Mount
%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ssh [email protected] (password: openelec)
nano '/storage/.config/system.d/storage-NAS.mount'
--------------
[Unit]
Description=cifs mount script
Requires=network-online.service
After=network-online.service
Before=kodi.service
[Mount]
What=//192.168.1.157/Espionage724/Media
Where=/storage/NAS
Options=username=Espionage724,password=CHANGE,rw
Type=cifs
[Install]
WantedBy=multi-user.target
--------------
systemctl enable storage-NAS.mount
sync
exit
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%
%%%%% RetroPie NAS Mount
%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ssh [email protected]. (password: raspberry)
sudo nano '/etc/fstab'
--------------
# NAS
//192.168.1.157/Espionage724/Media/RetroPie /home/pi/RetroPie cifs auto,uid=pi,credentials=/home/pi/.smbcredentials,iocharset=utf8,sec=ntlmv2 0 0
--------------
nano '/home/pi/.smbcredentials'
--------------
username=Espionage724
password=PASSWORD
--------------
chmod 600 '/home/pi/.smbcredentials'
sync
exit
####################################################################################################
####################################################################################################
#####
##### END
#####
####################################################################################################
####################################################################################################