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


Groups > linux.debian.user > #205341

Re: WiFi without Network Manager

From Kenneth Parker <sea7kenp@gmail.com>
Newsgroups linux.debian.user
Subject Re: WiFi without Network Manager
Date 2019-02-15 00:30 +0100
Message-ID <xryC5-4vD-1@gated-at.bofh.it> (permalink)
References <xqH4K-57L-1@gated-at.bofh.it> <xqHo5-5dT-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Tue, Feb 12, 2019 at 9:30 AM <tomas@tuxteam.de> wrote:

> On Tue, Feb 12, 2019 at 09:10:08AM -0500, Kenneth Parker wrote:
> > I occasionally run, what I will describe as "Coffee House Lan Parties".
> > That means I connect to the Internet via WiFi, and then supply a "Local
> > Ethernet" network (with ipv4), for others to connect with.
> >
> > Doing this with Network Manager "worked", but only with "loud
> complaining"
> > by Network Manager.
> >
> > What I want now, are the "steps" that Network Manager takes, to bring up
> > WiFi, so I can create an "in-demand" Root-level Script that I can run,
> for
> > the WiFi part.  (The rest works fine, using /etc/network/interfaces).
>
> Actually ifupdown is perfectly capable of doing the work (well, it just
> orchestrates it, but it commes with all the necessary scripts for that).
>
> Here's my stanza in /etc/network/interfaces (passphrase somewhat decorated,
> to protect the innocent):
>
>   iface wlan0 inet dhcp
>     wpa-ssid dubcek
>     wpa-psk XXXXXXXXXXXXXXXX
>
> That's all it is needed for ifup to set up wlan0, go out with DHCP and
> fetch an IP address from our local DHCP server.
>
> Of course it relies on wpasupplicant and dhclient to do the actual
> magic behind the scenes.
>

What did you have to do, the first time?  When you were determining the
Network Name (wpa-ssid)?  (Having to know everything in advance isn't too
cool,  when you visit multiple Coffee Houses. And connecting to the wrong
ssid could get you into some  *SERIOUS*  trouble!)

I am doing my own investigation, by the way, finding general information
on a "competing" Distro (Arch):

   https://wiki.archlinux.org/index.php/WPA_supplicant

This site suggests that wpa_cli gives useful information,  so I will see
what that looks like, and then use your interfaces method.

Enjoy simple life :-)
>
> Cheers
> -- t
>

Thanks!

Kenneth Parker

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-12 15:20 +0100
  Re: WiFi without Network Manager <tomas@tuxteam.de> - 2019-02-12 15:40 +0100
    Re: WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-12 15:50 +0100
      Re: WiFi without Network Manager <tomas@tuxteam.de> - 2019-02-12 16:00 +0100
        Re: WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-12 19:00 +0100
          Re: WiFi without Network Manager Eduardo M KALINOWSKI <eduardo@kalinowski.com.br> - 2019-02-12 19:50 +0100
            Re: WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-12 20:10 +0100
    Re: WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-15 00:30 +0100
      Re: WiFi without Network Manager mett <mett@pmars.jp> - 2019-02-15 05:00 +0100
        Re: WiFi without Network Manager Kenneth Parker <sea7kenp@gmail.com> - 2019-02-15 06:00 +0100
          Re: WiFi without Network Manager didier gaumet <didier.gaumet@gmail.com> - 2019-02-15 09:10 +0100
  Re: WiFi without Network Manager ghe <ghe@slsware.net> - 2019-02-12 15:50 +0100
    Glenn -> Re: WiFi without Network Manager deb <deb@rangingthoughts.org> - 2019-02-12 17:20 +0100
      Re: WiFi without Network Manager ghe <ghe@slsware.net> - 2019-02-12 21:10 +0100
        Re: WiFi without Network Manager deb <deb@rangingthoughts.org> - 2019-02-13 14:40 +0100
          Re: WiFi without Network Manager rhkramer@gmail.com - 2019-02-13 14:50 +0100
            Re: WiFi without Network Manager John Hasler <jhasler@newsguy.com> - 2019-02-13 15:20 +0100
              Re: WiFi without Network Manager Ric Moore <wayward4now@gmail.com> - 2019-02-13 17:40 +0100
          Re: WiFi without Network Manager mick crane <mick.crane@gmail.com> - 2019-02-13 15:00 +0100
        Swap space choice on a SSD <- Current best practice on? deb <deb@rangingthoughts.org> - 2019-02-13 14:50 +0100
          Re: Swap space choice on a SSD <- Current best practice on? Michael Stone <mstone@debian.org> - 2019-02-13 14:50 +0100
            Re: Swap space choice on a SSD <- Current best practice on? deb <deb@rangingthoughts.org> - 2019-02-13 15:00 +0100
              Re: Swap space choice on a SSD <- Current best practice on? Dan Ritter <dsr@randomstring.org> - 2019-02-13 15:20 +0100
                Thanks Dan. Re: Swap space choice on a SSD <- Current best practice  on? deb <deb@rangingthoughts.org> - 2019-02-13 15:40 +0100
          Re: Swap space choice on a SSD <- Current best practice on? David Christensen <dpchrist@holgerdanske.com> - 2019-02-13 22:20 +0100
            Re: Swap space choice on a SSD <- Current best practice on? Dan Ritter <dsr@randomstring.org> - 2019-02-13 22:30 +0100
              Re: Swap space choice on a SSD <- Current best practice on? Andy Smith <andy@strugglers.net> - 2019-02-13 22:50 +0100
              Re: Swap space choice on a SSD <- Current best practice on? David Christensen <dpchrist@holgerdanske.com> - 2019-02-14 05:20 +0100
            Re: Swap space choice on a SSD <- Current best practice on? Andy Smith <andy@strugglers.net> - 2019-02-13 22:30 +0100
              Re: Swap space choice on a SSD <- Current best practice on? David Christensen <dpchrist@holgerdanske.com> - 2019-02-14 05:30 +0100
            Re: Swap space choice on a SSD <- Current best practice on? Michael Stone <mstone@debian.org> - 2019-02-13 22:30 +0100

csiph-web