Getting WiFi to Work on MacBook Pro Mid 2014

Getting WiFi to Work on MacBook Pro Mid 2014

Note: You MUST have an Internet connection already established to run this

Refer: https://askubuntu.com/questions/748951/wi-fi-not-working-on-mid-2014-macbook-pro-with-ubuntu-15-10

sudo apt-get update
sudo apt-get --reinstall install bcmwl-kernel-source
sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
sudo modprobe wl

After shutdown, you will need to run the following two commands again

sudo modprobe -r b43 ssb wl brcmfmac brcmsmac bcma
sudo modprobe wl

Tar Zip Files

Extract just a Tar file

tar -xvf yourfile.tar

Compress Files

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file

Extract Files Current Folder

tar -xzvf name-of-archive.tar.gz

Extract Files to Specific Location

Target Location Must Exist

mkdir /tmp/Documents
tar -xzvf name-of-archive.tar.gz -C /tmp/Documents

Split Files Into Pieces

Refer: https://askubuntu.com/questions/54579/how-to-split-larger-files-into-smaller-parts

mkdir output
split --bytes=10M aem-6.4-authoring.tar.gz output/prefixeS

Combine the Pieces

cat prefixeS* > aem-6.4-authoring.tar.gz

Sharing Ubuntu Image

split --bytes=1000M Ubuntu1804-AEM-64GB.ova output/prefixeS
cat prefixeS* > Ubuntu1804-AEM-64GB.ova

Remove Z to NOT do compression, this includes FULL path in tar file

tar -cvf firefox-profile.tar.gz /home/mruckman/.mozilla/firefox/7sqqgk5s.default-release-1/

Boot Ubuntu from External HDD

An easy way is to create a Live CD version with Rufus using Windows and using persitence. There is probably some performance hit, but it works well, the only issue is the user automatically has sudo without a password, but possesion of the USB is the security itself.

It has a portable app version, but you need to go into advance settings to allow it to see your USB drives, before installation. Only 20.04+ versions of Ubuntu work with this, and during setup you need to give it your persistence size. I've used 200GB for my first test.

Author's Site Refer: https://rufus.ie/en/

Tutorial on how to Use Refer https://youtu.be/cHF1ByFKtZo

I have not tried this way because it risks messing up your host machines boot because it might put grub on the internal hard drive. It might be worth risking on an old Linux laptop but not a new Window installation.

Refer: https://www.zachpfeffer.com/single-post/Install-Ubuntu-on-an-External-Hard-Drive

Install Ubuntu on an External Hard Drive Home Zach's Blog.pdf

Ubuntu List Installed Packages

Refer: https://itsfoss.com/list-installed-packages-ubuntu/

Example of how to upgrade sublime-text from the command line, the first step, is just to make sure it's installed and to get its proper name.

apt list --installed | grep -i sublime
sudo apt-get update
sudo apt-get --only-upgrade install sublime-text

To list packages using apt command:

apt list --installed

To list packages using dpkg command:

dpkg-query -l

To list Snap packages installed on your system:

snap list

To list Flatpak packages installed on your system:

flatpak list

List the recently installed packages

So far you saw the list of installed packages in alphabetical order. What if you want to see the packages that have been installed recently?

Thankfully, a Linux system keeps a log of everything that happens in your system. You can refer to the logs to see the recently installed packages.

There are a couple of ways to do this. You can either use the dpkg command’s log or the apt command’s log.

You’ll have to use grep command to filter the result to list the installed packages only.

grep " install " /var/log/dpkg.log

You can also use the history of apt command. This will show only the programs that you installed using apt command. It won’t show the dependencies installed with it, though the details are present in the logs. Sometimes, you just want to see that, right?

grep " install " /var/log/apt/history.log

List recently installed packagesListing recently installed packages

The history log of apt is quite useful because it shows the time when the apt command was run, the user who ran the command and the packages that were installed by a command.

How To View Clonezilla Images

You can use RescueZilla which has a built-in GUI for Filezilla along with a file browser as long as you do NOT compress the backup image.

RescueZilla Tags - https://github.com/rescuezilla/rescuezilla/tags

RescueZilla Download - https://rescuezilla.com/download.html

Video at: http://youtu.be/OwZ-98KkZs4

Requirement

sudo apt install partclone

Create File to Hold ISO

mkdir /media/mruckman/RUCKMANS-4T/ISO
touch /media/mruckman/RUCKMANS-4T/ISO/IDEAPAD330.ISO

The following wild card names might be slightly different depending on your backup

sudo cat /media/mruckman/RUCKMANS-4T/2021-07-07-01-img/sda2.ext4-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.restore -C -s - -O /media/mruckman/RUCKMANS-4T/ISO/IDEAPAD330.ISO

Now to Finish Preparing the ISO Image

cd /media/mruckman/RUCKMANS-4T/ISO

# Answer Yes when prompted to Abort
e2fsck -f IDEAPAD330.ISO
resize2fs -f IDEAPAD330.ISO

Mount the Image in Read-Only to Retrieve Files. When mounted, it's read-only and can be found /mnt

Note: Mount Utility only seems to work on local drive and NOT external drive

sudo mount -o loop -t ext4 /media/mruckman/RUCKMANS-4T/ISO/IDEAPAD330.ISO /mnt

Unmount the ISO Image

sudo umount /mnt