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


Groups > linux.debian.user > #245792

Re: What should I put inside the file called wlan0?

From Tim Woodall <debianuser@woodall.me.uk>
Newsgroups linux.debian.user
Subject Re: What should I put inside the file called wlan0?
Date 2022-03-01 16:40 +0100
Message-ID <DWcLv-5aiZ-5@gated-at.bofh.it> (permalink)
References (2 earlier) <DVUlz-4Z1z-1@gated-at.bofh.it> <DW9DX-58wa-5@gated-at.bofh.it> <DWbPr-59K8-7@gated-at.bofh.it> <DWbZ7-59NJ-1@gated-at.bofh.it> <DWc8N-59QU-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 1 Mar 2022, Greg Wooledge wrote:

> On Tue, Mar 01, 2022 at 02:42:29PM +0000, Tim Woodall wrote:
>> My /etc/network/interfaces has:
>> # interfaces(5) file used by ifup(8) and ifdown(8)
>> # Include files from /etc/network/interfaces.d:
>> source-directory /etc/network/interfaces.d
>
> Did you write this file yourself, or are you using something other
> than Debian?  Just curious.
>
> unicorn:~$ grep interfaces /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> source /etc/network/interfaces.d/*
>
>

I was going to say I almost certainly wrote it myself as this machine
has been continuously upgraded going back to the dark ages. However, now
I check every single machine uses this and I cannot see where I have
manually configured it. I use my own installer - and I now discover that
moinmoin is no longer in bullseye so my wiki-pages about it are all gone
:-(

But when I look at the ifupdown.postinst script for buster I see:
# Generic stuff done on all configurations
if [ "$1" = "configure" ] ; then
   # We don't need loopback interface definition anymore as
   # ifupdown handles loopback interface on its own from now
   if [ ! -f /etc/network/interfaces ] ; then
     if [ -z "$2" ]; then
       echo "Creating /etc/network/interfaces."
       echo "# interfaces(5) file used by ifup(8) and ifdown(8)" >
/etc/network/interfaces
       echo "# Include files from /etc/network/interfaces.d:" >>
/etc/network/interfaces
       echo "source-directory /etc/network/interfaces.d" >>
/etc/network/interfaces
     else
       report_warn "/etc/network/interfaces does not exist"
     fi
   fi
fi

So it looks like it changed for bullseye and as I have not installed a
machine from scratch for bullseye yet I've not seen the latest variant.

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


Thread

What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-02-28 19:50 +0100
  Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-02-28 20:20 +0100
    Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-02-28 21:00 +0100
      Re: What should I put inside the file called wlan0? tomas@tuxteam.de - 2022-02-28 21:30 +0100
        Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-02-28 22:50 +0100
      Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-02-28 21:30 +0100
        Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-02-28 22:50 +0100
          Re: What should I put inside the file called wlan0? tomas@tuxteam.de - 2022-03-01 07:40 +0100
            Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-01 13:20 +0100
              Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-01 15:30 +0100
                Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-01 16:00 +0100
            Re: What should I put inside the file called wlan0? Stefan Monnier <monnier@iro.umontreal.ca> - 2022-03-01 15:20 +0100
              Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-03-01 15:50 +0100
      Re: What should I put inside the file called wlan0? Tim Woodall <debianuser@woodall.me.uk> - 2022-03-01 13:20 +0100
        Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-03-01 13:30 +0100
          Re: What should I put inside the file called wlan0? David Wright <deblis@lionunicorn.co.uk> - 2022-03-01 15:40 +0100
            Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-03-01 15:50 +0100
        Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-01 15:40 +0100
          Re: What should I put inside the file called wlan0? Tim Woodall <debianuser@woodall.me.uk> - 2022-03-01 15:50 +0100
            Re: What should I put inside the file called wlan0? Greg Wooledge <greg@wooledge.org> - 2022-03-01 16:00 +0100
              Re: What should I put inside the file called wlan0? Tim Woodall <debianuser@woodall.me.uk> - 2022-03-01 16:40 +0100
                wikis: moin-moin : plain text (was: Re: What should I put inside the file called wlan0?) rhkramer@gmail.com - 2022-03-03 14:50 +0100
                Re: wikis: moin-moin : plain text (was: Re: What should I put inside  the file called wlan0?) Greg Wooledge <greg@wooledge.org> - 2022-03-03 15:00 +0100
                Re: wikis: moin-moin : plain text (was: Re: What should I put inside  the file called wlan0?) Tim Woodall <debianuser@woodall.me.uk> - 2022-03-03 15:50 +0100
      Re: What should I put inside the file called wlan0? David Wright <deblis@lionunicorn.co.uk> - 2022-03-01 17:30 +0100
        Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-02 09:10 +0100
          Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-02 19:00 +0100
            Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 09:00 +0100
              Re: What should I put inside the file called wlan0? Tim Woodall <debianuser@woodall.me.uk> - 2022-03-03 12:30 +0100
                Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 19:30 +0100
                Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-03 19:50 +0100
                Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 20:00 +0100
            Re: What should I put inside the file called wlan0? David Wright <deblis@lionunicorn.co.uk> - 2022-03-03 17:00 +0100
              Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 19:50 +0100
                Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-03-03 21:00 +0100
                Re: What should I put inside the file called wlan0? David Wright <deblis@lionunicorn.co.uk> - 2022-03-08 16:20 +0100
            Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 19:40 +0100
              Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-03 19:50 +0100
                Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-03 20:00 +0100
                Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-03 20:00 +0100
          Re: What should I put inside the file called wlan0? David Wright <deblis@lionunicorn.co.uk> - 2022-03-08 16:20 +0100
  Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-02-28 21:10 +0100
    Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-02-28 21:20 +0100
      Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-01 00:20 +0100
        Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-01 06:10 +0100
          Re: What should I put inside the file called wlan0? Markus Schönhaber <debian-user@list-post.mks-mail.de> - 2022-03-01 09:00 +0100
            Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-01 12:10 +0100
        Re: What should I put inside the file called wlan0? <tomas@tuxteam.de> - 2022-03-01 07:50 +0100
  Re: What should I put inside the file called wlan0? Nicolas George <george@nsup.org> - 2022-02-28 22:20 +0100
    Re: What should I put inside the file called wlan0? Ash Joubert <ash@transient.nz> - 2022-02-28 23:50 +0100
      Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-01 00:50 +0100
        Re: What should I put inside the file called wlan0? Curt <curty@free.fr> - 2022-03-01 10:30 +0100
        Re: What should I put inside the file called wlan0? Ash Joubert <ash@transient.nz> - 2022-03-01 22:20 +0100
      Re: What should I put inside the file called wlan0? Stella Ashburne <rewefie@gmx.com> - 2022-03-01 06:10 +0100
    Re: What should I put inside the file called wlan0? Brian <ad44@cityscape.co.uk> - 2022-03-01 00:50 +0100
      Re: What should I put inside the file called wlan0? Nicolas George <george@nsup.org> - 2022-03-01 10:50 +0100

csiph-web