logo elektroda
logo elektroda
X
logo elektroda

Minecraft - how to play with a friend from another house over LAN. Solution.

Wojtek 24 lata 22275 9
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 18700031
    Wojtek 24 lata
    Level 25  
    Hello.
    I actually lost a weekend before I realized how simple it is (although not perfect) to solve a problem like: how to play Minecraft without servers with a friend from another house over LAN?

    Connecting a friend only via WiFi - because it is not possible to run a crossover cable. And each time it happened that either it did not detect the LAN world at all, or despite detecting the LAN world, the connection took a long time and ended in failure...

    The connection was simple. I set the additional TP-Link router in Access Point mode. Internet from the WAN side to the router, and "1" back to my network card. My friend only connected remotely via WiFi to my Access Point in the cottage. Everyone logged in, there was no playing. However, at home, my parents` laptop was also connected to the Access Point via Wi-Fi, and the game was played via LAN, PC-Acer; conclusion that WiFi understands whose house and room it is... Nonsense, of course...

    The solution turned out to be simple. Your friend must unplug his Internet while playing. Start the computer, Windows, then Launcher and Minecraft on my Internet connection. There are probably lines of code in the game that determine whose Internet provider the game runs at all... With a cross-connected cable, it probably doesn`t matter, but if I run it on Orange and my friend uses Netia, we should have a common Access Point via Wi-Fi "with" or "without" the Internet from anyone, there will be no more games in the world on the internal LAN...

    Now all you have to do is have fun. I bought a second Realtek LAN PCI network card and I connect the TP-Link TL-WR841N router to it in Access Point mode. We will reduce two RJ-45 LAN cables to one depending on where the router is to be placed, or an attached antenna with a longer range. You can connect to such a router as much as you want, but it does not have the Internet, and playing over LAN will not work in several configurations... When creating a bridge connection between two of my network cards, in the Control Panel/Network I decide when to share my Internet, and when not, and I don`t have to reconnect cables or turn off the router...

    The disadvantages include increasing ping, although we did not notice any lag...
  • ADVERTISEMENT
  • #2 18700327
    tzok
    Moderator of Cars
    ...and by chance your friend`s router didn`t assign him an IP address from the same network as your router? E.g. 192.168.0.xxx? If so, no wonder it didn`t work.
  • ADVERTISEMENT
  • #3 18700492
    Wojtek 24 lata
    Level 25  
    tzok wrote:
    ...and by chance your friend`s router didn`t assign him an IP address from the same network as your router? E.g. 192.168.0.xxx? If so, no wonder it didn`t work.


    There is one router in this connecting installation.
    The simplest configuration is this:

    My LAN card integrated into the motherboard -> first IP address and MAC address.
    TP-Link WR841N router in Access Point mode -> second IP address and MAC address.
    Friend, LAN card integrated with the motherboard -> third IP address and MAC address.
    Friends, USB WiFi card -> fourth IP address and MAC address.

    That`s all.
    The series arrangement is as follows:

    My Orange router connects to the TP-Link WR841N WAN in Access Point mode. Output "1" of the TP-Link WR841N goes to my LAN card integrated with the motherboard. If anything here had the same IP address, Windows would prompt that the same IP address exists on the network, just as Windows would prompt that there is, for example, a duplicate name on the same network. That`s all from my side.

    My fellow Netia router crashes into his LAN card integrated with the motherboard. However, the TP-Link -> TL-WN722N WiFi to USB adapter connects to my WR841N router in Access Point mode. There are no prompts in Windows that there are conflicts of the same IPs or duplicate names.

    You can draw it on a piece of paper.

    Variant 1: We turn on computers and games and gather together via the network to play together. While Minecraft is running, one of us shares the world on LAN. There will be no connection, and no gaming either.

    Variant 2: My friend only unplugs the Ethernet cable, thus disconnecting the integrated LAN of the PC from the router to Netia. He disconnects his Internet from his computer. It restarts the computer, Windows, Minecraft, after connecting via Wifi to my WR841N router in Access Point mode. At www.speedtest.pl he now sees himself as an Orange customer, not Netia, and we know why. There are no prompts on our computers that there is an IP address conflict, because there are, for example, at least two of them the same, and no prompts about a duplicate name on the network. Whoever of us is not the first to launch the world in LAN, the second one sees it and joins the game in 2.5 seconds.

    TLauncher and Minecraft are probably doing the dirty work. While the "script" in Counter Strike GO or ZULA Cargando will connect us in multiplayer mode without the need for one of us to disconnect the Ethernet, and usually this is done by a friend because I have a faster Internet, TLauncher and Minecraft do exactly the opposite, as if block open multiplayer gaming and dedicate gaming with an emphasis on the server, including paid...
  • ADVERTISEMENT
  • #4 18700620
    tzok
    Moderator of Cars
    My friend has his own Internet, so he also has a router and a DHCP server. The point is whether the IP he received from his ISP "via cable" was not from the same network as he received from your router/AP via WiFi. I`m not writing about an address conflict, but about addresses from the same network from two different routers at my friend`s. For example, his Netia router gave him 192.168.0.23, and your TP-Link router gave him, for example, 192.168.0.179.

    Moreover, the situation when you have two default gateways in one computer is "a bit" troublesome, so don`t look for conspiracy theories.

    Wojtek 24 lata wrote:
    My Orange router connects to the TP-Link WR841N WAN in Access Point mode.
    Since it is connected to the Internet through the WAN port, it works as a router with AP, not just AP. This router cannot switch to "pure" AP mode (although you can disable DHCP and use it anyway, leaving the WAN port unconnected).
  • ADVERTISEMENT
  • #5 18700919
    Wojtek 24 lata
    Level 25  
    tzok wrote:
    My friend has his own Internet, so he also has a router and a DHCP server. The point is whether the IP he received from his ISP "via cable" was not from the same network as he received from your router/AP via WiFi. I`m not writing about an address conflict, but about addresses from the same network from two different routers at my friend`s. For example, his Netia router gave him 192.168.0.23, and your TP-Link router gave him, for example, 192.168.0.179.

    Moreover, the situation when you have two default gateways in one computer is "a bit" troublesome, so don`t look for conspiracy theories.


    Nobody talks about conspiracy theories. If I were writing a game for a server with a LAN option, I could plan it differently. Programming languages are flexible.
    For Orange I use 192.168.1.1 and for TP-Link I use 192.168.1.34. It is true that my friend still has his default gateway 192.168.xx
    If the problem is the IP address of my T-Link router, what address do you suggest changing it to? I will give you an answer whether in an unchanged connection configuration this brought a solution.
  • #6 18700983
    tzok
    Moderator of Cars
    Well, this is a disaster, because your router has the same network on the WAN and LAN ports, it supposedly works like a bridge, but there are still two DHCP servers (one in the Orange router, the other in TP-Link). Set your TP-Link IP, e.g. to 192.168.20.1 (but first make sure that your friend I do not get from the Netia router also 192.168.20.x).
  • #7 18701020
    Wojtek 24 lata
    Level 25  
    The only thing I can do is set e.g. a static IP.

    Minecraft - how to play with a friend from another house over LAN. Solution.

    However, Minecraft will launch as an offline version...

    Minecraft - how to play with a friend from another house over LAN. Solution.

    Now I will return to the default TP-Link settings in AP mode

    Minecraft - how to play with a friend from another house over LAN. Solution.

    and you can see that DHCP is disabled by default in AP mode in TP-Link...

    Minecraft - how to play with a friend from another house over LAN. Solution.

    So, or your friend, when he feels like it, because he`s tired and discouraged :) will change the IP in the Netia router on its side, or we play with two players in one room in one house, on the same Internet. So I have to extend my Internet to my house and my friend`s room. I don`t see any other consideration.

    Many people suggest using e.g. Hamachi or setting up a server. The same number of people write: "we made xyx" and "it doesn`t work for us"... Athernos servers on the weekend make me wait ~2 hours, that`s the queue in front of me. Paying for a server makes no sense - too expensive in time.
    It is true that it is easy to record a video on YT by an 11-year-old who, with a childish voice, explains the simplicity of opening the game in LAN for another player and a computer on the same Internet network. This won`t work if someone is on their own internet.

    Perhaps I will persuade my friend to leave the Netia router plugged in, but disconnect the cable coming to the apartment. This way, the Netia router will remain on its IP, but there will be no Netia network. We will see the effect when launching Minecraft, and whether you actually say correctly from the very beginning that it is a conflict of gateways and routers with their IP.
  • #8 18702263
    tzok
    Moderator of Cars
    It looks like you actually have AP mode, with the WAN interface disabled (not the port!)... I don`t see the Operation Mode option at all in the emulator. If so, your Orange router is responsible for changing the IP address.
  • #9 18702978
    Wojtek 24 lata
    Level 25  
    tzok wrote:
    It looks like you actually have AP mode, with the WAN interface disabled (not the port!)... I don`t see the Operation Mode option at all in the emulator. If so, your Orange router is responsible for changing the IP address.


    You asked about Operation Mode in TP-Link, here`s a screenshot:

    Minecraft - how to play with a friend from another house over LAN. Solution.

    It is marked AP, whatever that means.
    What IP address should I try to change it to from the Orange router?
  • #10 18703172
    tzok
    Moderator of Cars
    Now you have 192.168.1.1 on the Orange router, so change it to e.g. 192.168.128.1. You will probably need to restart TP-Link and your computer after this.

Topic summary

The discussion revolves around connecting to Minecraft over a Local Area Network (LAN) with a friend from a different location using WiFi. The user initially faced issues with LAN world detection and connection failures. The solution involved configuring a TP-Link WR841N router in Access Point mode, ensuring that both devices received distinct IP addresses from different routers to avoid conflicts. Key points included the importance of having separate DHCP servers and the need to change the TP-Link router's IP address to prevent network overlap. Suggestions were made to set static IPs and to consider using alternative solutions like Hamachi for easier connectivity.
Summary generated by the language model.
ADVERTISEMENT