-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathalexandria.ini
87 lines (74 loc) · 1.62 KB
/
alexandria.ini
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
; This configuration file has two kinds of sections:
; Normal sections (e.g. "general") are simple: all they need
; is key=value pairs.
; Namespaced sections (e.g. "interface.wangjangler") need
; a key named ui_name or they will be presented with the Namespaced
; name.
;
[alexandria]
product=LibraryBox-NG
version=0.1-beta
[general]
; administration passphrase
tld=lan
hostname=alexandria
admin_key=librarian
expert_mode=false
[network]
[interface.eth0]
ui_label=Wired network
type=wired
interface_type=wired
enabled=true
dhcp=true
ip=
subnet_mask=
gateway=
[interface.wlan0]
ui_label=Wireless network
type=wireless
enabled=true
; there are two modes for wireless adapters: Client and AP. In client mode, the network is
; connected to via the /etc/network/interfacces mechanism. Otherwise, hostapd is used.
mode=ap
; can be none or wpa
security=wpa
psk=allonewordlowercase
ssid=cheesecake
dhcp=false
ip=192.168.1.1
subnet_mask=255.255.255.0
gateway=
[storage]
mode=usb
; this is symlinked to the first partition of the first disk.
usb_device=/dev/usbstor
location=/media/alexandria
device=/dev/mmcblk3
options=sync,rw,noatime,nosuid,noexec
[uploads]
allow_uploads=false
restrict_uploads=true
allowed_filetypes=txt,zip,pdf,epub,fb2,jpg,png,gif
[service.dnsmasq]
ui_label=DNS/DHCP service
enabled=true
interface=wlan0
blackhole_dns=false
start_address=192.168.1.10
end_address=192.168.1.160
subnet_mask=255.255.255.0
lease_time=1000
[service.hostapd]
ui_label=Wireless AP daemon
enabled=true
interface=wlan0
country=US
channel=6
ssid=Alexandria
wpa=false
psk=readabook
no_broadcast=false
[service.nyancat]
ui_label=Nyancat daemon
enabled=true