Friday, March 26, 2010

How to Transfer Data using Bittorrent in LAN

How to Transfer Data using Bittorrent in LAN

Aim of using Bittorrent for data transferring in LAN is manage to get max throughput value that Ethernet interface  can reach or a better value than FTP does.

FTP is not that good transfer protocol if you consider real fast transfer rates in LAN because of nature of File Transfer Protocol. There is a lot of header junk. To avoid this header waste, i decide to go with Bittorrent protocol.

To make this happen,

1) You need a local bittorrent tracker (actually you don't need a tracker in local network if you use DHT, but this tutorial doesn't cover that). It's going to uTorrent in this case.uTorrent is going to be installed in a Windows machine and this PC is going to be the main seeder.
2) You need another computer that connected to same switch with the tracker that i mention above. I use Ubuntu server with rtorrent client.

First we need to configure uTorrent so it can act as a bittorrent tracker

Go to Options>Preferences>Connection and get listening port value, in this case it would be 50012. You will need this value when you creating local tracker address.

Then go to Options>Preferences>Advanced and change bt.enable_tracker true

Apply and Ok

Now you need to create a new torrent file

As you see we select that we want to share (file or directory) and write down your local tracker address. It would be like,
http://:50012/announce

Then click Start seeding and finally create and save as. If you share a large file it takes time to create a new torrent file.

Now our new torrent file is ready and you can put it to other bittorrent client

In rtorrent client (or whatever you're using, it really doesn't matter) you need to point your new torrent file. If everything is ok then your download should be started with high transfer rates like almost 80-90 Mbps. This transfer rate depends many factors (switch quality, disk defrag, dşsk rw speeds, cpu loads etc.) Bottlenecks might be happened in your disk speeds.




I hope you find it useful

Cheers

Typhoon Master

Wednesday, March 24, 2010

How to configure Nokia E72 SIP Client for Asterisk SIP Server

How to configure Asterisk and Nokia E72 SIP Client

Folks i have a special how to document tonight.

This tutorial covers very basic Asterisk user provisioning and Nokia E72 SIP client configuration.

First of all i assume that you have got installed and provisioning ready Asterisk server in any platform. My Asterisk server is on my Ubuntu server and i guess it's 1.4 or something, it doesn't matter actually as soon as i explain the very basic user provisioning.

Asterisk User Provisioning

1) Edit /etc/asterisk/sip.conf and add following lines


[typhoon]
type=friend
username=typhoon
secret=1234
host=dynamic
context=test

[e72]
type=friend
username=e72
secret=1234
host=dynamic
context=test

Therefore you have created 2 new users (one for your Soft Client in your PC, i use X-Lite and one Nokia E72 SIP Client)

2) Edit /etc/asterisk/extension.conf and add following lines


[test]

exten => typhoon,1,Dial(SIP/typhoon)

exten => e72,1,Dial(SIP/e72)

You've created extensions, both clients are soft clients so phone numbers can be alphabetic.

Access Asterisk console to reload SIP settings so they can be activated

# asterisk -r

ASTERISKPC*CLI> reload


Asterisk basic provisioning is done. This two users can make call each other.

Nokia E72 SIP Client Configuration

Nokia E72 has build-in native SIP client by default however its configuration tool must be installed to configure and make it work. So you need to install following application which released by Nokia. You need to download and install SIP VoIP 3.x Setting. (3.x for E72)

http://www.forum.nokia.com/info/sw.nokia.com/id/d476061e-90ca-42e9-b3ea-1a852f3808ec/SIP_VoIP_Settings.html

After installing the sis file you need to go to Menu>Ctrl. Panel>Net settings> Advanced VoIP settings

We will create an new service so we can make call though sip client

1) Select Create new SIP profile
2) Username: e72@192.168.1.2 (you need to put your Asterisk server IP here)
3) Password: 1234 (we set it like that remember)
4) We don't have presence server so say No to presence setting service
5) Now our new service has been created, let's activate it.
6) It will complaint "No connection defined. Search for WLAN networks?" say OK.
7) You need to select your WLAN connection. No worries, i will explain how to use 3G instead.
8) Now your SIP client registered to Asterisk server and ready for making calls. You can indicate this with WLAN and phone handset icon in the main screen.

Make call between you PC soft client and E72. It should be successful.

There is weird place to shutdown this service where is WLAN connection on main screen, click on it, menu shows "Disable 192.168.1.2"

Let's lean on how to make call using 3G connection.

To do that, Menu>Ctrl. Panel>Net settings> Advanced VoIP settings>Service connectivity> Network destinations>192.168.1.2 (or your asterisk IP address) and add you 3G connection there as Priority 1, you can also remove current WLAN connection.

I hope you find this useful

Typhoon Master










Sunday, March 14, 2010

How to fix broken Samsung U600 touch keys

How to fix broken Samsung U600 Touch Keys

Hi Folks,

As i promised, i will explain how to diagnose a broken Samsung U600 then how to replace necessary parts.

First of all you need to diagnose what's wrong with your phone, in my situation, my phone's touch key pads weren't working properly. It's lights were lid however there was no functionality at all. So i decided to fix it myself. I googled couple of websites and read same complaints about this problem. All inputs pointed that i need to change touch keypad.

To do that i had to disassemble my phone, and i need to do that with care. So i searched in youtube and found this http://www.youtube.com/watch?v=gpuJtkR7cYU . This is not that pro work but it gave me necessary knowledge to disassemble.

After disassemble my phone i look for spare part and i found front lid in Ebay. Front lid has touch pad keys so it would probably solve my problem when i replace with spare one.

Soldering could be a pain in the ass if you are not familiar with the equipments but i manage to solder my new lid to main board, after put everything back, i crossed my finger and yes it is working as should be.

Hey hey wait a second it's so easy, there should be a flaw and after 3 days, my touch keys failed again but this time there is another issue that when lid half open it work ok. It makes me think that maybe all the problem with the flex cable which is a data cable between LCD screen and main board.

I noticed that cable worn a little bit, you know opening and closing lid make this cable move, so i decided to order a flex cable after another solder work and place all the the part together and finally my phone back to normal. It works properly for a week.

If your Samsung U600's touch keys (the keys on the front lid) stop working, you should check first your flex cable and if you see a obvious worn, replace it. If it doesn't solve your issue, then change front lid (or touch key pads, but believe it's so tricky and you probably fail)

I hope you find it useful

Cheers

Typhoon Master