Wifi/DHCP issue - ONE Q&A, Help & Troubleshooting

Hi guys,
I have some sort of issue, tested on different roms (lollipop based) and it persists (maybe a LP issue?)
Everytime I connect, the DHCP (server 2008) gives me a new IP because the unique ID changes everytime and doesn't just put the MAC address like it should. Here is a screenshot
{
"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"
}
As you can see, the two last entries, i just turned on, off and back on, it got a new IP
Now I know I didn't have that issue before, and after a while, the DHCP gets full. The UID format is also very strange and I just wonder why it doesn't get the MAC address. Anyone seen this issue?
Edit: tested on a KK based rom and it works as intended

QuarkZ26 said:
Hi guys,
I have some sort of issue, tested on different roms (lollipop based) and it persists (maybe a LP issue?)
Everytime I connect, the DHCP (server 2008) gives me a new IP because the unique ID changes everytime and doesn't just put the MAC address like it should. Here is a screenshot
As you can see, the two last entries, i just turned on, off and back on, it got a new IP
Now I know I didn't have that issue before, and after a while, the DHCP gets full. The UID format is also very strange and I just wonder why it doesn't get the MAC address. Anyone seen this issue?
Edit: tested on a KK based rom and it works as intended
Click to expand...
Click to collapse
I can confirm the issue exists on my CyanogenMod 12.1-20150418-NIGHTLY-bacon. Here's the content of dhcp.leases file on my router:
Code:
[email protected]:~# cat /tmp/dhcp.leases
1429667040 c0:ee:fb:26:f2:7f 192.168.1.111 oneplusone ff:00:00:00:22:00:00:01:00:00:06:7e:e0:17:3c:72:53:00:00
1429661505 c0:ee:fb:26:f2:7f 192.168.1.112 * ff:00:00:00:1c:00:00:01:00:00:06:7e:e0:17:3c:72:53:00:00
1429636116 00:16:44:7c:78:a0 192.168.1.116 laptop 01:00:16:44:7c:78:a0

DHCP and Wrong MAC ADDRESS
I have the same problem with CM12S on my one plus one. Before with CM11s everything was ok.
I have the problem when i go to my office where there is a Windows 2008 R2 servers with the DHCP server... i try to make a test at home with my DLINK router that also have a DHCP server but the behavior is different. In the DLINK router if i check the DHCP table i see the right MAC Address of my phone and if i configure the dhcp server to assign a specific ip based on the MAC address of the phone, it works and the ip assigned to the device is what i have set.
Whereas at work i didn't receive the ip choosen because the smartphone seems to send to the DHCP server a wrong MAC Address ID like this 000006f0000001c00000000a01... ecc ecc. that also change every time i disconnect and reconnect the wifi of the smartphone.

Vittorio71 said:
Whereas at work i didn't receive the ip choosen because the smartphone seems to send to the DHCP server a wrong MAC Address ID like this 000006f0000001c00000000a01... ecc ecc. that also change every time i disconnect and reconnect the wifi of the smartphone.
Click to expand...
Click to collapse
Not a wrong MAC address, but a "client identifier" alongside MAC address.
As per RFC 2131:
A DHCP server needs to use some unique identifier to associate a client with its lease. The client MAY choose to explicitly provide the identifier through the 'client identifier' option. If the client supplies a 'client identifier', the client MUST use the same 'client identifier' in all subsequent messages, and the server MUST use that identifier to identify the client. If the client does not provide a 'client identifier' option, the server MUST use the contents of the 'chaddr' field to identify the client.
chaddr is Client Hardware Address, that is, MAC address. DHCP server looks at the client identifier first, then, if absent, at the MAC address. Our phones send different client identifiers each time they request IP from the server resulting in different lease every time.
JIRA report: https://jira.cyanogenmod.org/browse/BACON-3269
CM forum topic: https://forum.cyanogenmod.org/topic/105174-wifi-issue-on-cm12-nightly/

ok thanks for the explanation... i follow the link you provide and i substitute the dhcp client on my smartphone... Tomorrow when i will go to office i will try to connect again and i will verify the behavior of the Windows 2008 r2 dhcp server...
byeee

Vittorio71 said:
ok thanks for the explanation... i follow the link you provide and i substitute the dhcp client on my smartphone... Tomorrow when i will go to office i will try to connect again and i will verify the behavior of the Windows 2008 r2 dhcp server...
byeee
Click to expand...
Click to collapse
Use the one from JIRA. Be sure to backup.

thedamager said:
Use the one from JIRA. Be sure to backup.
Click to expand...
Click to collapse
Yeaaaa...goood!!!
with the dhcp client downloded from JIRA link you provide me everithing works good... also in office, the Windows 2008 r2 DHCP server, receive correctly the MAC address of the smartphone and assign me the right IP address as happened before, with the previous firmware release (CM11S)
Thanks a lot!! Bye

Related

VPNC on android

Introduction
This is the first release of an installable package to allow google android phones to connect to Cisco like VPN concentrators.
Details
The installing phone will require:
* Root user privileges on the phone.
* /dev/tun file
* Kernel with tun support (or tun module). (cyanogen should be good)
* A cisco, nortel or freeswan ipsec server to connect to.
How To
Installing this version
This is available in the android market as a free application. It should be called VPN Connections. (Not sure where it will be listed as yet).
The latest version of the application can also be downloaded from here and installed using adb.
Reporting bugs
Please inform us which ROM and version that you are using, if the /dev/tun exists, its permissions, and the output of logcat from a boot, also the version of this application that you are running.
If your ROM and version are already reported in the issue list, please comment in the thread as there has been some inconsistencies in reports.
Please be very careful when lodging a bug as it may contain company confidential information. Be sure to strip any secrets or passwords from the configuration files or debugging information.
http://code.google.com/p/get-a-robot-vpnc/issues/list
Known issues
May need to load the tun module manually first.
Usernames can not contain the @ symbol.
Does not currently work with one time pass devices (Rsa keys).
Reserved for changelog.
no longer needed.
I'm not trying to ping via DNS name, so dont be worred about that. I know the other hosts are up, reachable and pingable.
Tried TCP and ICMP connections.
Unfortunately I don't have any ideas for you.. I'd like to play with it some myself though, would love to have VPN working. Could you send me / post the compiled binaries? saiboogu [at] g mail
Thanks and good luck
Sent to said address.
A little more information.
When tcpdumping the connection, packets originating from the phone go out through the device.
When tcpdumping the connnection with packets originating from the internal network through the vpn, i can tell they make it to the rmnet0 device, but never make it to tun0 device.
Ok, so I have it working now ! Wahoo.
So.. going to tidy the code up, Clean up the shell script to be android specific (and set the DNS servers).
Great. Would be awesome if you could share your binaries. What about joining this project and submitting what you did?
Tried mailing the owner of the project, many weeks ago. No response. Guess its dead.
I'm going to try to get a build environment setup for the major releases. Please PM me within the next 7 days if you are interested.
I plan to not only release the binaries, but the source code and build environment also. Hopefully the upstream developers will also take my patches.
Is it possible to connect with this vpnc to a cisco concentrator 3000 vpn?
We use CiscoVPN at our University and it would be nice if Android will be able to connect to it.
N23 said:
Is it possible to connect with this vpnc to a cisco concentrator 3000 vpn?
We use CiscoVPN at our University and it would be nice if Android will be able to connect to it.
Click to expand...
Click to collapse
I got a copy of this a few days ago from ungamed.. At first I couldn't connect to our 3000 because I was lead to believe our concentrator only supported TCP NAT traversal (which isn't supported by vpnc), but after talking to someone who knew his stuff a little better, I connected via UDP and had no problems.
So, short answer -- as long as your concentrator is configured to accept some form of NAT traversal other than TCP, this should work.
Oh, and like ungamed said the DNS still needs some work. Not a problem for me, when I VPN to work I only need a single domain that I went ahead and put in my /etc/hosts
Awesome work
Hey guys,
Let me know if you can provide a package.
Would love trying this out.
Thanks,
Kiran.
You can find out a first download here. http://code.google.com/p/get-a-robot-vpnc/downloads/list
This is the console part of the project, not the GUI, I'm still building that this week. Requires a rooted phone 1.5 or above.
I think that the dns is fixed in this first download
Ungamedplayer said:
You can find out a first download here. http://code.google.com/p/get-a-robot-vpnc/downloads/list
This is the console part of the project, not the GUI, I'm still building that this week. Requires a rooted phone 1.5 or above.
Click to expand...
Click to collapse
It only works with Cupcake? That's bad because yet there's no (fully working) UK Cupecake out
But thank you very much! Maybe then the nice GUI is ready ;-)
N23 said:
It only works with Cupcake? That's bad because yet there's no (fully working) UK Cupecake out
But thank you very much! Maybe then the nice GUI is ready ;-)
Click to expand...
Click to collapse
Working on the interface is slower than me doing the actual port.
Thumbnail::
{
"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"
}
Full Shot Preview
I tried to use that package
I can get vpn connecting, but the apps do not use that tunnel afterwards.
Code:
# ./vpnc /data/data/org.codeandroid.vpnc/etc/vpnc/vpnc.conf --debug 1 --no-detach
vpnc version ERSION
Script: not found
IKE: not found
Perfect: not found
IPSec: not found
IPSec: not found
IPSec: not found
Xauth: not found
Xauth: not found
IKE SA selected psk+xauth-aes128-sha1
NAT status: no NAT-T VID seen
got address *************
Script: not found
IKE: not found
Perfect: not found
IPSec: not found
IPSec: not found
IPSec: not found
Xauth: not found
Xauth: not found
IPSEC SA selected aes128-sha1
VPNC started in foreground...
vpnc[2366]: can't open pidfile /var/run/vpnc/pid for writing
Do I need to call something afterwards?
Btw it did not work to pass --script to /data/data/org.codeandroid.vpnc/etc/vpnc/vpnc-script so I copied that script to the default location /etc/vpnc/vpnc-script...
maybe its not executed properly?
[deleted]

[APP][Android 2.1+] Element53 (DNS Tunnel) [With demonstration video]

{
"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"
}
You should read this before clicking this post away, I bet you like this: HERE, because it's for Android now!
Note: for the best user experience, you need a rooted device, there are many tutorials on XDA how to root your device.
Hello,
Today I want to introduce you my new application. I and of friend mine have created this application.
Element53 is a ready-to-use DNS-tunnel for Android. It can be used for different things. If you don't know what a DNS-tunnel can do, you can find it HERE (really, you should do this, I am sure you want this on your phone!) (first 2 chapters). So this application should be perfect if you are going abroad. Beside that it can also be used for penetration testing.
Element53 creates a TCP-tunnel to a SOCKS proxy server. The client side of the tunnel is localhost:3128. For your convenience the server part is provided.
If you have rooted your device (this is no requirement) you can install ProxyDroid and route all internet traffic into the tunnel.
You have to configure ProxyDroid before you can use all the functions of Element53. You should apply the following settings:
Host should be: 127.0.0.1
port should be: 3128
Proxy type: SOCKS5
After that, you have to start Element53 by pressing the 'green button', after that you can start ProxyDroid. Because Element53 creates a DNS tunnel, the connection is not very fast, but it works fine.
Element53 Lite allows you to test until you have reached 10 mb traffic. If you like Element53, you can upgrade to the Pro version.
Youtube demonstration video:
Lite: Market link up here.
Pro: Market link up here
I have tried to test this application as much as I can, but I guess there are still some bugs.
If you encounter a bug a problem, please make a reply on this post, and I will work on it. If you think it works great, please leave a positive review on the market, thanks! If you have any other feature request, please tell me.
Or, if you have any questions, please ask me, and I will reply ASAP .
Update: (5 july 2012)
Full support from SDK7 (Android 2.1) from now!
Update: (4 july 2012)
Today I have updated Element52 to version 1.1. I fixed some bugs and added some buttons for switching between screens, because not everybody knows that you can 'swipe' between them.
Source:
GitHub here!
Good App
I have been testing this on my school network, and it works fine. When I am going on vacation I will use this application very much I think, thanks!
I have been testing this on a few networks, and for so far, it works fine! I am glad you like it!
You are the best! Thx for the great app.
Sent from my Galaxy Nexus using XDA Premium HD app
I really appreciate that, thanks! If you have any bugs or whatever, please tell me!
N/A
Small update:
I have added a demonstration video of Element53 now, you should watch it!
Youtube demonstration video:
"For your convenience the server part is provided."
Does this mean that you are running server to which android client is connecting?
porcupine02 said:
"For your convenience the server part is provided."
Does this mean that you are running server to which android client is connecting?
Click to expand...
Click to collapse
Yes, that's correct. You only have to install Element53, and for the best user experience a rooted device with ProxyDroid.
If you have any questions, please ask!
Ok, thanks. I will test it on vacation - paying for wifi in 2012 just doesn't feel right
porcupine02 said:
Ok, thanks. I will test it on vacation - paying for wifi in 2012 just doesn't feel right
Click to expand...
Click to collapse
Haha, that's fine! Please tell me your experience with Element53!
Guys,
Element53 has been updated to 1.5
Changes:
- Some small bug fixed.
- Improved GUI.
Hey, this app is a simple yet useful tool, anyway i wanted to use my server instead of using yours, it's set up correctly and waiting for connections,
anyway when i change the settings on the phone it won't allow me to connect to it. Did you hardcode something into the app so that i cannot use my server?
here is a screenshot of the logs
Nikooo777 said:
Hey, this app is a simple yet useful tool, anyway i wanted to use my server instead of using yours, it's set up correctly and waiting for connections,
anyway when i change the settings on the phone it won't allow me to connect to it. Did you hardcode something into the app so that i cannot use my server?
here is a screenshot of the logs
Click to expand...
Click to collapse
Hi, thanks for using my application. Do your server receive any DNS requestst? So far I know there is nothing hardcoded, in the app, I will look into this tomorrow!
Sorry for my late reply by the way.
Rednasman said:
Hi, thanks for using my application. Do your server receive any DNS requestst? So far I know there is nothing hardcoded, in the app, I will look into this tomorrow!
Sorry for my late reply by the way.
Click to expand...
Click to collapse
Hi, I have my own DNS tunnel server based on iodined, how do I make your app work with my server?
thatonemorekid said:
Hi, I have my own DNS tunnel server based on iodined, how do I make your app work with my server?
Click to expand...
Click to collapse
Hi,
I am sorry for my late reply!
We have build a custom server for Element53, the server is made in NodeJS.
You can find the source here: Element53 GitHub
Hello everyone.
Tried to roll-out this application in the test environment and has a problem.
Looks lite the tunnel is up normally but when i tried to open any page i see something like that (screenshot)
So the setup is:
1. Server for DNS: Windows XP SP3 ENG CORP, NODE.js (node-v0.10.20-x86.msi, config53.js, element53.js downloaded yesterday).
config53.js:
------------------------------------------
exports.config =
{
domain: 'xxx.yyyyy.zz',
port: 53,
server_ip: '192.168.1.140',
server_port: 3128,
max_client_inactive_ms: 5 * 60 * 1000,
status_interval_ms: 3000
}
------------------------------------------
2. Proxy server: 192.168.1.140 (Kerio Control with no authorization)
3. Client: Android phone Asus Nexus 7 (firmware: Paranoid), Element53 Lite from google play
May be i should use another client from this link ?
Any suggestions will be appreciated.
speed_boy said:
Hello everyone.
Tried to roll-out this application in the test environment and has a problem.
Looks lite the tunnel is up normally but when i tried to open any page i see something like that (screenshot)
So the setup is:
1. Server for DNS: Windows XP SP3 ENG CORP, NODE.js (node-v0.10.20-x86.msi, config53.js, element53.js downloaded yesterday).
config53.js:
------------------------------------------
exports.config =
{
domain: 'xxx.yyyyy.zz',
port: 53,
server_ip: '192.168.1.140',
server_port: 3128,
max_client_inactive_ms: 5 * 60 * 1000,
status_interval_ms: 3000
}
------------------------------------------
2. Proxy server: 192.168.1.140 (Kerio Control with no authorization)
3. Client: Android phone Asus Nexus 7 (firmware: Paranoid), Element53 Lite from google play
May be i should use another client from this link ?
Any suggestions will be appreciated.
Click to expand...
Click to collapse
Hello,
Thanks for using Element53, do you get the same problems with my (default Element53) server? The other link is someone who merged Proxydroid and Element53 together. Your problem looks like something with the characterset.
Sander
Rednasman said:
Hello,
Thanks for using Element53, do you get the same problems with my (default Element53) server? The other link is someone who merged Proxydroid and Element53 together. Your problem looks like something with the characterset.
Sander
Click to expand...
Click to collapse
Okey.
Just tried your server.
I went to settings/apps/element53/clear data.
Then open element53 and pushed the button. Tunnel looks like has established.
But when i opened a browser (firefox and default one) it couldn't fine any page. The error was like "there was a network error".
See screenshot of some logs
speed_boy said:
Okey.
Just tried your server.
I went to settings/apps/element53/clear data.
Then open element53 and pushed the button. Tunnel looks like has established.
But when i opened a browser (firefox and default one) it couldn't fine any page. The error was like "there was a network error".
See screenshot of some logs
Click to expand...
Click to collapse
Hmm, that's weird. What are you configs for Proxydroid? Restarting the browser could solve the problem too.
Sander

Remote Desktop over internet ?

Hi everyone,
it might be a stupid question but I was wondering if the Remote Desktop app could be used to access my laptop via internet.
I know it works very well when the Surface and the laptop are connected to the same Wireless router but I would like to know if th same as possible, given the fact that the laptop and the Surface are connected to different (distant) wifi networks.
I searched for this but could not find a clear answer or "how to" to do it.
Thank you very much
You can do it, look up port forwarding for remote desktop. You need to setup your router to do it.. I think the default port for RD is 3389
Thank you very much
You will also have to know the public IP address of the router, do the port forwarding and it works fine. You can use DynDNS or one of the other services to keep the IP address updated. Or, you can use TeamViewer to do it without touching your router. You have to set up an account at TeamViewer, but everything is free and it works well.
drowe said:
You will also have to know the public IP address of the router, do the port forwarding and it works fine. You can use DynDNS or one of the other services to keep the IP address updated. Or, you can use TeamViewer to do it without touching your router. You have to set up an account at TeamViewer, but everything is free and it works well.
Click to expand...
Click to collapse
Well I will try both ways and see what is the most convenient, thank you for your answer
I remote in from outside networks and it works great. Now I just wish we could enable the setting to allow us to transfer files. Where it shows us the local hard drive on the remote computer and all we have to do is drag and drop.
Sent from my SCH-I535 using xda app-developers app
Can you not? Remote Desktop still supports this, at least the desktop version (haven't tried the "Metro" one).
Huzzah!
I'm actually using metro-app on a daily basis with no-ip (so i don't have to remember my own ip-adress all the time)
So all you need to do is:
1. Get your self an account at: http://www.noip.com/
2. Create a host and install client
3. Open port: 3389 on your router and point it to the right computer
4. Allow it in the firewall
5. Connect
There is ofc more steps if you want to be more specific, but I think you'll figure it out
I would have to say Team Viewer is by far the easiest solution.
Yeah +1 Teamviewer here..
Trig0r said:
Yeah +1 Teamviewer here..
Click to expand...
Click to collapse
++1 just tried this out, dead simple to use and no networking mojo needed.
Interesting you guys have chosen TeamViewer so clearly,....I've just tried it, and it will make due for now, but I need to copy and paste text from pdfs constantly and I noticed it to be extremely laggy by comparison (to RD). I'm guessing it's because it needs to download more data than the native client, but if there are any suggestions on speeding it up please post.
Remote Desktop/RemoteApp Problems
I have not been able to connect while out-of-network.
I've waisted several days of productivity trying to resolve this by myself, then on the phone with Microsoft, and some of them aren't even familiar with Surface RT. So with connecting to RD in-network is pretty easy and effective, hopefully some here can confirm that they have the same problems and/or offer possible solutions.
As I see it, there are 3 interfaces where we can connect to RD on the Surface RT: The the pre-installed desktop Remote Desktop found via swipe and search, the metro downloadable Remote Desktop, and RemoteApp via control panel).
I see where the computer is pinged and port 3389 is open, so I will state the problems I see with each when I try log into a Windows 8 Host computer:
1) pre-installed RD:
{
"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"
}
It's great and your computer name is there for you and ready while logged into your account and in-network. You have options like "Connect and don't warn me If server authentication fails" that I see helped out a lot of people on Windows Server with certificate issues.
Once out of network on Surface RT, however, you get "Remote Desktop can't find the computer ______. This might mean that "_____" does not belong to the specified network. Verify the computer name and domain that you are trying to connect to."
2) Metro UI:
It seems to ping the computer faster when you put :3389 at the end of your IP. However, no success after trying with and without the port ending. The messages I get are....
3)RemoteApp:
this is the solution I've seen in most tutorials,...but the reason given for not connecting is "The remote computer cannot be authenticated due to problems with its security certificate."
Instead of the option to bypass it (which option 1 gives you), there is no other option and it says "Windows cannot continue setting up this connection. Contact your workplace administrator for assistance."
This message caused me to learn more about certificates than I ever wanted to know. I've tried starting up MMC and making sure the cert listed in Remote Desktop was copied to the Trusted Root Certificate Authorites folders (both sides as local computer certificates). I've tried different combinations and haven't really gotten anywhere.
If anyone connects via #3, please post specs on your certificate if you can find it.
Any help on getting any of these methods to work is appreciated. It bares repeating that port 3389 is listed as open on my home network, traffic is forwarded to the correct PC, and all firewalls are disabled until I can resolve this.

[APP][4.0+] Icy Monitor - Monitor your PC from your Android device

{
"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"
}
Hello everyone!
Yesterday I released my first Android App called Icy Monitor, it helps you monitor your PC using your android device.
Features
Get graphs about your CPU (load, temperature, clock, power), GPU (load, clock, temperature, fan) and system (fans, temperature, voltages).
Customize graph colors to your liking.
Get information about each filesystem and each process running.
Save and monitor multiple computers effortlessly.
Clean, beautiful interface with tablet support.
The app is free, without advertisments and open source!
Downloads
Play Store
Windows Server
Github (for source)
Setup
Download the server application using the link above. Extract all files somewhere and run the application as administrator (otherwise, I am not allowed to read most sensors). An icon should appear at your system tray, right click it and select 'Open Firewall', this will open port 26822 which is used by the app (This only works with Window's Firewall, if you are using something else you must open port 26822 yourself). Now you can connect from the phone app by typing in your computer's IP address followed by ":26822". If you want to access the server through the Internet you will have to setup port forwarding, which is a different procedure for every router so I cannot help you.
If you don't know your IP, open a command line window and write "ipconfig". You should find your IPv4 address there.
More info
For more info, please visit my page or just ask here. Feel free to mail me at any time.
Thanks a lot for trying my app! Any feedback (positive/negative) is extremely appreciated!
Would love to use this with my Linux box
Sent from Cappy via Tapatalk 4 Beta
MDMonster said:
Would love to use this with my Linux box
Sent from Cappy via Tapatalk 4 Beta
Click to expand...
Click to collapse
Theoritically, the server could run on Linux with Mono but being a former Linux user I know Mono is not the best option. I am brainstorming this, I hope to be able to support Linux soon.
Thanks for the interest however!
Harmless little bump.
I followed all the instructions then tried setting it up on my device. I was a little confused why it refused to use a domain name. Nonetheless I entered my IP address. Now I get the error "Incompatible server version". Am I doing something wrong?
rpcob said:
I followed all the instructions then tried setting it up on my device. I was a little confused why it refused to use a domain name. Nonetheless I entered my IP address. Now I get the error "Incompatible server version". Am I doing something wrong?
Click to expand...
Click to collapse
There was no activity in this thread so I forgot to update the server download link. Try this version. Sorry for the trouble.
Also it SHOULD accept domain names, it worked with mine (looks like this: something.dyndns.info). Maybe it's a port forwarding issue?
sakisds said:
There was no activity in this thread so I forgot to update the server download link. Try this version. Sorry for the trouble.
Also it SHOULD accept domain names, it worked with mine (looks like this: something.dyndns.info). Maybe it's a port forwarding issue?
Click to expand...
Click to collapse
Everything works now, thanks! Once I installed the new server version I was able to connect via IP and domain. Before the domain said it couldnt connect and the IP said incompatible.
This is a very handy app for on the go.
rpcob said:
Everything works now, thanks! Once I installed the new server version I was able to connect via IP and domain. Before the domain said it couldnt connect and the IP said incompatible.
This is a very handy app for on the go.
Click to expand...
Click to collapse
Thanks a lot for trying it! More features are coming soon (like push notifications).
Network monitoring?
Will you be adding network traffic monitoring in the future?
foldedpaper said:
Will you be adding network traffic monitoring in the future?
Click to expand...
Click to collapse
Yes, I am currently working on push notifications, after that I will work on adding network traffic monitoring.
sakisds said:
Yes, I am currently working on push notifications, after that I will work on adding network traffic monitoring.
Click to expand...
Click to collapse
Great app, any roadmap regarding new features?
Sent from my C6903 using Tapatalk
Tillsats said:
Great app, any roadmap regarding new features?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
I am currently focusing on server-side features and bug fixes. Next version will include a better designed interface, disk space notifications and better error handling. Thing is, my phone's screen is currently broken so I am delaying this release until I can test it properly. Hopefully it will be ready next week.

[APP][5.0+/potentially 4.2+][ROOT] Network Ghost - MAC and hostname spoofer

Hello,
Before android 4.2, it was very easy to change the mac address on a rooted device. After 4.2, I found it very difficult to do so and also subsequently connect to a WPA secured network, receiving the error "WPA: 4-way handshake failed" in logcat. Pry-fi worked for a while, but stopped working on updating to lollipop and is no longer maintained. I also desired the ability to spoof my mac address when connecting to a network without having to swap out saved networks everytime the wifi turned on.
I figured out that the kernel accepts the new mac address into the networking drivers but wpa_supplicant stores the mac address in memory and is not updated when I issue the appropriate busybox command. Killing wpa_supplicant made wifi unusable until it was turned off and on again, which of course resets the kernel-based mac address. The solution I found was to turn wifi off completely, apply the mac address and turn wifi on again (svc wifi disable being more dramatic than a simple ifconfig wlan0 down). Some devices bring the entire network interface down when this happens however, so I also include a bit of code to inject the mac address just before wpa_supplicant starts up.
This app also lets you set a mac address to something of your choosing. It also supports being called through intents, allowing tasker/other app integration. It is also open-source, unlike most of the other apps I have seen recommended. It also reapplies the mac address every time wifi turns on (or randomises it every time wifi is switched off and on again if the option is set).
Screenshots:
{
"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"
}
Downloads:
Code:
https://github.com/moosd/NetworkGhost/releases/
Source code:
Code:
https://github.com/moosd/NetworkGhost
I have tested this on a Samsung Galaxy S4 running CyanogenMod 12.1. and a HTC One M7 and M9 Let me know if it works for you. It probably won't work on a lot of phones that lie about changing the mac address - please do confirm your mac address has changed manually (e.g. from your router admin panel or even from adb shell ip addr) to make sure it works!
So I hate to sound like an idiot, but in lamens, this allows me to be "random" on a WiFi connection?
ericc191 said:
So I hate to sound like an idiot, but in lamens, this allows me to be "random" on a WiFi connection?
Click to expand...
Click to collapse
If you set both the mac address and the hostname to random (by toggling the buttons that say "User-set"), every time you turn wifi off and on again you should appear as a new entity to a wifi network. (For example, hypothetically if the wifi network happens to limit free internet usage to say 15 minutes, you will obtain a further 15 minutes by hitting update or by re-enabling wifi from your settings)
However, your anonymity may still be affected by the internet traffic your device is sending - think of this as a first step
Thank you for explaining that! downloading
Just getting a force close with my S3, which runs Cyanogenmod 12.1 (Android 5.1)
Already pulled the apk?
Sent from my SM-G925T using XDA Forums Pro.
Draygon said:
Just getting a force close with my S3, which runs Cyanogenmod 12.1 (Android 5.1)
Click to expand...
Click to collapse
If you post the logcat output when this happens then I can try to investigate this for you
Critical Detox said:
Already pulled the apk?
Sent from my SM-G925T using XDA Forums Pro.
Click to expand...
Click to collapse
Nope, I have just updated the apk to do MAC Spoofing in a different way that should work on more devices. Let me know if it works!
Unfortunately it only force closes on my 5.1 phone. I get a random MAC every time. It would be great to spoof it, to get a 'fixed' MAC address.
Didn't work on my Moto E 2015 (XT1526) Anyways I attached the log file, hope it helps

Categories

Resources