eddie

your baddie teddie since 1983.

Author: Eddie (page 1 of 5)

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

Malaysia Tenancy Agreement Stamp Duty Fee Calculation

After getting your property paperwork sorted out and the daunting task of completing your renovation, investment buyers will quickly seek to collect rental from the property. Attracting and screening for a good tenant is not easy and it also boils down to luck. But i believe creating a home rather than just treating it as a rental house will increase your chances of finding a tenant that actually wants to live in it.

One of the things to note when renting out your units is to never rent your house without a tenancy agreement (TA), especially for direct (not through agents) rental to friends/family/friend of friends etc. The extra step in drafting a TA and getting it officially stamped at LHDN office forms a legalised document will save you much agony in the case of any dispute.

There is another added advantage by having a tenancy agreement. It will be a supporting document to prove that you are having additional rental income. This additional income can help you to acquire loan approval for your next property purchase.

Continue reading

Setup VLAN on DD-WRT

Many of the routers on the market support third-party router firmware like DD-WRT or OpenWRT. These firmware add additional functionalities to you router if your network is more complex than a single flat network. It also allow you to tinker with many advance settings to customize for your needs.

One  such usage is to use DD-WRT to create multiple VLANs and link them together. This was done for a client when they have 3 VLANs from a legacy setup, but needed each VLAN to talk to each other.  I know it does seem counter intuitive since the usage of VLANs is to segregate your network into different segments, but for the case reverse engineering it allows 3 separate networks to talk to each other.

I assume you already have already installed DD-WRT on your router. If not, you can read my guide here on how to do so.

Continue reading

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

How to create a Fedora Linux USB installer using Mac OSX

  1. Download a Fedora image if your choice from https://getfedora.org, choose a USB stick that does not contain any data you need, and connect it to your machine. This method should also work for Linux distribution installer images.
  2. Open a Terminal. It is located in Applications -> Utilities -> Terminal
  3. Run diskutil list. This will list all disks connected to the system, as /dev/disk1, /dev/disk2 and so on. Identify – very carefully which one corresponds to the USB stick you wish to use. Hereafter, we’ll assume it was /dev/disk4 as per my test rig’s environment – modify the commands as appropriate for your own USB stick.

    diskutil list

    The USB flash drive is mounted as /dev/disk4 with 8.0GB of space

  4. Run diskutil unmountDisk /dev/disk4
  5. Type sudo dd if=, then drag and drop the Fedora ISO image file from your Finder to the Terminal window.  This should autocomplete the Fedora ISO location to the command, so you do not need to type out the path yourself.
  6. Now complete the command with of=/dev/disk4 bs=1m,  but don’t hit Enter yet. You should wind up with something like  sudo dd if=/Volumes/Images/Fedora-Server-DVD-x86_64-23.iso of=/dev/disk4 bs=1m
  7. Double-check you have the correct disk number and you’re really, really sure you don’t need any of the data on the USB stick!
  8. Hit Enter and wait. Depending on your USB stick’s speed it can take 15-30mins.
  9. Wait for the operation to complete, then reboot your computer, and hold down the left Alt/Option key to access the boot menu and choose the USB stick – you should see a Fedora logo. Click this to boot.




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

How To Install DD-WRT on ASUS RT-AC68U (or any supported routers)

DD-WRT – What is it?

  • Open-source firmware that unlocks a router’s full capabilities and adds an enormous number of features generally not included by manufacturers in stock firmware.
  • Compatible with large number of routers like ASUS, Netgear, Buffalo, Linksys, TP-Link etc.
  • Standardises the user experience across multiple devices and brands so that any knowledge and skills a person acquires with DD-WRT are instantly transferable to any new device.

Choosing a router

ASUS remains my current favourite brand for routers. They may be a bit pricier but the build quality and industrial design remains attractive. The stock firmware is usually decent, and loaded with ASUS Merlin you actually have a robust, high-performance router to use with our local ISPs. (Singnet/M1/Starhub/Viewqwest/MR in Singapore), (Unifi/Maxis/Time in Malaysia). They release custom localised firmware for use with IPTV set-top boxes, so your SingTel TV or HyppTV will work.

The ASUS AC68U has a Dual-core 800MHz BCM4708 ARM-based SoC chip, compared to the dated BCM4706 MIPS-based SoC chip used on the AC66U (and the older N66U as well). For heavy VPN traffic usage, the faster SoC will be beneficial. It is available at S$319.00 (RM957.00) from Challenger.

Continue reading

Procedures For Singapore Vehicles Bearing G / Y Plates To Be Licensed As Commercial Vehicles In Malaysia

PROCEDURES FOR SINGAPORE VEHICLES BEARING G / Y PLATES TO BE LICENSED AS COMMERCIAL VEHICLES IN MALAYSIA

 Approvals are solely by the Johor Road Transport Department Director.

1.  The requirements are as follows:-

      1. The registered owner, either a company or an individual, must have a company registered in Malaysia (in the case of a company one of the directors must be a director in both of the companies registered in Singapore and in Malaysia)
      2. Applications must be in writing addressed to the State of Johor Road Transport Department Director and should be sent by hand to counters number 13 to 14 at the Vehicles Registration Section of the Johor RTD in Taman Daya, Jalan Pasir Gudang Johor Bahru.

2.   The following documents must be submitted:-

      1. An Official Application Letter by the registered owner of the vehicle.
      2. A photocopy of Business Registration with the ROC of   Singapore and in Malaysia if   the owner is a company (If the owner is an individual, BR of business registered in Malaysia) only (Form 9 and Form 49).
      3. A photocopy of the Log Book of the vehicle or a letter from LTA.
      4. A photocopy of the insurance certificate for the vehicle to be licensed.
      5. A photocopy of an Identification Card or passport of the owner of the vehicle (if it is a company, the passport of the Director who is a director of both companies in Malaysiaand in Singapore).
      6. The Latest Bank Statement of the Malaysian Company of Business.
      7. Photographs of the vehicle (Front, Rear and Side Views).
      8. Photographs of the business premise in Malaysia (With signboard of the name of the company). 
  1. Upon receiving an approval, the vehicle has to be sent for inspection at PUSPAKOM Johor Bahru to get an Inspection Report.
  1. After passed the inspection, the owner can proceed to the Road Tax counters to get a Malaysian Road Tax at the rate of RM 10.00 per month or at RM120.00 annually.
  1. The licensed vehicle is subjected to a 6 month’s routine inspection but the owner can show proof that the vehicle has passed an inspection by the Singapore Authority, it could be considered as having fulfilled the requirement without bring the vehicle for inspection at PUSPAKOM.

If you have further enquiries, you may contact the Johor Road and Transport Department at the following address:

Kompleks JPJ , Taman Daya
Lebuhraya Pasir Gudang
80990 Johor Bahru
Johor
Telephone: 607-3606060
Fax: 607-3542805




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.

Older posts

© 2017 eddie

Theme by Anders NorenUp ↑