Re: Where is ifconfig in SuSe 10.1?



David Bolt wrote:
On Sat, 26 Aug 2006, Klaus Meister <Kl1971@xxxxxxxxxx> wrote:-

Hi,

I cannot find the ifconfig command to find out my IP address.

Have you looked in /sbin?

Is this command changed in 10.1???

No. When logged in as root, you should only need to use "ifconfig"
whereas as a normal user, you need to us /sbin/ifconfig instead. BTW,
this is exactly the same as with previous versions.

If you use this often as a user, there are several ways to solve this. I
will give two reasonably save ways:
1) Make an alias "alias sbin='/sbin/ifconfig'. I am not sure if the
deault ~/.bashrc looks in ~/.alias, but that is where I have my aliases
placed.
2) ln -s /sbin/ifconfig /usr/local/bin/ifconfig

I have done the last for traceroute.

The first is ideal for one user, the second for all users.

houghi
--
But I will accept the rules that you feel necessary to your freedom. I am
free, no matter what rules surround me. If I find them tolerable, I
tolerate them; if I find them too obnoxious, I break them. I am free
because I know that I alone am morally responsible for everything I do.
.



Relevant Pages

  • Re: Where is ifconfig in SuSe 10.1?
    ... I cannot find the ifconfig command to find out my IP address. ... When logged in as root, you should only need to use "ifconfig" ... no matter what rules surround me. ... tolerate them; if I find them too obnoxious, ...
    (alt.os.linux.suse)
  • Re: Why does ifconfig not work
    ... Are you root or only a user when you are trying the ifconfig command? ... As a normal user the ifconfig command only work with: ... > install it? ...
    (linux.redhat)
  • Re: Where is ifconfig in SuSe 10.1?
    ... I cannot find the ifconfig command to find out my IP address. ... When logged in as root, you should only need to use "ifconfig" ... Member of Team Acorn checking nodes at 50 Mnodes/s: http://www.distributed.net/ ...
    (alt.os.linux.suse)