Solved [Solved] No network from chroot

I need to port FreeBASIC to FreeBSD. FreeBASIC is a 32 bit only compiler currently but I run an AMD64 FreeBSD 10.0-RC4. I followed the method to create a 32 bit environment within 64 bit FreeBSD from here: https://wiki.freebsd.org/i386-Wine#Building.

But Internet isn't working from chroot, so I can't build ports (I need gcc48 specially). Everything is working very fine from the host but just at chroot it isn't working.
 
Re: No network from chroot

Ah never mind, sorry to ask such stupid question. I just forgot that after changing the root, the system would try to find resolv.conf according to the 'new' root system at compat/i386/etc/resolv.conf. I just copied it from the host and now everything works fine. :)
 
Back
Top