AllstarLink Setting A STATIC IP / ASL MENU

I am trying to setup a system by just following the Beginners Guide and using ASL_MENU. I want to have a static IP, and followed the instructions in the menu entering the data and then saving it. The system remains in DHCP mode every time. When I look at the /etc/network/interfaces file, there are no entries made. When I look for information on setting a Linux static IP, it shows entering data in this file. Has anyone had success following the ASL-MENU?

I have three nodes and they are all static. I used the on screen menus and had no issues. My nodes are all Ethernet not wifi.
Make sure if you select a static address that you select a compatible gateway
IE 192.168.1.250 then your gateway might be 192.168.1.1 and it has worked for me

In the newer releases of Debian based systems, The networking is controlled by DHCPCD and NOT the /etc/network/interfaces file. The net-setup scripts called by ASL-MENU will check if DHCPCD is installed and add the static configuration in the /etc/dhcpcd.conf If there is an error using the static configuration, DHCPCD will fall back to DHCP and attempt to obtain an IP address from a DHCP server.
Check your /etc/dhcpcd.conf file for proper settings. (will be located at end of the file)

MENU
Notice option #6

Setup or change wired or wireless connections
Wired Ethernet setting are configured at setup. Wired settings can be later changed to DHCP (default and preferred) or static depending on your needs
A wireless connection can be initially setup and controlled here. See wireless info below.


VE3WZW
manual. (not sure if this still works) - please confirm my qrz.
Setting static IP address:
-------------------
This system is set to use a STATIC ip address.
- change to directory "/etc/systemd/system"
- open file name "eth0.network" for editing
- Modify Address (example: 192.168.1.50/24)
- Modify Gateway (example: 192.168.1.1)
- save your changes and exit




No comments:

Post a Comment


.
Allstar // AllstarLink -
https://groups.io/g/Allstar
.