From an SSH shell is it possible to bring up my secondary network card and also take it down? I'm assuming it is since everything is possible in the shell but I don't know how to do this.
You can use ifconfig:
Some installations like Redhat ES3 have pre-made scripts. They are usually named:Code:# ifconfig eth0 up # ifconfig eth1 down
If you are connected via SSH and you take down your only network connection you will be disconnected with no way of bringing it back up. You will have to physically bring it back up.Code:# ifup # ifdown
I used those commands under BackTrack 3 beta, to make my wireless card active/inactive.
But I did not use eth0, I think that I used wlan0 or something similar.
What is BackTrack 3? I've never heard of this.
No ifup/ifdown script but ifconfig options work.
I've never heard of those scripts (ifup/down) - are they homegrown?
I wonder if I'll ever learn this stuff, it seems so complicated :-<
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks