PDA

View Full Version : Backtrack Network Manager script: automatic eth0 settings for BT3



M1ck3y
09-14-2008, 02:33 PM
Backtrack 3 Final does not include the utility formerly known as "set ip address" in BT2. This handy utility could easily configure Ethernet network card eth0. To remedy this problem, I just made a little script that I give you: Backtrack Network Manager.

First, download Backtrack Network Manager:

-Backtrack Network Manager (in french) (http://www.crack-wifi.com/Downloads/WIFI/network.sh)
-Backtrack Network Manager (in english) (http://www.crack-wifi.com/Downloads/WIFI/en/network.sh)

Ok, so here is a little explanation about how to use this tool and what it can do:

It's a shell script, so you must make it executable, right click on it (the script is called network.sh), properties, permissions, "is executable", yes. Now that the script is executable, you can put it in /usr/bin, so you can use it in a shell, wherever you are. Open a shell and:



network.sh


All you have to do is select your option, and enter the informations asked, the script will configure your eth0 card for you.

Here is the menu:

http://www.crack-wifi.com/forum/img/images/network-manager/network-en-retail.png

The script allows:

- Activate/desactivate eth0
- Display eth0 informations
- Set ip address, subnet mask and gateway for eth0
- Configure the dns server for eth0
- Activate the dhcp for eth0
- Test the network with a ping

Everything is almost automatic.

You can find more details about the script here: Backtrack Network Manager little how to (in french) (http://www.crack-wifi.com/forum/viewtopic.php?id=108). You can use the translation tools available for free on the net to translate that.

Of course, the script is very simple and can be improved, but it is already a functional basis, which I hope, can help ;)

leecher
12-06-2008, 10:22 AM
thanks dude..

it really help me.
:)

snake eyes
12-16-2008, 04:52 AM
ermm.. that script for setting IP address is present in BT3 too. It's just that the developers haven't given the shortcut :D
The path is:-

/usr/share/slax/

It should be named network-config.kmdr

or something like that

hawaii67
12-16-2008, 05:08 AM
ermm.. that script for setting IP address is present in BT3 too. It's just that the developers haven't given the shortcut :D
The path is:-

/usr/share/slax/

It should be named network-config.kmdr

or something like that

Right, and if you wonder how to invoke the script:


kmdr-executor network-conf.kmdr

M1ck3y
12-24-2008, 02:04 PM
Thanks for the tip ;)

I will keep on using my little script, since I have worked on it and it has other useful options. I hope it will help noobs and lazy people like me...

imported_fridash
12-27-2008, 12:28 PM
works great!! thanks micky..

ill edit the script since mine is wlan0

CHEERS

twinszg
01-13-2009, 09:22 AM
Thanks ,it works perfect!