Using Zaurus SL-860 via XDA II to connect to the Internet - Networking

Does anyone know how to use the XDA II as the wireless modem to let the Zaurus PDA connect to the Internet?
I tried the "blueZ" driver on my Z and established DUN connection with the XDA II successfully, but I didn't get the IP address, the gateway and the DNS from the XDA II.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
connected successfully
cannot get the IP address, gateway and DNS server
Wireless modem indicators kept shining
Thus, I couldn't actually connect to any website. I tried using irda and it failed as the same situation, but there was no problem if I used my T68 as the bluetooth wireless modem.
Can anyone help me with this? Thank you in advance!
problematic device combination:
Zaurus SL-C860 + Socket Bluetooth CF → XDA II
--
following is my Zaurus settings:
Bluetooth DUN setting(BLUETOOTH1082483514):
---------------------------------------------------------------------------------
/dev/rfcomm0
115200
local
noipdefault
connect ' /usr/sbin/chat -s -v -t 60 ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "BUSY" "" "ATZ" OK "ATDT*99#" CONNECT'
noauth
nodefaultroute
10.10.10.10:10.10.10.11
ms-dns 10.10.10.1
rfcomm.conf
----------------------------------------------------------------------------------
rfcomm0 {
bind yes;
device 00:02:C7:25:86:F7;
channel 7;
comment "Generated by BT dial-up network applet.";
}
hcid.conf
----------------------------------------------------------------------------------
#
# HCI daemon configuration file.
#
# $Id: hcid.conf,v 1.3 2002/07/18 18:12:46 maxk Exp $
#
# HCId options
options {
# Automatically initialize new devices
autoinit yes;
# Security Manager mode
# none - Security manager disabled
# auto - Use local PIN for incoming connections
# user - Always ask user for a PIN
#
security auto;
# Pairing mode
# none - Pairing disabled
# multi - Allow pairing with already paired devices
# once - Pair once and deny successive attempts
pairing multi;
# PIN helper
pin_helper /etc/bluetooth/givepin;
}
# Default settings for HCI devices
device {
# Local device name
# %d - device id
# %h - host name
name "%h";
# Local device class
class 0x120114;
# Default packet type
#pkt_type DH1,DM1,HV1;
# Inquiry and Page scan
iscan enable; pscan enable;
# Default link mode
# none - no specific policy
# accept - always accept incoming connections
# master - become master on incoming connections,
# deny role switch on outgoing connections
#
#lm accept,master;
#
lm accept;
# Default link policy
# none - no specific policy
# rswitch - allow role switch
# hold - allow hold mode
# sniff - allow sniff mode
# park - allow park mode
#
#lp hold,sniff;
#
lp hold,sniff,park;
# Authentication and Encryption
auth enable;
encrypt enable;
}

Related

Windows Mobile IP Utility

Here is Windows Mobile IP Utility by Enterprise Mobile:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The Enterprise Mobile IP Utility for Windows Mobile Devices allows you to troubleshoot IP connections using functions such as PING on both Pocket PCs and Smartphones.
All of the features listed below assist an IT Professional with troubleshooting connection issues on a Windows Mobile Device.
* IP Configuration – View and renew IP configuration for all network interfaces on the device
* Ping – Simple ping to any destination host name or IP address
* Trace Route – Trace route from the device to any destination host name or IP address
* Ping Sweep – Ping a sequential range of IP addresses in a subnet
* Speed Test – Check the current bandwidth speed of your device connection to the internet
* Logging – All results of IP Configuration, ping and trace route operations are logged to a text file for collection or sharing
System Requirements
* Windows Mobile 5.0 devices must have .NET Compact Framework 2.0 installed
* Windows Mobile 6.0 and 6.1 devices (already have .NET CF 2.0 in ROM
Click to expand...
Click to collapse
Download link:
http://rapidshare.com/files/120755868/EM-IPUtilSetup.cab.html
Can we get a mirror on this. Rapidshares cats suck lol i can't get the code right.
ROCOAFZ said:
Can we get a mirror on this. Rapidshares cats suck lol i can't get the code right.
Click to expand...
Click to collapse
Here is uploaded.to mirror:
http://uploaded.to/?id=s70xvw
Excellent. I can really use this with my job. I'll be using it this week and report any problems.
ROCOAFZ said:
Can we get a mirror on this. Rapidshares cats suck lol i can't get the code right.
Click to expand...
Click to collapse
Rapid Share has just revamped their pages again. No more stupid cats just 3 simple letters now to input.

Security Tools (Ping, Traceroute, Whois, Port Testing)

This is a 1.0 release and is looking for people to try it out. The application allows for pinging a host, trace the path to a host, do Whois lookups on domain names, and even test ports. You can download it from http://www.securenetworksystems.com/SecurityTools/ and can get a demo license from http://www.securenetworksystems.com/SecurityTools/demo.aspx that will give you a week of testing the software. The image below shows a trace that is mapped out.
We are releasing this for testing before it goes up for sell, so any productive feedback is appreciated. Please note that full installation size is around 45MB (due to a database size), so it is a good idea to verify you have enough space on your phone/device or install to a storage card.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
* Works with Windows Mobile PPC devices with Compact Framework 2.0 or later
* Ping, Trace, WHOIS and Port Scan
* View your trace on a map and follow it hop by hop
* Test port ranges or try a single port and send clear text commands to the port
* Save your results and load them back in at any time
* Utilize any network connection (3G, CDMA, 802.11, ActiveSync, etc.),
System Requirements:
* Pocket PC with Windows Mobile 5.x, 6.x Pro or later
* Compact Framework 2.0 or later
* Network/Internet Connection
* It is recommended that you have an unlimited data plan through your phone provider
* ~45MB of storage space for all features, more space is needed for map data and map data is downloaded on need basis
Latest Release (9/15/2009)
Enhanced: Finger control for the map (larger zoom buttons).
Fixed: Scaling issues for VGA/WVGA (large screens) in the port testing section and in the setup wizard.
Fixed: An error in setup wizard if Device is selected for tile cache location.
Fixed: If a service returned special characters (such as SSH) in port testing during a single port test, the entire message would not be displayed. The message is now shown without the characters that can’t be displayed.
I just added some additional picture so you can see some of the other cool functions of the application. The only thing that isn't shown here is the WHOIS lookup. Hope everyone is enjoying the free trial.
Nice tool to do simple troubleshooting while on the road.
The Whois gives a lot of garbage. It should search for the exact match. If people want more sites that aren't exact matches, wildcards should be used. Instead, a Whois for google.com gives no relevant data, and you have to do another search to get the info. The search gives things like google.com.zzzzz.download.movie.online.zml2.com, as well as addresses to porn sites.

Some tips and trick for HTC-Mega

Trick 1: Bluetooth audio improve quality
Using advance config tool:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Set Minimum Supported BitPool to 42, Maximum supported to 80, Bitpool to 48
Wifi & BT enabled at same time:
HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms ->BTCoesist change 0 to 1
Wifi enable 11n standard: HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms
11nModeDisabled change 1 to 0
Wifi Scan Interval:
HKEY_LOCAL_MACHINE\Comm\WiFi->ScanInterval change 60 to desidered value in seconds (e.g. 10 scan every 10 seconds)
Disable GPRS auto attach:
HKEY_CURRENT_USER\ControlPanel\PhoneExtendFunction->NoGPRSAutoAttach change 0 to 1
Reduced Noise in call:
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\PHONE\PhoneExtendSetting -> ReduceNoiseInCall change 0 to 1
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\PHONE\PhoneExtendSetting -> SupportReduceNoiseInCall change 0 to 1
Support HSUPA:
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\AdvancedNetwork
->SupportHSUPA change 0 to 1
Power UP display when new sms received:
HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D65B-239C-47a7-9304-0D347F580408} delete value: AvailableOptions
(before export key).
I'm not sure HSUPA working. In control panel showed advanced network and appears setting enable HSDPA and HSUPA. Other settings works fine.
Only for Italian people (and for all devices with manila2d italian):
Edit - Upgrade language fix
Some text of manila2d meteo mistmach tranlsation. Sky Clear in night time showed "cancella" but correct is "sereno". In Task Manager setting appears "Domensione Grande" in icons setting. But correct is "Dimensione Grande". In UsbtoPC original translation is "quando si college" correted with "quando si collega". Installing file HTC Language fix attached in this post you can correct this.
Update: correct "avanti" with "inoltra" in sms forward translation. Added correction for internet sharing mui and fotocamera mui (some error translations)
Are you sure about the 802.11n?
ggeorgiev said:
Are you sure about the 802.11n?
Click to expand...
Click to collapse
I'm not sure (not know if driver) but wifi chip are 802.11b/g bcm4325 or bcm4329 (n support provide bluetooth, wifi, radio-fm and included fm transmitter installed on touch hd2). In network adapters i have 2 broadcom network adapter: 802.11 and 802.11 dhd.
See this post:
* BCM432x Chipset:
HTC Rhodium, HTC Leo, HTC Mega
http://forum.xda-developers.com/showthread.php?t=622377
if possible i test with n router next week with forced setup for n connection only. I write result of this test in this post.
Scuse me for bad english.
Thanks for these tips......especially reduce noise during call.......

Cannot Disable Native Captive Portal Detection

Starting shortly after the 7.1.2 official builds, I can no longer successfully disable native captive portal detection on my 6P.
I used to be able to use the following command in adb shell: adb shell settings put global captive_portal_detection_enabled 0
However, this no longer has any effect, even though I can run the next command: adb shell settings get global captive_portal_detection_enabled and it will return 0 like it is supposed to, indicating that it has been disabled.
It seems that this functionality has been broken in the latest security patches, and I have searched far and wide with no answers except for what I already know. If I cannot disable native captive portal detection, it will not permit "Hello Guest Wifi" (an app that used to work reliably) to automatically sign into the public network at my workplace and requires manual connection multiple times per day. Any help would be greatly appreciated!
Hi, I had the same issue. After digging into android_framework_base, this was not broken, but the configuration has changed.
Now there is 3 captive portal settings:
https://github.com/LineageOS/androi...ore/java/android/provider/Settings.java#L8273
- ignore: Don't attempt to detect captive portals
- prompt (default): When detecting a captive portal, display a notification that prompts the user to sign in.
- avoid: When detecting a captive portal, immediately disconnect from the network and do not reconnect to that network in the future.
The setting to configure is no more captive_portal_detection_enabled. Instead, use captive_portal_mode
settings put global captive_portal_mode 0
Click to expand...
Click to collapse
guilc said:
Hi, I had the same issue. After digging into android_framework_base, this was not broken, but the configuration has changed.
Now there is 3 captive portal settings:
https://github.com/LineageOS/androi...ore/java/android/provider/Settings.java#L8273
- ignore: Don't attempt to detect captive portals
- prompt (default): When detecting a captive portal, display a notification that prompts the user to sign in.
- avoid: When detecting a captive portal, immediately disconnect from the network and do not reconnect to that network in the future.
The setting to configure is no more captive_portal_detection_enabled. Instead, use captive_portal_mode
Click to expand...
Click to collapse
Oh, thank you so much. I was having this issue with my Lenovo Zuk Z1 and you just saved me a huge amount of frustration. lol
guilc said:
use captive_portal_mode
Click to expand...
Click to collapse
works awesome on android 7.1
you saved my live
this is it!
@guilc
well done!
@wannabe-developers
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
u should be condemned to have only access to networks
that block access to your hard-coded:
'yes i can curl that, now the system has internet access'
targets for the rest of time.
and no root or adb access!
thx for breaking the user :silly:
guilc said:
Hi, I had the same issue. After digging into android_framework_base, this was not broken, but the configuration has changed.
Now there is 3 captive portal settings:
https://github.com/LineageOS/androi...ore/java/android/provider/Settings.java#L8273
- ignore: Don't attempt to detect captive portals
- prompt (default): When detecting a captive portal, display a notification that prompts the user to sign in.
- avoid: When detecting a captive portal, immediately disconnect from the network and do not reconnect to that network in the future.
The setting to configure is no more captive_portal_detection_enabled. Instead, use captive_portal_mode
Click to expand...
Click to collapse
thank you so much
you saved my time clearing this annoying notification.
I get permission denial message when I try this command, its a shame there isnt an xposed module for this..
well...
got root?
if not try adb from pc...
i guess: no root, no luck! though

[Guide] How to setup WireGuard with AzireVPN

Edit: Easier guide.
Code:
Disclaimer:
AzireVPN is a third-party service that is currently providing free VPN for WireGuard users for an undetermined time.
I have no relation or association with the company. All rights reserved to the Azire team.
If you follow this guide, you are at your own risk. I'll not be held responsible for any damage.
What is WireGuard?
"WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. It aims to be faster, simpler, leaner, and more useful than IPSec, while avoiding the massive headache. It intends to be considerably more performant than OpenVPN. WireGuard is designed as a general purpose VPN for running on embedded interfaces and super computers alike, fit for many different circumstances. Initially released for the Linux kernel, it plans to be cross-platform and widely deployable. It is currently under heavy development, but already it might be regarded as the most secure, easiest to use, and simplest VPN solution in the industry." - WireGuard Website
Click to expand...
Click to collapse
How can I use Wireguard?
To use Wireguard with your phone, you will need a kernel (or ROM) with WireGuard support. For this guide, we will focus on Z00A, since this is my device.
Currently we have Hololite and Holo Kernel for Z00A and Z008 by @nutcasev1.5 which supports wireguard.
After flashing the required kernel and booting the device, you will need to download the WireGuard app from Playstore.
Now we need to configure the VPN server. Currently AzireVPN is providing free access to WireGuard users for an undetermined time, to test their infrastructure. So we will use it.
To start, create an account on their website and then go to their WireGuard page and check the "Manual Configuration without Script" section. We will use that as a base.
Next, we will need cURL to obtain the required information from Azire to be able to connect to their service with WireGuard. If you are using Windows, you can download Git for Windows and use the git bash to execute the command. If you are on Linux, you can search how to install cURL for your distribution and do it normally.
Now we can proceed. Open the Wireguard app on your phone and touch the "+" and then "Create from scratch". Then, click on "generate" and save the public key generated.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now we can execute the cURL command:
curl -d username=REPLACE --data-urlencode password=REPLACE --data-urlencode pubkey=REPLACE https://api.azirevpn.com/v1/wireguard/connect/se1
Click to expand...
Click to collapse
Replace all the "REPLACE" with the corresponding information: your Azire username, password and the public key we generated with the app.
If everything goes right, we will obtain a response close to this:
Code:
{
"status": "success",
"data": {
"DNS": "193.180.164.2, 2a03:8600:1001::2",
"Address": "10.18.1.182/24, 2a03:8600:1001:1080::10b4/64",
"PublicKey": "bdR5gm5vcrm9N9I7BeQqHOgrmQApSGIe9qc1homBjk8=",
"Endpoint": "193.180.164.60:51820"
}
}
With that, we can now configure the app.
On interface, you can set any name you like.
On Addresses, set the "Address" ip range from the response. E.g: 10.18.1.182/24. You can ignore the IPV6 stuff.
On DNS servers, just copy the ip from the "DNS" response.
Click on "Add Peer" and copy the "PublicKey" from the response to the Public Key area. Be careful if copy pasting, sometimes the last part of the key get striped off, so double check.
On Endpoint, copy the "Endpoint" ip+port from the response.
Set 0.0.0.0/0 on Allowed IPs.
Set Persistent keepalive to 25 so we don't get delayed notifications while conected to the VPN.
Click on the Save icon.
Example config:
You can now go ahead and toggle the config we just created, if everything goes right, no error will be presented.
If you want to test if you are really connected, go to the Azire Website with your phone and request the desktop site. The message "Successfully connected to AzireVPN" should show at the top corner. The app also adds a quick tile to easily toggle on and off the VPN.
There you go! Now please keep in mind that Azire is offering their service for free and they can shut it down at any moment.
Can access Netflix content with this?~
nijihana said:
Can access Netflix content with this?~
Click to expand...
Click to collapse
You mean blocked content? Sure, I guess. But you have to keep in mind that the available servers from Azire are limited, you can't choose the region. If you want anything specific, you will have to setup your own server or search for a paid service.
Follow other guide
Hello: a simpler guide to accomplish the same thing exists here: https://forum.xda-developers.com/android/general/guide-how-to-wireguard-android-ubuntu-t3723544
I'd suggest users follow this, rather than trying to futz with a shell script in Windows and the other over-complicated steps outlined.

Categories

Resources