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

Add internet connectivity information to network UI #620

Merged
merged 16 commits into from Jun 29, 2020
Merged

Add internet connectivity information to network UI #620

merged 16 commits into from Jun 29, 2020

Conversation

zbchristian
Copy link
Collaborator

Show a table with the internet connection information (interface name, ip address, gateway and connectivity) on the Network UI.

The displayed information is based on

  • the default routes returned by ip route list
  • the name of the gateway by calling host
  • the connectivity is tested by a ping to 1.1.1.1 (defined in includes/internetRoute.php)
  • the connectivity including DNS resolution is tested by a ping to one.one.one.one (defined in includes/internetRoute.php)
    All this requires a bit of time. If this takes too long, I can provide an Ajax version.

@billz
Copy link
Member

billz commented Jun 29, 2020

All this requires a bit of time. If this takes too long, I can provide an Ajax version

In my testing I didn't notice a big delay, so I think it's fine for now

@billz billz merged commit 51a7180 into RaspAP:master Jun 29, 2020
@billz
Copy link
Member

billz commented Jun 29, 2020

@zbchristian another great addition to the project. thanks!

@billz
Copy link
Member

billz commented Jun 29, 2020

Resolves #618

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants