Quantcast
Channel: Unable to reach network from chroot - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Answer by Raghavendra Srinivas for Unable to reach network from chroot

$
0
0

Below worked for me in my case on Debian linux.Without chroot session , do below.

  1. ls -lah /etc/resolv.confBecause it was soft link, the actual file was in /tmp/resolv.conf
  2. Then cp -rf /tmp/resolv.conf /mnt/etc/resolv.conf. (assuming you have disk image mounted on /mnt)Then internet worked in chroot sesstion :)

Viewing all articles
Browse latest Browse all 5

Latest Images

Trending Articles



Latest Images