layout | title | author |
---|---|---|
post |
Title of Page |
Jordan Bermudez |
- Whatever you want, or don't want
- Slack: @SilexOne on wcscusf.slack.com
- Email: something@blank.com
- Prerequisites
- Summary
- First logical group of Page
- Second logical group of Page
- Troubleshooting (optional)
- The Prerequisites before this.
- Just copy the Prerequisites of peoples guides before yours here.
- Have your virtual environment configured
- Have the ISP gateway running.
- Have pfSense running.
Description on subject. Context of the Network Location/OS/Service/Other. Any other things that might be helpful.
Record Type | Description |
---|---|
A | Links a host name to an IPv4 Address |
AAAA | stuff |
MX | more stuff |
group together logical ideas for the summary if needed
- Use the text editor vim to edit the file
\etc\network\interfaces
. (Just hyperlink the first instance of each term that needs explaining then never again. I mention vim here. No link with it. Look at the IPv4 reference below to see how to link to another page in a certain section) You will need to beroot
because the file requires permissions that your user doesn't have. This can be done by using sudo before the command. Think of it as using the window administrator account with the User Access Control (UAC). If the command had a verify step be sure to explain why we do it and how to interpret the results.
sudo vim \etc\network\interfaces
another command if needed
You should have indvidual commands follow the instructions like so
verify command if possible
-
Once in the file change the default configuration of:
# The loopback network interface auto lo eth0 iface lo inet loopback # The primary network interface iface eth0 inet dhcp
Into:
# The loopback network interface auto lo eth0 iface lo inet loopback # The primary network interface iface eth0 inet static address 192.168.10.33 netmask 255.255.255.0 broadcast 192.168.10.255 network 192.168.10.0 gateway 192.168.10.254 dns-nameservers 192.168.10.254
Restart the service:
systemctl restart service-name
Verify:
ifconfig
Expected Outcome:
eth0 Link encap:Ethernet HWaddr 00:15:c5:4a:16:5a inet addr:10.0.0.100 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::215:c5ff:fe4a:165a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:466475604 errors:0 dropped:0 overruns:0 frame:0 TX packets:403172654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2574778386 (2.5 GB) TX bytes:1618367329 (1.6 GB) Interrupt:16
This is done because... The address needs to be the IPv4 address of
192.1.1.1
. We restart blank because. We verify because. The outcome we expected was because. Configs files should be formatted like this -
another item, feel free to add images of your setup
- Change Directory (cd) into the serivce folder and perform some actions...
# notice how this block has python on top
# this is python code
import os
Common problems this section might of had Resolutions to thoughs problems Why those problems occured
If no troubleshooting was needed in this logical group then this specific section isn't needed and shouldn't be included