Skip navigation.
Home
The QNX Community Portal

View topic - WLAN: get list of available networks?

WLAN: get list of available networks?

anything that doesn't fit to other groups.

WLAN: get list of available networks?

Postby Elmi » Thu Jul 08, 2010 4:56 am

Hi,

when I have a WLAN-device working on my system, how can I get a list of all WLANs that are available for it?

Or is there some other documentation about WLAN access available somewhere?
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm

RE: WLAN: get list of available networks?

Postby maschoen » Fri Jul 09, 2010 6:01 pm

I don't know what you mean by WLAN. Do you mean what other QNX nodes are on the network? You can read /net like a directory.
maschoen
QNX Master
 
Posts: 2647
Joined: Wed Jun 25, 2003 5:18 pm

RE: WLAN: get list of available networks?

Postby Elmi » Mon Jul 12, 2010 4:54 am

Ahem...no, WLAN like "Wireless LAN" - that funny little thingy that you have in all modern Laptops now.
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm

RE: WLAN: get list of available networks?

Postby Elmi » Fri Jul 30, 2010 8:23 am

The whole situation is nothing less than a shame: QNX claims to support WLAN-hardware but there are no information available how to access and use them.
- Google finds nothing
- the search function on the QNX pages finds nothing
- code taken from Linux does not work
- here within the forum nobody knows how to access the WLAN device?

So what kind of WLAN-API do we have? Is it a top-secret, stealth programming interface? Or just hot air?

Elmi
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm

RE: WLAN: get list of available networks?

Postby maschoen » Fri Jul 30, 2010 12:44 pm

Well for better or worse, QNX the company and the last version 6.+ has been focused on the embedded market. They support a wide range of processors, and a wide range of hardware. But there are lots of holes when compared to the desktop market. A number of areas have been slow in coming. USB took a long time. It's still problematic if you have anything esoteric. I find the support of OpenGL ES something of a joke. There's one or two embedded board boards that have hardware acceleration.

The cause of this is simple. QNX is very directly market driven. When a big customer needs something, it appears. So the simple answer to your question is that no one has needed a nice desktop like solution, at least no one willing to pay for it. There is supposed to be a couple wireless lan chips supported, but what that means I don't know.
maschoen
QNX Master
 
Posts: 2647
Joined: Wed Jun 25, 2003 5:18 pm

Postby seanb » Fri Jul 30, 2010 3:10 pm

# ifconfig <iface> list scan <- documented with ifconfig

Or something like the following. Note wpa_supplicant
must be running first and have a line like the following
in /etc/wpa_supplicant.conf (doc'd with wpa_supplicant
and wpa_cli).

-seanb
---------------------------------------------------------------------
# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

# wpa_cli
wpa_cli v0.6.4
Copyright (c) 2004-2008, Jouni Malinen <j@w1.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'ral0'

Interactive mode

> scan
11:07:39.054: OK

> CTRL-EVENT-SCAN-RESULTS

11:07:43.271: CTRL-EVENT-SCAN-RESULTS
> scan_results
...
...
...
seanb
QNX Master
 
Posts: 133
Joined: Fri Jul 28, 2006 5:36 pm

Re: RE: WLAN: get list of available networks?

Postby Elmi » Mon Aug 02, 2010 6:26 am

maschoen wrote:Well for better or worse, QNX the company and the last version 6.+ has been focused on the embedded market. They support a wide range of processors, and a wide range of hardware. But there are lots of holes when compared to the desktop market.


That is not true in this case. According to their hardware database they DO support WLAN, so they must have a working WLAN interface.
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm

Postby Elmi » Mon Aug 02, 2010 6:29 am

seanb wrote:# ifconfig <iface> list scan
wpa_cli


Hm, both are command line tools where I would have to parse the output. Isn't there a native WLAN support out of the system? I'd guess ther must be one after WLAN support is listed within the hardware compatibility list...
Elmi
Active Member
 
Posts: 63
Joined: Sun Aug 02, 2009 4:57 pm


Return to General Programming

Who is online

Users browsing this forum: No registered users and 3 guests