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


Groups > linux.debian.user > #205235

Re: WiFi without Network Manager

From <tomas@tuxteam.de>
Newsgroups linux.debian.user
Subject Re: WiFi without Network Manager
Date 2019-02-12 15:40 +0100
Message-ID <xqHo5-5dT-1@gated-at.bofh.it> (permalink)
References <xqH4K-57L-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 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.

Enjoy simple life :-)

Cheers
-- t

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