On 3/22/24 11:09, Sbob wrote:
All
I have 2 laptops I need to connect for testing / coding via ssh, if I
connect each to the hotel wifi I cannot connect across laptops with ssh,
If I grab a wifi router and connect it to the hotel wifi and use the
router's wifi will this work?
would it also work with a simple wifi extender?
Thanks for any advice
You will almost certainly not be able to connect between devices on a
commercial wifi network. They don't want folks to attack other machines
on the network. It would be a huge scandal if a hotel allowed a guest to
connect to other guests' laptops.
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).
Hope this helps!
--
Thomas
--
_______________________________________________
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