“Suppose you bought an iMac that will stay in the office connected to cable broadband. All you need wireless access to the house over a notebook and a smartphone. Normally what would you do if you had to share this connection through the house? Buy a Wi-Fi router, right?Wrong.

After spending all his savings on a Mac, you can think about saving. With cable connected to your Mac, open System Preferences and go to Sharing.

Internet Sharing in Mac OS | Click to enlarge

You’ll find a list of services on the left that can be shared, one of which is the Compart.Internet. Go to him, without checking the checkbox that is located beside the name. If already checked, just to be able to disable modify the settings. On the right you probably already have the correct options to start sharing. Make sure that the list Share your connection from theEthernet option is chosen. Farther down the list displayed by using computers to enable theAirPort.

Ideally, you set a password to protect your wireless network. If you are sharing files or do not want someone snooping around your network, this step is required. On second thought, leave an open wireless network is never a good idea.

AirPort Options

Click the AirPort Options …, name your network (by that name is that your network will be found) and enable the Enable encryption (using WEP).

Security through WEP | Click to enlarge

Note that the password length will vary depending on the type of Extended WEP key you choose. Unfortunately, WEP is not the best, so choose to use 128-bit and enter a password, which must have 13 digits. Try using a password with digits harder to guess someone as special characters in place of some etra ¬ $.

Turn on sharing

Finally activate the checkbox list on the left of the Compart.Internet. Do not be alarmed by the warning that is displayed, click and enjoy.

Bonus: Share 3G connections

This also works for sharing 3G via Wi-Fi connections, if you have a 3G modem connected to your Mac, just choose the name of the modem instead of Ethernet. Great for those who meet with clients in areas without Wi-Fi and want to make an average of offering free access.”

2. Open the script with your favorite text editor. Change “1680×1050”, and or 1680×1050, and or 1680×1050 60 (60 been the frame rate, give extra attention to that! It’s very important that you type the correct frame rate for your external monitor!) by the resolution you want to output on your external monitor. Save and exit.

4) If you want to customize the appearance and behavior of dwm, you need to re-compile it, but it is really easy. The customizations are done through theconfig.def.h file. If you don’t want to study the config setup right now, do it later and just grab some config.def.h on the Internet to use as base, or look into my references below for more info. You can grab my custom config as base if you want,here. (Right-Click and “Save link as”)

5) Compile it:

sudo make clean install

6) Now you need to create a entry in the login manager session list:

sudo gedit /usr/share/xsessions/dwm.desktop

Paste and save this:

[Desktop Entry]

Encoding=UTF-8

Name=dwm

Comment=This session starts dwm

Exec=/usr/local/bin/dwm

Type=Application

Now you just need to log out and choose dwm in the session list : )

For every time you want to modify dwm, you need to re-compile it, just extract the package again, make your customizations and re-compile it, it will rewrite the installed dwm, so you don’t need to worry about erasing the old one first : )

Found this useful? Help others by sharing this through your favorite social network below!