WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Getting WiFi Working on rPi3 Model B  (Read 2771 times)

Offline stoker

  • Newbie
  • *
  • Posts: 15
Getting WiFi Working on rPi3 Model B
« on: August 08, 2017, 12:16:21 PM »
Hi

Couldn't find a complete list of instructions so I made this guide from all the various sources I used to get my rPi connected to my wireless network. Remember i'm a newbie, not an expert!

Hope it's useful to someone. Please let me know of any errors or omissions found.

These instructions work (have been tried with) with piCore-9.0.3

I'm assuming that you've already got piCore running and have expanded the size of the second partition
so that there's room to install these additions.

I'm also assuming that you've got a wired Ethernet connection up and running so that you can download
extensions.

Using tce find and install
   firmware-rpi3-wireless.tcz
   wifi.tcz

Back up the changes:
   $ filetool.sh -b

Reboot:
   $ sudo reboot
   
After the rPi3 has rebooted run:

   $ sudo wifi.sh
   
This should give you a list of available wireless networks, choose the one you wish to connect to
and enter any information requested.

You should now be connected to your wireless network. Run ifconfig to see if you now have wlan0
listed and check that it's got a sensible inet addr.

   $ ifconfig

Test the connection by removing the wired Ethernet connection from the rPi and try pinging your
router:

   $ ping 192.168.0.1
   
The address shown above is an example that is commonly used by some routers, if yours is different
substitute the correct address.

If all is well, we can move on to making the WiFi start automatically.

Add the line:

   wifi.sh -a
   
to the end of /opt/bootlocal.sh using vi (or any other text editor you may have installed).
Save the change to bootlocal.sh and exit the editor.

VERY IMPORTANT - backup the changes made:

   $filetool.sh -b

Now if you reboot or power cycle the WiFi should restart and connect automatically.

Cheers
Ian
« Last Edit: August 13, 2017, 09:44:01 AM by Juanito »

Offline gavinmc42

  • Sr. Member
  • ****
  • Posts: 301
Re: Getting WiFi Working on rPi3 Model B
« Reply #1 on: August 12, 2017, 04:29:51 AM »
Yep it works. Add etc/sysconfig to the .filetool.lst.
I usually have a timezone file in there and wifi-wpadrv is there now too.

Have you tried with a Zero? No luck for me
Not sure if it is because the firmware is only for rpi3?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Getting WiFi Working on rPi3 Model B
« Reply #2 on: August 12, 2017, 07:44:24 AM »
Using tce find and install
   firmware-rpi-wireless.tcz
   wifi.tcz

Back up the changes:
   $ filetool.sh -b
It is not required to perform a backup after installing extensions which are downloaded on persistent storage. The backup feature is for saving files that are stored in RAM at run time.

Yep it works. Add etc/sysconfig to the .filetool.lst.
I usually have a timezone file in there and wifi-wpadrv is there now too.
It might be wise to not add directories to  /opt/.filetool.lst  if one doesn't know exactly which files are stored there. This directory in particular contains crucial system configuration which changes depending on boot codes or which extensions are loaded. It's better to only add files to  /opt/.filetool.lst  individually.
Download a copy and keep it handy: Core book ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Getting WiFi Working on rPi3 Model B
« Reply #3 on: August 13, 2017, 05:12:29 AM »
that should be firmware-rpi3-wireless and not firmware-rpi-wireless, no?

Offline stoker

  • Newbie
  • *
  • Posts: 15
Re: Getting WiFi Working on rPi3 Model B
« Reply #4 on: August 13, 2017, 06:50:37 AM »
that should be firmware-rpi3-wireless and not firmware-rpi-wireless, no?

Thanks, you are correct, my mistake, typo.
I'd correct the original post but can't find a way to edit it. Am I being dumb or is it not possible to edit a post?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: Getting WiFi Working on rPi3 Model B
« Reply #5 on: August 13, 2017, 06:54:51 AM »
There is a limit of 30 minutes or so after the original post where one can edit ones own post.
Download a copy and keep it handy: Core book ;)

Offline stoker

  • Newbie
  • *
  • Posts: 15
Re: Getting WiFi Working on rPi3 Model B
« Reply #6 on: August 13, 2017, 07:35:54 AM »
There is a limit of 30 minutes or so after the original post where one can edit ones own post.

Thanks Misalf, the error will have to stay then.
Cheers
Ian

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Getting WiFi Working on rPi3 Model B
« Reply #7 on: August 13, 2017, 09:44:17 AM »
modified

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1267
Re: Getting WiFi Working on rPi3 Model B
« Reply #8 on: August 13, 2017, 10:05:30 AM »
And for the record, that firmware is the same for the rpi zero W.