Tuesday, May 18, 2021

You Can't Access This Shared Folder Because Your Organization's...

Error: 

You can’t access this shared folder because your organization’s security policies block unauthenticated guest access.

Wednesday, February 27, 2019

How to install Wi-Fi driver for Realtek RTL8821CE on Ubuntu 18.04?

I found this solution for my AIO HP Desktop C409d. A very simple and working solution from the awesome users from askubuntu.com. Here's the full link:

https://askubuntu.com/questions/1071299/how-to-install-wi-fi-driver-for-realtek-rtl8821ce-on-ubuntu-18-04

Ok here goes:

1. Open a terminal.

2. sudo apt-get install --reinstall git dkms build-essential linux-headers-$(uname -r)

3. git clone https://github.com/tomaspinho/rtl8821ce

4. cd rtl8821ce

5. chmod +x dkms-install.sh

6. chmod +x dkms-remove.sh

7. sudo ./dkms-install.sh

8. Reboot your PC and walla! your wifi should be working. Insya Allah.







 

Monday, February 25, 2019

How to off auto redirect http to https?

Ever wondered why your browser auto redirects http links to https even though you didn't type https? Well, you can solve this problem by simply creating / editing the .htaccess as you can see below.

Monday, August 21, 2017

How to resize your linux partition when you have this problem (see image)?

Long time since my last blog update, so here goes :D

IMPORTANT NOTE: before doing step 1-3, you need to insert a Ubuntu live-cd and boot from it. And then, open gparted in the live-cd and continue with step 1-3.

The problem was that the partitions were somehow locked. So:
  1. I right Clicked both sd2 and sd5 and chose "Deactivate".
  2. I resized the extended (sda2) partition.
  3. I resized the lvm (sda5) partition.
The problem was fixed
I should add that in the VM the new space was not available, so I had to run those 2 commands: expand LVM to all remaining free space:
lvextend –l +100%FREE [MOUNTPOINT]
expand filesystem:
sudo resize2fs [MOUNTPOINT]
 
::NOTES::
1. To display Mountpoint run the command lvdisplay to display where is 
the root directory. For example, /dev/nameoftheserver/root
 
2. After that, run lvextend -1 +100%FREE /dev/nameoftheserver/root

3. Run sudo resize2fs /dev/nameoftheserver/root.
 
Credit to papnikol and linuxdev2013 for their solution in 
https://superuser.com/questions/917988/
gparted-cannot-resize-extended-or-lvm-partition 

Tuesday, September 24, 2013

Debian / Ubuntu Linux Setting a Default Gateway

Looking for a Linux command to change / set new default Gateway and I found just what I need at http://www.cyberciti.biz.... by the ever famous NIXCRAFT!!! Thanks a lot! Here are the commands:

Q. How do I setup a default gateway on Debian or Ubuntu Linux? My router IP is 192.168.1.254 and I'd like to setup this as a default gateway for Debian Linux.

A. You can use command line tool such as
a] ip command - show / manipulate routing, devices, policy routing and tunnels

b] route command - show / manipulate the IP routing table
c] Save routing information to a configuration file so that after reboot you get same default gateway.

ip command to set a default router to 192.168.1.254

Login as the root and type: # ip route add default via 192.168.1.254
OR
$ sudo ip route add default via 192.168.1.254

route command to set a default router to 192.168.1.254

Login as the root and type: # route add default gw 192.168.1.254
OR
$ sudo route add default gw 192.168.1.254

Save routing information to a configuration file /etc/network/interfaces

Open /etc/network/interfaces file # vi /etc/network/interfaces
OR
$ sudo vi /etc/network/interfaces
Find eth0 or desired network interface and add following option
gateway 192.168.1.254
Save and close the file. Restart networking:
# /etc/init.d/networking restart
OR
$ sudo /etc/init.d/networking restart

Thursday, September 19, 2013

How to Download iOS 7 | PCMag.com

A very good guide for updating your IPAD / IPHONE / IPOD to IOS 7 by Jill Duffy from http://www.pcmag.com

----------------------Here Goes-----------------------------

1. Check Your Device
First you need to make sure you have a compatible device. iOS 7 will work on iPhones that are iPhone 4 and later, Retina display iPads, iPad 2, and fifth-generation iPod touch. Not all devices will get every new feature available in iOS 7. For example, iPhone 4 won't have Siri or the panoramic camera feature. (See our complete list of devices that will run iOS 7 for more details on the missing features.)
iOS 7 will also come preinstalled on the new iPhone 5s and iPhone 5c, which will be available September 20.
2. Decide to Download Now or Later
Not everyone will want to download iOS 7 right away. Why? Because the crush of users all trying to get it ASAP will likely crowd Apple's servers, making the operating system very slow to download.
Wait until later tonight or tomorrow, and the download and installation will go much faster. The update also seems to go faster via iTunes than over the air (explained further below).
3. Update iTunes (If Backing Up To or Installing From iTunes)
If you back up your iPhone or iPad to iTunes, or if you plan to install iOS 7 from iTunes, you have to check whether you're running the latest version (11.0.5). To check, launch iTunes, and go to Help > Check for Updates.
Install and updates and restart iTunes.
4. Back Up Your Device
This step may be the single most important one to follow. Back up your iOS device!
With the latest version of iTunes installed, you can go ahead and back up your iPhone, iPad, or iPod touch using iTunes.
Alternatively, you can back it up to iCloud. Go to Settings > iCloud > Storage & Backup. Under Backup, turn on the switch for iCloud Backup.
5. Update iOS
When iOS 7 becomes available, you can update wirelessly, also known as over the air, which for most people with a good Wi-Fi connection will be the simplest method. But it could take much longer than the second method, which I'll explain second.
Over the Air (via Wi-Fi)
On your device, go to:
Settings > General > Software Update
You'll see instructions there to download and install it. You may want to plug in your device because the download and installation process may drain the battery.
Via iTunes
Alternatively, you can update your software via iTunes. This is the method I prefer, and which I recommend.
Plug your iPhone, iPad, or iPod Touch into your computer with the USB cord and Launch iTunes (if it doesn't open automatically). On the left side of iTunes, find your device, for example, "Jill's Phone," and click it.
In the center of the screen, you'll see "Version" and a button "Check for Update." Click "Check for Update."
A dialog box will tell you that a new software version is available. Select "Download and Update" or just "Download." In the past, "Download and Update" hasn't always worked for me. The other option to "Download" has, though, but it can take a while if the network is jammed with people trying to upgrade to iOS 7. You'll have to push one more button in the center of your iTunes window in order to put the operating system onto your phone.
6. Be patient!
The worst thing you can do during an update is interrupt it, so just be patient and let iOS 7 do its thing. If you're anxious to get iOS 7, just be mindful of when the device shuts down fully to reboot. Leave it alone until you see a screen that prompts you for action.

Tuesday, August 20, 2013

How to remove delta search from Firefox? (Uninstall Delta-Search.com Redirect in Firefox) | Anvisoft - Labs

Thanks to Anvisoft.com, here are the tips on removing the annoying Delta Search from your beloved Firefox. :D

 Step 1 > Uninstall Delta Search from your computer.


Follow the instruction that corresponds to your operating system to uninstall Delta Search.

• Windows XP: Go to Start> Control Panel> Add Remove programs> Look for Delta, Delta Toolbar, BrowserProtect > Click on Remove.

• Windows 7/Vista: Go to Start> Control panel> Uninstall a program/Programs and Features> Look for Delta, Delta Toolbar, BrowserProtect> click on Uninstall.


Important notice: You may have different program related to delta search listed on your computer. Please make sure to remove them all.

Monday, July 29, 2013

Creating Apache2 Virtualhost via Webmin

Here are some useful steps on creating Apache Virtualhost via Webmin... so that you don't have to create them via editing directly the apache2.conf / httpd.conf. Thanks to http://rimuhosting.com.
  • Go to your Webmin control panel.
  • Upgrade to the latest version of webmin (required if you are running a version older than 1.080, and normally advisable regardless).
  • Go to servers.
  • Go to Apache WebServer.
  • In the 'Create a New Virtual Server' section select "Any Address" (so you do not end up with a hard coded IP addresses in your conf file)
  • Enter 80 for Port (and select the last radio button).  This way the VirtualHost will co-exist with any SSL-enabled virtual hosts you add later on.  SSL-enabled VirtualHosts need to listen on port 443.
  • In the "Document Root" field enter where the virtual host HTML files will be.  For example, /home/vhostdomain.com/htdocs.
  • For "Server Name" enter the domain name for which you want to serve pages.  e.g. "vhostdomain.com"
After you have created the Virtual Host, there are a few other things you may wish to edit.
For example, click on the Virtual Host, and go to Networking and Addresses.  Enter an "Alternate virtual server names" of *.YourOtherDomain.com.  With this setting, your virtual host will serve pages for http://yourotherdomain.com/ as well as http://www.yourotherdomain.com/.
At this point you may also wish to set other options like "Log Files", so the log files for the Virtual Host end up in separate log file from the main server's log files.
To activate your changes, click "Apply Changes" on the main Apache Webmin page.
Of course, be sure to configure your DNS server so the virtual host domain name points to your server's IP address.
Webmin creates a VirtualHost directive in the Apache config file (/etc/httpd/conf/httpd.conf).  An example VirtualHost directive looks like this:


DocumentRoot /home/vhostdomain.com/htdocs
ServerName vhostdomain.com
ServerAlias *.vhostdomain.com

See http://httpd.apache.org/docs/2.2/vhosts/examples.html for some more VirtualHost examples.