WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Raspberry Pi3 WIFI Router Based on Linux piCore -  (Read 743 times)

Offline chicany

  • WikiUser
  • *
  • Posts: 8
Raspberry Pi3 WIFI Router Based on Linux piCore -
« 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

Offline tatemono

  • WikiUser
  • *
  • Posts: 17
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #1 on: December 18, 2017, 08:09:08 AM »
@chicany: Good job!  Thank you.

Offline PDP-8

  • Full Member
  • ***
  • Posts: 242
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #2 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!
cat -v Considered Harmful  -- Rob Pike

Offline stoker

  • WikiUser
  • *
  • Posts: 12
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #3 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

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5775
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #4 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.

Offline stoker

  • WikiUser
  • *
  • Posts: 12
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #5 on: January 28, 2018, 08:14:55 AM »
Thanks for the clarification Rich.
--Ian