Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206498 > unrolled thread

Acess Devian 9 laptop by another devica via wifi

Started byTom Browder <tom.browder@gmail.com>
First post2019-03-23 00:50 +0100
Last post2019-03-23 14:40 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Acess Devian 9 laptop by another devica via wifi Tom Browder <tom.browder@gmail.com> - 2019-03-23 00:50 +0100
    Re: Acess Devian 9 laptop by another devica via wifi john doe <johndoe65534@mail.com> - 2019-03-23 09:20 +0100
      Re: Acess Devian 9 laptop by another devica via wifi Tom Browder <tom.browder@gmail.com> - 2019-03-23 11:20 +0100
        Re: Acess Devian 9 laptop by another devica via wifi Tom Browder <tom.browder@gmail.com> - 2019-03-23 14:40 +0100
          Re: Acess Devian 9 laptop by another devica via wifi Mark Fletcher <mark27q1@gmail.com> - 2019-04-01 17:20 +0200
    Re: Acess Devian 9 laptop by another devica via wifi Dan Ritter <dsr@randomstring.org> - 2019-03-23 14:40 +0100

#206498 — Acess Devian 9 laptop by another devica via wifi

FromTom Browder <tom.browder@gmail.com>
Date2019-03-23 00:50 +0100
SubjectAcess Devian 9 laptop by another devica via wifi
Message-ID<xEC5b-5e3-11@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [next] | [standalone]


#206514

Fromjohn doe <johndoe65534@mail.com>
Date2019-03-23 09:20 +0100
Message-ID<xEK2J-1UX-1@gated-at.bofh.it>
In reply to#206498
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

[toc] | [prev] | [next] | [standalone]


#206517

FromTom Browder <tom.browder@gmail.com>
Date2019-03-23 11:20 +0100
Message-ID<xELUR-35e-3@gated-at.bofh.it>
In reply to#206514
> > 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

[toc] | [prev] | [next] | [standalone]


#206520

FromTom Browder <tom.browder@gmail.com>
Date2019-03-23 14:40 +0100
Message-ID<xEP2q-4SR-13@gated-at.bofh.it>
In reply to#206517
On Sat, Mar 23, 2019 at 5:12 AM Tom Browder <tom.browder@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#206881

FromMark Fletcher <mark27q1@gmail.com>
Date2019-04-01 17:20 +0200
Message-ID<xI6T8-3DF-7@gated-at.bofh.it>
In reply to#206520
On Sat, Mar 23, 2019 at 08:31:34AM -0500, Tom Browder wrote:
> On Sat, Mar 23, 2019 at 5:12 AM Tom Browder <tom.browder@gmail.com> 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

[toc] | [prev] | [next] | [standalone]


#206519

FromDan Ritter <dsr@randomstring.org>
Date2019-03-23 14:40 +0100
Message-ID<xEP2p-4SR-5@gated-at.bofh.it>
In reply to#206498
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-

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web