Commit Graph

503 Commits

Author SHA1 Message Date
Jamie Cameron
60a9419cc3 Use static routes to set the default gateway https://forum.virtualmin.com/t/ubuntu-and-network-configurations/126890 2024-05-25 22:18:53 -07:00
Jamie Cameron
cbd7a91d5c Cache the list of boot interfaces https://forum.virtualmin.com/t/webmin-network-settings-does-not-pickup-or-allow-setting-of-default-route/126466/ 2024-05-08 09:39:29 -07:00
Jamie Cameron
919601d1c6 Preserve all post-up directives https://github.com/webmin/webmin/issues/2080 2024-01-28 16:26:32 -08:00
Jamie Cameron
fd56523955 Use /etc/hostname if available https://forum.virtualmin.com/t/setup-fails/124437 2024-01-20 10:39:49 -08:00
Ilia Ross
8665c5a725 Fix to include directory name, as glob result isn't readdir
https://forum.virtualmin.com/t/re-i-think-i-found-another-issue/123981/13
2023-12-17 15:37:19 +02:00
Ilia Ross
28e55d6774 Revert "What if /etc/network/interfaces is a directory https://forum.virtualmin.com/t/re-i-think-i-found-another-issue/123981"
This reverts commit f2476e0a6d.
2023-12-17 15:35:09 +02:00
Jamie Cameron
f2476e0a6d What if /etc/network/interfaces is a directory https://forum.virtualmin.com/t/re-i-think-i-found-another-issue/123981 2023-12-16 17:46:00 -08:00
Jamie Cameron
8bad9dd0f8 DNS domains are also space separated 2023-12-13 15:57:06 -08:00
Jamie Cameron
35bae257f2 Don't add IP address if there isn't one 2023-11-15 17:14:54 -08:00
Jamie Cameron
b095aa2b20 Show the actual command that failed in the error 2023-11-14 20:20:06 -08:00
Jamie Cameron
07fc4621f8 DNS server IPs are space separated https://forum.virtualmin.com/t/trouble-with-saving-in-network-config-section/123394 2023-11-09 11:18:24 -08:00
Jamie Cameron
627a047028 Next virtual interface is always one greater than the last one 2023-11-07 17:56:02 -08:00
Ilia Ross
18f3e1273f Fix to use a new param to clear cache 2023-08-27 01:27:05 +03:00
Ilia Ross
8ced23d027 Fix to use a new way for clearing hostname cache 2023-08-26 21:26:03 +03:00
Ilia Ross
4709ff6adf Add support for odd Amazon Linux interface names 2023-08-22 01:52:22 +03:00
Ilia Ross
5156a472be Fix a bug in regex to correctly grep wack [build]
https://sourceforge.net/p/webadmin/discussion/55377/thread/78e5aa05f3
2023-08-16 13:48:54 +03:00
Ilia Ross
185e7db58d Revert "Revert "Fix to priorities ip command usage""
This reverts commit f8ec917bc5.
2023-08-16 13:03:51 +03:00
Ilia Ross
f8ec917bc5 Revert "Fix to priorities ip command usage"
This reverts commit 3b36dfa8ad.
2023-08-16 13:01:17 +03:00
Jamie Cameron
5357b084af Deal with case where there is no address https://sourceforge.net/p/webadmin/bugs/5630/ 2023-08-09 22:58:31 -07:00
Jamie Cameron
e599e0206a Can only use ifup if innstalled 2023-07-23 08:40:27 -07:00
iliajie
3b36dfa8ad Fix to priorities ip command usage 2023-07-22 13:31:20 +03:00
Jamie Cameron
2d900e88c8 Fix setting of default gateway https://github.com/webmin/webmin/issues/1960 2023-07-21 17:58:05 -07:00
iliajie
143fb86567 Update translations 2023-07-19 20:08:41 +03:00
iliajie
1a807f5f58 Fix new line in the end of the file once again 2023-07-18 15:25:17 +03:00
iliajie
c56ea21638 Fix missing new line as in original file in master to avoid diff 2023-07-18 15:23:37 +03:00
iliajie
36095d04f8 Fix to use ip addr command only to get active interfaces 2023-07-18 15:19:29 +03:00
iliajie
582549ddb6 Fix correctly extract list of IPs ; support switching from DHCP to static 2023-07-17 15:13:45 +03:00
iliajie
04e14cc979 Add ability to present active interfaces the way network manager wants 2023-07-17 13:56:58 +03:00
Jamie Cameron
0cd5feb0a3 Set method and interfaces in one shot 2023-07-16 15:33:45 -07:00
Jamie Cameron
fd762c2f47 Add missing logging messages 2023-07-16 15:03:37 -07:00
Jamie Cameron
9aeab55a88 Don't match dynamic if we're matching it later 2023-07-16 14:39:41 -07:00
Jamie Cameron
3fb71fb569 Merge branch 'master' of github.com:webmin/webmin 2023-07-16 14:14:27 -07:00
Jamie Cameron
f4d83f5ebf Priorize the dynamically assigned IP 2023-07-16 14:14:18 -07:00
iliajie
8e47199147 Fix to consider active interface using new ui_element_inline API 2023-07-15 23:28:57 +03:00
iliajie
bedb091e56 Add ui_element_inline API and use it on the button in **Net** module 2023-07-15 14:51:54 +03:00
Jamie Cameron
df7bf3af4a Handle case where main IP is assigned by DHCP 2023-07-14 14:55:44 -07:00
Jamie Cameron
f688f29029 Allow editing of bridge STP field 2023-07-02 22:30:51 -07:00
Jamie Cameron
057f10d868 Fix saving of bridge interface 2023-07-02 20:38:02 -07:00
Jamie Cameron
086ebe845a Fix editing of bridge connections to interfaces 2023-07-02 18:48:35 -07:00
Jamie Cameron
39132506e8 Implement creation of bridge interfaces 2023-07-02 17:25:23 -07:00
Jamie Cameron
93a853f95f Work on bridge support 2023-07-01 23:16:58 -07:00
Jamie Cameron
1025f8c657 Fix setting of virtual IPs 2023-06-28 07:39:46 -07:00
Jamie Cameron
14ad4cbf85 More work on network manager 2023-06-27 23:27:19 -07:00
Jamie Cameron
0a1f12c22b Use CLI instead of directly updating config files 2023-06-27 15:59:29 -07:00
Jamie Cameron
a9070e4bc3 Improve creation of default interface 2023-06-26 08:01:18 -07:00
Jamie Cameron
44b06c8908 More work on editing network manager config 2023-06-23 23:19:36 -07:00
Jamie Cameron
231df9c37f UI to edit network manager routes 2023-06-20 23:07:56 -07:00
Jamie Cameron
1e07f0c93a Add MTU support 2023-06-20 23:00:11 -07:00
Jamie Cameron
0f898b161b Update nameservers in netplan config 2023-06-19 20:21:39 -07:00
Jamie Cameron
de53c330d6 Support for getting and setting default gateway 2023-06-19 20:19:28 -07:00