415 Commits

Author SHA1 Message Date
d1e3a31417 Minor config fix 2024-11-22 14:38:19 +03:00
7334f8c565 Got rid of etcnet underhanded dependency. Added options to resolv.conf 2024-11-21 17:51:30 +03:00
febb0f5a76 Redisigned net-eth for PVE network configuration:
-Uses only static configuration with IPv4
-Uses debian-like network config files for ipupdown2 usage
-Setups vmbr0 Linux Bridge
-No bridge, bond, vlan, wifi, etc. settings for ease of usage
-User only needs to select one interface, provide FQDN, ip-address,
gateway, dns servers and search domains
2024-11-18 15:29:30 +03:00
Anton Midyukov
abde3cf0ac 5.2.9-alt1
- backend: Fix read computer name, when alterator-net-domain is installed
  (Closes: 42690)
2024-05-15 08:53:24 +07:00
Anton Midyukov
42d7617730 backend: Fix read computer name, when alterator-net-domain is installed
See https://bugzilla.altlinux.org/show_bug.cgi?id=42690#c4
2024-05-15 08:53:09 +07:00
Mikhail Efremov
a3e89e819b 5.2.8-alt1
- qt ui: Fix ipv_enabled.
- qt ui: Show IP version selector (closes: #42778).
- backend: Apply new settings connection for NM (closes: #41377).
2024-04-05 16:15:41 +03:00
Mikhail Efremov
71c1927ad2 qt ui: Fix ipv_enabled
Use (form-value "ipv_enabled"): otherwise ipv_enabled is empty
instead of #f.
2024-04-05 15:40:01 +03:00
Mikhail Efremov
fdf1d39fc9 qt ui: Show IP version selector
Dunno why it was hided. Seems like debug leftovers.
ALT bug #42778.
2024-04-05 14:25:45 +03:00
Mikhail Efremov
4373a686d1 backend: Apply new settings connection for NM
The command 'nmcli reload' is just reloads connectionsm but not applied new
settings. We need to use 'nmcli device rapply' for each interface.
See nmcli(1) for details.
This fixes ALT bug #41377.
2024-04-04 19:46:44 +03:00
Mikhail Efremov
c8b8c694f2 5.2.7-alt1
- ui: Fix iface info in the web UI (closes: #49256).
2024-02-07 18:53:08 +03:00
Mikhail Efremov
b65d9ba591 ui: Fix iface info in the web UI
This fixes 283726c03e5b62392becc68b7ca30157ca43825e.
ALT bug #49256.
2024-02-07 18:43:59 +03:00
Mikhail Efremov
65154e159a 5.2.6-alt1
- ui: Fix reading IP addresses on init.
- ui: Cleanup IP configuration in 'static' mode (closes: #48920).
2024-01-12 21:58:55 +03:00
Mikhail Efremov
ac5cd1124c ui: Fix reading IP addresses on init
Function read-interface can be called with empty 'name' argument,
so get interface name from backend in this case.
2024-01-12 21:01:56 +03:00
Mikhail Efremov
283726c03e ui: Cleanup IP configuration in 'static' mode
In case of other then 'static' we are show current configuration
(IP addresses, default gateway, DNS). When confuguration is changed
to static we should clean this data, otherwise it is confused users.
See ALT bug #48920.
2024-01-12 21:01:56 +03:00
Evgeny Sinelnikov
e8999d3f66 5.2.5-alt1
- Fix systemd-networkd cache initialization
2023-09-15 17:44:07 +03:00
43458dd7d5 - update changelog 2022-10-31 16:18:56 +03:00
270dfee10f - extend adding IP label text 2022-10-31 16:18:01 +03:00
Andrey Cherepanov
632e7fda6d 5.2.3-alt1
- Put hostname to /etc/hostname for hostnamectl (ALT #42690).
2022-09-26 14:35:02 +03:00
Andrey Cherepanov
491c00e23a Write hostname to /etc/hostname for hostnamectl 2022-09-26 14:30:38 +03:00
Andrey Cherepanov
6bf86eb2be 5.2.2-alt1
- Enabled FQDN in computer name in all cases (ALT #41708).
2022-03-15 12:19:21 +03:00
Slava Aseev
9962ce73cb
5.2.1-alt1
- Use hostnamectl (if it possible) to manage static hostname
2021-12-27 18:36:47 +03:00
Slava Aseev
d88fada36c
Use hostnamectl (if it possible) to manage static hostname 2021-12-27 18:36:14 +03:00
Evgeny Sinelnikov
e729c14254 5.2.0-alt1
- Add systemd-networkd control mode
2021-10-29 05:17:10 +04:00
Evgeny Sinelnikov
e55d8643c4 Add systemd-networkd additional modes logic with heuristics 2021-10-29 05:15:30 +04:00
Evgeny Sinelnikov
a775a26bf9 Fix systemd-networkd and NetworkManager control modes switching 2021-10-29 05:13:48 +04:00
Evgeny Sinelnikov
229c7177e0 Add systemd-networkd control mode 2021-08-31 01:12:30 +04:00
187aa4a067 5.1.12-alt2
- Drop Requires: startup
2021-06-11 22:21:31 +03:00
Evgeny Sinelnikov
9e701c0760 5.1.12-alt1
- Set NetworkManager Native as default if NetworkManager exists.
2021-03-03 08:22:55 +04:00
Evgeny Sinelnikov
9fd4e15cf6 Set NetworkManager Native controlled as default if NetworkManager exists 2021-03-03 08:11:51 +04:00
08aa6d3701 - don't hardcode popup dialog size 2021-03-02 17:47:19 +03:00
f0588f020e 5.1.10-alt1
- Fix oem_wifi_first_start remove rpm call
2021-03-01 12:33:01 +03:00
33dd888d74 - Fix oem_wifi_first_start remove rpm call 2021-03-01 12:28:17 +03:00
Evgeny Sinelnikov
676c392ac6 5.1.9-alt1
- Fix Native NetworkManager control show if bootproto is not static.
2021-02-28 06:15:57 +04:00
Evgeny Sinelnikov
5813803174 Fix Native NetworkManager control show if bootproto is not static. 2021-02-28 06:14:52 +04:00
e513dbc298 5.1.8-alt1
- Add support NetworkManager for alterator-net-wifi
2020-12-03 11:15:26 +03:00
77310396f1 - Add support NetworkManager for alterator-net-wifi 2020-12-03 11:13:02 +03:00
Evgeny Sinelnikov
8a32f14311 5.1.7-alt1
- Add Native NetworkManager control mode support (closes: #38455)
2020-05-09 15:13:02 +04:00
Evgeny Sinelnikov
76791ab0e2 Add Native NetworkManager control mode 2020-05-09 15:04:21 +04:00
Mikhail Efremov
6ec72581dc 5.1.6-alt1
- Fix is_bridge() in case of empty type.
- Set interface type to "bri" for any bridge.
- Don't bother frontend with bridge type (closes: #38188).
2020-03-06 19:15:10 +03:00
Mikhail Efremov
d42c8d1a60 Fix is_bridge() in case of empty type 2020-03-06 19:09:31 +03:00
Mikhail Efremov
d075e8a4b2 Set interface type to "bri" for any bridge
We don't need to know the exact bridge type.
2020-03-06 18:31:05 +03:00
Mikhail Efremov
79bab15a7e Don't bother frontend with bridge type
It just need to know is interface a bridge of any type.
This reverts commit 0cb64794cdd5a512580b083d85fed92445b1db69.
2020-03-06 18:19:05 +03:00
Mikhail Gordeev
366a23d7cb 5.1.5-alt1
- Add support of different bridge types
2020-02-14 17:42:03 +03:00
Mikhail Gordeev
496c451071 Allow empty bond 2020-02-14 17:42:03 +03:00
Mikhail Gordeev
c38ec5c4ce Allow empty bridge 2020-02-14 17:42:03 +03:00
Mikhail Gordeev
0cb64794cd Add support of different bridge types to frontend 2020-02-14 17:42:03 +03:00
Mikhail Gordeev
af33d7315f Add support of different bridge types to backend 2020-02-14 17:42:03 +03:00
Mikhail Gordeev
b87a88b9ae 5.1.4-alt1
- Do not show domain name if it is absent.
2020-01-27 19:51:42 +03:00
Mikhail Gordeev
013cce4954 Revert "Fix read_hostname(): Always return hostname with domain."
Do not show domain name if it is absent.
2020-01-27 19:35:13 +03:00
Mikhail Gordeev
0953a0d935 5.1.3-alt1
- Allow creating hostname without domain part
2020-01-16 19:39:31 +03:00