using both wifi and wired

Share your opinion about Porteus Kiosk Edition.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
radu
Ronin
Ronin
Posts: 2
Joined: 03 Dec 2015, 22:17
Distribution: 3.6.0
Location: Bucharest

using both wifi and wired

Post#1 by radu » 03 Dec 2015, 22:21

Is it possible to configure the kiosk to use wired connection if available, and fallback to wifi if wired is not connected?

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: using both wifi and wired

Post#2 by francois » 04 Dec 2015, 03:26

I moved your post in the porteus kiosk edition section.
Prendre son temps, profiter de celui qui passe.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: using both wifi and wired

Post#3 by fanthom » 04 Dec 2015, 10:19

@radu,
If you enable dhcp + wifi in the wizard then each connection will work as a fallback to the other. I'm not sure which one will be primary but i assume wired as it gets established faster.
Please add [Solved] to your thread title if the solution was found.

mrtn
White ninja
White ninja
Posts: 5
Joined: 29 Aug 2017, 14:17
Distribution: Ubuntu

using both wifi and wired

Post#4 by mrtn » 04 Sep 2017, 01:21

I have a further question about this issue.
Does "fallback" mean the wireless connection can take over only if the wired can't be *established* (eg. connect to the network and get an IP) and vice versa; or does fallback mean both connections are constantly monitored for properly working internet access and porteus automatically uses the interface with a working internet connection?

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

using both wifi and wired

Post#5 by fanthom » 04 Sep 2017, 09:37

Both connections are constantly monitored by dhcpcd and wpa_supplicant. They work on all available network interfaces so when first connection is lost then second one takes its role.

Thanks
Please add [Solved] to your thread title if the solution was found.

mrtn
White ninja
White ninja
Posts: 5
Joined: 29 Aug 2017, 14:17
Distribution: Ubuntu

using both wifi and wired

Post#6 by mrtn » 04 Sep 2017, 21:42

Sorry for asking again, but I just want to be sure:
Are the connections monitored for (local) connectivity only or for actual availability of internet access.

With connectivity only I mean:
Wired: Checking for having an ethernet cable plugged in and an IP address of the local network.
Wireless: Being connected to the access point and having an IP address.

With internet access I mean more than just (local) connectivity, but in particular checking if "the internet works".

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

using both wifi and wired

Post#7 by fanthom » 05 Sep 2017, 06:20

This is local connectivity test.

Internet test would have to be handled by additional system customization. If pinging kernel.org does not work then switch wireless to wired (kill dhcpcd/wpa_supplicant on wifi interface).

Thanks
Please add [Solved] to your thread title if the solution was found.

Locked