Commit Graph

87 Commits

Author SHA1 Message Date
216b8ea2e4 Fix to match a token multiple times
https://sourceforge.net/p/webadmin/bugs/5535/
2021-12-16 13:55:29 +03:00
18d0c858c8 Handle new format for secondary IPs 2021-08-25 10:38:59 -07:00
e39b67c98c Support 'secondary' IP keyword https://github.com/webmin/webmin/issues/1506 2021-08-14 17:53:37 -07:00
f8e3de083f Quote all command inputs 2021-05-29 15:29:45 -07:00
6bacd8fd48 vtnet interfaces are ethernet https://www.virtualmin.com/node/70742 2021-02-24 22:58:50 -08:00
3ef3c44af9 Handle interface numbers above 9 00~https://sourceforge.net/p/webadmin/bugs/5383/01~ 2020-06-27 12:55:14 -07:00
ea2f537904 Handle different order of dynamic and noprefixroute https://github.com/webmin/webmin/issues/1217 2020-03-20 22:31:05 -07:00
83327e5d15 Support new ip addr output format 2020-02-03 16:18:50 -08:00
38e22aa37f Deal with another interface name format https://github.com/webmin/webmin/issues/1184 2020-01-26 22:18:03 -08:00
423120a721 fix: "active_interfaces" not detect interface vlan. 2019-09-05 16:52:00 +02:00
ab0c84eed5 Support noprefixroute option https://www.virtualmin.com/node/66738 2019-08-11 16:09:40 -07:00
2ab5ff1b7e Small fix to previous patch 2019-05-18 18:00:37 -07:00
81f9d1239b Handle another ip addr output line https://www.virtualmin.com/node/65844 2019-05-18 17:57:55 -07:00
5794174f05 Handle word 'dynamic' in ip addr output https://www.virtualmin.com/node/65844 2019-05-12 11:42:28 -07:00
694599a2d3 Handle vlan interfaces properly https://github.com/webmin/webmin/issues/1045 2019-04-14 22:29:21 -07:00
8662a30432 Broadcast can be missing https://github.com/webmin/webmin/issues/1040 2019-04-06 20:23:33 -07:00
797039fb80 Handle case where eth0 has no IP but eth0:1 exists https://github.com/webmin/webmin/issues/1009 2019-01-21 18:45:12 -08:00
a9596b5ef8 Stop stripping off first virtual IP address in ip addr output on CentOS 6 https://www.virtualmin.com/node/58191 2018-08-26 18:57:37 -07:00
fd4377b22b Deal with an unusual ip addr format seen on CentOS 6 https://www.virtualmin.com/node/58191 2018-08-06 11:46:11 -07:00
a06f6010db Don't assume that interface numbers in 'ip addr' output are in order 2018-07-11 17:39:16 -07:00
7d23bb1aff More work on netplan support for DNS 2018-07-08 23:27:04 -07:00
c0b340f5b6 Work on reading netplan DNS configs 2018-06-17 22:52:07 -07:00
a8f3f18452 Use ip command in preference, as ifconfig doesn't include all IPs 2018-06-10 16:08:48 -07:00
08a1f3db74 If speed is reported as Unknown, don't use it 2017-05-31 18:19:27 -07:00
2c194271fc ref and use columns can collide https://sourceforge.net/p/webadmin/bugs/4939/ 2017-04-18 23:25:21 -07:00
36b15f2615 Properly identify other bridge types https://github.com/webmin/webmin/issues/482 2017-01-18 15:45:13 -08:00
8cb9515e0b Re-factor code for OS-specific DNS configs https://github.com/webmin/webmin/issues/238 2015-07-26 13:13:08 -07:00
9938636224 Clarify param meaning 2015-02-08 10:35:53 -08:00
ac8634bf75 Actually, the inet6 addr: format is only used by the ifconfig command 2015-02-08 10:34:49 -08:00
5a8ae25d02 Handle different output format from ip addr command http://virtualmin.com/comment/edit/143915 2015-02-08 10:33:03 -08:00
aef1cbbeab Deal with different ifconfig format 2015-01-29 21:20:49 -08:00
1925ba53c4 Handle some odd IP route setup seen on CentOS 7 http://virtualmin.com/node/35910 2015-01-22 08:16:47 -08:00
572b480165 Bridges don't need to use ifup/down 2014-09-20 12:44:31 -07:00
d44c90c3ac What if both ip and ifconfig commands exist 2014-09-06 14:07:29 -07:00
3f9a8f95eb Clarify comment 2014-08-21 20:21:43 -07:00
f8956f9128 Number virtual interfaces starting at 0, as we do when adding 2014-08-20 16:14:50 -07:00
092be4942e Handle new style interface config files seen on CentOS 7 2014-08-06 21:04:50 -07:00
3d2b904a72 Completed support for virtual interfaces with ip command 2014-08-03 16:43:57 -07:00
b178d2cb15 Support for activating and de-activating interfaces with ip command 2014-08-03 16:21:06 -07:00
2464094dcc Sync up IPv6 addresses using ip command 2014-08-03 13:46:59 -07:00
0572c13690 Interface delete support for ip command 2014-08-03 13:34:11 -07:00
326614ea20 Support use of ip command to manage routes 2014-08-03 12:13:39 -07:00
5fe090138e Use ip command to add route 2014-08-02 16:23:59 -07:00
8f673164c5 Support display of active IPs on CentOS 7 2014-08-02 15:15:37 -07:00
9468f39bf7 Move ethtool data outside of main loop 2014-08-02 14:36:30 -07:00
2135a2db4c ethernet interfaces can have new predictable prefixes 2014-07-30 20:52:49 -07:00
dc75902be8 Allow bridge over VLAN, and always ifdown before ifup (thanks to Caspar Smit) 2014-02-04 13:30:34 -08:00
03e9b58c61 Fix for bug #4094. dns-search is now only one line. 2013-08-09 12:57:24 +02:00
4911030cf1 Apparently some ethernet interfaces are named like p21p1 2013-02-20 16:36:50 -08:00
2523f8a517 New ifconfig format 2012-10-14 22:11:11 -07:00