Networking: Difference between revisions

From Bitpost wiki
(Created page with "{| class="mw-collapsible mw-collapsed wikitable" ! Force apt to use a proxy |- |Edit /etc/apt/apt.conf: Acquire::http::Proxy "http://myproxy.com:####"; |}")
 
No edit summary
Line 1: Line 1:
{| class="mw-collapsible mw-collapsed wikitable"
=== Force apt to use a proxy ===
! Force apt to use a proxy
Edit /etc/apt/apt.conf:
|-
|Edit /etc/apt/apt.conf:
  Acquire::http::Proxy "http://myproxy.com:####";
  Acquire::http::Proxy "http://myproxy.com:####";
|}
 
=== Update to new ISP ===
I did this for google fiber on 2022/09/30.
 
* Set up new ISP while keeping old
* Update any ethernet cables and NIC cards; I need cat6 from google fiber router GRAY port (2Gbps); I ordered a [https://smile.amazon.com/Ethernet-Broadcom-BCM57810S-Controller-Interface/dp/B08FBBX8MX/ref=sr_1_7?crid=NE6UPX3PXVC1&keywords=10ge%2Bnic&qid=1664556355&sprefix=10ge%2Bnic%2Caps%2C64&sr=8-7&ufe=app_do%3Aamzn1.fos.18ed3cb5-28d5-4975-8bc7-93deae8f9840&th=1 10G network card] on Amazon, not here yet.
* Remove old ISP cable from RJ45, plug in new ISP cable
* ssh 192.168.22.1 to get a terminal to bitpost box
* check that a new IP was obtained via `ip a`
* RESTART THE FIREWALL, it MUST BE STARTED after the IP is obtained!  This was the kicker that had me scratching my head for an hour.
sudo su -
edit_firewall
# Ctrl-D to save and exit and restart it
* Check that you can ping google.com; check that LAN is up and ready
* Go update ALL domains.google.com DNS records with the new IP!
* Pray for IP stability!  reddit commentors gave me hope, we will see...

Revision as of 19:13, 30 September 2022

Force apt to use a proxy

Edit /etc/apt/apt.conf:

Acquire::http::Proxy "http://myproxy.com:####";

Update to new ISP

I did this for google fiber on 2022/09/30.

  • Set up new ISP while keeping old
  • Update any ethernet cables and NIC cards; I need cat6 from google fiber router GRAY port (2Gbps); I ordered a 10G network card on Amazon, not here yet.
  • Remove old ISP cable from RJ45, plug in new ISP cable
  • ssh 192.168.22.1 to get a terminal to bitpost box
  • check that a new IP was obtained via `ip a`
  • RESTART THE FIREWALL, it MUST BE STARTED after the IP is obtained! This was the kicker that had me scratching my head for an hour.
sudo su -
edit_firewall
# Ctrl-D to save and exit and restart it
  • Check that you can ping google.com; check that LAN is up and ready
  • Go update ALL domains.google.com DNS records with the new IP!
  • Pray for IP stability! reddit commentors gave me hope, we will see...