Re: mount options display (detailed)

2012-02-25 Thread Matthew Seaman
On 25/02/2012 01:21, Chris Hill wrote:
 'mount -p' shows me something that looks a lot like my own /etc/fstab.
 It appears to be showing me what's mounted right now, but it does not
 display any mount options. This is on 8.0-STABLE; maybe things have
 changed in the Brave New World of Nine.

No, things are exactly the same in this regard in 9.x.  Yes, 'mount -p'
shows you the fstab(5) file corresponding to the current state of your
system.  Although nowadays you wouldn't necessarily want to have
/etc/fstab containing exactly that data -- ZFS has a lot of this stuff
built in, and jails etc. are frequently configured using a separate
fstab file.

I don't understand what you are asking for, if it isn't the mount
options in the 4th column of the fstab(5) file.

If you mean what mount options are available to use, then I suggest
reading the mount(8) man page (for the generic options, and those
relating to UFS) and the filesystem specific versions such as
mount_cd9660, mount_nfs, mount_nullfs etc.  To see what mount related
man pages are available:

   man -k mount_

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Problems with linprocfs(5) and htop

2012-02-25 Thread Florian Unglaub

On Mon, Feb 20, 2012 at 05:46:35PM +, jb wrote:
 Florian Unglaub ueber at roladder.net writes:
 
  ... 
  htop relies on linprocfs(5) to gather process statistic. linprocfs is
  mounted:
  
  linprocfs on /usr/compat/linux/proc (linprocfs, local)
  ...
 
 $ cat /etc/fstab
 ...
 linproc   /compat/linux/proclinprocfsrw0   0

I used to have it mounted there until people on the forums repeatedly 
told me it should be mounted under /usr/compat/linux/proc. However, I 
just moved the whole compat directory to /usr and made a symlink to 
/usr/compat.

Nevertheless, in neither configurations the tool is working.

Regards,
Florian.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Paul Macdonald

On 24/02/2012 21:52, Bender, Chris wrote:

Hi, I am responsible for a system I know little about.

Sendmail all of a sudden stopped working...the sendmial is supposed to
send to another machine.


Check /var/log/maillog on both boxes,

you should see a log message on the origin machine and the onward 
machine of the form


(I've replaced actual names with CAPS)

Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-*MSGID*: 
to=i...@domain.com, delay=15:56:34, xdelay=00:01:15, mailer=esmtp, 
pri=2919788, relay=SOME.RELAY. [X.X.86.167], dsn=4.0.0, stat=Deferred: 
Operation timed out with [SERVER]


What does the Stat say on the first box, if its anything other than Sent 
Ok, then it'll say why. ( deferred, refused etc).


Check the logs on the 2nd server for the same message.

Post extracts from both boxes if you need further help

good luck

Paul.
___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mount options display (detailed)

2012-02-25 Thread jb
Matthew Seaman m.seaman at infracaninophile.co.uk writes:

 
 On 25/02/2012 01:21, Chris Hill wrote:
  'mount -p' shows me something that looks a lot like my own /etc/fstab.
  It appears to be showing me what's mounted right now, but it does not
  display any mount options. This is on 8.0-STABLE; maybe things have
  changed in the Brave New World of Nine.
 ... 
 I don't understand what you are asking for, if it isn't the mount
 options in the 4th column of the fstab(5) file.
 ...

Read this and follow few remaining posts in the thread:
http://osdir.com/ml/freebsd-fs/2011-01/msg00169.html
jb
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-25 Thread Daniel Feenberg



On Sat, 25 Feb 2012, Da Rock wrote:


On 02/25/12 12:03, David Brodbeck wrote:

On Fri, Feb 24, 2012 at 5:15 AM, Daved...@g8kbv.demon.co.uk  wrote:

Those address links need changing to graphic's, so that most address
harvesting bots won't get anything usable.

Mk1 eyeball can still see what's what, but if you have to use the info,
you have to re-type it manually.

I really don't recommend that.  Keep in mind not everyone can use the
Mk1 eyeball.  Websites need to be accessible to blind people using
screen reader software, too.
And therein lies the problem. How do you maintain accessibility while 
preventing bots from harvesting? You can't have your cake and eat it too... 
:)


Only solution lies in a security gate of good filters and blocklists. But 
occasionally one or two will still pass.


An email address can be hidden from bots without violating section 508, 
for instance:


  feenberg is at nber dot org

or some variant won't be picked up by a robot. But is it really practical 
to treat an email address as a secret, when it will be shared with 
hundreds of correspondents? I have mostly thought that was hopeless. We do 
it on our website because we don't want to bother arguing with people.


daniel feenberg
feenb...@nber.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-25 Thread C. P. Ghost
On Sat, Feb 25, 2012 at 12:28 PM, Daniel Feenberg feenb...@nber.org wrote:
 An email address can be hidden from bots without violating section 508, for
 instance:

  feenberg is at nber dot org

 or some variant won't be picked up by a robot.

Most bots use some rather sophisticated regexp pattern
matching nowadays, including some primitive JavaScript
parsing to defeat the most popular JS-based obfuscations.
This one is very, very obvious and among the easiest ones
(including the is variation). You couldn't hide from them
this way.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Email issues, relay failure

2012-02-25 Thread Bender, Chris
Hi Paul,

 

What is happening is mail is coming from machine A--à sent to a middle machine 
X which I think is acting as a delivery machine(as I see postfix as a 
processes) which iisn't the recipient of the mail just

Deliverer. It is also a jails machine. Anyway the logs on system A say the 
following when sending a mail to me through X.

 

Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: 
to=chris.ben...@cell.com, ctladdr=build@ccl_imagpsm.wms.cell.com (500/500), 
delay=21:10:07, xdelay=00:00:00, mailer=relay, pri=4080533, 

relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed out with 
tools2.wms.cell.com.

 

I did a tcp dump on system X and I did see packets coming in and out from X on 
port 25 but nothing came in on the maillog.

 

I then sent the same email I attempted on system A but from system X.

That worked and here is the log.

 

Feb 25 13:33:44 tools2 postfix/pickup[20706]: F0986628D: uid=0 from=root

Feb 25 13:33:44 tools2 postfix/cleanup[21660]: F0986628D: 
message-id=20120225133344.f09866...@tools2.wms.cell.com

Feb 25 13:33:44 tools2 postfix/qmgr[20707]: F0986628D: 
from=r...@tools2.wms.cell.com, size=441, nrcpt=1 (queue active)

Feb 25 13:33:45 tools2 postfix/smtp[21675]: F0986628D: 
to=chris.ben...@cell.com, relay=wmsexg01.corp.cell.com[10.200.104.15]:25, 
delay=0.16, delays=0.03/0.01/0.01/0.11, dsn=2.0.0, status=sent (250 2.0.0 Ok: 
queued as DC069B18973)

Feb 25 13:33:45 tools2 postfix/qmgr[20707]: F0986628D: removed

 

I am loosing much info as many machines are attempting to  deliver email.

Not sure what to do need a mentor on this.

 

Please help

 

Thanks

 

 

 

From: Paul Macdonald [mailto:p...@ifdnrg.com] 
Sent: Saturday, February 25, 2012 5:42 AM
To: Bender, Chris
Cc: freebsd-questions@freebsd.org
Subject: Re: Email issues, relay failure

 

On 24/02/2012 21:52, Bender, Chris wrote: 

Hi, I am responsible for a system I know little about.
 
Sendmail all of a sudden stopped working...the sendmial is supposed to
send to another machine.


Check /var/log/maillog on both boxes,

you should see a log message on the origin machine and the onward machine of 
the form

(I've replaced actual names with CAPS)

Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-MSGID: 
to=i...@domain.com mailto:i...@domain.com , delay=15:56:34, 
xdelay=00:01:15, mailer=esmtp, pri=2919788, relay=SOME.RELAY. [X.X.86.167], 
dsn=4.0.0, stat=Deferred: Operation timed out with [SERVER]

What does the Stat say on the first box, if its anything other than Sent Ok, 
then it'll say why. ( deferred, refused etc).

Check the logs on the 2nd server for the same message.

Post extracts from both boxes if you need further help

good luck

Paul.
___ freebsd-questions@freebsd.org 
mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
mailto:freebsd-questions-unsubscr...@freebsd.org  

 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Paul Macdonald

On 25/02/2012 13:41, Bender, Chris wrote:


Hi Paul,

What is happening is mail is coming from machine A--àsent to a middle 
machine*X* which I think is acting as a delivery machine(as I see 
postfix as a processes) which iisn't the recipient of the mail just


Deliverer. It is also a jails machine. Anyway the logs on system A say 
the following when sending a mail to me through X.


Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: 
to=chris.ben...@cell.com, ctladdr=build@ccl_imagpsm.wms.cell.com 
(500/500), delay=21:10:07, xdelay=00:00:00, mailer=relay, pri=4080533,


relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed 
out with tools2.wms.cell.com.


I did a tcp dump on system X and I did see packets coming in and out 
from X on port 25 but nothing came in on the maillog.




Ok,  i don't know Postfix so someone else might have to pick up here.

It sounds like there might be a local mailer (submission queue) running 
on X, but not SMTP. The message from A was that it couldn't connect to 
X. (Deferred: Connection timed out with tools2.wms.cell.com)


what do you get if you try telnetting from A to X
telnet tools2.wms.cell.com 25

(if you get a connection, good, try following these instructions to send 
a mail manually via telnet)   http://www.yuki-onna.co.uk/email/smtp.html


If not, have you tried restarting postfix on X?

Paul.




*From:*Paul Macdonald [mailto:p...@ifdnrg.com]
*Sent:* Saturday, February 25, 2012 5:42 AM
*To:* Bender, Chris
*Cc:* freebsd-questions@freebsd.org
*Subject:* Re: Email issues, relay failure

On 24/02/2012 21:52, Bender, Chris wrote:

Hi, I am responsible for a system I know little about.
  
Sendmail all of a sudden stopped working...the sendmial is supposed to

send to another machine.


Check /var/log/maillog on both boxes,

you should see a log message on the origin machine and the onward 
machine of the form


(I've replaced actual names with CAPS)

Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-*MSGID*: 
to=i...@domain.com mailto:i...@domain.com, delay=15:56:34, 
xdelay=00:01:15, mailer=esmtp, pri=2919788, relay=SOME.RELAY. 
[X.X.86.167], dsn=4.0.0, stat=Deferred: Operation timed out with [SERVER]


What does the Stat say on the first box, if its anything other than 
Sent Ok, then it'll say why. ( deferred, refused etc).


Check the logs on the 2nd server for the same message.

Post extracts from both boxes if you need further help

good luck

Paul.
___ 
freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org 
mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org 
mailto:freebsd-questions-unsubscr...@freebsd.org





--
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546PLEASE NOTE NEW MOBILE
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Email issues, relay failure

2012-02-25 Thread Bender, Chris
Hi Paul

 

I restarted postfix several times on system X. I even restarted the entire 
system.

The DNS isn't an issue I tried the IP address. I was wondering if there was 
certificate or

Some password issue, is that possible? Something isn't connecting between the 
two.

On telnet w IP it says unable to connect.

 

I know nothing about postfix either. It is weird that I can email from X 
though. 

I tried postfix status from MAN and postfix flush but that didn't reveal much.

 

Its weird that the delivery on A says deferred connection timed out but on 
tcpdump I see the port 25

Traffic seemingly working on system X.

 

 

Thanks, 

 

any postfix/mail braniacs out there?  

 

Regards

 

 

From: Paul Macdonald [mailto:p...@ifdnrg.com] 
Sent: Saturday, February 25, 2012 9:47 AM
To: Bender, Chris
Subject: Re: Email issues, relay failure

 


i just tried a dns lookup on tools2.wms.cell.com and got nothing so it looks 
like you're dns entries are on a local network.

If you try telnettting to the IP of X on port 25, you can rule out a DNS issue.

Paul.


On 25/02/2012 14:35, Bender, Chris wrote: 

Hi Paul 

Interesting I hadn't thought if that. 

 

Telnetting to port 25 has no results whatsoever. Does it matter that machine X 
doesn't support telnet though. It only allows SSH.

telnet: connect to address 0.0.4.41: Connection refused

telnet: Unable to connect to remote host: Connection refused

 

 

thanks

From: Paul Macdonald [mailto:p...@ifdnrg.com] 
Sent: Saturday, February 25, 2012 9:12 AM
To: Bender, Chris
Cc: freebsd-questions@freebsd.org
Subject: Re: Email issues, relay failure

 

On 25/02/2012 13:41, Bender, Chris wrote: 

Hi Paul,

 

What is happening is mail is coming from machine A--à sent to a middle machine 
X which I think is acting as a delivery machine(as I see postfix as a 
processes) which iisn't the recipient of the mail just

Deliverer. It is also a jails machine. Anyway the logs on system A say the 
following when sending a mail to me through X.

 

Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: 
to=chris.ben...@cell.com mailto:chris.ben...@cell.com , 
ctladdr=build@ccl_imagpsm.wms.cell.com 
mailto:build@ccl_imagpsm.wms.cell.com  (500/500), delay=21:10:07, 
xdelay=00:00:00, mailer=relay, pri=4080533, 

relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed out with 
tools2.wms.cell.com.

 

I did a tcp dump on system X and I did see packets coming in and out from X on 
port 25 but nothing came in on the maillog.

 


Ok,  i don't know Postfix so someone else might have to pick up here.

It sounds like there might be a local mailer (submission queue) running on X, 
but not SMTP. The message from A was that it couldn't connect to X. (Deferred: 
Connection timed out with tools2.wms.cell.com)

what do you get if you try telnetting from A to X
telnet  tools2.wms.cell.com 25

(if you get a connection, good, try following these instructions to send a mail 
manually via telnet)   http://www.yuki-onna.co.uk/email/smtp.html

If not, have you tried restarting postfix on X?

Paul.







 

From: Paul Macdonald [mailto:p...@ifdnrg.com] 
Sent: Saturday, February 25, 2012 5:42 AM
To: Bender, Chris
Cc: freebsd-questions@freebsd.org
Subject: Re: Email issues, relay failure

 

On 24/02/2012 21:52, Bender, Chris wrote: 

Hi, I am responsible for a system I know little about.
 
Sendmail all of a sudden stopped working...the sendmial is supposed to
send to another machine.


Check /var/log/maillog on both boxes,

you should see a log message on the origin machine and the onward machine of 
the form

(I've replaced actual names with CAPS)

Feb 25 10:37:32 SERVER1 sm-mta[74139]: q1OIevSE033413-MSGID: 
to=i...@domain.com mailto:i...@domain.com , delay=15:56:34, 
xdelay=00:01:15, mailer=esmtp, pri=2919788, relay=SOME.RELAY. [X.X.86.167], 
dsn=4.0.0, stat=Deferred: Operation timed out with [SERVER]

What does the Stat say on the first box, if its anything other than Sent Ok, 
then it'll say why. ( deferred, refused etc).

Check the logs on the 2nd server for the same message.

Post extracts from both boxes if you need further help

good luck

Paul.
___ freebsd-questions@freebsd.org 
mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 
mailto:freebsd-questions-unsubscr...@freebsd.org  

 







-- 
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546   PLEASE NOTE NEW MOBILE
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-
 






-- 
-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546   PLEASE NOTE NEW MOBILE
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG

Re: Security? [Re: Why is this Symbol in the front of your website. A humble request.]

2012-02-25 Thread Joshua Isom

On 2/25/2012 7:11 AM, C. P. Ghost wrote:

On Sat, Feb 25, 2012 at 12:28 PM, Daniel Feenbergfeenb...@nber.org  wrote:

An email address can be hidden from bots without violating section 508, for
instance:

  feenberg is at nber dot org

or some variant won't be picked up by a robot.


Most bots use some rather sophisticated regexp pattern
matching nowadays, including some primitive JavaScript
parsing to defeat the most popular JS-based obfuscations.
This one is very, very obvious and among the easiest ones
(including the is variation). You couldn't hide from them
this way.

-cpghost.



What happens if the person going to the website doesn't speak any 
english and uses a translating service?  The username or domain name 
could be mangled to something different.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Jerry
On Sat, 25 Feb 2012 10:26:38 -0500
Bender, Chris articulated:

 any postfix/mail braniacs out there?

If you are having a problem with Postfix, the absolute best place to
get help with your problem is the Postfix forum.

TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail

quote
Output from postconf -n. Please do not send your main.cf file, or
500+ lines of postconf output.

Better, provide output from the postfinger tool. This can be found at
http://ftp.wl0.org/SOURCES/postfinger.
/quote

Depending on your version of Postfix, postconf -Mf  postconf -nf
will output all the information required. Just copy it and submit it
the Postfix forum.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Bender, Chris
Hi Jon
Thanks. There aren't any firewalls between the devices but they are far apart. 
I can telnet from x to a and I can ssh from a to x. 

I think you are right in focusing on the connection time out from A to X , i  
looked  on X for a service that isnt running
Which makes this fail but I am not sure 
Which services. I see postfix and sendmail running and I have restarted them. I 
never see mail delivery from A in mailog on X


Thanks

On Feb 25, 2012, at 1:03 PM, Jon Radel j...@radel.com wrote:

 On 2/25/12 10:26 AM, Bender, Chris wrote:
 
 
 On telnet w IP it says unable to connect.
 ...
 Its weird that the delivery on A says deferred connection timed out but on 
 tcpdump I see the port 25
 
 
 If you can't establish a TCP connection from A to your relay server on port 
 25, I'd expect all of the above.  If you can't establish a TCP connection to 
 port 25 at all from A, I'd stop focusing on the details of the e-mail server 
 on the relay machine (as they're likely to be beside the point) and start 
 focusing on what is blocking the traffic from A. Have you audited all the 
 firewalls involved?  To be really focused, if you see traffic (both ways) at 
 the relay server when A tries to talk to port 25, but A is convinced that no 
 TCP connection is established, either you're stomping on things at the relay 
 server (do your attempts to telnet to port 25 fail immediately or just sit 
 there for a good long time and then fail?), the reply packets from relay to A 
 are getting mis-routed, or A is ignoring the packets coming in from the 
 relay.  Can you ping from the relay to A?
 
 There's a distinct difference between failure to establish a TCP connection 
 (look to the network stuff) and the e-mail server giving you an error 
 response rejecting your attempt to transfer mail or just quietly loosing the 
 mail (look to the e-mail servers).
 
 -- 
 --Jon Radel
 j...@radel.com
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Jon Radel

On 2/25/12 10:26 AM, Bender, Chris wrote:



On telnet w IP it says unable to connect.

...

Its weird that the delivery on A says deferred connection timed out but on 
tcpdump I see the port 25



If you can't establish a TCP connection from A to your relay server on 
port 25, I'd expect all of the above.  If you can't establish a TCP 
connection to port 25 at all from A, I'd stop focusing on the details of 
the e-mail server on the relay machine (as they're likely to be beside 
the point) and start focusing on what is blocking the traffic from A. 
Have you audited all the firewalls involved?  To be really focused, if 
you see traffic (both ways) at the relay server when A tries to talk to 
port 25, but A is convinced that no TCP connection is established, 
either you're stomping on things at the relay server (do your attempts 
to telnet to port 25 fail immediately or just sit there for a good long 
time and then fail?), the reply packets from relay to A are getting 
mis-routed, or A is ignoring the packets coming in from the relay.  Can 
you ping from the relay to A?


There's a distinct difference between failure to establish a TCP 
connection (look to the network stuff) and the e-mail server giving you 
an error response rejecting your attempt to transfer mail or just 
quietly loosing the mail (look to the e-mail servers).


--
--Jon Radel
j...@radel.com



Re: Email issues, relay failure

2012-02-25 Thread Michael Powell
Jon Radel wrote:

 On 2/25/12 10:26 AM, Bender, Chris wrote:
 

 On telnet w IP it says unable to connect.
 ...
 Its weird that the delivery on A says deferred connection timed out but
 on tcpdump I see the port 25
 
 
 If you can't establish a TCP connection from A to your relay server on
 port 25, I'd expect all of the above.  If you can't establish a TCP
 connection to port 25 at all from A, I'd stop focusing on the details of
 the e-mail server on the relay machine (as they're likely to be beside
 the point) and start focusing on what is blocking the traffic from A.
 Have you audited all the firewalls involved?  To be really focused, if
 you see traffic (both ways) at the relay server when A tries to talk to
 port 25, but A is convinced that no TCP connection is established,
 either you're stomping on things at the relay server (do your attempts
 to telnet to port 25 fail immediately or just sit there for a good long
 time and then fail?), the reply packets from relay to A are getting
 mis-routed, or A is ignoring the packets coming in from the relay.  Can
 you ping from the relay to A?
 
 There's a distinct difference between failure to establish a TCP
 connection (look to the network stuff) and the e-mail server giving you
 an error response rejecting your attempt to transfer mail or just
 quietly loosing the mail (look to the e-mail servers).
 

It can also depend on a difference between residential vs business account at 
the ISP between them. If it was working fine and absolutely nothing was 
changed at either end, one posibility is an ISP implemented a policy of 
forcing mail submission to port 587, and whatever blocking they then started 
on port 25 is what broke the connection. 

-Mike


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[2]: VERY slow performance on igb+FreeBSD8.2+mpd5.6

2012-02-25 Thread Коньков Евгений
Здравствуйте, Volodymyr.

Вы писали 24 февраля 2012 г., 10:10:12:

VK Коньков Евгений wrote:

 #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012
 и Version 5.6 (root@ 10:03 20-Feb-2012)
 http://www.speedtest.net/result/1790445113.png
 try to reconnect to mpd 10-20times and you get next:
 http://www.speedtest.net/result/1790454801.png

VK Used server differs in your images. Would you please track down assigned
VK IP's?

I have load video on youtube.

When low performance occur top -SHP shows next:
  PID USERNAME   PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root   171 ki31 0K64K CPU22 222:21 100.00% idle{idle: cpu
   11 root   171 ki31 0K64K CPU11 222:11 100.00% idle{idle: cpu
   11 root   171 ki31 0K64K CPU33 222:07 100.00% idle{idle: cpu
   11 root   171 ki31 0K64K RUN 0 221:39 98.73% idle{idle: cpu0
   12 root   -32- 0K   624K WAIT1   1:30  0.00% intr{swi4: cloc
0 root   -680 0K   384K -   3   1:03  0.00% kernel{dummynet
0 root   -160 0K   384K sched   0   0:44  0.00% kernel{swapper}
   12 root   -44- 0K   624K WAIT3   0:31  0.00% intr{swi1: neti
   12 root   -44- 0K   624K WAIT3   0:11  0.00% intr{swi1: neti
   12 root   -68- 0K   624K WAIT2   0:07  0.00% intr{irq263: ig
   12 root   -44- 0K   624K WAIT1   0:06  0.00% intr{swi1: neti
   13 root   -16- 0K64K sleep   2   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   0   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   2   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   1   0:06  0.00% ng_queue{ng_que
   12 root   -68- 0K   624K WAIT3   0:05  0.00% intr{irq276: re

it seems like no ticks are given to new subsystem
what is comming on you can see on video (there are also shown netstat, vmstat 
etc)

see video #3 this is best video then #2 then #1
http://youtu.be/f90nMtNdKB8


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[8]: high load system do not take all CPU time

2012-02-25 Thread Коньков Евгений
Здравствуйте, Robert.

Вы писали 26 декабря 2011 г., 23:54:59:


RB [drivelectomy -- 200+ lines]

RB You've been told the following, *repeatedly*:

RB Your hardware is not capable of keeping up with the level of network traffic
RB it is being subjected to.

RB Reaaltek cards and the 're' device driver are a *BAD*CHOICE* for systems 
with
RB heavy network traffic.  They're merely 'medium lousy' on a lightly-loaded
RB system, but you don't notice the problems under light loads.

RB You have two choices:
RB   1) live with the crappy performance
RB   2) get a better quality network card.

better card do not change situation http://youtu.be/f90nMtNdKB8

full video you can download
http://www.filehosting.org/file/details/316076/1.rar

igb3@pci0:1:0:3:class=0x02 card=0x00018086 chip=0x15218086 rev=0x01 
hdr=0x00
vendor = 'Intel Corporation'
class  = network
subclass   = ethernet

   12 root   -32- 0K   624K WAIT1   1:38  0.00% intr{swi4: cloc
0 root   -680 0K   384K -   3   1:08  0.00% kernel{dummynet
0 root   -160 0K   384K sched   2   0:44  0.00% kernel{swapper}
   12 root   -44- 0K   624K WAIT3   0:31  0.00% intr{swi1: neti
   12 root   -44- 0K   624K WAIT3   0:11  0.00% intr{swi1: neti
   12 root   -68- 0K   624K WAIT2   0:07  0.00% intr{irq263: ig
   12 root   -44- 0K   624K WAIT2   0:06  0.00% intr{swi1: neti
   13 root   -16- 0K64K sleep   1   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   1   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   1   0:06  0.00% ng_queue{ng_que
   13 root   -16- 0K64K sleep   1   0:06  0.00% ng_queue{ng_que
   12 root   -68- 0K   624K WAIT3   0:05  0.00% intr{irq276: re
   12 root   -44- 0K   624K WAIT3   0:04  0.00% intr{swi1: neti
   14 root   -16- 0K16K -   0   0:04  0.00% yarrow
   12 root   -68- 0K   624K WAIT1   0:01  0.00% intr{irq262: ig
   12 root   -68- 0K   624K WAIT1   0:01  0.00% intr{irq257: ig
   12 root   -68- 0K   624K WAIT0   0:01  0.00% intr{irq261: ig
   12 root   -68- 0K   624K WAIT2   0:01  0.00% intr{irq258: ig
   12 root   -68- 0K   624K WAIT3   0:01  0.00% intr{irq274: ig
   12 root   -68- 0K   624K WAIT3   0:01  0.00% intr{irq264: ig




-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is this Symbol in the front of your website. A humble request.

2012-02-25 Thread C. P. Ghost
On Fri, Feb 24, 2012 at 8:32 AM, Erich Dollansky
er...@alogreentechnologies.com wrote:
 On Friday 24 February 2012 14:14:32 Matthew Seaman wrote:
 On 24/02/2012 06:59, Erich Dollansky wrote:
  I live in Asia and they really have these things here. Just without the 
  horns.

 That would be what most people call a ball.  They have them in the
 west too...

 do they vibrate when they get moved?

Yes, but only if they run FreeBSD, and only if they have the
hw.balls.vibrating sysctl(8) set to 1.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


postfix knowledgable folks

2012-02-25 Thread csbender
I need to bid out some work, 


Is there anybody who is good at postfix with freebsd 8.2. 
I am willing to pay an expert if he can assist me as I am having issue with my 
system.


What is happening is mail is coming from machine A--à sent to a middle machine 
X 
which I think is acting as a delivery machine(as I see postfix as a processes) 
which iisn’t the recipient of the mail just Deliverer. It is also a jails 
machine. Anyway the logs on system A say the following when sending a mail to 
me 
through X.
 
Feb 25 13:04:17 ccl_imagpsm sendmail[25091]: q1OFs7e0007106: 
to=chris.ben...@cell.com, ctladdr=build@ccl_imagpsm.wms.cell.com (500/500), 
delay=21:10:07, xdelay=00:00:00, mailer=relay, pri=4080533, 
relay=tools2.wms.cell.com., dsn=4.0.0, stat=Deferred: Connection timed out with 
tools2.wms.cell.com.
 
I did a tcp dump on system X and I did see packets coming in and out from X on 
port 25 but nothing came in on the maillog.
 
I attempted  telnet to IP address of system X on port 25 from A. Connection 
times out. 

The DNS isn’t an issue I tried the IP address as well.
 
On system X I see postfix running. I restarted postfix several times on system 
X. I even restarted the entire system.
 
I know nothing about postfix either. It is weird that I can email from X 
though. 

I tried postfix status from MAN and postfix flush but that didn’t reveal much.
 
Its weird that the delivery on A says deferred connection timed out but on 
tcpdump I see the port 25 Traffic seemingly working on system X.
 
That’s what I know which is very little about this.

please call 561 312 4848 ask for scott
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Polytropon
I have a problem installing a Samsung CLX-2160 color
laser printer using CUPS. In the http://localhost:631
web-based configuration, none of the methods that are
supposed to be used for installing a printer works.

The Add Printer button leads to this:



Add Printer
---
 Local Printers:
Discovered Network Printers:
 Other Network Printers: o Internet Printing Protocol (http) 
 o Internet Printing Protocol (ipp) 
 o LPD/LPR Host or Printer 
 o AppSocket/HP JetDirect
 [ Continue ]

No local printers can be selected (even though the
printer is connected, switched on and woken up).



And Find New Printers shows this:



Available Printers
--
No printers found.



Excellent auto detection. :-)



The corresponding device for the printer is this:

ulpt0: Samsung Electronics Co., Ltd. CLX-216x Series,
class 0/0, rev 2.00/1.00, addr 2 on usbus4
ulpt0: using bi-directional mode

ugen4.2: CLX-216x Series Samsung Electronics Co., Ltd.
at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

crw-rw  1 root  cups0, 142 Feb 25 21:42 /dev/ulpt0

I have installed all packages I can imagine:

cups-1.4.6
cups-base-1.4.6_6
cups-client-1.4.6
cups-image-1.4.6
cups-pstoraster-8.15.4_6
gutenprint-cups-5.2.4_2
foo2zjs-20110609
foomatic-db-20090530_2
foomatic-db-engine-4.0.7,2
gutenprint-foomatic-5.2.4_2
foo2zjs-20110609

I also have the CLX-216xsplc.ppd PPD file available
which I think I'd like to hand over to CUPS somewhere.

ALTERNATIVE: If someone could explain how it's easier
to make a lpr filter (for the system's printer service),
I'd also appreciate this.

I've already tried this:

# foo2xqx-wrapper cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

It causes the LED of the printer to blink, but nothing is
printed, even though the printer startes to make sounds
(involving the print mechanism, but not the sheet feeder).

If I use

# foo2qpdl-wrapper cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

the CUPS test page is printed, but not in color (only b/w).
After looking into the manpage,

# foo2qpdl-wrapper -p 2 -c cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

makes the printer print properly.

Okay, it works.

How am I supposed to use a PPD file with CUPS when no
local printer is shown?

I need CUPS (or at least my programs seem to think
that), how should it be done?

Okay, I could make a simple printer filter. I could then
integrate that with /etc/printcap (as I do with my PCL
HP Laserjet 4000d). I think it should be possible to code
that similar to a parallel printer (with ulpt instead
of lpt device specification for the lp= parameter...

What am I doing wrong? :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 19:39, Bender, Chris skrev:


There aren't any firewalls between the devices but they are far apart. I can 
telnet from x to a and I can ssh from a to x.


Have you tried the correct IP from A to X?
Try dig -x X-IP and dig X-hostname.
Can you ping X from A? Try telnet to X from A with the hostname of X.
Have X changed IP-address?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Antonio Olivares
On Sat, Feb 25, 2012 at 3:14 PM, Polytropon free...@edvax.de wrote:
 I have a problem installing a Samsung CLX-2160 color
 laser printer using CUPS. In the http://localhost:631
 web-based configuration, none of the methods that are
 supposed to be used for installing a printer works.

 The Add Printer button leads to this:



 Add Printer
 ---
             Local Printers:
 Discovered Network Printers:
     Other Network Printers: o Internet Printing Protocol (http)
                             o Internet Printing Protocol (ipp)
                             o LPD/LPR Host or Printer
                             o AppSocket/HP JetDirect
                             [ Continue ]

 No local printers can be selected (even though the
 printer is connected, switched on and woken up).



 And Find New Printers shows this:



 Available Printers
 --
 No printers found.



 Excellent auto detection. :-)



 The corresponding device for the printer is this:

 ulpt0: Samsung Electronics Co., Ltd. CLX-216x Series,
        class 0/0, rev 2.00/1.00, addr 2 on usbus4
 ulpt0: using bi-directional mode

 ugen4.2: CLX-216x Series Samsung Electronics Co., Ltd.
        at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

 crw-rw  1 root  cups    0, 142 Feb 25 21:42 /dev/ulpt0

 I have installed all packages I can imagine:

        cups-1.4.6
        cups-base-1.4.6_6
        cups-client-1.4.6
        cups-image-1.4.6
        cups-pstoraster-8.15.4_6
        gutenprint-cups-5.2.4_2
        foo2zjs-20110609
        foomatic-db-20090530_2
        foomatic-db-engine-4.0.7,2
        gutenprint-foomatic-5.2.4_2
        foo2zjs-20110609

 I also have the CLX-216xsplc.ppd PPD file available
 which I think I'd like to hand over to CUPS somewhere.

 ALTERNATIVE: If someone could explain how it's easier
 to make a lpr filter (for the system's printer service),
 I'd also appreciate this.

 I've already tried this:

        # foo2xqx-wrapper cupstest.ps  cupstest.xqx
        # cat cupstest.xqx  /dev/ulpt0

 It causes the LED of the printer to blink, but nothing is
 printed, even though the printer startes to make sounds
 (involving the print mechanism, but not the sheet feeder).

 If I use

        # foo2qpdl-wrapper cupstest.ps  cupstest.xqx
        # cat cupstest.xqx  /dev/ulpt0

 the CUPS test page is printed, but not in color (only b/w).
 After looking into the manpage,

        # foo2qpdl-wrapper -p 2 -c cupstest.ps  cupstest.xqx
        # cat cupstest.xqx  /dev/ulpt0

 makes the printer print properly.

 Okay, it works.

 How am I supposed to use a PPD file with CUPS when no
 local printer is shown?

 I need CUPS (or at least my programs seem to think
 that), how should it be done?

 Okay, I could make a simple printer filter. I could then
 integrate that with /etc/printcap (as I do with my PCL
 HP Laserjet 4000d). I think it should be possible to code
 that similar to a parallel printer (with ulpt instead
 of lpt device specification for the lp= parameter...

 What am I doing wrong? :-)




 --

Polytropon

Hope this can help:

http://forums.freebsd.org/showthread.php?t=27666

There are many things that could be interfering?

- Create /etc/devfs.rules with the following, which sets the
permissions and associates print devices with the cups group:

[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups

- Add root and other users to cups group in /etc/group
- Enable CUPS and the above rules at startup by adding these lines to
/etc/rc.conf:

cupsd_enable=YES
devfs_system_ruleset=system

Then hopefully the printer shows up in cups http://localhost:631 :)

If none of this works, you may try adding the apsfilter port and use
it to configure the printer?  But see if the above helps.

Regards,


Antonio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re[3]: VERY slow performance on igb+FreeBSD8.2+mpd5.6

2012-02-25 Thread Коньков Евгений
Здравствуйте, Коньков.

Вы писали 25 февраля 2012 г., 22:00:36:

КЕ Здравствуйте, Volodymyr.

КЕ Вы писали 24 февраля 2012 г., 10:10:12:

VK Коньков Евгений wrote:

 #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012
 и Version 5.6 (root@ 10:03 20-Feb-2012)
 http://www.speedtest.net/result/1790445113.png
 try to reconnect to mpd 10-20times and you get next:
 http://www.speedtest.net/result/1790454801.png

VK Used server differs in your images. Would you please track down assigned
VK IP's?

КЕ I have load video on youtube.

КЕ When low performance occur top -SHP shows next:
КЕ   PID USERNAME   PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
КЕ11 root   171 ki31 0K64K CPU22 222:21 100.00% idle{idle: 
cpu
КЕ11 root   171 ki31 0K64K CPU11 222:11 100.00% idle{idle: 
cpu
КЕ11 root   171 ki31 0K64K CPU33 222:07 100.00% idle{idle: 
cpu
КЕ11 root   171 ki31 0K64K RUN 0 221:39 98.73% idle{idle: 
cpu0
КЕ12 root   -32- 0K   624K WAIT1   1:30  0.00% intr{swi4: 
cloc
КЕ 0 root   -680 0K   384K -   3   1:03  0.00% 
kernel{dummynet
КЕ 0 root   -160 0K   384K sched   0   0:44  0.00% 
kernel{swapper}
КЕ12 root   -44- 0K   624K WAIT3   0:31  0.00% intr{swi1: 
neti
КЕ12 root   -44- 0K   624K WAIT3   0:11  0.00% intr{swi1: 
neti
КЕ12 root   -68- 0K   624K WAIT2   0:07  0.00% 
intr{irq263: ig
КЕ12 root   -44- 0K   624K WAIT1   0:06  0.00% intr{swi1: 
neti
КЕ13 root   -16- 0K64K sleep   2   0:06  0.00% 
ng_queue{ng_que
КЕ13 root   -16- 0K64K sleep   0   0:06  0.00% 
ng_queue{ng_que
КЕ13 root   -16- 0K64K sleep   2   0:06  0.00% 
ng_queue{ng_que
КЕ13 root   -16- 0K64K sleep   1   0:06  0.00% 
ng_queue{ng_que
КЕ12 root   -68- 0K   624K WAIT3   0:05  0.00% 
intr{irq276: re

КЕ it seems like no ticks are given to new subsystem
КЕ what is comming on you can see on video (there are also shown netstat, 
vmstat etc)

КЕ see video #3 this is best video then #2 then #1
КЕ http://youtu.be/f90nMtNdKB8

when setting up values:
net.isr.bindthreads: 1
net.isr.direct: 1
net.isr.direct_force: 1

seems have another problem: dummynet take 1/4 of system CPU even when
no traffic at all (10Kbit/s)


 bwm-ng v0.6 (probing every 0.500s), press 'h' for help
  input: getifaddrs type: rate
  | iface   Rx   TxTotal
  ==
 igb0:   2.96 Kb/s1.93 Kb/s4.89 Kb/s
 igb1:   2.09 Kb/s1.93 Kb/s4.02 Kb/s
 igb2:   0.00  b/s0.00  b/s0.00  b/s
 igb3:   2.80 Kb/s0.00  b/s2.80 Kb/s
  re0: 956.18  b/s9.28 Kb/s   10.21 Kb/s
  --
total:   8.78 Kb/s   13.13 Kb/s   21.91 Kb/s


last pid: 37916;  load averages:  0.01,  0.04,  0.06   up 
0+00:11:43  23:20:40
148 processes: 5 running, 104 sleeping, 39 waiting
CPU 0:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 1:  0.0% user,  0.0% nice, 97.3% system,  0.0% interrupt,  2.7% idle
CPU 2:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
CPU 3:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Mem: 92M Active, 14M Inact, 260M Wired, 308K Cache, 23M Buf, 3474M Free
Swap: 4096M Total, 4096M Free

  PID USERNAME   PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
   11 root   171 ki31 0K64K CPU33  11:37 100.00% idle{idle: 
cpu3}
   11 root   171 ki31 0K64K CPU22  11:31 100.00% idle{idle: 
cpu2}
   11 root   171 ki31 0K64K RUN 0  11:29 100.00% idle{idle: 
cpu0}
0 root   -680 0K   384K -   1   0:05 82.23% kernel{dummynet}
   11 root   171 ki31 0K64K CPU11  11:34 20.12% idle{idle: cpu1}
   12 root   -32- 0K   624K WAIT0   0:05  0.10% intr{swi4: 
clock}
0 root   -160 0K   384K sched   0   0:44  0.00% kernel{swapper}
   12 root   -68- 0K   624K WAIT2   0:02  0.00% intr{irq263: 
igb1:que}
   12 root   -68- 0K   624K WAIT1   0:01  0.00% intr{irq262: 
igb1:que}
   13 root   -16- 0K64K sleep   1   0:01  0.00% 
ng_queue{ng_queue3}
   13 root   -16- 0K64K sleep   1   0:01  0.00% 
ng_queue{ng_queue1}
   13 root   -16- 0K64K sleep   0   0:01  0.00% 
ng_queue{ng_queue2}
   13 root   -16- 0K64K sleep   1   0:01  0.00% 
ng_queue{ng_queue0}
   12 root   -68- 0K   624K WAIT  

RE: Email issues, relay failure

2012-02-25 Thread Bender, Chris
NP on all counts.

Names and IPs are same results using both digson A and resolving.
In fact both are identical results on A and B.  I can easily ssh
user@X-Username
From a too. 

The issue doesn't appear be at getting to X the issues is something to
do with the service on X.
I amnot sure if postfix has certs, or password. I don't see anything on
the maillog of X when the email from A
Is sent to it.  Maillog on A says connection timed out. 


Thanks
Regards

-Original Message-
From: Bernt Hansson [mailto:b...@bananmonarki.se] 
Sent: Saturday, February 25, 2012 4:25 PM
To: Bender, Chris
Cc: Jon Radel; freebsd-questions@freebsd.org
Subject: Re: Email issues, relay failure

2012-02-25 19:39, Bender, Chris skrev:

 There aren't any firewalls between the devices but they are far apart.
I can telnet from x to a and I can ssh from a to x.

Have you tried the correct IP from A to X?
Try dig -x X-IP and dig X-hostname.
Can you ping X from A? Try telnet to X from A with the hostname of X.
Have X changed IP-address?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 22:44, Bender, Chris skrev:

NP on all counts.

Names and IPs are same results using both digson A and resolving.
In fact both are identical results on A and B.  I can easily ssh
user@X-Username

From a too.


The issue doesn't appear be at getting to X the issues is something to
do with the service on X.
I amnot sure if postfix has certs, or password. I don't see anything on
the maillog of X when the email from A
Is sent to it.  Maillog on A says connection timed out.


What is the output on X for ps ax|grep libexec/postfix/smtpd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Jerry
On Sat, 25 Feb 2012 22:14:33 +0100
Polytropon articulated:

 I have a problem installing a Samsung CLX-2160 color
 laser printer using CUPS. In the http://localhost:631
 web-based configuration, none of the methods that are
 supposed to be used for installing a printer works.

USB sucks on FreeBSD. Sorry, I don't care who gets pissed off about
that remark. Apparently, your printer only supports USB. If you have
just purchased it, I might recommend returning it and getting one that
is wireless ready. Believe me, you will appreciate the flexibility that
offers.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Polytropon
On Sat, 25 Feb 2012 15:26:29 -0600, Antonio Olivares wrote:
 Hope this can help:
 
 http://forums.freebsd.org/showthread.php?t=27666
 
 There are many things that could be interfering?

Done as explained in the thread. Even

# cp /usr/local/share/examples/cups/ulpt-cupsd.conf /usr/local/etc/devd

has been done.



 - Create /etc/devfs.rules with the following, which sets the
 permissions and associates print devices with the cups group:
 
 [system=10]
 add path 'unlpt*' mode 0660 group cups
 add path 'ulpt*' mode 0660 group cups
 add path 'lpt*' mode 0660 group cups

Checked and already present. I think I should not have
to fiddle with the ugen* devices?

Note: The scanner is currently not interesting to me,
but sane-find-scanners reports it:

found USB scanner (vendor=0x04e8
[Samsung Electronics Co., Ltd.],
product=0x3425 [CLX-216x Series])
at libusb:/dev/usb:/dev/ugen4.2

The printer should be on a similar address, but it does
already pop up as ulpt device which should be good. :-)

An additional

ulpt0: output error

message appear in the system log after the device is
recognized (plugged in).

I also made a comparable set of settings in /etc/devfs.conf
if the printer is detected at boot time.

own ulpt0   root:cups
permulpt0   0666
own unlpt0  root:cups
permunlpt0  0666

That should be fine.


 - Add root and other users to cups group in /etc/group

Done.



 - Enable CUPS and the above rules at startup by adding these lines to
 /etc/rc.conf:
 
 cupsd_enable=YES
 devfs_system_ruleset=system

Also already done. I'm already running CUPS to address the
HP Laerjet 4000d via LAN (what a waste, I know).



 Then hopefully the printer shows up in cups http://localhost:631 :)

No auto-detection, no local printers to be configured. :-(



 If none of this works, you may try adding the apsfilter port and use
 it to configure the printer?  But see if the above helps.

I've been using apsfilter in the past happily as it could
even to things like

% lpr sometext.txt

but CUPS truncates the output as soon as an Umlaut or Eszett
appears. Great multilingual tool. :-)

As I said, I have (note the quotes) to use CUPS because
many programs say so. For example, Opera doesn't play with
system's lpr anymore, Gimp has hardcoded stuff in it, and
I believe many programs will follow this road...

Anyway, I will surely dump CUPS as it doesn't work for me.
Brings no benefit, even the simplest things (adding a
printer by specifying port and type) is _impossible_).
I'll begin to write a lpr printer filter instead. That
has been proven to work (see initial message). :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Email issues, relay failure

2012-02-25 Thread Bender, Chris
tools2# ps ax|grep libexec/postfix/smtpdps ax|grep libexec/postfix/smtpd
tools2# ps ax|grep libexec/postfix/smtpd
53297  20  R+J0:00.00 grep libexec/postfix/smtpd
tools2# ps -af | grep smtp
53300  20  R+J0:00.00 grep smtp
tools2# ps -af | grep postfix
53305  20  R+J0:00.00 grep postfix
tools2# ps -ax| more
  PID  TT  STAT  TIME COMMAND
20417  ??  SsJ0:00.09 /usr/sbin/syslogd -ss
20482  ??  SsJ0:00.45 /usr/local/libexec/vsftpd
20603  ??  IsJ0:00.00 /usr/local/sbin/squid -D
20610  ??  SJ 0:01.97 (squid) -D (squid)
20699  ??  SsJ0:00.26 /usr/local/libexec/postfix/master


I don't see sendmail or smtp 

-Original Message-
From: Bernt Hansson [mailto:b...@bananmonarki.se] 
Sent: Saturday, February 25, 2012 4:53 PM
To: Bender, Chris
Cc: Jon Radel; freebsd-questions@freebsd.org
Subject: Re: Email issues, relay failure

2012-02-25 22:44, Bender, Chris skrev:
 NP on all counts.

 Names and IPs are same results using both digson A and resolving.
 In fact both are identical results on A and B.  I can easily ssh 
 user@X-Username
 From a too.

 The issue doesn't appear be at getting to X the issues is something to

 do with the service on X.
 I amnot sure if postfix has certs, or password. I don't see anything 
 on the maillog of X when the email from A Is sent to it.  Maillog on A

 says connection timed out.

What is the output on X for ps ax|grep libexec/postfix/smtpd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Polytropon
On Sat, 25 Feb 2012 16:55:36 -0500, Jerry wrote:
 On Sat, 25 Feb 2012 22:14:33 +0100
 Polytropon articulated:
 
  I have a problem installing a Samsung CLX-2160 color
  laser printer using CUPS. In the http://localhost:631
  web-based configuration, none of the methods that are
  supposed to be used for installing a printer works.
 
 USB sucks on FreeBSD.

In regards to some devices - yes, I fully agree.



 Sorry, I don't care who gets pissed off about
 that remark.

I don't. It's not the first time I get annoyed by USB. :-)



 Apparently, your printer only supports USB.

Sadly yes, it's the no-letter variant (no N for networked
or W for wireless). CUPS seems to be unable to detect that
printer even though it is connected (as I could print to it
without CUPS successfully). However, CUPS always seemed to
have some trouble with connected _local_ printers, I remember
that it was impossible to install a locally connected parallel
printer (needed for specific forms), and it was also impossible
to install a printer that's _currently_ not connected (even
though I knew all its paramters).



 If you have
 just purchased it, I might recommend returning it and getting one that
 is wireless ready.

No such deal, I got this printer as payment (others would
say, for free), just purchased new toner cartridges, and the
press button and make a color copy function works quite
well. As I've mostly used this printer as a dull copier,
I thought I could _easily_ (in CUPS's terminology!) use it
as a printer. Ha ha. :-)

I _never_ would buy a USB printer, and I would also never
buy something that doesn't talk PS (or at least PCL).



 Believe me, you will appreciate the flexibility that
 offers.

Regular wired networking printer would have been fine too.
I use my HP Laserjet 4000 duplex that way - works like a
charm, out of the box, no fiddling with annoying details.
However, that HP is _office_ equipment, while the Samsung
is for living room use. :-)


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread C. P. Ghost
On Sat, Feb 25, 2012 at 10:14 PM, Polytropon free...@edvax.de wrote:
 I have a problem installing a Samsung CLX-2160 color
 laser printer using CUPS. In the http://localhost:631
 web-based configuration, none of the methods that are
 supposed to be used for installing a printer works.

(... snip ...)

 What am I doing wrong? :-)

Have you heeded *all* the advices here?
  /usr/ports/print/cups-base/pkg-message

Permissions are usually the culprit when CUPS doesn't work.

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 22:52, Bernt Hansson skrev:

2012-02-25 22:44, Bender, Chris skrev:

NP on all counts.

Names and IPs are same results using both digson A and resolving.
In fact both are identical results on A and B. I can easily ssh
user@X-Username

From a too.


The issue doesn't appear be at getting to X the issues is something to
do with the service on X.
I amnot sure if postfix has certs, or password. I don't see anything on
the maillog of X when the email from A
Is sent to it. Maillog on A says connection timed out.


What is the output on X for ps ax|grep libexec/postfix/smtpd


Also try, on X, netstat -aptcp | grep smtp.

It should be something along the line of;

tcp40   0  *.smtp*.*LISTEN

Is the postfix machine running freebsd?

Found this on postfix.org http://www.postfix.org/smtpd.8.html

As of Postfix version 2.3, the SMTP server refuses to receive
mail from the network when it runs with non $mail_owner privileges

$mail_owner = http://www.postfix.org/postconf.5.html#mail_owner
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Polytropon
On Sat, 25 Feb 2012 23:07:36 +0100, C. P. Ghost wrote:
 On Sat, Feb 25, 2012 at 10:14 PM, Polytropon free...@edvax.de wrote:
  I have a problem installing a Samsung CLX-2160 color
  laser printer using CUPS. In the http://localhost:631
  web-based configuration, none of the methods that are
  supposed to be used for installing a printer works.
 
 (... snip ...)
 
  What am I doing wrong? :-)
 
 Have you heeded *all* the advices here?
   /usr/ports/print/cups-base/pkg-message
 
 Permissions are usually the culprit when CUPS doesn't work.

Done (even with the variation of 0660 vs. 0770 as suggested
in that file):

[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/4.2.*' mode 0660 group cups
add path 'usb*' mode 0770 group cups

Same result == no result. :-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


A problem internal to GDB has been detected

2012-02-25 Thread Коньков Евгений
# gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd.
(gdb) attach 0
Attaching to process 0
ptrace: Invalid argument.
(gdb) attach 12
Attaching to process 12
ptrace: Invalid argument.
(gdb) attach 9058
Attaching to process 9058
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: 
internal-error: legacy_fetch_link_map_offsets called without legacy link_map 
support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: 
internal-error: legacy_fetch_link_map_offsets called without legacy link_map 
support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Abort (core dumped)


(gdb) core gdb.core
Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
#0  0x000800e23aac in ?? ()


bt shows long list and fineshed as:
#999 0x0001 in ?? ()
#1000 0x7fffebc8 in ?? ()
#1001 0x0017 in ?? ()
Cannot access memory at address 0x8000




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Email issues, relay failure

2012-02-25 Thread Bender, Chris
Hi Brent, 
Thanks for that, I am still digesting it.

tools2# uname -a
FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #

So I put a 0 in the first two octets of the ip address below, but  that
IP address is A.
I am not sure what that means. I was horsing around and tried to start
sendmail
On X then I tried to send an email from A. I have no  idea what all that
means. 

Here is netstat results:
netstat: kvm not available: /dev/mem: No such file or directory
tcp4   0  0 tools2.smtp0.0.81.10.33679 SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN

What is non $mail_owner privileges or how to determine that?

tools2# postconf -d | grep mail_version
mail_version = 2.7.0
milter_macro_v = $mail_name $mail_version

I am still not sure about the non mail owner issue yet, but I would
think because this has run in the past that it wouldn't have changed.
And how do I run smtp as a non mail user when I am root?

Hopfully we are getting somewhere.

Thanks

-Original Message-
From: Bernt Hansson [mailto:b...@bananmonarki.se] 
Sent: Saturday, February 25, 2012 5:09 PM
To: Bender, Chris
Cc: freebsd-questions@freebsd.org; Jon Radel
Subject: Re: Email issues, relay failure

2012-02-25 22:52, Bernt Hansson skrev:
 2012-02-25 22:44, Bender, Chris skrev:
 NP on all counts.

 Names and IPs are same results using both digson A and resolving.
 In fact both are identical results on A and B. I can easily ssh 
 user@X-Username
 From a too.

 The issue doesn't appear be at getting to X the issues is something 
 to do with the service on X.
 I amnot sure if postfix has certs, or password. I don't see anything 
 on the maillog of X when the email from A Is sent to it. Maillog on A

 says connection timed out.

 What is the output on X for ps ax|grep libexec/postfix/smtpd

Also try, on X, netstat -aptcp | grep smtp.

It should be something along the line of;

tcp40   0  *.smtp*.*LISTEN

Is the postfix machine running freebsd?

Found this on postfix.org http://www.postfix.org/smtpd.8.html

As of Postfix version 2.3, the SMTP server refuses to receive mail from
the network when it runs with non $mail_owner privileges

$mail_owner = http://www.postfix.org/postconf.5.html#mail_owner
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure

2012-02-25 Thread Bernt Hansson

2012-02-25 23:29, Bender, Chris skrev:

Hi Brent,
Thanks for that, I am still digesting it.

tools2# uname -a
FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #

So I put a 0 in the first two octets of the ip address below, but  that
IP address is A.
I am not sure what that means. I was horsing around and tried to start
sendmail
On X then I tried to send an email from A. I have no  idea what all that
means.

Here is netstat results:
netstat: kvm not available: /dev/mem: No such file or directory
tcp4   0  0 tools2.smtp0.0.81.10.33679 SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN


Ok. I'm stabbing in the dark here, but didn't you say that X was a jail
system?

Is every postfix process in a jail?

I have never used a jailed system. So my WILD guess it's a something
with jail, or jail setup.



What is non $mail_owner privileges or how to determine that?

tools2# postconf -d | grep mail_version
mail_version = 2.7.0
milter_macro_v = $mail_name $mail_version

I am still not sure about the non mail owner issue yet, but I would
think because this has run in the past that it wouldn't have changed.
And how do I run smtp as a non mail user when I am root?

Hopfully we are getting somewhere.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Email issues, relay failure, perhaps Jails is causing it.

2012-02-25 Thread Bender, Chris
Hi Brent

Yes the system we are calling X, is jailed by another system. 

Here is the jailer system:

zs1#  netstat -aptcp | grep smtp
tcp4   0  0 tools2.smtp10.156.31.20.45081
SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN
tcp4   0  0 rt3.smtp   *.*LISTEN
tcp4   0  0 npims.smtp *.*LISTEN
tcp4   0  0 wiki.smtp  *.*LISTEN
tcp4   0  0 localhost.smtp *.*LISTEN

I see smtp running on several systems it has jailed including system X.
I see above a smtp conversation between system X and 10.156.31.20.
But that is never delivered from what I have seen. I am not sure about
the queues
Or how to see in postfix what exactly is happening?

I think a lot of this stopped working after we rebooted the jailer
system. Jails really should have no affect on
This it is a virtual machine essentially, at least that is my thoughts.

What happen to your thought that snmp needs to run as a non mailer
system?

Thanks

regards

-Original Message-
From: Bernt Hansson [mailto:b...@bananmonarki.se] 
Sent: Saturday, February 25, 2012 6:11 PM
To: Bender, Chris
Cc: freebsd-questions@freebsd.org; Jon Radel
Subject: Re: Email issues, relay failure

2012-02-25 23:29, Bender, Chris skrev:
 Hi Brent,
 Thanks for that, I am still digesting it.

 tools2# uname -a
 FreeBSD tools2 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #

 So I put a 0 in the first two octets of the ip address below, but  
 that IP address is A.
 I am not sure what that means. I was horsing around and tried to start

 sendmail On X then I tried to send an email from A. I have no  idea 
 what all that means.

 Here is netstat results:
 netstat: kvm not available: /dev/mem: No such file or directory
 tcp4   0  0 tools2.smtp0.0.81.10.33679
SYN_RCVD
 tcp4   0  0 tools2.smtp*.*
LISTEN

Ok. I'm stabbing in the dark here, but didn't you say that X was a jail
system?

Is every postfix process in a jail?

I have never used a jailed system. So my WILD guess it's a something
with jail, or jail setup.


 What is non $mail_owner privileges or how to determine that?

 tools2# postconf -d | grep mail_version mail_version = 2.7.0 
 milter_macro_v = $mail_name $mail_version

 I am still not sure about the non mail owner issue yet, but I would 
 think because this has run in the past that it wouldn't have changed.
 And how do I run smtp as a non mail user when I am root?

 Hopfully we are getting somewhere.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: clang vs gcc linking problem

2012-02-25 Thread Julian H. Stacey
Artifex Maximus wrote:
 Hello!
 
 Absolutely not a flame war but would like to switch to clang in a
 project. Project uses ncurses. gcc works well but the executable fails
 when compiled other than -O0. Then I think I should change to clang
 which will becomes the default compiler in FreeBSD. With clang at
 linking time I got the following error:
 
 /usr/local/bin/ld: display/libsub_display.a(canvas.o): undefined
 reference to symbol 'keypad'
 /usr/local/bin/ld: note: 'keypad' is defined in DSO
 /usr/local/lib/libtinfow.so.6.0 so try adding it to the linker command
 line
 /usr/local/lib/libtinfow.so.6.0: could not read symbols: Invalid operation
 clang: error: linker command failed with exit code 1 (use -v to see 
 invocation)
 *** Error code 1
 
 With exactly the same flags gcc links successful. Any idea where is
 the problem and what is the solution?
 
 Thanks,

There have been quite a number of discussions on Gcc  Clang 
of various lists since efforts to transition started, 
I don't see a specific list here,
http://lists.freebsd.org/mailman/listinfo
but this may interest
http://wiki.freebsd.org/BuildingFreeBSDWithClang

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
 Reply below not above, cumulative like a play script,  indent with  .
 Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable.
Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Da Rock

On 02/26/12 08:14, Polytropon wrote:

On Sat, 25 Feb 2012 23:07:36 +0100, C. P. Ghost wrote:

On Sat, Feb 25, 2012 at 10:14 PM, Polytroponfree...@edvax.de  wrote:

I have a problem installing a Samsung CLX-2160 color
laser printer using CUPS. In the http://localhost:631
web-based configuration, none of the methods that are
supposed to be used for installing a printer works.

(... snip ...)


What am I doing wrong? :-)

Have you heeded *all* the advices here?
   /usr/ports/print/cups-base/pkg-message

Permissions are usually the culprit when CUPS doesn't work.

Done (even with the variation of 0660 vs. 0770 as suggested
in that file):

[system=10]
add path 'unlpt*' mode 0660 group cups
add path 'ulpt*' mode 0660 group cups
add path 'lpt*' mode 0660 group cups
add path 'usb/4.2.*' mode 0660 group cups
add path 'usb*' mode 0770 group cups

Same result == no result. :-)
I don't know that I can add anything to the cups discussion here, but I 
understand you'd rather use lpr anyway. You are aware that the printer 
will only speak splix the samsung universal driver language? So any 
config would have to be based on that.


Once you have that working maybe you can manually add the printer in 
cups using lpd.


JIC you haven't considered this yet... HIH :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Installing Samsung CLX-2160 color laser printer on USB using CUPS

2012-02-25 Thread Jerome Herman

On 25/02/2012 22:14, Polytropon wrote:

I have a problem installing a Samsung CLX-2160 color
laser printer using CUPS. In the http://localhost:631
web-based configuration, none of the methods that are
supposed to be used for installing a printer works.

The Add Printer button leads to this:



Add Printer
---
  Local Printers:   
Discovered Network Printers:
  Other Network Printers: o Internet Printing Protocol (http)
  o Internet Printing Protocol (ipp)
  o LPD/LPR Host or Printer
  o AppSocket/HP JetDirect
  [ Continue ]

No local printers can be selected (even though the
printer is connected, switched on and woken up).



And Find New Printers shows this:



Available Printers
--
No printers found.



Excellent auto detection. :-)



The corresponding device for the printer is this:

ulpt0:Samsung Electronics Co., Ltd. CLX-216x Series,
class 0/0, rev 2.00/1.00, addr 2  on usbus4
ulpt0: using bi-directional mode

ugen4.2:CLX-216x Series Samsung Electronics Co., Ltd.
at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

crw-rw  1 root  cups0, 142 Feb 25 21:42 /dev/ulpt0

I have installed all packages I can imagine:

cups-1.4.6
cups-base-1.4.6_6
cups-client-1.4.6
cups-image-1.4.6
cups-pstoraster-8.15.4_6
gutenprint-cups-5.2.4_2
foo2zjs-20110609
foomatic-db-20090530_2
foomatic-db-engine-4.0.7,2
gutenprint-foomatic-5.2.4_2
foo2zjs-20110609

I also have the CLX-216xsplc.ppd PPD file available
which I think I'd like to hand over to CUPS somewhere.

ALTERNATIVE: If someone could explain how it's easier
to make a lpr filter (for the system's printer service),
I'd also appreciate this.

I've already tried this:

# foo2xqx-wrapper cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

It causes the LED of the printer to blink, but nothing is
printed, even though the printer startes to make sounds
(involving the print mechanism, but not the sheet feeder).

If I use

# foo2qpdl-wrapper cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

the CUPS test page is printed, but not in color (only b/w).
After looking into the manpage,

# foo2qpdl-wrapper -p 2 -c cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

makes the printer print properly.

Okay, it works.

How am I supposed to use a PPD file with CUPS when no
local printer is shown?

I need CUPS (or at least my programs seem to think
that), how should it be done?

Okay, I could make a simple printer filter. I could then
integrate that with /etc/printcap (as I do with my PCL
HP Laserjet 4000d). I think it should be possible to code
that similar to a parallel printer (with ulpt instead
of lpt device specification for the lp= parameter...

What am I doing wrong? :-)


You did nothing wrong, on the contrary. You now have a prefectly working 
printer. You just need to tell cups it exists.

Since

# foo2qpdl-wrapper -p 2 -c cupstest.ps  cupstest.xqx
# cat cupstest.xqx  /dev/ulpt0

works, you should be able to create a new printer using a direct device.
So go on as if you wanted to create a network printer, choose 
HPJetDirect (for example) when asked about the connection. Then when you 
have to input the uri remove the socket:// and type usb:///dev/ulpt0. 
(Yes triple / before dev)

The you can process as usual for name, options and PPD.
If it doesn't work try parallel:///dev/ulpt0
Normally one should work.

Basically in cups choosing network connection allows you to input any 
URI  you want, including file and raw (now defunct I think - it was 
mainly for debug anyway).


I never tried this specific printer, but this trick worked well on a few 
HP and Canon.


Tell us how it went.

Jerome Herman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Why is this Symbol in the front of your website. A humble request.

2012-02-25 Thread Erich Dollansky
Hi,

On Sunday 26 February 2012 03:26:48 C. P. Ghost wrote:
 On Fri, Feb 24, 2012 at 8:32 AM, Erich Dollansky
 er...@alogreentechnologies.com wrote:
  On Friday 24 February 2012 14:14:32 Matthew Seaman wrote:
  On 24/02/2012 06:59, Erich Dollansky wrote:
   I live in Asia and they really have these things here. Just without the 
   horns.
 
  That would be what most people call a ball.  They have them in the
  west too...
 
  do they vibrate when they get moved?
 
 Yes, but only if they run FreeBSD, and only if they have the
 hw.balls.vibrating sysctl(8) set to 1.

always these complicated things. This is why life here is so much more exiting.

We do not need sysctl.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Mapping back gptid - device

2012-02-25 Thread Dan Nelson
In the last episode (Feb 26), kpn...@pobox.com said:
 If I have this:
 
 [root@gunsight1 /etc]# ls -la /dev/gptid/
 total 1
 dr-xr-xr-x  2 root  wheel  512 Feb  1 12:44 .
 dr-xr-xr-x  9 root  wheel  512 Feb  1 12:44 ..
 crw-r-  1 root  operator0, 118 Feb  1 12:44 
 7050cab7-4add-11e1-8919-d4bed9aca1e9
 crw-r-  1 root  operator0, 122 Feb  1 12:44 
 d78fd637-4a40-11e1-ab9b-d4bed9aca1e9
 crw-r-  1 root  operator0, 106 Feb  1 12:44 
 e1ec4071-4cfb-11e1-b4ca-d4bed9aca1e9
 crw-r-  1 root  operator0, 112 Feb  1 12:44 
 f96b3a2c-4cfb-11e1-b4ca-d4bed9aca1e9
 [root@gunsight1 /etc]# 
 
 How do I determine which of those /gptid/ entries corresponds to which
 listed in kernel messages printed at boot.
 
 I have tried gpart show -r, but it doesn't give the gptid of the entire
 drive -- only the partitions:
 
 =   34  877920189  mfid0  GPT  (419G)
  34256  1  83bd6b9d-7f41-11dc-be0b-001560b84f0f  (128K)
 290   44041950  2  516e7cb5-6ecf-11d6-8ff8-00022d09712b  (21G)
44042240  817889280  3  516e7cba-6ecf-11d6-8ff8-00022d09712b  (390G)
   861931520   15988703 - free -  (7.6G)

Try gpart list instead, and look at the rawuuid field.

-- 
Dan Nelson
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Email issues, relay failure, perhaps Jails is causing it.

2012-02-25 Thread Bernt Hansson

2012-02-26 00:54, Bender, Chris skrev:

Hi Brent

Yes the system we are calling X, is jailed by another system.

Here is the jailer system:

zs1#  netstat -aptcp | grep smtp
tcp4   0  0 tools2.smtp10.156.31.20.45081
SYN_RCVD
tcp4   0  0 tools2.smtp*.*LISTEN
tcp4   0  0 rt3.smtp   *.*LISTEN
tcp4   0  0 npims.smtp *.*LISTEN
tcp4   0  0 wiki.smtp  *.*LISTEN
tcp4   0  0 localhost.smtp *.*LISTEN


Here is about jails;

http://www.uk.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html

Have you tried to telnet into the other jailed hostnames and 
ip-addresses, like telnet rt3.* 25


What does it say? Can you connect?

There seems to be either a jail problem or a routing problem

You can look at your routing table with netstat -r
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org