[maemo-developers] [maemo-developers] Hooking into network configuration
From: Stefan Tomanek stefan at pico.ruhr.deDate: Fri Mar 24 01:53:59 EET 2006
- Previous message: [maemo-developers] Mono : HttpWebRequest in c# my nokia 770 (mono-nokia 1.1.13-1)
- Next message: [maemo-developers] Waiting for DBUS events in shell scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I got my Nokia 770 a few days ago, and I am quite impressed and satisfied; However I am confused about the network configuration. I have done some tweaks to both Debian (http://stefans.datenbruch.de/interfaces/) and iPAQ/Familiar (http://stefans.datenbruch.de/h5450/) networking, and was somehow disappointed that Maemo does not use /etc/network/interfaces for network configuration, although the file provides everything needed to store multiple configuration PLUS a lot of flexibility when it comes to more complicated setups. For example, my university uses a Cisco VPN to give us wireless access to the internet; I have to use VPNC to gain a working net access, and I was able to make it work automatically by hooking it into the network setup descriped on my pages above. I would like to do so as well on my Nokia 770, but I did not find any scripts triggered during interface configuration; I also started to investigate DBUS activity (http://stefans.datenbruch.de/nokia770/) during network initialization, but was unable to hook into it using simple shell scripting (more about that in another mail). I also think that this might be too late - After issuing the DBUS message, all apps will think that internet connectivity is available, so in my opionion there should be a script thriggered before this DBIS signal is emitted. I'd even prefer a debian style setup via /etc/network/interfaces, which already has all abilities to handle profiles, callbacks etc. The generation of DBUS signals would be quite easy to implement through apropiate scripts in "/etc/network/if-up.d/" (if-pre-up.d, if-down.d, if-post-down.d etc.) Of course this would require a doog parser for that file. So, is there a way of hooking into the network configuration process, perhaps even delaying the "internet available" signal until my vpn client has established his connection? -- .:°stefan at pico.ruhr.de | tommie at IRC | GPG: finger stefan at localhost.ruhr.de °:. |_____________________ http://stefans.datenbruch.de/__ ______________________| | Wer Header fälscht oder verfälscht oder gefälschte oder verfälschte Header | `-__in_Umlauf_bringt_wird_mit_Scorefile_nicht_unter_-500_Punkten_bestraft__-'
- Previous message: [maemo-developers] Mono : HttpWebRequest in c# my nokia 770 (mono-nokia 1.1.13-1)
- Next message: [maemo-developers] Waiting for DBUS events in shell scripts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]