Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: chicany on December 17, 2017, 01:19:47 AM

Title: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: chicany on December 17, 2017, 01:19:47 AM
Hello team,
Firstly, let me say thank you for piCore OS. This product is great and it's the only distro I run on my P3. Secondly, let me share my experience with building PiCore Wifi router based on Raspberry Pi3. It is described in the tutorial below.

http://brezular.com/2017/12/17/raspberry-pi3-wifi-router-based-on-linux-picore/

The tutorial also contains the downloadable image. Please, feel free to test it and have fun.

-brezular
Title: Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: tatemono on December 18, 2017, 08:09:08 AM
@chicany: Good job!  Thank you.
Title: Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: PDP-8 on January 02, 2018, 01:43:08 PM
Nice!  Thanks for documenting your project so nicely.

I wonder if you could get by with using the built-in busybox ash shell, rather than loading and using the bash shell?

Nice work - I look forward to your next project!
Title: Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: stoker on January 27, 2018, 04:53:54 AM
Hi Chicany

Thanks for working all this out, great job!

I've got it up and running on my Pi3 and everything seems to be working as expected.

There was one minor issue that took me a little while to solve, I couldn't get anything that I added to the end of /opt/bootlocal.sh to run until I added an '&' to the hostpad command, like this:

Code: [Select]
hostapd /usr/local/etc/hostapd.conf &
I don't know why I needed this or if it's the right thing to have done but it worked for me.

Cheers
--Ian
Title: Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: Rich on January 27, 2018, 06:37:11 AM
Hi stoker
... I couldn't get anything that I added to the end of /opt/bootlocal.sh to run until I added an '&' to the hostpad command, like this:

Code: [Select]
hostapd /usr/local/etc/hostapd.conf &
That's because  hostapd  is still running so control never returns to  bootlocal.sh  to execute the next command. By placing
the  &  at the end of the line you are telling the operating system to give this command its own process in the background
to run in and return control to the current process.
Title: Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
Post by: stoker on January 28, 2018, 08:14:55 AM
Thanks for the clarification Rich.
--Ian