Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RapidSpace Autoinstall OS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
RapidSpace Autoinstall OS
Commits
dee2e5ba
Commit
dee2e5ba
authored
Jul 20, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final version through SFP link
parent
c7cbba69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
37 deletions
+26
-37
dnsmasq_xinzhou_unicom.sh
dnsmasq_xinzhou_unicom.sh
+26
-37
No files found.
dnsmasq_xinzhou_unicom.sh
View file @
dee2e5ba
...
@@ -7,26 +7,26 @@ SCRIPT_DIR=$(realpath `dirname "$0"`)
...
@@ -7,26 +7,26 @@ SCRIPT_DIR=$(realpath `dirname "$0"`)
$SCRIPT_DIR
/download_boot_systems.sh
$SCRIPT_DIR
/download_boot_systems.sh
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME
=
en
o
1
MY_IF_NAME
=
en
s9f
1
MY_IP_ADDR
=
1
92.168.46.51
MY_IP_ADDR
=
1
24.163.255.99
DHCP_RANGE
=
1
92.168.46.100
,static,255.255.255.0
DHCP_RANGE
=
1
24.163.255.99
,static,255.255.255.0
ROUTER_ADDR
=
1
92.168.46.51
ROUTER_ADDR
=
1
24.163.255.97
DNS_SERVER
=
1.2.4.8
DNS_SERVER
=
1.2.4.8
common
=
console
=
ttyS1,57600
common
=
console
=
ttyS1,57600
mac
=
'
mac
=
'
00:22:4d:d9:45:b2
b8:59:9f:07:84:bb
00:22:4d:d9:45:d2
b8:59:9f:07:81:db
00:22:4d:d9:46:f0
b8:59:9f:07:80:53
00:22:4d:d9:46:ca
b8:59:9f:07:89:4b
00:22:4d:d9:49:2e
b8:59:9f:07:81:f3
00:22:4d:d9:47:ba
b8:59:9f:07:80:4b
00:22:4d:d9:45:3a
b8:59:9f:07:82:ab
00:22:4d:d9:48:84
b8:59:9f:07:7e:23
00:22:4d:d9:47:e6
b8:59:9f:07:80:73
00:22:4d:d9:47:c0
b8:59:9f:07:7e:13
00:22:4d:d9:47:f2
b8:59:9f:07:80:63
'
'
i
=
1
i
=
1
hostname_prefix
=
xinzhou-unicom-tiogapass-
hostname_prefix
=
xinzhou-unicom-tiogapass-
...
@@ -108,28 +108,17 @@ exec dnsmasq -d --port=0 --log-dhcp \
...
@@ -108,28 +108,17 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-boot
=
debian-installer/amd64/grubx64.efi
\
--dhcp-boot
=
debian-installer/amd64/grubx64.efi
\
--enable-tftp
--tftp-root
=
$(
realpath
`
dirname
"
$0
"
`
)
\
--enable-tftp
--tftp-root
=
$(
realpath
`
dirname
"
$0
"
`
)
\
--conf-file
=
/dev/null
\
--conf-file
=
/dev/null
\
--dhcp-host
=
00:22:4d:d9:45:b2,192.168.46.51,1h
\
--dhcp-host
=
b8:59:9f:07:84:bb,124.163.255.99,1h
\
--dhcp-host
=
00:22:4d:d9:45:d2,192.168.46.52,1h
\
--dhcp-host
=
b8:59:9f:07:81:db,124.163.255.100,1h
\
--dhcp-host
=
00:22:4d:d9:46:f0,192.168.46.53,1h
\
--dhcp-host
=
b8:59:9f:07:80:53,124.163.255.101,1h
\
--dhcp-host
=
00:22:4d:d9:46:ca,192.168.46.54,1h
\
--dhcp-host
=
b8:59:9f:07:89:4b,124.163.255.102,1h
\
--dhcp-host
=
00:22:4d:d9:49:2e,192.168.46.55,1h
\
--dhcp-host
=
b8:59:9f:07:81:f3,124.163.255.103,1h
\
--dhcp-host
=
00:22:4d:d9:47:ba,192.168.46.56,1h
\
--dhcp-host
=
b8:59:9f:07:80:4b,124.163.255.104,1h
\
--dhcp-host
=
00:22:4d:d9:45:3a,192.168.46.57,1h
\
--dhcp-host
=
b8:59:9f:07:82:ab,124.163.255.105,1h
\
--dhcp-host
=
00:22:4d:d9:48:84,192.168.46.58,1h
\
--dhcp-host
=
b8:59:9f:07:7e:23,124.163.255.106,1h
\
--dhcp-host
=
00:22:4d:d9:47:e6,192.168.46.59,1h
\
--dhcp-host
=
b8:59:9f:07:80:73,124.163.255.107,1h
\
--dhcp-host
=
00:22:4d:d9:47:c0,192.168.46.60,1h
\
--dhcp-host
=
b8:59:9f:07:7e:13,124.163.255.108,1h
\
--dhcp-host
=
00:22:4d:d9:47:f2,192.168.46.61,1h
\
--dhcp-host
=
b8:59:9f:07:80:63,124.163.255.109,1h
\
--dhcp-host
=
00:22:4d:d9:45:b3,192.168.46.101,1h
\
--dhcp-host
=
00:22:4d:d9:45:d3,192.168.46.102,1h
\
--dhcp-host
=
00:22:4d:d9:46:f1,192.168.46.103,1h
\
--dhcp-host
=
00:22:4d:d9:46:cb,192.168.46.104,1h
\
--dhcp-host
=
00:22:4d:d9:49:2f,192.168.46.105,1h
\
--dhcp-host
=
00:22:4d:d9:47:bb,192.168.46.106,1h
\
--dhcp-host
=
00:22:4d:d9:45:3b,192.168.46.107,1h
\
--dhcp-host
=
00:22:4d:d9:48:85,192.168.46.108,1h
\
--dhcp-host
=
00:22:4d:d9:47:e7,192.168.46.109,1h
\
--dhcp-host
=
00:22:4d:d9:47:c1,192.168.46.110,1h
\
--dhcp-host
=
00:22:4d:d9:47:f3,192.168.46.111,1h
\
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment