Jump to content
Jay

Disable Wired Connection

Recommended Posts

I have switched to wireless connection and every time I log in I have to disconnect the wired connection 1.

How can I prevent the wired connect from trying to connect at boot time so I don't have to disconnect it manually?

Is there a config file I can edit to permanently disconnect it and then I can edit it later if I want to use wireless again later.

I'm using Tinkerboard2 OS.

Edited by Jay

Share this post


Link to post
Share on other sites

hello @Jay

you can edit the rc.local in /etc/  this is the script auto executed when booting.

please add the following line in the file:

sudo ifconfig eth0 down

(save the modifed local.rc, and then reboot)

remove this line if you'd like to use wired connection.

alternatively, sudo ifconfig eth0 down can be added in /etc/init.d/rockchp.sh --it does the same job

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...