root@bt:~# iwconfig
root@bt:~# ifconfig wlan1 up
root@bt:~# iwlist wlan1 scan
root@bt:~# iwconfig wlan1 essid "......."
root@bt:~# dhclient
===================================
root@bt:~# iwconfig
lo no wireless extensions.
wlan1 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
wlan0 IEEE 802.11bgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
eth0 no wireless extensions.
root@bt:~# ifconfig wlan1 up
root@bt:~# iwlist wlan1 scan
wlan1 Scan completed :
Cell 01 - Address: 00:65:EC:8E:83:A8
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=44/70 Signal level=-66 dBm
Encryption key:off
ESSID:"INET 007"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000009da905e1bc
Extra: Last beacon: 1088ms ago
IE: Unknown: 0000
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 050400010000
IE: Unknown: 2A0104
IE: Unknown: 32043048606C
Cell 02 - Address: 06:77:7F:D9:AE:A8
Channel:4
Frequency:2.427 GHz (Channel 4)
Quality=22/70 Signal level=-88 dBm
Encryption key:off
ESSID:"FREE WIFI"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000737d4ec181
Extra: Last beacon: 768ms ago
IE: Unknown: 000A4A4159415F4C41524153
IE: Unknown: 010882848B960C121824
IE: Unknown: 030104
IE: Unknown: 05050001000008
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: DD0900037F01010020FF7F
root@bt:~# iwconfig wlan1 essid "FREE WIFI"
root@bt:~# dhclient
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/
SIOCSIFFLAGS: Unknown error 132
Listening on LPF/wlan1/45:56:a8:7a:96:a5
Sending on LPF/wlan1/45:56:a8:7a:96:a5
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7
receive_packet failed on wlan0: Network is down
DHCPOFFER of 192.168.30.67 from 192.168.1.1
DHCPREQUEST of 192.168.30.67 on wlan1 to 255.255.255.255 port 67
DHCPACK of 192.168.30.67 from 192.168.1.1
bound to 192.168.1.67 -- renewal in 129 seconds.
root@bt:~#
connect wifi via terminal bactrack
Tuesday, January 8, 2013
Posted by
Unknown
at
6:41 AM
0
comments
Ubuntu. Oracle Java 7. Install the Oracle JDK 7. Install the Oracle JRE 7. Install the Firefox/Chrome Oracle Java 7 plugin
Wednesday, January 2, 2013This tut works fine for me on backtrack 5 r3
Install the JDK
- Download the 32bit or 64bit Linux "compressed binary file" - it has a ".tar.gz" file extension
-
Uncompress it
tar -xvf jdk-7u10-linux-i586.tar.gz
/usr/lib
sudo mv jdk1.7.0_10 /usr/lib/jvm/jdk1.7.0_10
- Now run
sudo update-alternatives --config java
$sudo update-alternatives –config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path
1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
Press enter to keep the current choice[*], or type selection number:
Remember the last number and press enter to exit this utility i.e. in this example remember the number 2
.if only one alternative is shown then remember the number
0
- Now run
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_10/jre/bin/java 3
This will add your new JDK 7 installation into alternatives list i.e.
use the remembered number + 1 i.e. 3 in the example above.
- Run
sudo update-alternatives --config java
You will see output similar one below - choose the number of jdk1.7.0_10 i.e. 3
:$sudo update-alternatives –config java
There are 3 choices for the alternative java
(providing /usr/bin/java).
Check the version of you new JDK 7 installation:1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode 3 /usr/lib/jvm/jdk1.7.0_10/jre/bin/java 3 manual mode Press enter to keep the current choice[*], or type selection number:
3
update-alternatives: using /usr/lib/jvm/jdk1.7.0_10/jre/bin/java to provide /usr/bin/java (java) in manual mode.
java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b13)
Java HotSpot(TM) Server VM (build 22.0-b10, mixed mode)
Install the JRE
- Download the 32bit or 64bit Linux "compressed binary file" - it has a ".tar.gz" file extension
-
Uncompress it
tar -xvf jre-7u10-linux-i586.tar.gz
/usr/lib
sudo mv jre1.7.0_10 /usr/lib/jvm/jre1.7.0_10
- Now run
sudo update-alternatives --config java
You will get output as:
$sudo update-alternatives –config java There are 2 choices
for the alternative java (providing /usr/bin/java).
Selection Path Priority Status ———————————————————— *
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode
Press enter to keep the current choice[*], or type selection number:
Remember the last number and press enter to exit this utility i.e. in this example remember the number 2
.if only one alternative is shown then remember the number
0
- Now run
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0_10/bin/java 3
This will add your new JRE 7 installation into alternatives list i.e.
use the remembered number + 1 i.e. 3 in the example above.
- Run
sudo update-alternatives --config java
You will see output similar one below - choose the number of jre1.7.0_10 i.e.
3
:$sudo update-alternatives –config java There are 3 choices
for the alternative java (providing /usr/bin/java).
Selection Path Priority Status ———————————————————— *
0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode 1 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode 2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode 3 /usr/lib/jvm/jre1.7.0_10/jre/bin/java 3 manual mode Press enter to keep the current choice[*], or type selection number:
3
update-alternatives: using /usr/lib/jvm/jre1.7.0_10/
jre/bin/java to provide /usr/bin/java (java) in manual mode.
N.B. if there was no previous java installation then the new JRE will be the default and you will not see the above.Check the version of you new JRE 7 installation:
java -version
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b13)
Java HotSpot(TM) Server VM (build 22.0-b10, mixed mode)
Install the Firefox/Chrome plugin
In a terminal:mkdir ~/.mozilla/plugins
Remove the IcedTea plugin, if it has been installed.sudo apt-get remove icedtea6-plugin
Remove a former version of the Java plugin (may or may not be present)sudo rm ~/.mozilla/plugins/libnpjp2.so
Now you can install the plugin, by creating a symbolic link (you tell Firefox, where the plugin is located).sudo ln -s /usr/lib/jvm/jre1.7.0_10/lib/i386/libnpjp2.so ~/.mozilla/plugins/
Confirm that the JRE has been successful by using the official oracle website.source:
http://www.iasptk.com/ubuntu-oracle-java7-jdk7-jre7-firefox-chrome-plugin
Posted by
Unknown
at
10:06 AM
3
comments
fix GPG error ubuntu backtrack 5
Tuesday, December 25, 2012actually this error on my baby backtrack 5 r3
root@bt:~# apt-get update
Get:1 http://32.repository.backtrack-linux.org revolution Release.gpg [198B]
Get:2 http://all.repository.backtrack-linux.org revolution Release.gpg [198B]
Get:3 http://source.repository.backtrack-linux.org revolution Release.gpg [198B]
Ign http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/main Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Ign http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Ign http://source.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Ign http://32.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Get:4 http://all.repository.backtrack-linux.org revolution Release [13.5kB]
Ign http://all.repository.backtrack-linux.org revolution Release
Get:5 http://source.repository.backtrack-linux.org revolution Release [13.5kB]
Get:6 http://32.repository.backtrack-linux.org revolution Release [5,041B]
Ign http://32.repository.backtrack-linux.org revolution Release
Ign http://source.repository.backtrack-linux.org revolution Release
Hit http://all.repository.backtrack-linux.org revolution/main Packages
Hit http://32.repository.backtrack-linux.org revolution/main Packages
Hit http://source.repository.backtrack-linux.org revolution/main Packages
Hit http://all.repository.backtrack-linux.org revolution/microverse Packages
Hit http://32.repository.backtrack-linux.org revolution/microverse Packages
Hit http://32.repository.backtrack-linux.org revolution/non-free Packages
Hit http://all.repository.backtrack-linux.org revolution/non-free Packages
Hit http://32.repository.backtrack-linux.org revolution/testing Packages
Hit http://source.repository.backtrack-linux.org revolution/microverse Packages
Get:7 http://all.repository.backtrack-linux.org revolution/testing Packages [87.9kB]
Hit http://source.repository.backtrack-linux.org revolution/non-free Packages
Hit http://source.repository.backtrack-linux.org revolution/testing Packages
Fetched 101kB in 6s (16.0kB/s)
Reading package lists... Done
W: GPG error: http://all.repository.backtrack-linux.org revolution Release: The following signatures were invalid: BADSIG AB6DA34B475A6B7F BackTrack Repository Admin <emgent@backtrack-linux.org>
W: GPG error: http://32.repository.backtrack-linux.org revolution Release: The following signatures were invalid: BADSIG AB6DA34B475A6B7F BackTrack Repository Admin <emgent@backtrack-linux.org>
W: GPG error: http://source.repository.backtrack-linux.org revolution Release: The following signatures were invalid: BADSIG AB6DA34B475A6B7F BackTrack Repository Admin <emgent@backtrack-linux.org>
fix
Method 1
Try to run the following comamnds from terminal
$ sudo -iMethod 2
# apt-get clean
# cd /var/lib/apt
# mv lists lists.old
# mkdir -p lists/partial
# apt-get clean
# apt-get update
Try to run the following comamnds from terminal
sudo aptitude -o Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update=============================================
sudo apt-get update
source: http://www.ubuntugeek.com/how-to-fix-the-ubuntu-gpg-error-badsig.html
Posted by
Unknown
at
6:50 AM
0
comments
Gnome-ppp, GUI modem Dialer
Wednesday, November 14, 2012ubuntu <---> backtrack
root@bt:~# sudo apt-get install gnome-ppp
= = = = >>
root@bt:~# sudo apt-get install gnome-ppp Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras wvdial The following NEW packages will be installed: gnome-ppp libuniconf4.6 libwvstreams4.6-base libwvstreams4.6-extras wvdial 0 upgraded, 5 newly installed, 0 to remove and 46 not upgraded. Need to get 1,188kB of archives. After this operation, 3,473kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://32.repository.backtrack-linux.org/ revolution/main
libwvstreams4.6-base 4.6.1-1 [259kB] Get:2 http://32.repository.backtrack-linux.org/ revolution/main
libwvstreams4.6-extras 4.6.1-1 [490kB] Get:3 http://32.repository.backtrack-linux.org/ revolution/main
libuniconf4.6 4.6.1-1 [183kB] Get:4 http://32.repository.backtrack-linux.org/ revolution/main
wvdial 1.60.3 [175kB] Get:5 http://32.repository.backtrack-linux.org/ revolution/main
wvdial 1.60.3 [175kB] Get:6 http://32.repository.backtrack-linux.org/ revolution/main
gnome-ppp 0.3.23-1ubuntu2 [81.4kB] Fetched 1,015kB in 41s (24.6kB/s) Preconfiguring packages ... Selecting previously deselected package libwvstreams4.6-base. (Reading database ... 273755 files and directories currently installed.) Unpacking libwvstreams4.6-base (from .../
libwvstreams4.6-base_4.6.1-1_i386.deb) ... Selecting previously deselected package libwvstreams4.6-extras. Unpacking libwvstreams4.6-extras (from .../
libwvstreams4.6-extras_4.6.1-1_i386.deb) ... Selecting previously deselected package libuniconf4.6. Unpacking libuniconf4.6 (from .../libuniconf4.6_4.6.1-1_i386.deb) ... Selecting previously deselected package wvdial. Unpacking wvdial (from .../wvdial_1.60.3_i386.deb) ... Selecting previously deselected package gnome-ppp. Unpacking gnome-ppp (from .../gnome-ppp_0.3.23-1ubuntu2_i386.deb) ... Processing triggers for man-db ... Processing triggers for hicolor-icon-theme ... Processing triggers for desktop-file-utils ... Processing triggers for python-gmenu ... Rebuilding /usr/share/applications/desktop.en_US.utf8.cache... Processing triggers for menu ... Processing triggers for python-support ... Setting up libwvstreams4.6-base (4.6.1-1) ... Setting up libwvstreams4.6-extras (4.6.1-1) ... Setting up libuniconf4.6 (4.6.1-1) ... Setting up wvdial (1.60.3) ... Sorry. You can retry the autodetection at any time by running "wvdialconf". (Or you can create /etc/wvdial.conf yourself.) Setting up gnome-ppp (0.3.23-1ubuntu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for menu ... root@bt:~#
screen shoot
check usb modem port
root@bt:~# df

Posted by
Unknown
at
4:55 PM
0
comments