Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless@vger.kernel.org
Subject: pynl80211 works
Date: Thu, 22 Feb 2007 13:43:00 +0100	[thread overview]
Message-ID: <1172148180.5080.13.camel@johannes.berg> (raw)

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

you obviously need the nl80211 hookup patch and pynl80211 at after or at
commit e99894da4ba56e0a493cc9e76d20bab8e3b0a96f but then watch:

# ip link
[indizes 1, 2, 3, 6, 17 snipped]

# ./wificonf.py add_virtual_interface 0 moni0 monitor
Success

# ip link
[indizes 1, 2, 3, 6, 17 snipped]
40: moni0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop
    link/[802] 00:11:24:xx:xx:xx brd ff:ff:ff:ff:ff:ff

# ./wificonf.py del_virtual_interface 0 moni0
Success

# ip link
[indizes 1, 2, 3, 6, 17 snipped]

# echo "Yes, it works! :D"
Yes, it works! :D


Oh and if you do get errors:
$ ./wificonf.py add_virtual_interface 0 abc monitor
Traceback (most recent call last):
  File "./wificonf.py", line 210, in ?
    exit(exec_cmd(items['CMD'][argv[1]], argv[2:]))
  File "./wificonf.py", line 186, in exec_cmd
    m = conn.recv()
  File "/home/johannes/Projects/cfg80211/tool/netlink.py", line 145, in
recv
    raise OSError("Netlink error: %s (%d)"%(os.strerror(errno),errno))
OSError: Netlink error: Operation not permitted (1)


Not the nicest error reporting but hey.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]

                 reply	other threads:[~2007-02-22 13:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1172148180.5080.13.camel@johannes.berg \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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