If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Rate Thread | Display Modes |
#31
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 2017-04-12, nospam wrote:
In article , Whiskers wrote: Google "address reservation". You don't want a fixed IP address on a phone. Not true, he does. he might think he does, but he doesn't. Your opinion noted. it's not an opinion. he should *not* have a fixed ip address on his phone. that is only going to cause a world of problems, especially since he doesn't understand what he's doing. what he wants is a reserved address, which is done at the router. Setting his phone to use a static IP while connected to his home network, would be a good idea it's a horrible idea because he'd have to change it every time he leaves the house and back again when he returns. that's a ****load of effort for absolutely no reason, since what he claims to want can be done entirely automatically. I admit that my memory could be faulty, it being some months since setting up an Android device to access a WiFi access point it hadn't used before, but doesn't the setting up on the phone of a new access point give the user the choice between DHCP and static IP? Each internet connection has its own settings on the phone, each one only needs to be set up once (as long as you et it correct). DHCP is probably what you get if you don't try to change it. The settings on the phone for one network should not (I'd even go as far as MUST NOT) have any effect on the settings for any other network. So there would be no need to change any settings each time he goes out or comes back home. The phone will automatically connect with any network it already knows about, if that's the way it has been set up. [...] -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~ |
Ads |
#32
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In on.nl, Kees Nuyt
suggested: On any mobile device (iOS, Android, whatever), you can set up an FTP server (eg ES File Explorer on Android) with a static IP address so that Windows "My Network Places" has a permanent "shortcut" to the entire mobile device file system (eg ftp://192.158.1.15:3721). You probably mean 192.168.1.15 . Yes. My mistake. I had meant 168! Thank you for correcting that. Here is the actual URL: http://i.cubeupload.com/wboAp1.gif The Windows "My Network Places" shortcut is to "ftp://192.168.1.15:3721". Clicking on that "My Network Places" shortcut when the ES File Explorer FTP server is running on the Android device opens up the entire Android device's file system "as if it were mounted" on Windows. The beauty is that this works for any Windows computer and for every user on the Windows computer since there is no software to install on the Windows computer. I have multiple routers at home and multiple access points, so I was surprised at how well this single change in Android worked, even after numerous reboots of all the systems. |
#33
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In , Whiskers
suggested: My guess is that your router's DHCP server originally gave your Android device the dynamic IP number 192.168.1.15 (not 192.158.1.15 - that's a publicly routable IP number) Ooooops. Thank you. Yes, I had meant "168" and not "158" (which was an errant typo). |
#34
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In , nospam suggested:
Setting his phone to use a static IP while connected to his home network, would be a good idea it's a horrible idea because he'd have to change it every time he leaves the house and back again when he returns. On Android, the IP address on the phone is set "per access point"! Look at the original post again where the Android settings were shown: Android: Settings WiFi {AP SSID} Modify network config IP settings Static IP address = 192.168.1.15 Notice that the "static" setting is set *per access point*. That means the "static" directive only applies for *that* access point. There is a caveat which I'd like to ask the cognoscenti here to explain: Interestingly, in practice, at home, since I have more than half a dozen access points, you'd think I need to make the static setting for each access point at home - but - in practice - so far anyway - the phone has remained on the same IP address - even after multiple boots of the computers, mobile devices, and router. Why does it work so well (without me setting the phone's IP address to be static for *all* my access points)? |
#35
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In , nospam suggested:
Setting his phone to use a static IP while connected to his home network, would be a good idea it's a horrible idea because he'd have to change it every time he leaves the house and back again when he returns. On Android, the IP address on the phone is set "per access point"! Look at the original post again where the Android settings were shown: Android: Settings WiFi {AP SSID} Modify network config IP settings Static IP address = 192.168.1.15 Notice that the "static" setting is set *per access point*. That means the "static" directive only applies for *that* access point. There is a caveat which I'd like to ask the cognoscenti here to explain: http://i.cubeupload.com/wboAp1.gif Interestingly, in practice, at home, since I have more than half a dozen access points, you'd think I need to make the static setting for each access point at home - but - in practice - so far anyway - the phone has remained on the same IP address - even after multiple boots of the computers, mobile devices, and router. Why does it work so well (without me setting the phone's IP address to be static for *all* my access points)? |
#36
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In article ,
Whiskers wrote: Setting his phone to use a static IP while connected to his home network, would be a good idea if (when) he sets his router to use a static IP for that device. This does not make sense. A static address for a device is set on the device, not on the router. To work properly, it needs to be set on both. nope. a static ip is set on the device. there's nothing to set on the router. if the router can route traffic from that ip, then it will work. otherwise it won't. a static ip has no advantages for a mobile device. only disadvantages. *if* the phone's ip needs to be the same (which is rare), the proper solution is a reserved dhcp address at the router (sometimes called static dhcp which may be the source of the confusion). |
#37
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 04/12/2017 07:14 AM, Whiskers wrote:
[snip] what he wants is a reserved address, which is done at the router. Setting his phone to use a static IP while connected to his home network, would be a good idea if (when) he sets his router to use a static IP for that device. If he wants to connect to other networks away from home he should set his phone to use DHCP with them if that's what they expect (which it probably is, as a general rule). Reserved address is what I recommend. You set the router so DHCP always returns THAT IP to a device with THAT MAC. The device itself is set to use DHCP. -- Mark Lloyd http://notstupid.us/ "Is man one of God's blunders, or is God one of man's blunders?" [Nietzsche] |
#38
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In , Whiskers
suggested: I admit that my memory could be faulty, it being some months since setting up an Android device to access a WiFi access point it hadn't used before, but doesn't the setting up on the phone of a new access point give the user the choice between DHCP and static IP? Each internet connection has its own settings on the phone, each one only needs to be set up once (as long as you et it correct). DHCP is probably what you get if you don't try to change it. The settings on the phone for one network should not (I'd even go as far as MUST NOT) have any effect on the settings for any other network. So there would be no need to change any settings each time he goes out or comes back home. The phone will automatically connect with any network it already knows about, if that's the way it has been set up. You are correct. The setting on Android for DHCP (default) or Static is "per access point". So, there's no need to change it when I leave the house. In practice, it's even better than that, in that I have more than a half dozen access points at home on multiple routers, and, as if by magic, the IP address hasn't changed yet, despite multiple reboots of all the devices. So far, weeks later, the entire device file system is always conveniently "mounted", seemingly automagically, on my Windows computer. http://i.cubeupload.com/wboAp1.gif I think this thread explained the "magic", some of which may have been by chance since I didn't choose 192.168.1.15 - it was already *assigned* by one of the routers - all I did was flip the Android settings for that access point from "DHCP" (the default) to "Static". |
#39
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 04/12/2017 07:28 AM, Pascal Hambourg wrote:
Le 12/04/2017 à 14:14, Whiskers a écrit : Setting his phone to use a static IP while connected to his home network, would be a good idea if (when) he sets his router to use a static IP for that device. This does not make sense. A static address for a device is set on the device, not on the router. An "address reservation" IS set on the router, and is almost the same thing as a static address. I find it preferable, since maintenance is centralized. The device itself is set to "dynamic", but the DHCP server in the router always provides the same IP to that device. -- Mark Lloyd http://notstupid.us/ "Is man one of God's blunders, or is God one of man's blunders?" [Nietzsche] |
#40
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 04/12/2017 07:30 AM, Chris Green wrote:
[snip] I didn't say it wasn't easy to change, just that it is sometimes the default router address. It can make things (a bit) difficult sometimes if you change the router's address because if/when you have to do a reset everything goes awry. There's usually no benefit to changing it, although I have when using 2 or more routers in series (where each needs to be using a different network). Also, you might if you need to replace a router on an existing network, and the new router uses a different 3rd octet (the 'y' in 192.168.y.x/24). -- Mark Lloyd http://notstupid.us/ "Is man one of God's blunders, or is God one of man's blunders?" [Nietzsche] |
#41
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 04/12/2017 06:22 AM, nospam wrote:
[snip] depends on the router. it's easily changed to anything you want and it doesn't need to be 192.168/16 either. The usual subnet for home routers is 192.168.y.0/24 , where 'y' is different for different routers, but has to be the same for all networked devices. [snip] -- Mark Lloyd http://notstupid.us/ "Is man one of God's blunders, or is God one of man's blunders?" [Nietzsche] |
#42
|
|||
|
|||
How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?
On 04/12/2017 07:39 AM, nospam wrote:
[snip] he hasn't said *why* he wants this, and quite likely, there's an even easier solution. I use address reservation for (non-mobile) computers and networked printers (*), so I can find them (from another computer) when I want to. I'm not yet sure why I'd want to do that for a mobile device. * - there's also ReplayTV, but you probably aren't interested. -- Mark Lloyd http://notstupid.us/ "Is man one of God's blunders, or is God one of man's blunders?" [Nietzsche] |
#43
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In article ,
Whiskers wrote: Setting his phone to use a static IP while connected to his home network, would be a good idea it's a horrible idea because he'd have to change it every time he leaves the house and back again when he returns. that's a ****load of effort for absolutely no reason, since what he claims to want can be done entirely automatically. I admit that my memory could be faulty, it being some months since setting up an Android device to access a WiFi access point it hadn't used before, but doesn't the setting up on the phone of a new access point give the user the choice between DHCP and static IP? sure, but using static ip on a phone is a *really* bad idea because it will be connecting to different networks as a matter of course. that static ip isn't going to work across all of them and changing it each time is crazy. it's virtually guaranteed that there will be a conflict and that's really going to **** off the users of the other networks. *if* you want an ip address to always be the same on a given network (which in some cases is useful but not so much on a phone), then use reserved dhcp. reserved dhcp is sometimes called static dhcp, perhaps causing the confusion. that's technically a contradiction, but it's not unusual to see it called that. https://www.dd-wrt.com/wiki/index.php/Static_DHCP |
#44
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In article , Mark Lloyd
wrote: what he wants is a reserved address, which is done at the router. Setting his phone to use a static IP while connected to his home network, would be a good idea if (when) he sets his router to use a static IP for that device. If he wants to connect to other networks away from home he should set his phone to use DHCP with them if that's what they expect (which it probably is, as a general rule). Reserved address is what I recommend. You set the router so DHCP always returns THAT IP to a device with THAT MAC. The device itself is set to use DHCP. that's exactly what should be done. |
#45
|
|||
|
|||
How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
In article , Tomos Davies
wrote: Setting his phone to use a static IP while connected to his home network, would be a good idea it's a horrible idea because he'd have to change it every time he leaves the house and back again when he returns. On Android, the IP address on the phone is set "per access point"! no it isn't. the ip address is normally set by a dhcp server, of which there should be only one dhcp server on the subnet (with very rare exception, none of which applies here). Look at the original post again where the Android settings were shown: Android: Settings WiFi {AP SSID} Modify network config IP settings Static IP address = 192.168.1.15 Notice that the "static" setting is set *per access point*. That means the "static" directive only applies for *that* access point. There is a caveat which I'd like to ask the cognoscenti here to explain: Interestingly, in practice, at home, since I have more than half a dozen access points, you'd think I need to make the static setting for each access point at home - but - in practice - so far anyway - the phone has remained on the same IP address - even after multiple boots of the computers, mobile devices, and router. Why does it work so well (without me setting the phone's IP address to be static for *all* my access points)? you really should learn about basic networking before you go ****ing around with static ips. you *are* going to cause problems, and ones which you probably won't be able to easily fix because you don't understand what you did. anyway, your description of what you want to do is much better done with host names, not fixed ip addresses, such as: myandroidphone.local. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|