LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-22-2001, 03:29 PM   #1
jw.pi
LQ Newbie
 
Registered: Jun 2001
Posts: 4

Rep: Reputation: 0
error fetching interface information


when i start up my linux(redhat 6.1) computer, the NIC is brought up well:
Bringup interface eth0 [OK]
but after i login, ifconfig can only show:
lo Link encap: Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
... ...
without any eth0 information.

i config the NIC by hand, ifconfig eth0 172.18.19.1 netmask 255.255.0.0, ok. eth0 works well, i can ping other computer with eth0. while if down it, error shows:
down: error fetching interface information: Device not found
it can not be down at all.

what's wrong with it, any suggestiong?
 
Old 06-22-2001, 05:12 PM   #2
nabil
Member
 
Registered: Feb 2001
Location: MI, USA
Distribution: Debian Linux 100% GNU
Posts: 210

Rep: Reputation: 31
try to plumb it first.
#ifconfig eth0 plumb

Then try it again:
#ifconfig eth0 172.18.19.1 netmask 255.255.0.0 up
then down it and see if you get errors.
 
Old 06-22-2001, 06:37 PM   #3
jw.pi
LQ Newbie
 
Registered: Jun 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by nabil
try to plumb it first.
#ifconfig eth0 plumb

Then try it again:
#ifconfig eth0 172.18.19.1 netmask 255.255.0.0 up
then down it and see if you get errors.

but i cannot plumb it at all.
#ifconfig eth0 plumb
plumb: Host name lookup failure
Usage:
ifconfig [-a] [-i] [-v] <interface> [[<AF>] <address>]
[add <address>[/<prefixlen>]]
[del <address>[/<prefixlen>]]
[[-]broadcast [<address>]] [[-]pointopoint [<address>]]
[netmask <address>] [dstaddr <address>] [tunnel <address>]
[outfill <NN>] [keepalive <NN>]
[hw <HW> <address>] [metric <NN>] [mtu <NN>]
[[-]trailers] [[-]arp] [[-]allmulti]
[multicast] [[-]promisc]
[mem_start <NN>] [io_addr <NN>] [irq <NN>] [media <type>]
[txqueuelen <NN>]
[[-]dynamic]
[up|down] ...

<HW>=Hardware Type.
List of possible hardware types:
loop (Local Loopback) slip (Serial Line IP) cslip (VJ Serial Line IP)
slip6 (6-bit Serial Line IP) cslip6 (VJ 6-bit Serial Line IP) adaptive (Adaptive Serial Line IP)
ether (Ethernet) tr (16/4 Mbps Token Ring) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) rose (AMPR ROSE) tunnel (IPIP Tunnel)
ppp (Point-to-Point Protocol) hdlc ((Cisco)-HDLC) lapb (LAPB)
arcnet (ARCnet) dlci (Frame Relay DLCI) frad (Frame Relay Access Device)
fddi (Fiber Distributed Data Interface) hippi (HIPPI) irda (IrLAP)
<AF>=Address family. Default: inet
List of possible address families:
unix (UNIX Domain) inet (DARPA Internet) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) rose (AMPR ROSE) ipx (Novell IPX)
ddp (Appletalk DDP)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Network Interface Information manikchopra Programming 2 08-17-2005 10:48 AM
HELP error fetching interface nkeever Linux - Newbie 1 05-09-2005 07:31 PM
Error fetching interface... ChangeOfPace Linux - Networking 10 05-05-2004 01:56 PM
error while fetching mail; spooge Linux - Networking 0 01-26-2004 06:38 PM
Getting Network Interface Information yrraja Programming 5 11-10-2002 11:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration