Try this here are examples of 1st .
/etc/network/interfaces file this works better for DHCP alone in MX
cat /etc/network/interfaces looks like this with 2 lines I added to common MX-defined entry to interfaces.
Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto wlan0
iface wlan0 inet dhcp
only these 2 lines, next we move over to /etc/NetworkManager/system-connections/
Continue to setting your Static via NetworkManager and or the Icon on the Desktop Tool panel beside speaker apps button there. right click
I'm going to add an idea for you to which you may actually manually write your own network definitions for each interface
or use this info as a template to build in your own. Details to figures and numbers game entries.
Code: Select all
#----------------/etc/NetworkManager/system-connections
:::::::::::::: Example: -more of both my devices.nmconnection files wlan0 an eth0 yet filenames would be myWifi.nmconnection and StaticWired.nmconnection
myWifi.nmconnection
::::::::::::::
[connection]
id=SSIDname # this is your SSID on your router as you defined
uuid=83935c68-2222-1111-3333-1c4efba11zd2
type=wifi
interface-name=wlan0
timestamp=11111111
[wifi]
mode=infrastructure
ssid=aSSIDname
[wifi-security]
key-mgmt=wpa-psk
psk=funkyKeypass
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=disabled
[proxy]
::::::::::::::
StaticWired.nmconnection
::::::::::::::
[connection]
id=myPrivate_Static_eth0
uuid=e7de3bcd-cd08-3439-a605-ccffa7e38333 # all these are none real your own hardware will fill in similar
type=ethernet
autoconnect-priority=-999
interface-name=eth0
timestamp=111111111
[ethernet]
duplex=full
mac-address=n2:R1:65:44:D2:36
mtu=9000
speed=10000
[ipv4]
address1=10.10.100.2/29
may-fail=false
method=manual
never-default=true
route1=10.10.100.2/29,10.10.100.1,100
[ipv6]
addr-gen-mode=stable-privacy
method=disabled
[proxy]
Here you can write these files or configure them matching what the NetworkManager Icon provides to each tab at the top. "Ethernet IPv4 IPv6" tabs
simply set thru match and configure to your own detail schema. once you have set
sudo /etc/init.d/NetworkManager restart
to reset the network although be real honest. A warm reboot cycle would set things all right! this is all standard text so featherpad can work setting things up. Worth a try.
PS: my wired are 2.5gig speeds so seeing 9000 as mtu is in some hs docs for such settings. /etc/sysctl.conf has kernel settings will leave out but 1500 could least get you started to change from 9000.
and set speed to 1000. Again depending on your net. Pi-devices don't really work at Gig Speeds but setting all the same can work.
All numbers are changed from my own network and used a cool Perl tool ipcalc for the 10.10.100.1/29 network information.
All hopes this pokes a hole in the elephant at the end 'it works' or hard codes getting you close w/o hair pull.