DeleGate for Windows Mobile/CE v9.9.4. pre6 - Touch Pro, Fuze Themes and Apps

You can use DeleGate instead of WiFiRouter or ICS as a WiFi router without ICS, but it can't work for SSL.
PC <--- DeleGate (Wifi) ---> X05HT (as Router) <--- packet communication ---> Telecommunication corporation
1. Download latest Version of DeleGate 2009/06/05 9.9.4-pre6, then copy and paste winmo-dg.exe and dgcezlib1.dll into the folder named DeleGate under My Pocket PC.
http://wince.delegate.org/
2. Download EasyDial.exe of KOTETSU and install.
Website
http://d.hatena.ne.jp/KOTETU/00000114/p4
EasyDial.arm.cab
http://pub.idisk-just.com/fview/pt9ZcuuWwo02Lgme5cT-BGlHT1_CaIcxS51rMnSL_7-HV2ziTUc_d-V2M9gJpnzXAxOLKu10mybVb9tEWylPkQ.CAB
or
Easydial.exe
http://pub.idisk-just.com/fview/pt9ZcuuWwo02Lgme5cT-BGlHT1_CaIcxS51rMnSL_7-HV2ziTUc_d-V2M9gJpnzXMKHsIoUn0DE.exe
Make folder EasyDial under folder of program files and copy Easydial.exe and paste to this foler.
3. Start Easydial.exe
4. PC: ad hoc only TCP/IP 192 168 0 2 sub: 255 255 0 0
5. Internet option: LAN Proxy Server 192 168 0 1 port 8080
6. WM: Setting Wireless LAN - WiFi - Wireless - computer to computer
Network adapter: connecting to internal network
Adapter: IEEE 802.11
IP address: 192 168 0 1 sub: 255 255 255 0
7. Connect WiFi from WM to PC
8. Click winmo-dg.exe
9. PC: Start browser
TRY AT YOUR OWN RISK!
I checked it on X05HT only.
NinoX01HT

Related

Vodafone VPA III - bluetooth & usb network ??? how ?

sorry about my poor english, iam german
i use the files from: http://handhelds.org/moin/moin.cgi/BlueAngel
i tryed the "active" the bluetooth
/etc/sysconfig/bluetooth
BLUETOOTH=yes
BLUETOOTH_PORT=/dev/tts/3
BLUETOOTH_PROTOCOL=texas
BLUETOOTH_SPEED=115200
if i have this the VPA III do not load the GPE
you can see the "booting GPE..." but nothing else happens
if i change the file: /etc/sysconfig/bluetooth to this
BLUETOOTH=no
BLUETOOTH_PORT=/dev/tts/3
BLUETOOTH_PROTOCOL=texas
BLUETOOTH_SPEED=115200
all works fine !
What can i do to active the bluetooth ?
another problem: usb-networking
my host is a PC with Fedora Core 5
if i try to make a network conntection, it fails
1. i boot the vpa III with Linux from SD Card
2. i connect the vpa III "docking station", and then with usb with
the PC.
output from /var/log/messages
USB Connection, booting WinCE
Apr 5 10:23:17 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 16
Apr 5 10:23:17 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Apr 5 10:23:17 localhost kernel: ipaq 4-2:1.0: PocketPC PDA converter detected
Apr 5 10:23:17 localhost kernel: usb 4-2: PocketPC PDA converter now attached to ttyUSB0
If i use the opie-image (opie-image-blueangel.rootfs.tar.bz2)
the USB-Network is OK, but OPIE don´t start.
If i use the gpe-image (gpe-ba.tar.bz), the USB-Network don´t work, but GPE is running !
USB Connection, booting GPE from SD Card
Apr 5 10:24:39 localhost kernel: usb 4-2: USB disconnect, address 16
Apr 5 10:24:39 localhost kernel: ipaq ttyUSB0: PocketPC PDA converter now disconnected from ttyUSB0
Apr 5 10:24:39 localhost kernel: ipaq 4-2:1.0: device disconnected
Apr 5 10:24:39 localhost kernel: usb 4-2: new full speed USB device using uhci_hcd and address 17
Apr 5 10:24:39 localhost kernel: usb 4-2: configuration #1 chosen from 1 choice
Apr 5 10:24:39 localhost kernel: usb0: register 'cdc_subset' at usb-0000:00:1d.3-2, Linux Device, 5a:7b:25:xx:xx:xx
Apr 5 10:24:44 localhost avahi-daemon[2152]: New relevant interface usb0.IPv4 for mDNS.
Apr 5 10:24:44 localhost avahi-daemon[2152]: Joining mDNS multicast group on interface usb0.IPv4 with address 192.168.0.205.
Apr 5 10:24:44 localhost avahi-daemon[2152]: Registering new address record for 192.168.0.205 on usb0.
Apr 5 10:24:50 localhost kernel: NETDEV WATCHDOG: usb0: transmit timed out
on the PC, (Fedora Core 5)
modprobe usbnet
ifconfig usb0 192.168.0.205
ssh [email protected]
ssh: connect to host 192.168.0.206 port 22: No route to host
ifconfig usb0
usb0 Link encap:Ethernet HWaddr 5A:7B:25:xx:xx:xx
inet addr:192.168.0.205 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::587b:25ff:fed5:1c2b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:24 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:42 (42.0 b)
netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 usb0
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.100.254 0.0.0.0 UG 0 0 0 eth0
ping 192.168.0.206
PING 192.168.0.206 (192.168.0.206) 56(84) bytes of data.
From 192.168.0.205 icmp_seq=1 Destination Host Unreachable
From 192.168.0.205 icmp_seq=2 Destination Host Unreachable
From 192.168.0.205 icmp_seq=3 Destination Host Unreachable
From 192.168.0.205 icmp_seq=5 Destination Host Unreachable
From 192.168.0.205 icmp_seq=6 Destination Host Unreachable
ping 192.168.0.205
PING 192.168.0.205 (192.168.0.205) 56(84) bytes of data.
64 bytes from 192.168.0.205: icmp_seq=1 ttl=64 time=0.085 ms
64 bytes from 192.168.0.205: icmp_seq=2 ttl=64 time=0.062 ms
on the VPA, if i check the network with "ifconfig"
i can see, usb0 with IP: 192.168.0.206
on the VPA III is no iptables loaded
on the VPA III
ping 192.168.0.206
PING 192.168.0.206 (192.168.0.206) 56(84) bytes of data.
64 bytes from 192.168.0.206: icmp_seq=1 ttl=64 time=0.052 ms
64 bytes from 192.168.0.206: icmp_seq=2 ttl=64 time=0.062 ms
ping 192.168.0.205
PING 192.168.0.205 (192.168.0.206) 56(84) bytes of data.
From 192.168.0.205 icmp_seq=1 Destination Host Unreachable
From 192.168.0.205 icmp_seq=2 Destination Host Unreachable
From 192.168.0.205 icmp_seq=3 Destination Host Unreachable
thanks
bye

Activate Wlan when ActiveSync starts

hi
I am looking for a script or tool that will activate the wlan-option when ActiveSynch is connected? To save power, this tool should also disconnect wlan when AS is stopped. Someone knows already some tools for that?
or is it possible to get n toggle-button option for wlan as softkey?
thanks
Use this wifi toggle and assign it to a soft key with SoftKey manager.
If you install mortscript a fairly simple script can be written to toggle wifi on and off with an activesync connection. I have written a similar one to toggle wifi on automatically when I open pocket internet explorer or the Network plugin and off when I close them.
hello,
yes i am already using mortscript (to set the registry key showsim = 0). i tried to find the wlan-toggle-key in the registry to turn it on and of, but i didn't find it. and also i don't know how to get the activsync status...
thanks for your toggle-sricpt, i will use it for the first time...
Changing registry values to turn hardware on or off using mortscript does not work. That's why you need to get mortscript to run the toggle I attached.
Try this script
-----------------------------------------------------------------
VariableValue = 0
While (1)
#Detect for USB connection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 1 && VariableValue = 0)
#Turn on Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 1
EndIf
#Detect for USB disconnection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 0 && VariableValue = 1)
#Turn off Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 0
EndIf
Sleep 2000
Endwhile
-----------------------------------------------------------------
Remember to place the script or a link to the script in your Windows\Startup folder
works perfect! thanks!
neomagik said:
Changing registry values to turn hardware on or off using mortscript does not work. That's why you need to get mortscript to run the toggle I attached.
Try this script
-----------------------------------------------------------------
VariableValue = 0
While (1)
#Detect for USB connection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 1 && VariableValue = 0)
#Turn on Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 1
EndIf
#Detect for USB disconnection
SyncState = RegRead("HKLM", "System\State\Hardware", "Cradled")
If (SyncState = 0 && VariableValue = 1)
#Turn off Wifi
Run "Path to\Wifi_on-off.exe"
VariableValue = 0
EndIf
Sleep 2000
Endwhile
-----------------------------------------------------------------
Remember to place the script or a link to the script in your Windows\Startup folder
Click to expand...
Click to collapse
Hi neomagik,
Can you perhaps provide me with that script you have written please?,i don't know how to write scripts ...

get-a-robot-vpnc help

I have been trying to get the get-a-robot-vpnc (http://code.google.com/p/get-a-robot-vpnc/) package to work on my HTC Vogue for some time. I am currently running the eclair 2.1 mssmision build.
I have gotten pretty far I think.. but need some help. Here are the steps that I have followed up until now.
1. Compile tun.ko module for Vogue
I followed these instructions to get the vogue kernel locally: http://www.androidonhtc.com/get_involved
After step 5 in that list, make sure to select the "Device Drivers->Network Device Support->Universal TUN/TAP device driver support" (select as M for kernel module)
After step 6, build the kernel modules: "make modules ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-"
2. Put tun.ko onto the vogue permanently
Set the /system partition writable
Code:
adb -d shell
#su
#mount -o remount,rw /system
In a different terminal, push the tun.ko over to the /system/lib/modules dir
Code:
adb -d push ~/android-kernel/kernel/drivers/net/tun.ko /system/lib/modules
Back in the first terminal, set the system volume to read only again.
Code:
#mount -o remount,ro /system
3. Install the latest get-a-robot-vpnc package
Download from website and push to device:
Code:
adb -d install VPN_Connections_v097.apk
It is installed to /data/data/org.codeandroid.vpnc_frontend directory.
I put in the correct settings to connect to my companies vpn. (These same settings work perfectly on my ubuntu machine)
When I run the program I see on logcat:
Code:
D/VPN_Connections( 658): Password is numeric
D/VPN_Connections( 658): password **********
D/VPN_Connections( 658): done interacting with vpnc
D/VPN_Connections( 658): process stderr:
D/VPN_Connections( 658):
D/VPN_Connections( 658): Attempt to read vpnc process id did not return anything
D/VPN_Connections( 658): process had died, return as failed connection
But when i shell into the phone I see the process running:
Code:
/ # ps | grep vpnc
658 10049 107m S org.codeandroid.vpnc_frontend
710 0 1300 S /data/data/org.codeandroid.vpnc_frontend/files/vpnc -
At this point the network is hosed and in order to get it back I have to reboot.
Trying it manually
In order to see what is happening with vpnc, I shell into the phone and run the program manually.
First I need to ensure the tun.ko is loaded:
Code:
#su
#insmod /system/lib/modules/tun.ko
You can see the command string for vpnc in the /data/data/org.codeandroid.vpnc_frontend/files/lastConnection.txt file.
I run this command:
Code:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --debug 1
Enter the correct vpn data and see this output: (i cut out my company specific info and ip addresses)
Code:
vpnc version ERSION
IKE SA selected psk+xauth-3des-md5
NAT status: NAT-T VID seen, no NAT device detected
IKE SA selected psk+xauth-3des-md5
NAT status: NAT-T VID seen, no NAT device detected
Enter Username and Password.
Banner: Welcome <cut> Remote Access User.
got address <xxx.xxx.xxx.xxx>
Connect Banner:
| Welcome <cut> Remote Access User.
backing up dns and resolve.conf
vpnc-script ran to completion
IPSEC SA selected aes128-sha1
VPNC started in foreground...
vpnc[582]: can't open pidfile /var/run/vpnc/pid for writing
At this point I seem to be connected.. but can't actually ping anything on my company network, or get to any websites.
I am not very strong with networking.. so I feel that maybe the routes are not being setup properly.. but I don't know:
Here is my routing table after the connection (took out company ip)
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
68.28.145.85 * 255.255.255.255 UH 0 0 0 ppp0
xxx.xxx.xxx.xx 68.28.145.85 255.255.255.255 UGH 0 0 0 ppp0
default * 0.0.0.0 U 0 0 0 tun0
Any help would be appreciated.
Hey - I posted a response in the vpnc thread:
http://forum.xda-developers.com/showpost.php?p=5625056&postcount=109
Also, to amend - if you try it manually again, try this:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1

(Q) problem with tun.ko in jb mr1

Hi Guys,
I want install tun.ko in jb mr1 rom but have problem..they said no compatible with this rom...i want to install it coz i want to use openvpn apk... tq
Sent from my GT-P1000 using xda premium
Try this OpenVPN app instead:
OpenVPN for Android
by Arne Schwabe
https://play.google.com/store/apps/details?id=de.blinkt.openvpn&hl=en
It claims:
"Openvpn for Android. Uses the new VPNService API that requires neither Jailbreak nor root on your Telephone."
Works for me, but my ROM is rooted. I quite doubt it works for non rooted phone.
Anyway, since that is what he said, I assume no tun.ko needed.
Thanx priyana...vpn is connect but i can't online...
Running on GT-P1000 (s5pc110) samsung, Android API 17, version 0.5.36a, official build
Building configuration…
started Socket Thread
Network Status: CONNECTED UMTS to mobile celcom3g
P:Initializing Google Breakpad!
PpenVPN 2.3.1+dspatch3 android-14-armeabi-v7a [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Apr 1 2013
P:MANAGEMENT: Connected to management server at /data/data/de.blinkt.openvpn/cache/mgmtsocket
P:MANAGEMENT: CMD 'hold release'
P:MANAGEMENT: CMD 'bytecount 2'
P:MANAGEMENT: CMD 'state on'
P:MANAGEMENT: CMD 'username 'Auth' robin'
P:MANAGEMENT: CMD 'password [...]'
P:MANAGEMENT: CMD 'proxy NONE'
P:WARNING: No server certificate verification method has been enabled. See for more info.
P:Socket Buffers: R=[110592->131072] S=[110592->131072]
Protecting socket fd 4
P:MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
P:UDP link local (bound): [AF_INET][undef]:1194
P:UDP link remote: [AF_INET]184.164.144.187:9201
P:MANAGEMENT: >STATE:1367632333,WAIT,,,
P:MANAGEMENT: >STATE:1367632334,AUTH,,,
P:TLS: Initial packet from [AF_INET]184.164.144.187:9201, sid=4faba848 7a328d8c
P:WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
P:VERIFY OK: depth=1, C=PH, ST=DVO, L=PANTUKAN, O=XTREAMVPN, OU=XTREAMVPN.COM, CN=XTREAMVPN, name=VINCE, [email protected]
P:VERIFY OK: depth=0, C=PH, ST=DVO, L=PANTUKAN, O=XTREAMVPN, OU=XTREAMVPN.COM, CN=XTREAM, name=VINCE, [email protected]
P:WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1542', remote='link-mtu 1574'
P:WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1500', remote='tun-mtu 1532'
Pata Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Pata Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Pata Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Pata Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
P:Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
P:[XTREAM] Peer Connection Initiated with [AF_INET]184.164.144.187:9201
P:MANAGEMENT: >STATE:1367632343,GET_CONFIG,,,
P:SENT CONTROL [XTREAM]: 'PUSH_REQUEST' (status=1)
PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 64.38.192.12,dhcp-option DNS 4.2.2.1,route 10.83.0.0 255.255.255.0,topology net30,ping 5,ping-restart 30,ifconfig 10.83.0.218 10.83.0.217'
PPTIONS IMPORT: timers and/or timeouts modified
PPTIONS IMPORT: --ifconfig/up options modified
PPTIONS IMPORT: route options modified
PPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
P:ROUTE_GATEWAY 10.144.36.1/255.255.255.0 IFACE=pdp0 HWADDR=00:00:00:00:00:00
P:ROUTE6: default_gateway=UNDEF
PpenVPN ROUTE6: OpenVPN needs a gateway parameter for a --route-ipv6 option and no default was specified by either --route-ipv6-gateway or --ifconfig-ipv6 options
PpenVPN ROUTE: failed to parse/resolve route for host/network: ::/0
P:do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
P:MANAGEMENT: >STATE:1367632345,ASSIGN_IP,,10.83.0.218,
P:MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: >STATE:1367632345,ADD_ROUTES,,,
P:MANAGEMENT: CMD 'needok 'ROUTE' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
P:MANAGEMENT: CMD 'needok 'OPENTUN' ok'
P:Initialization Sequence Completed
P:MANAGEMENT: >STATE:1367632345,CONNECTED,SUCCESS,10.83.0.218,184.164.144.187
Sent from my GT-P1000 using xda premium
I must admit I used out a long time ago.
There might be some other issue with our kernel or tcpip.
I think you connect and get an IP. But larger packet fails.
Try launch a terminal emulator.
Ping a machine on remote end. I am sure it reply.
Sent from my GT-P1000 using xda app-developers app

[Q] Can't get WiFi to work on CM 10.1.3

Hi everyone! I'm new to custom roms and got thrilled with how CM's pervormance is better that LG's original rom, but since I flashed it I can´t use wifi :crying:
I ain´t even able to turn wifi on or of... As I work developing andoid apps, I've noticed the error log below at logcat... seems like the wifi drivers are missing... is it correct? how am I supposed to fix that?
Thanks you all in andvance for any help/suggestions!
Code:
10-30 09:31:30.726: ERROR/WifiStateMachine(477): Failed 6 times to start supplicant, unload driver
10-30 09:31:30.756: ERROR/WifiStateMachine(477): Unable to change interface settings: java.lang.IllegalStateException: command '5479 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 5479 Failed to set address (No such device)'
10-30 09:31:30.786: ERROR/wpa_supplicant(4967): nl80211: Could not configure driver to use managed mode
10-30 09:31:30.796: ERROR/wpa_supplicant(4967): Could not read interface wlan0 flags: No such device
10-30 09:31:30.796: ERROR/wpa_supplicant(4967): wlan0: Failed to initialize driver interface
10-30 09:31:39.336: ERROR/gralloc(146): NvGrPost: Failed, TEGRA_DC_EXT_FLIP 6 No such device or address
10-30 09:31:41.796: ERROR/WifiHW(477): Supplicant not running, cannot connect
10-30 09:31:42.806: ERROR/WifiHW(477): Supplicant not running, cannot connect
10-30 09:31:43.806: ERROR/WifiHW(477): Supplicant not running, cannot connect
10-30 09:31:44.806: ERROR/WifiHW(477): Supplicant not running, cannot connect
10-30 09:31:45.806: ERROR/WifiHW(477): Supplicant not running, cannot connect
10-30 09:31:45.826: ERROR/WifiStateMachine(477): Failed to setup control channel, restart supplicant
10-30 09:31:45.876: ERROR/WifiStateMachine(477): Unable to change interface settings: java.lang.IllegalStateException: command '5482 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 5482 Failed to set address (No such device)'
10-30 09:31:45.906: ERROR/wpa_supplicant(5004): nl80211: Could not configure driver to use managed mode
10-30 09:31:45.906: ERROR/wpa_supplicant(5004): Could not read interface wlan0 flags: No such device
10-30 09:31:45.906: ERROR/wpa_supplicant(5004): wlan0: Failed to initialize driver interface
bonus:
Code:
10-31 14:47:38.139: ERROR/(25264): file /data/data/com.nvidia.NvCPLSvc/files/driverlist.txt: not found!
Check 'netcfg' output and also kmesg at boot. CM has the Wi-Fi driver built into the kernel and it's loaded when the system starts.

Categories

Resources