Notices


Reply
Thread Tools
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#531
Hi there!

AutoDisconnect v0.4.8 has been released today and is available in extras-devel. I hope you will enjoy it!

It will be moved in extras-testing during the week in order for you to to promote it in Extras.

If you like this application and want to support the development, I have added a Paypal link, so feel free to donate. Thanks!

-------------------------------

Changelog

* Fix [#6380] : Disconnect fails when interface traffic exceeds 2 GiB
* Fix [#6705] : Multiple connections support for the same interface
* New feature [#6102] : Exception for Mobile Hotspot/JoikuSpot
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]

Last edited by calvin_42; 2010-12-29 at 08:52.
 
Posts: 24 | Thanked: 7 times | Joined on Dec 2010
#532
season's greetings
it recognizes the interface but immediately believes it was manually closed and stops monitoring it.



[14:59:00][1996][GPRSv6] <Kill 2026>
[14:59:00][1996][GPRSv6] interface started
[14:59:10][1996][GPRSv6] network interface identified as
[14:59:10][1996][GPRSv6] interface closed (externally)
[14:59:10][1996][GPRSv6] <if-up-stop>
 

The Following User Says Thank You to db_tobago For This Useful Post:
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#533
Originally Posted by db_tobago View Post
season's greetings
it recognizes the interface but immediately believes it was manually closed and stops monitoring it.
Thanks for the feedback. Could you, while connected to the Internet using IPV6, run the following command in your terminal and post the result here :

Code:
ifconfig
and

Code:
cat /proc/net/route
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
Posts: 24 | Thanked: 7 times | Joined on Dec 2010
#534
sure

/usr/bin # ifconfig
gprs0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet6 addr: 2607:fb90:cafe:a:b2be:5462:3e8c:2a0c/0 Scope:Global
UP POINTOPOINT RUNNING NOARP MTU:1400 Metric:1
RX packets:262 errors:0 dropped:0 overruns:0 frame:0
TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:217159 (212.0 KiB) TX bytes:55696 (54.3 KiB)

lo Link encap:Local Loopback
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1533 errors:0 dropped:0 overruns:0 frame:0
TX packets:1533 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:115635 (112.9 KiB) TX bytes:115635 (112.9 KiB)

phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:20686 errors:0 dropped:0 overruns:0 frame:0
TX packets:8035 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5288664 (5.0 MiB) TX bytes:571249 (557.8 KiB)

upnlink0 Link encap:UNSPEC HWaddr 1B-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:49152 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


/usr/bin # cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use MetricMask MTU Window IRTT

/usr/bin # cat /proc/net/ipv6_route
00000000000000000000000000000001 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000000 80200001 lo
2607fb90beef000a0000000000000001 80 00000000000000000000000000000000 00 2607fb90beef000a0000000000000001 00000000 00000000 00000002 01000001 gprs0
2607fb90beeffeed0000000041363ed7 80 00000000000000000000000000000000 00 2607fb90beeffeed0000000041363ed7 00000000 00000001 00000002 01000001 gprs0
2607fb90beeffeed000000004137acfd 80 00000000000000000000000000000000 00 2607fb90beeffeed000000004137acfd 00000000 00000000 00000002 01000001 gprs0
2607fb90beeffeed000000004a7d7f64 80 00000000000000000000000000000000 00 2607fb90beeffeed000000004a7d7f64 00000000 00000001 00000003 01000001 gprs0
2607fb90beeffeed000000004a7d7f6d 80 00000000000000000000000000000000 00 2607fb90beeffeed000000004a7d7f6d 00000000 00000001 00000002 01000001 gprs0
2607fb90cafe000ab2be54623e8c2a0c 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000365 80200001 lo
fe800000000000000000000000000000 40 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 gprs0
ff000000000000000000000000000000 08 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 gprs0
00000000000000000000000000000000 00 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 gprs0
00000000000000000000000000000000 00 00000000000000000000000000000000 00 fe800000000000000000000000000001 00000400 00000000 00000000 00450003 gprs0
00000000000000000000000000000000 00 00000000000000000000000000000000 00 00000000000000000000000000000000 ffffffff 00000001 00000024 00200200 lo
 

The Following User Says Thank You to db_tobago For This Useful Post:
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#535
Originally Posted by db_tobago View Post
sure
Ok that explains why it doesn't work. Could you run

Code:
cat /proc/net/ipv6_route
while not connected to GPRS, just to be sure ?
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
Posts: 24 | Thanked: 7 times | Joined on Dec 2010
#536
cool:
/home/user # cat /proc/net/ipv6_route
00000000000000000000000000000001 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000000 80200001 lo
fe80000000000000ee9b5bfffec1fd6a 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000000 80200001 lo
fe800000000000000000000000000000 40 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 wlan0
ff000000000000000000000000000000 08 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 wlan0
00000000000000000000000000000000 00 00000000000000000000000000000000 00 00000000000000000000000000000000 ffffffff 00000001 00000034 00200200 lo

Last edited by db_tobago; 2010-12-29 at 12:38.
 
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#537
Originally Posted by db_tobago View Post
cool:
/home/user # cat /proc/net/ipv6_route
00000000000000000000000000000001 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000000 80200001 lo
fe80000000000000ee9b5bfffec1fd6a 80 00000000000000000000000000000000 00 00000000000000000000000000000000 00000000 00000001 00000000 80200001 lo
fe800000000000000000000000000000 40 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 wlan0
ff000000000000000000000000000000 08 00000000000000000000000000000000 00 00000000000000000000000000000000 00000100 00000000 00000000 00000001 wlan0
00000000000000000000000000000000 00 00000000000000000000000000000000 00 00000000000000000000000000000000 ffffffff 00000001 00000034 00200200 lo
OK thanks! If it's okay to you, I will send to you a new version of AutoDisconnect (.deb) in the next few days with IPV6 support in order for you to test it.

Last thing, could you while connected run the netstat (with a grep to catch the ESTABLISHED lines) and put on this thread a few lines in which your IPV6-format IP appears ?
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
Posts: 35 | Thanked: 19 times | Joined on Sep 2010 @ France
#538
Originally Posted by calvin_42 View Post
- OK first let's check that you have configured correctly AutoDisconnect. Run in your terminal the following command and post here the result :
Code:
gconftool-2 -g /apps/autodisconnect/param_idle_network_mode_type

First :

Code:
/home/user # gconftool-2 -g /apps/autodisconnect/param_idle_network_mode_type
3g
Originally Posted by calvin_42 View Post
- Then switch your phone to 2G (GSM) and then run in a terminal :

Code:
dbus-send --system --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.set_selected_radio_access_technology byte:2
Does your phone switch to 3G ?
Yes


Originally Posted by calvin_42 View Post
- If so, could you switch back to 2G, and try to connect to the Internet. Then wait for AutoDisconnect to disconnect your phone and post here the last 30 lines of the file /var/log/autodisconnect.log

Thanks
Autodisconnect.log :

Code:
[12:10:09][2306][GPRS] <Kill 2333>
[12:10:09][2306][GPRS] interface started
[12:13:10][2306][GPRS] interface checked (+14649)
[12:16:10][2306][GPRS] interface checked (phone_unlocked)
[12:19:10][2306][GPRS] interface checked (phone_unlocked)
[12:22:10][2306][GPRS] interface closed (inactive) +0
[12:22:11][2306][GPRS] <if-up-stop>
[12:22:12][2611][GPRS] <post-down-start>
[12:22:12][2611][GPRS] <post-down-stop>
[16:34:21][1625][GPRS] <pre-if-up-start>
[16:34:21][1625][GPRS] <pre-if-up-stop>
[16:34:28][1682][GPRS] <if-up-start>
[16:34:28][1682][GPRS] <Kill 1713>
[16:34:28][1682][GPRS] interface started
[16:37:28][1682][GPRS] interface checked (phone_unlocked)
[16:40:28][1682][GPRS] interface checked (phone_unlocked)
[16:43:29][1682][GPRS] interface checked (+2927710)
[16:46:29][1682][GPRS] interface closed (inactive) +0
[16:46:30][1682][GPRS] <if-up-stop>
[16:46:32][2006][GPRS] <post-down-start>
[16:46:32][2006][GPRS] <post-down-stop>
[16:58:16][2029][GPRS] <pre-if-up-start>
[16:58:16][2029][GPRS] <pre-if-up-stop>
[16:58:21][2083][GPRS] <if-up-start>
[16:58:21][2083][GPRS] <Kill 2110>
[16:58:21][2083][GPRS] interface started
[17:01:22][2083][GPRS] interface checked (+417751)
[17:04:22][2083][GPRS] interface closed (inactive) +0
[17:04:22][2083][GPRS] <if-up-stop>
[17:04:24][2234][GPRS] <post-down-start>
[17:04:24][2234][GPRS] <post-down-stop>
Thanks Calvin_42
 

The Following User Says Thank You to slider5 For This Useful Post:
Posts: 24 | Thanked: 7 times | Joined on Dec 2010
#539
that's fine with me. happy i can assist.


Code:
/usr/bin # netstat | grep -i establi | grep -i tcp
tcp        0      0 2607:fb90:cafe:e:43c6:c5c2:a1ef:b00c%65024:55652 2607:fb90:beef:feed::480e:d56d%168:imaps ESTABLISHED 
tcp        0      0 2607:fb90:cafe:e:43c6:c5c2:a1ef:b00c%65024:65320 2607:fb90:beef:feed::4a7d:7f66%169:www ESTABLISHED

Last edited by db_tobago; 2010-12-30 at 02:57.
 

The Following User Says Thank You to db_tobago For This Useful Post:
calvin_42's Avatar
Posts: 286 | Thanked: 219 times | Joined on Feb 2010 @ France
#540
Hi slider5.

Did you get my private message with the instructions to find what the problem is ?

Originally Posted by slider5 View Post
Code:
gconftool-2 -g /apps/autodisconnect/param_idle_network_mode_type

First :

Code:
/home/user # gconftool-2 -g /apps/autodisconnect/param_idle_network_mode_type
3g


Yes




Autodisconnect.log :

Code:
[12:10:09][2306][GPRS] <Kill 2333>
[12:10:09][2306][GPRS] interface started
[12:13:10][2306][GPRS] interface checked (+14649)
[12:16:10][2306][GPRS] interface checked (phone_unlocked)
[12:19:10][2306][GPRS] interface checked (phone_unlocked)
[12:22:10][2306][GPRS] interface closed (inactive) +0
[12:22:11][2306][GPRS] <if-up-stop>
[12:22:12][2611][GPRS] <post-down-start>
[12:22:12][2611][GPRS] <post-down-stop>
[16:34:21][1625][GPRS] <pre-if-up-start>
[16:34:21][1625][GPRS] <pre-if-up-stop>
[16:34:28][1682][GPRS] <if-up-start>
[16:34:28][1682][GPRS] <Kill 1713>
[16:34:28][1682][GPRS] interface started
[16:37:28][1682][GPRS] interface checked (phone_unlocked)
[16:40:28][1682][GPRS] interface checked (phone_unlocked)
[16:43:29][1682][GPRS] interface checked (+2927710)
[16:46:29][1682][GPRS] interface closed (inactive) +0
[16:46:30][1682][GPRS] <if-up-stop>
[16:46:32][2006][GPRS] <post-down-start>
[16:46:32][2006][GPRS] <post-down-stop>
[16:58:16][2029][GPRS] <pre-if-up-start>
[16:58:16][2029][GPRS] <pre-if-up-stop>
[16:58:21][2083][GPRS] <if-up-start>
[16:58:21][2083][GPRS] <Kill 2110>
[16:58:21][2083][GPRS] interface started
[17:01:22][2083][GPRS] interface checked (+417751)
[17:04:22][2083][GPRS] interface closed (inactive) +0
[17:04:22][2083][GPRS] <if-up-stop>
[17:04:24][2234][GPRS] <post-down-start>
[17:04:24][2234][GPRS] <post-down-stop>
Thanks Calvin_42
__________________
AutoDisconnect automatically closes your idle connections (Wifi/3G/Bluetooth) and switches the network mode to 2G when 3G is not used. [ Thread ] [ Wiki ] [ Donate ]
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 05:57.