[Q] Android routing problem - Android Q&A, Help & Troubleshooting

Hi all!
I'm currently upgrading my home network router from a windows server to a OpenWRT one.
I've set DHCP leases from range 192.168.128.50 - 192.168.128.150 and set a static IP for my phone to 192.168.128.20
My phone is a Galaxy S3 LTE (I9305) with the stock android 4.1.2 installed and is rooted.
My OpenWRT router is giving me some problems with android/iOS phones, as a result, the only way to be able to use my wifi is to set a static IP in to my mobile. Which I prefer not to (because I want everybody, who I give my password to, to be able to go online without further setting changes.)
From what I'm able to see with LanDroid, the only thing that changes is a little thing in the 'router' part of my connection. As visible in the attached image(s).
Does anybody know WHY I have to set the static IP into my telephone? I've heard about the DNS option 121 & on my windows server I had to set option 119...,
Feel free to ask more information if I ain't clear enough.

Anybody, please?? :s

Still having the same problem and I really would love to get some help from you guys...!

fixed it myself
Hi all,... thanks for your support.....,
I've noticed my broadcast address was wrong. I've also installed raspbian instead of openwrt.
Then I followed this tutorial: http://imranasghar.blogspot.nl/2009/09/how-to-make-ubuntudebian-as-router.html ,, made some small ajustments. And it worked!

Related

Where to set "Use static IP" ?

Where to set "Use static IP" with Samsung Galaxy Tab 10.1 that comes with Android 3?
I believe older android devices had that option in settings->Wifi Settings->advance->Checkbox for "Use Static IP". I no more see it with Android 3 in Samsung Galaxy Tab 10.1. Can someone help?
Thanks!
i was wondering about this too. Can't find it anywhere.
i just cancelled the password of the AP,tried connecting again,then i saw the option of setting static IP.
it's not the best solution though...
How about VPN setup support? I use one of the VPN services to access the likes of HULU or BBC. Will I be able to do it on Android 3.x?
galtom said:
How about VPN setup support? I use one of the VPN services to access the likes of HULU or BBC. Will I be able to do it on Android 3.x?
Click to expand...
Click to collapse
Yes, the usual VPN settings section is there, with the same options as on my Nexus One:
PPTP
L2TP
L2TP/IPSec PSK
L2TP/IPSec CRT
Will I be forced to enter VPN password every time I want to connect or will "it" remember?
Hi to you all. I picked up the tab 10.1 today and I need to allocate a static address to this device. iAndroidFan posted a workaround of some kind but I can't replicate it. Can someone possibly post a step by step instruction to perform this simple(?) task.
thanks in advance
Rob
maybe this will help(?): http://www.xoomforums.com/forum/mot...help/5382-how-manually-assign-ip-address.html
HTH
PS: I don't own an android device yet, just googled...
Go to Wifi setting and where you connected to the address. Press and hold your network...modify and choose satatic ip
Sent from my HTC Flyer P512
Galaxy tab 10.1 static IP
Getting closer! Thanks to the previous 2 posters. I can now access the menu and change IP to static, set DNS etc but I can't save these changes. When I hit <save> it simply reverts to DHCP.
What am I doing wrong here?
regards
Rob
It sounds to me like you're hitting a bug...
maybe someone with the same device/release can perform a similar test
Setting a static IP...Galaxy Tab 10.1 (P7510UEKF3)...Android 3.1 Kernel 2.6.36.3..
Try going to Settings\Wi Fi Settings\, wait util you network shows up, long press it until you get a new option to Modify Config (be patient)...scroll down (this is what got me banging my head for two days) ans change settings to static
or Google Xoom forums and in that search for 5382 :how to manually assign ip address)
rloc said:
Getting closer! Thanks to the previous 2 posters. I can now access the menu and change IP to static, set DNS etc but I can't save these changes. When I hit <save> it simply reverts to DHCP.
What am I doing wrong here?
regards
Rob
Click to expand...
Click to collapse
Did you ever get a response to this or ever figure it out?! I am having major issues with intermittent wifi connection in my house. It doesn't seem to affect the tablet elsewhere. (Though, I've only had this tablet for 3 days!)
it is extremely frustrating to have this intermittent connection problem with wifi.
Thank you.
Is there a way I can set a static IP address for mobile data? Not just wifi

[Q] OpenVPN Routing Problem

Hello
I have installed OpenVPN and its logging on to the vpn and is visible on the network list BUT I dont get any connection to another client in the vpn. I tried to ping another client from my SGS2 and from a client to the SGS2 but its always a timeout. I tried it with the phone and serveral wireless networks.
So I think it could be a routing issue but I dont have a clue how to see if thats really the problem and if its true how to fix it. I read some other posts and maybe it could also be a tun.ko problem but the SGS2 with 2.3.3 should already have installed it on the software, so I'm not sure how to see if thats ok. The Busybox is installed at /system/xbin. So does anybody have an idea how to find out whats actually the problem and how to fix this?
Thanks for your help!
Manolo
It's not clear to me if you tried connecting through your mobile data plan. Did you also tried that?
What is the IP that you are getting when your are connected to the VPN?
If it something like 192.168.1.* Then that's could be your problem. If the WIFI your are on, also gives you an ip adress as 192.168.1.* then that causes the problem. Either change the ip range of your network to 192.168.10* (just an example) or the ip range of you VPN.
ps can you post your VPN server settings?
Do you mean my own ip or the ip that i have in the vpn?
my own edge telekom ip is 10.219.127.35 and my internal vpn ip is 10.10.0.22
I can't post my vpn server settings because i got some key files for the vpn.
If you have installed installed this .zip
http://forum.xda-developers.com/showthread.php?p=16182571#post16182571
Then all you need to do is download openvpn settings from the market. And run in.
If you already did these steps, then the problem lies probably with your server and I need the server config. I don't need the keys of course
Thx!
How does this update work? I see no instructions on the post. Is it just to copy on the root folder?
Ah yes... I found how it goes and its working perfectly!
Thx a lot!

SOLVED! [Q] Static IP Setting?

maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP. Network has 9 pcs/laptops, 6 phones, 3 VOiP, and 2 IPTV Devices. I was trying to get it on the network during initial setup and failed. googled and found a way to skip oobe. still didnt help me
TIA
m0000 said:
maybe i'm stupid and cant find the setting but how is it possible this device does not have a static IP/dns setting? is there a way to set it up after rooting the device? i just got my NT today and this is a HUGE setback for me since my network is restricted to static IPs not DHCP.
TIA
Click to expand...
Click to collapse
Not that I know of. Setting a static IP means that the device will only work on that WiFi network and no other (unless it uses the same IP range and mask, AND you guarantee that your static IP will not duplicate another on other networks).
Now, you may be able to guarantee this, but I think you can see that the average consumer (many Nook owners are not computer savvy, let alone network savvy) can get into trouble with a capability like this.
Further, every WiFi router I've seen, has the capability of assigning a specific DHCP IP address to a specific device, based on the MAC address. I would be very surprised if your network can't be easily configured to do the same.
The feature DeanGibson mentioned is called "DHCP reservation" on most current routers, or "static DHCP" for DD-WRT. AFAIK, older routers may not have that feature. I don't recall it for old Netgear and Linksys firmwares, may be others.
If yours don't, suggest upgrading to a new router. Abovesaid feature has most of the benefits of static IP (eg port-forwarding) but without the client-side setup hassle.
so the simple answer is no lol
pretty much sol at this point.. means i will have to reconfig yrs of work
i still think it sad that this device doesn't allow mean to set my own ip.
thanks to the both of you for your input.
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
THANK YOU!
e.mote said:
Try either of these apps and see if they work for you.
Wifi Static
https://market.android.com/details?id=com.farproc.wifi.statIc
IP Manager
https://market.android.com/details?id=com.monkelabs.ipmanager
Click to expand...
Click to collapse
purrrrrrrfect
Wifi Static was zactly what i was looking for! THANK YOU!

[Xperia S] WiFi loosing default route since ICS upgrade

Sorry to bother you with this, but I could not find anything remotely similar discussed anywhere.
My Sony Xperia S sometimes loses the default route for internet access.
The symptoms are:
- I can access all the local computers on the network just fine
- external web sites do not work
What I see when checking on the command line via "ip route" is
Code:
192.168.0.1 dev wlan0 scope link
Luckily my phone is rooted so I can just "su" and then
Code:
ip route add default via 192.168.0.1 dev wlan0
Afterwards, the internet access is working again for some time.
WiFI settings are set to a static IP address 192.168.0.11 with the default gateway configured to 192.168.0.1.
Why is the device losing the default route?
How can I prevent this?
Is there a file somewhere that needs to be changed for the route to persist?
I did not have this problem with Gingerbread. It started after upgrading to ICS.
Laptops work fine on the same WiFi network and do not lose internet access.
<Princess Leia voice>Please, XDAdevelopers, you are my last hope.</Princess Leia voice>
I'm having the same issue with my S after rooting/updating to ICE WIFI is still connected and LAN works ok, but no internet access turning WIFI on and off is the only way i can get it working
hope the is a fix
Sounds similar to an issue I was having as well. Actually, I was having it prior to the ICS update as well, i.e. with GB.
The only way I found to reliably get internet access on my SXS was to reconfigure my router to use DHCP, which was somewhat annoying. Had to reconfigure all my network nodes as well, of course, which were using static IPs.
Static IP had never been an issue with my old HTC Desire running GB (and earlier versions) or my ASUS Transformer with Honeycomb and ICS. Definitely seems to be SXS-specific.
I do not want to work through the hassle of changing the settings in my more than 20 devices on the network just to get this one working reliably.
Is there no other way than to switch on DHCP?
I tried DHCP and it didn't work for me.
and just because use run DHCP doesn't mean you would have to change all you devices, you can leave then as static.
I've been having the same issue on mine - did it occasionally on Gingerbread but has been noticeably worse on ICS - turning WiFi off then on again cures it 60% of the time, three off/on combos sorts it's 95% of the time
I noticed this week while visiting my parents that it worked first time every time, of course this is a DHCP setup!
I'll be setting my home router to give a fixed IP to my phone tonight - but that doesn't help at work where I need to override the DNS settings (don't care if the IP is dynamic or not - just need to use different DNS servers*!).
* And yup I have permission to do so - Facebook and a few others are crudely blocked using DNS, but authorised people are allowed access (basically so we can delete nasty posts) and this is over-ridden using static IP - gets annoying that Facebook trashes my authorisation when it falls in this blackhole.

Android Mini-PC - help me please !!

Greetings to you all !
Recently i bought an Acer Iconia A1-810 (wich i rooted second two) and a Android Mini-PC QuadCore S400 (Cozyswan). The reason i bought the MiniPC is that i need some small computer as a web-server in my car to provide me two things:
- offline large and detailed maps (very usefull when offroading)
- media server when camping
Now...the MINI-PC must be a server, with an fixed IP address (192.168.1.200 let's say). It also must be some kind of on wi-fi hotspot, for the multimedia server purpose, but has to keep same fixed IP (as gateway) - but i cannot manage to configure it. Also, cannot find an web-server that has "auto-start" feature.
Please note that when offroad, i dont have any kind of internet connection.
So....how can i make that MiniPC to serve those purposes:
a. file server, wich must have "auto-start" feature with a static IP address ?
b. to behave like an wi-fi router
c. if it is possible to manually assign an IP address to the MiniPC, is there any software that can provide me some sort of "remote desktop connection" to the MiniPC ??
Sorry for my poor English and thank you for your input
Chris.

Categories

Resources