Re: XFree86 instead of Xorg?

2008-08-24 Thread Warren Block

On Sun, 24 Aug 2008, Polytropon wrote:


The reason why I ask: I've been using FreeBSD 5 and XFree86 4
for many years happily, my ATI Radeon 9000 RV250 had excellent
driver support, 3D no problems. Since I was forced to upgrade
to FreeBSD 7 due to a massive data loss, I have problems with
Xorg 7. When X is started, it takes several seconds for the display
to initialize - such an amount of time that the monitor switches
off (no signal).


I found that not having moused enabled made for slow switches to X with 
xorg:


http://docs.freebsd.org/cgi/getmsg.cgi?fetch=55740+0+archive/2008/freebsd-x11/20080727.freebsd-x11

Setting moused_enable=Y in /etc/rc.conf cured it.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why /usr/local/etc???

2008-08-24 Thread Matthew Seaman

Gary Kline wrote:


This may have been covered too-often before, buy why can't
*everything* related to /etc hang off /etc?  I can create a
	symlink in /etc to /usr/local/etc named loc or local.  
	Thing is, why this isn't done by default?


Mostly historical reasons.  The typical Unix filesystem layout was
developed in the days when disk capacities were measured in Megabytes
and they were a lot less reliable than they are today.  Hence it was
important to have a separate root filesystem small enough to fit on one
drive and containing everything needed to boot the system -- and ideally,
if your root disk failed, you'ld have a spare drive with identical
contents to fall back upon.  Other file systems were created generally one
to a disk and mounted as required -- so you'ld have separate /tmp, /var, 
/usr, /usr/local, /home etc. If the filesystem grew beyond what one disk 
could support, you'ld have to create and mount a new filesystem on another 
disk and move content onto it. RAIDing disks together to make larger 
filesystems was developed as a response to the limitations of the hardware

of that generation, but in those early days it was unlikely you'ld be able
to boot from a RAIDed partition. Failures of disks providing other
filesystems could be handled by recovery from backup, so long as you had
that basic and as minimal as possible bootable root partition.

Nowadays, the situation is turned on its head.  Disks are very much
larger than the space required to install the OS, and they are both
reliable[*] and pretty cheap.  Server class motherboards generally assume 
you're going to mirror a pair of disks together to provide resilience.
There are also any number of portable disk equivalents that a system can
be booted off in an emergency: memory sticks, compact flash, live CDs etc.
all generally big enough to hold a complete bootable system.

However there is no overriding reason to rearrange the filesystems.
Oh, there are arguments about does the root partition still need to be
kept separate (personally, I'd say no it doesn't: one big partition to
hold it all is much simpler to administer, but opinions differ) but
nothing that makes change imperative.

I do think that there is potential for some sort of rearrangement due to
the increasing popularity of virtualization and similar techniques, where
reusing filesystem content as far as possible pays big efficiency 
dividends.  I'd see filesystems divided into three classes depending on 
content:  generic -- user home directories, web content, databases, system 
sources, the ports tree etc. that you'ld want to share or be able to 
migrate across all instances; arch specific -- kernel, binaries, shlibs, 
/usr/obj, binary package collections which are tied to the CPU architecture 
and the OS version and finally instance specific --  configuration data (ie 
/etc, /usr/local/etc), log files, temporary and swap spaces.  It's not 
excessively difficult to make this sort of split with existing layouts,

but it is more complicated than it needs to be.

Cheers,

Matthew

[*] Well, compared to 20 years ago they are.

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



signature.asc
Description: OpenPGP digital signature


Security problems, I think I have a hacker attacker.

2008-08-24 Thread Christopher Joyner
I think someone is attempting to get into my system.

Here is my details:  There are 2 login failuers on ttyv0,
And also 2 login failers on ttyv0 root.

I did not try login in on that terminal.  Are they able to try to do it away
from my computer, from a remote location?

Can someone tell me how to turn off the broadcast option for my lan, if it's
possible.  I think a server named chill is attacking me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird GEOM errors

2008-08-24 Thread Kris Kennaway

hunter morgan wrote:

Hi.  ive had a freebsd7 box running zfs on 5 500gb hard drives for months
upon months now with mostly good stability but every couple of minutes in my
logs i get errors such as:
kernel: GEOM: ad2: corrupt or invalid GPT detected.
kernel: GEOM: ad2: GPT rejected -- may not be recoverable.

on 2 disks, ad8 and ad2
any ideas why and how to fix? mostly just annoying. thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




Try searching the mailing list archives, this has been discussed on one 
of the lists but I forget the answer.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: which linux emulator?

2008-08-24 Thread Boris Samorodov
(one more try; the first one didn't find it's way to questions@)

On Sat, 23 Aug 2008 18:54:19 -0700 prad wrote:

 in ports there is fedora and gentoo.
 any opinions on preferences?

Ususally you just do a cd to the linux port you need (i.e.
cd /usr/ports/print/acroread7) and do an installation. The
ports tree infrastructure Do the Right Thing itself -- install
current default and actively maintained linux base port. That's
linux_base-fc4 for now. It is used to run almost all linux
applications from ports.

There are some exceptions though. The most noticeable is net/skype
whic requires at least linux_base-fc6 port. But you will be warned
when you try to install the former.

There are some gentoo ports suitable for developing needs (i.e.
those ports contain compiters, development tools, etc.).


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Security problems, I think I have a hacker attacker.

2008-08-24 Thread Per olof Ljungmark

Christopher Joyner wrote:

I think someone is attempting to get into my system.

Here is my details:  There are 2 login failuers on ttyv0,
And also 2 login failers on ttyv0 root.

I did not try login in on that terminal.  Are they able to try to do it away
from my computer, from a remote location?

Can someone tell me how to turn off the broadcast option for my lan, if it's
possible.  I think a server named chill is attacking me.


cat /var/log/auth.log ?

--per
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to access certain sites from FreeBSD 6.2 (solved)

2008-08-24 Thread alasdair
Hi Norberto,

It is solved but quite simply! 
But through no skill of mine. Installed tcpmssd, man page said  to re-configure
the kernel before diversion can be done.
So I added this to the GENERIC config file:
options IPFIREWALL
options IPDIVERT
options IPV6FIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFIREWALL_VERBOSE
options IPV6FIREWALL_VERBOSE 

Verbose just for curiosity!!

Compiled as per handbook. Didn't even configure tcpmssd. Just thought I would
check to see if sites opened ok. They did, but don't know why. Would be great
to know. Unless they just shutdown the bodgy router for a Sunday rebuild.
Will post if situation reverts.

Your experience put me on the right track,thanks now happily I can use FreeBSD
as my main OS.

Regards,

Alasdair
-- Original Message --
Date: Sun, 24 Aug 2008 21:30:18 +1000
From: Norberto Meijome [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Unable to access certain sites from FreeBSD 6.2


On Fri, 22 Aug 2008 23:12:01 +1000
[EMAIL PROTECTED] wrote:

 Makes sense to do it the other way round.  If I could indulge your generosity
 and knowledge, one thing is puzzling me, why do I not have this problem
when
 I am running Win XP on the same machine (dual boot with FreeBSD) using
all
 the same hardware.

Hey Alasdair,
I'm sorry i have to say that i don't know...i don't even know if it IS the
same
problem. When we experienced the issue, it was definitely affecting winxp
workstations, which were behind the fbsd firewall (4.x at the time).

has it solved the issue?
B
_
{Beto|Norberto|Numard} Meijome

Produce great people, the rest will follow.
  Elbert Hubbard

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.

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


Re: sed/awk, instead of Perl

2008-08-24 Thread Wayne Sierke
On Sat, 2008-08-23 at 15:16 -0700, Walt Pawley wrote:
 At 10:01 AM +0100 8/23/08, Matthew Seaman wrote:
 Walt Pawley wrote:
 
  At the risk of beating this to death, I just happened to
  stumble on a real world example of why one might want to use
  Perl for sed-ly stuff.
   ... snip ...
  wump$ ls -l Desktop/klog
  -rw-r--r--  1 wump  1001  52753322 22 Aug 16:37 Desktop/klog
  wump$ time sed s/ .*// Desktop/klog  kadr1
 
  real0m10.800s
  user0m10.580s
  sys 0m0.250s
  wump$ time perl -pe 's/ .*//' Desktop/klog  kadr2
 
  real0m0.975s
  user0m0.700s
  sys 0m0.270s
  wump$ cmp kadr1 kadr2
  wump$
 
  Why disparity in execution speed? ...
 
 Careful now.  Have you accounted for the effect of the klog file
 being cached in VM rather than having to be read afresh from disk?
 It makes a very big difference in how fast it is processed.
 
 No, I hadn't done any such accounting. So, wrote a little script
 you can surmise from the following output:
 
 wump$ sh -v spdtst
 time perl -pe 's/ .*//' Desktop/klog  /dev/null
 
 real0m0.961s
 user0m0.740s
 sys 0m0.230s
 time sed s/ .*// Desktop/klog  /dev/null
 
 real0m10.506s
 user0m10.270s
 sys 0m0.250s
 time awk '{print $1}' Desktop/klog  /dev/null
 
 real0m2.333s
 user0m2.140s
 sys 0m0.180s
 time sed s/ .*// Desktop/klog  /dev/null
 
 real0m10.489s
 user0m10.250s
 sys 0m0.230s
 time perl -pe 's/ .*//' Desktop/klog  /dev/null
 
 real0m0.799s
 user0m0.580s
 sys 0m0.220s
 
I see similar results on all of four systems I tried here - an order of
magnitude difference between perl (fastest) and sed, and awk slightly
slower than perl. All running perl 5.8.8. I did a handful of manual runs
and took the most consistent-looking results. Source file was a 62MB
apache log with 232k records.

Interestingly an Ubuntu system exhibited a similar difference between
perl and sed, but its awk was slightly faster than perl.

 In order to get meaningful data for this sort of test you should
 do a dummy run or two of each command in fairly quick succession,
 and then repeat your test runs a number of times and look at the
 average and standard deviation of the execution times. ...
 
 Yeah, Hoyle would like that. But for me, I think the results
 are clear enough without all the messing with statistical
 computations. 10 to 1 or better is good enough for me to think
 there's some major difference. That said, it would appear that
 caching can make a difference - which is why I put the Perl
 invocation first ... so it would be running without the benefit
 of caching. But I don't believe I was entirely successful in
 that effort. The very first time I ran this, which was also the
 very first time in a whole day that the klog file had been
 accessed, the first Perl invocation took about 2 seconds of
 real time and still only 0.7 seconds of user time. I don't
 believe caching explains the execution speed disparity.
 
 It was mentioned that this function is made for awk, so I tried
 that as well. It is also evidently not as quick as Perl at
 doing the job. The time shown above is quite consistent with a
 number of other runs I've tried with awk.
 
Keep in mind that awk, while producing a comparable result, likely uses
quite a different parsing strategy. While the comparison is interesting
for this particular test-case, different circumstances could produce
very different results.

 I suspect a real Perl internals maven could explain this. I
 have some ideas but they're conjecture. Perhaps some effort to
 improve execution efficiency in sed and awk would not be wasted?

My conjecture is this: the implementation of pcre that perl uses most
likely has good optimisation for the ends with .* part of the pattern
(vs sed). While the result is certainly interesting and perhaps
surprising[1], it is for a single, simple pattern which is far too
little to draw much in the way of conclusions from - except perhaps that
extracting the first field from a data source with many records can
possibly be effected more rapidly with perl or awk than sed.

Nevertheless, I've always dismissed perl as being heavy and slow
through anecdotal evidence and the results you found are a pertinent
reminder that assumptions like that are never worthy.


Wayne

[1] particularly in light of studies such as this one:
http://swtch.com/~rsc/regexp/regexp1.html


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


Catch kernel notification in devd.conf

2008-08-24 Thread Harry Matthiesen Jensen
Hi,

I want my laptop to shutdown when the battery is critical low, but the
ACPI Battery info warning only comes on at a battery level of 10, but I
just noticed that the kernel logs:

kernel: battery0: critically low charge!

..this happens at battery life 7. Better point of shutting down, this
will give me at least 10 minutes more ;-)

How can I catch this in the devd.conf?

My current catch of the battery notifications looks like this (and it
works nicely, but in my point of view, too early):

notify 10 {
match system  ACPI;
match subsystem   CMBAT;
action /usr/local/etc/rc.d/battery;
};

Of course, I could make a loop in the battery shell script to catch it
from the sysctl -n hw.acpi.battery.life ;-), but if I can get the
kernel critically low charge, I think that's better.

Info: Laptop, Toshiba Satellite Pro L40
-- 
Mvh/Brgds Harry
FreeBSD 7.0-STABLE Compiled at Fri Aug 22 13:16:52 CEST 2008  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 instead of Xorg?

2008-08-24 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Gurvich wrote:
 Using Xfree86 is possible but may require much manual configuration.  I
 also have problems with firefox and claws-mail in windowmaker  icewm,
 but not in kde3 or kde4.  I suspect there is a library path issue.

I was doing some experimentation, so I downloaded the xfree86 code to look it
over.  I was interested, so I went ahead and made the very minimal changes I
wanted in the site.def (I dislike FreeBSD's default of having X installed into
/usr/local) and it built perfectly well.  It actually took significantly less
time to compile than Xorg (the build.sh method I used with Xorg does all that
autoconf stuff, takes forever).  There are probably faster methods to use for
the Xorg build, like, they support jhbuild.  Xfree86 only supports imake, which
is pretty fast, but a lot of folks find it hard to understand.  I understand
imake, but can't really track the jhbuild.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkixiNgACgkQz62J6PPcoOmE1ACfW4/2bn+X8twXuXweCLtYi/Zm
jSIAn2YRg/WNJ17hCf+kcedNQpt6lUlO
=pXh1
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cloning a gmirrored hard drive

2008-08-24 Thread Sasa Stupar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi!

My situation: I have a server with FBSD 7 installed with two 40 GB disks
in RAID 1 (gmirror) config.
Now I have noticed the lack of space on the drive so I am thinking to
change these disks for two 160 GB.
What is the best way to clone the main hard disk in raid 1 config? Is
this possible or is it better to switch back from RAID 1 to single disk
system and then do cloning with dump/restore (or dd) and then make RAID
1 again?

Regards,
Sasa
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkixhrMACgkQNT6IH6ilQwipWgCfV8ij/9WF9/G3NKWmiS2hccRu
+bUAniDXI+FYSKFB/r9UJKs/qb4Fn0i/
=2E5k
-END PGP SIGNATURE-


smime.p7s
Description: S/MIME Cryptographic Signature


Realtek RTL8111C and re(4) driver

2008-08-24 Thread cpghost
Hello,

I'm about to get an MSI K9A2GM-FIH mobo with an on-board Realtek
RTL8111C GigE adapter (I've picked that because the on-board Radeon HD
3200 RS780 chip seems supported by the radeon(4x) xorg driver).

Unfortunately, I (wrongly) assumed that the RTL8111C would be
supported by the rl(4) or re(4) driver, and noticed a bit too late
kern/123123.

So the question: has anyone with an RTL8111C actually tried the
patches from this PR on RELENG_7? All I need for now is 100Mbit/s
Ethernet with no frills (no offloading etc...), and I'd rather not
sacrifice one PCI slot for an extra NIC if at all possible.

Thanks,
-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 [EMAIL PROTECTED]


Re: Why /usr/local/etc???

2008-08-24 Thread Polytropon
You gave a very good explaination with many background
information; there's just something I'd like to add.

On Sun, 24 Aug 2008 08:18:41 +0100, Matthew Seaman [EMAIL PROTECTED] wrote:
 However there is no overriding reason to rearrange the filesystems.
 Oh, there are arguments about does the root partition still need to be
 kept separate (personally, I'd say no it doesn't: one big partition to
 hold it all is much simpler to administer, but opinions differ) but
 nothing that makes change imperative.

The two main layout concepts all in one and everything separate
have their advantages and disadvantages. As you mentioned, having
everything within one partition saves you from calculating disk
space needed vs. disk space available (Oops, /usr is full!). But
separate partitions allow you to backup data partition-wise onto
media that's big enough (usually tape), so you can dump everything
1:1 and restore it 1:1 - just as you left it.



 I'd see filesystems divided into three classes depending on 
 content:  generic -- user home directories, web content, databases, system 
 sources, the ports tree etc. that you'ld want to share or be able to 
 migrate across all instances; arch specific -- kernel, binaries, shlibs, 
 /usr/obj, binary package collections which are tied to the CPU architecture 
 and the OS version and finally instance specific --  configuration data (ie 
 /etc, /usr/local/etc), log files, temporary and swap spaces.  It's not 
 excessively difficult to make this sort of split with existing layouts,
 but it is more complicated than it needs to be.

Maybe you're interested in reading this discussion:

http://www.osnews.com/comments/20207

It mostly deals with Linux file system layout, but go see PC-BSD
and the concepts they introduced with their PBI packages.



-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: XFree86 instead of Xorg?

2008-08-24 Thread Polytropon
On Sun, 24 Aug 2008 00:16:16 -0600 (MDT), Warren Block [EMAIL PROTECTED] 
wrote:
 I found that not having moused enabled made for slow switches to X with 
 xorg:
 
 http://docs.freebsd.org/cgi/getmsg.cgi?fetch=55740+0+archive/2008/freebsd-x11/20080727.freebsd-x11
 
 Setting moused_enable=Y in /etc/rc.conf cured it.

I have moused enabled (in fact, via usbd), Sun Type 6 USB
mouse. This is because I like to use the mouse marking and
copying functionality (middle mouse button) on text mode
consoles.

But still interesting... and strange...

-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: Security problems, I think I have a hacker attacker.

2008-08-24 Thread Polytropon
On Sun, 24 Aug 2008 07:39:30 +, Christopher Joyner [EMAIL PROTECTED] 
wrote:
 I think someone is attempting to get into my system.
 
 Here is my details:  There are 2 login failuers on ttyv0,
 And also 2 login failers on ttyv0 root.
 
 I did not try login in on that terminal.  Are they able to try to do it away
 from my computer, from a remote location?

As far as I know, /dev/ttyv* are the local virtual consoles.
SSH login attempts would be on /dev/ttyp*. So if you're sure
it's on ttyv0, this is your system / primary console (first
virtual console) which needs physical access to be used. But
I'm sure there would be a strange way to pass something from
or to /dev/ttyv0 using... redirection maybe?

Are you sure that nobody tried to use your computer physically?



 Can someone tell me how to turn off the broadcast option for my lan, if it's
 possible.  I think a server named chill is attacking me.

Where did you get this evidence from?

Check /var/log/auth.log and /var/log/xfer.log and /var/log/ftpd.log
(if you're running FTP services).

-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: FreeBSD-7.x vs pgp-6.5.8_1

2008-08-24 Thread Stacey Roberts
Hi Kris!
   Good to hear from you..,

On Wed, 20 Aug 2008, Kris Kennaway wrote:

  Stacey Roberts wrote:
  Hello,
   Forgive me if this has already been covered.,
  I'm preparing a replacement workstation where I currently have pgp-6.5.8_1
  installed and in use, to a new machine.
  I see however, that pgp-6.5.8_1 is marked as Also broken with gcc4.2. as
  per the port's Makefile - changes dated Sun Sep 30 10:47:51 2007 UTC (10
  months, 2 weeks ago).
  Can someone in the know provide some information as to what's the future
  of this port as far as its use on newer FreeBSD installations go, please?
 
  Broken until someone out there in the community cares enough to fix it, or 
 it is 
  removed at a point in the future.
 

Thanks for the response.., Another one bites the dust comes to mind :-/

  Most people probably use gnupg thesedays.
 

I'll look into how easy it is to import my PGP-6.5.8x generated keys into GnuPG.

Thanks again.

Regards,

S Roberts


  Kris
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MTA advice ??

2008-08-24 Thread pete
I have a hosted domain that recently changed their mail filtering. I  
am not happy with the new setup and am considering setting up my own.  
Looking for tips on setting up something on my freeBSD 6.1 box.


My ISP is cablevision IO. Not sure what they allow, ie: whether I can  
have my hosted domain set to use my cable IP as a MTA, or if I have to  
do some kind of end run around cablevision to get a MTA set up locally.


Also looking for advice on which software would serve me bet in this instance.

TIA

Pete C
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MTA advice ??

2008-08-24 Thread Matthew Seaman

pete wrote:
I have a hosted domain that recently changed their mail filtering. I am 
not happy with the new setup and am considering setting up my own. 
Looking for tips on setting up something on my freeBSD 6.1 box.


Running your own MTA is one of those sysadmin rights of passage.  It's 
unfortunate that the general levels of spam and other nastyness around

the net make it so much harder than it should be nowadays.

My ISP is cablevision IO. Not sure what they allow, ie: whether I can 
have my hosted domain set to use my cable IP as a MTA, or if I have to 
do some kind of end run around cablevision to get a MTA set up locally.


Hmmm... Whether this is allowed or not depends very much on the ToS of
your supplier.  Most big consumer ISPs won't let you run a mail server.
Most business ISPs will.  There are suppliers who will host e-mail for
you, for a consideration.  eg. www.gradwell.net -- a UK outfit so probably
not ideal for you, but a good example of what can be done.

Also looking for advice on which software would serve me bet in this 
instance.


Now that's a whole big can of worms.  Just about everyone has
religious-level opinions about what the best MTA is.  I tend to use
sendmail, because I know how to make it do what I want.  It's not for 
everyone though. postfix I generally hear good things about, and it

supports the same  libmilter stuff as sendmail, which is handy for
setting up things like DKIM signing or interfacing with spamassassin.
qmail has it's devotees but it's unlike just about any other Unix
daemon you've ever met.  Exim is pretty industrial strength and good
when you have to interface a lot with databases.  The config file
language is a bit odd though.

That's the 'big 4'.  There are plenty of smaller players like Courier
also available.  And we haven't even got onto such contentious topics
as 'what IMAP/POP3 server should I use' or 'if foobar webmail the thing
for me?'

Cheers,

Matthew



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



signature.asc
Description: OpenPGP digital signature


Re: MTA advice ??

2008-08-24 Thread Polytropon
On Sun, 24 Aug 2008 20:22:34 +0100, Matthew Seaman [EMAIL PROTECTED] wrote:
 Running your own MTA is one of those sysadmin rights of passage.  It's 
 unfortunate that the general levels of spam and other nastyness around
 the net make it so much harder than it should be nowadays.

Things that are nothing special, e. g. using your own mail
server to deliver mails, is nearly impossible today if you're
within an address range of a provider that gives you dynamic
IPs. Spam and nastyness are usually problems generated by
others (not by those who set up their own mailservers). So
mails cannot be delivered. This hasn't been the situation in
the past, but due to approx. 90% of the amount of mails being
transferred being spam... you can imagine the reasons for this,
but the UNIX people have to suffer from it, while the don't
care crowd relies on someone else keeping the mail transfer
infrastructure running...



 Hmmm... Whether this is allowed or not depends very much on the ToS of
 your supplier.  Most big consumer ISPs won't let you run a mail server.
 Most business ISPs will.  There are suppliers who will host e-mail for
 you, for a consideration.  eg. www.gradwell.net -- a UK outfit so probably
 not ideal for you, but a good example of what can be done.

Another option is to forward outgoing mail to a MX of the ISP
that is not on a blacklist. The sendmail service provides an
easy means to achieve this: SMART_HOST. This does not cover
incoming mail, of course.





-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: MTA advice ??

2008-08-24 Thread User Lenzi
I am very happy with:

Sendmail (the one that comes with Freebsd...)
and messagewall (in the ports).

if you need, I can send you the 3 config files...
that make it all happen.
with this software you can:

1) receive email directly to your computer (provided that port 25 is
open).
2) filter 99.8 % 0f the spam
3) provides smtp relay (authenticated) 
4) virtual hosts, aliases, domains   fully integrated with
nameserver (in the same machine)
5) send email to anybody in internet (you must use static ip).


It has been working for 20 years 


Sergio
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: space char shell script problem

2008-08-24 Thread Derek Ragona

At 05:19 AM 8/23/2008, David Banning wrote:

I am running into a problem with the space character in filenames.
For instance, If I want to run the script;

for x in `ls`
do
  echo $x
done

then filenames that have a space in them ie: john smith.jpg
are processed by my script as two names, john and smith.jpg.

What is the best way to deal with this type of space problem in the shell?

I know that file names in quotes solves some problems but I can't tranfer
that to my script.


Depending on what your script is doing, I would use an intermediate file 
and awk.


Something like:
ls /tmp/mytempfile
cat /tmp/mytempfile | awk '{ print $0 }'

if you are looking for something special add grep to the mix:
cat /tmp/mytempfile | awk '{ print $0 }'|grep -i [some name pattern]
rm /tmp/mytempfile

You can save the results to another temporary file for more processing, or 
use awk more to create commandlines to execute in another script file such as:
cat /tmp/mytempfile | awk '{ print $0 }'|grep -i [some name pattern] | awk 
'{printfcp %s /backup/backupdir\n, $0)}' /tmp/mycopyscript


chmod +x /tmp/mycopyscript
/tmp/mycopyscript

So depending on what your original script was doing, this method may work 
for you.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: MTA advice ??

2008-08-24 Thread Derek Ragona

At 01:06 PM 8/24/2008, pete wrote:

I have a hosted domain that recently changed their mail filtering. I
am not happy with the new setup and am considering setting up my own.
Looking for tips on setting up something on my freeBSD 6.1 box.

My ISP is cablevision IO. Not sure what they allow, ie: whether I can
have my hosted domain set to use my cable IP as a MTA, or if I have to
do some kind of end run around cablevision to get a MTA set up locally.

Also looking for advice on which software would serve me bet in this instance.

TIA

Pete C


You will need either a static IP, or subscribe to a service that will 
update your DNS entry as your IP changes.  I prefer to use a static IP, but 
you need to see if your ISP will give you one.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


ftpd and sshd logging of domain names

2008-08-24 Thread Len Conrad
Are there are any flags or tricks to get these two daemons to log IP 
addresses of failed login attempts, rather than PTR hostnames?


man ftpd
man sshd

... show nothing, afaics.

thanks
Len

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


Re: MTA advice ??

2008-08-24 Thread Jeffrey Goldberg

On Aug 24, 2008, at 1:06 PM, pete wrote:

I have a hosted domain that recently changed their mail filtering. I  
am not happy with the new setup


I have my email hosted by fastmail.fm.  I am extremely happy with  
them.  (They really understand IMAP and the needs to power email  
users).


and am considering setting up my own. Looking for tips on setting up  
something on my freeBSD 6.1 box.


Running your own MTA is not for the faint-hearted.

My ISP is cablevision IO. Not sure what they allow, ie: whether I  
can have my hosted domain set to use my cable IP as a MTA


The main question is whether you have a static IP.  The IP address  
that you appear to have sent your message from, 69.118.77.111, does  
not appear to be a static IP address.


You will not be able to send directly from that IP to most mail  
servers on the net.  So if you intend to use your system for sending  
mail, you will have to go through a smart host (probably your ISPs  
designated out bound SMTP server).


Receiving mail directly will be more possible, but tricky.  You will  
need to use a dynamic DNS system.  Also do consider uptime and  
reliability.  In the old days, if one MTA couldn't reach another it  
would hold stuff in its queue for four or five days.  Now, most MTAs  
appear to be configured to give up after 24 hours.  So if your  
mailserver is down for a day, mail will be bounced and never delivered  
to you.


Also looking for advice on which software would serve me bet in this  
instance.


exim, postfix and sendmail are all good choices.  I personally prefer  
exim, but I think that someone in your position would do best with  
postfix.


Cheers,

-j



--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: ftpd and sshd logging of domain names

2008-08-24 Thread Polytropon
On Sun, 24 Aug 2008 16:32:56 -0500, Len Conrad [EMAIL PROTECTED] wrote:
 Are there are any flags or tricks to get these two daemons to log IP 
 addresses of failed login attempts, rather than PTR hostnames?
 
 man ftpd
 man sshd
 
 ... show nothing, afaics.

At least for ftpd I think there is a solution:

1. Edit /etc/inetd.conf

ftp stream  tcp nowait  root/usr/libexec/ftpd   ftpd -ll
ftp stream  tcp6nowait  root/usr/libexec/ftpd   ftpd -ll

   The flags -ll enable extended logging.

2. Edit /etc/syslog.conf:

!ftpd
*.* /var/log/ftpd.log

3. Create the log file

# touch /var/log/ftpd.log

4. Optionally: Edit /etc/newsyslog.conf for preferred log
   rotation.

The IPs are being logged in the log file. I'm sure SSH
allows something similar. If I remember correctly, this
has recently been discussed at this list, maybe the archive
brings up some helping informations for you.



-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: MTA advice ??

2008-08-24 Thread George Davidovich
On Sun, Aug 24, 2008 at 02:06:25PM -0400, pete wrote:
 I have a hosted domain that recently changed their mail filtering. I
 am not happy with the new setup and am considering setting up my own.
 Looking for tips on setting up something on my freeBSD 6.1 box.
 
 My ISP is cablevision IO. Not sure what they allow, ie: whether I can
 have my hosted domain set to use my cable IP as a MTA, or if I have to
 do some kind of end run around cablevision to get a MTA set up
 locally.

Here are the pre-requisites:

- You must have a solid understanding of SMTP, DNS, etc.
- You must have one or more fixed IP addresses.
- Your ISP must be willing and agree to delegate your IP
  address(es) to you or to whomever is going to handle the DNS
  for your domain.  A call to your ISP's DNS provisioning
  department may typically be all that's required.
- DNS must be set up correctly.
- Your email server must be set up correctly.
- Your own network must be secured. 
- Your DNS and email servers must be available 24-7/365.

If all the above can't be met, you have no business sending or receiving
email.  If you want to try and PASS GO and collect the $200 by skipping
one or more of the pre-requisites (common enough, it seems), prepare
yourself for some heartache, and be aware that you're likely to cause or
participate in grief for others.

Put simply, email is one of the more complex and challenging things you
can do.  If you don't have the knowledge or technical expertise, but
feel confident you can master the fundamentals and progress from there,
be prepared to spend the next month or two or three slogging through
reading RFCs to do so.  If you do, know that your work has just begun,
and the hard part is just around the corner. ;-)

 Also looking for advice on which software would serve me bet in this
 instance.

I'd suggest setting up an internal test network and deciding for
yourself.  For example, setting up a number of FreeBSD jails, each with
its own running installation of sendmail, postfix, qmail, etc. would be
a good approach, and may more useful than relying on the opinions or
recommendations of others. 

-- 
George
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftpd and sshd logging of domain names

2008-08-24 Thread Len Conrad



At least for ftpd I think there is a solution:

1. Edit /etc/inetd.conf

ftp stream  tcp nowait  root/usr/libexec/ftpd 
 ftpd -ll
ftp stream  tcp6nowait  root/usr/libexec/ftpd 
 ftpd -ll


with -ll, ftpd still logs failures as auth.log as

Aug 24 17:05:30 mx1 ftpd[1625]: FTP LOGIN FAILED FROM domain.tld, user





   The flags -ll enable extended logging.

2. Edit /etc/syslog.conf:

!ftpd
*.* /var/log/ftpd.log

3. Create the log file

# touch /var/log/ftpd.log


same in ftpd.log



The IPs are being logged in the log file.


they are not logged.


 I'm sure SSH
allows something similar. If I remember correctly, this
has recently been discussed at this list, maybe the archive
brings up some helping informations for you.


thanks, I'll look.

like everybody else, we are getting hammered by brute force attacks.

thanks
Len

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


Re: ftpd and sshd logging of domain names

2008-08-24 Thread Polytropon
On Sun, 24 Aug 2008 17:18:55 -0500, Len Conrad [EMAIL PROTECTED] wrote:
 with -ll, ftpd still logs failures as auth.log as
 same in ftpd.log
 [The IPs] they are not logged.

I did the three steps I mentioned and have failures with IPs
logged in /var/log/ftpd.log, for example:

connection from 79.165.190.70 (79.165.190.70)
FTP LOGIN FAILED FROM 79.165.190.70
FTP LOGIN FAILED FROM 79.165.190.70, Administrateur
repeated login failures from 79.165.190.70

connection from projectvibe.net (205.234.98.200)
FTP LOGIN FAILED FROM projectvibe.net
FTP LOGIN FAILED FROM projectvibe.net, Administrator

But you're right, in the second example, the host name is logged,
not the IP, but the IP is always logged in the connection from
lines.

Did you have any luck parsing the mailing list's archive?

-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: Realtek RTL8111C and re(4) driver

2008-08-24 Thread Popof Popof
Hi,
If you can use a 6.3 version, realtek has release some drivers.
Unfortunately, those drivers aren't working with the version 7 (I test it
with FreeNAS under FreeBSD version 6.3 and 7).
With version 7 the driver recognize the NIC but its unusable (can't assign
an IP address).

Here is a link to the latest driver:
http://driverscollection.com/?H=RTL8111CBy=RealTekSS=FreeBSD%205

2008/8/24 cpghost [EMAIL PROTECTED]
Hello,

I'm about to get an MSI K9A2GM-FIH mobo with an on-board Realtek
RTL8111C GigE adapter (I've picked that because the on-board Radeon HD
3200 RS780 chip seems supported by the radeon(4x) xorg driver).

Unfortunately, I (wrongly) assumed that the RTL8111C would be
supported by the rl(4) or re(4) driver, and noticed a bit too late
kern/123123.

So the question: has anyone with an RTL8111C actually tried the
patches from this PR on RELENG_7? All I need for now is 100Mbit/s
Ethernet with no frills (no offloading etc...), and I'd rather not
sacrifice one PCI slot for an extra NIC if at all possible.

Thanks,
-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 [EMAIL PROTECTED]

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


Re: ftpd and sshd logging of domain names

2008-08-24 Thread Len Conrad



 with -ll, ftpd still logs failures as auth.log as
 same in ftpd.log
 [The IPs] they are not logged.

I did the three steps I mentioned and have failures with IPs
logged in /var/log/ftpd.log, for example:

connection from 79.165.190.70 (79.165.190.70)
FTP LOGIN FAILED FROM 79.165.190.70
FTP LOGIN FAILED FROM 79.165.190.70, Administrateur
repeated login failures from 79.165.190.70


... because the IP has no PTR


connection from projectvibe.net (205.234.98.200)
FTP LOGIN FAILED FROM projectvibe.net
FTP LOGIN FAILED FROM projectvibe.net, Administrator


IP has PTR, whose domain name is logged.


But you're right, in the second example, the host name is logged,
not the IP, but the IP is always logged in the connection from
lines.


connection from not the fault we are trying to block reactively.


Did you have any luck parsing the mailing list's archive?


no, neither in my personal archives, nor through google.

thanks
Len

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


Re: Realtek RTL8111C and re(4) driver

2008-08-24 Thread Andrew Falanga

cpghost wrote:

Hello,

I'm about to get an MSI K9A2GM-FIH mobo with an on-board Realtek
RTL8111C GigE adapter (I've picked that because the on-board Radeon HD
3200 RS780 chip seems supported by the radeon(4x) xorg driver).

Unfortunately, I (wrongly) assumed that the RTL8111C would be
supported by the rl(4) or re(4) driver, and noticed a bit too late
kern/123123.

So the question: has anyone with an RTL8111C actually tried the
patches from this PR on RELENG_7? All I need for now is 100Mbit/s
Ethernet with no frills (no offloading etc...), and I'd rather not
sacrifice one PCI slot for an extra NIC if at all possible.

Thanks,
-cpghost.

  

Hello,

I'm curious to know about this.  I just put together a computer for my 
church which has this NIC built in.  I've downloaded a driver which 
claims to be for FreeBSD 5.  Has anyone here any experience with it, or 
would anyone know if it's reliable and works?


The web link is: 
http://driverscollection.com/?H=RTL8111CBy=RealTekSS=FreeBSD%205


Andy

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


Re: Realtek RTL8111C and re(4) driver

2008-08-24 Thread cpghost
On Mon, Aug 25, 2008 at 12:58:19AM +0200, Popof Popof wrote:
 2008/8/24 cpghost [EMAIL PROTECTED]
 Hello,
 
 I'm about to get an MSI K9A2GM-FIH mobo with an on-board Realtek
 RTL8111C GigE adapter (I've picked that because the on-board Radeon HD
 3200 RS780 chip seems supported by the radeon(4x) xorg driver).
 
 Unfortunately, I (wrongly) assumed that the RTL8111C would be
 supported by the rl(4) or re(4) driver, and noticed a bit too late
 kern/123123.
 
 So the question: has anyone with an RTL8111C actually tried the
 patches from this PR on RELENG_7? All I need for now is 100Mbit/s
 Ethernet with no frills (no offloading etc...), and I'd rather not
 sacrifice one PCI slot for an extra NIC if at all possible.
 
 Thanks,
 -cpghost.
 
  --
  Cordula's Web. http://www.cordula.ws/

 Hi,
 If you can use a 6.3 version, realtek has release some drivers.
 Unfortunately, those drivers aren't working with the version 7 (I test it
 with FreeNAS under FreeBSD version 6.3 and 7).
 With version 7 the driver recognize the NIC but its unusable (can't assign
 an IP address).
 
 Here is a link to the latest driver:
 http://driverscollection.com/?H=RTL8111CBy=RealTekSS=FreeBSD%205

Ah, thank you. That's good to know!

Unfortunately, I do need some features that are only available
on RELENG_7 in this special case, so I guess I'll have to try out
the patch on the PR and help debug the remaining issues somehow...

Of course, there's always the option to use an additional supported
adapter until re(4) has been updated. ;)

Thanks again,
-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 [EMAIL PROTECTED]


Re: Realtek RTL8111C and re(4) driver

2008-08-24 Thread cpghost
On Sun, Aug 24, 2008 at 06:02:13PM -0600, Andrew Falanga wrote:
 cpghost wrote:
  Hello,
 
  I'm about to get an MSI K9A2GM-FIH mobo with an on-board Realtek
  RTL8111C GigE adapter (I've picked that because the on-board Radeon HD
  3200 RS780 chip seems supported by the radeon(4x) xorg driver).
 
  Unfortunately, I (wrongly) assumed that the RTL8111C would be
  supported by the rl(4) or re(4) driver, and noticed a bit too late
  kern/123123.
 
  So the question: has anyone with an RTL8111C actually tried the
  patches from this PR on RELENG_7? All I need for now is 100Mbit/s
  Ethernet with no frills (no offloading etc...), and I'd rather not
  sacrifice one PCI slot for an extra NIC if at all possible.
 
  Thanks,
  -cpghost.
   
 Hello,
 
 I'm curious to know about this.  I just put together a computer for my 
 church which has this NIC built in.  I've downloaded a driver which 
 claims to be for FreeBSD 5.  Has anyone here any experience with it, or 
 would anyone know if it's reliable and works?
 
 The web link is: 
 http://driverscollection.com/?H=RTL8111CBy=RealTekSS=FreeBSD%205
 
 Andy

This has just been suggested here, but it looks like it wouldn't
support FreeBSD 7. Have you actually tried it? Which version of
FreeBSD are you using?

If you can use that machine you've just put together for a couple
of tests (i.e. not yet being into production), could you please
try the patches on kern/123123:

http://www.freebsd.org/cgi/query-pr.cgi?pr=123123

I don't have the hardware yet to test myself. I would be great
to have at least basic RTL8111C support in re(4) soon. ;)

Regards,
-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 [EMAIL PROTECTED]


Panic on boot

2008-08-24 Thread Meaghan Hayes
When I try to boot FreeBSD, it cycles through all of my hardware etc.
as with a regular boot then says:

panic: ohci_add_done: addr 0x7fef16d0 not found

and tells me that it's rebooting, and just keeps doing this.

I was told that it was most likely a USB issue, especially if I had
recently added any new USB devices. I unplugged all USB devices on my
box and still recieve the panic error.

Help is much appreciated!

-Meaghan Hayes
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: XFree86 instead of Xorg?

2008-08-24 Thread Warren Block

On Sun, 24 Aug 2008, Polytropon wrote:


On Sun, 24 Aug 2008 00:16:16 -0600 (MDT), Warren Block [EMAIL PROTECTED] 
wrote:

I found that not having moused enabled made for slow switches to X with
xorg:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=55740+0+archive/2008/freebsd-x11/20080727.freebsd-x11

Setting moused_enable=Y in /etc/rc.conf cured it.


I have moused enabled (in fact, via usbd),


I thought usbd was gone.  The difference I found was that if moused was 
run by HAL or xorg or sysmouse, xorg has that long delay switching to 
graphics.


With moused enabled in /etc/rc.conf, the xorg switch to graphics is 
back to normal.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Panic on boot

2008-08-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Meaghan Hayes wrote:
 When I try to boot FreeBSD, it cycles through all of my hardware etc.
 as with a regular boot then says:
 
 panic: ohci_add_done: addr 0x7fef16d0 not found
 
 and tells me that it's rebooting, and just keeps doing this.
 
 I was told that it was most likely a USB issue, especially if I had
 recently added any new USB devices. I unplugged all USB devices on my
 box and still recieve the panic error.
 
 Help is much appreciated!
 
 -Meaghan Hayes
 ___

Hi Meaghan,

What kind of keyboard do you use? Is it a USB keyboard, and if so, does
it have an integrated USB hub?  Can you try booting with an old-style
keyboard if you have one available?

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiyFtkACgkQ0sRouByUApC5NQCeNLSkPBTbcY874JgI4+Wg9IYM
AtsAni4rer7rhx8AZlONMmzVX6FGmGIi
=5/88
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Government funds available

2008-08-24 Thread Fred

Press Release

5:46:05 PM

The American Grants and Loans Book is now 
available. This publication contains valuable
information with more than 1800 financial 
programs, subsidies, scholarships, grants 
and loans offered by the United States federal 
government. 

It also includes over 700 financing programs 
put forth by various Foundations and Associations 
across the United States.

Businesses, students, individuals, municipalities, 
government departments, institutions, foundations 
and associations will find a wealth of information 
that will help them with their new ventures or
existing projects.

What you get:

-Description of Grant available
-Url to government website
-Full mailing address
-Phone and fax number

The Canadian Subsidy Directory is also available 
for Canada.

CD version: $69.95
Printed version: $149.95

To order please call: 819-322-7533

If you do not wish to receive communication from us 
in the future please write agl in the subject line 
to: [EMAIL PROTECTED]

Canada Books
833 Boise de la Riviere
Prevost, Qc
Canada
J0R 1T0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MTA...

2008-08-24 Thread User Lenzi
Em Dom, 2008-08-24 às 14:06 -0400, pete escreveu:

 I have a hosted domain that recently changed their mail filtering. I  
 am not happy with the new setup and am considering setting up my own.  
 Looking for tips on setting up something on my freeBSD 6.1 box.
 
 My ISP is cablevision IO. Not sure what they allow, ie: whether I can  
 have my hosted domain set to use my cable IP as a MTA, or if I have to  
 do some kind of end run around cablevision to get a MTA set up locally.
 
 Also looking for advice on which software would serve me bet in this instance.
 
 TIA

In my country, the cable company sells fixed IP for about US$60/mon. and
it filters nothing,
that is: the port 25 is left open.

You only need so, to ask the one that holds your DNS, to put a  record
MX in the
definition

   MX10mx1.your.domain
and.

A.B.C.DAmx1.your.domain.

so when someone pings mx1.your.domain  it answers A.B.C.D

after you must set up your sendmail
by creating a sendmail.mc  in /etc/mail

=/etc/mail/sendmail.mc ==
divert(0)
VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.34.2.1 2007/11/22
16:19:40 gshapiro Exp $')
OSTYPE(freebsd6)
DOMAIN(generic)

FEATURE(access_db, `hash -o -TTMPF /etc/mail/access')
FEATURE(blacklist_recipients)
FEATURE(local_lmtp)
FEATURE(mailertable, `hash -o /etc/mail/mailertable')
FEATURE(virtusertable, `hash -o /etc/mail/virtusertable')

define(`confCW_FILE', `-o /etc/mail/sendmail.cw')
define(`confMAX_DAEMON_CHILDREN', `20')

DAEMON_OPTIONS(`Name=IPv4, Family=inet)

define(`confBIND_OPTS', `WorkAroundBroken')
define(`confNO_RCPT_ACTION', `add-to-undisclosed')
define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)
=/etc/mail/sendmail.cw==
your.domain.com
==
than add a line  in the /etc/make.conf
SENDMAIL_SUBMIT_MC=/etc/mail/sendmail.mc
go to the /etc/mail
touch aliases mailertable virtusertable access
make
===
change /etc/rc.conf  to include lines
sendmail_msp_queue_enable=NO
sendmail_enable=YES
=
reinitialise sendmail with the command:
/etc/rc.d/sendmail restart
DONE==




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


Government funds available

2008-08-24 Thread Fred

Press Release

5:46:05 PM

The American Grants and Loans Book is now 
available. This publication contains valuable
information with more than 1800 financial 
programs, subsidies, scholarships, grants 
and loans offered by the United States federal 
government. 

It also includes over 700 financing programs 
put forth by various Foundations and Associations 
across the United States.

Businesses, students, individuals, municipalities, 
government departments, institutions, foundations 
and associations will find a wealth of information 
that will help them with their new ventures or
existing projects.

What you get:

-Description of Grant available
-Url to government website
-Full mailing address
-Phone and fax number

The Canadian Subsidy Directory is also available 
for Canada.

CD version: $69.95
Printed version: $149.95

To order please call: 819-322-7533

If you do not wish to receive communication from us 
in the future please write agl in the subject line 
to: [EMAIL PROTECTED]

Canada Books
833 Boise de la Riviere
Prevost, Qc
Canada
J0R 1T0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Panic on boot

2008-08-24 Thread David Gurvich
What modules are loaded from loader.conf?  

I had two distinct issues on one machine that were entirely due to
module loading.  One was sound, using snd_driver instead of a specific
sound driver caused the machine to reboot.  The other issue was
nvidia.  The binary nvidia driver caused an instant reboot if loaded
too early, ie from loader.conf.  There was no problem if the module was
loaded from rc.local.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MTA advice ??

2008-08-24 Thread Matthew Seaman

Jeffrey Goldberg wrote:


Receiving mail directly will be more possible, but tricky.  You will 
need to use a dynamic DNS system.  Also do consider uptime and 
reliability.  In the old days, if one MTA couldn't reach another it 
would hold stuff in its queue for four or five days.  Now, most MTAs 
appear to be configured to give up after 24 hours.  So if your 
mailserver is down for a day, mail will be bounced and never delivered 
to you.


In which case those mail systems are not in compliance with the RFCs. 


RFC 2821 Section 4.5.4.1 says:

  Retries continue until the message is transmitted or the sender gives
  up; the give-up time generally needs to be at least 4-5 days.  The
  parameters to the retry algorithm MUST be configurable.

ie. 4-5 days is the /minimum/ time to hold messages in the queue and
keep retrying.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature