Sponsored Content
Full Discussion: en0 fail to up.
Operating Systems AIX en0 fail to up. Post 302497371 by wingcross on Thursday 17th of February 2011 04:51:53 AM
Old 02-17-2011
zxmaus,
/dev/hd6 doesnt exists. but how its related ?

aixcraft,
one of the command doesnt work so I proceed to remove the adapters settings and launch cfgmgr. Then set the IP. it work :P, but my other machines cannot ping this IP.
or I still have to launch the lsdev xxxx command ?

devdbm01-root /> lsdev -F name|grep ent | xargs -i -t -dl {} -R
xargs: The -d flag is not valid.
Usage: xargs [-ptx] [-e[EndOfFileString]] [-E EndOfFileString]
[-i[ReplacementString]] [-I ReplacementString | -L Number |-n Number ]
[-l[Number]] [-s Size] [Command [Argument ...]]
devdbm01-root /> rmdev -dl inet0 -R
en0 deleted
en1 deleted
et0 deleted
et1 deleted
en2 deleted
et2 deleted
lo0 deleted
inet0 deleted
devdbm01-root />



devdbm01-root /> tcpdump -i en0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type 1, capture size 96 bytes
^C
0 packets received by filter
0 packets dropped by kernel


Grateful for your help, guys.

---------- Post updated at 04:22 AM ---------- Previous update was at 04:21 AM ----------

you still need the errpt ? There are plenty of them there Smilie

---------- Post updated at 04:51 AM ---------- Previous update was at 04:22 AM ----------

Hello AixCraft,

I manage to remove both ent0 and ent1.
devdbm01-root /> rmdev -dl ent0 -R
ent0 deleted
devdbm01-root /> rmdev -dl ent1 -R
ent1 deleted
devdbm01-root /> lsdev -Cc adapter
lhea0 Defined Logical Host Ethernet Adapter (l-hea)
vsa0 Available LPAR Virtual Serial Adapter
vscsi0 Available Virtual SCSI Client Adapter
vscsi1 Available Virtual SCSI Client Adapter
devdbm01-root />

Then remove the adapter settings.
Launch cfgmgr again and then keyin the IP address. and I can finaly ping from other machine.

dbm01-root /usr/lpp/X11/bin> lsdev | grep ent
ent0 Available Logical Host Ethernet Port (lp-hea)
ent1 Available Logical Host Ethernet Port (lp-hea)
ent2 Available 02-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent3 Available 02-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent4 Available 03-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent5 Available 03-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent6 Available EtherChannel / IEEE 802.3ad Link Aggregation
ent7 Available EtherChannel / IEEE 802.3ad Link Aggregation
dbm01-root /usr/lpp/X11/bin>

Many thanks !!!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail fail

I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me? How can I resend it automatically? Is there any resend logic by using the mailx? (3 Replies)
Discussion started by: adela
3 Replies

2. AIX

Network problem en0 - en1 !!!

HI , I am actually having a network problem with my p610 - AIX 5.2 ML7 . I have two integrated network card en0 and en1 ..en0 with ip 10.10.0.191 and en1 10.10.0.192. When i removed the network cable from en0 , i can't continue to ping en1(10.10.0.192) correctly. It is behaving as if en0 is... (8 Replies)
Discussion started by: johhny_bravo
8 Replies

3. Shell Programming and Scripting

Rename fail

I've a lot of file with an hyphen on filename, so I use rename for remove him ad substitute with an underscore but it fails $ rename 's/\-/\_/' * Unknown option: _ Unknown option: i Unknown option: r Unknown option: e Unknown option: e Unknown option: _ Unknown option: g Unknown... (12 Replies)
Discussion started by: cv313x
12 Replies

4. Shell Programming and Scripting

fail on comparison

Hi Am having 2 files. I have one data file. before inserting in to the table am taking cout of the data file and store as data 1. After insert in to the table and am taking the count from the table and store as data2. If i try to compare those values If then echo "data match"... (5 Replies)
Discussion started by: bobprabhu
5 Replies

5. HP-UX

hpux 11.31 vgimport fail

i'm trying to vgimport the map file from vgexport -p -v -s -m to fail over node (adoptive node in service guard). root@noe04:/etc/cmcluster/icasprd$ vgimport -s -m gicasprd.110810.map /dev/vgicasprd vgimport: Volume group "/dev/vgicasprd" already exists in the "/etc/lvmtab" file. the... (2 Replies)
Discussion started by: lamoul
2 Replies

6. Shell Programming and Scripting

Why does my test fail ??

Hello, I am stuck... i dunno why does my test fail... any idea ? #!/bin/bash dos2unix info.txt Distor=Distributeur LINE=$(cat info.txt | sed -n 1p) echo $LINE echo $Distor echo "" echo "123-$LINE-123" echo "123-$Distor-123" if ; then LINE2=$(cat info.txt | sed -n 2p) echo $Distor... (14 Replies)
Discussion started by: patx
14 Replies

7. Linux

Telnet fail

Hi, I try to telnet to server: # telnet xx.xxx.1.72 1521 Trying xx.xxx.1.72... telnet: connect to address xx.xxx.1.72: Connection refused telnet: Unable to connect to remote host: Connection refused iptables is off: # service iptables status Firewall is stopped. # And I have edit... (4 Replies)
Discussion started by: mehrdad68
4 Replies

8. Red Hat

Cluster form fail

why does my cluster form but fail after a few minutes, or why do my multicast communications stop working after a short amount of time? (1 Reply)
Discussion started by: gema.utama
1 Replies

9. Shell Programming and Scripting

Untar fail

Hi Team, I have a file named as follows: aaa.tar.gz Now I need to verify if the untar fails, then the script has to send a mail. In order to check this condition, I need a tar.gz file which is unable to untar it. Can anyone help me to create a file which I will be able to unzip successfully... (2 Replies)
Discussion started by: kmanivan82
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Fail to register

After inputted all required fields in registration page, the below message is shown and cannot go on. A required field called Custom Date & Time Formats is missing or has an invalid value. (2 Replies)
Discussion started by: Unregistered
2 Replies
LSDEV(8)							Linux System Manual							  LSDEV(8)

NAME
lsdev - display information about installed hardware SYNOPSIS
lsdev DESCRIPTION
lsdev gathers information about your computer's installed hardware from the interrupts, ioports and dma files in the /proc directory, thus giving you a quick overview of which hardware uses what I/O addresses and what IRQ and DMA channels. OPTIONS
None. FILES
/proc/interrupts IRQ channels. /proc/ioports I/O memory addresses. /proc/dma DMA channels. BUGS
lsdev can't always figure out which lines in the three examined files refer to one and the same device, because these files sometimes use different names for the same piece of hardware. For example, in some kernels the keyboard is referred to as `kbd' in /proc/ioports and as `keyboard' in /proc/interrupts. This should be fixed in the kernel, not in lsdev (as has indeed happened for this particular example). The program does however try to match lines by stripping anything after a space or open parenthesis from the name, so that e.g. the `serial' lines from /proc/interrupts match the `serial(set)' lines from /proc/ioports. This attempt at DWIM might be considered a bug in itself. This program only shows the kernel's idea of what hardware is present, not what's actually physically available. SEE ALSO
procinfo(8). AUTHOR
Sander van Malssen <svm@kozmix.cistron.nl> 3rd Release 1998-05-31 LSDEV(8)
All times are GMT -4. The time now is 07:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy