0

I would like to connect two devices via Wifi without using the router.

The ubuntu device has been configured like this.

sudo ifconfig wlan0 192.168.1.46 netmask 255.255.255.0
sudo route add default gw 192.168.1.46 wlan0

And the windows one is configured manually at the Network Connection --> IPv4 IP: 192.168.1.47 Mask: 255.255.255.0 GW: 192.168.1.46

However, I cannot ping one device to another. How should I do it?

2
  • 1
    If you do not have a router, then you likely have two different wireless networks and you cannot connect just like a router. You may need to join by VPN or something similar.
    – anon
    Commented Sep 3, 2021 at 12:45
  • What you're looking for is ad-hoc networking. Clear instructions are easy to find with google, Youtube also has good videos about it. Since I've never done it myself I'm not putting this up as an answer at this point. Commented Sep 3, 2021 at 13:15

0

You must log in to answer this question.

Browse other questions tagged .