Difference between revisions of "Network Overview"

From Spark Makerspace
Jump to navigation Jump to search
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Spark Makerspace Network Overview==
+
[[Category:Electronics]]
 +
[[Category:Network]]
 +
[[Category:Infrastructure]]
 +
 
 +
== Spark Makerspace Network Overview ==
  
 
This page is intended to give you an overview of the network at Spark Makerspace.
 
This page is intended to give you an overview of the network at Spark Makerspace.
  
=== Wireless ===
+
== Network Graph ==
 
+
[https://www.yworks.com/yed-live/?file=https://gist.githubusercontent.com/fsckyou/392a387f55182e3491a1ae204d7b2071/raw/01056a2cc087fbc14e2f6e0212744b618edb60ce/Spark%20Network%20Diagram Editable Network Graph on yEd Live]
There are currently four wireless networks in use at Spark.
 
 
 
* SPARK
 
* SPARK_5G
 
* SPARKmembers
 
* SPARKmembers_5G
 
 
 
Keys for these networks can be found on the whiteboard by the lockers.
 
 
 
=== Wired Network ===
 
  
A handful of wired ethernet jacks are live in the coworking and electronics space. Available jacks may be used by members as needed. Please do not disconnect existing PCs or servers to free up a jack. If you notice a jack that does not work or if you need a wired network connection somewhere new, please reach out to the [[Spark Electronics Team]].
+
== Domain ==
 +
Spark is using FreeIPA to manage host and user identities. While it's not a replacement for a Microsoft Active Directory domain controller, it get us close for the low price of free!
  
=== Static IP ===
+
=== How to Create a New User ===
 +
Point your browser to[https://freeipa.spark.spork https://freeipa.spark.spork]
  
Static IP addresses are available on the local network for devices that require consistent availability. If you think you need a static IP address, ping the [[Electronics Leads]].
+
while on the Spark network and login with administrator credentials.
 +
[[image:FreeIPA login.png|300p|thumb|FreeIPA Login Page]]
 +
Once logged in, on the '''Identity > Users''' tab, click the '''Add''' button on the primary section. Enter the user's information. Spark uses a username format of first initial + last name. If this username is already in use, use full first name instead of first initial.  
  
=== Infrastructure ===
+
=== How to enroll a Ubuntu machine ===
Internet service is provided by Atlantic Broadband, and rated at speeds up to 125(down)/25(up). The static IP is 208.103.76.65 and public hostname is 225.sparkmakerspace.org.
+
It's easier to just deploy a new Ubuntu machine from MAAS. See [[Computer Deployment]]
  
The Spark Network uses the 10.11.12.0/24 subnet.  
+
1. Set hostname
 +
$ sudo hostnamectl set-hostname new-host.spark.spork
 +
2. Install freeipa-client package
 +
$ sudo apt install -y freeipa-client
 +
3. Edit /etc/hosts
 +
<nowiki>$ sudo vim /etc/hosts
 +
# Add FreeIPA Server IP and hostname
 +
10.11.12.156 freeipa.spark.spork freeipa</nowiki>
 +
4. Register host
 +
<nowiki>$ sudo ipa-client-install --hostname=`hostname -f` \
 +
--mkhomedir \
 +
--server=freeipa.spark.spork \
 +
--domain spark.spork \
 +
--realm SPARK.SPORK</nowiki>
 +
You can proceed with fixed values and no DNS discovery. It's also fine to not configure NTP.
  
=== Printing ===
+
5. Enable mkhomedir.
See [[Printing]]
+
<nowiki>$ sudo bash -c "cat > /usr/share/pam-configs/mkhomedir" <<EOF
 +
Name: activate mkhomedir
 +
Default: yes
 +
Priority: 900
 +
Session-Type: Additional
 +
Session:
 +
required pam_mkhomedir.so umask=0022 skel=/etc/skel
 +
EOF</nowiki>
 +
Then run
 +
$ sudo pam-auth-update
 +
Ensure that "activate mkhomedir" is checked and hit enter when prompted.
  
  
* [[VM Lab]]
 
* [[Printers]]
 
* [[Electronics Lab]]
 
  
=== See Also ===
+
[[Network Goals]]
* [[Printing]]
 
* [[Reverse Proxy]]
 

Latest revision as of 17:04, 29 May 2022


Spark Makerspace Network Overview

This page is intended to give you an overview of the network at Spark Makerspace.

Network Graph

Editable Network Graph on yEd Live

Domain

Spark is using FreeIPA to manage host and user identities. While it's not a replacement for a Microsoft Active Directory domain controller, it get us close for the low price of free!

How to Create a New User

Point your browser tohttps://freeipa.spark.spork

while on the Spark network and login with administrator credentials.

FreeIPA Login Page

Once logged in, on the Identity > Users tab, click the Add button on the primary section. Enter the user's information. Spark uses a username format of first initial + last name. If this username is already in use, use full first name instead of first initial.

How to enroll a Ubuntu machine

It's easier to just deploy a new Ubuntu machine from MAAS. See Computer Deployment

1. Set hostname

$ sudo hostnamectl set-hostname new-host.spark.spork

2. Install freeipa-client package

$ sudo apt install -y freeipa-client

3. Edit /etc/hosts

$ sudo vim /etc/hosts
# Add FreeIPA Server IP and hostname
10.11.12.156 freeipa.spark.spork freeipa

4. Register host

$ sudo ipa-client-install --hostname=`hostname -f` \
--mkhomedir \
--server=freeipa.spark.spork \
--domain spark.spork \
--realm SPARK.SPORK

You can proceed with fixed values and no DNS discovery. It's also fine to not configure NTP.

5. Enable mkhomedir.

$ sudo bash -c "cat > /usr/share/pam-configs/mkhomedir" <<EOF
Name: activate mkhomedir
Default: yes
Priority: 900
Session-Type: Additional
Session:
required pam_mkhomedir.so umask=0022 skel=/etc/skel
EOF

Then run

$ sudo pam-auth-update

Ensure that "activate mkhomedir" is checked and hit enter when prompted.


Network Goals