Re: Ad-hoc information



On 4/30/07, Dan Williams <dcbw redhat com> wrote:
On Mon, 2007-04-30 at 20:02 +0300, Ohad Lutzky wrote:
> On 4/30/07, Dan Williams <dcbw redhat com> wrote:
> > On Mon, 2007-04-30 at 09:56 +0300, Ohad Lutzky wrote:
> > > On 4/29/07, Dan Williams <dcbw redhat com> wrote:
> > > > On Sun, 2007-04-29 at 11:32 +0300, Ohad Lutzky wrote:
> > > > > Hello,
> > > > >
> > > > > I'm interested in writing a program which interfaces with
> > > > > networkmanager in order to manipulate wireless networks. The program
> > > > > is part of an academic project, which cannot be GPLd (despite my
> > > > > wanting to), therefore I cannot use libiw directly. I would like to
> > > > > know whether or not the DBus API allows me to
> > > > >
> > > > > - Create Ad-hoc networks (that is, set the ESSID, and set the mode to Ad-hoc)
> > > >
> > > > No, because wpa_supplicant doesn't set the channel for adhoc networks
> > > > (it has no channel/freq command) and some drivers need this to happen.
> > > > But it should work with certain drivers that use a default adhoc
> > > > channel.
> > >
> > > In that case, how (shortly, before I delve into the source code) does
> > > the "Create New Wireless Network" option of nm-applet work? One would
> > > require root privileges to do this, and as nm-applet runs
> > > unprivileged, I figured it would use the NM daemon for it.
> >
> > Yes, it works unprivileged.  Many drivers will use a default adhoc
> > channel, but the ipw2100/ipw2200 at least won't work without a channel
> > explicitly being set, which requires the wpa_supplicant changes.
>
> So how does this happen, when the GUI option is selected?

It currently does not, and is an open bug that requires changes in
wpa_supplicant.

This is a problem for me then... as I'm doing this as part of an
academic project, I want this fixed - I certainly want to help fix it
myself, I'm a bit familiar with wpa_supplicant. Where is the open bug
for this? I could not find it in bugzilla.

--
Protect your digital freedom and privacy, eliminate DRM, learn more at
http://www.defectivebydesign.org/what_is_drm

Ohad Lutzky



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]