Re: Newbie with fai-setup troubles

2008-01-18 Diskussionsfäden Thomas Lange
 On Fri, 18 Jan 2008 11:06:59 +, Javi Legido [EMAIL PROTECTED] 
 said:

 2. fai-setup -v

 Temporary failure resolving 'ftp.debian.org'
  Temporary failure resolving 'www.informatik.uni-koeln.de'
This seems to be the problem. Fix your DNS problems.

 `/etc/resolv.conf' - `/srv/fai/nfsroot/live/filesystem.dir/etc/resolv.conf'
FAI is also using your resolv.conf inside the nfsroot. That's needed
by default, but it seems that it does not work in your environment.

Maybe it helps setting some HTTP_PROXY variable or similar.

-- 
regards Thomas


Newbie with fai-setup troubles

2008-01-18 Diskussionsfäden Javi Legido
Hi to all.

I'm trying to setup a new fai server.

A brief description of my server:

-/etc/apt/sources.list

deb http://ftp.debian.org/debian etch main
deb http://ftp.debian.org/debian etch contrib
deb http://ftp.debian.org/debian etch non-free

deb http://www.informatik.uni-koeln.de/fai/download etch koeln

-Fai related packages:

ii  fai-client3.2.4
ii  fai-doc   3.2.4
ii  fai-quickstart3.2.4
ii  fai-server3.2.4
ii  debmirror 20060907.1
ii  mknbi 1.4.4-1
ii  apt-move  4.2.26-1
ii  mkisofs   1.1.2-1
ii  grub  0.97-27
ii  aptitude  0.4.4-4

-Kernel version

 2.6.18-5-686

--

I done this:

1. Install all the mentioned packages

2. fai-setup -v

The installations NOT finished properlly. Here the logs:

/var/log/fai/fai-setup.log

http://pastebin.com/m2f046914

/var/log/fai/make-fai-nfsroot.log

http://pastebin.com/mf844cc4

It's important to say that I'm behind a proxy. Can anyone help me?

Thanks in advice

Javier


Fwd: Newbie with fai-setup troubles

2008-01-18 Diskussionsfäden Javi Legido
-- Forwarded message --
From: Javi Legido [EMAIL PROTECTED]
Date: 18 Jan 2008 11:23
Subject: Re: Newbie with fai-setup troubles
To: Thomas Lange [EMAIL PROTECTED]


It's incredyble how fast you answer!!!

The sollution was simple:

cp /etc/apt/apt.conf /etc/fai/apt

With this, fai-setup exits trhough the proxy and resolve the
ftp.debian.org address.

Thanks a lot!!

On 18/01/2008, Thomas Lange [EMAIL PROTECTED] wrote:
  On Fri, 18 Jan 2008 11:06:59 +, Javi Legido [EMAIL PROTECTED] 
  said:

  2. fai-setup -v

  Temporary failure resolving 'ftp.debian.org'
   Temporary failure resolving 'www.informatik.uni-koeln.de'
 This seems to be the problem. Fix your DNS problems.

  `/etc/resolv.conf' - `/srv/fai/nfsroot/live/filesystem.dir/etc/resolv.conf'
 FAI is also using your resolv.conf inside the nfsroot. That's needed
 by default, but it seems that it does not work in your environment.

 Maybe it helps setting some HTTP_PROXY variable or similar.

 --
 regards Thomas



Newbie with fai-cd

2008-01-18 Diskussionsfäden Javi Legido
Hi again.

My objective is to get a .iso tu burn it on a cd to perform a debian
unattended installation. This is my scenario:

1. Fai_server: a pc with a only one NIC (is not possible to plug it to a second)

2. A LAN with other dhcp server different than the Fai_server

3. Virtualbox running on the Fai_server

I tried with this:

1. cp -Rv /srv/fai/config/ /srv/fai/nfsroot/live/filesystem.dir/var/lib/fai/

2. fai-cd -m /srv/fai/nfsroot/ /my_destination/imagen_fai_1.iso

3. Run the created 'Debian_pruebas' virtualbox machine against the
/my_destination/imagen_fai_1.iso

This fails, but I can't see the /tmp/fai/error.log.

I tried to run the virtualmachine against a Knoppix.iso image, but the
/tmp dir is empty.

The other sollution is to burn a cd-rw each time, but I wan't to avoid
it if it's possible. It is?

Thanks in advice


Re: Newbie with fai-cd

2008-01-18 Diskussionsfäden Michael Tautschnig
[...]
 1. cp -Rv /srv/fai/config/ /srv/fai/nfsroot/live/filesystem.dir/var/lib/fai/
No, I don't think you need that one.

 
 2. fai-cd -m /srv/fai/nfsroot/ /my_destination/imagen_fai_1.iso
 
After the -m option a mirror should be given, not the NFSROOT; you can create
the mirror using the fai-mirror command.

[...]

Best,
Michael



pgpzwGTrSnV4T.pgp
Description: PGP signature