Category Archives: Mobile

Change WiFi Identity/Hostname on Android

Android with attitudeJust a quick one about how to change the hostname of your Android device. By hostname I mean the name it identifies itself with when connecting to WiFi networks. The default name is usually something like android-dfac61527a005982 which is far from helpful. Stupid thing is iOS has let people set this since iOS 4.

Anyway on to the instructions. You will require Root access on your device and some way of opening and editing the build.prop file. I personally used ES File Explorer. Just remember to set system directory to RW. Now you need to go to the system directory of your phone. In ES this just means pressing the / at the top of the file list. Now open the system folder/directory  and scroll down to the build.prop file. Click on this and open it in a text editor and choose to edit it. Now add the following line to the end of the file

net.hostname=YOURDESIREDNAME

Save the file, reboot your phone and you’re done.

I got the instructions from a post by a user called portscan here.

If you prefer to use adb then you can find instructions here.

Beware of FTP Apps

FTPYesterday I received an email from my hosts saying they had received a report of email spam coming from my site. They said they had removed the offending script and suggested my site had been exploited. Like a good webmaster I logged in and checked my files. Nothing was amiss except a new directory with a random name like rbdfghydhf. I deleted the directory then started checking my server logs to see what requests had been made around the time the directory was created. I found nothing so began the process of deleting old files and scripts, which is something we should do regularly anyway.

So four hours later, after some Battlefield 4, I log back in to find a whole bunch of new directories had been made and again nothing in the logs to indicate how they were created. So I contacted my hosts and asked them to check the ownership of the directories and the files they contained. They eventually got back and told me they had been created via my FTP account from an an IP address in Poland, 77.114.120.185. Given my username and password are not simple things I scanned my computer to make sure it hadn’t been compromised. Two different anti virus programs and no malware found. Then I remembered that about a month or so ago I tested three FTP apps on my Android phone. One didn’t seem to work but the other two worked just fine after some messing with the settings. So by logical deduction I suspect this is how my account details got compromised. I checked the Play Store and only two of the three apps I tested are still listed which is another sign that this was the problem.

The moral of the story, if you need to FTP from your mobile device or anything else that requires your sites login details stick with trusted names or those that have a lot of reviews both good and bad. I was lucky but they could of done some serious damage.

Post Popularity Graphing by Knowledge Ring