Some users are reporting problems that the Wi-Fi connection with the router drops, and waiting for Apple to fix it in Mac OS X Lion 10.7.1 what we can do is a pretty old trick that works perfectly.
For this we need to know the IP of our router -generally 192.168.1.1-, which we can also see if we enter Preferences> Network, by clicking on the connection that we have active.
Creating the script
- Open Terminal and type: nano wifiscript.sh
- Once nano is open paste the following code (change the IP if necessary):
#!/bin/bash
ping -i 5 -n 192.168.1.1
- Press Control + O to save and Control + X to exit nano
- Make the script executable with this command: chmod + x wifiscript.sh
- Run it in the background: ./keepalive.sh
If you follow the steps it has to work perfectly, and the truth is that it can help some of you.
Source | OS X Daily
Dude, this sounds great to me. But there is no way they can do it in a video tutorial just in case hahaha… Nothing thanks in advance and greetings from Puerto Rico!