Re: Hotel wifi network - how to connect / ssh between 2 laptops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/22/24 09:45, Thomas Cameron wrote:
If you want to connect between two laptops, I would just buy an ethernet cable (e.g. https://www.amazon.com/Amazon-Basics-Ethernet-Gold-Plated-Connectors/dp/B00N2VILDM) and configure one laptop with a static ethernet ip address of something like 172.31.101.1 and the other with 172.31.101.2. Add them to your /etc/hosts file like:

172.31.101.1    laptop1
172.31.101.2    laptop2

Then each of them would have wifi access out to the Internet, and they'd be able to ssh into each other using "ssh laptop1" or "ssh laptop2" for any connections between them.

It's a small pain, but it's a LOT easier than trying to circumvent security on commercial wifi networks (which can get you kicked off the network or even kicked out of the hotel or business).

The simpler option is to enable internet sharing on one of them, then the IP addresses are handled automatically.
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux