Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: puppybyte! on February 23, 2022, 08:19:59 AM

Title: [Solved] autoconnect to home router after a boot, how?
Post by: puppybyte! on February 23, 2022, 08:19:59 AM
I am using 32bit TC13.  I have to manually connect to my home router with ESSID CHANG each time after about 10sec of delay.  Can I automate the process? I tried "sleep 10; wifi sh &" (without the quote) in ~/.X.d/autostart.  I am guessing I need to start wifi configuration file? 
Title: Re: autoconnect to home router after a boot, how?
Post by: polikuo on February 23, 2022, 10:22:15 AM
Hi

wifi.sh requires sudo privilege
Use /opt/bootlocal.sh instead
Code: [Select]
pkill /sbin/udhcpc
wifi.sh -a &
sh -c 'sleep 10 && getTime.sh' &
Title: Re: autoconnect to home router after a boot, how?(SOLVED)
Post by: puppybyte! on February 23, 2022, 10:49:29 AM
Hi

wifi.sh requires sudo privilege
Use /opt/bootlocal.sh instead
Code: [Select]
pkill /sbin/udhcpc
wifi.sh -a &
sh -c 'sleep 10 && getTime.sh' &

I tried to find solution for this for a long time, thanks, works great.
Title: Re: autoconnect to home router after a boot, how?
Post by: polikuo on February 23, 2022, 11:30:52 AM
Hi puppybyte
You are welcome  8)
Title: Re: [Solved] autoconnect to home router after a boot, how?
Post by: Rich on February 23, 2022, 11:36:46 AM
Hi puppybyte!
I've marked that your thread is solved. You can not edit posts after 30 minutes, so if you want something marked
as solved, just ask.  :)