Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_router:ubuntu [2025-05-17 Sat wk20 20:37] – [Ubuntu Router Setup] baumkplinux_router:ubuntu [2025-05-22 Thu wk21 16:07] (current) – [Router Configuration & Server Setup] baumkp
Line 1: Line 1:
-{{tag>linux router "router configuration" setup debian ubuntu snap snaps}} +{{tag>linux router "router configuration" setup debian ubuntu snap snaps switch network}} 
-======Router Configuration & Server Setup======+======Router Configuration, Switch & Server Setup======
  
 =====Router Configuration===== =====Router Configuration=====
Line 16: Line 16:
  
 =====Debian Router Setup===== =====Debian Router Setup=====
-Basically the same as Ubuntu, except I tried with Debian Buster (10).  I updated to Debian Bullseye (11). When I updated to Bookwork (12) the update failed. then managed to corrupt the configuration files on the router..... Hopefully these notes expedite recovery.+Basically the same as Ubuntu, except I tried with Debian Buster (10).  I updated to Debian Bullseye (11). When I updated to Bookwork (12) the update failed. had managed to corrupt the configuration files on the router..... Hopefully these notes expedite recovery.
  
 Having used Ubuntu for the past many years I have grown use to netplan.  This is not native on Debian Buster, so needs to be installed: ''sudo apt install netplan.io''  it basically just seems to work.  Now I have gone back to preferring /etc/network/interfaces. Having used Ubuntu for the past many years I have grown use to netplan.  This is not native on Debian Buster, so needs to be installed: ''sudo apt install netplan.io''  it basically just seems to work.  Now I have gone back to preferring /etc/network/interfaces.
Line 52: Line 52:
  
 There are many ways to manually change the computer IP to facilitate this, and this depends upon the operating system and software used by that computer.  A key point is that the assigned manual address and address mask must place the manual assigned address in the same address range as the equipment to be configured.  It may not be the same address.  Say the equipment default assigned address is 192.168.56.34, then the computer must have an address assigned in the space 192.168.56.x/24 (or mask 255.255.255.0), where x is between 2 - 254, except in this case 34, which is the default assigned to the equipment to be configured.  There are many ways to manually change the computer IP to facilitate this, and this depends upon the operating system and software used by that computer.  A key point is that the assigned manual address and address mask must place the manual assigned address in the same address range as the equipment to be configured.  It may not be the same address.  Say the equipment default assigned address is 192.168.56.34, then the computer must have an address assigned in the space 192.168.56.x/24 (or mask 255.255.255.0), where x is between 2 - 254, except in this case 34, which is the default assigned to the equipment to be configured. 
 +  * ''ip a add 192.168.1.200/24 dev eth0''  to add an IP address to interface eth0
 +  * ''ip a del 192.168.1.200/24 dev eth0''  to add an IP address to interface eth0
  
 Once the computer network has been manually assigned and network reset check that the network address and mask have been correctly set.  If the assigned network mask is incorrect, that is in most cases not /24 (255.255.255.0), such as /32 (255.255.255.255) it is unlikely that the computer will be able to communicate to the equipment. In linux the following commands can be used to help: Once the computer network has been manually assigned and network reset check that the network address and mask have been correctly set.  If the assigned network mask is incorrect, that is in most cases not /24 (255.255.255.0), such as /32 (255.255.255.255) it is unlikely that the computer will be able to communicate to the equipment. In linux the following commands can be used to help:
-  * %%ip a%% will return the inface IP address and mask. +  * ''%%ip a%%'' will return the computer interface IP address and mask. 
-  * %%nmap -sn 192.168.56.x/24%% should list the local computer address and the connected equipment address.+  * ''%%nmap -sn 192.168.56.x/24%%'' should list the local computer address and the connected equipment address.  If only the computer then it is unlikely a connection to the remote device is available.
   * If accessing the equipment via a web browser, open a new page and ensure that the page is open directly not from cache.   * If accessing the equipment via a web browser, open a new page and ensure that the page is open directly not from cache.
- 
- 
  
 <-  linux_router:hardware|Prev page ^ linux_router:start|Start page ^ linux_router:network|Next page -> <-  linux_router:hardware|Prev page ^ linux_router:start|Start page ^ linux_router:network|Next page ->