![]() |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
today i was able to test icq idling over 3g. seems i have to play around with the bytes-count taken into accout for determining unused connection.
|
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
You could always keep your script as it is, I mean, in theory that's the way it should work. But considering that you are making an app for end-users, I believe it would be wise to know why it may not work for everybody and how to fix it. Having said that, it may be just for me, so I won't draw any conclusions until many people have tested if they receive or send packets when not using the connection. PS: My n900 not only receives 1 packet of 42 bytes every 20 seconds or so, it also sends 1 packet of 60 bytes at the same interval. I had not payed attention to TX since I was not using it in my script. |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
Code:
apt-get install tcpdump |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
Code:
$ tcpdump -i wmaster0 -vv Code:
$ tcpdump -i wlan0 |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
|
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Hi there! The application is almost finished. Need to build the .deb package now.
I made a small script in if.d : Code:
#!/bin/sh When I connect to the Wifi, $IFACE="wlan0", but when i connect to the 3G, $IFACE is empty instead of containing "gprs0". Any idea why ? Thanks. UPDATE : it appears to be a known issue : https://bugs.maemo.org/show_bug.cgi?id=7733. Please vote! |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Is there a way to establish the gprs0 connection from the command line/with a simple script?
|
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
installed this script around a week ago seemed to work fine till phone was re-booted . now doesnt work wifi never disconnects when idle.
|
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
Hope it will be on Extra-Devel soon. |
Re: Connect to Internet on demand & disconnect automatically, particularly for GPRS?
Quote:
lly disconnect and reconnect wifi to make it work again |
All times are GMT. The time now is 03:45. |
vBulletin® Version 3.8.8