1. Are you ready for the Galaxy S20? Here is everything we know so far!

USB Network - Can I Static the IP for Camera Config?

Discussion in 'Android Devices' started by Fireboy153, Jan 9, 2019.

  1. Fireboy153

    Fireboy153 Lurker
    Thread Starter

    Hello, new here, and cant seem to find anything relevant on the interwebs... My Pixel 2xl is pretty darn good.
    I recently decided to try a USB Network adapter, and I have success when i am on a network with DHCP. Just turn off WiFi and Date and im good. This is great for tuning Speed Tests, which i do often with my work.

    Now the twist... I want to be able to use it to configure Ip Cameras, basically hook the POE and the camera to the phone. This is the order:
    Pixel ---> POE---> Camera. This is typically done with a PC or Laptop, bot of which I prefer not to carry all the time. I would easily be able to adjust IP settings with these. Now with the phone, this would be a rather quick and easy thing, but I cannot seem to find a way to set the IP, only WiFi allows this, and that is not going to work.

    Has anyone ever been able to change the IP via usb?

    Current Service is Straight Talk, a flavor of TracFone that uses Verizon towers. Its got limitations, but does not hurt the pocket. I save $100 a month by shopping at Wal*Mart essentially. Could this be the issue?
     


  2. lunatic59

    lunatic59 Moderati ergo sum
    Moderator

  3. svim

    svim Extreme Android User

    In any typical LAN, the IP address , no matter if DHCP, assigned, or static, is a done by the network's gateway, usually that's your router. You cannot have just any device set it's own IP address, that would be a potential conflict issue as any other device might be set to use that same IP address. It has be determined and managed by a single source, again typically your router.
     
  4. Fireboy153

    Fireboy153 Lurker
    Thread Starter

  5. Fireboy153

    Fireboy153 Lurker
    Thread Starter

    Thats is fairly understood, but my big question is for the scenario of an IP Camera or even and AP. When the device i want to hook to has an IP o lets say... 192.168.1.25 i would need to make sure i am on that same LAN, such as 192.168.1.10. if that is my IP, and the device is 10.10.20.15 then i would like to change it so it matches and I can get into it and configure it. i often find myself walkig into this situation. I walk around a large amusement park for a living, and if i were to carry everything i could need, it would be quite the mess to say the least. But on the good side, i would be in the best shape of my life.
    In this scenario, there is no router, only the device to log into.
     
  6. svim

    svim Extreme Android User

    When you have your phone working as a hotspot, it's essentially creating its own mini-network, but its functionality as a router is very, very limited. It is not meant to be a substitute for one either. It's basically just a kluge, a stop-gap function bolted on as a convenience, not something that was engineered into the mix from the beginning.
    If you're connecting the IP camera to your hotspot-based WiFi, just use whatever IP address it has been assigned to interface with it. If you're using USB to connect to it directly, that's a different matter. At that point the IP address is irrelevant, interfacing with the camera is going through the USB bus.
     
  7. Fireboy153

    Fireboy153 Lurker
    Thread Starter

    I am not using WiFi or Hotspot, so that part does not apply to this, but thanks for the info. Now via usb, its still an Ethernet adapter. Im looking to set the phone ip to match up with the device so i can access it., just as I would with a PC or Laptop.
    I can turn of Data and WiFi and use the wired network to access the internet, so far as DHCP is on the network.
    Static is the key, app or hardware solutions must exist! Thanks for the input
     
  8. svim

    svim Extreme Android User

    As it's a USB Ethernet adapter, you're still just relying on your phone's hotspot-based networking, which is still going to be what determines what IP address gets assigned to the IP camera.
    Another option if this is a frequent usage situation is to just pick up an off-the-shelf wireless router and bring it with you as a your own portable LAN with WiFi. As is it won't have Internet access but any consumer router will work as a basic LAN. Plug it in on site and then just connect your phone and IP camera(s) to the resulting WiFi to network them.
     
  9. Fireboy153

    Fireboy153 Lurker
    Thread Starter

    Yes, usb c to ethernet.
    Im not needing it to be a router, i feel thats where you may be pointing with the hotspot. but the cheezy router at home would do the trick. Still, just something else i gotta carry.
    Back to hotspot, my current elcheapo plan does not support hotspot, so the option is off. I wonder... Will try with a coworker tomOrow, thanks!
     
  10. svim

    svim Extreme Android User

    Yeah, carrying around a router with its necessary power adapter adds a lot of hassle but even a cheezy router will broadcast a WiFi signal with a wider coverage range than a smartphone hotspot, and with a more expansive setup menu.
     
  11. lunatic59

    lunatic59 Moderati ergo sum
    Moderator

    I did a little test for you. I have a USB Ethernet adapter connected to my network that i plugged into an OTG --> USB adapter. I put my phone in airplane mode, just to make sure there was no wireless data interfering and then plugged my contraption into my phone and sure enough I got a data connection and the adapter did get its IP from DHCP. As you found out there doesn't seem to be any sort of control panel for the new NIC where you can change the IP address. I looked in the play store hoping there might be something but it's either OTG apps for storage, or general network utilities that don't seem to address the adapter settings.

    If you don't get any traction with the command line in a terminal session, then I'd say it was a good idea that didn't go anywhere.

    If your goal is to get access to the adapter settings so that you can carry minimal hardware out in the field then I'd suggest picking up a old version MS Surface tablet ( I'm seeing them for ~$300) and using a USB network adapter. With that setup you can easily change the IP address to any subnet you'd like.
     
  12. Fireboy153

    Fireboy153 Lurker
    Thread Starter

    Thanks, thats great to hear this. Its not %100 necessary for me, but i just thought the option would be nice. I will keep looking for sure, and report back when or if I get anywhere. Thanks again!
     

Google Pixel 2 XL Forum

The Google Pixel 2 XL release date was October 2017. Features and Specs include a 6.0" inch screen, 12MP camera, 4GB RAM, Snapdragon 835 processor, and 3520mAh battery.

October 2017
Release Date
0
Reviews
Loading...
Similar Threads - USB Network Static
  1. paradroidx
    Replies:
    14
    Views:
    272
  2. Palm2droid
    Replies:
    1
    Views:
    143
  3. Kayem59
    Replies:
    4
    Views:
    258
  4. andrey2211
    Replies:
    0
    Views:
    510
  5. OM2
    Replies:
    1
    Views:
    269
  6. Kiran_pa
    Replies:
    12
    Views:
    706
  7. Arkoprovo Ghosh
    Replies:
    0
    Views:
    586
  8. Gobshyte
    Replies:
    3
    Views:
    458
  9. gingersnap
    Replies:
    1
    Views:
    298
  10. Asad7654677
    Replies:
    4
    Views:
    999

Share This Page

Loading...