Forum 討論群 spacedesk Discussions How do I make NDIS usb tether connection have a static ip in Windows 10?

正在檢視 4 篇文章 - 1 至 3 (共計 3 篇)
  • 作者
    文章
  • #11013
    Malaclypse23
    參與者

    Hi all,

    I am a new user here and really like the software so far. It works over my wifi connection and over the usb tether through NDIS. As has been stated, the connection is faster and more stable through usb tether, and I would really prefer to use that option.

    My problem is that every time I connect the USB from fire tablet to windows 10, the adapter reappears in windows with a new ip address. I have tried everything I could think of to set that connection with a static ip so that the tablet can connect automatically, but nothing I have tried has worked. Everything has either made the tablet client unable to detect the connection, or unable to connect to it. I even temporarily disabled windows firewall when the ip was seen and unable to connect. Still no good.

    I have been trying to piece together how ndis works all day. Lots of searching google and youtube and this forum. I am stumped. I can’t even figure out what it uses to generate its seemingly random ip addresses. My normal network ip addresses are 192.168.1.xxx. the NDIS addresses I get are 192.168.xxx.xxx.

    Any help figuring this out would be greatly appreciated

    #11049
    spacedesk Lea
    管理員

    Hi @malaclypse23,

    Please try the steps below:

    – Start the USB tethering connection on your primary machine
    – An IP address will be assigned in your USB RNDIS network adapter. You will use this IP address as your static IP.
    – Run “ncpa.cpl”, find the Remote NDIS Network (for your USB tethering connection) and right-click -> Properties.
    – In the Connection items box, select the “Internet Protocol Version 4 (TCP/IPv4)” -> click Properties below
    – Click the radio button for “Use the following IP address” then enter a value in:
    IP address: [current IP address]
    Subnet mask: 255.255.255.0
    – click OK to finish

    Then check if this will give you a static IP address on your USB tethering network adapter.

    • 該回覆由 spacedesk Lea 於 1 years, 11 months ago 修改。
    #11051
    Malaclypse23
    參與者

    Hi Lea,

    Thanks for trying to help, but I tried that multiple times and multiple ways. No good. The Spacedesk client can no longer see the server once it has disconnected and reconnected.

    I was going to update my post but it was waiting for moderation before being posted. To the best of my ability to determine from seemingly endless searches… This is not fixable unless your android device has root. Android acts as the dhcp server for the usb tethered connection, and the file you need to edit is under system/etc and therefore inaccessible to those of us using something that can’t be rooted.

    Hopefully someone out there knows another way, or at the very least someone in need finds this post and either has root, or can save themselves a lot of time and effort banging their heads into their keyboards.

    but if anyone can make this work, please let me know

    Thanks for everything

    #11393
    FreakyMood
    參與者

    You can set a static IP for your android phone/tablet but your spacedesk drivercan not shown on android device spacedesk viewer. And the phone Ip will be 192.168.42.x for phone/tablet but it will not be a problem to connect to pc spacedesk driver.

正在檢視 4 篇文章 - 1 至 3 (共計 3 篇)
  • 抱歉,回覆主題必需先登入。