Post your questions and help other users.
Moderator: Martin
-
evebrea
- Posts: 116
- Joined: 12 Aug 2013 15:28
Post
by evebrea » 14 Oct 2016 04:29
Martin wrote:You can use the command
ifconfig without options to show all available interfaces and adapt the example accordingly.
You could also use a page like this to get the external IP address:
http://ipv4bot.whatismyipaddress.com/
Regards,
Martin
i didn't just jump to this. I tried ifconfig a bunch, I couldn't get what i wanted. Either i don't know what i'm doing, or it's a pain in the ass. if you could just go "do this" it would be easier. I'll post again in a moment with the "stdout" return that just "ifconfig" gives.
-
evebrea
- Posts: 116
- Joined: 12 Aug 2013 15:28
Post
by evebrea » 14 Oct 2016 04:32
edit : and according to IPchicken.com, at the time my IP was 205.197.242.158 which i can't seem to locate in that..
What i mean with all of this is.. I can GET the info.. but using it? I can't figure.. I'm not quite a programmer..
Last edited by
evebrea on 19 Oct 2016 06:45, edited 1 time in total.
-
Martin
- Posts: 4468
- Joined: 09 Nov 2012 14:23
Post
by Martin » 14 Oct 2016 18:59
It seems that you are looking for the public IP and not the private one so you most likely have to use an external service to get your IP. What do you want to do with the IP?
Following flow should get the external IP and show it in a notification on screen:
Show external IP
Regards,
Martin
-
evebrea
- Posts: 116
- Joined: 12 Aug 2013 15:28
Post
by evebrea » 19 Oct 2016 06:44
well, as i said in another thread i started that you hadn't responded to.. I wanted to check my IP and set the phone to airplane then normal if the IP is not one of the ones that works for pokemon go on cricket. However it doesn't seem to matter anymore. I've not seen the issue of the game not connecting...