Re: Getting MAC address?

From: Ivan Voras (ivoras_at_fer.hr)
Date: 06/26/04

  • Next message: Robert Watson: "Re: A few technical items on UFS2 and snapshots..."
    Date: Sat, 26 Jun 2004 15:35:59 +0200
    To: hackers@freebsd.org
    
    

    Doug Rabson wrote:

    >
    > Its really not that hard:

    > [code]

    Don't get me wrong - it's not hard, and I've done it already, it's just
    that I felt there could/should be an ioctl for it :)

    Onto another subject: despite the recommendations (thanks!) I wanted to
    try the non-bpf,non-ng approach to things (if I fail it'll be a
    lesson...). I'm stuck at square one: despite that many other things seem
    to work, the most basic part fails:

    sock = socket(PF_LINK, SOCK_RAW, /*htons(ETH_P_EAPOL)*/ 0);

    it fails with errno 43: Protocol not supported (with either EAPOL or 0
    for protocol). My question is: how is PF_LINK meant to be used?

    (and, if I'm bothering this list with such questions, please suggest
    another :) )

    -- 
    What part of "Ph'nglui mglw'nath Cthulhu R'lyeh wgah'nagl fhtagn" don't
    you understand?
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Robert Watson: "Re: A few technical items on UFS2 and snapshots..."

    Relevant Pages

    • RE: drive space shell script help ?
      ... > # You have to get rid of the word 'Capacity' or your comparison will ... > will fail. ... > Got a computer with idle CPU time? ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Outsiders observation upon the pros and cons of Debian
      ... approach to getting your way to a worldwide audience. ... and seen acrimonious responses from camps ... I fail to see how someone who makes no demands is ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: eth* devices (again)
      ... If eth0 is taken by something, you cannot assign it again by such rules, so all of them will fail. ... But the wireless card broke badly at that point. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Migrate from K7 to AMD64-K8
      ... I have searched Google and the archive, but not found what I am looking ... I understand all that stuff about install and chroot a 32/64 bit partition. ... But I fail to find hints on a clean migration path for my Sarge 32-bit ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: check superblock
      ... backwards through scripts to see where md2 might fail. ... I've noticed the last week or two that you've done a tremendous job at ... snippet of the original post to provide some background to your answers. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)