Linux Lite Forums
Software - Support => Installing Linux Lite => Topic started by: AZ on October 06, 2014, 07:04:04 PM
-
Linux Lite: 2.0
I'm trying to reinstall LL on my hard drive after losing wifi due to installing updates. When I go to install LL using the CD, I have the option to install LL alongside Windows XP. I've already installed LL alongside XP. I don't want two LL operating systems & XP installed. I want to reinstall LL over the existing LL. I believe, I have to delete one of the partitions (number 5) but it won't let me. I need to know which partition to delete. Below are my partitions on my hard drive. Any help would be much appreciated. Thanks
AZ
linux@linux:~$ sudo parted -l
Model: ATA WDC WD600UE-22KV (scsi)
Disk /dev/sda: 60.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 47.3GB 47.3GB primary ntfs boot
2 47.3GB 60.0GB 12.7GB extended
5 47.3GB 58.5GB 11.3GB logical ext4
6 58.5GB 60.0GB 1473MB logical linux-swap(v1)
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Error: Invalid partition table - recursive partition on /dev/sr0.
Ignore/Cancel?
-
Hello!
If I felt I had to reinstall Linux Lite, I would select 'Something Else', select to format sda5, and install the replacement LL to replace the current one in sda5. However, depending on the wireless card you have, if you can get online another way (LAN cable, tethered phone, etc.), it might be easier to just pull down and reinstall the affected drivers instead - ESPECIALLY if you've installed a lot of software after you installed your current one...
73 DE N4RPS
Rob
-
I agree with N4RPS here. Think you're better off trying to get wifi working vs. going through a new install again. Have a feeling that as soon as you run updates after the install you'll just end up back where you are now.
Temporarily use an ethernet cable for now. Open a terminal and enter following commands one at a time.
sudo apt-get update
sudo apt-get install inxi
inxi -nz
Copy/Paste back here the output of that last command which will show us what kind of network card is on the machine and what driver it's using.
-
Hi gold_finger,
Here are the results from the last command, inxi -nz.
linux@linux:~$ inxi -nz
Network: Card-1: Broadcom BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller driver: b43-pci-bridge
IF: wlan0 state: up mac: <filter>
Card-2: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter driver: 8139too
IF: eth0 state: down mac: <filter>
linux@linux:~$
Thanks,
AZ
-
Not really an expert on wifi problems, but let's see if we can fix this.
Edit: If anyone else who is familiar with Broadcom problems wants to jump in, please do.
Go to Menu -> System -> Install/Remove Software to open up the Synaptic Package Manager. Highlight "All" and "Status" on the left-hand side of Synaptic, then type "broadcom" in the "Quick filter" search box. (If Quick filter not showing, just use "Search". Once you do a first search in Synaptic, when you close and re-open the program it will then start showing the "Quick filter" box.)
(http://ibin.co/1cvuyIcJEtOg)
Try to adjust size of results window so that all of the boxes shown in green show up without you having to scroll. When you have that done, take a screenshot of the window and post it back here for us to see. Menu -> Accessories -> Screenshot -> Active window -> OK -> Save -> then change name of screenshot to synaptic.png and save it. (Use directions in this post for including screenshots in your reply: https://www.linuxliteos.com/forums/index.php?topic=487.0 (https://www.linuxliteos.com/forums/index.php?topic=487.0).)
Also, go to Menu -> Settings -> Install Drivers. After it finishes loading, take a screenshot of that and post it back here. Don't change anything with the program -- just take the screenshot, then close the window.
Lastly, open a terminal and post back output from this command:
apt-cache policy linux-firmware-nonfree bcmwl-kernel-source
-
Hello AZ,
Source - 'Varun' (http://ubuntuforums.org/showthread.php?t=2174511)
The sta driver won't support your card, the native b43 will. Please purge the sta driver package and install the firmware for b43 instead -
sudo apt-get purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree
Then unload (if already loaded) and reload the b43 driver-
sudo modprobe -rv b43
sudo modprobe -v b43
Remove ethernet cable.
Reboot machine.
-
Hello!
Thanks. After all, why 'throw out the baby with the bath water'?
73 DE N4RPS
Rob
-
Hello Rob,
yes indeed, an apt phrase 8)
-
Earlier, I gave the wifi card & driver information when I used the CD to access the internet. I removed the CD and hooked up the ethernet cable and looked at the wifi card & driver information again and came up with a different driver. Below is the new (correct) information when using the ethernet cable to access the internet.
Network: Card-1: Broadcom BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller driver: wl
IF: N/A state: N/A mac: N/A
Card-2: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter driver: 8139too
IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: <filter>
-
Network: Card-1: Broadcom BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller driver: wl
IF: N/A state: N/A mac: N/A
Given that new info, go ahead an follow instructions posted by bitsnpcs a few posts ago. Boot into installed LL (not live CD) with ethernet cable plugged-in; then open a terminal and enter the four commands in order shown in his post. When done, reboot computer without ethernet cable attached and hopefully your wifi will be working again.
P.s. It's entirely possible that when you enter "sudo apt-get install linux-firmware-nonfree" command it will come back saying that it's already installed. That's fine, just continue on to next steps.
-
I attached the ethernet cable, entered the four commands posted by bitsnpcs, removed the ethernet cable (hooked up the wifi) & rebooted and still had no wifi. I tried entering the four commands again and still no wifi. Any ideas. Thanks.
AZ
-
Lets see what PCI ID you have for that wireless
lspci -nn -d 14e4:
-
Below are the results from the command: lspci -nn -d 14e4:,
gary@gary-Presario-V5000-RG324UA-ABA:~$ lspci -nn -d 14e4:
06:02.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
-
[14e4:4318] (rev 02)
remove any of the packages you previously installed for that wifi
and install this
sudo apt-get install firmware-b43-installer
-
Thank you very much misko_2083. I installed the code and I'm now able to get on the internet with a wireless connection.
AZ
-
I'm experiencing a similar problem today. I already have 64-bit LL2.0 on a PC, and today I have installed the 32-bit version on an elderly Dell Inspiron 1525 laptop as a dual-boot with Windows Vista. At first the wireless connection was working OK with the installed LL (I succeeded in synching my Google & LastPass accounts), then it stopped working. The wireless connection still works in Windows and when I boot from the LL CD.
I've followed the instructions in Post #2 from gold_finger, and the results of the inxi -nz command, in the installed LL, are:
Network: Card-1: Broadcom BCM4311 802.11a/b/g driver: wl
IF: N/A state: N/A mac: N/A
Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
The command "lspci -nn -d 14e4:" suggested by misko_2083 returns no result.
I have also installed the firmware-b43-installer as per Misko_2083's Post #13, and rebooted without the ethernet cable, but the wireless connection still doesn't work.
Incidentally, if I need to reinstall, could I use the 64-bit LL2.0? There is a system report attached - it suggests that the CPU has 32-bit and 64-bit operating modes.
[attachment deleted by admin, more than 25 days old]
-
Regarding my final question, I've now established that it is a 32-bit machine.
-
Just some more info to read for you broadcom chip users.
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
Since Linux-Lite 2.0 is based on Ubuntu 14.04
It explains that the wl driver is the proprietary broadcom driver and b43 is the open source driver.
Confusing I know. But that is broadcoms fault, (just my opinion).
For the b43 open source :
Note: Not all PCI-ID's and/or modes are supported.
So pcid with broadcom is a must. Seems like all broadcom chips are not created equal.
You should though just be able to get your 4311 working. Just some other colored hoops
broadcom wants you to jump through is all. And they do make it hard.
-
bobw,
sudo apt-get update
Download new pci id list
sudo update-pciids
try again
lspci -nn -d 14e4:
if it's
14e4:4311
then you'll have to remove the existing drivers
sudo apt-get purge bcmwl-kernel-source firmware-b43-installer
And install linux-firmware-nonfree
sudo apt-get install linux-firmware-nonfree
reboot
Broadcom drivers are a mess :)
-
Thanks misko_2083.
Response to the 3rd command is:
0b:00.0 Network controller [0280]: Broadcom Corporation BCM4311 802.11a/b/g [14e4:4312] (rev 01)
So it's 14e4:4312, rather than 14e4:4311. Should I now omit the 4th command and proceed to the 5th?
-
Yes, it's the same driver for 14e4:4312.
-
Unfortunately, that hasn't worked. I also tried going back to the 4th command, then the 5th again, but still no success.
The output from the inxi -nz command is now:
Network: Card-1: Broadcom BCM4311 802.11a/b/g driver: b43-pci-bridge
IF: N/A state: N/A mac: N/A
Card-2: Marvell 88E8040 PCI-E Fast Ethernet Controller driver: sky2
IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
I've looked at the page suggested by rokyntji:
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx
Should I try something from this page:
sudo apt-get --reinstall install bcmwl-kernel-source
This is for Ubuntu 12.04-12.10, so may not be right for LL2.0?
-
That's [14e4:4312] (rev 01) how did I missed that :) Sorry
Broadcom PCI ID's are so confusing
sudo apt-get purge linux-firmware-nonfree
sudo apt-get install firmware-b43-installer
reboot
As you can see Broadcom BCM4311 is on the list here
misko@misko-virtual-machine:~$ apt-cache show firmware-b43-installer
Package: firmware-b43-installer
Priority: optional
Section: multiverse/kernel
Installed-Size: 56
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Daniel Echeverry <[email protected]>
Architecture: all
Source: b43-fwcutter
Version: 1:018-2
Replaces: firmware-b43-lpphy-installer (<= 1:015-14)
Depends: b43-fwcutter (>= 1:018-2), bzip2, wget
Breaks: firmware-b43-lpphy-installer (<= 1:015-14)
Filename: pool/multiverse/b/b43-fwcutter/firmware-b43-installer_018-2_all.deb
Size: 3960
MD5sum: 07d2f9cb3e6f8c0091a51aa52e2a15d1
SHA1: 5426bc3087f8b45f0367a0b536a7ad5f55412db4
SHA256: 98bcb297319ccde275b8a130ae00b7eea867d54c8a6db6d0ee511fc0bfb2b90b
Description-en: firmware installer for the b43 driver
This package downloads and installs the firmware needed by the b43
kernel driver for some Broadcom 43xx wireless network cards.
.
Supported chipsets:
* BCM4306/3;
* BCM4311;
* BCM4318;
* BCM4321;
* BCM4322 (only 14e4:432b);
* BCM4312 (with Low-Power a.k.a. LP-PHY).
Description-md5: 69be8c515d4213f3cacafffeda87ed7a
Homepage: http://wireless.kernel.org/en/users/Drivers/b43
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
-
Thanks again misko_2083 for all your help, and rokyntji for your response, but unfortunately it still hasn't worked.
I am wondering now whether I should try a reinstall - it's strange that the wireless connection was working initially then failed.
Any further suggestions would be appreciated though.
-
Usually when I see this part of a thread coming up ("it did not work also"). My next question is was a md5sum done of downloaded Linux-Lite iso.
-
I don't think it was. I made the disk about 3 months ago, before misko_2083 developed the Thunar facility for checking the MD5sum. I've used to install LL successfully on two other machines, but they didn't have wireless connectivity. I don't have the ISO file now.
If no other suggestions emerge, I'll try reinstalling from the present disk then if that fails I'll try a fresh download.
-
Try one more thing.
Maybe you card is supported by more than one driver, and they are conflicting.
First unload all the drivers.
sudo modprobe -r b43 wl brcmsmac
Then loasd this driver:
sudo modprobe b43
Wait a few seconds and try to make a connection. If that works you'll have to blacklist the other drivers.
If that doesn't work unload this driver and try this one.
sudo modprobe brcmsmac
Unload, then try next driver.
sudo modprobe wl
Here is how to blacklist a driver
echo "blacklist drivername" | sudo tee -a /etc/modprobe.d/blacklist-broadcom-wireless.conf
Replace "drivername" with the ones you don't want to use
You will have to do it twice because you need 2 lines in the /etc/modprobe.d/blacklist-broadcom-wireless.conf
One for each blacklisted driver.
Example:
echo "blacklist wl" | sudo tee -a /etc/modprobe.d/blacklist-broadcom-wireless.conf
echo "blacklist brcmsmac" | sudo tee -a /etc/modprobe.d/blacklist-broadcom-wireless.conf
Update the initramfs after any changes to the blacklist files:
sudo update-initramfs -u
Reboot:
sudo reboot
-
Thanks misko_2083 - you're certainly putting some work in for me.
I didn't get past the first command. It returned message:
modprobe: FATAL: Module wl is in use.
What should I do now?
-
sudo apt-get remove --purge bcmwl-kernel-source
reboot
-
OK - done that.
Should I now follow the instructions at #26, or are some now redundant?
-
Now run
sudo modprobe b43
Wait some tine and try to connect
-
Thanks misko_2083 - you're a star.
It's now working perfectly - ethernet cable is disconnected!