A Quick Fix of My Wi-Fi Connection Issue – Bad Wireless Channel Condition

I was in a hotel where there was no wired internet access, I had Emobile Internet access which was only internet access at that time but I wanted more than one devices to be connected at the same time. I setup Internet Connection Sharing with my MacBook Pro in order to share emobile connection to the other devices via Wi-Fi. The setup procedure was perfect however it didn’t work somehow – my Wi-Fi connection dropped out repeatedly. After my more-than-an-hour investigation, I finally found the root cause of the issue. It was wireless signal interference – Wi-Fi channel number overlap between me and my neighbors in the hotel.

This below is how I setup Internet connection sharing with my MacBook and How I resolved the issue.

Sharing Emobile Connection to Computers Using Wi-Fi

Assuming that your Macbook is connected to the Internet using a Emobile modem.

1. Open System Preferences > Click Sharing

2. Select Internet Sharing (However don’t turn on Internet Sharing Yet, otherwise you won’t be able to edit Wi-Fi Option)

3. Choose “Share your connection from” and “To computers using” like this:

  • Share your connection from: Emobile Modem (ex. HUAWEIMobile-Modem)
  • To computers using: Wi-Fi

4. Click Wi-Fi Options and configure an internet-sharing network. Here is my configurations:

  • Network Name: mbp-shared-wifi
  • Channel: 11 (default)
  • Security: 128-bit WEP


Macbook AccessPoint Setup Procedure

5. Turn on Internet Sharing


Macbook AccessPoint Setup Procedure

That is all need to be done for internet sharing. You should be able to join the shared network “mbp-shared-wifi” if the channel( more specifically one of 11 802.11 channels) that you chose is not interfered by any sources of signals near the network.

Finding Out The Right Wi-Fi Channel

The purpose here is to find out the right channel for the internet sharing, the one which is least occupied.

Airport Command included in Mac OS X

airport is a built-in command line tool that enables you to manage 802.11 interfaces and to get all sort of information for 802.11 interface.

 /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport

First, the tool is not located at one of paths which are included in $PATH, so let’s create a symlink to the tool like this:

$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:....

$ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/bin/airport

A command line “airport -s” performs a wireless broadcast scan and gives you a list of Wi-Fi networks nearby. It reports information about SSID, BSSID, RSSI, channel, authentication, and so on.

$ airport -s

                  SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
                   FON c0:f8:da:d5:b1:e1 -83  8       Y  JP NONE
       Wi2premium_club 50:a7:33:ae:b2:f9 -80  1       Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
                   FON c0:f8:da:d4:df:55 -86  4       Y  JP NONE
              au_Wi-Fi 50:a7:33:21:75:49 -73  1       Y  -- WPA2(PSK/AES/AES)
            Wi2premium 50:a7:33:61:75:49 -75  1       Y  -- NONE
       Wi2premium_club 50:a7:33:a1:75:49 -74  1       Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
          0001softbank c2:f8:da:d4:df:55 -86  4       Y  JP NONE
       Wi2premium_club 50:a7:33:a1:cd:59 -87  11      Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
                   FON c0:f8:da:d0:95:89 -87  3       Y  JP NONE
          0001softbank c2:f8:da:d0:fb:59 -72  5       Y  JP NONE
                   FON c0:f8:da:ce:36:75 -77  2       Y  JP NONE
                   FON c0:f8:da:d0:fb:59 -74  5       Y  JP NONE
        ap-game-65b0ff 00:22:cf:65:b0:ff -82  7,+1    Y  -- NONE
                   FON c0:f8:da:d2:cb:41 -89  10      Y  JP NONE
               CG3200D 00:24:b2:a6:18:47 -79  1       Y  -- WEP
          sherwoodcafe 00:24:a5:53:39:00 -74  1       Y  -- WPA(PSK/AES/AES)
              au_Wi-Fi 50:a7:33:23:35:89 -74  6       Y  -- WPA2(PSK/AES/AES)
       Wi2premium_club 50:a7:33:a1:d0:f9 -85  11      Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
          0001softbank c2:f8:da:ce:36:75 -74  2       Y  JP NONE
          ap-pc-65b0fe 00:22:cf:65:b0:fe -84  7,+1    Y  -- WPA2(PSK/AES/AES)
                   FON c0:f8:da:cd:fb:61 -87  11      Y  JP NONE
          0001softbank c2:f8:da:ce:12:f1 -81  11      Y  JP NONE
                   FON c0:f8:da:ce:12:f1 -83  11      Y  JP NONE
          0001softbank c2:f8:da:cd:fb:61 -70  11      Y  JP NONE
                   Wi2 16:90:c7:99:4b:b0 -67  11      N  J1 NONE
          0001softbank c2:f8:da:d0:dd:0d -50  7       Y  JP NONE
                   FON c0:f8:da:d0:dd:0d -46  7       Y  JP NONE
          001601271C10 00:16:01:27:1c:11 -82  7       N  -- WEP
          0001softbank c2:f8:da:d0:d9:e9 -66  6       Y  JP NONE
            Wi2premium 50:a7:33:63:35:89 -70  6       Y  -- NONE
       Wi2premium_club 50:a7:33:a3:35:89 -70  6       Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
                   FON c0:f8:da:d0:d9:e9 -68  6       Y  JP NONE
         WZR-HP-G301NH 0a:24:a5:d7:65:06 -82  5,-1    Y  -- WEP
        0024A5D76506-1 02:24:a5:d7:65:06 -82  5,-1    Y  -- WPA(PSK/AES/AES)
       AP0120150349KN1 00:0a:79:ab:b5:40 -59  2       N  -- WEP
            Wi2premium 50:a7:33:6e:b2:f9 -81  1       Y  -- NONE
       Wi2premium_club 50:a7:33:9d:ed:f9 -67  1       Y  -- WPA(PSK/AES,TKIP/TKIP) WPA2(PSK/AES,TKIP/TKIP)
            Wi2premium 50:a7:33:5d:ed:f9 -68  1       Y  -- NONE
              au_Wi-Fi 50:a7:33:1d:ed:f9 -70  1       Y  -- WPA2(PSK/AES/AES)
          0001softbank 12:90:c7:99:4b:b0 -72  11      N  J1 NONE
          livedoor-web 00:90:c7:99:4b:b0 -67  11      N  J1 WEP

Now you want to know which channel is used least from the output of “airport -s”. This command line below gives you numbers of how many of access points(SSIDS) use each channel.

$ airport -s | grep -v SSID| awk '{print $4}' | sort | uniq -c | sort -r

# count channel
   10   1
   9    11
   5    6
   3    7
   3    2
   2    7,+1
   2    5,-1
   2    5
   2    4
   1    8      <- channel# least occupied
   1    3      <- channel# least occupied
   1    10     <- channel# least occupied

From the result above, it would be good to choose channel 8, 3, or 10. I chose channel 3 this case. I setup the internet sharing again with the channel 3, and confirmed that I was able to to join the shared network “mbp-shared-wifi”.

Also pay attention to RSSI

You may want to pay attention to RSSI. According to wikipedia, RSSI is the relative received signal strength in a wireless environment, in arbitrary units. RSSI is an indication of the power level being received by the antenna. Therefore, the higher the RSSI number (or less negative in some devices), the stronger the signal.

Simply, the channel with lower value of RSSI is less likely to cause interference than the one with higher value of RSSI. It would be good to choose the channel with least value of RSSI for the internet sharing.

Web Based Tool – Wifi Stumbler

There is a local wifi scanning web service, called “Wifi Stumbler“. This service provides you the information to choose the best wireless channel to choose. A good thing about this is that this is free web serivce, you don’t need airport command or any kind of wifi scanning software to install on your computer. See the site for more detail. Here is the scanned output of my wifi environment by Wifi Stumbler.


Wifi Stumbler

http://tools.meraki.com/stumbler

REFERENCES

Posted in: Environment Setup, Random Topics

Tags: , , , ,

“Ame ni Mo Makezu”, Not losing to the rain

Ame ni Mo Makezu” is a great piece of poetry written by Kenji Miyazawa. I believe this is probably one of the most famous Japanese poems. All Japanese who completed compulsory education must have learnt it in school, and might like and still remember it mostly.

Today I found kizuna311, a website that launched by a Hollywood Actor Ken Watanabe to encourage Japan Earthquake/Tsunami Victims(see also Ken Watanabe launches website to encourage solidarity in earthquake aftermath). In kizuna311, he read this poem, “Ame ni Mo Makezu”. Here is its youtube video. A transliteration and English translation for the text of the poem follow:



“Ame ni Mo Makezu” By Kenji Miyazawa

English translation ( transliteration using romaji )

not losing to the rain (ame ni mo makezu)
not losing to the wind (kaze ni mo makezu)
not losing to the snow nor to summer’s heat (yuki ni mo natsu no atsusa ni mo makenu)
with a strong body (jyobu na karada wo mochi)
unfettered by desire (yoku wa naku)
never losing temper (kesshite ikarazu)
cultivating a quiet joy (itsu mo shizuka ni waratte iru)
every day four bowls of brown rice (ichi nichi ni genmai yon go to)
miso and some vegetables to eat (miso to sukoshi no yasai wo tabe)
in everything (arayuru koto wo)
count yourself last and put others before you (jibun wo kanjo ni irezu ni)
watching and listening, and understanding (yoku mikiki shi wakari)
and never forgetting (soshite wasurezu)
in the shade of the woods of the pines of the fields (nohara no matsu no hayashi no kage no)
being in a little thatched hut (chiisa na kayabuki no koya ni ite)
if there is a sick child to the east (higashi ni byoki no kodomo areba)
going and nursing over them (itte kanbyo shite yari)
if there is a tired mother to the west (nishi ni tsukareta haha areba)
going and shouldering her sheaf of rice (itte sono ine no taba wo oi)
if there is someone near death to the south (minami ni shiniso na hito areba)
going and saying there’s no need to be afraid (itte kowagaranakute mo ii to ii)
if there is a quarrel or a suit to the north (kita ni kenka ya sosho ga areba)
telling them to leave off with such waste (tsumaranai kara yamero to ii)
when there’s drought, shedding tears of sympathy (hideri no toki wa namida wo nagashi)
when the summer’s cold, wandering upset (samusa no natsu wa oro-oro aruki)
called a blockhead by everyone (minna ni deku-no-bo to yobare)
without being praised (homerare mo sezu)
without being blamed (ku ni mo sarezu)
such a person (so iu mono ni)
I want to become (watashi wa naritai)

※ Source: Wikipedia Ame ni Mo Makezu

I actually saw the poem after a long interval. It was exactly the same “Ame ni Mo Makezu” as before. But this time I felt something different, something that I haven’t felt before. I read this poem more empathetically than never before. This is absolutely because of what we Japanese have experienced for last few days – Japan earthquake and tsunami. You will see in this poem the author’s ideas about how he should think of nature, how he should live, how he should support people, and whom he wants to be like. It must teach us a lot especially for this time of devastation and suffering, and let us start thinking of what we can do for the victims.

Posted in: Random Topics, Translation

Tags: , ,

Ready to Give? – Japan Earthquake and Tsunami


Posted in: Random Topics

Tags: , , ,

A Bunch of Covers/Remixes on “Just the Two of Us”

“Just the two of us” is one of my favorite songs – a Grammy Award song, originally Jazz song recorded in 1981 by Grover Washington, Jr. and Bill Withers (wikipedia).





You will be surprised to know how many people covered/remixed this song. Here is only a part of the all covers/remixes – I collected from Youtube out of my curiosity. Great song!!

Posted in: Random Topics

Tags: , ,

One of the main reasons that I visited Seoul in January 2011 – “Bukchon Hanok Village”

The Accidental Couple” is one of my favorite Korean TV dramas, and “Bukchon Hanok Village” is the location for the TV darama where many key scenes were taken. That’s why I had thought about going to “Bukchon Hanok Village”, and finally I did it in January 2011. See the following pictures and compare.

The first one is the one I captured on TV screen while playing the daram(the HDD recorded).
The Scene of  the Accidental Couple

The other one is the one I actually took in Bukchon Hanok Village, Seoul. There are building improvements going on around there, so it may look a little bit different from the one above. But it’s the same location!
P1070710

Well, apart from the location for the TV drama, “Bukchon Hanok Village” is a famous Korean village in Seoul where Korean traditional houses which is called hanok have been preserved. There are lots of tourist spots and fancy cafes etc around there . It is good to go visit there even if you don’t have passion for it like me. I bet you’d like it.

See also:

Posted in: Random Topics

Tags: ,