I’ve brought a brand new Asus RT-AC66U modem/router and decided that to use my old Netgear N600 ADSL modem/router DGND3700v1 to extend my home network and expand my wireless network.
I’ve put the Netgear in a room where there was poor wifi signal strength and used a powerline (ethernet over power) adapter to connect back to the new main connection.
To get the Netgear to behave like a wireless Access Point and extend my existing network should have been easy. I’d successfully trialled it first with the Asus model.
After I reset the Netgear to factory default its ‘smart setup’ detected that a DHCP client existed yet it still proceeded to enable DHCP and dish out IP addresses to all connected devices. More annoyingly it didn’t pickup that IP addressed assigned it by the master DHCP and insisted on being accessed from the 192.168.0.1 IP address.
I also discovered that you can’t just plugin a LAN cable on the WAN port 🙁 it had to go into the port 4.
So here are the settings that work for me
1. Connect LAN cable from master router modem on port 4 of the Netgear
2. Manually assign IP address to your computer of 192.168.0.2
3. Access the Netgear from the IP address 192.168.0.1
4. From the Basic Settings page change
‘Does your Internet connection require a login?’ to NO
5. Save settings .. reboot and login via the 192.168.0.1
6. Go to Advanced > LAN Setup and change the IP address to the one you really want to use
7. Save settings on last time and change your computers IP address to Dynamic
8. voila! it should all work
Check out this little clip of my Isotope Visual Layouts plugin for WordPress with Infinite Scroll … All this functionality exists in the Pro version of the plugin today.
MAMP (Mac, Apache, MySQL, PHP) is the first go to solution for anyone developing anything web based on your Mac. Even more so as Apple removed the easy controls to enable ‘web sharing‘ as it was called in 10.8 Mountain Lion.
I had wanted to use WP-CLI – which is a set command line tools for WordPress, only that they don’t install / like MAMP. Which means, now is the time to replace MAMP with my own stack.
Apache is installed on your Mac in 10.8 Mountain Lion – it’s just probably not running.
Open Terminal and enter the following
The version installed on a Mac is 2.2.22
to start it
sudo apachectl start
to stop it
sudo apachectl stop
to restart it
sudo apachectl restart
After you’ve started it, just head to http://localhost
By default, the Apache web pages are stored in
You’ll want to change this. So follow the linkage or look up Mac osX and VirtualHosts
VirtualHosts and VirtualHostX
If you want to have more than one local domain (live wild) think about having a host for dev.local & staging.local, then you’ll need VirtualHosts.
The easiest app to use is VirtualHostX, then right the Setup Wizard. It’s free for 15 days so that should be long enough to setup your Vhosts.
After that, you can create all the VirtualHosts you want (something you couldn’t easily do with MAMP ‘lite’).
Is a little bit harder – you need to download and install it.
Head to http://dev.mysql.com/downloads/mysql/
Download the Mac version
Open the installer pkg files and run the Installer and when its done double-click on the Pref Pane to install it (In my testing, you don’t need to run the Startup pkg installer if you install the Preference Pane).
From System Preferences, you can start MySQL and set it to run at boot … do that 🙂
Set Root Password
(or MySQL won’t work)
/usr/local/mysql/bin/mysqladmin -u root password 'yourpasswordhere'
Fix MySQL Unable to Connect Error
There is a bug in Mac OSx and the MySQL install location is not correctly linked.
You’ll confirm this, if you try to run a WordPress setup so ..
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock
That’s fixed — now you can go try to install / setup WordPress or whatever.
Now that you have MySQL running, you’ll want to launch SequelPro and create MySQL database.
Remember to use the Root user and the Password you set 🙂
PHP is also on your Mac but not running.
Open Terminal and enter
sudo nano /etc/apache2/httpd.conf
(I prefer Nano – you can use Vi or whatever you prefer)
Ctrl W to search
Look for php5_module
Remove the Hash # from the start of the line
Ctrl X to Exit
Yes to Save
sudo apachectl restart
Setup Apache, PHP and MySQL – http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion
How to set VirtualHosts in Mac http://coolestguyplanettech.com/downtown/how-set-virtual-hosts-apache-osx-108-mountain-lion
So I had to do, what I had to do! and reformatted my Mac and now … I’m getting up in running again. I’ve been using Mac for a few years now and before that I’ve been used to running partitioned hard drives – it saves time when you reformat and usually means (touch wood) you can keep your user data safe from your OS.
Critical Apps to Install and get up in running in no time
Immediately after logging in for the first time — I did the following …
- Update User preferences and point my home folder to the second partition (and reboot)
- Download and Install Chrome (then login and all my bookmarks, extensions, etc are syncd)
- Download and Install Dropbox – point to my Dropbox folder on my other partition (done)
- Download and install 1Password (yay, all my passwords and product keys are safe)
Software Installed from App Store
Now that I have Chrome, Dropbox and 1Password … I can do anything (pretty much)
Open App Store and Login – check for system updates and go away for 30 minutes
Open iTunes – play a song and sync that iDevice
Apple Software I couldn’t install from the App Store
I had to dig out the discs for the following — and also the licence keys!
Install Aperture from DVD Image (ahem I had to find the original Aperture v2 DVD and licence key)
Keynote, Pages, Numbers (as it came bundled with a iWorks when I brought this Mac)
I’ve now taken a note of the serial numbers and will try to make an image in case I ever lose the discs.
I’ve not installed Microsoft Office – in the hope that I can use Numbers instead of Excel. Which I can’t really. But so far I’m trying to live with Google Docs instead.
3rd Party Software installed from the Web
There is a ton of software I realised was installed from the web. like …
Jollys Fast VNC
2012 was the biggest year to date for web site visitors – and with good reason! So Thank You to everyone who came, read and left (and came back, again).
55,266 unique visitors clocked up 5.1 million seconds of visit duration but more importantly pages / visit and average visit duration also grew.
So what happened in 2012? Search Engine Optimisation (SEO) didn’t work out … but having a content strategy did.
I’ll go into this in another post on another day, but SEO failed … What Google thought I was an expert on, just wasn’t the case. I was getting great traffic for a couple of articles — but nothing that I was consistently writing about.
On the other hand … I setup a sub-domain wordpress.damien.co and started writing regularly about stuff I love. That content strategy is paying off. You can see in 2012, that from July on my weekly uniques has consistently been about 1000 visits per week. The people who are coming (maybe like you reading this) are starting to come back too read other stuff.
Well actually having a content strategy is working out in a way … I still get good visitors for topics like ‘Android Wifi Apps’ – but I’m getting more benefit from visitors reading up on WordPress.
Having a content strategy has also paid off – I’m now making and selling WordPress plugins!
Most importantly, thanks to Google Analytics, I’ve got a good history now and had great experience in setting up GA tracking for events, campaigns and other bits.
In my Isotope Visual Layouts WordPress plugin, you’ll find that Inline code documentation has been added to pretty much all the functions so just start by opening the main plugin file dbf_isotope.php and do a search for
Under that you just need to change posts=20 to posts=-1
Note .. this also applies to Visual Layouts Pro