[Q] Dealing with android HOTSPOT! - Java for Android App Development

Hello guys, actually I searched upto a limit but I couldn't find the solution to my problem.
It goes like, I want to have an android phone acting as Server device in a intra network and can broadcast the certain packets to its server phones
(2-3nos). I actually want to use WiFi for the intra network connection but I couldn't find the methods for it in android sdk.
Please help me with the methods I can use or some other ways to overcome this problem.
Thanks a lot in advance guys!!

Check out this project. Does what you want.
https://github.com/nickrussler/Android-Wifi-Hotspot-Manager-Class

Thanks EatHeat!!
Just a further query, can I use the normal broadcast method to actually broadcast the packets from server device to client device?

Related

WiFi Packet Capture

Greetings all,
I have searched around for an answer without success so I thought I would post here to see if anyone may be able to point me in the right direction.
I have a need to develop an app for my research project, that has the ability to inspect and display the header information from an IP packet, recieved through the 802.11 wireless interface a PDA device. Bascially, I want to examine any packet 'sensed' (for the lack of a better word) by the RF interface and view the header info.
I have searched for managed code examples on how to obtain packets from an Windows Mobile inbuilt library's but have not found anything...
I am also looking at the OpenNETCF.org framework for any leads on how to achieve this..( & without sucess as well at present...)
If anyone has been down this path or has any advice I would appreaciate
it.
Many thanks
Cheers
Are you looking for capturing network packets or actual 802.11 frames.
Network traffic is less useful considering most AP's are network switches, and therefor the only network packets coming to your device will be directed at you and/or broadcast traffic.
Wireless frame sniffers on the other hand have the ability to collect all wireless activity in the area. These are useful when trying to find an open channel to put you AP on, but it can also be used to sniff the traffic of other wireless users on your network. Keep in mind though, that encrypted frames will require some extra processing power to read.
In pc land, you can play with Omnipeek to get an idea of the power of a wireless frame sniffer.

Reliable VPN with Topaz

Hey everyone,
Recently I gained interrest in using a VPN...not for bussiness purposes..just because I can
If I understand the technical facts correctly,the diamond 2 has a build-in VPN capability and my router should allow VPN pass-through.
So far,so good.
But just because the devices CAN establish a VPN connection it doesn't mean the functions are designed user-friendly.
So I decided to ask you guys: What is the shortest way to establish a secure connection from my phone to my homeserver? Remote Access would be great,but at the moment I would be happy just using my MP3-Collection "on the road"
In theory I think I know what to do: Find the right VPN client for both server and phone,establish a connection and finally get Windows to share several folders..so the phone can access them.But...as I've said...in theory
There are about 5 Million VPN programs out there...some good,some not quite as good,some free,some REALLY expensive.
I figured ANYone should already have done what I wanna do.
I would really appreciate any kind of hint.
Oh,and if there are some glitches in my grammar or choice of words: Sorry...not a native english speaker

[Q] Any solution to keep IP from changing?

I know that this thread will probably be over in approximately 3 posts, but I figured this was the place to ask to get a good answer.
I am part of staff for a site that uses my IP to enable staff functions. These functions are set to the IP I'm on. However, it never works considering my IP constantly changes when I'm on the T-Mobile network, and I do not have access to wifi. Is there any possible way at all, to be able to make this work, either from my N1, or on my PC using my N1 as a 3G hotspot? I'm not all that knowledgeable about networking, but I'm thinking there has to be some possible way to make this work somehow. Maybe I'm wrong and it is one of the impossible things to do on a cell network.
Thanks for any help.
how often does it change ? is the running at home or the pc u are tethering with it ? are you using a 3g network service for a server
Every couple minutes at least. One minute it's for example, something like 208.54.27.50 and in a matter of 5 minutes the last two digits could be changed. I use the 3G hotspot at home and there's no difference from that and using the phone's browser itself. I do not use T-Mobile 3G to operate any servers.
If it is via your provider you have no control over it changing as they assign you a dynamic IP. If you were at home you could set it to a static local IP (Over WiFi) but outside your LAN on T-Mobile's WAN you have no control over DHCP
All I use for internet access on the go and at home is the 3G hotspot that I get from my phone. Would I need an actual Wifi connection from an ISP other than T-Mobile to set it to a static local IP?
looks like that just cant be done.. either ur site changes ur auth to id pw based one(atleast in ur case)
or ..
if its a job of just checking somthing, u can find a friend or family member with a 24/7 online pc(with a a static ip) and just do the job thru a remote desktop connection
All right guys. Thanks. Very much appreciate your thoughts and for not flaming me due to an obvious answer. Thank you again.

Unable to connect to college wi-fi, mobiles blocked

Hi guys,
Our college wi-fi has blocked Android, iPhone and Windows Phone users from connecting to the network. Laptops are able to connect fine. Upon noticing how they block devices, it turns out that they block the mac addresses, and they keep doing so even after changing mac address. Changing MAC address on a blocked laptop works, on mobiles, it doesn't.
What I understand is that the routers are blocking all mobile devices directly, is there any way I can change my android device to appear as a laptop? From all I've tried searching and understanding, with UPnP connections, this data about the device is trasmitted?
I would be very glad if anyone can help me out with this. Just for information, my mobile is a rooted Galaxy S Advance (i9070), and the routers are the Aruba 105s.
probably they identify devices by another method and not by mac.
write in google: "How knowing the device, carrier and connection" and you'll find the answers.
Mine problem is also the same but am using Windows phone.
So please suggest me something.
actually , in my university students with android phone are using psiphon app which bypass the browser login page (24online client) , when the university admins got to know this, they blocked android phones from connecting to router , later they blocked the software connecting to our ssid but they didnt blocked windows pc because our professors take attendance on their laptops , they need to connect inside online server to mark attendance and the windows mobiles are also connecting to router
my phone is moto g2 rooted , i tried changing the device name ,modified the p2p_suppli and wpa_suppli file in system\etc\wifi . but nothing worked , is there anyway for android mobiles to appear as windows pc , so that it will connect to router
please help
thanking in advance
Hack is the solution.
siddhulee said:
actually , in my university students with android phone are using psiphon app which bypass the browser login page (24online client) , when the university admins got to know this, they blocked android phones from connecting to router , later they blocked the software connecting to our ssid but they didnt blocked windows pc because our professors take attendance on their laptops , they need to connect inside online server to mark attendance and the windows mobiles are also connecting to router
my phone is moto g2 rooted , i tried changing the device name ,modified the p2p_suppli and wpa_suppli file in system\etc\wifi . but nothing worked , is there anyway for android mobiles to appear as windows pc , so that it will connect to router
please help
thanking in advance
Click to expand...
Click to collapse
ITM University,Gurgaon ?
RoshanRon said:
ITM University,Gurgaon ?
Click to expand...
Click to collapse
Yes, Correct! Any solution to this please? because its really annoying not being able to use the WiFi on phone.
not working
changing the host doest work. need to detect packet header info just sniff a single packet using wire shark and detect what info is travelling.
If any one want to work can mail me.
[email protected]
ICMP blocking
hello guys
As I came to know that there firewall is blocking the ICMP pinging request to the server that is handling the local request. so if some how we can mask the local IP and tunnel the network then we can easily use the internet without any rules applied with full bamdwidth .
You can mail me if any one wants to work on it.
[email protected]
Change your mac so it includes a different OUID
Sent from my LG-D855 using Tapatalk
joolli said:
Change your mac so it includes a different OUID
Sent from my LG-D855 using Tapatalk
Click to expand...
Click to collapse
MAC Address changes wont do much as stated previously
Bro my Asus ZenFone 2 is now rooted .
My problem is that . When i buy this phone before 9 months ago then i go to my college (KMC , Delhi University ) and surfing by colg wifi. But suddenly my wifi has been disconnected and from last 9 months this is not connecting. There is authentic problem show.(other wifi or colg wifi are easily connect) college wifi blocks me. Plz solve my problem. When i try to change my device name by emulator after rooting my android there show that "could not set property " . Plz solve bro

[Q] Route app through specific interface

Hello!
I have a bit of a weird situation here.
I have a WiFi router in a remote location that needs configuring (Linksys EA2750) as it lost its settings after a power outage. The person that could help me is technically challenged, but at least there is an Android phone there that I can access remotely. The phone is an un-rooted Nokia 5.1 Plus (still) running Android 9. This phone is connected both to the router via WiFi and to mobile data. I can remotely operate it via Team Viewer.
I have tried to use the router's official Android app, but it is unable to configure the router's WAN/Internet settings. I have tried to connect to the router's web admin page, but it is inaccesibile via the browsers (tried Chrome and Firefox). I have tried using a firewall app (Mobiwol and NoRoot Firewall) to limit the browsers to WiFi only without any luck.
The only thing that I think will work is to somehow force the browser to use the WiFi interface no matter what. I've already spent hours trying to find out how to do that, but I am kind of losing hope here. I am guessing that I might need root access to accomplish that, but I am hoping it will not come to that.
I would appreciate any help in making my friend's phone stay connected to Team Viewer's servers via mobile data and access the WiFi router's admin page simultaneously.
Thank you in advance!

Categories

Resources