Re: Acess Devian 9 laptop by another devica via wifi

2019-08-11 Thread Tom Browder
On Mon, Apr 1, 2019 at 10:15 Mark Fletcher  wrote:

> On Sat, Mar 23, 2019 at 08:31:34AM -0500, Tom Browder wrote:
> > On Sat, Mar 23, 2019 at 5:12 AM Tom Browder 
> wrote:
> > >
> > > > > Is there any reliable way to either (1) always connect via the LAN
> or (2)
> > > > > make the laptop broadcast its own LAN so I can login to it
> wirelessly from
> > > > > the iPad?
> >
> > Solved!!
> >
> > I tried using my iPhjone as a personal hotspot and connected the
> > laptop AND iPad to it and I can ssh into the laptop with no problems.
>
> I'm pleasantly surprised to hear that worked. I wouldn't have said it
> was a given that an iPhone personal hotspot would do routing between
> multiple WiFi devices connected to it. Obviously between the WiFi and
> the phone, but...
>
> Of course the downside of this approach is the iPhone itself switches
> away from WiFi when you do this, and any data usage *it* does while you
> are working goes over the phone, potentially costing you money... I once
> ran up a >$2000 phone bill while roaming in HK because I didn't realise
> an online broker's app was still running on the phone, streaming
> prices...
>

That's good info to know, thanks, Mark!

Cheers!

-Tom


Re: Acess Devian 9 laptop by another devica via wifi

2019-04-01 Thread Mark Fletcher
On Sat, Mar 23, 2019 at 08:31:34AM -0500, Tom Browder wrote:
> On Sat, Mar 23, 2019 at 5:12 AM Tom Browder  wrote:
> >
> > > > Is there any reliable way to either (1) always connect via the LAN or 
> > > > (2)
> > > > make the laptop broadcast its own LAN so I can login to it wirelessly 
> > > > from
> > > > the iPad?
> 
> Solved!!
> 
> I tried using my iPhjone as a personal hotspot and connected the
> laptop AND iPad to it and I can ssh into the laptop with no problems.
> 
> -Tom
> 

I'm pleasantly surprised to hear that worked. I wouldn't have said it 
was a given that an iPhone personal hotspot would do routing between 
multiple WiFi devices connected to it. Obviously between the WiFi and 
the phone, but...

Of course the downside of this approach is the iPhone itself switches 
away from WiFi when you do this, and any data usage *it* does while you 
are working goes over the phone, potentially costing you money... I once 
ran up a >$2000 phone bill while roaming in HK because I didn't realise 
an online broker's app was still running on the phone, streaming 
prices...

Mark



Re: Acess Devian 9 laptop by another devica via wifi

2019-03-23 Thread Tom Browder
On Sat, Mar 23, 2019 at 5:12 AM Tom Browder  wrote:
>
> > > Is there any reliable way to either (1) always connect via the LAN or (2)
> > > make the laptop broadcast its own LAN so I can login to it wirelessly from
> > > the iPad?

Solved!!

I tried using my iPhjone as a personal hotspot and connected the
laptop AND iPad to it and I can ssh into the laptop with no problems.

-Tom



Re: Acess Devian 9 laptop by another devica via wifi

2019-03-23 Thread Dan Ritter
Tom Browder wrote: 
> I travel often with a hefty laptop running Debian 9 and like to do casual
> programming on it remotely via a terminal app (Termius) on an iPad. In many
> situations I am able to access the laptop when on a wireless LAN by getting
> its IP address with "sudo ifconfig" and simply using that address in
> Termius to ssh in to the laptop.
> 
> However, someteimes that does not work until I edit the wireless connection
> and declare it public. And in still other cases I cannot access the laptop
> at all.
> 
> Is there any reliable way to either (1) always connect via the LAN or (2)
> make the laptop broadcast its own LAN so I can login to it wirelessly from
> the iPad?

The times that you can't connect are probably due to the
configuration of the network you are connecting to, not anything
under your control.

One easy and cheap workaround would be to add a second wifi interface to
the laptop via a USB interface -- find one that's compatible
with hostapd, and run that. You'll get a private wifi network
for your laptop and your iPad.

-dsr-



Re: Acess Devian 9 laptop by another devica via wifi

2019-03-23 Thread Tom Browder
> > Is there any reliable way to either (1) always connect via the LAN or (2)
> > make the laptop broadcast its own LAN so I can login to it wirelessly from
> > the iPad?
...
> It is unclear to me if you have one internal network (network behind
> your laptop) or if both the Ipad and the laptop are connected to the
> wireless infrastructure of the guest (hotel airport ...).

Both are connected to the same wireless LAN.

Thanks.

-Tom



Re: Acess Devian 9 laptop by another devica via wifi

2019-03-23 Thread john doe
On 3/23/2019 12:48 AM, Tom Browder wrote:
> I travel often with a hefty laptop running Debian 9 and like to do casual
> programming on it remotely via a terminal app (Termius) on an iPad. In many
> situations I am able to access the laptop when on a wireless LAN by getting
> its IP address with "sudo ifconfig" and simply using that address in
> Termius to ssh in to the laptop.
>
> However, someteimes that does not work until I edit the wireless connection
> and declare it public. And in still other cases I cannot access the laptop
> at all.
>
> Is there any reliable way to either (1) always connect via the LAN or (2)
> make the laptop broadcast its own LAN so I can login to it wirelessly from
> the iPad?
>

I guess you would need to use (1)

It is unclear to me if you have one internal network (network behind
your laptop) or if both the Ipad and the laptop are connected to the
wireless infrastructure of the guest (hotel airport ...).


The former would be your best bet here including improve security.
If the latter, you can't control the restriction put on the guest
wireless. So advertising services on a guest network might never work.


https://en.wikipedia.org/wiki/Bonjour_(software)

--
John Doe



Acess Devian 9 laptop by another devica via wifi

2019-03-22 Thread Tom Browder
I travel often with a hefty laptop running Debian 9 and like to do casual
programming on it remotely via a terminal app (Termius) on an iPad. In many
situations I am able to access the laptop when on a wireless LAN by getting
its IP address with "sudo ifconfig" and simply using that address in
Termius to ssh in to the laptop.

However, someteimes that does not work until I edit the wireless connection
and declare it public. And in still other cases I cannot access the laptop
at all.

Is there any reliable way to either (1) always connect via the LAN or (2)
make the laptop broadcast its own LAN so I can login to it wirelessly from
the iPad?

Thanks.

With warmest regards,

-Tom