[Q] Looking for app to save ip profiles - General Questions and Answers

Hello anyone know of an app that can save static ip profiles for the same ssid, for jellybean?
A complete profile manager would do too (one that controls sounds, and what not) just as long as I can specify a static ip profile for an ssid. Then be able to setup another profile for the same ssid using a different static ip.

bump, iv'e tried a ton of different apps but they wont save different profiles for same ssid.....
Most of them seem to be dhcp profile and a static profile. Allowing you to fast switch between the 2. I just need to setup up 2 static ip profiles for the same ssid. to fast switch static ip's when i need to.
Reasons being is I have a secondary router(in client mode, dhcp disabled) that passes through the main router ( like a switch ) which has dhcp enabled. Sure i can do the dhcp and static thing, but I hate having my ip change from time to time. I have apps that need static ip's that I use with the main router. and inside the main one I cant specify a static ip with dhcp on, and well I need dhcp running on that one. For other reasons. Sorry my setup is messed up but its how I need it.
Even if i could disable dhcp on teh main router and setup static ip for all my network devices, I still need an app to save 2 static ip's >,< for the same ssid. I may try to mod an app, but jesus thats a whole nother ball game.
He"double hockey sticks" I'll even take configuring advice at this point. Perhaps I can do something. But I'm pretty sure this is how I need it. If you need details just ask.
bother router have different isp connections. I frequently change between them both on numerous devices. It's a pain to keep chnaging ips around...

Any updates on this?
I am also interested for an app like this!

Related

Problem with getting DHCP lease from dnsmasq

I originally posted this in the Nexus One Forum... But recently bought my wife the Hero, and discovered the problem is also with that... So thinking now the problem is more general and Android related......
I have a weird problem.... My home network uses dnsmasq to provide DNS/dhcp. When i try to connect my phone via wifi, i get associated ok... also get IP+GW... BUT no DNS servers(!?). My previous phones (HTC Touch HD and Kaiser) never had this problem.
If i setup static IP, then all works ok.... So far i only have seen this problem at home, hence i believe it is dnsmasq related.
So... just wondering if anyone has come across a similar issue... or any ideas on how i can diagnose this. Haven't really done much diagnosing on Android yet, was hoping for a a few pointers.... Like how does Android handle DHCP... i am guessing it doesn't use the typical dhcpcd client
Thanks
Update:
Well after looking at this closely, discovered the problem is not with DNS entries, but setting the default GW. The thing is that dhcpcd sees the default gw and via hooks script in /system/etc/dhcpcd/dhcpcd-hooks runs setprop.
Also looking at logcat i can see that it picks up the right default gw but still isn't setting it:
V/WifiStateTracker( 106): IP configuration: ipaddr 192.168.1.74 gateway 192.168.1.254 netmask 255.255.255.0 dns1 192.168.1.3 dns2 192.168.1.254 DHCP server 192.168.1.3 lease 86400 seconds
but no default gw is listed when i run 'ip route show'... The other crazy thing is, that my dhcp server sends extra static routes, and these show fine... even work as expected.
If i manually add the route it works fine.... Well... i am a Linux admin but my first real attempt at working on Android, so still learning my way around... I am guessing setprop is used my Android to set the route (and other settings) but haven't figured out why it has failed. Will look some more, any help would be appreciated.
Well i finally got it working.... Posting here so that it might help others.
Basically the additional static routes were causing the problem. As i mentioned before, they were being added but no default GW. I removed the static routes from my dnsmasq config and hey presto the default gw was added.
Since i need these static routes for other boxes on my network, leaving left out was not really an option. So as a "band aid fix it" i added the default gw to the static routes list... So the line in dnsmasq looks like:
dhcp-option=121,<network>,<route>,0/0,192.168.1.254
This works.. but i don't really like it.
It seems that the static routes take precedence over the default gateway. I am not sure if this is a general problem or dnsmasq specific... Would be very suprised if it was dnsmasq only. Will open a bugreport and see what devs have to say
Hi,
we had the same problem with windows server 2008 and all android phones.
Make sure you have the static routes you want but also add a static route for 0.0.0.0/0 in your dhcp server. This way your android will work again.
good luck
yasn77 said:
Well i finally got it working.... Posting here so that it might help others.
Basically the additional static routes were causing the problem. As i mentioned before, they were being added but no default GW. I removed the static routes from my dnsmasq config and hey presto the default gw was added.
Since i need these static routes for other boxes on my network, leaving left out was not really an option. So as a "band aid fix it" i added the default gw to the static routes list... So the line in dnsmasq looks like:
dhcp-option=121,<network>,<route>,0/0,192.168.1.254
This works.. but i don't really like it.
It seems that the static routes take precedence over the default gateway. I am not sure if this is a general problem or dnsmasq specific... Would be very suprised if it was dnsmasq only. Will open a bugreport and see what devs have to say
Click to expand...
Click to collapse
This problem was driving me nuts also. Turns out that dhcpcd is just following the spec (RFC3442)!
The problem is masked on some Androids because something else (probably a hook script) is reading option 3 ("router") and setting the default route. In fact, in this situation, option 3 will override the 0.0.0.0/0 route in option 121, which is a direct violation of RFC3442 (which states that the Router option MUST be ignored in the presence of the Classless Static Routes option).

Captivate Wifi/3G data issue

Has anyone had a problem with the Captivate when in both WIFI and 3G coverage the phone will not download or open a webpage? If I shut off one or the other it works but if both are active it hangs up and doesnt download.
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
jhannaman82 said:
Is this by chance on an enterprise wifi access point? Such as one of those expensive cisco APs you find in schools and enterprise class networks? If so, there is currently a driver problem with the captivate connecting to it, but not trasnfering data. Whether the netwrok is encrypted or open doesnt seems to matter. Personally, I find this a bigger problem than the GPS issue. I had to use wifi static to manually set IP, subnet, etc. This is a workaround, not a fix.
Click to expand...
Click to collapse
Hey, I think I'm running into this issue at my workplace (we definitely use those Cisco APs, I see them all around). I'm connected, I have an IP, but I can't browse anywhere.
Here's the weird thing though: I can connect to the company's wifi in any other building (I guess different APs?) than the one I'm in and wifi works fine. It's just the building my cubicle's in that doesn't work and it's infuriating!
well thats dumb.
I had that happen once since I bought the phone on launch. I restarted my phone and it went away.
I've had this problem as well, usually my phone switches to only wifi pretty quickly though, so I don't notice much. The phone acts like it is using the 3G connection because the arrows are both indicating data coming and going, but nothing actually happens unless only one or the other is on.
i need to check this at more places but at home i have a standard dlink dl-624 router with no security over comcast. i think my issue initially was because of the wifi sleep policy (see below) but now i am just getting really really slow speeds. pages seem to load slower than 3G....(i mean really cinemaxHD is showing last of the mohicans in pan and scan)....also the pages time out very very frequently.....
Anyone having problems check out the advanced setting for wifi. The phone has a WIFI sleep policy. my default setting was to disconnect from wifi after the screen locks. my screen locks after 30 seconds. so basically it always looking for my network. you can change it to never.
I want to reiterate our findings again. There are multiple threads on other forums concerning this as well. When it comes to wifi, the captivate has a major problem. DHCP does not work on enterprise networks. Period. It is a driver issue. The network can be open or using any form of encryption, the results are thr same. I had numerous software, hardware and network analyst tackling this issue all week in my department. It is related in part to most enterprise networks not using a default subnet mask of 255.255.255.0. There is a workaround, but it is not a fix. You can either set a static from your static pool of ip's in wifi settings, or, if u connect to multiple networks, use wifi static from the market to remember and apply seperate static configs accross multiple networks which is what were having to do currently. This affects all captivates, one which we consider a major problem with deploying this phone to our other users.
Sent from my SAMSUNG-SGH-I897 using XDA App
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
floppy__ said:
I had the same problem and this is how a turn around the problem when I'm connected but cannot browse.
-Use Wifi Static
- DNS from google 8.8.8.8,8.8.4.4
- switch to airplane mode
- activate wifi
- test my conection (open the browser and surf)
- switch to phone mode
Hope it help
Click to expand...
Click to collapse
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
jhannaman82 said:
Did this, Wifi Static was being used previously to bypass dhcp, and it correctly assigned the IP settings, used the static I assigned from our static pool of addresses. Still no data transfer over Cisco APs at work.
Click to expand...
Click to collapse
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
floppy__ said:
are you able to access a website thru his IP address? in this case it's a DNS problem, try the Google DNS 8.8.8.8 - 8.8.4.4
Click to expand...
Click to collapse
Its hit or miss really, seems the wifi radio stack locks up and stops responding according to our trace logs. yes i have tried both our internal DNS server's as well as googles. Everywhere else works perfectly. But at work with our Cisco open (no security) APs, it doesnt work most of the time. Through whos ip address??? I have a static set from our static pool to make sure dhcp was not the culprit. Its def the device, and not my netwrok. I have over 100 of these APs deployed here.
Wifi works great everywhere else (at home with WPA2, etc). There is def a problem with enterprise cisco APs.
Netmask issue and cisco AP's
Posted this over in development thread.
http://forum.xda-developers.com/showpost.php?p=7698066&postcount=410
Make sure your netmask is correct.
Thanks jhannaman82
I just wanted to give a big thanks to jhannaman82 for posting his company's findings with these wifi issues. My wifi works 100% at home on my linksys tomato router (of course, with a netmask 255.255.255.0). But on my college campus they use an enterprise router setup with 255.255.0.0 and I have been going NUTS trying to figure out if it is my captivate or the network.
I can sometimes get a few minutes of working connection, but it always seems to crap out within 1 or 2 minutes.
I will attempt to fiddle around with switching the dhcp to static IP, and will post my results. Thanks!
edit: no luck with static IP fiddling so far. from my laptop (connected wirelessly), I gathered that the netmask is actually 255.255.248.0... when I set my captivate's netmask to anything other than 255.255.0.0, it does not connect. It says "connected" when I set the netmask to 255.255.0.0, but as usual no data will transfer (it seems). I'm at a loss. *shrug* Hopefully there's a driver update or something.
Thanks jhannaman82!
I just wrote a script with the GScript app: "ifconfig eth0 netmask 255.255.255.0", and have a shortcut on homescreen. The problem was that the netmask was wrongly set to 255.255.0.0 on my office wifi. Now all I need to do is tap on this shortcut at office, and the connection works!
Has anyone contacted Samsung about this ?
I'm hoping this gets fixed soon... This refuses to stay connected at my school. Huge pain.
I entered in an IP address and 255.255.252.0 for my netmask after seeing what it was on my computer and turn on flight mode and tested the wifi and now it's working. I'm not sure if it's just one of those fluke connections that I get... but we'll see.

[Q] Bypassing Apt Complex WiFi Splash Page

Hello all,
I've recently moved to an apartment complex with very good community wifi. However, upon connecting to the wifi, I am redirected to a splash page where I input my apartment username/password. This is okay for my PC and android devices but not so good for my PS3, dvd player, and Google Chromecast. I've been looking for a way to bypass this splash page. I have a Linksys E1500 with DD-WRT installed that I think will be helpful in this endeavor. I've found a couple of options online such as:
1) Connect to wifi on PC, then connect PC to router, and activate internet connection sharing -> I tried this but it wasn't working. I wasn't sure what mode my router should be in (AP, client, bridge?) or what local connection to set it to; The instructions weren't clear. Also, I would like to have my own private network fed from the public network.
2) Use router as repeater -> I tried this as well but it didn't really work. I could get Google home page to load but then everything else would say "SSL connection error". I wasn't sure what to do at that point. Instructions were:
"Hard reset the router, then configure the router to 192.168.2.1 and mask 255.255.255.0. Next go to status/wireless and find the AP you want...and click join. When the screen changes to the wireless page, change the dropdown to 'repeater', add virtual interface with new SSID, hit save. Go to Security tab and uncheck everything under Block WAN, save, apply changes. Power cycle then go to basic router setup, assign WAN port to switch, enter opendns for your static DNS as follows
static dns 1 208.67.222.222
static dns 2 208.67.220.220
Then in services tab for dnsmasq put this line:
strict-order
hit save, apply settings again."
3) Use router with DD-WRT to create a tunnel through openVPN -> I didn't know how to configure this and couldn't find instructions.
4) Buy a travel router -> I want to save money so I would like to avoid this option if I can... People claim it works for their hotel splash pages but I don't know if it'll work with mine.
I might have done something wrong during my setup procedures; I can't say for sure. I would gladly try again if someone wants to walk me through the process/troubleshoot. My overall goal is to get my own network set up from the community network without having to deal with the splash page. I hope this is possible. If anyone knows another method I could try, let me know.
My apt complex specs are:
SSID: apartmentcomplex
Security type: none
IPv4: 192.168.1.156
Default Gateway: 192.168.1.1
DHCP Server: 192.168.1.1
Subnet Mask: 255.255.255.0
Splash page is: 192.168.1.1:8000
I appreciate the help.

Static IP, Manual DNS for WiFi?

Is it possible to configure the Gear S2's WiFi functionality to work on a non-DHCP wireless network? I have a Classic on order, and hope to be able to use it in a secure environment which requires manual configuration of a connecting device's IP address, gateway, and DNS settings. I'd also need to find the watch's wireless MAC address due to router whitelisting. From what I can tell the watch gets its initial wireless settings from the tethered phone, but it would still need its own static IP in this case.
Tekkie3 said:
Is it possible to configure the Gear S2's WiFi functionality to work on a non-DHCP wireless network? I have a Classic on order, and hope to be able to use it in a secure environment which requires manual configuration of a connecting device's IP address, gateway, and DNS settings. I'd also need to find the watch's wireless MAC address due to router whitelisting. From what I can tell the watch gets its initial wireless settings from the tethered phone, but it would still need its own static IP in this case.
Click to expand...
Click to collapse
I have the same problem, I need to configure my IP address manually. Did you find a solution?
astepunk said:
I have the same problem, I need to configure my IP address manually. Did you find a solution?
Click to expand...
Click to collapse
Yes I did. If you tell the watch to forget the initial WiFi network it sees (but tries to use DHCP with) and scan for others, you will then have the ability to specify static IP, gateway, and DNS values by tapping on the name. If already connected to the phone via Bluetooth, you may need to temporarily disable Bluetooth in order to fall back to WiFi in order to configure it. You can also look up the watch's MAC address under Gear info, About device.
Tekkie3 said:
Yes I did. If you tell the watch to forget the initial WiFi network it sees (but tries to use DHCP with) and scan for others, you will then have the ability to specify static IP, gateway, and DNS values by tapping on the name. If already connected to the phone via Bluetooth, you may need to temporarily disable Bluetooth in order to fall back to WiFi in order to configure it. You can also look up the watch's MAC address under Gear info, About device.
Click to expand...
Click to collapse
Thank you very much. It worked perfectly!

Problem with Wi-Fi on a MESH system

Hello everyone
I just installed a MESH system - Tenda MW6 (two nodes connected to the main router, dhcp is on the main router).
I'm having a problem with the LG v30 running stock 9.0
The phone connects fine to the wifi network, but 90% or the time there's no internet access, when all other devices are working fine.
Is there anything I can do to make it run properly?
Thanks
Sent from my LG-H930 using Tapatalk
UPDATE
it turns out that this happens only when u turn on the secondary node. If only the main node works, everything is fine
It seems that the phone keeps changing connection to the nodes causing this.
Any idea about a possible solution?
I'm still suffering from this issue
Any ideas maybe?
KamaL said:
I'm still suffering from this issue
Any ideas maybe?
Click to expand...
Click to collapse
Have you set the mesh network up properly??
You don't want to have them set to DHCP.. That is just foolish (not insulting you).
Allow me to explain it as simply as I can..
You don't want to have the access points set to dhcp whilst connected to your router or you'll run in to "double NATing" conflicts..
Give each of your mesh devices static IP if possible, and set the default gateway of your second node to the routers address (example: router IP 192.168.1.1 <---- that IP address will be set as the default gateway on your second node.
I assume you aren't bouncing both nodes off of one another right?? You should simply have both nodes set up as individual Access Points..
So like. Router-node1-router-node2.. And not router-node1-node2..
Hopefully that made sense. let me know how you go
****edit****: sorry I should have asked this first... Which pack do you have? 3pack or 5 pack?? And was your MAIN router one of the 3 Mesh Nodes?? Sorry about that. Once you provide that info. I can help you with your problem fairly easily
TheTecXpert said:
Have you set the mesh network up properly??
You don't want to have them set to DHCP.. That is just foolish (not insulting you).
Allow me to explain it as simply as I can..
You don't want to have the access points set to dhcp whilst connected to your router or you'll run in to "double NATing" conflicts..
Give each of your mesh devices static IP if possible, and set the default gateway of your second node to the routers address (example: router IP 192.168.1.1 <---- that IP address will be set as the default gateway on your second node.
I assume you aren't bouncing both nodes off of one another right?? You should simply have both nodes set up as individual Access Points..
So like. Router-node1-router-node2.. And not router-node1-node2..
Hopefully that made sense. let me know how you go
****edit****: sorry I should have asked this first... Which pack do you have? 3pack or 5 pack?? And was your MAIN router one of the 3 Mesh Nodes?? Sorry about that. Once you provide that info. I can help you with your problem fairly easily
Click to expand...
Click to collapse
The dhcp server is still on my main router and modem, I preferred that because the Tenda mw6 limited security settings. The Tenda are set as Bridge mode.
One node is connected with ethernet cable to the main router, and the second node is set in another room.
Does that answer the question?
KamaL said:
The dhcp server is still on my main router and modem, I preferred that because the Tenda mw6 limited security settings. The Tenda are set as Bridge mode.
One node is connected with ethernet cable to the main router, and the second node is set in another room.
Does that answer the question?
Click to expand...
Click to collapse
Yep..
Now.. Have you changed any any SSID settings?? One thing I want you to try is to hard reset the node that you're having the problem connecting to the internet with.. I assume you're using the APP to configure your network yes?

Categories

Resources