bt tutorial

1
iwconfig /etc/init.d/networking start to generate public-private key pair > sshd generate To start ssh service in BT >/etc/init.d/ssh start To configue IP manually > ifconfig eth0 ip/mask up To verify the configued ip > ifconfig eth0 To add a default route # route add default gw [ip] To verify ip of name server # more /etc/resolv.conf To change ip of name server # echo nameserver 8.8.8.8 > /etc/resolve.conf To make permanent the above configuration # vi /etc/network/interfaces auto eth0 iface eth0 inet static address [ip] netmask [mask] network [network] broadcast [broadcast ip] gateway [gateway ip] or # update-rc.d networking defaults (This option makes booting slower) To make ssh service listening persistent # update-rc.d -f ssh defaults To get help of apt-get # apt-get -h To verify software updates #apt-get -update To install new updates #apt-get -upgrade Chapter 6- Wireless Transmission (TX) Power

Upload: anirudh-sharma

Post on 13-Jul-2016

216 views

Category:

Documents


3 download

DESCRIPTION

Some Tipes of Backtracking

TRANSCRIPT

Page 1: BT Tutorial

iwconfig/etc/init.d/networking start

to generate public-private key pair> sshd generate

To start ssh service in BT>/etc/init.d/ssh start

To configue IP manually> ifconfig eth0 ip/mask up

To verify the configued ip> ifconfig eth0

To add a default route# route add default gw [ip]

To verify ip of name server# more /etc/resolv.conf

To change ip of name server# echo nameserver 8.8.8.8 > /etc/resolve.conf

To make permanent the above configuration# vi /etc/network/interfaces

auto eth0iface eth0 inet staticaddress [ip]netmask [mask]network [network]broadcast [broadcast ip]gateway [gateway ip]

or# update-rc.d networking defaults (This option makes booting slower)

To make ssh service listening persistent# update-rc.d -f ssh defaults

To get help of apt-get# apt-get -h

To verify software updates#apt-get -update

To install new updates#apt-get -upgrade

Chapter 6- Wireless Transmission (TX) Power