Click to See Complete Forum and Search --> : ifconfig, how to obtain?


Frawg
03-14-2001, 09:03 PM
I want ifconfig. I can't find it. It's not on my system, and a tutorial i'm taking says it's a command... anyone know where to get the file?

FoBoT
03-14-2001, 09:41 PM
what happens if you do it this way

./ifconfig ?

or try it when you are root

ifconfig ?

Tyr-7BE
03-14-2001, 09:49 PM
Ifconfig is a system administration command and can only be run by root user. Take a look in your /sbin and see if you have it there.

Tyr-7BE
03-14-2001, 10:06 PM
Ifconfig is a system administration command and can only be run by root user. Take a look in your /sbin and see if you have it there.

Tyr-7BE
03-14-2001, 10:08 PM
Ifconfig is a system administration command and can only be run by root user. Take a look in your /sbin and see if you have it there.

Frawg
03-14-2001, 11:11 PM
ok
tried as root, no good.
tried ./ifconfig, no good..
it is in my /sbin directory.
It won't execute, not as root, not from any directory...
it says command not found, but when i to ls, it shows it there in green

RageAHolic
03-14-2001, 11:33 PM
Have you tried /sbin/ifconfig ?

I've had situations wherein I'm logged in as regular user, su to root and have to use /sbin/ifconfig.

When logged in as root, I've only ever had to use ifconfig (omitting the /sbin dir). But hey, you never know...

Frawg
03-15-2001, 03:26 AM
/sbin/ifconfig eth0:1 192.168.1.1 netmask 255.255.255.0 arp broadcast 192.168.1.255

Ok. Now i have 2 IP addys on one Network card! This is great!

On my way to creating an internet connection sharing thingy...

frawg

Frawg
03-15-2001, 09:58 AM
/sbin/ifconfig eth0:1 192.168.1.1 netmask 255.255.255.0 arp broadcast 192.168.1.255

Ok. Now i have 2 IP addys on one Network card! This is great!

On my way to creating an internet connection sharing thingy...

frawg