No 'Ifconfig'

I sat at an existing Arch Linux workstation today and tried to check the I.P. however the 'ifconfig' command returned:
-bash: ifconfig: command not found
I don't know if Arch Linux changed the way it does things or if this machine is missing a package. I do know it has an I.P. address and can get out to the Internet. This machine has no G.U.I. however. Can anyone tell me what I could be missing and or how to resolve this?

Stebalien wrote:net-tools was deprecated in favour of iprout2 (ip). News: http://www.archlinux.org/news/deprecation-of-net-tools/.
But there are still issues w/ e.g. hostname: https://bugs.archlinux.org/task/24701
Last edited by karol (2011-07-06 17:38:24)

Similar Messages

  • Ethernet card no longer showing in ifconfig [solved]

    Hey,
    Normally I don't have any problems with my networking, but this morning my wireless decided not to work. I haven't made made any changes in the past couple of days, so unsure what has caused it. Last Syu was on Thursday and every day including up until last night was fine.
    So spent a while trying stuff out and stressing my tiny little brain for ideas, quick version is I did this:
    netcfg: said interface didn't exist.
    ifconfig: didn't list the interface (wireless is usually eth1)
    lsmod: confirmed the module (ipw2200) was loaded
    lspci: confirmed the card was there
    After copying the output of the above commands plus the obligatory rc.conf onto usb to move to this machine (and just before pushing <submit> on a much larger post than this :-) I decided to check the mac address listed in ifconfig with what is on the sticker under my machine. Voila! My wireless has actually moved to eth0. OK, that's that solved. (Wish I checked that first though...)
    But that means that the reason that my wireless card is now eth0 instead of eth1 is because my old-skool wired ethernet card is no longer there to be numero 0. Why isn't it working? lsmod shows that the tg3 module is loading (it's an Intel card with Broadcom chipset in a Thinkpad T43) , but it no longer shows up in ifconfig. lspci is not showing it (see below), only the wireless card comes up. Does this mean the hardware is borken? What else can I do to check the card?
    $ lspci
    00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
    00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
    00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 03)
    00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
    00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
    00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
    00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
    00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
    00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
    00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
    00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
    00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03)
    00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
    01:00.0 VGA compatible controller: ATI Technologies Inc M22 [Mobility Radeon X300]
    0b:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 8d)
    0b:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG [Calexico2] Network Connection (rev 05)
    Appreciate any advice you can give.
    Cheers,
    vW
    Edited subject
    Last edited by von_Wanderlust (2009-07-28 16:10:22)

    Yeah, doesn't give me anything about the ethernet card, but does show the wireless one. No, hang on, just found it. Hmmm, didn't see it before, but I was grepping for 'net' then.
    $ dmesg | grep -i eth
    eth1: Tigon3 [partno(BCM95751M) rev 4101] (PCI Express) MAC address 00:12:34:56:78:9a
    eth1: attached PHY is 5750 (10/100/1000Base-T Ethernet) (WireSpeed[1])
    eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
    eth1: dma_rwctrl[76180000] dma_mask[64-bit]
    OK, so it is at eth1 now, that makes sense since I put ipw2200 right at the beginning and tg3 right at the end of the MODULES array in rc.conf to avoid the system getting crossed up while trying load them too close together. Thanks B, so at least we know something is happening at boot time.
    Btw, my assumption is that ifconfig shows hardware once it is loaded correctly, is that right? But apart from the modules, what else do I need to do to get it showing up in ifconfig?

  • [SOLVED] Missing network tools, ifconfig and route

    Hi,
    It looks like I am missing some network tools.
    Is there any package that I need to install using pacman?
    ifconfig is missing.
    find / | grep ifconfig
    Returne nothing.
    Also "route" give nothing.
    Any ideas?
    Best regards,
    /Christer
    Last edited by agkbill (2011-06-21 20:36:35)

    karol wrote:
    tomk wrote:
    Off-topic, but that's a bizarre way to use find.
    The man page has the details.
    Do you mean 'man locate'? ;P
    I think he means find --help

  • Solaris 10 NIC Configuration Partly Works; Manual ifconfig changes lost.

    I have installed 11/06 Solaris 10 on a Dell Optiplex GX260. It has a 3Com3C905FX NIC and the mother board NIC. I turned the mother board NIC on in the BIOS because the installation didn't find the 905FX NIC. When I run
    /usr/sbin/prtconf -pv |moreI get the following results:
    <snip>
    node 0x000013
    <snip>
    model: 'Ethernet controller'
    <snip>
    vendorid: 000010b7
    deviceid: 0000905a
    name: 'pci10b7,905a'
    node 0x000014
    <snip>
    vendorid: 00008086
    deviceid: 0000100e
    pci-msi-capid-pointer:000000f0
    name: 'pci1028,2e'
    dmesgyields
    <snip>
    ... mac: [...] NOTICE: e1000g0/0 registered
    ... unix [...] NOTICE: IRQ18 is being shared by drivers with different interrupt levels. This may result in reduced system preformance.
    ... e1000g: [...] Interl (R) PRO/1000 Network Connection, Driver Ver. 5.0.11
    ... ip [...] ip_arp_done: init failed
    ... e1000g: [...] NOTICE: pci8086,1003 - e100g[0]: Adapter 100 Mbps full duplex copper link is up.
    ... svc.startd [...] svc:/network/physical:default: Method "lib/svc/method/net-physical" failed with exit status 96.
    ... svc.startd [...] network/physcial:default misconfigured: transitioned to maintenance (see 'svcs -xv' for details)
    svcs -xvyields
    <snip>
    see: /etc/svc/volatile/network-physical:default.log (which yields)
    <snip>
    configuring IPv4 interfaces:ifconfig:setifflags: SIOCSLIFFLAGS: e1000g0: Cannot assign requested address e1000g0.
    My /etc/hosts file contains
    127.0.0.1 localhost loghost
    134.252.16.102 tmpope-dell
    ifconfig -aupon initial startup yields only
    lo0:
    I add manually
    ifconfig e1000g0 134.252.16.102 netmask 255.255.255.0 up
    and it works.
    I reboot and
    ifconfig -ayields
    lo0: ... inet 127.0.0.1
    e1000g0: ... inet 127.0.0.1
    svcsyields
    <snip>
    maintenance ... svc:/network/physical:default
    I don't know how to fix this using the SMF that Solaris 10 has.
    Also just for your reading pleasure
    cat /etc/driver_aliases |grep "pci8086,100e"yields
    e1000g "pci8086,100e"
    cat /etc/driver_aliases |grep "pci10b7,905a"yields nothing
    cat /etc/driver_aliases |grep "pci1028,2e"yields nothing
    Please help, thanks.

    Nowhere do I see what the contents of /etc/hostname.e1000g0 are. What is in that file?
    And I really don't understand why e1000g0 would ever have a loopback address like 127.0.0.1. There's lots of reasons why it might not get any address, but a loopback is confusing.
    Darren

  • Ifconfig command in Terminal

    When I issue "ifconfig" command in Terminal, it does not give the IP address of the network interface. I use Ethernet connection for the Mac Pro (late 2013). However, the output of ifconfig does not show the IP address.
    Is there anything I should know about using ifconfig command in Terminal? Thanks.

    Perfectly clear, but not clear that you are certain you have an internet connection. You can use an interface normally, but not be connected at the moment you ran the command.
    If I run it on mine, all interfaces are displayed. Those with a connection have inet addresses. Those not connected have no inet fields.
    If it is being hidden for some reason, you might find the why in the man page.

  • Bug in Arch/ifconfig?

    It seems that it takes two times to set an IP address with a specific netmask using ifconfig (this works the first time in Ubuntu/RedHat).
    First attempt sets an IP with an invalid mask (the "Cannot assign requested address" does not always show).
    Second attempt gets the mask right:
    root@pazuzu /home/daf666 # ifconfig eth1 10.0.0.1/24
    SIOCSIFNETMASK: Cannot assign requested address
    root@pazuzu /home/daf666 # ifconfig eth1
    eth1 Link encap:Ethernet HWaddr 00:22:15:15:0A:A4
    inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:17
    root@pazuzu /home/daf666 # ifconfig eth1 10.0.0.1/24
    root@pazuzu /home/daf666 # ifconfig eth1
    eth1 Link encap:Ethernet HWaddr 00:22:15:15:0A:A4
    inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:17
    This is obviously a bug.. the question is where?

    I'm not sure using a CIDR mask is actually supported is it?  I always do my netmasks as, well, a netmask:
    ifconfig eth0 192.168.50.1 netmask 255.255.255.0

  • [solved] ifconfig / iftop don't work

    hi
    if I execute ifconfig/iftop I get this:
    ifconfig will not execute and completion _ifconfig exists.
    iftop will not execute and completion _iftop exists.
    Maybe I hav this problem with some other commands too...
    I Don't understand what this means. Can anyone help me?
    aligator
    Last edited by aligator (2014-02-24 16:19:41)

    See https://wiki.archlinux.org/index.php/Pkgfile for how to enable "Command not found" hook.
    Before:
    $ iftop
    bash: iftop: command not found
    After:
    $ iftop
    iftop may be found in the following packages:
    community/iftop 1.0pre4-1 /usr/bin/iftop
    Edit:
    aligator wrote:Thank you for telling me that it is deprecated.
    https://www.archlinux.org/news/deprecat … net-tools/
    Last edited by karol (2014-02-24 16:26:49)

  • Ifconfig: en0 needs to be set to "autoselect" at every boot

    I wanted to connect to two networks simultaneously using en0 and en1. I took en0 down using ifconfig and brought it back up. Now I have to set "media" to "autoselect" on en0 everytime I boot into OS X or else en0 doesn't work. Any suggestions on how to make the "autoselect" parameter stick?
    Thanks.

    That appears not to be the case as after I made this change it persists after reboot. I did not create a launch daemon job or anything, simply took en0 down and back up again.
    Next time I reboot I will post what params en0 reverts to which was not the default previously.

  • Mysterious IP associated with Private Interconnect appears in ifconfig output

    Grid Version: 11.2.0.4
    Platform : Oracle Linux 6.4
    We use bond1 for our Private Interconnect. The subnet for this is 10.5.51.xxxx
    But another IP appears in ifconfig and oifcfg iflist output. This is shown under bond1 in ifconfig . I have shown it in red below.
    This is seems to be configured by Clusterware. Anyone one knows what this is and the role it plays ?
    # /u01/grid/product/11.2/bin/oifcfg iflist
    bond0  10.5.19.0
    bond1  10.5.51.0
    bond1  169.254.0.0
    bond2  10.5.12.0
    bond3  10.5.34.0
    # /u01/grid/product/11.2/bin/oifcfg getif
    bond1  10.5.51.0  global  cluster_interconnect
    bond2  10.5.12.0  global  public
    # ifconfig -a
    bond0     Link encap:Ethernet  HWaddr A0:36:9F:26:2A:28
              inet addr:10.5.19.46  Bcast:10.5.19.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
              RX packets:21093181 errors:0 dropped:4246520 overruns:0 frame:0
              TX packets:8781028 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:15996129115 (14.8 GiB)  TX bytes:10913945403 (10.1 GiB)
    bond1     Link encap:Ethernet  HWaddr A0:36:9F:26:2A:29
              inet addr:10.5.51.25  Bcast:10.5.51.255  Mask:255.255.255.0
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
              RX packets:16957228829 errors:0 dropped:91363134 overruns:91350881 frame:0
              TX packets:16507123680 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:22253066948104 (20.2 TiB)  TX bytes:18486193782633 (16.8 TiB)
    bond1:1   Link encap:Ethernet  HWaddr A0:36:9F:26:2A:29
              inet addr:169.254.123.209  Bcast:169.254.255.255  Mask:255.255.0.0
              UP BROADCAST RUNNING MASTER MULTICAST  MTU:9000  Metric:1
    <output snipped>

    This is expected. From release 11.2.0.2 (if I remember correctly) your interconnect traffic goes over a 169.x.x.x network, configured by HAIP. You are meant to expose all the NICs to Oarcle and let HAIP handle load balancing and failure: do not use bonding.
    I described the mechanism in a tutorial I recorded some time ago, I think it was this one:
    http://skillbuilders.com/webinars/webinar.cfm?id=79&title=Oracle%2011g%20/%2012c%20Grid%20Infrastructure%20Free%20Tutorial
    John Watson
    Oracle Certified Master DBA

  • Implementing an ifconfig tray icon frontend?

    Hi, all. Maybe the subject line sounds obscure, but I'll try to explain.
    In the nearest time I'd like to give OpenBSD a try. Basically, I already did, but couldn't arrange a VPN connection to my ISP, so I'm waiting till I buy a router.
    OpenBSD doesn't have any kind of GUI network connection manager (like nm, wicd or connman). So I thought - why not use the fact, that all the network connections routines are performed through ifconfig (even WPA/WPA2 management)? So I figured out that probably writing some kind of wrapper in shell could be possible even for a shell newbie like me. The question is, what would be a good way to do a dropdown menu (nm-like) for a WM? The one, that would show all the wifi networks (and all the actual interfaces), their signal strength, and allow the click&connect thing?
    Probably, awesome has that kind of possibilities (with its immerse libraries with widgets, buttons, etc). However, OpenBSD doesn't have Awesome 3.x & co (only 2.x - maybe it's because the config syntax started bitching at that point) and I would like to use scrotwm. Is there any kind of toolbar that would make such a thing possible?

    As far as I get the issue the system tray icon is not a matter of window manager.
    For example gtk provides the functionality you need. PyGTK would be a convenient way to write such a programm and I think it would be more "straight-forward" than a shell-script with some wrapper or whatever for a system tray icon.
    See http://www.pygtk.org/docs/pygtk/class-g … sicon.html for documentation about the aforementioned tray icon.
    Furthermore a quick google query turned up http://code.google.com/p/python-ifconfig/
    How does ifconfig handle WPA/WPA2? I thought that's wpa-supplicant's job.

  • Ifconfig and Solaris 8

    Hi,
    Does any one know why in solaris 8 (only)
    ifconfig device0 plumb issue DL_PHYS_ADDR_REQ ??
    and do yo know how to avoid that ?
    Thank you
    [email protected]

    Wolfgang073 wrote:
    Hallo! I'm working on a Sun Blade 150 (Solaris 8 4/01). I did a "ifconfig -a" and only see the "lo0" loppback interface and the "eri0" interface.
    Why the "hme0" interface is missing?
    Edited by: Wolfgang073 on Jan 17, 2010 9:11 AM... because for Solaris-ethernet-on-SPARC, the interface name is specific to the chipset that is used for the function.
    Your SB150 uses an "ethernet RIO interface" (ERI) on a discrete chipset and does not use hardware for what has often been named "highspeed-media-ethernet" (HME).
    The hardware is different, thus the acronym is different.
    Others may choose to offer a better description.

  • Ifconfig -a output shows duplicate output

    Hi,
    When I run the ifconfig -a command on the solaris 10 virtual machine I get an output which contains the below entry
    <BROADCAST, RUNNING,MULTICAST,IPv4, DUPLICATE>
    Also, I could find the following entry in /var/adm/messages file
    Apr 9 20:06:59 penguin ip: [ID 567813 kern.warning] WARNING: e1000g0 has duplicate address 192.168.210.034 (in use by 00:00:66:61:6b:65) ; disabled
    Apr 9 20:06:59 penguin in.routed[471]: [ID 238047 daemon.warning] interface e1000g0 to 192.168.210.34 turned off
    the output of arp -a only shows the following
    e1000g0 224.0.0.0 240.0.0.0 SM 01:00:5e:00:00:00
    I have waited for a few hrs now for this issue of the duplicate IP address to get resolved automatically but it still perists.
    Actually this IP address was working perfect till yesterday .
    Today I copied my vm to a different machine and then started it . Thats when all the problem started.
    The ifconfig output always give the DUPLICATE message .
    How do I rectify this problem
    Thanks In Advance,
    Suresh

    You need to get whatever is responding to that address to stop It's not that easy. Detecting of asumed duplicate IPs has become more "sensitive" with a late Solaris 10 release (or patch). These installations of Solaris even detects running IPs in other broadcast domains. In former Solaris 10 releases this was not a problem, i could define interfaces of several systems with the same (virtual) IP, as long as these systems did not act as a gateway. This has changed and is not possible anymore. We had to redefine IPs in our network for that reason...

  • Ifconfig -a and df -kh hangs

    Hi
    We have nfs mounted filesystem.All of us sudden ,We are unable to
    ping the server.In the console ,We are unable to get the output of
    the df -k and ifconfig -a.
    What could be the reason for this ?
    Can we overcome the problem by starting the network and nfs client services? what is the command ?
    We have encountered this problem,While deleting the files
    from the /var/spool/clientmqueue (Sendmail service was stopped)..Should this action create the above problem..
    Pl help us ..
    Suresh

    It is an solairs -x68 os problem ..Then try a Solaris forum. This is a Java forum.
    Can u please help me.No. Ask your question in the right forum, where the people with the relevant expertise are. Here you're just wasting everybody's time.

  • Cannot set broadcast in ifconfig

    Hello,
    I had to change IP address & deafultrouter in a Sun Fire V240 running Solaris. So I modified /etc/hosts, /etc/deafultrouter, /etc/inet/ipnodes, and rebooted. Then I entered:
    ifconfig bge0 broadcast x.y.z.123
    but ifconfig bge0 shows:
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
    inet a.b.c.d netmask ffffff00 broadcast x.y.z.255
    How do I set the broadcast properly ?

    /etc/netmasks contained the old IP address, so I
    modified it to contain:
    a.b.c.d 255.255.255.0
    and rebooted the server.It's not supposed to contain an IP address, it's supposed to show a network. For instance instead of
    192.168.1.52 255.255.255.0
    it should be
    192.168.1.0 255.255.255.0
    Sorry for misspelling of the broadcast address. It
    should be x.y.z.63
    How do I set it ?This is confusing by using the letters. Is this related to your netmask address above? If so, that seems wrong. Any /24 network (255.255.255.0) should have a broadcast address ending in 255.
    Why do you think that .63 is appropriate here? What's wrong with the broadcast that it's set to now?
    Darren

  • IP inside zone config Vs IP using ifconfig

    Hi,
    I am able to communicate with the outside world from my zone when my IP is part of zone configuration. However, when I remove the IP from the zone config, but bring it up after I boot the zone (using the zone option to ifconfig), I can't communicate with the outside world. Any ping request comes back with "unknown host". There are no changes in any of the /etc files between the time when IP was part of zone config and when it was configured after zone was booted. What may be going wrong?
    Thanks!

    All the zones we have configured have thier own IP's since they need to be access as if they were separate computers.
    The global has an IP as well and is used to deal with multi-zone backups etc..

Maybe you are looking for

  • SCCM 2012 R2 CU3 installation successfull but the Full Version number still is 5.00.7958.1000

    Hi Guys I have a SCCM 2012R2 in Windows 2008R2 box with a Secondary Site also in Windows 2008R2. Before proceeding with the upgrade to CU3 I took a snapshot, installed Windows Management Framework 4.0 to get PowerShell 4.0 in order to run a health Ch

  • How do I run my JavaScripts in Acrobat X?

    I have some JavaScripts that in Acrobat 9 are menu items available in the Tools Menu. In Acrobat X Pro I don't see them. The JavaScripts are in the C:\Program Files\Adobe\Acrobat 10.0\Acrobat\Javascripts. How do I runt the scripts in Acrobat X Pro?

  • How do I save music from iTunes to SD card

    How do I save a playlist from iTunes to a SD card for my daughter's Nintendo DSi?

  • IChat using external iSight on iMac 24" 2009

    iChat using external iSight on iMac 24" 2009 I'm trying to use an external iSight camera in iChat instead of the built-in one but when connected iChat just gives a beach ball. Searching for similar issues mentions that both cameras should be availabl

  • Oracle Forms 6i performance issue

    Hi All, I have one query form. Im using cursor in form and fetch the data directly and assign to the form block values. There are two table involved here. Table1 has 1 crore record. Table2 has 4 crore record. The query fetch the data 50-500 records.