Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple lan interface, poor detection of the main (192.168.1.10) #434

Closed
accnetdev opened this issue Jan 7, 2024 · 14 comments
Closed

Multiple lan interface, poor detection of the main (192.168.1.10) #434

accnetdev opened this issue Jan 7, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@accnetdev
Copy link

accnetdev commented Jan 7, 2024

Happy new year Massimo !

Édition Windows 11 Professionnel - Version 23H2 Installé le 18/‎11/‎2022 Build du système d’exploitation 22631.2861 Expérience Windows Feature Experience Pack 1000.22681.1000.0
HFS 0.50.6
MS Edge, Mozilla Firefox, Google Chrome
I use virtual lan (ie: two or more ip on the same nic interface) in that case the Intel(R) Ethernet Controller (3) I225-V has its main private ip to 192.168.1.10 to connect the main local lan (behind a Freebox Delta) and a second private ip 192.160.0.10 to connect on a virtual lan to get some ressources.

When I start HFS3 I get my browser on :
http://localhost:8080/~/admin/

Black screen, so I have to replace manually localhost by my private IP which is 192.168.1.10 to :

http://192.168.1.10:8080/~/admin/

Login screen

20240107_1138_RYZ9MINI_eproust_scsht_001

HFS ~ HTTP File Server - Copyright 2021-2023, Massimo Melina a@rejetto.com
License https://www.gnu.org/licenses/gpl-3.0.txt
started 2024-1-7 10:41:33
version 0.50.6
build 2024-01-02T10:56:57.046Z
cwd C:#\hfsnew
node v18.5.0
platform win32
pid 6616
config config.yaml
HINT: type "help" for help
http serving on any network : 8080
serving on http://169.254.83.107:8080
serving on http://192.168.0.10:8080
serving on http://192.168.56.1:8080
serving on http://192.168.112.1:8080
serving on http://192.168.80.1:8080
loading plugin antibrute

ipconfig /all

Configuration IP de Windows

Nom de l’hôte . . . . . . . . . . : ryz9mini
Suffixe DNS principal . . . . . . :
Type de noeud. . . . . . . . . . : Hybride
Routage IP activé . . . . . . . . : Non
Proxy WINS activé . . . . . . . . : Non

Carte Ethernet Ethernet 3 :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Sophos TAP Adapter
Adresse physique . . . . . . . . . . . : 00-FF-21-F7-89-7E
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui

Carte inconnue Tailscale :

Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Tailscale Tunnel
Adresse physique . . . . . . . . . . . :
DHCP activé. . . . . . . . . . . . . . : Non
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::d8ff:5060:f230:9168%62(préféré)
Adresse d’autoconfiguration IPv4 . . . : 169.254.83.107(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.0.0
Passerelle par défaut. . . . . . . . . :
NetBIOS sur TCPIP. . . . . . . . . . . : Désactivé

Carte Ethernet Ethernet :

Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Intel(R) Ethernet Controller (3) I225-V
Adresse physique . . . . . . . . . . . : 70-70-FC-01-36-CA
DHCP activé. . . . . . . . . . . . . . : Non
Configuration automatique activée. . . : Oui
Adresse IPv6. . . . . . . . . . . . . .: 2a01:e0a:822:2370:16bd:e1d3:af02:6590(préféré)
Adresse IPv6 temporaire . . . . . . . .: 2a01:e0a:822:2370:c99e:fe2d:ce26:2453(préféré)
Adresse IPv6 de liaison locale. . . . .: fe80::592f:5ff3:5c74:bb32%19(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.0.10(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Adresse IPv4. . . . . . . . . . . . . .: 192.168.1.10(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Passerelle par défaut. . . . . . . . . : fe80::de00:b0ff:fe3b:5de0%19
192.168.1.254
IAID DHCPv6 . . . . . . . . . . . : 141586684
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-2B-06-26-29-70-70-FC-01-36-CA
Serveurs DNS. . . . . . . . . . . . . : 9.9.9.10
149.112.112.10
192.168.1.254
NetBIOS sur Tcpip. . . . . . . . . . . : Activé

Carte Ethernet Ethernet 4 :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : TAP-NordVPN Windows Adapter V9
Adresse physique . . . . . . . . . . . : 00-FF-05-82-C1-47
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui

Carte Ethernet Ethernet 2 :

Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Adresse physique . . . . . . . . . . . : 0A-00-27-00-00-15
DHCP activé. . . . . . . . . . . . . . : Non
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::59d4:e6d2:f6cd:6ac8%21(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.56.1(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Passerelle par défaut. . . . . . . . . :
IAID DHCPv6 . . . . . . . . . . . : 1309278247
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-2B-06-26-29-70-70-FC-01-36-CA
NetBIOS sur Tcpip. . . . . . . . . . . : Activé

Carte réseau sans fil Wi-Fi :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : RZ608 Wi-Fi 6E 80MHz
Adresse physique . . . . . . . . . . . : 10-6F-D9-75-04-A9
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui

Carte réseau sans fil Connexion au réseau local* 1 :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Adresse physique . . . . . . . . . . . : 12-6F-D9-75-24-89
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui

Carte réseau sans fil Connexion au réseau local* 2 :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter #2
Adresse physique . . . . . . . . . . . : 12-6F-D9-75-34-99
DHCP activé. . . . . . . . . . . . . . : Non
Configuration automatique activée. . . : Oui

Carte Ethernet VMware Network Adapter VMnet1 :

Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Adresse physique . . . . . . . . . . . : 00-50-56-C0-00-01
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::4acc:90e:a56a:96c4%5(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.112.1(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Bail obtenu. . . . . . . . . . . . . . : dimanche 7 janvier 2024 10:38:08
Bail expirant. . . . . . . . . . . . . : dimanche 7 janvier 2024 11:52:53
Passerelle par défaut. . . . . . . . . :
Serveur DHCP . . . . . . . . . . . . . : 192.168.112.254
IAID DHCPv6 . . . . . . . . . . . : 1509970006
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-2B-06-26-29-70-70-FC-01-36-CA
NetBIOS sur Tcpip. . . . . . . . . . . : Activé

Carte Ethernet VMware Network Adapter VMnet8 :

Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Adresse physique . . . . . . . . . . . : 00-50-56-C0-00-08
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui
Adresse IPv6 de liaison locale. . . . .: fe80::2c69:c705:57a6:5f33%7(préféré)
Adresse IPv4. . . . . . . . . . . . . .: 192.168.80.1(préféré)
Masque de sous-réseau. . . . . . . . . : 255.255.255.0
Bail obtenu. . . . . . . . . . . . . . : dimanche 7 janvier 2024 10:38:08
Bail expirant. . . . . . . . . . . . . : dimanche 7 janvier 2024 11:52:53
Passerelle par défaut. . . . . . . . . :
Serveur DHCP . . . . . . . . . . . . . : 192.168.80.254
IAID DHCPv6 . . . . . . . . . . . : 1778405462
DUID de client DHCPv6. . . . . . . . : 00-01-00-01-2B-06-26-29-70-70-FC-01-36-CA
Serveur WINS principal . . . . . . . . : 192.168.80.2
NetBIOS sur Tcpip. . . . . . . . . . . : Activé

Carte Ethernet Connexion réseau Bluetooth :

Statut du média. . . . . . . . . . . . : Média déconnecté
Suffixe DNS propre à la connexion. . . :
Description. . . . . . . . . . . . . . : Bluetooth Device (Personal Area Network)
Adresse physique . . . . . . . . . . . : 10-6F-D9-75-04-AA
DHCP activé. . . . . . . . . . . . . . : Oui
Configuration automatique activée. . . : Oui

@accnetdev accnetdev added the bug Something isn't working label Jan 7, 2024
@rejetto
Copy link
Owner

rejetto commented Jan 7, 2024

happy new year to you too!
so, your problem is that http://localhost:8080/~/admin/ is giving you a blank page, right?
what do you see at http://localhost:8080/ ?

@accnetdev
Copy link
Author

This:
20240107_1217_RYZ9MINI_eproust_scsht_001

@rejetto
Copy link
Owner

rejetto commented Jan 7, 2024

ok, now go back to the blank page, press F12, and let's see the content of the Console tab

@accnetdev
Copy link
Author

accnetdev commented Jan 7, 2024

No longer Black Screen?! Admin screen is OK now in Edge or Firefox.

My remaining question is why there is no entry (displayed by HFS3):
serving on http://192.168.1.10:8080 as it is my main interface?

20240107_1804_RYZ9MINI_eproust_scsht_001

HFS ~ HTTP File Server - Copyright 2021-2023, Massimo Melina a@rejetto.com
License https://www.gnu.org/licenses/gpl-3.0.txt
started 2024-1-7 17:58:30
version 0.50.6
build 2024-01-02T10:56:57.046Z
cwd C:#\hfsnew
node v18.5.0
platform win32
pid 5172
config config.yaml
HINT: type "help" for help
http serving on any network : 8080
serving on http://82.65.59.248:8080
serving on http://169.254.83.107:8080
serving on http://192.168.0.10:8080
serving on http://192.168.56.1:8080
serving on http://192.168.112.1:8080
serving on http://192.168.80.1:8080
loading plugin antibrute

@rejetto
Copy link
Owner

rejetto commented Jan 7, 2024

at the moment HFS is considering only 1 ip for interface, i just assumed it was ok.
I'll reconsider this for next release.

@accnetdev
Copy link
Author

OK.
Some other applications don't detect my main interface 192.168.1.10 and are using another one (linked to Virtualbox or VMWare) as main interface. I don't understand why. Is it related to Windows virtual interfaces on the same Windows interface or to the Virtualization softwares...
I will try to search explanations.
Thanks for your time.

@accnetdev accnetdev reopened this Jan 7, 2024
@rejetto
Copy link
Owner

rejetto commented Jan 7, 2024

maybe they made my same mistake, to not consider multiple ips on the same interface

@accnetdev
Copy link
Author

accnetdev commented Jan 7, 2024

image

20240107_1824_RYZ9MINI_eproust_scsht_001

I keep this topic opened because I need to test again to reproduce the blank screen at each test. It is not the case at the moment...

@rejetto
Copy link
Owner

rejetto commented Jan 8, 2024

should be fixed by this
https://github.com/rejetto/hfs/releases/tag/v0.51.0-beta9

@rejetto
Copy link
Owner

rejetto commented Jan 8, 2024

please give a feedback on this when possible

@accnetdev
Copy link
Author

grazie mille !

20240108_1544_RYZ9MINI_eproust_scsht_001

20240108_1541_RYZ9MINI_eproust_scsht_001

20240108_1543_RYZ9MINI_eproust_scsht_001

@rejetto
Copy link
Owner

rejetto commented Jan 8, 2024

thank you very much!
So, i'm closing this issue.
On an unrelated topic, i see those "operation timeout" in your "internet" page.
I'd like to work on that. If you agree, you could open another issue.

@rejetto rejetto closed this as completed Jan 8, 2024
@accnetdev
Copy link
Author

accnetdev commented Jan 8, 2024 via email

@rejetto
Copy link
Owner

rejetto commented Jan 8, 2024

à biento^t

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants