Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245732 > unrolled thread
| Started by | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| First post | 2022-02-28 19:50 +0100 |
| Last post | 2022-03-01 10:50 +0100 |
| Articles | 16 on this page of 56 — 13 participants |
Back to article view | Back to linux.debian.user
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
Page 3 of 3 — ← Prev page 1 2 [3]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2022-03-08 16:20 +0100 |
| Message-ID | <DYJMZ-nKv-5@gated-at.bofh.it> |
| In reply to | #245801 |
On Wed 02 Mar 2022 at 09:01:55 (+0100), Stella Ashburne wrote: > From: "David Wright" <deblis@lionunicorn.co.uk> > > > > As long as you have "source /etc/network/interfaces.d/*" in your > > /e/n/interfaces file, then you can call the file wlp7s0, or wlp3s0, > > or anything else, and it will be read. That line in quotes is now > > the default in Debian. > > Just so to be clear...... > > The contents of my /etc/network/interfaces file are: [ … ] > If I have a file called dave in /etc/network/interfaces.d/ and its contents are: [ … ] > Are you saying that my /etc/network/interfaces file may look like the following so long as the line "source /etc/network/interfaces.d/*" (without quotes) is present? [ … ] > > BTW does this mean you've given up on iwd? > > > For the moment, yes. I encountered the same problems when I tried iwd on Fedora 35. The folks of Fedora community were unable to help me fix it. You don't have to worry about the division of information between /e/n/i and /e/n/i.d/ because iwd doesn't use them. And the security information used by iwd is stored in separate files under /var/lib/iwd/, and its permissions are all rwX------. I'm opening another thread on that subject. Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2022-02-28 21:10 +0100 |
| Message-ID | <DVUvf-4Zkd-7@gated-at.bofh.it> |
| In reply to | #245732 |
On Mon 28 Feb 2022 at 19:49:32 +0100, Stella Ashburne wrote: > I quote from Debian Wiki (https://wiki.debian.org/WiFi/HowToUse) : > > "Restrict the permissions of /etc/network/interfaces, to prevent pre-shared key (PSK) disclosure (alternatively use a separate config file such as /etc/network/interfaces.d/wlan0 on newer Debian versions): " > > What should I put in the file called wlan0? Said wiki does not provide examples. You do not want just anyone to read /etc/network/interfaces? chmod 600 /etc/network/interfaces -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2022-02-28 21:20 +0100 |
| Message-ID | <DVUEV-4Znr-9@gated-at.bofh.it> |
| In reply to | #245739 |
Dearie, > Sent: Tuesday, March 01, 2022 at 4:08 AM > From: "Brian" <ad44@cityscape.co.uk> > To: debian-user@lists.debian.org > Subject: Re: What should I put inside the file called wlan0? > > > You do not want just anyone to read /etc/network/interfaces? > > chmod 600 /etc/network/interfaces > That's the recommended step in said Wiki. What's the default chmod value of /etc/network/interfaces? Best regards. Stella
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2022-03-01 00:20 +0100 |
| Message-ID | <DVXt7-514y-1@gated-at.bofh.it> |
| In reply to | #245741 |
On Mon 28 Feb 2022 at 21:17:25 +0100, Stella Ashburne wrote: > Dearie, > > > Sent: Tuesday, March 01, 2022 at 4:08 AM > > From: "Brian" <ad44@cityscape.co.uk> > > To: debian-user@lists.debian.org > > Subject: Re: What should I put inside the file called wlan0? > > > > > > You do not want just anyone to read /etc/network/interfaces? > > > > chmod 600 /etc/network/interfaces > > > That's the recommended step in said Wiki. > > What's the default chmod value of /etc/network/interfaces? Om all my systems: brian@5740:~$ ls -l /etc/network/interfaces -rw-r--r-- 1 root root 475 Nov 3 19:23 /etc/network/interfaces -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2022-03-01 06:10 +0100 |
| Message-ID | <DW2VP-54r5-3@gated-at.bofh.it> |
| In reply to | #245753 |
Dearie > Sent: Tuesday, March 01, 2022 at 7:18 AM > From: "Brian" <ad44@cityscape.co.uk> > To: debian-user@lists.debian.org > Subject: Re: What should I put inside the file called wlan0? > > Om all my systems: > > brian@5740:~$ ls -l /etc/network/interfaces > -rw-r--r-- 1 root root 475 Nov 3 19:23 /etc/network/interfaces > So the default chmod value of /etc/network/interfaces is 475 ? Best regards. Stella
[toc] | [prev] | [next] | [standalone]
| From | Markus Schönhaber <debian-user@list-post.mks-mail.de> |
|---|---|
| Date | 2022-03-01 09:00 +0100 |
| Message-ID | <DW5Al-55UP-3@gated-at.bofh.it> |
| In reply to | #245765 |
01.03.22, 06:04 +0100, Stella Ashburne: >> Sent: Tuesday, March 01, 2022 at 7:18 AM >> From: "Brian" <ad44@cityscape.co.uk> >> To: debian-user@lists.debian.org >> Subject: Re: What should I put inside the file called wlan0? >> >> Om all my systems: >> >> brian@5740:~$ ls -l /etc/network/interfaces >> -rw-r--r-- 1 root root 475 Nov 3 19:23 /etc/network/interfaces >> > So the default chmod value of /etc/network/interfaces is 475 ? No, 475 is the file's size. The numeric value for the permission "-rw-r--r--" is 0644. stat /etc/network/interfaces will show you that. -- Regards mks
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2022-03-01 12:10 +0100 |
| Message-ID | <DW8yd-57U6-13@gated-at.bofh.it> |
| In reply to | #245772 |
Dearie > Sent: Tuesday, March 01, 2022 at 3:49 PM > From: "Markus Schönhaber" <debian-user@list-post.mks-mail.de> > To: debian-user@lists.debian.org > Subject: Re: What should I put inside the file called wlan0? > > > No, 475 is the file's size. > The numeric value for the permission "-rw-r--r--" is 0644. > stat /etc/network/interfaces > will show you that. > Thanks. Stella
[toc] | [prev] | [next] | [standalone]
| From | <tomas@tuxteam.de> |
|---|---|
| Date | 2022-03-01 07:50 +0100 |
| Message-ID | <DW4uB-55iz-1@gated-at.bofh.it> |
| In reply to | #245753 |
[Multipart message — attachments visible in raw view] — view raw
On Mon, Feb 28, 2022 at 11:18:25PM +0000, Brian wrote: [...] > Om all my systems: > > brian@5740:~$ ls -l /etc/network/interfaces > -rw-r--r-- 1 root root 475 Nov 3 19:23 /etc/network/interfaces That's absolutely right. I already posted a correction, but it doesn't seem to have made it through. Sorry for that brain fart. Cheers -- t
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2022-02-28 22:20 +0100 |
| Message-ID | <DVVAZ-4ZWP-5@gated-at.bofh.it> |
| In reply to | #245732 |
[Multipart message — attachments visible in raw view] — view raw
Stella Ashburne (12022-02-28): > I quote from Debian Wiki (https://wiki.debian.org/WiFi/HowToUse) : > > "Restrict the permissions of /etc/network/interfaces, to prevent pre-shared key (PSK) disclosure (alternatively use a separate config file such as /etc/network/interfaces.d/wlan0 on newer Debian versions): " First, ask yourself: Do you really need to protect your wifi password from the users of your own computer? In typical domestic settings, the wifi password is on a post-it near the access point, safe from neighbors but convenient for guests. Regards, -- Nicolas George
[toc] | [prev] | [next] | [standalone]
| From | Ash Joubert <ash@transient.nz> |
|---|---|
| Date | 2022-02-28 23:50 +0100 |
| Message-ID | <DVX05-50Fl-7@gated-at.bofh.it> |
| In reply to | #245744 |
On 01/03/2022 09:25, Nicolas George wrote: > In typical domestic settings, the wifi password is on a post-it near the > access point, safe from neighbors but convenient for guests. For even greater convenience, especially for those of us who inflict long randomly-generated passphrases on our guests, you can provide a QR code that works with most mobile devices: qrencode -s 20 -o wifi.png "WIFI:S:Your Wifi SSID;T:WPA;P:Your Wifi Passphrase;;" Kind regards, -- Ash Joubert <ash@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2022-03-01 00:50 +0100 |
| Message-ID | <DVXW9-51eG-1@gated-at.bofh.it> |
| In reply to | #245750 |
On Tue 01 Mar 2022 at 10:36:54 +1300, Ash Joubert wrote: > On 01/03/2022 09:25, Nicolas George wrote: > > In typical domestic settings, the wifi password is on a post-it near the > > access point, safe from neighbors but convenient for guests. > > For even greater convenience, especially for those of us who inflict long > randomly-generated passphrases on our guests, you can provide a QR code that > works with most mobile devices: > > qrencode -s 20 -o wifi.png "WIFI:S:Your Wifi SSID;T:WPA;P:Your Wifi > Passphrase;;" Very nice. Does that work when the code is onscreen and/or printed on paper? -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2022-03-01 10:30 +0100 |
| Message-ID | <DW6Zr-56SO-5@gated-at.bofh.it> |
| In reply to | #245757 |
On 2022-02-28, Brian <ad44@cityscape.co.uk> wrote: >> >> qrencode -s 20 -o wifi.png "WIFI:S:Your Wifi SSID;T:WPA;P:Your Wifi >> Passphrase;;" > > Very nice. Does that work when the code is onscreen and/or printed on > paper? > Yes.
[toc] | [prev] | [next] | [standalone]
| From | Ash Joubert <ash@transient.nz> |
|---|---|
| Date | 2022-03-01 22:20 +0100 |
| Message-ID | <DWi4x-5dMW-9@gated-at.bofh.it> |
| In reply to | #245757 |
On 01/03/2022 12:44, Brian wrote: > On Tue 01 Mar 2022 at 10:36:54 +1300, Ash Joubert wrote: >> On 01/03/2022 09:25, Nicolas George wrote: >>> In typical domestic settings, the wifi password is on a post-it near the >>> access point, safe from neighbors but convenient for guests. >> For even greater convenience, especially for those of us who inflict long >> randomly-generated passphrases on our guests, you can provide a QR code that >> works with most mobile devices: >> qrencode -s 20 -o wifi.png "WIFI:S:Your Wifi SSID;T:WPA;P:Your Wifi >> Passphrase;;" > Very nice. Does that work when the code is onscreen and/or printed on > paper? Yes, both. I have made QR codes for paper and have also scanned them from my desktop and from my phone (just like Google Pay passes). I used LibreOffice Writer to place my WiFi QR codes alongside identifying information on a single page for printing. Smart phones seem to have no problem reading them from paper or screens. QR codes are designed to work in dirty industrial environments. Another nice trick is to use "qrencode -l h" to encode a high level of redundancy so that ~30% of the QR code can be overwritten with a logo or other artwork such as a WiFi symbol. Kind regards, -- Ash Joubert <ash@transient.nz> Director Transient Software Limited <https://transient.nz/> New Zealand
[toc] | [prev] | [next] | [standalone]
| From | Stella Ashburne <rewefie@gmx.com> |
|---|---|
| Date | 2022-03-01 06:10 +0100 |
| Message-ID | <DW2VP-54r5-1@gated-at.bofh.it> |
| In reply to | #245750 |
Dear Ash > Sent: Tuesday, March 01, 2022 at 5:36 AM > From: "Ash Joubert" <ash@transient.nz> > To: debian-user@lists.debian.org > Subject: Re: What should I put inside the file called wlan0? > > > qrencode -s 20 -o wifi.png "WIFI:S:Your Wifi SSID;T:WPA;P:Your Wifi > Passphrase;;" > Thanks for the tip. Best regards. Stella
[toc] | [prev] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2022-03-01 00:50 +0100 |
| Message-ID | <DVXW9-51eG-5@gated-at.bofh.it> |
| In reply to | #245744 |
On Mon 28 Feb 2022 at 21:25:01 +0100, Nicolas George wrote: > Stella Ashburne (12022-02-28): > > I quote from Debian Wiki (https://wiki.debian.org/WiFi/HowToUse) : > > > > "Restrict the permissions of /etc/network/interfaces, to prevent pre-shared key (PSK) disclosure (alternatively use a separate config file such as /etc/network/interfaces.d/wlan0 on newer Debian versions): " > > First, ask yourself: Do you really need to protect your wifi password > from the users of your own computer? Aren't you assuming the machine is always in a safe environment? > In typical domestic settings, the wifi password is on a post-it near the > access point, safe from neighbors but convenient for guests. My guests' eyes glaze over when they are given a 63 character random passphrase to type in :). Then they put me to the trouble of mailing to them. -- Brian.
[toc] | [prev] | [next] | [standalone]
| From | Nicolas George <george@nsup.org> |
|---|---|
| Date | 2022-03-01 10:50 +0100 |
| Message-ID | <DW7iN-56Zs-3@gated-at.bofh.it> |
| In reply to | #245758 |
[Multipart message — attachments visible in raw view] — view raw
Brian (12022-02-28): > > First, ask yourself: Do you really need to protect your wifi password > > from the users of your own computer? > Aren't you assuming the machine is always in a safe environment? No, I am not assuming anything when I start the sentence with “ask yourself”. -- Nicolas George
[toc] | [prev] | [standalone]
Page 3 of 3 — ← Prev page 1 2 [3]
Back to top | Article view | linux.debian.user
csiph-web