Unix Technical Forum

ifconfig seg faults

This is a discussion on ifconfig seg faults within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I recently installed Slackware 9.1 and when I execute the ifconfig command it shows me my interfaces but then ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 07:57 PM
Michael Parmeley
 
Posts: n/a
Default ifconfig seg faults

I recently installed Slackware 9.1 and when I execute the ifconfig command
it shows me my interfaces but then seg faults. I have some scripts that
depend on the output of ifconfig but they no longer function since ifconfig
is exiting with an error it appears the output is not being passed through
the pipe i.e.

ifconfig | grep eth0

doesn't work since ifconfig exits with an error (exits with a non-zero
status in $?).

This started as soon as I installed Slack 9.1. Anyone else have this
problem? Is ifconfig available by itself so I can just download and compile
it? Google hasn't helped me out with this issue yet. Although I am
planning on doing more searching.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 07:57 PM
Simon
 
Posts: n/a
Default Re: ifconfig seg faults

On Mon, 10 Nov 2003 20:52:57 -0600, Michael Parmeley <mjparme@hotmail.com>
wrote:
> Is ifconfig available by itself so I can just download and compile
> it?


You can download the package it comes in from:
<URL:$MIRROR/slackware-9.1/source/n/tcpip/net-tools-1.60.tar.bz2> &
<URL:$MIRROR/slackware-9.1/source/n/tcpip/net-tools.diff.gz>.

You can compile it using (a modified version of how Pat does it):

zcat net-tools.diff.gz | patch -p1 --backup
make ifconfig
su -c install -m 0755 ifconfig /sbin


--
Simon <simon@no-dns-yet.org.uk> **** GPG: F4A23C69
"We demand rigidly defined areas of doubt and uncertainty."
- Douglas Adams

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:50 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com