netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3c59x AUI and sockets AF_PACKET
@ 2002-12-17 10:16 kernel
  2002-12-17 20:10 ` Ben Greear
  0 siblings, 1 reply; 2+ messages in thread
From: kernel @ 2002-12-17 10:16 UTC (permalink / raw)
  To: netdev

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).

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

Thanks !!

Christophe Baillon

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3c59x AUI and sockets AF_PACKET
  2002-12-17 10:16 3c59x AUI and sockets AF_PACKET kernel
@ 2002-12-17 20:10 ` Ben Greear
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Greear @ 2002-12-17 20:10 UTC (permalink / raw)
  To: kernel; +Cc: netdev

kernel@itris.fr 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@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-17 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-17 10:16 3c59x AUI and sockets AF_PACKET kernel
2002-12-17 20:10 ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).