[PLUG] Chroot and wifi

Jason R. Martin nsxfreddy at gmail.com
Mon Jan 23 19:53:30 UTC 2006


On 1/23/06, johnxj at comcast.net <johnxj at comcast.net> wrote:
> > > So now I need to figure out how to automate this. 'cause copying and pasting
> > is going to become a PITA. I know zero about programming, scripts and such.
> > Hopefully there is a simple way to do it.
> >
> > Perhaps someone more guruish than myself can confirm this, but perhaps
> > a hard link between /etc/resolv.conf and <chroot>/etc/resolv.conf
> > would work?  I assume a symbolic link would barf from inside the
> > chroot jail.  Then you would not need to worry at all.
>
> How do I make a hard link?

ln /etc/resolv.conf <chroot>/etc/resolv.conf

Read up on ln in man if you want to know more.

Jason



More information about the PLUG mailing list