WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline chicany

  • Newbie
  • *
  • Posts: 8
Raspberry Pi3 WIFI Router Based on Linux piCore -
« on: December 17, 2017, 04: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

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

Offline PDP-8

  • Hero Member
  • *****
  • Posts: 915
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #2 on: January 02, 2018, 04: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!
That's a UNIX book! - cool  -- Garth

Offline stoker

  • Newbie
  • *
  • Posts: 15
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #3 on: January 27, 2018, 07: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

  • Administrator
  • Hero Member
  • *****
  • Posts: 11695
Re: Raspberry Pi3 WIFI Router Based on Linux piCore -
« Reply #4 on: January 27, 2018, 09: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

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