Showing posts with label x230. Show all posts
Showing posts with label x230. Show all posts

Thinkpad X230 - Tweaking Intel Centrino Advanced-N 6205 [Taylor Peak] Slow Wireless Performance

After using that ISP for so many years, the modem that came with the existing packages finally failed. The technician told me that the model of the modem was so old and there was no replacement stock. Instead, we have to substitute it with another modem cum router. Nevertheless, a simple hardware swap and configuration setup and everything back to normal. Typically, the next step was to test the broadband speed from my lappy.

Install the Ookla's speed test CLI tool.
$ sudo apt-get install speedtest-cli

Benchmark the connection speed. Not entirely correct as this depends on the Wifi signals and access protocols. Nevertheless, it will give us a baseline. Result shown below was nothing impressive and seemed wrong and should be higher instead.
$ speedtest | grep -E "Download|Upload"
Download: 21.12 Mbit/s
Upload: 18.83 Mbit/s

Checking through the available network adapter in this lappy.
$ lspci | grep Network
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (Lewisville) (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

Based on the hardware information we obtained in previous step, we want to find out what Wifi protocol does this wireless adapter supported.
$ lspci -vv -s 03:00.0 | grep 802
 Subsystem: Intel Corporation Centrino Advanced-N 6205 (802.11a/b/g/n)

Following the instruction from this page, update the iwlwifi (Intel Wireless Lan) driver to enable antenna aggregation of the Wifi adapter.
$ echo options iwlwifi 11n_disable=8 bt_coex_active=N | sudo tee -a /etc/modprobe.d/iwlwifi.conf
$ sudo modprobe -r iwlwifi
$ sudo modprobe iwlwifi

However, this does not works for me. Even trying different approaches. Perhaps upgrading the internal Wifi adapter that supports 802.11ac? But that is damn tricky as we need to flash the BIOS to remove the whitelisted Wifi adapter.

Thinkpad X230 : Updating BIOS through Ubuntu 18.04 LTS

As far as I remembered, I've never really updated any BIOS for any machine before. Due to some weird circumstances that caused my to stuck at a place for long period, might as well update this lappy's BIOS while waiting. Based on the Think Wiki site, there are several ways to update BIOS in GNU/Linux. Below notes were my experiences using both method.

First thing first, we need to check the BIOS machine of our machine so we can verify whether we need to update the BIOS.
$ sudo apt-get install dmidecode
$ sudo dmidecode -s bios-version
G2ET99WW (2.59 )

Next, we need to download the bootable ISO we can can update the changes to the BIOS. Go to support.lenovo.com, search by your machine model and find the relevant files. See screenshot below.


Download the ISO file and verify it with the checksum.
$ md5sum g2uj29us.iso
396cdaedf7d8871428d249f1be0c5b2d  g2uj29us.iso

Since I've never try booting an ISO through grub, hence we will try this method.
$ sudo apt-get install grub-imageboot
$ sudo mkdir -p /boot/images
$ sudo cp g2uj29us.iso /boot/images/

Update Grub to detect the ISO image.
$ sudo update-grub 
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when 
GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-4.15.0-23-generic
Found initrd image: /boot/initrd.img-4.15.0-23-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Found memdisk: /memdisk
Found iso image: /boot/images/g2uj29us.iso
done

Restart your lappy and press F12 and boot through the USB thumb drive. However, this method did not work as the updating process froze and can't proceed ahead. Since, nothing was happened after 30 minutes, I've decided to proceed with BIOS updating through USB thumb drive.
$ sudo apt-get install genisoimage
$ geteltorito g6uj14us.iso > biosupdate.img
$ sudo dd if=biosupdate.img of=/dev/sdb bs=1M

Plugged in the USB thumb drive and try again. Read and follow the instruction, plugged in the power adapter. Select the second option, `2. Update system program` and after reboot, if you see below screenshot, then BIOS flashing was working as intended.


Double confirm that the BIOS have been updated.
$ sudo apt-get install dmidecode
$ sudo dmidecode -s bios-version
G2ET99WW (2.73 )

This Week I Learned 2018 - Week 26

Last week post or something else from archive.

What does meetup these days feel like? Same old same old. It has been so long since I last went for a local meetup without last minutes cancellation or interruption (from my end). Few key observations. First, never interrupt and overshadow the main presenter. Participants should complement the content of the main presenter and sadly most of the time, the discussion was sidetracked into something else. Second, working with right people and challenging problems can be a catalyst to improve your technical abilities and increase your exposures. Third, there is no need to justify any tools of your choice. Sometimes, we use certain tools because we simply like it. Nothing more and nothing less.

Why Colistin have been slowly introduced to our food chain?

想找一个比较好做的事?绝无此事。理当做好自己的本分,做该做的事。别蹉跎(cuō tuó),浪费时间。

Building another laptop? Thinkpad x230 is a good base laptop before mod right now.



Good books by Malaysian authors? It never occurred to me to read "great" (subjective here as popularity does not equal good) books by local writers. Nevertheless, below are the list of writers: Tash AwTan Twan EngAdibah AminRehman RashidRamlee Awang MurshidShirley LimYangsze Choo, and Amir Muhammad.

How do you identify different colour patterns of Betta fish? We always having a hard time remembering which colour patterns. Some good examples (PDF) by Megan Woodrow:


How often should you change your water in Betta growing up tank? Daily with 50% till 90% water changes. No wonder our fry was growing at inconsistent rates and sizes. Optimum growth size is 8 till 12 weeks to reach show grade size.