forked from MichaIng/DietPi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdietpi.txt
224 lines (180 loc) · 8.57 KB
/
dietpi.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
#Modifications to /boot/* files, will not be saved when powered on.
#Please ensure you edit from the DietPi-RamDisk location /DietPi/*
#------------------------------------------------------------------------------------------------------
# D I E T - P I
# 1st run settings
# All settings below will be applied on the 1st boot of DietPi, ONCE.
#------------------------------------------------------------------------------------------------------
# >> Networking Options -----------------------------
#If both Ethernet and Wifi are enabled, Wifi will take priority and Ethernet will be disabled.
# 1=enabled
Ethernet_Enabled=1
Wifi_Enabled=0
#Enter your Wifi details below, if applicable (Case Sensitive).
Wifi_SSID=MySuperDooperWiFi
Wifi_KEY=0123456789
# available | WPA-PSK / NONE | WEP=No longer supported
Wifi_KEYMGR=WPA-PSK
#Enter your Static Network details below, if applicable.
Use_Static=0
Static_IP=192.168.0.100
Static_Mask=255.255.255.0
Static_Gateway=192.168.0.1
Static_DNS=8.8.8.8
#Hostname
Hostname=DietPi
#Force ethernet speeds
#NB: This is mainly aimed towards Pine A64's which may have a HW issue that causes unstable 1Gbit link.
# 0=automatic speed | 10 = 10mbit, 100 = 100mbit etc
Ethernet_Force_Speed=0
# >> Misc Options -----------------------------------
#Size of dphys-swapfile to generate (MB)
# 0=Disabled | 1=auto (1GB-RAM = size) | 2+=manual
Swapfile_Size=1
# >> Automation Options -----------------------------
#NB: Following options are only executed on 1st run of DietPi.
#Fully automate installation
# 1=Automated installation with no user inputs.
AUTO_Install_Enable=0
#Global Password to be applied for the system
# Affects user "root" and "dietpi" login passwords, and, all software installed by dietpi-software, that requires a password
# eg: MySQL, Transmission, Deluge etc.
# WARN: Passwords with the any of the following characters are not supported: \"$
# WARN: Do NOT change this entry, after 1st run setup of DietPi has been completed. It is always scraped by dietpi-software.
AUTO_Global_Password=dietpi
#DietPi-Software to automatically install. | requires AUTO_Install_Enable=1
# For a list of software index's (ID's), run '/DietPi/dietpi/dietpi-software list'
# No limit on number entires, add as many as you need and uncomment the line.
# DietPi will automatically install all pre-reqs (eg: ALSA/XSERVER for desktops etc)
# - Examples:
#AUTO_DietpiSoftware_Install_ID=23 #will install Desktop LXDE
#AUTO_DietpiSoftware_Install_ID=74 #will install LAMP webserver stack
#AUTO_DietpiSoftware_Install_ID=44 #will install Bittorrent transmission
#DietPi-Software Choice System
#SSH Server Selection:
# 0=none
# -1=dropbear
# -2=opensshserver
AUTO_DietpiSoftware_SSHServerIndex=-1
#File Server Selection:
# 0=none/manual
# -1=proftp
# -2=samba
AUTO_DietpiSoftware_FileServerIndex=0
#Logging Mode Selection:
# 0=none/manual
# -1=ramlog 1h clear
# -2=ramlog 1h save clear
# -3=logrotate + rsyslog
AUTO_DietpiSoftware_LoggingIndex=-1
#Webserver Preference Selection:
# NB: This will get ignored, if you have manually selected any WEBSERVER_Stacks.
# 0=Apache2
# -1=Nginx
# -2=Lighttpd
AUTO_DietpiSoftware_WebserverIndex=-2
#DietPi-Autostart | Requires AUTO_Install_Enable=1
# After installation is completed, which program should the system boot to?
# 0=Console 7=Console+auto root login | 1=Kodi 2=Desktops (LXDE/MATE etc) 5=DietPi-Cloudshell 6=Uae4ARM (Fastboot) 8=Uae4ARM (standard boot) 9=dxx-rebirth
AUTO_AutoStartTarget=0
#Language/Regional settings | Requires AUTO_Install_Enable=1
# Timezone eg: Europe/London America/New_York | Full list (TZ*): https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
AUTO_Timezone=Europe/London
# Locale eg: en_GB OR en_US etc. One entry ONLY. DietPi automatically applies .UTF-8 to your locale | Full list: cat /etc/locale.gen
AUTO_Locale=en_GB
# Keyboard Layout eg: gb us de fr
AUTO_KeyboardLayout=gb
#Custom Script | Requires AUTO_Install_Enable=1
# Allows you to automatically execute a custom script at the end of DietPi installation.
# Option 1 = Copy your script to /boot/Automation_Custom_Script.sh and it will be executed automatically.
# Option 2 = Host your script online, then use AUTO_CustomScriptURL=http://myweb.com/myscript.sh , it will be downloaded and executed automatically. | 0=disabled
AUTO_CustomScriptURL=0
#------------------------------------------------------------------------------------------------------
# D I E T - P I
# DietPi-Config settings.
#------------------------------------------------------------------------------------------------------
#RPi Hdmi output (if 0, sets tvservice -o and framebuffer 16x 16y 8z on boot, headless)
rpi_hdmi_output=1
#Cpu Governor | ondemand | powersave | performance | conservative
cpu_governor=ondemand
cpu_usage_throttle_up=50
#Limit the max cpu frequency (Mhz) for all cores. | Disabled=disabled | Useful for lowering temp/power usage on your device.
cpu_max_frequency=Disabled
#Limit the min cpu frequency (Mhz) for all cores. | Disabled=disabled | Useful for 1-wire correct support (eg. 480Mhz).
cpu_min_frequency=Disabled
#Min value 10000 microseconds (10ms)
cpu_ondemand_sampling_rate=25000
#sampling rate * down factor / 1000 = Miliseconds (40 = 1000ms when sampling rate is 25000)
cpu_ondemand_sampling_down_factor=80
#Samba Client Details (Used by DietPi-Config | Networking NAS | Samba Client)
SambaClient_ComputerName=computername
SambaClient_ShareName=sharename
SambaClient_Username=username
SambaClient_Password=password
#FTP Client Filesystem Mount (CurlFtpFs) (Used by DietPi-Config | Networking NAS | FTP Client)
curlftpfs_clientaddress=192.168.0.100
curlftpfs_clientusername=username
curlftpfs_clientpassword=password
#NFS Client Filesystem Mount (Used by DietPi-Config | Networking NAS | NFS Client)
nfsclient_ipaddress=
#Proxy settings | System-wide proxy settings. Use dietpi-config > networking options to apply.
proxy_enabled=0
proxy_address=MyProxyServer.com
proxy_port=8080
proxy_username=
proxy_password=
#Delay boot until network is established: 0=disabled | 1=10 second wait max (default) | 2=infinite wait
boot_wait_for_network=1
#DietPi check for updates (allows dietpi to check for updates on a daily basis and boot using a <1kb file download.)
dietpi_check_for_updates=1
#NTPD Update Mode: 0=disabled | 1=boot only | 2=boot + daily | 3=boot + hourly | 4=Daemon + Drift
ntpd_update_mode=2
#Wifi Hotspot
wifi_hotspot_ssid=DietPi-HotSpot
# - minimum of 8 characters
wifi_hotspot_key=dietpihotspot
wifi_hotspot_channel=3
#WiFi country code. 2 character value (eg GB US DE JP): https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
wifi_country_code=GB
#Serial Console: Set to 1 if you require a serial console during 1st run of DietPi.
serial_console_enabled=0
#Soundcard
soundcard=none
#LCD Panel addon
lcdpanel=none
#Prefer IPversion (for: apt-get) | auto (let system decide) / ipv4 (force) / ipv6 (force) | eg: force IPv4 with prefer_ipversion=ipv4
prefer_ipversion=auto
#Apt mirrors which are applied to /etc/apt/sources.list | Values here will also be applied during 1st run setup
# Raspbian = https://www.raspbian.org/RaspbianMirrors
# Debian = https://www.debian.org/mirror/official#list
Apt_Raspbian_Mirror=https://www.mirrorservice.org/sites/archive.raspbian.org/raspbian
Apt_Debian_Mirror=http://ftp.debian.org/debian/
#NTPD mirror, applied to /etc/ntp.conf
# For a full list, please see http://www.pool.ntp.org
# Please remove the initial interger and full stop from the value (removing 0.). eg: debian.pool.ntp.org
NTPD_Mirror=debian.pool.ntp.org
#------------------------------------------------------------------------------------------------------
# D I E T - P I
# DietPi-Software settings.
#------------------------------------------------------------------------------------------------------
#Enter your EmonCMS.org write API key here. It will be applied automatically during EmonPi/Hub installation.
# - eg: dietpi_emonhub_apikey=b4dfmk2o203mmxx93a
dietpi_emonhub_apikey=
#VNC Server Options
dietpi_vncserver_width=1280
dietpi_vncserver_height=720
dietpi_vncserver_depth=16
dietpi_vncserver_display=1
dietpi_vncserver_shared_desktop=0
#Optional username for nextcloud admin account, default is admin. Applied during installation.
dietpi_nextcloud_username=admin
#------------------------------------------------------------------------------------------------------
# D I E T - P I
# Dev settings
#------------------------------------------------------------------------------------------------------
gitbranch=master
gitforkowner=Fourdee
#Forces a partition resize + expansion of rootfs on next boot. (0=disabled, 1=enabled)
fs_force_resize=0
# - Max size of rootfs resize (%)
rootfs_resize_limit=100