Wednesday, August 18, 2010

Problem :No Internet in Backtrack 4

Problem :No Internet in Backtrack 4 BT4

1)start the Network ..

In command line type
bt# /etc/init.d/networking start

or Menu -> Services -> NETWORK -> Start NETWORK

Then Configure Network Card

Static IP address

ifconfig eth0

For variable subnet mask
ifconfig eth0 netmask

Add a default gateway:

route add default gw eth0

Replace the IP address with your default gateways

Assign DNS servers:

echo nameserver > /etc/resolv.conf


dhcpcd eth0

Metasploit db_create error

msf > db_create
[-] Warning: The db_create command is deprecated, use db_connect instead.
[-] The database and schema will be created automatically by
[-] db_connect. If db_connect fails to create the database, create
[-] it manually with your DBMS's administration tools.

Just use

msf > db_driver sqlite3

msf > db_connect