Twitter Updates

    follow me on Twitter

    Friday, April 20, 2012

    Sharing my slackware Linux kde with my Samsung galaxy note

    By running the kde 'krfb' , I will be able to share my slackware Linux kde desktop in my living room with my Samsung galaxy note whenever/wherever I connected to my local network. All you have to do is get a vnc client from the Android play market for your Android and execute the krfb.

    Tuesday, September 27, 2011

    Adhoc wireless AP for idevice under slackware /Linux

    During my recent business trip i encountered a problem connecting the internet with my idevice in hotel room. As in the hotel room they only provide wired Internet connection. The wireless hotspot is only available in the hotel lobby.

    Of course, a wired Internet for idevice? It is impossible for now as the idevice has no network port.

    It was too bad that I didn't bring along my TPLink USB adaptor. So how to go along with it?

    ...Via adhoc network... of course!

    The idevice's apps work as there are connected to a wireless LAN. viber, skype, ppstv, whatsapp etc. FaceTime not quite working here- bad quality.

    Please find the simple workaround to achieve this for slackware/linux as below:

    ====
    # connect to the wired network
    dhcpcd -R eth0
    # setting up the wireless adaptor
    iwconfig wlan0 mode ad-hoc
    ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
    iwconfig wlan0 channel auto
    iwconfig wlan0 essid urssid

    # turn on ip forwarding and masquerading.
    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth0 -j MASQUERADE
    ====
    You can setup a dhcp server if you want to.

    If you don't just setup an IP for your idevice. I.E 192.168.1.2 etc.















    Saturday, September 17, 2011

    PPStream on Slackware : firefox and Flash player

    The picture below shows that The PPStream for Linux especially Slackware will not work if you have the flashplayer plugin in your firefox profile directory.



    All you can do is just rename the plugins directory or remove the flashplayer plugin. This means your firefox will still be able to run as usual(without flash plugins).


    Saturday, July 23, 2011

    Compaq nc6230+Slackware+Hostapd+TL-WN722N+Ath9k_htc+iptables+dhcpd : How to put them together

    After few weeks of searching thru the internet; testing and retest and... etc.

    Finally, have found the way to put them together.

    The below combination is do-able:
    Laptop Compaq nc6230
    Slackware version = slackware 13.1
    Kernel = linux-3.0.0-rc7
    hostapd = hostapd-0.7.3
    TL-WN722N = using ath9k_htc (direct from the kernel)
    iptables = original from slackware 13.1
    dhcpd = from slackware 13.1

    Connecting with iPhone4 and iPad2 IOS 4.3.3 have no problem...

    The configuration files will be provided upon request.

    Friday, August 20, 2010

    IPHONE OpenSSH - ssh_exchange_identification: Connection closed by remote host



    This is a bit out of topic...

    When you are not be able to ssh to your iphone... as the error message as below:
    ssh_exchange_identification: Connection closed by remote host

    it's very high possibility that you have inflected by the ikey virus.


    you can do as below:

    1. reinstall openssh; then do /usr/bin/ssh root@your_iphone_ip "rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist"

    or

    reinstall openssh; then use your ssh client login and cut and paste
    "rm /bin/poc-bbot /bin/sshpass /var/log/youcanbeclosertogod.jpg /var/mobile/LockBackground.jpg /System/Library/LaunchDaemons/com.ikey.bbot.plist /var/lock/bbot.lock /usr/libexec/cydia/startup /usr/libexec/cydia/startup.so /usr/libexec/cydia/startup-helper /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist" (need to do it quick before the server's off; redo step 1 if you missed it.)

    2. reinstall the openssh again; then change your openssh password.

    if the above steps don't work.

    reinstall cydia and then openssh; then change your openssh password.

    See? the point is 'change your openssh password'!!!

    Sources: found in the internet.

    Sunday, May 30, 2010

    Chinese Input Support

    Here's the shortcut you can do if your Firefox doesn't support Chinese/other language Input?

    Go to dictionary.com and select the translator;
    Type whatever you want there, select the translation option then hit translate;



    cut and paste the text~~

    Sunday, April 25, 2010

    Slackware 13.x : DiGi Turbo3G/Edge/GPRS HuaWei USB modem configuration with KPPP

    Plug in the USB Modem, check if the driver's loaded correctly by execute 'dmesg' command... look for GSM Modem as below:


    Once comfirm, run KPPP and go to the configuration :


    Create a new account as below:




    Under the Modems tab, create a new modem as below:


    Test by querying the Modem as below:


    Connect to the network by pressing the connect:




    Do post your error message here if you're facing problem...

    Tuesday, March 23, 2010

    Slackware Linux and Joikuspot for mobile devices

    Have successfully setup the joikuspot from my nokia E90 with my slackware linux.

    Please find the simple settings as below:
    Slackware workstation:
    Assume that : wlan0 is the interface

    Start-up script (manually)
    =======
    ifconfig wlan0 down; (off the interface too, not sure why my system required this)
    iwconfig wlan0 mode ad-hoc;
    iwconfig wlan0 essid islackware.blogspot.com;
    iwconfig wlan0 channel 11;
    iwconfig wlan0 key s:0123456789123;
    dhcpcd wlan0;
    =======

    As for the mobile settings, pls refer to the attached.

    After all this, ping 192.168.188.1 to see if there's any reply.

    If you have any problem connecting it, feel free to leave comments..

    Could Not Find What You Want Here? Search Here!