-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
10.10.10..10 server address #3281
Conversation
+10 to the Metric System! To celebrate 10 years! Hopefully we can cut over (IIAB's default) from 172.18.96.1 to 10.10.10.10 in coming days, if no glitches arise. |
@@ -105,7 +105,7 @@ | |||
# - "HostNameLookups On" # More False Leads: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530027 | |||
# - "ServerAlias *" | |||
# - "#ServerName {{ iiab_hostname }}.{{ iiab_domain }}" # box.lan | |||
# - "#Listen {{ lan_ip }}:631" # 172.18.96.1 | |||
# - "#Listen {{ lan_ip }}:631" # {{ lan_ip }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@holta likes to use the part to the right of the # as notes
@@ -21,7 +21,7 @@ location ~ ^/print(|/.*)$ { # '~' -> '~*' for case-insensitive regex | |||
return 301 http://localhost:631; | |||
} | |||
|
|||
return 301 http://$host:631; # For 192.168.0.x, 172.18.96.1, 10.8.0.y ETC | |||
return 301 http://$host:631; # For {{ lan_ip }}, 172.18.96.1, 10.8.0.y ETC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@holta likes to use the part to the right of the # as notes, changed wrong ip address
option domain-name-servers 172.18.96.1; | ||
option ntp-servers 172.18.96.1; | ||
option domain-name-servers {{ lan_ip }}; | ||
option ntp-servers {{ lan_ip }}; | ||
|
||
subnet 172.18.96.0 netmask 255.255.224.0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The subnet here would be wrong
@@ -64,7 +64,7 @@ echo "iiab_gateway_enabled: $iiab_gateway_enabled" | |||
echo | |||
#network_mode=`grep iiab_network_mode_applied /etc/iiab/iiab.ini | gawk '{print $3}'` | |||
#echo -e "Network Mode: $network_mode\n" | |||
lan_ip=$(iiab_var_value lan_ip) # 172.18.96.1 | |||
lan_ip=$(iiab_var_value lan_ip) # {{ lan_ip }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@holta likes to use the part to the right of the # as notes
@@ -43,7 +43,7 @@ Useful PHP recommendations for these settings (while largely tailored to WordPre | |||
|
|||
## Using It | |||
|
|||
Log in to Nextcloud at http://box/nextcloud, http://box.lan/nextcloud, http://172.18.96.1/nextcloud (or similar) using: | |||
Log in to Nextcloud at http://box/nextcloud, http://box.lan/nextcloud, http://{{ lan_ip }}/nextcloud (or similar) using: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a template
@@ -92,7 +92,7 @@ | |||
; netbios name = MYSERVER | |||
|
|||
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24 | |||
hosts allow = 127. 172.18. | |||
hosts allow = 127. 172.18. 10.10. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/b 10.10.10 to match the subnet mask
@georgejhunt can you add some-or-all of Jerry's above suggestions? |
Thanks @jvonau for the 6 excellent suggestions. Hopefully @georgejhunt (and/or others) has time to help wrap up this PR so it can be merged shortly in the coming week. IIAB needs to lose weight, removing deadweight from the OLPC era that was very well-meaning at the time, however some of which has long outlived its usefulness in this 3rd decade of our new millenium. Time to move forward not backwards. Excerpt from https://en.wikipedia.org/wiki/Private_network : |
Transition from 172.18.96.1 to 10.10.10.10 thanks to PR #3281
Only tested on rpi4, 64bit, Apr 4 2022 version