Peppermint OS Community Forum

Support => Networking => Topic started by: unisus21 on March 09, 2016, 11:00:16 am

Title: Wifi not connected
Post by: unisus21 on March 09, 2016, 11:00:16 am
I have acer aspire 4715z on newly fresh installed p6..but I cannot connect to my wifi..my card is Broadcom BCM4312 802.11b/g LP-PHY..can someone help me?
Title: Re: Wifi not connected
Post by: PCNetSpec on March 09, 2016, 02:24:33 pm
Can you open a terminal and post the output from:
Code: [Select]
lspci -vnn | grep -i net
please.



There's a very good chance that connecting your PC to your router via an ethernet cable, then running:
Code: [Select]
sudo apt-get install b43-fwcutter firmware-b43-installer
will sort out wireless.
Title: Re: Wifi not connected
Post by: unisus21 on March 09, 2016, 07:35:13 pm
I cannot post the output because I'm at work right now but I already done sudo update upgrade and installed b43 yesterday..getting some error..sudo modprobe also not executed..should I do sudo update again or reinstall p6..

Sent from my LG-D838 using Tapatalk

Title: Re: Wifi not connected
Post by: PCNetSpec on March 09, 2016, 07:57:17 pm
Dunno yet .. you'll have to post the exact modprobe error .. and the output from the 'lspci' command above
Title: Re: Wifi not connected
Post by: unisus21 on March 09, 2016, 08:03:17 pm
sorry what I mean is I already done sudo modprobe but terminal cannot execute that command..so no input on that..but ill get to you when I'm done lspci command above
Title: Re: Wifi not connected
Post by: unisus21 on March 10, 2016, 12:27:13 am
this is what appeared

Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ lscpi -vnn | grep -i net
No command 'lscpi' found, did you mean:
 Command 'lscpu' from package 'util-linux' (main)
 Command 'lspci' from package 'pciutils' (main)
 Command 'lscp' from package 'nilfs-tools' (universe)
lscpi: command not found
Title: Re: Wifi not connected
Post by: unisus21 on March 10, 2016, 12:42:43 am
Code: [Select]
nisus21@unisus-Aspire-4715 ~ $ sudo apt-get install b43-fwcutter firmware-b43-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
b43-fwcutter is already the newest version.
firmware-b43-installer is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 178 not upgraded.

Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ lscp -vnn | grep -i net
The program 'lscp' is currently not installed. You can install it by typing:
sudo apt-get install nilfs-tools

Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ lspci -vnn | grep -i net
02:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8039 PCI-E Fast Ethernet Controller [11ab:4353] (rev 15)
04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
Title: Re: Wifi not connected
Post by: unisus21 on March 10, 2016, 02:52:49 am
should i install other driver like so realtek instead..e.g

Code: [Select]
sudo add-apt-repository ppa:hanipouspilot/rtlwifi
Code: [Select]
sudo apt-get update
Code: [Select]
sudo apt-get install rtlwifi-new-dkms linux-firmware

any suggestion?
Title: Re: Wifi not connected
Post by: AndyInMokum on March 10, 2016, 03:26:44 am
Hi unisus21, how's it going?  Before you install anything else, complete your upgrade process.  With the ethernet cable attached, run the following command in a terminal window:
Code: [Select]
apt dist-upgrade
When the dist-upgrade has completed, it's very important you reboot your computer.  When the reboot has finished, unplug your ethernet cable.  Has your WiFi now sprung into life  ;)?

For future reference, could you please remember to encapsulate terminal outputs with the Insert, Code # function.  For extra long outputs, please use the Spoiler, Sp function.  It preserves the original format of the output.  This makes it easier for future visitors to relate to their own issues.  These functions are found in the forum editor, above the,  :-[ Embarrassed and  the :'( Cry emoticon respectively.  I've done this for you this time - many thanks  ;).
Title: Re: Wifi not connected
Post by: unisus21 on March 10, 2016, 03:46:55 am
done dist-upgrade yesterday with few error code..might try again later..i'll keep it post..
Title: Re: Wifi not connected
Post by: unisus21 on March 10, 2016, 04:39:50 am
already done dist-upgrade..but still nothing..what shoul I do next?
Title: Re: Wifi not connected
Post by: PCNetSpec on March 10, 2016, 01:49:32 pm
Reboot, then post the output from:
Code: [Select]
sudo lshw -C network
Title: Re: Wifi not connected
Post by: unisus21 on March 19, 2016, 12:10:01 am
Sorry I a bit busy this whole week..travel different places..done update,upgrade and dist-upgrade..reboot and still nothing..done lshw -C network
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ sudo lshw -C network
[sudo] password for unisus21:
  *-network               
       description: Ethernet interface
       product: 88E8039 PCI-E Fast Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 15
       serial: 00:1d:72:2d:9c:37
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.37 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:43 memory:f6000000-f6003fff ioport:2000(size=256)
  *-network
       description: Wireless interface
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 00:1f:3a:b1:19:ea
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:17 memory:f8000000-f8003fff
Title: Re: Wifi not connected
Post by: unisus21 on March 19, 2016, 12:21:49 am
one more thing..how to check my laptop were 32bit or 64bit..since i'm a noob to linux world
Title: Re: Wifi not connected
Post by: AndyInMokum on March 19, 2016, 05:52:14 am
one more thing..how to check my laptop were 32bit or 64bit..since i'm a noob to linux world
Check out this tutorial: Check if your CPU is 64-bit or 32-bit (http://forum.peppermintos.com/index.php/topic,3206.msg31650.html#msg31650)  ;).
Title: Re: Wifi not connected
Post by: unisus21 on March 19, 2016, 08:26:05 am
Thanks..what should I do next for spring my wifi to life

Sent from my LG-D838 using Tapatalk

Title: Re: Wifi not connected
Post by: PCNetSpec on March 19, 2016, 06:46:35 pm
run:
Code: [Select]
sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
then
Code: [Select]
sudo modprobe b43
did wireless spring to life ?

if not, does:
Code: [Select]
dpkg -l | grep firmware-b43-installer
return
ii  firmware-b43-installer
?
Title: Re: Wifi not connected
Post by: unisus21 on March 19, 2016, 08:44:29 pm
it goes like this
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ dpkg -l | grep firmware-b43-installer
ii  firmware-b43-installer                      1:018-2                                 all          firmware installer for the b43 driver
Title: Re: Wifi not connected
Post by: unisus21 on March 19, 2016, 08:48:02 pm
modprobe return like this
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
[sudo] password for unisus21:

empty..which is mean that I dont have b43 install ?
Title: Re: Wifi not connected
Post by: PCNetSpec on March 19, 2016, 10:21:10 pm
modprobe commands don't return any output unless there's a problem .. so just run BOTH commands and tell me if wireless now works

ie. after running BOTH commands in the order given .. now if you click the networkmanager icon by the clock, is your network listed ?
Title: Re: Wifi not connected
Post by: unisus21 on March 20, 2016, 05:07:23 am
Yes it is listed but cannot connect into my wireless network..
Title: Re: Wifi not connected
Post by: unisus21 on March 20, 2016, 05:31:08 am
If all of this not working, should I go and buy wifi dongle instead?
Title: Re: Wifi not connected
Post by: AndyInMokum on March 20, 2016, 06:11:55 am
If all of this not working, should I go and buy wifi dongle instead?
If your wireless network is listed and not greyed out, you'll be able to connect into it.  When you left click on your wireless network from the list.  You should be presented with a box asking for your password.  Similar to the image below:

(http://i.imgur.com/7hOpFVY.png)

 This is not your user password.  You must enter your WiFi password.  This is usually found on the back of the router your ISP gave you.  Enter this and click on connect.  That should connect you to the internet  ;).
Title: Re: Wifi not connected
Post by: unisus21 on March 20, 2016, 07:33:27 am
What you mean by not my password..I'm using my own router because my ISP router were broken few years now..and I cannot find password on the back of my latest router
Title: Re: Wifi not connected
Post by: unisus21 on March 20, 2016, 07:56:55 am
By the way..I'll already enter my wifi password (usually used,not from back of a router coz can't find it ) yet still not connected..
Title: Re: Wifi not connected
Post by: PCNetSpec on March 20, 2016, 11:34:08 am
Okay, what's the output from:
Code: [Select]
iwconfig
and
Code: [Select]
iwlist scan
and
Code: [Select]
rfkill list
and does the box Andy showed you accept your wireless password, or tell you it's incorrect ?

What Andy meant by "this is not your password" is the dialogbox in his pic does NOT expect your Peppermint password, it expects your *wireless* password .. if you do not know your wireless password there is no way to connect.

At this point there's little point in getting a USB wireless card .. the Broadcom one *IS* supported .. firstly we need to figure out if the problem is
a) you don't know the wireless password, or have been entering it wrong
or
b) if the Broadcom adapter is physically broken, or there's a software issue somewhere
or
c) the Broadcom adapter is being blocked for some reason
Title: Re: Wifi not connected
Post by: unisus21 on March 23, 2016, 05:51:55 am
iwconfig
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ iwconfig
wlan0     IEEE 802.11abg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         
lo        no wireless extensions.

eth0      no wireless extensions.

iwlist scan
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ iwlist scan
wlan0     Scan completed :
          Cell 01 - Address: 9C:D6:43:81:51:B6
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=70/70  Signal level=-37 dBm 
                    Encryption key:on
                    ESSID:"UNISUS_wifi"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 14024ms ago
                    IE: Unknown: 000B554E495355535F77696669
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: DD7C0050F204104A0001101044000102103B00010310470010630412531019200612289CD6438151B610210006442D4C696E6B1023000752544C383637311024000D45562D323030362D30372D32371042000C3963643634333831353161641054000800060050F20400011011000944534C2D3237353045100800020086
                    IE: Unknown: DD050050F20500
                    IE: Unknown: DD0600E04C020160

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

rfkill list
Code: [Select]
unisus21@unisus-Aspire-4715 ~ $ rfkill list
0: acer-wireless: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
Title: Re: Wifi not connected
Post by: PCNetSpec on March 23, 2016, 08:33:38 am
Well I can see nothing wrong there

So can you answer my other question - "does the box Andy showed you accept your wireless password, or tell you it's incorrect ?"

You need to describe exactly what's happening when you try to connect.
Title: Re: Wifi not connected
Post by: unisus21 on March 23, 2016, 10:06:30 am
Yeah it accepted my wifi password..Then the icon kinda circling for sometime..then a box pop out addressed me "disconnected-you now offline"..same thing happen when I'm installed Mint and Ubuntu..not connected to wifi..when I'm on windows previously, it worked perfectly..driver that listed are Broadcom Linux sta something only..that normal right?
Title: Re: Wifi not connected
Post by: Capivara on March 23, 2016, 10:56:44 am
Yeah it accepted my wifi password..Then the icon kinda circling for sometime..then a box pop out addressed me "disconnected-you now offline"..same thing happen when I'm installed Mint and Ubuntu..not connected to wifi..when I'm on windows previously, it worked perfectly..driver that listed are Broadcom Linux sta something only..that normal right?

I know that problem all too well, but here it's not Linux related. It's my modem/router (Siemens) in desperate need of a reset. I disconnect the power, wait 5 seconds, connect it again and I'm fine for a week or so.  This started to happen when more and more (wireless) devices started to populate the house. At a certain point in time the router started to develop this problem.
Title: Re: Wifi not connected
Post by: PCNetSpec on March 24, 2016, 05:51:50 pm
Quote
that listed are Broadcom Linux sta something only..that normal right?

Well the wl driver *should* work for that card, but after what we did it *should* be using the b43 driver .. what's the output from:
Code: [Select]
sudo lshw -C network
Title: Re: Wifi not connected
Post by: unisus21 on March 25, 2016, 05:36:20 am
there is no b43 driver on list

Code: [Select]
unisus21@unisus-Aspire-4715:~$ sudo lshw -C network
[sudo] password for unisus21:
  *-network               
       description: Ethernet interface
       product: 88E8039 PCI-E Fast Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 15
       serial: 00:1d:72:2d:9c:37
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.35 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:27 memory:f6000000-f6003fff ioport:2000(size=256)
  *-network
       description: Wireless interface
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 00:1f:3a:b1:19:ea
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.248 (r487574) latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:17 memory:f8000000-f8003fff
Title: Re: Wifi not connected
Post by: unisus21 on March 25, 2016, 11:04:32 am
Is there anyway to install driver (if indeed I'm missing some of it) using github or something?

Sent from my LG-D838 using Tapatalk

Title: Re: Wifi not connected
Post by: PCNetSpec on March 25, 2016, 11:08:39 am
run:
Code: [Select]
sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
then
Code: [Select]
sudo modprobe b43
tell me if wireless started working, and post the output from:
Code: [Select]
sudo lshw -C network
again.

Be aware this will revert to the wl driver on a reboot .. so do NOT reboot between those commands .. but if it works, we can make it permanent.
Title: Re: Wifi not connected
Post by: unisus21 on March 25, 2016, 10:26:05 pm
my wireless are listed but can't connect..here the output from command
Code: [Select]
unisus21@unisus-Aspire-4715:~$ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
[sudo] password for unisus21:
unisus21@unisus-Aspire-4715:~$ sudo modprobe b43
unisus21@unisus-Aspire-4715:~$ sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: 88E8039 PCI-E Fast Ethernet Controller
       vendor: Marvell Technology Group Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eth0
       version: 15
       serial: 00:1d:72:2d:9c:37
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.30 duplex=full ip=192.168.1.34 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
       resources: irq:27 memory:f6000000-f6003fff ioport:2000(size=256)
  *-network
       description: Network controller
       product: BCM4312 802.11b/g LP-PHY
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=b43-pci-bridge latency=0
       resources: irq:17 memory:f8000000-f8003fff
  *-network
       description: Wireless interface
       physical id: 1
       logical name: wlan0
       serial: 00:1f:3a:b1:19:ea
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=b43 driverversion=4.2.0-34-generic firmware=666.2 link=no multicast=yes wireless=IEEE 802.11bg
Title: Re: Wifi not connected
Post by: unisus21 on March 25, 2016, 10:27:10 pm
Code: [Select]
link=no

is this normal?
Title: Re: Wifi not connected
Post by: PCNetSpec on March 26, 2016, 11:08:04 am
Run:
Code: [Select]
sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
then
Code: [Select]
sudo modprobe b43 nohwcrypt=1
and see if it'll connect now

If not, please describe exactly what happened when you tried to connect ?
Title: Re: Wifi not connected
Post by: unisus21 on March 27, 2016, 10:04:34 pm
Code: [Select]
unisus21@unisus-Aspire-4715:~$ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
[sudo] password for unisus21:
unisus21@unisus-Aspire-4715:~$ sudo modprobe b43 nohwcrypt=1
unisus21@unisus-Aspire-4715:~$

well..i tried over and over again..still no result..when cut off my cable and click on my network, it goes exactly like before..it tried to connect and then a message pop out "disconnected-you are now offline"..it puzzling me right now..what a possible way to make this success?  :-\ :-\
I'm back on wired right now
Title: Re: Wifi not connected
Post by: AndyInMokum on March 28, 2016, 01:17:51 am
Code: [Select]
unisus21@unisus-Aspire-4715:~$ sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
[sudo] password for unisus21:
unisus21@unisus-Aspire-4715:~$ sudo modprobe b43 nohwcrypt=1
unisus21@unisus-Aspire-4715:~$

well..i tried over and over again..still no result..when cut off my cable and click on my network, it goes exactly like before..it tried to connect and then a message pop out "disconnected-you are now offline"..it puzzling me right now..what a possible way to make this success?  :-\ :-\
I'm back on wired right now
Everything you're describing here indicates to me that you're entering an incorrect Network password.  I'm saying this because I've managed to replicate the, disconnected-you are now offline info window you're referring to.  I did this by trying to access another network with the wrong Network password.  With the settings you have, you should be granted internet access via your Wireless connection.  If you don't have access to the original documentation your Internet Service Provider gave you to verify this password.  You need to contact them directly and ask them to reset the password for you.  This is the only thing I can think that's causing your issue  :-\.
Title: Re: Wifi not connected
Post by: unisus21 on March 28, 2016, 02:05:55 am
I'm pretty sure that I enter a correct password..by the way thanks for your support..I try to call my ISP for help..see what happen..

Sent from my LG-D838 using Tapatalk

Title: Re: Wifi not connected
Post by: PCNetSpec on March 28, 2016, 10:06:45 am
What's the contents of
Code: [Select]
gedit /etc/udev/rules.d/70-persistent-net.rules
and the output from:
Code: [Select]
ls /etc/NetworkManager/system-connections