From: clemens fischer <ino-news@spotteswoode.dnsalias.org>
To: Jeff Chua <jeff.chua.linux@gmail.com>
Cc: Larry Finger <Larry.Finger@lwfinger.net>,
Greg Kroah-Hartman <gregkh@suse.de>,
wlanfae@realtek.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: r8712u: Fix driver to support ad-hoc mode
Date: Sun, 1 May 2011 18:40:14 +0200 [thread overview]
Message-ID: <20110501164013.GA4188@spotteswoode.de.eu.org> (raw)
In-Reply-To: <BANLkTimZ7gFiQyiYpo1SBirBhpkT427o2Q@mail.gmail.com>
> Jeff Chua:
> On Sat, Apr 30, 2011 at 8:21 PM, clemens fischer
>
> > I still wish "r8712u" would let me use wireless-tools/iwconfig, but
> > I can live with "wpa_supplicant(8)".
>
> You wish just came true. To use plain iwconfig with wpa_supplicant,
> here's what you need to do ...
> just remember that the "order" is important ... you must set the
> encryption key "before" you bring up the interface!!! This applies to
> non-realtek devices as well.
>
> # modprobe r8712u
> # iwconfig wlan0 key restricted your-encrypted-password-same-as-wpa-psk-string
> # ifconfig wlan0 up <-- this comes after you set up the encryption above!
> # iwconfig wlan0 mode ad-hoc essid your-ssid
> # ifconfig wlan0 your-ip
> # dhcpd wlan0
Yet not all parameters can be set with "iwconfig(8)":
iwconfig wlan0 essid mana mode Ad-Hoc channel 5 power 5s all key restricted s:xyz12
udevd-work[3589]: '/root/bin/wlan-dev.sh' (stderr) 'Error for wireless
request "Set Power Management" (8B2C) :'
udevd-work[3589]: '/root/bin/wlan-dev.sh' (stderr) ' SET failed on
device wlan0 ; Operation not permitted.'
Iwconfig(8) lets me set the power saving mode and which type of packets
wake the device up. wpa_supplicant(8) has nothing like this, it manages
channels and WPE keys and does this well, but not power settings.
This was my reason for prefering iwconfig(8) in the first place after
realizing that this little USB WLAN stick cannot be used for WPE, only
for Ad-hoc with WPA.
regards, clemens
next prev parent reply other threads:[~2011-05-01 16:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 16:25 Larry Finger
2011-04-28 15:08 ` clemens fischer
2011-04-28 15:31 ` Larry Finger
2011-04-28 18:05 ` Jeff Chua
2011-04-28 20:15 ` clemens fischer
2011-04-29 0:36 ` Jeff Chua
2011-04-29 21:15 ` clemens fischer
2011-04-29 21:52 ` Jeff Chua
2011-04-29 22:25 ` clemens fischer
2011-04-29 22:36 ` Jeff Chua
2011-04-30 1:41 ` clemens fischer
2011-04-30 12:21 ` clemens fischer
2011-04-30 23:08 ` Jeff Chua
2011-05-01 16:40 ` clemens fischer [this message]
2011-05-01 17:21 ` Jeff Chua
2011-05-01 19:55 ` clemens fischer
2011-05-02 5:08 ` Jeff Chua
2011-04-28 20:54 ` clemens fischer
2011-04-30 0:36 ` clemens fischer
2011-04-30 5:04 ` Larry Finger
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=20110501164013.GA4188@spotteswoode.de.eu.org \
--to=ino-news@spotteswoode.dnsalias.org \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@suse.de \
--cc=jeff.chua.linux@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=wlanfae@realtek.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
all inboxes | Powered by JetHome®