Author Message

<  The PPP Widget Family for Android  ~  "mock" WiFi interface

PostPosted: Sun Sep 16, 2012 7:16 pm Reply with quote
Posts: 1 Joined: Sat Sep 15, 2012 11:15 am
Hi.
Is there more information
Quote:
experimental full network access via "mock" WiFi interface
?
Can i use your "bc.jar" into my Frontend : https://play.google.com/store/apps/details?id=umts.manager.jk ?

Hallo,
gibt es mehr Informationen zu
Quote:
experimental full network access via "mock" WiFi interface
?
K├Ânnte ich die "bc.jar" in meiner App benutzen?

jk


Offline
PostPosted: Mon Sep 17, 2012 9:44 am Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
I sweated the best part of four weeks over the Android source code to distill that feature ...

No offense, but for now I'd like to keep it exclusive.


Offline
PostPosted: Fri Oct 05, 2012 6:18 pm Reply with quote
Posts: 14 Joined: Thu Oct 04, 2012 2:17 am ICQ: 343911454
How can I activate this feature in current version of PPP Widget? Some apps doesn't "see" any network and doesn't connect to the Internet.


Offline
PostPosted: Fri Oct 05, 2012 7:27 pm Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
It's active automatically. If you see a Wifi symbol with no signal in the tray area, it's on.

Without it, downloads in the Android browser and Google Play would not work.

Can you name the applications which don't accept the Internet connection?


Offline
PostPosted: Fri Oct 05, 2012 9:18 pm Reply with quote
Posts: 14 Joined: Thu Oct 04, 2012 2:17 am ICQ: 343911454
Applications doesn't download in the Google Play Market, Skype does not connect, Dr.Web Anti-virus bases does not update, updater says that is not connection to the Internet. Does not available Wifi symbol in the system tray.


Offline
PostPosted: Mon Oct 08, 2012 1:10 am Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
Maybe your protection software is causing this problem?

It is the first time I hear about problems of that kind ...


Offline
PostPosted: Mon Oct 08, 2012 2:16 am Reply with quote
Posts: 14 Joined: Thu Oct 04, 2012 2:17 am ICQ: 343911454
Dr.Web doesn't block this feature. After it's removing this problem remainied.
Acer Icinia Tab A501
TegraOwners ICS ROM v170 (Android OS 4.0.4) This ROM based on CM9


Offline
PostPosted: Mon Oct 08, 2012 8:32 am Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
If no other software is blocking the feature, then the OS version may be responsible.

Can you check one thing, please?

Open the terminal emulator on the Iconia. Enter "su" to become root.
Then enter:
Code:
# logcat PPPWidget *:S

This should show you a message from the widget as soon as the connection is up.

Of course you can go to the home screen with the "Home" button, start the connection with the widget, and then go back to the terminal.


Offline
PostPosted: Mon Oct 08, 2012 9:51 pm Reply with quote
Posts: 14 Joined: Thu Oct 04, 2012 2:17 am ICQ: 343911454
Quote:
app_35@android:/ # logcat PPPWidget *:S
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main

and nothing else


Offline
PostPosted: Mon Oct 08, 2012 11:05 pm Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
There is something wrong: when pppd has completed the connection setup, it runs the script "ip-up". This script sets the connection parameters with the help of the "setprop" tool. It also initiates the mock Wifi interface.

Can you check the following on a 'root' terminal?

These two commands should return the same IP address when connected:
# getprop net.ppp0.gw
# getprop net.wlan0.gw

Also, run this logcat command and post the result:
# logcat AndroidRuntime *:S


Offline
PostPosted: Mon Oct 08, 2012 11:42 pm Reply with quote
Posts: 14 Joined: Thu Oct 04, 2012 2:17 am ICQ: 343911454
Quote:
app_35@android:/ $ export PATH=/data/local/bin:$PATH
app_35@android:/ $ su
app_35@android:/ # getprop net.ppp0.gw
10.64.64.64
app_35@android:/ # getprop net.wlan0.gw
10.64.64.64
app_35@android:/ # logcat AndroidRuntime *:S
--------- beginning of /dev/log/main
--------- beginning of /dev/log/system
D/AndroidRuntime( 134):
D/AndroidRuntime( 134): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 134): CheckJNI is OFF
D/AndroidRuntime( 1049):
D/AndroidRuntime( 1049): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1049): CheckJNI is OFF
D/AndroidRuntime( 1049): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 1049): Shutting down VM
I/AndroidRuntime( 1049): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 1179):
D/AndroidRuntime( 1179): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1179): CheckJNI is OFF
D/AndroidRuntime( 1179): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 1179): Shutting down VM
I/AndroidRuntime( 1179): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 1249):
D/AndroidRuntime( 1249): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1249): CheckJNI is OFF
D/AndroidRuntime( 1394):
D/AndroidRuntime( 1394): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1394): CheckJNI is OFF
D/AndroidRuntime( 1394): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 1394): Shutting down VM
I/AndroidRuntime( 1394): NOTE: attach of thread 'Binder Thread #3' failed
D/AndroidRuntime( 1571):
D/AndroidRuntime( 1571): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime( 1571): CheckJNI is OFF
D/AndroidRuntime( 1571): Calling main entry com.android.commands.am.Am
D/AndroidRuntime( 1571): Shutting down VM
^Z[1] + Stopped logcat AndroidRuntime *:S
app_35@android:/ #


Offline
PostPosted: Mon Oct 08, 2012 11:56 pm Reply with quote
Site Admin Posts: 6378 Joined: Sat Nov 03, 2007 12:30 am
O.K., thanks.

Now we know that the ip-up script is running, but the mock Wifi interface is not created.

Hmm, have to think.


Offline

Display posts from previous:  Sort by:

All times are UTC+02:00
Page 1 of 1
12 posts
Users browsing this forum: Bing [Bot] and 2 guests
Search for:
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum