Unix Technical Forum

NIC

This is a discussion on NIC within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I'm just begining to use AIX and have a problem getting my network card up and running. First, ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 05:10 AM
Ben
 
Posts: n/a
Default NIC

Hi,

I'm just begining to use AIX and have a problem getting my network
card up and running. First, I have a standard network setup with a
Linksys router. I have a couple of Linux and windows machines. All
my IP addresses are 192.168.1.100 and above. The router is
192.168.1.1

Whenever I plug a network cable into the RS/6000 machine, the hub
light does not turn on. I've been using SMIT to configure my
interface and card, trying various parameters, but nothing seems to
change it. I can set a static IP but can't ping my network.

Any help would greatly be appreciated!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 05:11 AM
Uli Link
 
Posts: n/a
Default Re: NIC


> Whenever I plug a network cable into the RS/6000 machine, the hub
> light does not turn on. I've been using SMIT to configure my
> interface and card, trying various parameters, but nothing seems to
> change it. I can set a static IP but can't ping my network.
>


What is the machine's model type number, what NIC?
For some machines and NICs you have to select the used port (AUI or TP
or even BNC).
Next trap is the Auto Negotiation. Most AIX 100/10MBit Ethernet NICs
have trouble with many switches.
Have you checked the cable?

In smitty you can configure two(!) different frame types on a physical
interface. The Interface ent0 has en0 for the standart Ethernet_II frame
type, the et0 is for a obsolete frame format, not understood by most
default configurations of non-IBM O/Ses.



--


Uli

(Reply to ulrich <dot> link <domain-delimiter> epost <dot> de)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2008, 05:11 AM
Slor
 
Posts: n/a
Default Re: NIC

Despite all prevention efforts, Uli Link
<spamkuebel.csiph@linkitup.homeunix.com> wrote in
news:41991ed0$0$344$9b4e6d93@newsread2.arcor-online.net:

>
>> Whenever I plug a network cable into the RS/6000 machine, the hub
>> light does not turn on. I've been using SMIT to configure my
>> interface and card, trying various parameters, but nothing seems to
>> change it. I can set a static IP but can't ping my network.
>>

>
> What is the machine's model type number, what NIC?
> For some machines and NICs you have to select the used port (AUI or TP
> or even BNC).
> Next trap is the Auto Negotiation. Most AIX 100/10MBit Ethernet NICs
> have trouble with many switches.
> Have you checked the cable?
>
> In smitty you can configure two(!) different frame types on a physical
> interface. The Interface ent0 has en0 for the standart Ethernet_II
> frame type, the et0 is for a obsolete frame format, not understood by
> most default configurations of non-IBM O/Ses.
>
>
>


I have a somewhat related question (maybe), and consider me fairly new
to AIX... My network setup seems great - that is until I do something
like attempting to boot the machine without being connected to the
network. This causes my boot time to increase about 5 minutes in the
machine startup as well as another 5 minutes in the environment startup.
My best, though somewhat uneducated guess, is that the machine tries to
contact the configured DNS server at various times during initialization
and that there is a very long timeout associated with communication
failures. Anyway, I'm more of an hobbyist with my AIX machine, and I
don't always boot connected to the outside world, so I was wondering if
there is any simple configuration change I can make to prevent this
(that is, without disabling the networking and handcuffing myself when I
AM connected to the outside world).

thanks

--
Slor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-05-2008, 05:11 AM
Dan Foster
 
Posts: n/a
Default Re: NIC

In article <41991ed0$0$344$9b4e6d93@newsread2.arcor-online.net>, Uli Link <spamkuebel.csiph@linkitup.homeunix.com> wrote:
>
>> Whenever I plug a network cable into the RS/6000 machine, the hub
>> light does not turn on. I've been using SMIT to configure my
>> interface and card, trying various parameters, but nothing seems to
>> change it. I can set a static IP but can't ping my network.

>
> What is the machine's model type number, what NIC?
> For some machines and NICs you have to select the used port (AUI or TP
> or even BNC).
> Next trap is the Auto Negotiation. Most AIX 100/10MBit Ethernet NICs
> have trouble with many switches.
> Have you checked the cable?


Perhaps the original poster can paste output of:

# netstat -v en0

(assuming en0 is indeed the network interface in question.)

-Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-05-2008, 05:11 AM
JohnM
 
Posts: n/a
Default Re: NIC



>
>>I have a somewhat related question (maybe), and consider me fairly new
>>to AIX... My network setup seems great - that is until I do something
>>like attempting to boot the machine without being connected to the
>>network. This causes my boot time to increase about 5 minutes in the
>>machine startup as well as another 5 minutes in the environment startup.
>>
>>


Are you running any NFS mounts off it either as a server or client? I
can't think of anything else obvious its going to want to do over the
network that's going to hang for a while on reboot. If you have NFS
mounts, then mark them as mount = false in /etc/filesystems, make the
entries something like type=nfs and do a mount -t nfs in backgrouind in
/etc/rc.nfs to
get everything mounted in background. Don't do this if those filesystems
HAVE to be there at boot time.
in /etc/filesystems

/<where_you_are_mounting>:
dev = "/server_fs_path"
vfs = nfs
nodename = <servername - maybe put in /etc/hosts>
mount = false
type = nfs
options = bg,hard,intr
account = false

Then in /etc/rc.nfs
# Need this to mount from Linux
/usr/sbin/nfso -o nfs_use_reserved_ports=1
echo "Calling mount -t nfs to perform remote mounts - should run in
background"
nohup mount -t nfs > /tmp/mountnfs.out &

--
Remove the '_NOFREAKINGSPAM' from my address to reply.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-05-2008, 05:11 AM
Slor
 
Posts: n/a
Default Re: NIC

Despite all prevention efforts, JohnM <jmadd_NOFREAKINGSPAM@austin.rr.com>
wrote in news:bodmd.31182$Zr3.29480@fe1.texas.rr.com:

>
>
>>
>>>I have a somewhat related question (maybe), and consider me fairly new
>>>to AIX... My network setup seems great - that is until I do something
>>>like attempting to boot the machine without being connected to the
>>>network. This causes my boot time to increase about 5 minutes in the
>>>machine startup as well as another 5 minutes in the environment startup.
>>>
>>>

>
> Are you running any NFS mounts off it either as a server or client? I
> can't think of anything else obvious its going to want to do over the
> network that's going to hang for a while on reboot. If you have NFS
> mounts, then mark them as mount = false in /etc/filesystems, make the
> entries something like type=nfs and do a mount -t nfs in backgrouind in
> /etc/rc.nfs to
> get everything mounted in background. Don't do this if those filesystems
> HAVE to be there at boot time.


Nope - no NFS stuff at all. Matter of fact, I'm currently running from a
clean installation (it's 4.3.1 by the way).

--
Slor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-05-2008, 05:12 AM
Ben
 
Posts: n/a
Default Re: NIC

It turns out the network cable I was using was bad. For some reason,
it works fine on my Sun box but not on my linux or AIX machines. With
a replacement Cat 5 cable, everything is working great.

Thanks a lot for everyone's help!

Dan Foster <usenet@evilphb.org> wrote in message news:<slrncpi8k4.vlv.usenet@gaia.roc2.gblx.net>...
> In article <41991ed0$0$344$9b4e6d93@newsread2.arcor-online.net>, Uli Link <spamkuebel.csiph@linkitup.homeunix.com> wrote:
> >
> >> Whenever I plug a network cable into the RS/6000 machine, the hub
> >> light does not turn on. I've been using SMIT to configure my
> >> interface and card, trying various parameters, but nothing seems to
> >> change it. I can set a static IP but can't ping my network.

> >
> > What is the machine's model type number, what NIC?
> > For some machines and NICs you have to select the used port (AUI or TP
> > or even BNC).
> > Next trap is the Auto Negotiation. Most AIX 100/10MBit Ethernet NICs
> > have trouble with many switches.
> > Have you checked the cable?

>
> Perhaps the original poster can paste output of:
>
> # netstat -v en0
>
> (assuming en0 is indeed the network interface in question.)
>
> -Dan

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-05-2008, 05:13 AM
Menno
 
Posts: n/a
Default Re: NIC

Slor <slor@comcast.net> wrote in message news:<Xns95A2A98FC6971emuslor@130.133.1.4>...
>
> I have a somewhat related question (maybe), and consider me fairly new
> to AIX... My network setup seems great - that is until I do something
> like attempting to boot the machine without being connected to the
> network. This causes my boot time to increase about 5 minutes in the
> machine startup as well as another 5 minutes in the environment startup.
> My best, though somewhat uneducated guess, is that the machine tries to
> contact the configured DNS server at various times during initialization
> and that there is a very long timeout associated with communication
> failures. Anyway, I'm more of an hobbyist with my AIX machine, and I
> don't always boot connected to the outside world, so I was wondering if
> there is any simple configuration change I can make to prevent this
> (that is, without disabling the networking and handcuffing myself when I
> AM connected to the outside world).
>
> thanks


If your guess is correct, you should try and find out which servers
you are trying to access, and add those to your local hostfile. Then,
you should check the file /etc/netsvc.conf for a line that says
"hosts=". If the file doesn't exist, create it with the single line:

hosts=local,bind

This will make AIX look first in /etc/hosts, and only if it doesn't
find the host there will it go on to the DNS server. If you don't need
DNS at all on the AIX box, make the line "hosts=local" and AIX will
not use DNS at all, except with nslookup and other DNS-aware programs.

Cheers,
Menno
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 05:24 PM.


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