Page 1 of 1

How to enable tethering?

Posted: Mon Sep 18, 2023 4:48 am
by nnriyer

I would like to enable Ethernet tethering in my Laptop. While trying to enable tethering getting message like that " Ethernet tethering has to be manually allowed in /etc/connman/main.confg. How to enable it. ? I am using static wired connection.


Re: How to enable tethering?

Posted: Tue Sep 19, 2023 8:54 am
by gyrog

@nnriyer,
Have you read '/etc/connman/main.confg'?
it contains lots of comments explaining how to use the various options.


Re: How to enable tethering?

Posted: Tue Sep 19, 2023 9:12 am
by nnriyer

I didn't able to grasp the explanations. That is why requested help from you people.


Re: How to enable tethering?

Posted: Tue Sep 19, 2023 9:46 am
by gyrog

@nnriyer,
The direct answer to your question is:
edit the '/etc/connman/main.confg' fiile, and change:

Code: Select all

# TetheringTechnologies = wifi,bluetooth,gadget

to

Code: Select all

# TetheringTechnologies = wifi,bluetooth,gadget
TetheringTechnologies = wifi,bluetooth,gadget,ethernet

BUT, heed the warning:

Code: Select all

# NOTE that if ethernet tethering is enabled, then a DHCP server is
# started on all ethernet interfaces. Tethered ethernet should
# never be connected to corporate or home network as it will disrupt
# normal operation of these networks. Due to this ethernet is not
# tethered by default. Do not activate ethernet tethering unless you
# really know what you are doing.

especially the last sentence.


Re: How to enable tethering?

Posted: Tue Sep 19, 2023 11:00 am
by nnriyer

Thank you very much. I have done previously. However, not able to enable the tethering. As per your instruction, I have done once again, This time I have re-started the Laptop and voila. Thank you very much for very beautiful OS.


Re: How to enable tethering?

Posted: Tue Sep 19, 2023 11:35 am
by nnriyer

My static wired connection have very good internet speed. So thought of connecting to my mobile.