netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: kernel@itris.fr
Cc: netdev@oss.sgi.com
Subject: Re: 3c59x AUI and sockets AF_PACKET
Date: Tue, 17 Dec 2002 12:10:42 -0800	[thread overview]
Message-ID: <3DFF84C2.9090305@candelatech.com> (raw)
In-Reply-To: <1939.192.168.0.31.1040120199.squirrel@www.itris.fr>

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

      reply	other threads:[~2002-12-17 20:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17 10:16 3c59x AUI and sockets AF_PACKET kernel
2002-12-17 20:10 ` Ben Greear [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DFF84C2.9090305@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=kernel@itris.fr \
    --cc=netdev@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).