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

    • I think it's bloody great, old chap!
    • Not the deal that 2nd hand purchasers tend to look for - no.  It's cheaper than the sum of it's parts new - yes.  But people looking for 2nd hand, pre-built computers are rarely looking for what you are selling. Don't misunderstand; as an informed enthusiast I like that computer, and as an informed enthusiast I am often asked "My son wants a gaming PC and here's my budget" - in which case, as an informed enthusiast I would totally point them in this sort of direction.  But I am not the mass market, hence you may well have to wait longer for a sale. If you're looking for speed - then breaking it into parts is likely to pay off better on that front, as there will be more people who suit that market and their likelihood of buying 2nd hand is more fruitful.  But - chore!
    • What is the purpose of this article? You didn't even mention that CPU is powering it, so we don't know what GPU/iGPU it has. We don't know if the memory is on chip, on the motherboard, is expandable or replaceable. And that's only the internals. Display type, resolution, brightest you didn't even mention the DPI. Without one or more if these capabilities no one who reads these strung together words will know if they should or shouldn't buy it. The only HINT is from the sticker on the photo of the laptop. Q: what do you get for wasting people's time? Their must be some value or you wouldn't have wasted your time either.
    • That is some storage. I have an old F4-210 and it works well for what it is, just a shame Terramaster will not update the software for it.
  • Recent Achievements

    • Week One Done
      Yianis earned a badge
      Week One Done
    • Veteran
      Travesty went up a rank
      Veteran
    • One Month Later
      somar86 earned a badge
      One Month Later
    • Week One Done
      somar86 earned a badge
      Week One Done
    • Apprentice
      Adrian Williams went up a rank
      Apprentice
  • Popular Contributors

    1. 1
      +primortal
      506
    2. 2
      ATLien_0
      260
    3. 3
      +Edouard
      186
    4. 4
      +FloatingFatMan
      177
    5. 5
      snowy owl
      132
  • Tell a friend

    Love Neowin? Tell a friend!