Blog

How to upgrade DD-WRT

Sooner or later after installing DD-WRT on your router you will need to upgrade it. Fortunately this task is easier than the initial installation.

First, you will need to download the appropriate file for your router. To do this, you can go to any of the following addresses and look for the model of your router:

ftp://ftp.dd-wrt.com/betas/

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/

https://dd-wrt.com/support/other-downloads/?path=betas

In my case, as I have a Linksys WRT1900ACS, I browsed up to this folder:

ftp://ftp.dd-wrt.com/betas/2018/07-28-2018-r36410/linksys-wrt1900acs/

In the corresponding folder you will find two files. The factory-to-ddwrt file is to flash the router from OEM to DD-WRT, which is the one we used in the first installation. The webflash file is to upgrade when already running DD-WRT and is the one we need now. In my case I downloaded:

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2018/07-28-2018-r36410/linksys-wrt1900acs/ddwrt-linksys-wrt1900acs-webflash.bin

Next, access the router’s GUI (by default is at 192.168.1.1), go to the Administration tab and click the Firmware Upgrade tab.

Click the Browse… button and select the file you have previously downloaded.

Finally, click the Upgrade button and wait until the router restarts.

 


Some handy links

Wiki dd-wrt: Upgrading to a Newer Version of DD-WRT
How to install DD-WRT on the Linksys WRT1900ACS Wireless Router
Linksys WRT1900ACS product page [Amazon UK]

 

How to install DD-WRT on the Linksys WRT1900ACS Wireless Router

The Linksys WRT1900ACS is a good wireless router, but one of its best features is that it is supported by different open source firmwares including dd-wrt. So, if you’re like me and want to use this router with the OpenSource router firmware to unlock all of its power instead of the limited factory firmware, read this guide to learn how to install it. It’s not a hard process but I had several issues when I installed the firmware on my router so I’ve written in this guide all the solutions I had to apply. I hope they will help you too.

Read More

Block Coinhive from mining coins for others

Some days ago I noticed while I was browsing the web with Firefox Quantum 57.0.4 (64-bit) how the fans of my Macbook Air started running at full speed. Immediately I opened the Activity Monitor and I saw that the process responsible of this anormal CPU use was “Firefox Web Content”.

Afterwards I used Little Snitch to investigate who was responsible for it and I found out that a website was connecting to the domain coinhive.com to do JavaScript crypto coin mining.

The solution was simple, I added a new rule in Little Snitch to deny any outgoing connection to the domain coinhive.com

Now my Mac will not work mining to others via coinhive ?

How to create a symbolic link to a folder on a Synology NAS

Have you ever had the need to have a folder in a different location on your Synology NAS but you don’t want or can’t move the folder from its original location? Instead, you only need a reference to the contents of that folder from a different location. That’s exactly what a symbolic link (aka symlink) is for, but unfortunately there’s no visual way to do it in DSM using File Station. Luckily, you can do it using command line via telnet.
 

Enable Telnet

First you will need to enable the telnet service on DSM:

Control Panel > Terminal & SNMP > Enable Telnet Service


 

Using mount command

Maybe your first option would be to use the ln command but I’m sorry to say that it will maybe not work properly because the access to symbolic links via Samba/FTP is disabled on the NAS for security reasons and I haven’t found a way to enable it. So the symbolic link might work in some cases, such as using an UPnP client or on the DS audio app, but not from the DS file app or on File Station.

Having said that, a better solution is to use the mount command. For using it we will access to the Synology NAS via your preferred Telnet/SSH client. I use the ssh command on a Mac Terminal window.

ssh admin@<NAS IP Address>

 
And then, assuming that the source folder you want to link is /volume1/music and the “symbolic link” folder you want to create is /volume2/share/music

mkdir /volume2/share/music
sudo mount --bind /volume1/music /volume2/share/music

 

Permanent solution

However, this symbolic link will only work until the NAS is restarted. If you want the folder to be mounted every time the NAS is restarded you should edit the /etc/rc.local file adding the mount command line.

sudo vi /etc/rc.local
sudo mount --bind /volume1/music /volume2/share/music
~ 
~ 
~ 
~ 
A quick cheat sheet in case you don’t know too much about how to use vi:

:x Exit, saving changes.
:w Save file.
:q Exit if no changes have been made.
:q! Exit and undo any changes made.

r Replace one character.
x Delete character to the right of cursor.
i Insert before cursor.
o Open a new line below current line.
dd Delete current line.

With Esc we can swap from command mode to input mode and viceversa.

Note: These steps have been tested on DSM 6.1.

 

Lunes de aguas

The University of Salamanca, founded in 1094, has the privilege of being the oldest university in Spain and the second oldest European university in continuous operation. The historical phrases ‘Quod natura non dat, Salmantica non praestat’ (what nature does not give, Salamanca does not provide, in Latin) and ‘Multos et doctissimos Salmantica habet’ (many and very versed Salamanca has) give an idea of the prestige the institution rapidly acquired.

During the conquest of America, inside the walls of the university, the rights of indigenous peoples were discussed, and the peoples themselves recognized as sovereign and independent entities, which was revolutionary for that period. This was a time when some of the brightest minds attended the university and it was known as the School of Salamanca. Its scholars renovated theology, laid the foundations of modern-day law, international law and modern economic science, and actively participated in the Council of Trent. The school’s mathematicians studied the calendar reform commissioned by Pope Gregory XIII and proposed the solution that was later implemented.

By the mid XVIth century, the prestigious and respected city, temple of knowledge, light of European Christianity and dogma, combined learning with leisure and fun without limits or consideration. Along with the ‘Colegios Mayores’ (colleges) and libraries coexisted insane and lustful taverns, bawdy houses of all kinds, and all manner of attacks against the sixth and all other commandments invented and to be invented. The large student population of the Castilian capital, more than eight thousand at the time (quite large if we compare it with the total population of Madrid which was eleven thousand people in this period) cohabited with a wide human world full of professors (uprights, visionaries and occultists), servants, grooms, bartenders, corrupt priests, sandpipers, housekeepers, prostitutes to suit all budgets, hawkers and carnies.

On 12th November 1543, the devout Catholic Felipe II (King of Spain 1556-1598, Portugal 1581-1598, Naples and Sicily 1554-1598 and also England and Ireland jure uxoris during his marriage to Queen Mary I 1554–1558) arrived in Salamanca to marry with his first wife, María Manuela de Portugal. While he was staying there and the city was in full celebratory mood in honour of the magnificent event, the serious-minded young prince discovered with astonishment and consternation the ‘dark’ side of Salamanca. The pious Felipe was so shocked by the lewd and pagan behaviours he saw there that he issued an edict to extend the abstinence from meat during Lent to all carnal matters; and to avoid behaviour which could lead to carnal sin, he ordered the expulsion of all the prostitutes, driving them to the other bank of the Tormes river during Lent and forcing them to stay at least one league away from the city limits.

After the period of abstinence, on the Monday after Easter Monday the harlots returned to Salamanca guided by Father Lucas, a priest in charge of removing all prostitutes from Salamanca before Ash Wednesday, and bringing them back after the period of the ban had ended. The Tormes river was then a witness to the ‘explosion’ of all the basic insticts repressed for six weeks. A big party accompanied with plenty of red wine and organised by the students welcomed the prostitutes on the bank of the river, where the euphoria and the debauchery triggered a big orgy that ussually end in a great collective dip.

Nowadays, the ’Lunes de aguas’ (one Monday after Easter Monday) is a bank holiday in Salamanca and it’s a tradition to go out and eat hornazo, a pie filled with pork loin, chorizo, Serrano ham and boiled egg.