[lfs-support] Remarks for wpa_supplicants

2018-02-21 Thread René Nyffenegger

I have two remarks to the wpa_supplicant step in BLFS. I am referring to the
current 8.1 version 
(http://www.linuxfromscratch.org/blfs/view/stable/basicnet/wpa_supplicant.html)


First: the file created with
wpa_passphrase /|SSID|/ /|SECRET_PASSWORD|/ > 
/etc/sysconfig/wpa_supplicant-/|wifi0|/.conf
contains the password to my wifi device in unencrypted form and is world 
readable. I am not sure

if this is by design, but it seems like a security risk.

Second: The creation of the /etc/sysconfig/ifconfig.wifi0 contains the 
"hardcoded" value "wlan0"

for IFACE.
I had to change this to the value of an interface-name (?) found under 
/sys/class/net in order for
it to work. Maybe, someone stumbles accross this information and will 
find it useful in the future?

Maybe, this information could be added to the book?

Rene

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS 8.2 rc1: Three glibc failures that I never had before

2018-02-21 Thread Ken Moffat
On Wed, Feb 21, 2018 at 01:54:28PM +, Hazel Russman wrote:
> io/tst-copy_file_range
> io/tst-copy_file_range-compat
> io/tst-open_tmpfile
> 
> Are these a problem?
> 
Probably not, if those are the only failures.  On different machines
(or different host systems), a few individual failures have been
possible in the past and I assume that is still the case.

The io/tst_copy_file_range will be for a wrapper added in 2.27 so it
is new.

> No getaddrinfo failures in this version.

They changed the tests ;)

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
 - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Truncating "make check"

2018-02-21 Thread Ken Moffat
On Wed, Feb 21, 2018 at 12:05:45AM -0600, Rob wrote:
> When running
> "make check"
> on glibc-2.27 and other such packages. Is there a way to truncate
> the output so that only passes/fails are shown?
> I know you can go
> "make -s"
> and that will suppress a lot of things during compilation but i'm not
> certain that switch will work for test suites.
> I run the chroot environment in a screen session on my host, and I can,
> therefore, enter copy mode and scroll back, but that's still a 
> lot of output to scroll through.
> Any thoughts/advice appreciated.

No idea, but perhaps tee'ing to a file and then looking at (or
grepping) the file afterwards ?

Or, perhaps at the cost of compiling glibc twice, try that make
switch - if the output is inadequate you will maybe need to repeat
the glibc build from clean source (some testsuites can be repeated,
others need a fresh build to be run again).

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
 - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] How do I connect to a wlan?

2018-02-21 Thread spiky



On 21/02/18 13:40, René Nyffenegger wrote:
I somehow made my LFS boot and run. Now, I'd like to connect it to the 
internet. The system is in an environment with WLAN and DHCP. So, I 
cannot configure it with static IP addresses. (At least, that's what I 
think).


My first problem is that I believe the kernel does not recognize the 
wifi. ifconfig only reports "lo" and "sit0". These two, I also find 
under /sys/class/net.


So, I am not sure if I have to recompile the Kernel with some 
additional settings or if I have to use a clever insmod or anything else.


I belive that I have to solve this first before I go try to configure 
dhcpcd and/or(?) wpa_supplicant.


I am also not sure about the role of Wireless tools: are these 
necessary to run wireless or are they just some optional helpers that 
make some tasks easier?


Rene


I would check your kernel is built with the correct drivers (m) modules 
and that you have the correct firmware in /lib/firmware, When wifi is 
recognised, be it maybe called something else other than wlan0, you will 
need wpa_supplicant next so it can connect to router. That will be 
enough to get you started on network

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Systemd 237 Build Instructions

2018-02-21 Thread Armin K.

On 21.2.2018. 14:51, Mark Pokorny wrote:

Hi all,

I just wanted to clarify something regarding the instructions for
building Systemd in LFS 8.2-rc1. Some of the commands include
“LANG=en_US.UTF-8” in them. Should this be adjusted for your local
language (i.e. “en_IE.UTF-8” in my case as I’m based in Ireland) or
should they be left verbatim?

Go raibh maith agat!

→ Mark



It's not permanent change, it's there to get it to build properly. You 
can but you don't need to change it. It only matters that locale is 
UTF-8, doesn't matter which one.

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] How do I connect to a wlan?

2018-02-21 Thread Mark Pokorný
On 21 February 2018 at 13:40, René Nyffenegger
 wrote:
> I somehow made my LFS boot and run. Now, I'd like to connect it to the
> internet. The system is in an environment with WLAN and DHCP. So, I cannot
> configure it with static IP addresses. (At least, that's what I think).

When I had my LFS 8.1 system running, I installed wireless-tools to
get WLAN up. As I connect using WPA encryption, I also had to install
wpa-supplicant.

> My first problem is that I believe the kernel does not recognize the wifi.
> ifconfig only reports "lo" and "sit0". These two, I also find under
> /sys/class/net.
>
> So, I am not sure if I have to recompile the Kernel with some additional
> settings or if I have to use a clever insmod or anything else.

Correct – you need to make sure you’ve compiled the device drivers for
your network card into your kernel (I made the same error too!). You
should be able to get an idea of which ones to compile in by running
the command:
——
lspci
——
from your host system and looking through the list that is produced to
find your network card.

> I belive that I have to solve this first before I go try to configure dhcpcd
> and/or(?) wpa_supplicant.

I didn’t have to install dhcpcd, the instructions towards the end of
the LFS book (§7.2.1.3 in particular) should be enough to set up a
DHCP connection.

> I am also not sure about the role of Wireless tools: are these necessary to
> run wireless or are they just some optional helpers that make some tasks
> easier?

This I am actually not sure about…someone else will have to enlighten
you there, I’m afraid! ;-)

→ Mark
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] LFS 8.2 rc1: Three glibc failures that I never had before

2018-02-21 Thread Hazel Russman
io/tst-copy_file_range
io/tst-copy_file_range-compat
io/tst-open_tmpfile

Are these a problem?

No getaddrinfo failures in this version.
-- 
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Systemd 237 Build Instructions

2018-02-21 Thread Mark Pokorny
Hi all,

I just wanted to clarify something regarding the instructions for
building Systemd in LFS 8.2-rc1. Some of the commands include
“LANG=en_US.UTF-8” in them. Should this be adjusted for your local
language (i.e. “en_IE.UTF-8” in my case as I’m based in Ireland) or
should they be left verbatim?

Go raibh maith agat!

→ Mark
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] How do I connect to a wlan?

2018-02-21 Thread René Nyffenegger
I somehow made my LFS boot and run. Now, I'd like to connect it to the 
internet. The system is in an environment with WLAN and DHCP. So, I 
cannot configure it with static IP addresses. (At least, that's what I 
think).


My first problem is that I believe the kernel does not recognize the 
wifi. ifconfig only reports "lo" and "sit0". These two, I also find 
under /sys/class/net.


So, I am not sure if I have to recompile the Kernel with some additional 
settings or if I have to use a clever insmod or anything else.


I belive that I have to solve this first before I go try to configure 
dhcpcd and/or(?) wpa_supplicant.


I am also not sure about the role of Wireless tools: are these necessary 
to run wireless or are they just some optional helpers that make some 
tasks easier?


Rene


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-8.2-rc1

2018-02-21 Thread Pierre Labastie
On 21/02/2018 12:24, Thomas Seeling wrote:
> Hallo,
> 
>> We are using gcc 7.3.0. How did you come to think something else?
> 
> Did I misread the announcement for rc1? I thought I spotted gcc 7._0_.0
> in that mail.
> 
> 

You're right. You did not misread, but Bruce is not a great typist :-)

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] LFS-8.2-rc1

2018-02-21 Thread Thomas Seeling
Hallo,


are you really using gcc 7.0.0 in the upcoming LFS release? I thought
we're heading for gcc 7.3 with retpoline support.

Tschau...Thomas
-- 
"Do you wanna be a legend or a passing footprint on the sands of time?"



signature.asc
Description: OpenPGP digital signature
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style