no internet: fooling apt on a local network

Matt Price matt.price at utoronto.ca
Mon Apr 11 12:05:54 UTC 2005


hi everyone,

I have a group of students in a classroom with no ethernet access;
they've all installedwarty and I'd like to guide them through an
ubgrade.  My htought: 

set up a cheap local network, fool the local computers into thinking
a directory on a local hard disk is archive.ubuntu.com/ubuntu hoary,
and do the upgrade direcly from the local disk.  

I've already created a full i386 mirror of the hoary repository using
debmirror.  I have it on an external hard drive, and have tested it on
a machine at work using the file://path/to/repo syntax in
/etc/apt/sources.list -- so I know the repository itself is in good
shape.  now my question is, wht's the best way to fool non-local
machines into using this mirror instead of the real ubuntu archive?  I
imgine there's a way to redirect internet traffic to a local host, but
I don't know how to do it myself. 

would love to hear some advice!  thanks,

matt
  


-------------------------------------------
Matt Price	    matt.price at utoronto.ca
History Department, University of Toronto
(416) 978-2094
--------------------------------------------

The following addresses are for you if you're an evil spambot:
zeus at derailleur.org aardvark at derailleur.org




More information about the ubuntu-users mailing list