Re: gentoo-newbies digest, Vol 1 #263 - 14 msgs

"Erik Mathisen" <[email protected]>
Newsgroups gmane.linux.gentoo.newbies
Message-ID <[email protected]>

-----Opprinnelig melding-----
Fra: [email protected]
[mailto:[email protected]]PÃ¥ vegne av
[email protected]
Sendt: 5. september 2002 18:49
Til: [email protected]
Emne: gentoo-newbies digest, Vol 1 #263 - 14 msgs


Send gentoo-newbies mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.gentoo.org/mailman/listinfo/gentoo-newbies
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gentoo-newbies digest..."


Today's Topics:

   1. Re: reading documentation in .gz format? (Holger Rauch)
   2. Re: reading documentation in .gz format? (Jens Ansorg)
   3. Re: postfix (David Hart)
   4. printing with cups on a samba shared windows printer (Alexander
Futasz)
   5. problem with bzip2? (Dinko Tenev)
   6. Re: postfix (Juri Haberland)
   7. Re: postfix (Louis-Philippe Brochu)
   8. Re: problem with bzip2? (Guy)
   9. Fwd: Re: [gentoo-newbies] problem with bzip2? (Guy)
  10. Re: problem with bzip2? (Dinko Tenev)
  11. PHP (Yancey B. Jones)
  12. Re: postfix (Juri Haberland)
  13. RE: postfix (Yancey B. Jones)
  14. Configuring Postfix (Alex Thomas)

--__--__--

Message: 1
Date: Thu, 5 Sep 2002 09:00:25 +0200 (CEST)
From: Holger Rauch <[email protected]>
Reply-To: Holger Rauch <[email protected]>
To: [email protected]
Subject: Re: [gentoo-newbies] reading documentation in .gz format?

Hi!

As a matter of fact, setting

eval $(lesspipe) or

eval $(lessfile)

should make it possible to open a .gz file using less. In addition, I also
suggest setting

LESS=-sMM

to get more info in the status line.

Greetings,

	Holger



--__--__--

Message: 2
Date: Thu, 05 Sep 2002 09:56:12 +0200
From: Jens Ansorg <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [gentoo-newbies] reading documentation in .gz format?

Igor Schein wrote:
> On Wed, Sep 04, 2002 at 06:08:01PM -0700, daniel wrote:
>
>>in installed sendmail from source and it put a bunch of .gz files on my
>>machine under /usr/share/doc/sendmail-8.12.5/.  my question is this:  how
do
>>i read the .gz files outside of using something like this:
>>
>>  gunzip -c /usr/share/doc/sendmail-8.12.5/README.cf.gz | less
>>
>>there's gotta be an easier way....
>>did i miss something?
>
>
> zmore /usr/share/doc/sendmail-8.12.5/README.cf.gz is definitely less
> typing, if that's what you're looking for.  Conceptually, it's still
> the same.
>

(I copy this to the nautilus mailing list, they are currently discussing
UI :))

that's really an issue, even more if you use Gnome2/Nautilus to browse
documentation:

If you're lucky you have File-Roller installed:
Duble-click a document, file-roller opens, doubleclick the file in the
file-roller window and another window opens that finally contains the
unzipped document to read it. Interestingly this is again a nautilus
window containing a text view to display the document.
Wouldn't it be possible somehow to skip or hide the file-roller part to
just open the document in the text view? (Ahem, probably no because
there might be more than one file in a zip)


Now, if you do not have a graphical Zip utility installed in Gnome then
you are out of luck and need to go to command line to deal with the
zipped file as described above

Not a very satisfying solution


Jens Ansorg



--__--__--

Message: 3
Date: Thu, 5 Sep 2002 09:01:16 +0100
From: David Hart <[email protected]>
To: [email protected]
Subject: Re: [gentoo-newbies] postfix

On Wed, Sep 04, 2002 at 10:37:20PM -0400, Louis-Philippe Brochu wrote:

> ...but here's the catch, when you install procmail (or fetchmail, i
> don't remember) it re-install ssmtp as a dependency. So basically it
> screws up your postfix install and you can have some problem. You have
> to re-emerge postfix after that.

Not if you emerge postfix first as it's installed as a virtual mta.

--
David Hart
[email protected]


--__--__--

Message: 4
Date: Thu, 5 Sep 2002 10:31:31 +0200
From: Alexander Futasz <[email protected]>
To: [email protected]
Subject: [gentoo-newbies] printing with cups on a samba shared windows
printer

Hello,

I emerged samba and cups without any problems, but i got problems with
setting up cups to use the windows printer. I got the appropiate ppd
file from the web and started up cupsd to add the printer via the
webinterface. And that is where the trouble starts: the Gentoo printing
howto says for the name of the printer i should use the same name i used
when executing foomatic. Well i didnt use foomatic, since i downloaded
the ppd from the web. So i assumed 'printer' as name. Also what would i
have to enter for the location field? i tried
smb://user:passwd@server/share. the webinterface then asks for 'Device
URI' and again i tried smb://user:passwd@server/share. The webinterface
suggests everything went fine and says the printer is idle, accepting
jobs, but when i try to print a testpage it gets canceled right away.

i also tried if my samba works and successfully mounted some fileshares
on the server, so i guess its just a problem of finding the proper
cups settings for the printer.

I use Gentoo 1.2. The printer is a Fujitsu PrintPartner 10V.

Any ideas?

A HOWTO-use-windows-printer-with-CUPS would also be nice. I didn't had
any luck finding one.

-alex

--__--__--

Message: 5
From: "Dinko Tenev" <[email protected]>
To: <[email protected]>
Date: Thu, 5 Sep 2002 12:14:34 +0300
Subject: [gentoo-newbies] problem with bzip2?

Hi,

I am stuck at untarring the stage?-*.tbz2 files, because bzip2
invariably reports bad CRC on all of them.  I am using the
gentoo-i686-1.2.iso image.

If I could be sure that this was a problem with either the CD
or the files, I would be more than glad to burn another CD,
but the files copy OK, and WinRAR uncompresses and untars
them without any fuss whatsoever, except for a bunch of "can't
create" messages for the A-Z sub-dirs of .../terminfo, obviously
due to NTFS case-insensitivity.

Why would bzip2 complain, and, what is more important, is
there a way around this?

I would appreciate _any_ comments.



--__--__--

Message: 6
From: Juri Haberland <[email protected]>
Reply-To: Juri Haberland <[email protected]>
Subject: Re: [gentoo-newbies] postfix
Date: Thu, 05 Sep 2002 11:57:39 +0200
Organization: ALTUS Media AG
To: [email protected]

Yancey B. Jones wrote:
> I have postfix installed and working locally. However, I can't seem to
> use it to send mail from a Windows box on the same network. I have it to
> allow my network addresses to connect to it but I get:
>
> Your server has unexpectedly terminated the connection. Possible causes
> for this include server problems, network problems, or a long period of
> inactivity. Subject 'test4', Account: '192.168.69.108', Server:
> '192.168.69.108', Protocol: SMTP, Port: 25, Secure(SSL): No, Error
> Number: 0x800CCC0F
>
> I have looked through 4 or 5 howto's on postfix and I must be missing
> something here.

Show us the postfix logs of the mail session. This error message doesn't
say anything useful (Outlook, I assume).

Cheers,
Juri

--
  If each of us have one object, and we exchange them,
     then each of us still has one object.
  If each of us have one idea,   and we exchange them,
     then each of us now has two ideas.


--__--__--

Message: 7
Subject: Re: [gentoo-newbies] postfix
From: Louis-Philippe Brochu <[email protected]>
To: David Hart <[email protected]>
Cc: [email protected]
Date: 05 Sep 2002 07:32:28 -0400

Well i did this in the following order:

emerge -C ssmtp
emerge postfix
emerge fetchmail
emerge procmail
emerge courier-imap

then after all that i took me a while to discover that ssmtp was
reinstalled as a dependency by one of the other program i installed
after postfix.

Maybe it was courrier-imap? Or something wasn't right with my config? I
know there is a thread about that on the gentoo forums somewhere...

On Thu, 2002-09-05 at 04:01, David Hart wrote:
> On Wed, Sep 04, 2002 at 10:37:20PM -0400, Louis-Philippe Brochu wrote:
>
> > ...but here's the catch, when you install procmail (or fetchmail, i
> > don't remember) it re-install ssmtp as a dependency. So basically it
> > screws up your postfix install and you can have some problem. You have
> > to re-emerge postfix after that.
>
> Not if you emerge postfix first as it's installed as a virtual mta.
>
> --
> David Hart
> [email protected]
>
> _______________________________________________
> gentoo-newbies mailing list
> [email protected]
> http://lists.gentoo.org/mailman/listinfo/gentoo-newbies



--__--__--

Message: 8
From: Guy <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Re: [gentoo-newbies] problem with bzip2?
Date: Thu, 5 Sep 2002 10:28:58 -0400

On Thursday 05 September 2002 05:14 am, Dinko Tenev wrote:
> Hi,
>
> I am stuck at untarring the stage?-*.tbz2 files, because bzip2
> invariably reports bad CRC on all of them.  I am using the
> gentoo-i686-1.2.iso image.
>
> If I could be sure that this was a problem with either the CD
> or the files, I would be more than glad to burn another CD,
> but the files copy OK, and WinRAR uncompresses and untars
> them without any fuss whatsoever, except for a bunch of "can't
> create" messages for the A-Z sub-dirs of .../terminfo,
> obviously due to NTFS case-insensitivity.
>
> Why would bzip2 complain, and, what is more important, is
> there a way around this?
>
> I would appreciate _any_ comments.
>
>
> _______________________________________________
> gentoo-newbies mailing list
> [email protected]
> http://lists.gentoo.org/mailman/listinfo/gentoo-newbies

--=20
People whom think M$ software is mediocre don't know the half of=20
it.

--__--__--

Message: 9
From: Guy <[email protected]>
Subject: Fwd: Re: [gentoo-newbies] problem with bzip2?
Date: Thu, 5 Sep 2002 10:39:46 -0400
To: "[email protected]" <[email protected]>

Sorry for the mix up in sending this reply out. :)

----------  Forwarded Message  ----------

Subject: Re: [gentoo-newbies] problem with bzip2?
Date: Thu, 5 Sep 2002 10:28:02 -0400
From: Guy <[email protected]>
To: "Dinko Tenev" <[email protected]>

I don't have an answer to your problem. I've installed with both
the 1.2 and 1.4b ISOs with no problem. On one machine however, I
did receive a message during the boot of the ISOs that the block
size couldn't be detected so size 0800 was assumed. This
indicates to me that some CDROM players may be problematical. Are
you working with a new system or is that and already used machine
you're dealing with?

Given what you reported regarding not having problems WinRAR (is
this on a different machine perhaps?), I would consider the
possibility of a CDROM drive problem.

Hope this helps!

On Thursday 05 September 2002 05:14 am, Dinko Tenev wrote:
> Hi,
>
> I am stuck at untarring the stage?-*.tbz2 files, because bzip2
> invariably reports bad CRC on all of them.  I am using the
> gentoo-i686-1.2.iso image.
>
> If I could be sure that this was a problem with either the CD
> or the files, I would be more than glad to burn another CD,
> but the files copy OK, and WinRAR uncompresses and untars
> them without any fuss whatsoever, except for a bunch of "can't
> create" messages for the A-Z sub-dirs of .../terminfo,
> obviously due to NTFS case-insensitivity.
>
> Why would bzip2 complain, and, what is more important, is
> there a way around this?
>
> I would appreciate _any_ comments.
>
>
> _______________________________________________
> gentoo-newbies mailing list
> [email protected]
> http://lists.gentoo.org/mailman/listinfo/gentoo-newbies

--
People whom think M$ software is mediocre don't know the half of
it.

-------------------------------------------------------

--=20
People whom think M$ software is mediocre don't know the half of=20
it.

--__--__--

Message: 10
From: "Dinko Tenev" <[email protected]>
To: "Guy" <[email protected]>, <[email protected]>
Subject: Re: [gentoo-newbies] problem with bzip2?
Date: Thu, 5 Sep 2002 18:14:24 +0300

Here's the situation, in more detail:

I successfully boot from the CD, then created and mounted my
partitions, then tried to untar the stage3 archive.  As this failed, it
took me a while to figure that the error message was issued by
bzip2.  I tried to bzip2 -tvv the archive, which resulted in exactly
the same error message.  Further, I copied the file (no error) from
the cdrom to the already mounted root partition, and tried
bzip2 -tvv the local copy, which didn't work, either.

Now, it is copying the file from the cdrom to the disk that tells
me my CD is most probably ok.  Of course, the cdrom driver
might produce bogus data reading from certain types of cdroms.

I am running an XP on the same machine, so I reboot into XP,
copied the same file to the disk, and then proceeded to uncompress
and untar it with WinRAR, and it went as smoothly as possible.

Having in mind your experience, it's most probably a buggy
cdrom driver.  I'll try get a more robust cdrom drive, and I'll try
again.

Thanks.


----- Original Message -----
From: "Guy" <[email protected]>
To: "Dinko Tenev" <[email protected]>
Sent: Thursday, September 05, 2002 5:28 PM
Subject: Re: [gentoo-newbies] problem with bzip2?


I don't have an answer to your problem. I've installed with both
the 1.2 and 1.4b ISOs with no problem. On one machine however, I
did receive a message during the boot of the ISOs that the block
size couldn't be detected so size 0800 was assumed. This
indicates to me that some CDROM players may be problematical. Are
you working with a new system or is that and already used machine
you're dealing with?

Given what you reported regarding not having problems WinRAR (is
this on a different machine perhaps?), I would consider the
possibility of a CDROM drive problem.

Hope this helps!

On Thursday 05 September 2002 05:14 am, Dinko Tenev wrote:
> Hi,
>
> I am stuck at untarring the stage?-*.tbz2 files, because bzip2
> invariably reports bad CRC on all of them.  I am using the
> gentoo-i686-1.2.iso image.
>
> If I could be sure that this was a problem with either the CD
> or the files, I would be more than glad to burn another CD,
> but the files copy OK, and WinRAR uncompresses and untars
> them without any fuss whatsoever, except for a bunch of "can't
> create" messages for the A-Z sub-dirs of .../terminfo,
> obviously due to NTFS case-insensitivity.
>
> Why would bzip2 complain, and, what is more important, is
> there a way around this?
>
> I would appreciate _any_ comments.
>



--__--__--

Message: 11
Reply-To: <[email protected]>
From: "Yancey B. Jones" <[email protected]>
To: <[email protected]>
Date: Thu, 5 Sep 2002 11:49:46 -0400
Subject: [gentoo-newbies] PHP

I am following the instructions in the Desktop Configuration Guide and I
am having nothing but problems. When I try to do the following: ebuild

	/var/db/pkg/dev-php/php-4.2.2.r1/php-4.2.2.r1.ebuild config

I get a the following:

	/usr/sbin/ebuild.sh: pkg_config: command not found

I have done an emerge rsync, emerge portage, and emerge rsync again with
no change in the message. The emerge php went fine afterward but I still
can't do the ebuild and my Apache won't process the test.php file.

Thanks,
Yancey


--__--__--

Message: 12
From: Juri Haberland <[email protected]>
Reply-To: Juri Haberland <[email protected]>
Subject: Re: [gentoo-newbies] postfix
Date: Thu, 05 Sep 2002 17:54:56 +0200
Organization: ALTUS Media AG
To: [email protected]

Yancey B. Jones wrote:
> <SNIP>
>>
>> Show us the postfix logs of the mail session. This error
>> message doesn't say anything useful (Outlook, I assume).
>>
>
> Where would I find them. I see nothing in the postfix directory that
> looks like a log file.

On Linux most, if not all, log files are in /var/log.
Depending on your syslog configuration this is called 'mail' or
'maillog' or something other. Have a look, Postfix is very good in
logging what is does and what it doesn't like.

Cheers,
Juri

--
  If each of us have one object, and we exchange them,
     then each of us still has one object.
  If each of us have one idea,   and we exchange them,
     then each of us now has two ideas.


--__--__--

Message: 13
Reply-To: <[email protected]>
From: "Yancey B. Jones" <[email protected]>
To: "'Juri Haberland'" <[email protected]>,
	<[email protected]>
Subject: RE: [gentoo-newbies] postfix
Date: Thu, 5 Sep 2002 12:36:43 -0400

<SNIP>
> On Linux most, if not all, log files are in /var/log.
> Depending on your syslog configuration this is called 'mail'
> or 'maillog' or something other. Have a look, Postfix is very
> good in logging what is does and what it doesn't like.
>

Found it thanks. Here is the latest from the log. I kept getting a bad
netmask and I found that I had entered the wrong info. I want to allow
all from 192.168.69.1 to 192.168.69.254 which are my local LAN addresses
so it should be 192.168.69.0/32. That did the trick.

My next question is that now I can connect and send mail to a local
user, it won't let me relay through it from my local LAN and it is set
up to allow that (I think).

Thanks,
Yancey

Sep  5 12:11:00 [postfix/master] reload configuration
Sep  5 12:11:06 [postfix/smtpd] connect from unknown[192.168.69.192]
Sep  5 12:11:06 [postfix/smtpd] 66EFA47DCE5:
client=unknown[192.168.69.192]
Sep  5 12:11:06 [postfix/smtpd] fatal: bad net/mask pattern:
192.168.69.0/254
Sep  5 12:11:07 [postfix/cleanup] warning: premature end-of-input from
cleanup socket while reading input attribute name
Sep  5 12:11:07 [postfix/master] warning: process /usr/lib/postfix/smtpd
pid 24752 exit status 1
Sep  5 12:11:07 [postfix/master] warning: /usr/lib/postfix/smtpd: bad
command startup -- throttling
Sep  5 12:12:07 [postfix/smtpd] connect from unknown[192.168.69.192]
Sep  5 12:12:07 [postfix/smtpd] 32E4147DCE5:
client=unknown[192.168.69.192]
Sep  5 12:12:07 [postfix/smtpd] fatal: bad net/mask pattern:
192.168.69.0/254
Sep  5 12:12:08 [postfix/master] warning: process /usr/lib/postfix/smtpd
pid 24801 exit status 1
Sep  5 12:12:08 [postfix/master] warning: /usr/lib/postfix/smtpd: bad
command startup -- throttling
Sep  5 12:12:08 [postfix/cleanup] warning: premature end-of-input from
cleanup socket while reading input attribute name
Sep  5 12:13:08 [postfix/smtpd] connect from unknown[192.168.69.192]
Sep  5 12:13:08 [postfix/smtpd] 25A1B47DCE7:
client=unknown[192.168.69.192]
Sep  5 12:13:08 [postfix/smtpd] fatal: bad net/mask pattern:
192.168.69.0/254
Sep  5 12:13:09 [postfix/cleanup] warning: premature end-of-input from
cleanup socket while reading input attribute name
Sep  5 12:13:09 [postfix/master] warning: process /usr/lib/postfix/smtpd
pid 24860 exit status 1


--__--__--

Message: 14
From: "Alex Thomas" <[email protected]>
To: <[email protected]>
Date: Thu, 5 Sep 2002 11:47:38 -0500
Subject: [gentoo-newbies] Configuring Postfix

This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C254D2.08AAECC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Does anyone know of a Postfix for newbies guide?  I want to set up =
postfix to both send and recieve but my internet connection domain is =
not the domain that I need to send and recieve email from.  I am on a =
cable connection behind a netgear firewall.  I have smtp opened to =
direct to my gentoo box.  I need to configure postfix to send and =
recieve mail as terrabytetech.dns2go.com.  Does anyone know where I can =
get simple easy to follow (like the gentoo x86 install guide) =
instructions.

Thanks

Alex

------=_NextPart_000_0007_01C254D2.08AAECC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Does anyone know of a Postfix for =
newbies=20
guide?&nbsp; I want to set up postfix to both send and recieve but my =
internet=20
connection domain is not the domain that I need to send and recieve =
email=20
from.&nbsp; I am on a cable connection behind a netgear firewall.&nbsp; =
I have=20
smtp opened to direct to my gentoo box.&nbsp; I need to configure =
postfix to=20
send and recieve mail as terrabytetech.dns2go.com.&nbsp; Does anyone =
know where=20
I can get simple easy to follow (like the gentoo x86 install guide)=20
instructions.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Alex</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C254D2.08AAECC0--



--__--__--

_______________________________________________
gentoo-newbies mailing list
[email protected]
http://lists.gentoo.org/mailman/listinfo/gentoo-newbies


End of gentoo-newbies Digest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.