Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
When I type "ifconfig" in a terminal, I am told that ifconfig is a bad command. Does anyone have any ideas? And I cant get online with Fedora, but i ...
  1. #1
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242

    ifconfig command not found

    When I type "ifconfig" in a terminal, I am told that ifconfig is a bad command.
    Does anyone have any ideas?
    And I cant get online with Fedora, but i can with WinXP.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  2. #2
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    make sure you're logged in as root, and do:
    Code:
    /sbin/ifconfig
    make sure that /sbin is in your path:
    Code:
    echo $PATH # if it isn't, do:
    PATH=$PATH:/sbin:/usr/sbin

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    That worked to bring the command up.
    But, all it told me was that I was offline.
    So I typed /sbin/ifup eth0, and it said
    configuration for eth0 not found.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  4. #4
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    type:
    Code:
    system-config-network
    you can install devices and set them up from there

  5. #5
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,789
    Quote Originally Posted by smindinvern
    make sure you're logged in as root, and do:
    Code:
    /sbin/ifconfig
    U dont actually have to be root to run ifconfig

    The reason (i think) peopple think u need to be root is cos /sbin is in root's path, and not the standard user.

    If (as a standard user) u run /sbin/ifconfig, it will work

    Adding /sbin to the user's path isn't really worth it for ifconfig. Cos most the stuff in sbin probably does need root privileges, that's why only root has it
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  6. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    not finding network card paged through all and not listed in there
    my network card is linksys gigabit network adaptor model eg1032
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #7
    Linux Enthusiast
    Join Date
    Dec 2004
    Location
    Rockin' in the USA!!!
    Posts
    603
    oooh, I've never seen linksys drivers for linux... you might check their site though

  8. #8
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    I switched network cards. To a Davicom Semiconductor. The status in the system-config-network says OK. But I still can't get online.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  9. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    For some odd reason when I tried Knoppix, the internet worked fine.
    So, I decided to put Vectorlinux on this pc.
    Hopefully the internet will work fine then.


    P.S. This is a freinds pc, who wanted to learn Linux.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  10. #10
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Problem solved. Switched to SuSE 9.2, configured the DSL and the network card and then we were able to get online.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...