[Q] Change ip ? - T-Mobile Samsung Galaxy S II SGH-T989

cant find a way to change my ip address (wifi)
when you use a repeater that connects to your gateway, you cant connect through the default ip. I need to assign one
any way?
Using AOKP jb

Are you sure you've got your wifi network configured properly? Ive got a similar setup (main router upstairs that hands out IP addys, another router acting as repeater downstairs that I connect to) and I dont have any issues...

blackangst said:
Are you sure you've got your wifi network configured properly? Ive got a similar setup (main router upstairs that hands out IP addys, another router acting as repeater downstairs that I connect to) and I dont have any issues...
Click to expand...
Click to collapse
Well mine is the modem connected to a switch. An access point connectec to that and a repeater afterwards xD so yeah the ip address that the windows/android generates cannot connect to the gateway
There.might be a way to optimize this but am also curious about changing the ip address of my phone
Sent from my SGH-T989 using XDA Premium HD app

nabilbek said:
Well mine is the modem connected to a switch. An access point connectec to that and a repeater afterwards xD so yeah the ip address that the windows/android generates cannot connect to the gateway
There.might be a way to optimize this but am also curious about changing the ip address of my phone
Sent from my SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Your modem is the DHCP server, so that is what should be assigning an IP, not windows or andriod. If you cant hit your gateway (which should be your modem BTW), changing your IP wont fix your issue. Youve got a disconnect somewhere.
That said, first you need the subnet of your DHCP pool. Something like 192.168.1.100-200. That info is in your router/modem. Then, just manually change the IP of your phone to an IP in that subnet.

blackangst said:
Your modem is the DHCP server, so that is what should be assigning an IP, not windows or andriod. If you cant hit your gateway (which should be your modem BTW), changing your IP wont fix your issue. Youve got a disconnect somewhere.
Click to expand...
Click to collapse
You are absolutely right. but I can hit my gateway. I mostly have a problem with the dhcp assigning wrong IPs and I still cant sort it out. But am assigning the clients manually to different IP in my subnet and everything works fine
That said, first you need the subnet of your DHCP pool. Something like 192.168.1.100-200. That info is in your router/modem. Then, just manually change the IP of your phone to an IP in that subnet.[/QUOTE]
THIS !! exactly xD how?

nabilbek said:
You are absolutely right. but I can hit my gateway. I mostly have a problem with the dhcp assigning wrong IPs and I still cant sort it out. But am assigning the clients manually to different IP in my subnet and everything works fine
That said, first you need the subnet of your DHCP pool. Something like 192.168.1.100-200. That info is in your router/modem. Then, just manually change the IP of your phone to an IP in that subnet.
Click to expand...
Click to collapse
THIS !! exactly xD how?[/QUOTE]
I would suspect that the repeater is handing out IP's as well. I believe what you are looking for is a repeater bridge which would connects wireless a to wireless a but b doesn't do any routing just passes it along to a. Here's a picture.
http://www.dd-wrt.com/wiki/index.php/Image:Repeater_Bridge.jpg

jrosetto said:
THIS !! exactly xD how?
Click to expand...
Click to collapse
I would suspect that the repeater is handing out IP's as well. I believe what you are looking for is a repeater bridge which would connects wireless a to wireless a but b doesn't do any routing just passes it along to a. Here's a picture.
http://www.dd-wrt.com/wiki/index.php/Image:Repeater_Bridge.jpg[/QUOTE]
Thanks jrosetto you saved me posting the same link
Sent from my SGH-T989 using xda app-developers app

Reserve a IP on your first router
Sent from my LG-LS855 using xda app-developers app

what I cant understand is, after I made adjustments. Any pc connects normally with an appropriate IP (DHCP)
Just my phone (havent tried another), although he gets a correct IP and connects but I never get access to the internet.

Bump !!
a sad one

long press the wifi SSID and modify ... glad I got all the help here -_-

Related

[Q] Change device id for wifi?

My wife and I both have evo's. When at home on wifi my netgear wgr614v7 router seems to have issues connecting both properly. It seems to be a device name problem. Both phones have the same name, different mac addresses but the router us giving them both the same ip address. I have setup static routes to each phone, which helps get different ip's, but I'm still having connection problems with one phone when both are being used.
Is there a way to change the name that my evo broadcasts to my router?
Hers is stock and I am using Fresh's rom.
travlincablguy said:
I have setup static routes to each phone, which helps get different ip's
Click to expand...
Click to collapse
They will anyway get different IP's (I'm talking about private IP 192.168.*.*), for device id maybe someone can edit that in .wireless tether .apk for you because as far I can see that part is kind of integrated and hidden inside.
I am not using the tether function. The static route I setup ensures that every time my evo with it's mac address ending in :d2 always gets 192.168.0.6, Heather's phone is always .3.
Thanks for your input, but I don't think you understood what I was asking.
travlincablguy said:
My wife and I both have evo's. When at home on wifi my netgear wgr614v7 router seems to have issues connecting both properly. It seems to be a device name problem. Both phones have the same name, different mac addresses but the router us giving them both the same ip address. I have setup static routes to each phone, which helps get different ip's, but I'm still having connection problems with one phone when both are being used.
Is there a way to change the name that my evo broadcasts to my router?
Hers is stock and I am using Fresh's rom.
Click to expand...
Click to collapse
I'm thinking you could change the device name in the build.prop in the system folder.
Ahhah, thank you sir, I will look into that.
Edit: after looking threw build.prop I could not find the device id. Which is a bummer. I finally talked my wife out of her iphone and she is now a bit pissy about not being able to use the internet at the same time. No 3 or 4g service at the house either. We have to use an airrave to talk on the phone.
What's the device name in your router?
Also, FWIW, your router shouldn't have any problems with two different MAC addresses connecting. DHCP ID is irrelevant. It sounds more like your problem is a bad router, you're on the edge of its range, or there's something deeper wrong (ie, some other piece of network hardware). As far as I know, you can't change the DHCP Client ID on the phone. It's always been android_(sting of letters/numbers) for me, and it correlates with the Exchange device ID (if you use an Exchange account).
That is the id that shows up. I am thinking the router needs to go. I cannot live without any of the devices that I have connected to it. I do appreciate your insight.
Heh, you good sir are in luck:
http://review.cyanogenmod.com/#change,2164
http://review.cyanogenmod.com/#change,2165
CyanogenMod 7 ('unno about 6) just got a feature to let you change the DHCP client ID.

802.1x wifi problem | galaxy gio

Hey,
I want to connect to a 802.1x security wifi network on my school, it does connect.
It sais I am connected but I can't browse the web and all my apps dont refresh either.
Is there anyway I can fix this? Maybe with some setting or change in root?
work fine on mine
I'll install cm9 as soon as I can, and see if it fixes my probs. Otherwise it could be a chipset problem, that it just doesnt support. Some other people on my school also cant connect (budget phones).
I think its weird that some devices can connect and others not, on my school, some galaxy s or galaxy ace will connect while others can't. I have cyanogenmod 7.2 with android 2.3.7! I think it should work but someway it keeps connected, so I am connected to the router, but I can't browse the net. Maybe it cant open default gateway in someway?
maybe that router is not compatible .. i have the same problem in some places..
I think it's weird some devices connect and other do not, maybe it has to due with diffrence in android versions? I use cyanogenmod 7.2, android gingerbread 2.3.7
Oi, there is so much that could be going on here...
Its an Atheros AR6003G chip, which as far as i know, supports 802.11 A/B/G/N, and hardware encryption for WEP/WPA...
Odds are, if its an 802.1x type network, the chip will do the encrypting/decrypting after the handshake is completed, provided its set up correctly. WEP and WPA are set up by using a Pre-shared Key that all users need to have... If you study how to recover the key, you'll find that the hash is created by taking the plaintext passkey, running it through the specified algorithm, then salting it with the name of the network. So long as all devices have the correct network name and the correct plaintext password, any device can connect to the network, because they'll all end up with the same hash.
802.1x encryption is different. It uses an authentication server. This makes it similar to any modern computer you log onto. You provide the computer with your credentials, and it checks it against the server. If they match, then you are allowed access. If they don't you get an error message. Which means, that if anything is broken, it won't work. If you don't use the correct authentication protocol, it won't work. If you don't have the right certificates, it won't work.
Best advice I can give is, double check everything. Make sure your Gio has the correct certificates and that its using the correct protocols. Double check your IP/Subnet Mask/Gateway addresses. If you don't have an IP address, you'll have to manually configure it. If the Subnet Mask is incorrect or the Gateway address is incorrect, it won't work either. Also, check your DNS server addresses. If those aren't correct it won't load any webpages using URLs. It will only load them using the IP address of the server. Which means, telling the browser to go to www.google.com won't work, but if you tell it to go to 173.194.67.99:80, it will load the Google homepage.
Hopefully this will give you somewhere to start...
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
runedegroot said:
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
Click to expand...
Click to collapse
What if you go to wifi settings- menu button - advanced settings- 'regulier domein' I know you are dutch, dont know how it is called in english, something like regular domain I guess.
Then set it to 11 13 or 14 try them out, fixes my wifi, also at school with 8.11x connection mode
Sent from my GT-S5660 using xda premium
runedegroot said:
Yes true, only problem is that static IP's dont work, otherwise I could just copy the DNS and gateway numbers from a device it does work on. It uses DHCP and I think that I have the problem you told about.I dont think our school uses certificates cause a friend of my (Galaxy S) can connect without having installed certificates or something.
I think its an hardware isue and it cant decrypt the code well, my WIFI indicator stays white, with internet acces it should turn blue or green.
Click to expand...
Click to collapse
That is very very odd... I use a Linksys WRT54G2 router at home, and its set up for DHCP. Its address is the standard 192.168.1.1, and it can address 50 clients between the addresses of 192.168.1.100 and 192.168.1.149. However, if i set my computer up to use static settings, it works just fine... Granted the networks are probably set up differently.... but the theory should work just fine...
Code:
IP: 192.168.1.4
Subnet Mask: 255.255.255.0
Gateway 192.168.1.1
DNS: 64.59.160.13, 64.59.160.15
Are you positive it doesn't work?
If you can get me the encryption type, IP address, Subnet Mask and Gateway address your friends phone uses, I may be able to help more... The more information you can get me, the better.
The only reason I can think of that would cause it to not work is that the IP address is already in use, or the Subnet mask is incorrect... It shouldn't matter what IP address you use, so long as the subnet mask and gateway are correct... In theory anyway...
I'll gather them and put them in a post!
Thanks for your help so far,
Im on the same school as runedegroot but the neteork does work for me, and i dont think a stattic ip will work cause the network is spread over a lot of routers so if any other phone gets that ip via dhcp it wont work anymore
Sent from my GT-I9000 using xda premium
Well, apparently DHCP doesn't work for him, so whats he have to loose?
Although that's quite interesting... What phone do you use, and whats the network information you have when you're connected to your school's network?
voetbalremco said:
What if you go to wifi settings- menu button - advanced settings- 'regulier domein' I know you are dutch, dont know how it is called in english, something like regular domain I guess.
Then set it to 11 13 or 14 try them out, fixes my wifi, also at school with 8.11x connection mode
Sent from my GT-S5660 using xda premium
Click to expand...
Click to collapse
I'll try, it didn't give me positive feedback when I tried it on MC 7.2, I'll try monday.
Btw, voetbalremco is a dutch name, you also have a dutch thumbnail, but you aint dutch?
atirox said:
Well, apparently DHCP doesn't work for him, so whats he have to loose?
Although that's quite interesting... What phone do you use, and whats the network information you have when you're connected to your school's network?
Click to expand...
Click to collapse
I use galaxy gio, gt-s5660. Maybe willie1001 knows it, I can't see it when I'm at home.
I have the same problem
runedegroot said:
I'll try, it didn't give me positive feedback when I tried it on MC 7.2, I'll try monday.
Btw, voetbalremco is a dutch name, you also have a dutch thumbnail, but you aint dutch?
Click to expand...
Click to collapse
Im dutch, but the forum is english so I also post in english, I dont like it neither if people post in polish or whatever I cant read..
Sent from my GT-S5660 using xda premium
runedegroot said:
I use galaxy gio, gt-s5660. Maybe willie1001 knows it, I can't see it when I'm at home.
Click to expand...
Click to collapse
Actually that was for willie1001...
And its possible that changing the reguatory domain could work. If you're running software designed for the states, it would disable any channel above 11... But then again, if you can "see" the wireless network in the settings menu, it would make sense that its programmed to use a channel isn't above channel 11... Which would mean that changing the regulatory domain wouldn't help it at all...
Come to think of it, if your MAC address is blocked, it wouldn't allow you access... But then again, you'd have to do something for the school to block your MAC address. And if the other students can access it, then it would have to be specifically you who did something to piss off a teacher.
Also, any information you can get me about the router would help greatly. By figuring out the manufacturer of the router and the model number of the router, its possible to narrow down the likely IP addresses that the router would use..
atirox said:
Actually that was for willie1001...
And its possible that changing the reguatory domain could work. If you're running software designed for the states, it would disable any channel above 11... But then again, if you can "see" the wireless network in the settings menu, it would make sense that its programmed to use a channel isn't above channel 11... Which would mean that changing the regulatory domain wouldn't help it at all...
Come to think of it, if your MAC address is blocked, it wouldn't allow you access... But then again, you'd have to do something for the school to block your MAC address. And if the other students can access it, then it would have to be specifically you who did something to piss off a teacher.
Also, any information you can get me about the router would help greatly. By figuring out the manufacturer of the router and the model number of the router, its possible to narrow down the likely IP addresses that the router would use..
Click to expand...
Click to collapse
Haha no, I didn't piss of a teacher
I think it's a gio problem, willie1001 has the galaxy s with cyanogenmod 9.
I have gio with cyanogenmod 9. But it also didnts work with stock or cyanogenmod 7.
I will send you some information I can see on my phone, if I won't forget it
runedegroot said:
Haha no, I didn't piss of a teacher
I think it's a gio problem, willie1001 has the galaxy s with cyanogenmod 9.
I have gio with cyanogenmod 9. But it also didnts work with stock or cyanogenmod 7.
I will send you some information I can see on my phone, if I won't forget it
Click to expand...
Click to collapse
Man, thats odd... I assume you aren't on the North American continent... Where did you pick your Gio up from?
You know... Its possible that the issue you have was fixed in a base band (modem) update... You could try flashing the phone to the latest OE firmware (Not necessarily the one that came with your carrier as branded firmware tends to take forever to get updated), and see if that works...

WiFi Keeps Dropping/Disconnecting Through Second Router

First of all, I have internet from Time Warner Cable and it came with a router/modem all in one. Now that was initially set up and that works 100% perfectly with my SGS2. Since I have a weak WiFi signal upstairs in a couple of rooms, I decided to hook up an extra router that is set up as an access point. The second router is connected via a cat5e lan to lan to my main router (home is wired with cat5e connections).
Now on the second router, I have disabled DHCP since the main router is responsible for that. On the second router, I set up a different SSID first to test it out. All wired and wireless connections worked great through my laptop/Xbox 360, PS3. My SGS2 connected fine as well and worked.
Now the issue is that the SGS2 "drops" the WiFi after some time. Sometimes it happens after 5 minutes, sometimes 30 minutes, etc. Even with the SGS2 right next to the router it happens. Meanwhile, my laptop stays connected the whole time.
I can't seem to figure out what the issue is now. I've reset the second router a couple times and set it up all over fresh but it doesn't fix the problem. Seems to be a problem with my brother's Sensation as well. Is there something with Android and access points or going through a second router that causes issues? Any other settings I'm overlooking? SGS2 connected to the main router stays connected until I turn WiFi off. But to the access point, it drops out after some time.
FYI: Second router (access point) is running DD-WRT firmware.
If you need any other info, just ask. I'll be home from work in a couple hours. I've been messing with this for the last 2 weeks but nothing seems to work. Please help! Thanks.
Hmm thats very odd. Im running a similar setup as you, except my main and 2nd router connect via 5ghtz N.
Have you tried statically your phone with an IP address then modifying your main router (that gives DHCP) to reflect that IP is permanently assigned?
edit: to hard set your phone...settings-->wireless and network-->wifi settings, then menu key and advanced. Just fill in the IP and gateway info, and obviously use something in your DHCP subnet. You'll have to look at your DHCP subnet, but you'll probably use 255.255.255.224 as your mask, and use your gateway (your main router IP) as your DNS.
shorty87 said:
First of all, I have internet from Time Warner Cable and it came with a router/modem all in one. Now that was initially set up and that works 100% perfectly with my SGS2. Since I have a weak WiFi signal upstairs in a couple of rooms, I decided to hook up an extra router that is set up as an access point. The second router is connected via a cat5e lan to lan to my main router (home is wired with cat5e connections).
Now on the second router, I have disabled DHCP since the main router is responsible for that. On the second router, I set up a different SSID first to test it out. All wired and wireless connections worked great through my laptop/Xbox 360, PS3. My SGS2 connected fine as well and worked.
Now the issue is that the SGS2 "drops" the WiFi after some time. Sometimes it happens after 5 minutes, sometimes 30 minutes, etc. Even with the SGS2 right next to the router it happens. Meanwhile, my laptop stays connected the whole time.
I can't seem to figure out what the issue is now. I've reset the second router a couple times and set it up all over fresh but it doesn't fix the problem. Seems to be a problem with my brother's Sensation as well. Is there something with Android and access points or going through a second router that causes issues? Any other settings I'm overlooking? SGS2 connected to the main router stays connected until I turn WiFi off. But to the access point, it drops out after some time.
FYI: Second router (access point) is running DD-WRT firmware.
If you need any other info, just ask. I'll be home from work in a couple hours. I've been messing with this for the last 2 weeks but nothing seems to work. Please help! Thanks.
Click to expand...
Click to collapse
Try giving your phone a static IP from your main router. Also make sure that you adjust your phones wifi settings under advanced settings so that your phone stays connected to wifi during sleep. Hope that helps.
Sent from my SAMSUNG-SGH-T989 using XDA
blackangst said:
Hmm thats very odd. Im running a similar setup as you, except my main and 2nd router connect via 5ghtz N.
Have you tried statically your phone with an IP address then modifying your main router (that gives DHCP) to reflect that IP is permanently assigned?
edit: to hard set your phone...settings-->wireless and network-->wifi settings, then menu key and advanced. Just fill in the IP and gateway info, and obviously use something in your DHCP subnet. You'll have to look at your DHCP subnet, but you'll probably use 255.255.255.224 as your mask, and use your gateway (your main router IP) as your DNS.
Click to expand...
Click to collapse
Well my phone is getting the same IP address each time, whether I connect to the main router's SSID or the second router's SSID. But I will try this static IP. One problem is that I don't know how to find out my DHCP range. There's nothing in the main router's settings about the range. The second router has an option to set the IP address range for DHCP but the main router doesn't. See attached image.
I'll try to set the static IP around what the IP addresses of other devices on the network are since I don't know the exact range. Let me know if I'm doing this wrong. Not sure what you meant by 255.255.255.224 there.
The static IP didn't make a difference. Still keeps disconnecting/dropping after some time. Meanwhile, the connection with the main router stays connected. Don't know what else I can do. Seems that my HP Touchpad running CM9 stays connected to the second router without dropping. Don't know what's different about that from my phone.
Sent from my SGH-T989 using XDA
Does anybody have some instructions on how to set up the second router as an access point? I'm pretty sure I set it up correctly but apparently there seem to be some issues. People who have a similar setup that can help would be great.
Main router from cable company with built in modem where internet connectivity comes from is downstairs. Connect cat5e from LAN of main router to LAN of second router upstairs. Second router set up as access point for better WiFi coverage upstairs.
2 options for second router: DD-WRT D-Link DIR-615 or D-Link DIR-625.
"Could" buy some other recommended router for this and try that if needed, but would definitely prefer to use what I have and get this to work.
This might be completely off but I had a similar issue with my SII when connecting to 802.1x networks at my University. I downloaded this app called wifi fixer and it resolved the wifi connection drop for about 90% of the time. Give it a shot, it might do wonders for ya.
iLeopard said:
This might be completely off but I had a similar issue with my SII when connecting to 802.1x networks at my University. I downloaded this app called wifi fixer and it resolved the wifi connection drop for about 90% of the time. Give it a shot, it might do wonders for ya.
Click to expand...
Click to collapse
I tried it and it didn't work. I think it's something to do with DHCP or some other settings.
Sent from my SGH-T989 using XDA
shorty87 said:
Does anybody have some instructions on how to set up the second router as an access point? I'm pretty sure I set it up correctly but apparently there seem to be some issues. People who have a similar setup that can help would be great.
Main router from cable company with built in modem where internet connectivity comes from is downstairs. Connect cat5e from LAN of main router to LAN of second router upstairs. Second router set up as access point for better WiFi coverage upstairs.
2 options for second router: DD-WRT D-Link DIR-615 or D-Link DIR-625.
"Could" buy some other recommended router for this and try that if needed, but would definitely prefer to use what I have and get this to work.
Click to expand...
Click to collapse
First you need to find out if your router is supported. According to the DD-WRT database, the 615 is, the 625 is not. But there are several revisions of that router, so you need to find out what revision you have. It should be on your label.
Router database
Then you need to decide whether you want a repeater, an access point, or client bridged. You can read the differences in the DD-WRT wiki found HERE
Then you need to find the best build to flash to your router. I suggest reading the overview of the 615 found HERE. Read the ENTIRE thread. If you flash the wrong version to your router, you WILL brick it.
Then flash the appropriate firmware, set it up, and youre done. Youre going to have to do some reading.
edit: I would also suggest downloading wifi analyzer on your phone and do a site survey of available channels in your house. Most likely you WILL have interference from neighbors. Youre going to want to hard set your channel to the least congested channel, either 1, 6, or 11. Once you get DD-WRT set up on your 615 you can do a site survey within the router as well.
change the channel on your router to 6 not 11 i had that issue with our second router and actually my nook color. Depending on the router it should be under wireless settings.
RaverX3X said:
change the channel on your router to 6 not 11 i had that issue with our second router and actually my nook color. Depending on the router it should be under wireless settings.
Click to expand...
Click to collapse
The only reason to use one over the other is congestion. Thats it. And you want to use 1, 6, or 11 because the DIR615 has N capability, and you need a wifi primary channel to use N. Theres only 3 primary channels...1, 6, and 11.
edit: Heres a technical overview of N: CLICK ME!
blackangst said:
First you need to find out if your router is supported. According to the DD-WRT database, the 615 is, the 625 is not. But there are several revisions of that router, so you need to find out what revision you have. It should be on your label.
Router database
Then you need to decide whether you want a repeater, an access point, or client bridged. You can read the differences in the DD-WRT wiki found HERE
Then you need to find the best build to flash to your router. I suggest reading the overview of the 615 found HERE. Read the ENTIRE thread. If you flash the wrong version to your router, you WILL brick it.
Then flash the appropriate firmware, set it up, and youre done. Youre going to have to do some reading.
edit: I would also suggest downloading wifi analyzer on your phone and do a site survey of available channels in your house. Most likely you WILL have interference from neighbors. Youre going to want to hard set your channel to the least congested channel, either 1, 6, or 11. Once you get DD-WRT set up on your 615 you can do a site survey within the router as well.
Click to expand...
Click to collapse
I have actually done all that. The DIR-615 is an E1 version and I flashed the correct DD-WRT firmware on it. I followed a tutorial from the DD-WRT website to set it up as an access point as well. My laptop works perfectly with it. Just my phone keeps dropping the connection from it. My main router is on channel 11 and the second router is on channel 6. I also tried channel 1 but it didn't help.
I might just to try set it up as a second router on a different subnet than the first router and see if that helps. Going to try to follow this Youtube video and see how it goes.
shorty87 said:
I have actually done all that. The DIR-615 is an E1 version and I flashed the correct DD-WRT firmware on it. I followed a tutorial from the DD-WRT website to set it up as an access point as well. My laptop works perfectly with it. Just my phone keeps dropping the connection from it. My main router is on channel 11 and the second router is on channel 6. I also tried channel 1 but it didn't help.
I might just to try set it up as a second router on a different subnet than the first router and see if that helps. Going to try to follow this Youtube video and see how it goes.
Click to expand...
Click to collapse
Hhmm ok. Well your main router shouldn't have anything to do with it. When it drops does it re-aquire an IP and reconnect? Honestly if a reboot of the router doesn't fix it and your laptop doesn't have the same issue, its pointing to the phone.
Maybe a factory reset?
Sent from my SGH-T989 using XDA
blackangst said:
Hhmm ok. Well your main router shouldn't have anything to do with it. When it drops does it re-aquire an IP and reconnect? Honestly if a reboot of the router doesn't fix it and your laptop doesn't have the same issue, its pointing to the phone.
Maybe a factory reset?
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
It reconnects when I unlock the phone. Sometimes I have to reset the Wifi on the phone. Have set the Wifi connection to never sleep. My brother's Sensation was doing this as well. I'll have to test it out on his phone and see. I'll probably reset my phone later today and see if that works.
Sent from my SGH-T989 using XDA

[Q] Tinycam, IP webcam, and portforwarding

Guys I am in over my head here, I've watched way too many YouTube videos and guides and I still cant get this.
I have 2 galaxy nexus phones and I am trying to leave one at home running the app IP webcam and taking video. That phone will be connected to my WiFi network at home. Then I am trying to use my other nexus phone running Tinycam Monitor and connected to Verizon's 4g network, to connect to that phone and stream me live video from home.
Now basically I am looking for someone who has set this up correctly or who could help talk me through this.
I have set up a static ip address
I went to my linksys routers web address and tried to port-forward ports 8080 and 80 which are the ones I need
Its not working though and it keeps saying failed connection on the phone. I think I am just typing in something wrong or missing a step.
Can anyone try and help me through this?
Use your IP address and 100 instead of 80
Sent from my Galaxy Nexus using Tapatalk 2
vhgomez36 said:
Use your IP address and 100 instead of 80
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Where are you talking about? You mean when I am forwarding the port on the linksys web interface? It asks me for the internal and external port (which I am typing in 8080) and then it asks for the "to ip address"
I am really unsure of what to put in the "To IP address" field. It shows my ip address but leaves blank the last few digits. Am I supposed to get that information from the phone from which I will be viewing the video?
bhawks23 said:
Where are you talking about? You mean when I am forwarding the port on the linksys web interface? It asks me for the internal and external port (which I am typing in 8080) and then it asks for the "to ip address"
Click to expand...
Click to collapse
Example.
vhgomez36 said:
Example.
Click to expand...
Click to collapse
Thanks for the reply, but I am still a little confused on what you are trying to say.
When I start up IP webcam it begins the video and it gives me an ip address and port number to connect to it. (this phone is on home wifi)
When I type those detail in tinycam monitor on my other phone (connected to verizon network), I add a new camera, set it to IP webcam for android, type the the previous ip hostname and port but it always fails to connect
I understand I need to portforward the port I am using to allow it to connect but I dont think I am doing that correctly
Make sure you port forward on your router to allow the connection.
Sent from my PG86100 using xda app-developers app
bhawks23 said:
Thanks for the reply, but I am still a little confused on what you are trying to say.
When I start up IP webcam it begins the video and it gives my an ip address and port number to connect to it. (this phone is on home wifi)
When I type those detail in tinycam monitor on my other phone (connected to verizon network), I add a new camera, set it to IP webcam for android, type the the previous ip hostname and port but it always fails to connect
I understand I need to portforward the port I am using to allow it to connect but I dont think I am doing that correctly
Click to expand...
Click to collapse
What happens if you turn on Wifi on your phone? Does it work then? You need the public domain IP address where your DVR is connected. I have the info. at home. I'll grab it tomorrow in case you still need the info.
handle223 said:
Make sure you port forward on your router to allow the connection.
Sent from my PG86100 using xda app-developers app
Click to expand...
Click to collapse
Yeah handle223 that is the step where I believe that I am messing up at. I followed a guide that said I need to port forward 8080 and 80 ports so I tried to do that. I'm just not sure what to enter into the "to ip address" field on linksys website. Am I supposed to put my computers ip or something from either of the phones?
vhgomez36 said:
What happens if you turn on Wifi on your phone? Does it work then? You need the public domain IP address where your DVR is connected. I have the info. at home. I'll grab it tomorrow in case you still need the info.
Click to expand...
Click to collapse
Yes it works fine when the phone is connected to wifi so I'm trying to get it to work while away from home on a mobile network. Yeah if you could help me out tomorrow that would be great. Thanks for the help already
bhawks23 said:
Yes it works fine when the phone is connected to wifi so I'm trying to get it to work while away from home on a mobile network. Yeah if you could help me out tomorrow that would be great. Thanks for the help already
Click to expand...
Click to collapse
There your problem...wrong IP address. I can help you more tomorrow when I get home.
vhgomez36 said:
There your problem...wrong IP address. I can help you more tomorrow when I get home.
Click to expand...
Click to collapse
Sounds good man thanks
Essentially, what you need to do is:
1. Set your home phone up with a static IP address. You can normally do this by connecting your phone to wifi, and then going to the control interface for your router and fixing the IP address to that device (look under DHCP settings).
2. Forward an external port (e.g. 8080) of your static home IP address to the http port (80) on the IP address you just assigned permanently to your home phone. This will be under port forwarding in your router interface. The internal port is the one the home phone tells you when you start the webcam program.
3. Contact your ISP and ensure that a) you have a static IP (if not, you can register a dynamic one at e.g. dyn.com, and get software which will update it periodically); and b) that port 8080 is not blocked at their end. You can check your home external IP address on your router page, or if you cbf, go to ip4.me in a web browser and it will tell you.
4. With your external phone, with the wifi off, set your viewer up so that it looks for your router's external IP address and port 8080.
NOTE:
This is not a particularly sophisticated way of setting this up. Please consider the possibility that a technologically competent thief could use this as a way of casing your joint so they can rob you while you're out. Please at least a) ensure you have a strong password on your camera; and b) consider using a non-standard port rather than 8080 as your external port.
The more sophisticated way of doing this involves being able to ssh into your home network using e.g. PuTTY, and using this connection to do tunneling. I run an SSH server on my nexus sometimes (though I don't use it for this purpose), so it is definitely possible for this to be your phone. You can then remote into your home network and then use the camera client as if you were connected via wifi at home. Sing out if you'd like a hand setting up SSH, as it's actually not as hard as it sounds.
m.is.for.michael said:
Essentially, what you need to do is:
1. Set your home phone up with a static IP address. You can normally do this by connecting your phone to wifi, and then going to the control interface for your router and fixing the IP address to that device (look under DHCP settings).
2. Forward an external port (e.g. 8080) of your static home IP address to the http port (80) on the IP address you just assigned permanently to your home phone. This will be under port forwarding in your router interface. The internal port is the one the home phone tells you when you start the webcam program.
3. Contact your ISP and ensure that a) you have a static IP (if not, you can register a dynamic one at e.g. dyn.com, and get software which will update it periodically); and b) that port 8080 is not blocked at their end. You can check your home external IP address on your router page, or if you cbf, go to ip4.me in a web browser and it will tell you.
4. With your external phone, with the wifi off, set your viewer up so that it looks for your router's external IP address and port 8080.
NOTE:
This is not a particularly sophisticated way of setting this up. Please consider the possibility that a technologically competent thief could use this as a way of casing your joint so they can rob you while you're out. Please at least a) ensure you have a strong password on your camera; and b) consider using a non-standard port rather than 8080 as your external port.
The more sophisticated way of doing this involves being able to ssh into your home network using e.g. PuTTY, and using this connection to do tunneling. I run an SSH server on my nexus sometimes (though I don't use it for this purpose), so it is definitely possible for this to be your phone. You can then remote into your home network and then use the camera client as if you were connected via wifi at home. Sing out if you'd like a hand setting up SSH, as it's actually not as hard as it sounds.
Click to expand...
Click to collapse
To the OP, This is what you have to do. Everything is set up correctly on the phone is what it seems like but without a static IP from your internet service provider you're going to run into issues again the minute it changes it's IP address.
You'll have to connect to your router from the outside world (The internet) via the address that shows up in your router page under status. from there you connect to the port you specified with port forwarding and it'll connect to your phone from anywhere you're located outside of your home wifi.
m.is.for.michael said:
Essentially, what you need to do is:
1. Set your home phone up with a static IP address. You can normally do this by connecting your phone to wifi, and then going to the control interface for your router and fixing the IP address to that device (look under DHCP settings).
2. Forward an external port (e.g. 8080) of your static home IP address to the http port (80) on the IP address you just assigned permanently to your home phone. This will be under port forwarding in your router interface. The internal port is the one the home phone tells you when you start the webcam program.
3. Contact your ISP and ensure that a) you have a static IP (if not, you can register a dynamic one at e.g. dyn.com, and get software which will update it periodically); and b) that port 8080 is not blocked at their end. You can check your home external IP address on your router page, or if you cbf, go to ip4.me in a web browser and it will tell you.
4. With your external phone, with the wifi off, set your viewer up so that it looks for your router's external IP address and port 8080.
NOTE:
This is not a particularly sophisticated way of setting this up. Please consider the possibility that a technologically competent thief could use this as a way of casing your joint so they can rob you while you're out. Please at least a) ensure you have a strong password on your camera; and b) consider using a non-standard port rather than 8080 as your external port.
The more sophisticated way of doing this involves being able to ssh into your home network using e.g. PuTTY, and using this connection to do tunneling. I run an SSH server on my nexus sometimes (though I don't use it for this purpose), so it is definitely possible for this to be your phone. You can then remote into your home network and then use the camera client as if you were connected via wifi at home. Sing out if you'd like a hand setting up SSH, as it's actually not as hard as it sounds.
Click to expand...
Click to collapse
Yes! That was extremely helpful and thanks for describing it in detail.
It took me about 20 minutes but now it is working perfectly and I am able to stream live video from wherever I wish. (It is working better than I thought on 4g also)
I had to create a static id for my home mobile phone and that was under DHCP settings like you said. That allowed me to properly open up the ports
Thanks for the help everyone and I'm glad I didn't give up because this is pretty sweet, and also I do understand the risks.
On a side note, what kind of strain would this put on my extra nexus if I was running IP webcam 24/7? (while plugged in of course) Guess I will find out
Deleted
Sent from my GT-I9000
mobile
m.is.for.michael said:
Essentially, what you need to do is:
1. Set your home phone up with a static IP address. You can normally do this by connecting your phone to wifi, and then going to the control interface for your router and fixing the IP address to that device (look under DHCP settings).
2. Forward an external port (e.g. 8080) of your static home IP address to the http port (80) on the IP address you just assigned permanently to your home phone. This will be under port forwarding in your router interface. The internal port is the one the home phone tells you when you start the webcam program.
3. Contact your ISP and ensure that a) you have a static IP (if not, you can register a dynamic one at e.g. dyn.com, and get software which will update it periodically); and b) that port 8080 is not blocked at their end. You can check your home external IP address on your router page, or if you cbf, go to ip4.me in a web browser and it will tell you.
4. With your external phone, with the wifi off, set your viewer up so that it looks for your router's external IP address and port 8080.
NOTE:
This is not a particularly sophisticated way of setting this up. Please consider the possibility that a technologically competent thief could use this as a way of casing your joint so they can rob you while you're out. Please at least a) ensure you have a strong password on your camera; and b) consider using a non-standard port rather than 8080 as your external port.
The more sophisticated way of doing this involves being able to ssh into your home network using e.g. PuTTY, and using this connection to do tunneling. I run an SSH server on my nexus sometimes (though I don't use it for this purpose), so it is definitely possible for this to be your phone. You can then remote into your home network and then use the camera client as if you were connected via wifi at home. Sing out if you'd like a hand setting up SSH, as it's actually not as hard as it sounds.
Click to expand...
Click to collapse
Hi..
is it possible to do this with two mobile phones and without a static ip using mobile network only? somehow sending video signal to some free host using mobile internet?
like one phone stays at home connected to mobile internet as ip camera.. and with second I can watch the video from anywhere???
because when i create a local network with one and connect to it with other then all this works great...
OLD post i know but i figured id post in here just in case you guys are still around.
I have a S4 ( i don't think this matters)
But just like the OP. I have these 2 apps . The stream works fine in house (both on my wifi) but i cannot figure out how to get it connected off of wifi. the monitoring phone i am trying to use i turned the wifi off to use the 4glte but it just wont connect. I do have ports 8080 and 80 forwarded.
But what IP and port do i use the the connecting phones settings? the 192..... one is internal and works in the wifi but i tried that one and the external ip.... any ideas?
(the external IP i am using is the one from googling "whats my ip" inside the cams phone web browser so its the ip from the phone not pc)

[Q] Wifi connected but no internet . please help !

My wifi at home worked perfectly fine until about a week or two ago. Since then when I connect to my home wifi it appears to be connected with 5 bar signal but the internet is not working . Sometimes I have internet for few seconds, but than it's gone.
I tried 3 different roms including stock , viperx and cyanogenmod 11 all with the same problem.
What do you suggest me to do ?
are you sure it's not a router issue?
lukes91 said:
are you sure it's not a router issue?
Click to expand...
Click to collapse
I just tried to use my laptop as a wifi hotspot and it worked so the router seems to be problematic .
But I have 2 laptops connected to the same router and are working fine.
Maybe some bad settings
My router uses Openwrt with most settings default.
r33fd said:
I just tried to use my laptop as a wifi hotspot and it worked so the router seems to be problematic .
But I have 2 laptops connected to the same router and are working fine.
Maybe some bad settings
My router uses Openwrt with most settings default.
Click to expand...
Click to collapse
check if something like parental control is enabled or if the hox mac number is blacklisted... check also if there are conflicts in dhcp and ip reservation....
I would disable DHCP in your phone and put a static ip.
Hold down on the network name till a windows pops up then go on Modify Network>Show Advanced Options>Ip Settings>Static
IP Address: 192.168.x.128 (The X depends on what range your router is. Just do an ipconfig on your laptop to see, 1 is the most commonly used)
Gateway: 192.168.x.x (That is your router address do ipconfig on your laptop to find the 'Default Gateway'
DNS 1: 192.168.x.x (Same as the router as most routers have their own DNS)
DNS 2: 8.8.8.8 (I normally put google's )
Kahun said:
I would disable DHCP in your phone and put a static ip.
Hold down on the network name till a windows pops up then go on Modify Network>Show Advanced Options>Ip Settings>Static
IP Address: 192.168.x.128 (The X depends on what range your router is. Just do an ipconfig on your laptop to see, 1 is the most commonly used)
Gateway: 192.168.x.x (That is your router address do ipconfig on your laptop to find the 'Default Gateway'
DNS 1: 192.168.x.x (Same as the router as most routers have their own DNS)
DNS 2: 8.8.8.8 (I normally put google's )
Click to expand...
Click to collapse
Thanks for suggestion. Unfortunately It still doesn't work. It have internet access for a few seconds after I connect but then
it's gone.
lukes91 said:
check if something like parental control is enabled or if the hox mac number is blacklisted... check also if there are conflicts in dhcp and ip reservation....
Click to expand...
Click to collapse
I wasn't able to find parental controls on my openwrt router firmware. I am pretty sure mac filtering is not enabled.
try to hard reset the device...

Categories

Resources