Board logo

Unix tcpip nic card help - or sugest a forum
Agriv8 - 4/12/08 at 01:29 PM

one of my colegues has gone of on long term sick ( he happens to be the Unix guru ).

I have a problem that I need to get our unix box ( aix 5.1 ) onto 2 networks so I can swap my users onto my new supper dopper cisco network.

so ent0 ( old network ) everything ok

ent1 ( new network - 1gig card) just wont work ( tried static / Dhcp routes everything )

on entering :-

entstat ent1

entstat: 0909-004 Unable to get statistics on device ent1, errno = 69 searching google for this does not help much

SO 2 questions

1 how do I create an error report for ent1 or the card ?
2 any good unix forums ( for beginers ) that any of you lot recomend .

thanks

Agriv8


the_fbi - 4/12/08 at 01:50 PM

Any chance your new Cisco network has some kind of authentication/protection/filtering in place which needs the MAC of the new 1gb NIC in the AIX box adding to it?

I've never used an AIX system but it must have the equiv. of (Linux's) /var/log/messages which you could watch (tail -f /var/log/messages) whilst upping the interface?

Can you try a crossover cable to another PC/laptop with static IP's on both ends to see if that works?

Do you get any link lights on the back of the NIC? Does the switch its connected to show a link (what speed) and any traffic over it? Anything in the switch logs?

Can you try forcing the speed/duplex to 100mb/HD in case its a cable/card/driver issue at gig speeds?

Can you try a different NIC, either different brand in case its a driver bug, or the same in case its a physical card issue?

You did put "up" on the end of the ifconfig line to actually put the interface up?

Does ifconfig show the interface as present and with the IPs you set (or the DHCP ones given)?

[Edited on 4/12/08 by the_fbi]


Agriv8 - 4/12/08 at 02:37 PM

quote:
Originally posted by the_fbi
Any chance your new Cisco network has some kind of authentication/protection/filtering in place which needs the MAC of the new 1gb NIC in the AIX box adding to it?

I've never used an AIX system but it must have the equiv. of (Linux's) /var/log/messages which you could watch (tail -f /var/log/messages) whilst upping the interface?

Can you try a crossover cable to another PC/laptop with static IP's on both ends to see if that works?

Hooked the Card up to a 3com office connect router over lunch set enerything onto the same subnet and still no joy.

Do you get any link lights on the back of the NIC? Does the switch its connected to show a link (what speed) and any traffic over it? Anything in the switch logs?

Yes saying it running 100

Can you try forcing the speed/duplex to 100mb/HD in case its a cable/card/driver issue at gig speeds?

everything forced to 100 duplex

Can you try a different NIC, either different brand in case its a driver bug, or the same in case its a physical card issue?

no pci nic's lying arround these days everythings on board

You did put "up" on the end of the ifconfig line to actually put the interface up?

set it up via smit so will have a look into this- but it has been up when seen through ifconfig

Does ifconfig show the interface as present and with the IPs you set (or the DHCP ones given)?

it has done current state
ifconfig en1
en1: flags=5e080862,c0<BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD,PSEG,CHAIN>
inet 0.0.0.0 netmask 0x0
tcp_sendspace 131072 tcp_recvspace 65536

all 0 and down - as i have just tried to dhcp it from the 3com router wont even pick up a dhcp address



[Edited on 4/12/08 by the_fbi]


answers in bold it is very strange I think the next thing is to see if there is anything in the error log's if I can produce one that may point me in the right direction - as everything looks ok but the darn thing wont work.

any ideas on creating /veiwing an error log for this device.

Oh thanks by the way

Regards

Agriv8


JonBowden - 4/12/08 at 03:06 PM

I must be missing something but do you actually need two network cards in the AIX box. Are your two networks totally disconnected from each other?


the_fbi - 4/12/08 at 03:07 PM

Any chance its not seeing the new NIC as en1, but as en2 or something else?

What happens if you do:
ifconfig en1 192.168.0.21 netmask 255.255.255.0 gateway 192.168.0.1

Substitute the IP/netmask for ones which work for your setup.

If the interface definately en, i notice on google that sometimes its ce.

Apparently "alog -o -t boot" is the equiv. of dmesg, take a look through that and see which interfaces it lists.


Agriv8 - 4/12/08 at 03:44 PM

quote:
Originally posted by the_fbi
Any chance its not seeing the new NIC as en1, but as en2 or something else?

What happens if you do:
ifconfig en1 192.168.0.21 netmask 255.255.255.0 gateway 192.168.0.1

Substitute the IP/netmask for ones which work for your setup.

If the interface definately en, i notice on google that sometimes its ce.

Apparently "alog -o -t boot" is the equiv. of dmesg, take a look through that and see which interfaces it lists.


mmm a good piont but looking at

# lsdev -Cc adapter
ent0 Available 21-08 IBM 10/100 Mbps Ethernet PCI Adapter (23100020)
ent1 Available 14-08 10/100/1000 Base-TX PCI-X Adapter (14106902)
fda0 Available 01-D1 Standard I/O Diskette Adapter
ppa0 Available 01-R1 CHRP IEEE1284 (ECP) Parallel Port Adapter
sa0 Available 01-S1 Standard I/O Serial Port
sa1 Available 01-S2 Standard I/O Serial Port
sa2 Available 01-S3 Standard I/O Serial Port
sa3 Available 01-S4 Standard I/O Serial Port
scsi0 Available 11-08 Wide/Ultra-2 SCSI I/O Controller
scsi1 Available 11-09 Wide/Ultra-2 SCSI I/O Controller
scsi2 Available 27-08 Wide/Ultra-3 SCSI I/O Controller
scsi3 Available 27-09 Wide/Ultra-3 SCSI I/O Controller
sioka0 Available 01-K1-00 Keyboard Adapter
siokma0 Available 01-K1 Keyboard/Mouse Adapter
sioma0 Available 01-K1-01 Mouse Adapter
ssa0 Available 3A-08 IBM SSA 160 SerialRAID Adapter (14109100)


only shows are known 2 nics and the troublesome one is in pci 14

re the ifconfig just set it up via that rather than smit and it is still dead.

regards

Agriv8


the_fbi - 4/12/08 at 03:52 PM

I'm out of ideas then sorry


Agriv8 - 4/12/08 at 04:17 PM

quote:
Originally posted by the_fbi
I'm out of ideas then sorry


Thanks anyway aboiut to swap it to another PCI slot

Any good aix forums you know of ?

regards

Agriv8


djaques - 4/12/08 at 04:58 PM

I had a similar thing on an AIX box years ago. No matter what I tried the nic just wouldn't work. Then I took it out and reseated it, and it sprang into life! I had to reseat it everytime the server was moved... I hope it is something as simple as this.


the_fbi - 4/12/08 at 05:41 PM

quote:
Originally posted by Agriv8
quote:
Originally posted by the_fbi
I'm out of ideas then sorry


Thanks anyway aboiut to swap it to another PCI slot

Any good aix forums you know of ?

regards

Agriv8

All I can suggest is google.