[maemo-developers] [maemo-developers] Wavemon or other monitoring application for WLAN

From: Matthias Steinbauer matthias at steinbauer.org
Date: Tue Jan 10 10:57:15 EET 2006
I've started with a little application which listenes on dbus for certain 
messages and should then be able to execute a defined script.

BUT is stopped it again.

A more simpler solution is to get root and edit 
the /etc/udhcpcd/udhcpcd.script.

In there you will find a line that is something like /usr/bin/dbus-send 
--system blabla string:DHCP string:CONNECTED

Before this line I added my script which does some post connection checking. 
Like logging into university network and/or starting vpn services.

Hope this helps you out.

Regards Matthias

On Tuesday 10 January 2006 02:57, Johannes Eickhold wrote:
> On Mon, 2006-01-09 at 15:22 +0100, Dirk Kuijsten wrote:
> > I wanted to make an application that can connect to a hotspot and test
> > the connection and/or do an automatic weblogin (my hotspot provider here
> > in the Netherlands doesn't support EAP). Or start scripts to test the
> > connection.
>
> If I understand you correctly you want some actions executed
> automatically if you choose a connection from within the connection
> manager? That has been discussed on #maemo. I think the solution is to
> listen for the dbus messages that are generated upon establishment of a
> WLAN connection and use them to trigger scripts that do further work
> after a connection is established.
>
> Personally I don't like this kind of solution very much, because this
> had to be done by some kind of daemon listening on the dbus all the
> time.
>
> *think out loud* something like the options in
> debians /etc/network/interfaces stanzas should be used. Like "post-up
> [command]". But there are no config files there on the 770 for interface
> configuration. Events (dbus messages) are way cooler (modern), but are
> they the easiest way to go for such things?
>
> > The problem is: is there a way to interface with the connection manager?
>
> That is definately needed. One should be able to hook post-up scripts
> for the APs connection settings that are already saved on the 770!
> Everybody knows that WEP and WAP are insecure. To overcome that, many
> institutions use differnt kinds of VPN connections that should be
> integrated in the connection manager through script hooks.
>
> > According to the Maemo package reference the packages osso-wlan and
> > osso-wlan-security (EAP deamon) are from Nokia. But my question is: will
> > the sources be available?
> > http://repository.maemo.org/unstable/1.1rc5/package_reference.html
>
> Good question.
>
> > I would also like it if the EAP daemon supported EAP-TTLS, which it
> > doesn't yet. My university only supports ttls or cisco-vpn.
>
> My university uses cisco-vpn too and therefor I use VPNC on the 770
> which works fine except that I would like to have it executed
> automatically when I connect to one of my universities APs.
>
> http://maemo.org/maemowiki/InstallVPNC
>
> > 2.
> >
> > Thus I looked at the current modules loaded: cx3110x (lsmod).
> > They are in /mnt/initfs/lib/modules/2.6.12.3-omap1/
> > It seems the license for the cx3110x module is GPL version 2 (do a
> > strings on it). Thus Nokia should provide the source of the module.
> > With it we could write the osso-wlan package ourselves.
> >
> > Note: I know this is a Conexant cx3110x wlan chip with a lower mac
> > (umac), which is probably in the wlan-firmware package. I don't need
> > those sources. The strings of this module also do give "Proprietary" as
> > it should.
>
> Is the firmware integrated into that kernel module or does the module
> load it onto the hardware from a different file?
>
> Greets, Jonek.
>
> PS: Wavemon would be nice to have. Timo: it depends on ncurses!
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list