Skip to content
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

Merged
merged 4 commits into from
Jul 9, 2022
Merged

10.10.10..10 server address #3281

merged 4 commits into from
Jul 9, 2022

Conversation

georgejhunt
Copy link
Contributor

Only tested on rpi4, 64bit, Apr 4 2022 version

@holta holta added this to the 8.0 milestone Jul 2, 2022
@holta
Copy link
Member

holta commented Jul 2, 2022

+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.

@jvonau
Copy link
Contributor

jvonau commented Jul 8, 2022

#3264

@@ -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 }}
Copy link
Contributor

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
Copy link
Contributor

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 {
Copy link
Contributor

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 }}
Copy link
Contributor

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:
Copy link
Contributor

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.
Copy link
Contributor

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

@holta
Copy link
Member

holta commented Jul 8, 2022

@georgejhunt can you add some-or-all of Jerry's above suggestions?

@holta
Copy link
Member

holta commented Jul 8, 2022

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 :

image

holta added a commit to holta/iiab that referenced this pull request Jul 9, 2022
holta added a commit that referenced this pull request Jul 9, 2022
Transition from 172.18.96.1 to 10.10.10.10 thanks to PR #3281
@holta holta merged commit 56b854f into iiab:master Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants