[blfs-support] Wifi Operations--Again

Fernando de Oliveira famobr at yahoo.com.br
Sun Nov 3 22:22:29 PST 2013

Em 04-11-2013 01:40, Bruce Dubbs escreveu:
> Ken Moffat wrote:
>> On Sun, Nov 03, 2013 at 09:47:07PM -0300, Fernando de Oliveira wrote:
>>> Em 03-11-2013 21:13, Dan McGhee escreveu:
>>>> On 11/03/2013 05:42 PM, Ken Moffat wrote:
>>>>> On Sun, Nov 03, 2013 at 05:16:23PM -0600, Dan McGhee wrote:
>>>>>> First question, does anyone know if it's even possible to do this in
>>>>>> chroot?
>>> There is one thing I am trying to understand. Forgive-me if I am missing
>>> something.
>>> Is it so different with wifi?
>>> In my case there is no wifi. But in chroot I can use the network as is
>>> set by the host, no need to try setting up the network in chroot:
>>   Indeed.  I don't know if Dan has already installed wget in chroot,
>> which is partly why I suggested downloading on the host.  The other
>> part of 'partly' is that my own /sources is an nfs mount [ download
>> once, build on one or more of my machines ].
>>   What Dan seems to want to do differently is to *configure* the wifi
>> in chroot.
> What I don't understand is why networking is needed in chroot at all. 
> You can have two windows open: standard (virtual terminal, x window, ssh 
> window, etc) and a chroot window,  Do the network downloads in the 
> standard window to /mnt/lfs/whatever and build from the chroot window.
> In my case, I have two ssh windows open to the box I'm building on, one 
> standard and the other is where I did the chroot.

Yes. That is what I do do normally, learned from you, Ken, and others in

But again, I do not understand the problem Dan has.

Just remembered I had an old LFS67 in a notebook which is currently my
cups server, via wifi, wlan0, running Lubuntu. In terms of network, this
is similar to what he has. Just accessed Lubuntu via ssh (eth0 here,
wlan0 there), then chrooted in LFS67, and I do have wlan0 working, as
expected. I had just to modify resolv.conf (the older one was for an old

root [ / ]# ping -c 1 www.linuxfromscratch.org
PING higgs.linuxfromscratch.org ( 56 data bytes
64 bytes from icmp_seq=0 ttl=54 time=175.487 ms
--- higgs.linuxfromscratch.org ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 175.487/175.487/175.487/0.000 ms

root [ / ]# cat /etc/lfs-release
Linux From Scratch 6.7
root [ / ]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:BB:EB:29:70
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:20 Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:  Mask:
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3440 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3440 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:344786 (336.7 Kb)  TX bytes:344786 (336.7 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:14:A5:EC:9F:F6
          inet addr:  Bcast:  Mask:
          RX packets:1556412 errors:0 dropped:0 overruns:0 frame:0
          TX packets:218627 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:582069504 (555.1 Mb)  TX bytes:53394403 (50.9 Mb)


More information about the blfs-support mailing list