eddie

your baddie teddie since 1983.

Category: tech (page 1 of 3)

Setup DHCP server on Fedora or Centos

It’s quite easy to quickly setup a DHCP server on Fedora/Centos machine.

[root@xstorm ~]# dnf -y install dhcp
[root@xstorm ~]# vi /etc/dhcp/dhcpd.conf
# create new
# specify domain name
option domain-name “yourdomain.com”;
# specify DNS server’s hostname or IP address
option domain-name-servers 10.0.0.1;
# default lease time
default-lease-time 600;
# max lease time
max-lease-time 7200;
# this DHCP server to be declared valid
authoritative;
# specify network address and subnet mask
subnet 10.0.0.0 netmask 255.255.255.0 {
# specify the range of lease IP address
range dynamic-bootp 10.0.0.200 10.0.0.254;
# specify broadcast address
option broadcast-address 10.0.0.255;
# specify default gateway
option routers 10.0.0.1;
}

Start DHCP server and enable it on startup

[root@xstorm ~]# systemctl start dhcpd

[root@xstorm ~]# systemctl enable dhcpd

If you have Fedora firewalld running, allow DHCP service (UDP port 67)

[root@xstorm ~]# firewall-cmd –add-service=dhcp –permanent
success
[root@xstorm ~]# firewall-cmd –reload
success

Samsung SM951 AHCI 512GB M.2 SSD & Silverstone SST-ECM20 on Hackintosh

SSD pricing is slowly dropping to a reasonable price point that i argue everyone should at least have put their OS boot drive as an SSD and use traditional mechanical hard drives for large file and media storage.

For less than US$60, you can easily get a ADATA Premier SP550 240GB SATA-III SSD that has decent read and write speed that would improve performance on ANY desktop or laptop systems running on traditional mechanical hard drive by a magnitude of 2x-4x.  Laptop users would see an even larger jump in performance gains if their existing 2.5″ hard drive is only running at 5,400rpm.

SSDs vs Traditional hard drive speed

SSDs on SATAII and SATA-III vs Traditional hard drive speed. Graph credits to TomsHardware.

Continue reading

EKEN H8R vs GoPro Hero 4 Silver – Photo quality test and review

EKEN’s latest action camera – the H8R (R for remote model) is quipped to be a Hero 4 killer at a fraction of the cost. Armed with the Sony IMX078 12.4 Megapixel sensor, 2″ rear live view LCD and front data LCD, it also takes 4K videos at 30fps (vs 15fps on Hero 4 Silver).

Here’s a comparison table:

Eken H8R vs Go Pro Hero 4 Silver

Continue reading

Apple Service Centers in Singapore

apple-service-center

Looking for authorised service center for your Apple products in Singapore?

Below is a list of service centers (as at April 2017) for sending in your Apple products.

 Name and LocationProduct service
1A.LAB@PS

PLAZA SINGAPURA, 68 ORCHARD ROAD, #04-12B
SINGAPORE 238839
+65 6784 1318
Mac,iPad,iPhone,Apple Watch, Apple Watch Sport,Apple Watch Edition,iPod,Apple TV,Beats
2QCD@WL

WHEELOCK PLACE, 501 ORCHARD ROAD, #05-13/14
SINGAPORE 238880
+65 6555 0500
Mac,iPad,iPhone,Apple Watch, Apple Watch Sport,Apple Watch Edition,iPod,Apple TV,Beats
3QCD@TH

8@TRADEHUB21(FACING MAINROAD), #02-08, NO.8, BOON LAY WAY
SINGAPORE 609964
+65 6515 2010
Mac,iPad,iPhone,Apple Watch, Apple Watch Sport,iPod,Apple TV,Beats
4A.LAB@CCP
CHANGI CITY POINT, 5 CHANGI BUSINESS PARK CENTRAL 1, #01-55
SINGAPORE 486038
+65 6784 1318
Mac,iPad,iPhone,Apple Watch, Apple Watch Sport,iPod,Apple TV,Beats

For booking of appointment with QCD, go here.
For booking of appointment with A.Labs, go here.

Apple iPhone 6S and 6S Plus pricing compared


iphone 6s selection

iPhone 6s color selection





It’s that time of the year again. Every September we are presented with a new iPhone. On September 12th, pre-orders began in 12 countries namely United States, Australia, Canada, China, France, Germany, Hong Kong, Japan, New Zealand, Puerto Rico, Singapore and the United Kingdom. Most notable here is China which makes it’s debut in the initial launch countries. It is a massive market for iPhones, which also means the grey market would be a whole lot weaker for this launch. I’m expecting the new “Rose Gold” (or pink that some argue) to be a hit in Asia.

Here i explore the pricing differentiation (using 64/128GB models) across six countries – Singapore, Australia, US, UK, Hong Kong and China.
(all USD conversion accurate as of 22nd Sep 2015 via XE UCC)

iPhone 6S

Country6S 64GB Price (native)6S 64GB Price (USD)6S 128GB Price (native)6S 128GB Price (USD)
US$749$749.00$849.00$849.00
UK£619$959.00£699$1,083.00
AustraliaA$1,229$876.00A$1,379$983.00
SingaporeS$1,218$863.00S$1,388$984.00
Hong KongHK$6,388$824.00HK$7,188$927.00
ChinaRMB6,088$956.00RMB 6,888$1,082.00







iPhone 6S Plus
Country6S+64GB Price (native)6S+64GB Price (USD)6S+ 128GB Price (native)6S+ 128GB Price (USD)
US$849$849.00$949$949.00
UK£619$959.00£789$1,223.00
AustraliaA$1,379$983.00A$1,529$1,090.00
SingaporeS$1,388$984.00S$1,588$1,126.00
Hong KongHK$7,188$927.00HK$8,088$1,044.00
ChinaRMB 6,888$1,082.00RMB 7,788$1,223.00

US is the cheapest of the six countries compared to get the new iPhone 6S and 6S Plus, and UK/China’s selling price is the highest. To put things in perspective, comparing an iPhone 6S Plus 128GB’s pricing in UK (US$1223) vs US (US$979), the difference is almost 29%. This is partly due to the high sales tax in UK (20%) and China (17%). Hong Kong second cheapest due to their 0% sales tax. The weakening AUD has made it almost the same pricing in Australia and Singapore.

More updates when Apple Malaysia releases their pricing.

Apple iPhone 6 and iPhone 6 Plus






Yesterday Tim Cook announced the new generation iPhone. One size fits all no longer applies.

iPhone 6 and iPhone 6 Plus

iPhone 6 and iPhone 6 Plus

We have gotten used to Steve Jobs telling us how the new iPhone looks like and we just decide on the color that fits us. Suddenly now we have to choose between 4.7″ and 5.5″. I still stand by the importance of usability in one hand, so 4.7″ is the natural choice for me. Using the Xiaomi MI3 as my secondary phone, the 5.0″ size is already a tad too big for one handed operation. I’m not one that watches drama on the phone frequently, so the slight decrease in screen real estate will be largely compensated by the usability derived from the smaller size.

Plenty of review sites has the low down on the features and differences so i won’t go into details. Coming from an iPhone 5, i would really want to see how i can utilize the Touch ID to secure applications, notes and also be used for contact-less payments, aka Apple Pay. The missing bit from the current contact-less payment system is the fingerprint authorization. With NFC built in now, i foresee endless possibilities to streamline payments and security system based on the combination of both.

Pre-order opens on 12th September 2014 in Singapore (Hong Kong, Australia and Japan are the other Asia countries) and ships on September 19th. Below are the pricing for Singapore.

iPhone 6 price table Singapore

iPhone 6 price table Singapore

Notice that they have removed the 32GB variant and step up immediately to 64GB. In this day and age, the amount of data stored on the phone is tremendous, so 16GB is probably for very light users. 64GB would be the sweet spot for many, including myself.

Waiting for Singtel to release news on their iPhone 6 pre-order now!





Xiaomi MI3 – Instagram upload turns into black image

The recent update for Instagram for Android has caused some of my Xiaomi MI3 uploads to turn black. It is extremely frustrating, especially after all that painstaking effort to make your picture look the way you want.

MI3insta1

Fortunately, there is a fix.




Go to your profile tab (bottom right). The go to the OPTIONS page by click the three-dot icon on the top right corner.

MI3insta2

 

Under SETTINGS, click on Camera.
MI3insta3

 

By default, Use High-Quality Image Processing is turned ON. Slide the switch left to turn it OFF.
MI3insta4

 

Viola! No more black photo uploads!

Apple iPad Air pricing comparion – Singapore, Malaysia, Australia, US, Hong Kong





As with my previous posting on the iPad 3 price comparison, i’m here to explore the pricing differentiation across various countries. With the iPad 3 pricing, Malaysia emerged as the cheapest place to get an iPad. This time round, i am comparing the pricing across five countries –Singapore, Malaysia,  Australia, US and Hong Kong.

I am using the lowest (16GB) and the highest (128GB) capacity for the Wifi-only and the Wifi + 4G models respectively. All pricing used are from the Space Grey models since there is no price difference for color choice on the Apple online store, and USD conversion are done using prevailing exchange rate (as of 9th Dec 2013) from XE.com. For the US Cellular iPad Air, i have used the ATT part number. Again, there is no price difference for the GSM/CDMA models.

CountryDescriptionPrice (native currency)Price (USD)
MalaysiaiPad Air Wi-Fi only 16GB (MD785ZP/A)RM 1,599.00$ 496.58
SingaporeiPad Air Wi-Fi only 16GB (MD785ZP/A)S$ 688.00$ 550.40
AustraliaiPad Air Wi-Fi only 16GB (MD785X/A)A$ 598.00$ 548.62
USAiPad Air Wi-Fi only 16GB (MD785LL/A)US$ 499.00$ 499.00
Hong KongiPad Air Wi-Fi only 16GB (MD785ZP/A)HK$ 3888$ 501.68
MalaysiaiPad Air Wi-Fi only 128GB (ME898ZP/A)RM 2,579.00$ 800.93
SingaporeiPad Air Wi-Fi only 128GB (ME898ZP/A)S$ 1,108.00$ 886.40
AustraliaiPad Air Wi-Fi only 128GB (ME898X/A)A$ 899.00$ 824.77
USAiPad Air Wi-Fi only 128GB (ME898LL/A)US$ 799.00$ 799.00
Hong KongiPad Air Wi-Fi only 128GB (ME898ZP/A)HK$ 6,288.00 $ 811.35
MalaysiaiPad Air Wifi + 4G 16GB (MD794ZP/A)RM 2,029.00$ 630.12
SingaporeiPad Air Wifi + 4G 16GB (MD794ZP/A)S$ 870.00$ 696.00
AustraliaiPad Air Wifi + 4G 16GB (MD794X/A)A$ 749.00$ 687.16
USAiPad Air Wifi + 4G 16GB (ME991LL/A - ATT)US$ 629.00$ 629.00
Hong KongiPad Air Wifi + 4G 16GB (MD794P/A)HK$ 4,888.00$ 630.71
MalaysiaiPad Air Wifi + 4G 128GB (ME987ZP/A)RM 2,999.00$ 931.37
SingaporeiPad Air Wifi + 4G 128GB (ME987ZP/A)S$ 1288.00$ 1030.40
AustraliaiPad Air Wifi + 4G 128GB (ME987X/A)A$ 1,049.00$ 962.39
USAiPad Air Wifi + 4G 128GB (MF015LL/A - ATT)US$ 929.00$ 929.00
Hong KongiPad Air Wifi + 4G 128GB (ME987ZP/A)HK$ 7,288.00$ 940.39

 
From the comparison table above, US is the cheapest place to get an iPad Air, with Malaysia coming at a very close second.

If you look at the 128GB 4G version, Singapore is retailing at US$1030.40 compared to the US at US$929.00. That is almost an 11% pricing difference, considering the fact that Singapore remains one of the cheapest country to get an iPad. This is partly due to the different taxes and duties, with European countries carrying an extra 25% premium over their US counterparts due to the higher sales tax across Europe.

 





How to: Transfer Google Contacts into iCloud easily




With the mobile platform war converging to two key players, Android and iOS, i am often asked how to migrate from one platform to another.

Here is a simple guide for Android users to migrate over to iOS via the use of Google Contacts (in your GMail) and iCloud. You will, of course, need to have a valid account on both.

1. Login to GMail.  Go to your Google Contacts (below the Google logo, click for drop down menu, select Contacts).

2. Click the More menu > Export.

Export to vCard format to import to iCloud

3. Choose the group or all of your contacts you wish to export, whichever you prefer. I selected “All Contacts” to export. Choose “vCard format” and click the Export button.

4. Choose “vCard format” and click the Export button.

5. Your browser will now automatically download or ask you to save a file named contacts.vcf. Put it on your desktop or a location you remember.

6. Log in to iCloud. www.icloud.com

7. Click on Contacts

8. Click on the gear button, and select Import vCard. Select the contact.vcf  file that you exported from Google Contacts in step 5. This will import all the contacts and might take a while, depending on the size of your contact list.

9. Once done, you should be able to see contacts propagated on your iCloud contact list.

10. On your iPhone/iPad, go to Settings > iCloud (sign in with the SAME iCloud account if you have not) and make sure Contacts is listed as ON. Contacts will slowly be synchronized over a period of time. (Mine took about 15minutes)

How to setup RSYNC backup on Linux (without password)




The following steps explains how to setup rsync over ssh that doesn’t ask for a password. This is helpful when you are scheduling a cron job for automatic backup using rsync.

1. Test rsync over ssh (with password):

Do a rsync to make sure it asks for the password for your account on the remote server, and successfully copies the files to the remote server.

The following example will synchronize the local folder /home/calvin to the remote folder /backup/calvin (on 192.168.200.10 server).

This should ask you for the password of your account on the remote server.

rsync -avz -e ssh /home/calvin/ root@192.168.200.10:/backup/calvin/

2. ssh-keygen generates keys.

Now setup ssh so that it doesn’t ask for password when you perform ssh. Use ssh-keygen on local server to generate public and private keys.

$ ssh-keygen
Enter passphrase (empty for no passphrase):
Enter same passphrase again:

Note: When it asks you to enter the passphrase just press enter key, and do not give any password here.

3. ssh-copy-id copies public key to remote host

Use ssh-copy-id, to copy the public key to the remote host.

ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.200.10

Note: The above will ask the password for your account on the remote host, and copy the public key automatically to the appropriate location.

4. Perform rsync over ssh without password

Now, you should be able to ssh to remote host without entering the password.

ssh 192.168.200.10
Older posts

© 2017 eddie

Theme by Anders NorenUp ↑