[gentoo-user] Re: Updating a Standalone

2011-08-12 Thread Nikos Chantziaras

On 08/12/2011 12:58 PM, dhk wrote:

I have a Gentoo Box that is a standalone with no internet access.  Is
there a way I can update it by using my laptop?

It would be nice to be able to sync a copy of my world list on my laptop
without clobbering my laptop's world list.  Then do a fetch for the
standalone world and when on the console pf the standalone do the update
to the fetched packages on the laptop.  The idea is not to have the
laptop as an image of the standalone, but as a server to sync to while
keeping the laptop's world separate.
Er, can't you just give the box Internet access by using the laptop's 
connection?





Re: [gentoo-user] Re: Updating a Standalone

2011-08-12 Thread Pandu Poluan
On Fri, Aug 12, 2011 at 17:16, Nikos Chantziaras rea...@arcor.de wrote:
 On 08/12/2011 12:58 PM, dhk wrote:

 I have a Gentoo Box that is a standalone with no internet access.  Is
 there a way I can update it by using my laptop?

 It would be nice to be able to sync a copy of my world list on my laptop
 without clobbering my laptop's world list.  Then do a fetch for the
 standalone world and when on the console pf the standalone do the update
 to the fetched packages on the laptop.  The idea is not to have the
 laptop as an image of the standalone, but as a server to sync to while
 keeping the laptop's world separate.

 Er, can't you just give the box Internet access by using the laptop's
 connection?


Agree with Nikos.

Another (ultra-roundabout) way:

* Get portage-latest.tar.xz
* Untar to your standalone system
* emerge -puf @world
* Get the files on an Internet-connected system
* Put the files on the standalone's portage DISTDIR
* emerge -au @world

DISCLAIMER: Not tested :-)

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Re: Updating a Standalone

2011-08-12 Thread dhk
On 08/12/2011 06:25 AM, Pandu Poluan wrote:
 On Fri, Aug 12, 2011 at 17:16, Nikos Chantziaras rea...@arcor.de wrote:
 On 08/12/2011 12:58 PM, dhk wrote:

 I have a Gentoo Box that is a standalone with no internet access.  Is
 there a way I can update it by using my laptop?

 It would be nice to be able to sync a copy of my world list on my laptop
 without clobbering my laptop's world list.  Then do a fetch for the
 standalone world and when on the console pf the standalone do the update
 to the fetched packages on the laptop.  The idea is not to have the
 laptop as an image of the standalone, but as a server to sync to while
 keeping the laptop's world separate.

 Er, can't you just give the box Internet access by using the laptop's
 connection?

 
 Agree with Nikos.
 
 Another (ultra-roundabout) way:
 
 * Get portage-latest.tar.xz
 * Untar to your standalone system
 * emerge -puf @world
 * Get the files on an Internet-connected system
 * Put the files on the standalone's portage DISTDIR
 * emerge -au @world
 
 DISCLAIMER: Not tested :-)
 
 Rgds,

There's no Internet access where the standalone is, it's remote, when I
go with the laptop the laptop doesn't have Internet access either.

I didn't really want to tar or burn stuff to disk.  I think I'd like to
just be able --sync the laptop for itself and then have the ability to
do another sync for the standalone.  Of coarse the second sync for the
standalone wouldn't install anything.  Then when I travel to the
standalone I'd like to do any emerge -uDNp world to the laptop which
would most likely be the setting in the make.conf on the standalone.  Thanks



Re: [gentoo-user] Re: Updating a Standalone

2011-08-12 Thread Mick
On Friday 12 Aug 2011 11:16:10 Nikos Chantziaras wrote:
 On 08/12/2011 12:58 PM, dhk wrote:
  I have a Gentoo Box that is a standalone with no internet access.  Is
  there a way I can update it by using my laptop?
  
  It would be nice to be able to sync a copy of my world list on my laptop
  without clobbering my laptop's world list.  Then do a fetch for the
  standalone world and when on the console pf the standalone do the update
  to the fetched packages on the laptop.  The idea is not to have the
  laptop as an image of the standalone, but as a server to sync to while
  keeping the laptop's world separate.
 
 Er, can't you just give the box Internet access by using the laptop's
 connection?

Yes and in addition, set up your laptop as an rsync server for your desktop to 
use, as well as a GENTOO_MIRROR.

I'm sure there's a wiki somewhere describing the ins and outs of setting this 
up (there's more than one way to share distfiles - I use boa because of its 
small footprint).
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Updating a Standalone

2011-08-12 Thread James Broadhead
 On 08/12/2011 12:58 PM, dhk wrote:
 I have a Gentoo Box that is a standalone with no internet access.  Is
 there a way I can update it by using my laptop?

My immediate response is that a PCI/USB wifi card costs less than the
combined brainpower that you have had respond to this question.

My actual approach would be to set up the laptop as an rsync mirror, then:
laptop $ emerge --sync
(connect laptop to null-internet box via crossover cable + sync from laptop)
nointernet $ emerge --sync
nointernet $ emerge -pvfuDN world  getfile
(copy getfile to laptop, move laptop to delicious bandwidth)
laptop $ wget -flags getfile
(move laptop back to target machine)
laptop $ rsync gotfiles/* no-internet-box/usr/portage/distfiles
nointernet $ emerge -uDvN world



[gentoo-user] Re: Updating a Standalone

2011-08-12 Thread Grant Edwards
On 2011-08-12, James Broadhead jamesbroadh...@gmail.com wrote:
 On 08/12/2011 12:58 PM, dhk wrote:
 I have a Gentoo Box that is a standalone with no internet access. ??Is
 there a way I can update it by using my laptop?

 My immediate response is that a PCI/USB wifi card costs less than the
 combined brainpower that you have had respond to this question.

So you're going to provide ISP and WiFi service at the OP's remote
site?

-- 
Grant Edwards   grant.b.edwardsYow! World War III?
  at   No thanks!
  gmail.com