WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: BCM43228 Not showing up.  (Read 8047 times)

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
BCM43228 Not showing up.
« on: June 12, 2017, 09:03:25 AM »
I am trying to install the BCM43228 WiFi adapter on a HP Thin Client T510.

Installed the WL modules
I need to blacklist the bcma, ssb and b43 modules for this to work.

I tried editing the /etc/modprobe.conf by adding

blacklist ssb
blacklist bcma
blacklist b43

after reboot the changes are gone, I am new to Tiny Core and are confused  :-[ all the time so bare with me here.

I cant use F2 F3 F4 at boot prompt to edit the bootcode because it is installed on a 1GB Flash IDE?

I just want to use this Thin Client as a online radio. Ifconfig and iwconfig tells me there is no Wlan0... lspci tell me there is one...

Click WiFi icon below... Green Sudo cursor appears and then nothing.

sudo wicd-start "command not found" <- Wicd is installed


I don't know what i'm doing and are at loss here.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #1 on: June 12, 2017, 09:24:48 AM »
Welcome evertvaningen

To blacklist any module simply add the modules to the boot config file

Append this boot code to the boot conf file
blacklist=b43,ssb,bcma

Note: boot config file location depends on how you installed tinycore to a USB thumbdrive.  Most likely "extlinux.conf" will be located iin /tce/boot.      If lost, then use the find utility from the terminal to find all config files
Code: [Select]
sudo find / -iname "*conf"
I suggest reading the core  book for valuable insight to core fundamentals
http://tinycorelinux.net/book.html



If you have an Ethernet connection available, you wouldn't need to blacklist the b43 modules, but you would need to cut the firmware from Broadcom's own drivers.  Using firmware-getb43 extension simplifies that task and creates the required firmware extension for you


I strongly recommend the wifi.tcz (extension) over any other wifi connection app.   Honestly I've tried wicd but have always returned to using wifi.tcz extension for long term use.  It's up to you, there are many options.

For wifi,  all that is needed is
wifi.tcz
any modules specific to the hardware
and firmware-(foryourhardware).tcz

 
« Last Edit: June 12, 2017, 09:45:28 AM by coreplayer2 »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #2 on: June 12, 2017, 09:46:34 AM »
Thank you for your reply.


I looked in http://tinycorelinux.net/book.html
What is the location of the Boot config file?
sorry i was late adding that info to my last post

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: BCM43228 Not showing up.
« Reply #3 on: June 12, 2017, 09:48:04 AM »
I looked in http://tinycorelinux.net/book.html
What is the location of the Boot config file?

If you installed with tc-install extension.
The default route is /etc/sysconfig/tcedir/boot/extlinux/extlinux.conf
Or /mnt/your_disk/boot if you choosed vfat as your filesystem.

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
Re: BCM43228 Not showing up.
« Reply #4 on: June 12, 2017, 09:55:57 AM »
Append this boot code to the boot conf file
blacklist=b43,ssb,bcma

to /etc/sysconfig/tcedir/boot/extlinux/extlinux.conf


.... black screen on boot... second boot no problem :P


It worked! Eth1 was added to Iwconfig
« Last Edit: June 12, 2017, 09:59:12 AM by evertvaningen »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 714
Re: BCM43228 Not showing up.
« Reply #5 on: June 12, 2017, 09:58:32 AM »
You probably append in a wrong way.
Please post the full text so that we can help.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #6 on: June 12, 2017, 10:07:14 AM »
hello
Quote
/etc/sysconfig/tcedir/boot/extlinux/extlinux.conf
the above is a symlink,  where the real path is likely
Code: [Select]
/tce/boot/extlinux/extlinux.conf

Quote
It worked! Eth1 was added to Iwconfig
Yeah this happens with Broadcom devices a lot,  there is a fix for the issue around here somewhere...

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
Re: BCM43228 Not showing up.
« Reply #7 on: June 12, 2017, 10:10:50 AM »
How can I make it auto connect on Boot?

I found this solution but jeez, isn't there a simpler way to do that?
http://wiki.tinycorelinux.net/wiki:setting_up_wifi?rev=1323363219

sudo wicd-start is not working for me "command not found"
« Last Edit: June 12, 2017, 10:26:10 AM by evertvaningen »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #8 on: June 12, 2017, 10:38:22 AM »
How can I make it auto connect on Boot?

I found this solution but jeez, isn't there a simpler way to do that?
http://wiki.tinycorelinux.net/wiki:setting_up_wifi?rev=1323363219

sudo wicd-start is not working for me "command not found"

No idea about wicd as stated before.  but the extension info file should provide more detail.   eg: wifi.tcz.info suggests adding this command to /opt/bootlocal or /opt/bootsync for quick auto connect
Code: [Select]
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: BCM43228 Not showing up.
« Reply #9 on: June 12, 2017, 12:23:20 PM »
Quote
It worked! Eth1 was added to Iwconfig
Yeah this happens with Broadcom devices a lot,  there is a fix for the issue around here somewhere...

/opt/bootlocal.sh
Code: [Select]
# Rename wifi eth* to wlan*.
IFNUM=0
for i in /sys/class/net/eth* ; do
   if [ -d $i/wireless ]; then
      [ -e /sys/class/net/wlan${IFNUM} ] && IFNUM=$((IFNUM+1))
      nameif wlan${IFNUM} $(cat $i/address)
      IFNUM=$((IFNUM+1))
   fi
done
wifi.sh -a &
Download a copy and keep it handy: Core book ;)

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
Re: BCM43228 Not showing up.
« Reply #10 on: June 16, 2017, 10:53:06 AM »
I moved the device to the location it needs to be and from there I let it connect to the same Wifi.
Auto connecting is really bad for some reason.

Most of the time I need to connect manually and still it failed to connect the qual is 62 so pretty good.

Sometimes it doesn't auto connect at all :s
« Last Edit: June 16, 2017, 10:58:23 AM by evertvaningen »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #11 on: June 16, 2017, 11:17:50 AM »
Maybe you'ld have better luck removing the broadcom kernel driver from the blacklist and get the official firmware direct from broadcom, use Using firmware-getb43 extension to help get that.

Or simply get an other USB wifi device..?

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
Re: BCM43228 Not showing up.
« Reply #12 on: June 16, 2017, 11:32:32 AM »
Maybe you'ld have better luck removing the broadcom kernel driver from the blacklist and get the official firmware direct from broadcom, use Using firmware-getb43 extension to help get that.

Or simply get an other USB wifi device..?

I did what you told me but still not auto connecting.

Sometimes it connects and sometimes it doesn't...
« Last Edit: June 16, 2017, 11:37:55 AM by evertvaningen »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: BCM43228 Not showing up.
« Reply #13 on: June 16, 2017, 11:40:06 AM »
Please explain what did you do,  use the official modules or use another USB wifi adapter..?   how are you trying to auto connect?  what commands? or show us the script?  what errors did you receive?


Sadly we can't help if we have no information to go off.. 

Offline evertvaningen

  • Jr. Member
  • **
  • Posts: 60
Re: BCM43228 Not showing up.
« Reply #14 on: June 16, 2017, 12:22:43 PM »
Auto connect to Wifi

Edit the bootlocal file to attempt connection at boot time (optional)
    $ nano /opt/bootlocal.sh
       /usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log

So it looks like:
#!/bin/sh
# put other system startup commands here
/usr/local/bin/wifi.sh -a 2>&1 > /tmp/wifi.log

Ctrl + O (Save) *press enter Ctrl + X (Exit)

Finally be sure to backup before poweroff or reboot.
    $ sudo backup
    $ sudo poweroff

It worked every time in my room next to the WiFi but in the kitchen it doesn't work anymore.
No USB WiFi dongle used and I used the firmware-getb43 extension + removed the b43 from blacklist.

The Broadcom detects a signal of 62 from the Wifi so the signal is good.
The HP T510 has 2 antennas.

The connection is made automatically if it succeeds... if it doesn't... then nothing. When I use the wifi extension is only tells me connection is made or connection failed... If it fails is there a way to see why it failed?
« Last Edit: June 16, 2017, 12:33:53 PM by evertvaningen »