netdev
[Top] [All Lists]

Re: 3c59x AUI and sockets AF_PACKET

To: kernel@xxxxxxxx
Subject: Re: 3c59x AUI and sockets AF_PACKET
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Tue, 17 Dec 2002 12:10:42 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <1939.192.168.0.31.1040120199.squirrel@xxxxxxxxxxxx>
Organization: Candela Technologies
References: <1939.192.168.0.31.1040120199.squirrel@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
kernel@xxxxxxxx wrote:
Hi,

I have got an important problem to solve :

When I load the 3c59x module with no option, my 2 network cards
are working well with 10baseT, and vortex-diag tells me then :
Transceiver type in use: Autonegociate.

I can open a socket with AF_PACKET level, and bind() works fine !
I can send data to the socket through RJ45.

But, when I load 3c59x with options=1, vortex-diag tells me
Transceiver type in use : AUI10baseFL.

I can configure my 2 network cards with ifconfig.

Everything is ok, but, when i want to open my socket AF_PACKET to
send data to AUI port, bind () returns -1, as though all my interfaces
are ok (ifconfig sees them all).

After the call fails, do this (it may offer a clue):

printf("%i:  %s\n", errno, strerror(errno));
/* Hopes syntax is correct */


I would like to send data to AUI, what is the problem ?

Thanks !!

Christophe Baillon




--
Ben Greear <greearb@xxxxxxxxxxxxxxx>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear



<Prev in Thread] Current Thread [Next in Thread>