Wednesday, October 2, 2013

Enable bluetooth on Backtrack 5 R3 64 bit.

Hello Guys,

I am writing this blog to share information in more arranged manner. I am a beginner on BackTrack5R3 and I was looking for a way to use my bluetooth mouse with it. Here are the steps which worked for two models of bluetooth mouses. These are derived from internet research.


On root,

1) execute:

"hciconfig hci0 up"

This command will enable Host Controller Interface (hci0 is default, if you have multiple bluetooth interfaces, then choose appropriatly)

2) hciconfig -a
 This command will display all hci interfaces. fuctionally, output is similar to ifconfig.

3) hcitool scan

This command is to verify available devices, it will scan for bluetooth (hci) devices in range and display them on screen, make sure device/interface of connecting device is turned on.

4) apt-get install bluez-compat

 This package provides the legacy binaries that were reminiscent of the BlueZ 3.x pairing methods. These binaries are not supported, and will go away again in the future. The provided binaries are: hidd dund pand.

5) hidd --search

This command starts searching for bluetooth devices and pairs them. make sure to put your connecting device in discovery mode.

6) Happy blueetoothing. I have used this medthod on Dell BT Travel Mouse and Logitec Mouse MX900, it worked on both.

Monday, April 30, 2012

Configure wlan0 on Broadcom DW1510 Halfimini Wireless Card

Hello Folks,

This post lets you know about how to configure wlan0 - Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01) on Backtrack 5. This may also apply to Backtrack 4.This  wireless card comes generally with Dell Inspiron laptops.

Ok, Here we go.

What we need:

1) Backtrack (obviosly...!)


Steps:

1) Run "lspci | grep -i Network" this command shows what wireless device is actually installed on your system. if nothing is displayed, check your hardware. probably you do not have a compatible wireless card installed.

Output1:
root@bt5-stealth:/# lspci | grep -i Network
12:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

2) Install wpasupplicant. (apt-get install wpasupplicant).  This package helps BT to understand WPA/WPA2 encryption methods of wifi. BT5 already has this so following output will be displayed:

Output2:

root@bt5-stealth:/# apt-get install wpasupplicant
Reading package lists... Done
Building dependency tree      
Reading state information... Done
wpasupplicant is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

3) Edit "interfaces" file and add following configuration items in it for "wlan0" interface. If your wifi setup is based on static addressing, use keyword "static" instead of "dhcp"(mostly this will not be the case in home step):

Output3:
root@bt5-stealth:/# nano /etc/network/interfaces

#Wireless Network Interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid YOUR_SSID
wpa-psk YOUR_PASSWORD_OF_WIFI

4) Save the "interfaces" file and verify its content using "cat" command. It should show you your wlan0 settings:

Output4:
root@bt5-stealth:/# cat /etc/network/interfaces

5) Bring up your wireless interface:

root@bt5-stealth:/# ifup wlan0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/1c:65:9d:5d:0e:26
Sending on   LPF/wlan0/1c:65:9d:5d:0e:26
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.2.5 from 192.168.2.1
DHCPREQUEST of 192.168.2.5 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.2.5 from 192.168.2.1
bound to 192.168.2.5 -- renewal in 2147483648 seconds.

6) Happy Browsing..:)

Corrections and variations are most welcome...!

Nutan  Vishwakarma
(nutan.vishwakarma@gmail.com)

Saturday, December 5, 2009

MAIL SERVER PORT INFORMATION OF GMAIL

SMTP SERVER : smtp.google.com
SMTP PORT : 587, 465;

It works fine for sending email to gmail..........enjoy coding...

please revert if you have more valuable information on this....
thanks..

Tuesday, November 6, 2007

My Profile...

hey u all are invited to my world of emotions.....alll those who r rejected dejected n failure in love...no matter if male or female....can come to me n share there bad luck with all of us......coz..sharing sorrow certainly helps a lot...