From Patrick.Begou@hmg.inpg.fr Fri Nov 25 13:22:45 2011 From: Patrick Begou To: autoinstall@lists.opensuse.org Subject: Re: [opensuse-autoinstall] Setting up printers with autoyast Date: Fri, 25 Nov 2011 14:27:44 +0100 Message-ID: <4ECF97D0.6020007@hmg.inpg.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1877122737719191841==" --===============1877122737719191841== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Yes, the problem was the point at the end of the FQDN ! May be an error while= =20 editing the profile as the command was initialy pasted from an other text fil= e=20 without this syntax error. With the error message I was focusing on cupsd not= =20 listening or a network problem. Now my install procedure is fully working. Autoyast seams very promising for = me.=20 Just have to read more for rules and other numerous functionalities. My fina= l=20 goal is to provide automatic install of the users workstations, starting from= =20 PXE boot for new hosts, after a system crash (ex: loss of electrical power) o= r=20 system disk replacement without any command issued by the user or the admin. Thanks a lot for your help, Hans Joachim. Patrick Hans-Joachim Ehlers a =C3=A9crit : > * Can the script run as an init-script ? > > If not: > * Make sure no firewall is active during post script execution > * Make sure cups is ALREADY configured and running ( In case cups is need= ed ) > * Use nmap to check all required ports. > * Your say "... socket://batA1-most1.hmg.inpg.fr.:9100 ..." - is the dot= "." after ".fr" correct ? > *Does the name batA1-most1.hmg.inpg.fr is FQDN ? If yes try to use the I= P - thus bypass name resolution. > > In my environment i use pretty much init scripts since all AYAST stuff is d= one at that time, The node has rebooted and everything should function what w= as under AYAST control. > > Just my thought > > Hth > Hajo > > > > -----Original Message----- > From: Patrick Begou [mailto:Patrick.Begou(a)hmg.inpg.fr] > Sent: Friday, November 25, 2011 10:20 AM > To: opensuse-autoinstall(a)opensuse.org > Subject: [opensuse-autoinstall] Setting up printers with autoyast > > I'm a new to autoyast (2 weeks). I've setup an install procedure for my hos= ts > but I still fail to setup properly the printer. > I have a "lpadmin" and a "lpoptions" commands working when run as root afte= r the > final reboot. > I've setup a post-scripts to do this automaticaly but it always fail with: > > "lpadmin: Unable to connect to server: Connection refused" > > Even if my post-script requires network and start cupsd. > > > > > > > Any suggestion is welcome. > > Patrick > --=20 To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org --===============1877122737719191841==--