Using Whatsapp via Pidgin on Linux
Here you follow the necessary to enable Whatsapp in Pidgin for Linux desktop via steps.
Well, if you're coming from " Have Whatsapp enshrined in desktop via Pidgin ", this part will teach you how to make the program work on Linux. If you do not know what it is, read the link above. Follow the steps calmly, without haste. At the end, leave your comment.
For starters, if you do not have Pidgin installed, look in the package manager of your distro and install. Or download it for here if it has not in the repositories. If you use Ubuntu, you can make the terminal with the command: sudo apt-get install pidgin .
After, we will download the required packages. For Debian, Ubuntu or derivatives, there are precompiled packages. What makes installation easy. To get the packages for 32-bit, click here , or 64 bit, click here .
Do not use Debian-based distro? No problem. For any other distro, just to have wget installed (if not, install) and type some commands in the terminal. What the command does is enter the system where are the Pidgin plugins directory, download the plugin file and rename it using the command mv (move, which serves for that too).
For 32-bit
cd / usr / lib / pidgin /
sudo wget http://davidgf.net/nightly/whatsapp-purple/386/last-whatsapp.so
mv whatsapp.so last-whatsapp.so
For 64-bit
cd / usr / lib / pidgin /
sudo wget http://davidgf.net/nightly/whatsapp-purple/x64/last-whatsapp.so
mv whatsapp.so last-whatsapp.so
* This command is for users of Ubuntu / Debian-based also, and it will always download the latest version.
Caution: Remember that you must change the command sudo (to get root privileges) by su or login as root in terminal, if your distro does not use sudo.
From that point, with the plugin installed, just open Pidgin and add a new account, select the drop-down menu the Whatsapp. Note that the plugin follows the pattern for adding new accounts that require a login and password. However, Whatsapp uses the phone number, and password would be created during the registration code of the number.
For this code, we need to use a program designed for the Windows platform, called WART. Of course you will not need to perform this process on Windows. You can run this program via Mono, which is an open source implementation of. NET Framework.
To do this, proceed as follows, using the command terminal. Here we will emphasize Ubuntu, being one of the most used distros, but you can change the sudo apt-get install command for your distribution or seek the mono (or libmono) in package manager.
sudo apt-get install libmono-system-cil libmono-core4.0-system-windows-forms4.0-cil mono-runtime
or
sudo apt-get install mono-complete
If you encounter an error while trying to run WART next step.
Later we will need the WART (yes, it is an executable for windows!) which will be used for the code we need. Again, the terminal using wget to download.
CD
wget https://github.com/shirioko/WART/blob/master/WART-1.6.3.0.exe
mono-WART *. exe ui
Attention: In case of error, install mono-complete, as said above.
For those who do not want to install mono in the distribution, you can run under Wine WART. For this it is necessary to have installed. NET Framework 4.0 on Wine, and Microsoft sources. With that, can you run it without problems.
Configuring the plugin
If all went well, you will get the GUI program. Just fill in your phone number, taking into account the country code (here in Brazil is 55), the DDD for your region (the ninth digit if your region has adopted the) and your phone number. For example, here in São Paulo, would be: 5511912345678 (55 11 9 phone number).
Simply add the numbers Phone number and click the Request code . In the example image, we used the positive sign ( + ). In our tests, it is irrelevant to use it. Opt only for even numbers.
Now the important part. Stay tuned to your phone, because you will receive a text message regarding the verification code. It is the code that will be used for the account. Just to validate the registration. One way to check if your number there. Expect the SMS arrives and insert it into the WART program in area under Code . Just transfer the numbers without hyphen (-).
Enter the code and click Confirm code . The system will deliver a great code that will be used for setting in Pidgin. To get the code, copy and place in the field Password , account creation in Pidgin. It will look like this: iEdDOrTetYKcVWwUFUn BWT + + CD0 =
Copy and apply.
Copy and apply.
In place of the 'Username', put your cell phone number, along with the country code, area code and ninth digit, if any, as stated above. See image below. But do not click the 'Save' button yet!
Satisfied with the information, if you click Save, Pidgin by default will try to log into the account. However, Whatsapp associates a telephone number for registration. Try logging will now cause an error, since your phone is already connected to the company's servers and your computer would also log in with a different IP.
Whatsapp servers interpret this as two devices using the same account. To work around this and be able to use Whatsapp in Pidgin, you must disconnect your device by turning off WiFi and Data connection (2G, 3G or 4G). For those with root, you can close connections with a firewall without influence with other apps on Android.
So you can prevent only the Whatsapp and leave other applications with WiFi or Data Access functioning normally. A great firewall application for Android is AfWall + , you can get it here . Enable the firewall and mark the Whatsapp not to use the data or WiFi connections in blacklist mode.
After performing this procedure, you can now click the 'Save' button and wait for the plugin do the rest of work. If all goes well, your contacts appear in your contacts list Pidgin, and you can communicate with them normally.
Blogger : https://www.blogger.com/home
facebook: https://facebook.com/vinsolo
twitter: valiama
Good, think some of this might be out of date though, I get to CD then I just get errors which I can't seem to fix (Package not found etc)
ReplyDeletec2.whatsapp.net
ReplyDeleteor c1 a c3
5222 or 433
WP7-2.11.596-443
Android-2.11.151-443
Android-2.31.151-443
Server closed the connection
I'm getting an error...
ReplyDeletecould not request verification code..
Error getting response stream(write: the authentication or decryption has failed.) SendFailure