添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

ifconfig

etc dont work in terminal. This is my first attempt trying openSUSE and I have been using ubuntu, linux mint and backtrack 4 r2 before.

What to do?

etc dont work in terminal. This is my first attempt trying openSUSE and I have been using ubuntu, linux mint and backtrack 4 r2 before.

What to do?
Hello Mikald and welcome to the openSUSE forums.

The Text editor Nano is not installed by default. To install Nano, go to the following Applications:

YaST / Software / Software Management / Search Tab & Search on nano

When the application nano is found, check the block next to the Package name and install nano and you should then be able to run nano from the terminal prompt.

The application ifconfig requires that you have root permissions (and paths) to run. To run ifconfig do the following in terminal:

password: ifconfig

Now, the normal way to adjust or check your networking setup, it is suggested you go to:

YaST / Network Devices / Network Settings

Using the ifup method is the manual way and corresponds to the usage of ifconfig. You can also enable the NetworkManager which can automatically connect when you have more than one network connection or also have a wireless connection you want to use.

Thank You,

> The application ifconfig requires that you have root permissions (and
> paths) to run. To run ifconfig do the following in terminal:
> Code:
> --------------------
> password:
> ifconfig
> --------------------
You do not need to be root to run it as long as you do not want to change
anything. If you want to run ifconfig just to get information from it call
it as a normal user with the complete path
/sbin/ifconfig

PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.1 | GeForce
9600 GT | 4GB Ram
Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | Gnome 2.32 | nVidia
ION | 3GB Ram

> etc dont work in terminal. This is my first attempt trying openSUSE and
> I have been using ubuntu, linux mint and backtrack 4 r2 before.
> What to do?

did you not get an error message??
when you get an error message always include it in your help request…

you didn’t but i guess you are trying

sudo ifconfig

which won’t work here…the methods Ubuntu uses for sudo is different
from all others as far as i know…

additionally ifconfig is located in /sbin, and /sbin is not in your
path, so therefore it is not in sudo’s path either…so, here there
are two ways to run ifconfig (and all others in /sbin)

  • user the fully qualified path name with sudo, like:
  • sudo /sbin/ifconfig

    or 2. become root using this command:

    then issue ifconfig

    more on this in:

    http://en.opensuse.org/SDB:Login_as_root
    http://tinyurl.com/ydbwssh
    http://tinyurl.com/4nsaqst

    you will find other differences…Debian and SUSE have been on
    different paths since the beginning of time…other small differences
    between openSUSE and other systems you are familiar with are scattered
    around in these:
    http://old-en.opensuse.org/Concepts
    http://en.opensuse.org/Concepts

    welcome!

    CAVEAT: http://is.gd/bpoMD
    Tried LibreOffice? Do that and help at http://is.gd/dZ9j2W
    [NNTP via openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8]

    Sounds like a bad install or a custom install that skipped an important package. I agree with Martin_helm that you don’t need superuser for ifconfig but nano does need to be installed.
    It could be that your $PATH is mis-configured or configured for Ubuntu, Mint that excludes the /bin/, /usr/bin/, /sbin/, /usr/sbin/, etc. or .bashrc
    Last I hope you installed openSUSE 11.4 from the DVD and not a LiveCD/DVD. IMHO, the installs from the LiveCD doesn’t install complete packages, libraries and tools.

    You should see this error message for nano:

    If 'nano' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf nano

    meaning its not installed.

    Could you run

    zypper ve zypper ps

    Have you tried using different terminals, Xterm, Gnome-terminal, KDE-terminals, Linux 32 terminal?

    Thanks for help. I did not install from livecd or anything. I did install from the DVD downloaded to an USB stick. And now it is working proberly when I typed su -

    Thanks for help :slight_smile:

    Thanks for help. I did not install from livecd or anything. I did install from the DVD downloaded to an USB stick. And now it is working proberly when I typed su -

    Thanks for help :slight_smile:
    Happy to help Mikald. Please, just let us know if you need any other assistance with openSUSE.

    Thank You,