Re: [blfs-support] Network issue with VirtualBox

2020-10-12 Thread Fosca via blfs-support



Hello Thomas,

Thank you for your kind support.

You certainly are correct. It was the issue of my having NAT up in the 
Networks setting of VB.


So after getting it across to "Netzwerkbrücke" (und ja das ist die 
'Bridge Adaptor') it all fell into place and the journey goes on.


My Gateway is 192.168.1.254, and I gave myself a static address well 
outside of the DHCP range.


I have got a Date stuck at 4 October 2020, plus a Kernal message about 
'clock skew detected'. Might sort itself out in time.


In the meantime all the best.

Cheers

Fosca



On 12/10/2020 3:51 am, Thomas Trepl wrote:

Am Samstag, den 10.10.2020, 11:39 +1100 schrieb Fosca via blfs-
support:


Hello Everyone,

Nice to meet you all.

Well I have just managed to do LFS-10.0 in VirtualBox.

The way I set it up was to install ArchLinux with the Anarchy-Installer
since Arch is quite uptodate with packaages; the one exception being
that 'sudo pacman -S make' needs to be done.

Using VB allowed me to Snapshot progressively and so saved me from long
spells on the keyboard and having to re-do when something went haywire.

Now the issue I'm having is that 'ping -c 5 www.google.com' does not
work in the new LFS-10.0 (which I have on sda3).

My '/etc/sysconfig/ifconfig.enp0s3' reads as follows:

ONBOOT=yes
IFACE=enp0s3
SERVICE=ipv4-static
IP=192.168.1.222
GATEWAY=192.168.1.154
PREFIX=24
BROADCAST=192.168.1.255

And it's not working in VB.

Now if I look at Arch in VB on sda2, it says that it has an
IP - 10.0.2.15
Broadcast - 10.0.2.255
if that should mean anything in this case.

My modem-router is a Billion BiPAC 8700AX(L)-1600

I would much appreciate some pointers on how solve this little problem.

Kind regards

Fosca


I've setup all my LFS stuff in VBox and it works pretty nice. I
configured the network for the VMs as "Netzwerkbrücke" - don't know
what the exact english translation is, i think something like "Bridged
network". Use the device with which the VBox host is connected to the
LAN.
Within the VMs, the network is set up just as the VMs would be
physical parts of the network. Choose an IP form the network range and
set the GATEWAY to what is configured as such on the VBox host. Than
you should be able to reach the internet from the VM as well as reach
your VM from the LAN.

--
Thomas


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


Re: [blfs-support] Network issue with VirtualBox

2020-10-12 Thread Fosca via blfs-support

Hello Pierre,

Thank you for your kind support.

The issue was the virtual network.

I had VB set on NAT instead of Bridged Adpator So after going thru 
/etc/resolv.conf & /etc/hosts  &  /etc/sysconfig/ifconfig.enp0s3 . . . . 
it all worked.


There seem to be a couple of blimps in my compilations :

1. Date seems to be stuck at 4 October 2020. My locale is en_AU.UTF8 and 
'localtime' does show AEDT as the time zone correctly.


2. Been working on updating the Kernel after enabling the Mouse, and 
when doing re-make get advised of 'clock skew detected'
Read somewhere to do: ' find -exec touch \{\} \; ' in root I presume to 
bring all file timestamps uptodate.


Other than that the fun continues.

All the best

Cheers




On 10/10/2020 7:07 pm, Pierre Labastie via blfs-support wrote:

On Sat, 2020-10-10 at 11:39 +1100, Fosca via blfs-support wrote:


Hello Everyone,

Nice to meet you all.

Well I have just managed to do LFS-10.0 in VirtualBox.

The way I set it up was to install ArchLinux with the Anarchy-
Installer
since Arch is quite uptodate with packaages; the one exception being
that 'sudo pacman -S make' needs to be done.

Using VB allowed me to Snapshot progressively and so saved me from
long
spells on the keyboard and having to re-do when something went
haywire.

Now the issue I'm having is that 'ping -c 5 www.google.com' does not
work in the new LFS-10.0 (which I have on sda3).

My '/etc/sysconfig/ifconfig.enp0s3' reads as follows:

ONBOOT=yes
IFACE=enp0s3
SERVICE=ipv4-static
IP=192.168.1.222
GATEWAY=192.168.1.154
PREFIX=24
BROADCAST=192.168.1.255

And it's not working in VB.

Now if I look at Arch in VB on sda2, it says that it has an
IP - 10.0.2.15
Broadcast - 10.0.2.255
if that should mean anything in this case.

My modem-router is a Billion BiPAC 8700AX(L)-1600

I would much appreciate some pointers on how solve this little
problem.


This depends on how you set up VB for networking.

First, you have to check that the virtual network card is recognized by
the kernel by running:
ip link list
If it does not work, you have to enable the right options in the kernel
for the network card.

Second, VB has several networking modes. You may want to read the VB
doc https://www.virtualbox.org/manual/ch06.html.

According to what you say above for archlinux, you are using the NAT
mode. This means the host acts as a gateway between your local home
network (probably with addresses beginning with 192.168.1), and a
virtual network with addresses beginning with 10.0.2. In that case, you
can choose any address in the range 10.0.2.5-253 for your host, use a
network mask of 10.0.2.255, and a prefix of 24. The gateway address is
10.0.2.2, and the DNS address (in /etc/resolv.conf) is 10.0.2.3. Note
that I cannot find information for that last one in the VB doc, so I am
not sure, and you might want to look at /etc/resolv.conf on
archlinux...

Pierre


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


Re: [blfs-support] Network issue with VirtualBox

2020-10-11 Thread Thomas Trepl via blfs-support
Am Samstag, den 10.10.2020, 11:39 +1100 schrieb Fosca via blfs-
support:
> 
> Hello Everyone,
> 
> Nice to meet you all.
> 
> Well I have just managed to do LFS-10.0 in VirtualBox.
> 
> The way I set it up was to install ArchLinux with the Anarchy-Installer 
> since Arch is quite uptodate with packaages; the one exception being 
> that 'sudo pacman -S make' needs to be done.
> 
> Using VB allowed me to Snapshot progressively and so saved me from long 
> spells on the keyboard and having to re-do when something went haywire.
> 
> Now the issue I'm having is that 'ping -c 5 www.google.com' does not 
> work in the new LFS-10.0 (which I have on sda3).
> 
> My '/etc/sysconfig/ifconfig.enp0s3' reads as follows:
> 
> ONBOOT=yes
> IFACE=enp0s3
> SERVICE=ipv4-static
> IP=192.168.1.222
> GATEWAY=192.168.1.154
> PREFIX=24
> BROADCAST=192.168.1.255
> 
> And it's not working in VB.
> 
> Now if I look at Arch in VB on sda2, it says that it has an
> IP - 10.0.2.15
> Broadcast - 10.0.2.255
> if that should mean anything in this case.
> 
> My modem-router is a Billion BiPAC 8700AX(L)-1600
> 
> I would much appreciate some pointers on how solve this little problem.
> 
> Kind regards
> 
> Fosca
> 
I've setup all my LFS stuff in VBox and it works pretty nice. I
configured the network for the VMs as "Netzwerkbrücke" - don't know
what the exact english translation is, i think something like "Bridged
network". Use the device with which the VBox host is connected to the
LAN.
Within the VMs, the network is set up just as the VMs would be
physical parts of the network. Choose an IP form the network range and
set the GATEWAY to what is configured as such on the VBox host. Than
you should be able to reach the internet from the VM as well as reach
your VM from the LAN.

--
Thomas

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


Re: [blfs-support] Network issue with VirtualBox

2020-10-10 Thread Pierre Labastie via blfs-support
On Sat, 2020-10-10 at 11:39 +1100, Fosca via blfs-support wrote:
> 
> Hello Everyone,
> 
> Nice to meet you all.
> 
> Well I have just managed to do LFS-10.0 in VirtualBox.
> 
> The way I set it up was to install ArchLinux with the Anarchy-
> Installer 
> since Arch is quite uptodate with packaages; the one exception being 
> that 'sudo pacman -S make' needs to be done.
> 
> Using VB allowed me to Snapshot progressively and so saved me from
> long 
> spells on the keyboard and having to re-do when something went
> haywire.
> 
> Now the issue I'm having is that 'ping -c 5 www.google.com' does not 
> work in the new LFS-10.0 (which I have on sda3).
> 
> My '/etc/sysconfig/ifconfig.enp0s3' reads as follows:
> 
> ONBOOT=yes
> IFACE=enp0s3
> SERVICE=ipv4-static
> IP=192.168.1.222
> GATEWAY=192.168.1.154
> PREFIX=24
> BROADCAST=192.168.1.255
> 
> And it's not working in VB.
> 
> Now if I look at Arch in VB on sda2, it says that it has an
> IP - 10.0.2.15
> Broadcast - 10.0.2.255
> if that should mean anything in this case.
> 
> My modem-router is a Billion BiPAC 8700AX(L)-1600
> 
> I would much appreciate some pointers on how solve this little
> problem.

This depends on how you set up VB for networking.

First, you have to check that the virtual network card is recognized by
the kernel by running:
ip link list
If it does not work, you have to enable the right options in the kernel
for the network card.

Second, VB has several networking modes. You may want to read the VB
doc https://www.virtualbox.org/manual/ch06.html.

According to what you say above for archlinux, you are using the NAT
mode. This means the host acts as a gateway between your local home
network (probably with addresses beginning with 192.168.1), and a
virtual network with addresses beginning with 10.0.2. In that case, you
can choose any address in the range 10.0.2.5-253 for your host, use a
network mask of 10.0.2.255, and a prefix of 24. The gateway address is
10.0.2.2, and the DNS address (in /etc/resolv.conf) is 10.0.2.3. Note
that I cannot find information for that last one in the VB doc, so I am
not sure, and you might want to look at /etc/resolv.conf on
archlinux...

Pierre

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