Is it possible to disable network status popups and to disable/enable WLAN when LAN is connected/disconnected on IGEL OS?


Is it possible to apply both the command to disable network status popups and to disable/enable wlan when lan is connected/disconnected?

Learn more, read the entire thread inside the IGEL Community o Slack

sed -i ‘s/show_progress “$@”/true/’ /bin/netcontrol”

and the commands found: github.com/IGEL-Community/IGEL-Community.github.io/wiki/Scripts:-Custom-Commands#disable-wifi-wlan0-when-ethernet-eth0-is-pluged

I tried adding them to the same profile and then neither worked. I separated them and only one of the two gets applied


You should be able to as long as you don’t have anything conflicting in the scripts


put the sed… on the next line down or put it first or either?

this is what I have. It works on some but not others

cat <<“EOF” > /etc/NetworkManager/dispatcher.d/99-wlan

#!/bin/bash

if [ “$1” = “eth0” -o “$1” = “eth1” ]; then

case “$2” in

up)

nmcli radio wifi off

;;

down)

nmcli radio wifi on

;;

esac

fi

EOF

chmod +x /etc/NetworkManager/dispatcher.d/99-wlan

sed -i ‘s/show_progress “$@”/true/’ /bin/netcontrol”


could you solve the problem?

if yes, how?


Try this instead @member

sed -i ‘s/show_progress.*/show_progress false/

Have you tried disabling the registry key below?

userinterface.sessions.network-notification-enabled

Also, try setting this one to 0?

userinterface.sessions.network-notification-timeout

Continue reading and comment on the thread ‘Is it possible to disable network status popups and to disable/enable WLAN when LAN is connected/disconnected on IGEL OS?’.  Not a member? Join Here!

Learn more, search the IGEL Knowledge Base



Ask a question or comment on the above message thread?

Join or log in to the IGEL Community to ask us anything and meet other IGEL customers, partners, and EUC enthusiasts.

Submit a question, or Join Today!


Popular Message Threads


Categories & Tags: