Paulo Coghi

Results 142 comments of Paulo Coghi
trafficstars

Webmin/Virtualmin wrongly recognizes `127.0.0.1` from `venet0` as our main/public IP

Sure! Here it is: First, `127.0.0.1` is presented as the main/public IP on Virtualmin Dashboard: ![webmin-01-home](https://user-images.githubusercontent.com/378397/221182851-40e57c79-5d9e-48ff-918a-dc8704413712.png) And here are the active and on boot network interfaces: **[active]** ![webmin-network-active](https://user-images.githubusercontent.com/378397/221183121-36aaf6ae-83c4-4ede-860c-ed537f1c47f3.png) **[on boot]**...

I'm probably doing something wrong. My steps to apply the patch: - edited `/usr/share/webmin/authentic-theme/authentic-lib.pl` and applied exactly the same [patch](https://github.com/webmin/authentic-theme/commit/7353a1ae319c961b0deeca2a727187fed2fac45d) - restarted `webmin` with `service webmin restart` _(as root)_ -...

But also the installer isn't able to identify the public IP for cases such `venet0:0`, be it automatically or even after asking for the public interface. _(I understand this is...

The output is: 1 ```bash # ip ro ls|grep default|head -1|sed -e 's/.*\sdev\s//g'|awk '{print $1}' venet0 ``` 2 ```bash # defaultdev=$(ip ro ls|grep default|head -1|sed -e 's/.*\sdev\s//g'|awk '{print $1}') #...

I agree with you. But this _seems_ to be the new default for OpenVZ and, despite this behavior being possibly modifiable, other users may receive their servers in this way...

Sure! Here it is: ![webmin-network-interfaces](https://user-images.githubusercontent.com/378397/221565359-d654b869-4f49-4f88-8071-e6ca755ce2f6.png)

Still `127.0.0.1`, but I believe your patch **is** correct. Do you suggest any extra steps beyond the steps below? - apply your last patch on `/usr/share/webmin/authentic-theme/authentic-lib.pl` - restart webmin with...

O checked twice that my `/usr/share/webmin/authentic-theme/authentic-lib.pl` is now exactly equal/identical to your last patch https://github.com/webmin/authentic-theme/commit/04d9d0e7a9a8ec5f834acd163d29d1de8333479e