@tampe125,
I think the simply way is to re-install Back|Track 5 R2.
Samiux
ok, i know this is awkward, but i'm having some problems from preventing BackTrack to wake up my network cards (wifi and ethernet).
When I first installed BT (persistent install with dual-boot), I took a look the FAQ page, in order to automatically connect my laptop with Internet (me dumb...).
I followed the instruction that you can find here (Getting Networking to Work), so I updated my /etc/network/interfaces file with my information.
Then i realized that was quite stupid to do so, so I tried to revert everything to the origin.
Sadly, I couldn't.
First of all remove every line from the interface file, then i removed the upstart job:
everything seems to work fine, except that when i rebooted my pc, i got every interface up and running.Code:update-rc.d -f networking remove
the weird thing is that if i try to remove that job again (without the force options) , i get:
and so again and again.. i really can't remove this job from the upstart...Code:/etc/init.d/networking exists during rc.d purge (use -f to force)
where am i wrong?
@tampe125,
I think the simply way is to re-install Back|Track 5 R2.
Samiux
ok, i just re-intalled everything and...
my interfaces are still up.
this is weird
any help?
Unfortunately BT5 boots with networking enabled. This describes my workaround:
http://www.backtrack-linux.org/forum...ad.php?t=47118
Please post a better solution if you find one.
Remove wicd and reinstall it, or install the Network-Manager, it will automatically uninstall wicd....If you have the Network manager installed, do the reverse way, install the wicd, it will automatically remove the Network Manager.
Check if the service (wicd or Network Manager) is up and running (type ps -A and look for the wicd or NetworkManager), if so, need to kill the deamon or try to avoid loading it.
Please, read the: chkconfig command...It may very well help you...
Here is a link (spanish), but just read the commands and it will help you: http://www.linuxtotal.com.mx/index.p...info_admon_003
You do not need to speak spanish to understand it..Any translation help, let me know. By the way, use the Translation option in Firefox or Iceweasil....
Just comment out the interface in /etc/network/interfaces you want to prevent connecting and type:
Code:iface [interface] off
He needs to avoid networking deamon at start up, during boot, not disable iface...It can be done by removing the link Sxxwicd or network-manager and create a new link just changing the S for a K: Kxxwicd or network-manager, then run the update-rc.d script default...
Need to know the default runlevel for BT5. This can be done by typing "who -r".. Or edit the /etc/inittab file, and look for the line with:
# The default runlevel.
id:X:initdefault:
The X is the runlevel.
Then if run level is, per say 2, need to go to folder /etc/rc2.d, under wihich you will see all links.....Every link goes to /etc/init.d, the S means "Start", the "k" means Kill..The scripts under /etc/init.d allow parameters : start, stop restart, status. So if you have a link to /etc/init.d/ to stop wicd or Network-Manager, you need to send this during boot, as I stated before,...Ex. K21wicd which is a link to /etc/init.d/wicd stop (because of the K at the begining of K21wicd)....
If you want to avoid all this things, use chkconfig, it will do it for you, just type:
chkconfig --level X wicd off (the X is the runlevel where wicd service or daemon starts)
Need to install chkconfig. See if it is in the BT5 repos, if not, download it.
Hope it helps...
Last edited by maverik35; 07-02-2012 at 11:14 AM.