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

    • Download old Windows Startup Sounds @ https://www.winhistory.de/more/winstart/winstart_en.htm
    • Surface Copilot+ PCs coming to classrooms from July 22, turbocharged with on-device AI by Paul Hill Microsoft has announced that it’s launching the new Surface Pro 12-inch and Surface Laptop 13-inch models specifically for education customers from July 22. The Redmond giant said that these devices are being launched as a direct response to feedback from educators who want practicality and ease of use in their diverse classrooms. These are both Copilot+ PCs so teachers and students will be able to leverage the latest AI features thanks to the dedicated Neural Processing Units (NPUs) that allow for on-device AI. The on-device AI, aside from delivering well-known features like Recall, will enable new education features such as a new app Microsoft is working on called Microsoft Learning Zone. Microsoft Learning Zone will allow teachers to create personalized lessons by adapting content from trusted sources like OpenStax, generating interactive games with Kahoot, and tracking students progress. Microsoft expects this to help teachers save time and deliver a more flexible and engaging classroom. Another AI feature that will be available is Click to Do. This lets students highlight text or images and get contextual help. It can be used to summarize a paragraph or explain a graph. To activate it, students can press the Windows key and click. This feature runs entirely on device so inputs to the AI are secure and you don’t need to ever worry about third-parties seeing. Finally, these devices will also have accessibility features such as Voice Access which lets you navigate with speech and Live Captions which provide real-time subtitles and translations for spoken content. These make the devices more inclusive for students with disabilities. Regarding security, these laptops come with the Microsoft Pluton security chip directly integrated into the processor for protecting sensitive data. It can protect data such as passwords and sign-ins, even if your device is stolen. Thanks to automatic Windows Updates, schools never need to worry about falling behind on updates either. With the impending demise of Windows 10 in mid-October, these Surface devices arrive just in time for schools looking for somewhere to upgrade to. Aside from AI features and security, Microsoft is also pushing other key features including easy repair with replacement components at the Microsoft Store and iFixit, their lightweight design and all-day battery life making them ideal for carrying and surviving the school day, and their compatibility with popular education apps such as TestNav, Google Classroom, Minecraft Education, and Adobe Express.
  • Recent Achievements

    • Rising Star
      Phillip0web went up a rank
      Rising Star
    • One Month Later
      Epaminombas earned a badge
      One Month Later
    • One Year In
      Bert Fershner earned a badge
      One Year In
    • Reacting Well
      ChrisOdinUK earned a badge
      Reacting Well
    • One Year In
      Steviant earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      545
    2. 2
      ATLien_0
      205
    3. 3
      +FloatingFatMan
      170
    4. 4
      Michael Scrip
      151
    5. 5
      Som
      131
  • Tell a friend

    Love Neowin? Tell a friend!