Recommended Posts

Hi there. I have an ad-hoc network between my desktop and laptop wirelessly which shares my wired internet connection. I've set up a network for files etc. and I use UltraVNC on the laptop to work remotley sometimes. However, the laptop never stays with the same IP (assuming that my wireless adapter is using DHCP) and if I set a static IP up in the same range (desktop is static with 192.168.0.1 and the laptop set to 192.168.0.2) then I can connect to the network but I lose all Internet connectivity on the laptop. If I connect via the DHCP method there is an icon in network connections showing 'BT Broadband on DAVE'.

Is there a way to set a static IP for my laptop on this network as I keep having to go to the laptop to find it's IP address to connect with UltraVNC.

Link to comment
https://www.neowin.net/forum/topic/504402-static-ip-on-ad-hoc-network/
Share on other sites

With an ad-hoc network we are assuming that you are using Internet Connection Sharing (ICS) on the desktop.

You can (and really should) use static IP addressing on an ad-hoc network, the way to make sure that you don't loose connectivity to the internet is to make sure that the desktop PC (with ICS, the IP becomes 192.168.0.1 anyway) has that static IP, and it is used as the 'Gateway' setting on the laptop (192.168.0.>1).

I cant think of a reason why it would not work, providing the Gateway setting is correct and the subnet mask has not be altered.

Edit: goddamit lunamonkey, ya beat me :p

Yes. On the laptop (I can get screenshots in a few hours if needed) I have:

IP: 192.168.0.2

Subnet Mask: 255.255.255.0

Default Gateway:

DNS server 1:

DNS server 2:

I don't know the last three of the top of my head but I know they're filled in. I'll post back when I am using the notebook in a few hours.

OK, so when I have the laptop to obtain the IP and DNS automatically it will be setup like in the first image below. I will have full networking (file + printer sharing etc. + ICS) but the IP will change automatically each time I connect.

laptopzc8.th.png

If I set up the IP settings like the picture below then I can connect to the wireless network but I lose ICS and all file and printer sharing. What have I done wrong? :pinch:

laptopsn5.th.png

Oops. Hahaha thanks devster.

:$

Now the last thing. I've got it all working but I can't seem to connect to my system on the file sharing. It says that \\DAVE is not accessible and I don't have permission. :s

it was working before and I can connect to the laptop via \\JUNE

Edited by Dave MB
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Toshiba's massive 22TB X300 PRO hard drive is 29% off by Taras Buria Toshiba is offering its highest-capacity X300 PRO hard drive at a new all-time low price, allowing you to save 29% or $171 on the massive 22TB drive. The X300 PRO hard drive lineup offers good performance, and it is rated for high yearly workloads, which makes it a great option for creative professionals or other tasks that require storing a lot of data. The X300 PRO is a 7,200 RPM conventional magnetic recording (CMR) 3.5-inch SATA 6Gbps internal hard drive with 512MB of cache, which is also paired with the Toshiba Cache Technology for improved real-time responsiveness during high-demand loads. It also has additional features for better reliability, such as ramp loading (heads rest to a side of platters to prevent damage when the drive is idling or powered down) and shock sensors. Toshiba claims that the 22TB X300 PRO is rated for up to a 300TB/year workload rate and 1 million hours of mean time to failure (MTTF). This makes the drive a good choice for workstations, multimedia systems, or network-attached storage. Additionally, each drive has a limited five-year warranty for additional peace of mind. 22TB Toshiba X300 PRO High Workload Performance HDD - $428.99 | 29% off on Amazon US This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • The 4060 is the weak 8-GB version. They should have done better.
    • This is an example of why it is so difficult to have a conversation with conservatives - they refuse to operate in good faith. You say "Those are not rights. Those were special treatments that were taken away that non-trans whatever didn't get." Which means you either failed to read any of the links I provided or you are lying. The very first link is about how the U.S. Military is firing trans people out of the military because they are trans and denying them retirement benefits. What other groups does the military treat this way that would support your assertion that they had been treated as special previously? Does the miliary routinely fire large numbers of its members and deny them retirement and was heretofore not doing that to trans people? I fail to see the logic in your argument.
    • Dell's Tower Plus Windows 11 desktop brings good all round performance at a big discount by Paul Hill Are you looking for a powerful tower desktop PC? If so, Dell’s Tower Plus EBT2250 is available for $1,099.99 right now, discounted down 25% from its typical price of $1,460.64, making it its lowest price in 30 days, and indeed, of all time (purchase link towards the bottom of the article). It’s powered by an Intel Core Ultra 7 265 processor and an NVIDIA GeForce RTX 4060 GPU. It also features an NPU which achieves 13 TOPs, but it is not a Copilot+ PC which demand 40 TOPs. Nonetheless, Dell also claimed a 26% performance boost in multi-core applications compared to the previous generation XPS Desktop. It also comes with a 1TB NVMe SSD for speedy boots and app launches and there is 1x 16GB DDR5-5200 RAM which should help to cut through all of your tasks, though, it may not be enough for very demanding tasks. Dell has made this tower PC with upgrades in mind with available memory, storage, and expansion slots. It also features a new thermal design with 120mm fan, and the company claims this makes it up to 22% quieter while maintaining cooling performance. Here's more about the expansion options: The system supports dual 4K monitors through an HDMI 2.0 port and a Thunderbolt 4 Type-C port. It also has a built-in media card reader for quick import of RAW images. Another nice feature with this tower is that it’s equipped with Wi-Fi 7, which promises “4.8x faster throughput, lower latency and greater capacity” for seamless online experiences. This Dell comes with Windows 11 Home and 6-months of Dell Migrate to help users move files and settings to their new computer. If you are interested in this deal, check out the buying link below. Dell Tower Plus EBT2250: $1,099.99 (Amazon US) / MSRP $1,460.64 This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
  • Recent Achievements

    • One Month Later
      Jaclidio hoy earned a badge
      One Month Later
    • Week One Done
      Yawdee earned a badge
      Week One Done
    • Week One Done
      eugwalker earned a badge
      Week One Done
    • First Post
      Ben Gross earned a badge
      First Post
    • One Month Later
      chiptuning earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      638
    2. 2
      +FloatingFatMan
      179
    3. 3
      ATLien_0
      144
    4. 4
      Xenon
      120
    5. 5
      wakjak
      107
  • Tell a friend

    Love Neowin? Tell a friend!