Re: X Configuration Woes

2006-09-13 Thread Arindam

 Some updates:

 Following this I did a fresh install using the FreeBSD6.1 CD1. Xorg
 installed is 6.9.0.
 I did not run xorgconfig or anything. There was no /etc/X11/xorg.conf
 either. From the command-line I ran xdm and the GUI started ... I
 could login ... and then that's about it.

 1. The Mouse still does not work ... may be I should try MouseSystems
 protocol.

I can't say much about the mouse.   I usually let it figure out
things itself and it works.  Is it a plain ps2 mouse (with round ps2
connector)?   I just do the mouse test during sysinstall and it works.


Well, well ... sometimes I feel these days being a Linux user is no
big deal. May be it never was but at least in the old days, by being a
Linux user, I used to be more aware of what goes inside my box and
what lights blink to tell what story. These days, Linux ... should I
say most of the distros rather, make you feel like a pampered fuzzy
user ... you really don't need to know an awful lot more about your
box to get a fully functional system than you need to install M$
Window$. Some like it that way, but for me the fun is lost ... perhaps
_the_ reason why I switched to FreeBSD ... anything comparable could
do for me but I just happened to get my hands on these couple of ISOs.



 2. What should I do about GNOME / KDE etc. I am not aching to get a
 jazzy a GUI on my FreeBSD installation. I can make do with a very
 minimal one. But I want a minimal one at least now, I just have to get
 this running or I can't sleep.

If you don't want a fancy GUI desktop, then skip KDE and Gnome.

I prefer to use Afterstep.   It installs nicely.
It is found in ports at/usr/ports/x11-wm/afterstep
It can be a little confusing at first to set up and configure - as are
all X things - but after getting it configured for me, it gives me what I
need: several windows for logging in to various hosts, a button to bring
up Firefoxand X support for whatever I run, such as OpenOffice or Xpdf
or Xmahjongg and a couple of other games, etc.

The only thing I haven't managed to my liking is getting it to create
anchor buttons for each thing when I bring it up.  It only does so for the
minimized windows.   I got that in one version, but it seemed to mess up
the focus control and click to bring forward action so I gave up on that.

I edited:   /usr/X11R6/lib/X11/xinit/xinitrc
to make it work my way.   I think you can make individual .xinitrc files
in home directories as well, but I wanted mine to work for all of my
small handful of accounts so I edited the main one.


I am tired of these two lookalikes ... KDE and GNOME. They weren't in
the olden days ... but they have undergone some serious plastic
surgery of late and now I don't like the taste of either. So XFCE or
Afterstep would be welcome changes. As another poster mentioned
Ratpoison, I would be keen to find out about it too ... since it has
been dubbed for being keyboard friendly. I hate mice.



Have fun,


You bet I am having fun. I am writing a blog article on why I picked
up FreeBSD. You can find it after a while on my sparse blog
http://shoddykid.blogspot.com.



jerry


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


Freebsd as iscsi / aoe target (server)

2006-09-13 Thread Norberto Meijome
Hi there,
can FreeBSD be used as an iSCSI target (i.e., serving the iscsi disks) ? 

idem AoE ...?

thanks!
B

_
{Beto|Norberto|Numard} Meijome

He loves nature in spite of what it did to him.
  Forrest Tucker

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]


Your message to Rohc awaits moderator approval

2006-09-13 Thread rohc-bounces
Your mail to 'Rohc' with the subject

Delivery reports about your e-mail

Is being held until the list moderator can review it for approval.

The reason it is being held:

Post by non-member to a members-only list

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


https://www1.ietf.org/mailman/confirm/rohc/54c192594b2d7e4064fe42e5920147a1b2ca0282

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


Re: SATA sil problems ...

2006-09-13 Thread Andrew Pantyukhin

On 9/12/06, Michał Garcarz [EMAIL PROTECTED] wrote:

Hello

I have SATA SIL 3112 controller. Unfortunately it is not working
correctly under FreeBSD. It does not work for me, and i found on
google that it doesn't work correctly for many other people.
I tried Freebsd 4.x, 5.x and 6.1.
Here are the errors which occur when system works:

Sep 12 11:03:35 multix kernel: ad6: WARNING - SETFEATURES SET
TRANSFER MODE taskqueue timeout - completing request directly
Sep 12 11:03:35 multix kernel: ad6: TIMEOUT - WRITE_DMA retrying (1
retry left) LBA=8159967
Sep 12 11:55:36 multix kernel: ad4: FAILURE - READ_DMA
status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=8878591
Sep 12 11:55:36 multix kernel: ar0: WARNING - mirror protection lost.
 RAID1 array in DEGRADED mode
Sep 12 11:55:36 multix kernel: ar0: writing of Silicon Image Medley
metadata is NOT supported yet

Do You have similar problems ?


Please try to disable its RAID capabilities, and tweak some
compatibility settings, if any. Sil3112 is known to be crap, but
it's also known to work for many FreeBSD 6.x users.


What SATA controller could you suggest ?
I must be on card (PCI?) so i could plug in to my current server. It
have to work stable under Freebsd 6.1. It should be chip. It doesn't
have to be real hardware RAID (it can use software from BIOS).


Don't use software RAID from BIOS, use gmirror/gstripe/gvinum.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: jdk -- jar directory traversal vulnerability (CVE-2005-1080).

2006-09-13 Thread Andrew Pantyukhin

On 9/13/06, Jacques Vidrine [EMAIL PROTECTED] wrote:


On 2006-09-12, at 13:52:40, Remko Lodder wrote:

 David Robillard wrote:
 Hi everyone,
 Are there any workaround or a patch for this security problem?
 FreeBSD Foundation's Java JDK and JRE 5.0 Update 7 binaries for
 FreeBSD 6.1/i386:
 Affected package: diablo-jdk-freebsd6.i386.1.5.0.07.00
 Type of problem: jdk -- jar directory traversal vulnerability.
 Reference: http://www.FreeBSD.org/ports/portaudit/18e5428f-
 ae7c-11d9-837d-000e0c2e438a.html Many thanks,
 David

 Hello david,

 I corrected the entry, it should be fixed within little notice :)

Hey, hold on a second... are you sure this has been fixed?  As far as
I know, Sun has never issues a patch for this vulnerability.  Yay Sun!


http://www.freshports.org/java/jdk15/[EMAIL PROTECTED]

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


Re: NIC Questions for 6.1 Release

2006-09-13 Thread Alex Zbyslaw

Chris wrote:



On Sep 12, 2006, at 3:12 PM, Alex Zbyslaw wrote:


Chris wrote:

Is there any single source where one can go  to see what has been  
changed on the various components of the OS.


Go to the source :-)

http://www.freebsd.org/cgi/cvsweb.cgi/

Wow! That's an excellent resource and the bge driver does have  
numerous changes that all dance around or on the same issues. It  
appears they've been being addressed for months. Supporting that, two  
people have responded and said both a Tyan and several IBMs are  
working perfectly with the Broadcom.


Based on the 6.1-RELEASE-p6 AMD64 system I did yesterday (a different  
server), I didn't see any of these changes on the source date for  
if_bge.c. I'm guessing this has to do with how I cvsup and the fact  
that I remain tracking only 6.1-RELEASE. I used:


*default release=cvs tag=RELENG_6_1

in the supfile and these changes are not pulled under that tag. How  
does one approach that, set the tag to RELENG_6 which does grab  
these. From the handbook it seems to recommend not moving forward  
from a RELEASE for a production type of implementation. How does  
one grab specific changes to a driver without actually cvsupping to  
that entire revision or am I missing something really basic and I  
should be using the RELENG_6 tag for my production servers? It really  
looks like that's the version of the bge driver I should be using.


If you click on if_bge.c (which I guess you did to see all the 
comments), you'll see above each comment a Branch:  which tells you 
where the changes have been committed.  E.g.


Revision *1.91.2.17* 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c?rev=1.91.2.17content-type=text/x-cvsweb-markup 
/ (*download* 
http://www.freebsd.org/cgi/cvsweb.cgi/%7Echeckout%7E/src/sys/dev/bge/if_bge.c?rev=1.91.2.17content-type=text/plain) 
- annotate 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c?annotate=1.91.2.17 
- [select for diffs] 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c?r1=1.91.2.17, 
/Thu Sep 7 08:49:10 2006 UTC/ (6 days, 2 hours ago) by /oleg/
Branch: *RELENG_6 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c?only_with_tag=RELENG_6 
*

Changes since *1.91.2.16: +24 -5 lines*
Diff to previous 1.91.2.16 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.16r2=1.91.2.17 
(colored 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.16r2=1.91.2.17f=h) 
to branchpoint 1.91 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91r2=1.91.2.17 
(colored 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.91r2=1.91.2.17f=h) 
next main 1.92 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.92r2=1.91.2.17 
(colored 
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.92r2=1.91.2.17f=h) 



MFC rev. 1.140
Properly lock ifmedia callbacks. This should prevent concurrent access to PHY.
Following issues should be resolved:
- random watchdog timeouts (caused by concurrent phy access)
- some link state issues
- non working TX if media type was set explicitly

PR: kern/98738 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=98738

which looks like one you'd want!  You'll see the tag is RELENG_6 so yes 
you will need to cvsup to this (aka 6-STABLE) to get those changes.  
Presumably the changes will make it to 6.2-RELEASE, so you could switch 
to tracking that when it comes out.  I would be wary of actively 
tracking a production server with STABLE.  If you upgrade to STABLE now 
and it works, just leave it unless there are security patches.


At least one change is to HEAD/Main which is aka 7-CURRENT.  That would 
be risky for a production box.


Alternatively you could just try downloading the two files and copying 
them over your existing ones (after backing them up!) and just try and 
see if a make buildkernel will compile them.  If the changes don't rely 
on anything outside of these two files, you'd likely be fine.  Of 
course, keep a copy of your current working kernel in e.g. 
/boot/kernel.works.


--Alex



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


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Andrew Pantyukhin

On 9/12/06, Olivier Nicole [EMAIL PROTECTED] wrote:

Hi,

I am upgrading a few servers. I have noticed that on pentium III, it
takes a VERY long time to upgrade Ruby 1.8.

It blocks at some stage saying:


 zlib.c: 
mcc...
Generating RI...

Eventually it will finich installing.

I am running RELENG 4.11 p21. Any clue?


Old FreeBSD on old hardware is a recipe for such problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ATA driver

2006-09-13 Thread Andrew Pantyukhin

On 9/12/06, Danial Thom [EMAIL PROTECTED] wrote:

Has anyone ported the ata drivers with SATA
support back to 4.x? It is doable or are there
some new kernel structures that won't port?


It is not worth the trouble. Disk subsystem has undergone some
massive performance improvement since 4.x, so you should
consider upgrading to 6.x if your tasks involve newer sata disks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw - bandwidth throttling (sanity check!)

2006-09-13 Thread RW
On Wednesday 13 September 2006 06:25, Odhiambo Washington wrote:
 * On 12/09/06 22:13 +0100, RW wrote:
 | On Tuesday 12 September 2006 20:49, Odhiambo Washington wrote:
 |  Hello Security guy ;)
 | 
 |  I have tried very hard to understand ipfw just for the purpose of
 |  bandwidth throttling for smtp service.
 | 
 |  Basically, I want to throttle the bandwidth used by my SMTP
 |  server outbound to _anyone_ else except my ip blocks.
 | 
 |  My Server is 1.2.3.4 and my ip blocks are a.b.c.d/19 and
 |  e.f.g.h/20
 | 
 | 
 |  Are the following rules sane enough?
 | 
 |  ipfw pipe 1 config bw 256Kbit/s
 |  ipfw add pipe 1 tcp from 1.2.3.4 to not a.b.c.d/19 25
 |  ipfw add pipe 1 tcp from 1.2.3.4 to not e.f.g.h/20 25
 |
 | This queues all outgoing smtp to the pipe.
 |
 | You also need to set  net.inet.ip.fw.one_pass=1 to avoid the packets
 | re-entering the rules on the next line.  Setting that means that the
 | packets cannot pass through dynamic rules. It is possible to use dynamic
 | rules with dummynet, but it's a pain.

 Thank you so much for clarifying that. What I wanted to be clarified is
 if it is true that smtp traffic to a.b.c.d/19 and e.f.g.h/20 is NOT
 being put through this pipe..

The logic you have is: 

(NOT in range a.b.c.d/19) OR (NOT in range e.f.g.h/20)

what you want is:

NOT  ( in range a.b.c.d/19 OR in range e.f.g.h/2 )

I'm a bit rusty with IPFW, but you can probably specify multiple address 
blocks in one statement - have a look at the man page.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel panic with 5.5, possibly in propagate_priority

2006-09-13 Thread Toomas Aas

Hello!

Last October, after I upgraded the OS on my IBM x225 from RELENG_5_3 to
RELENG_5_4, I experienced a kernel panic:

http://makeashorterlink.com/?S167211CD

As noted in the article referenced above, I disabled debug.mpsafenet
and debug.mpsafevm. This was really just a guess. Seems like the
guess was lucky, because I never had another kernel panic after that.

Yesterday I upgraded this server from RELENG_5_4 to RELENG_5_5 and
decided to try to re-enable debug.mpsafenet and debug.mpsafevm. Today
in the middle of the day I got a kernel panic.

As also promised in the article above, I had built the debug kernel
and enabled kernel crash dumps. However, the machine just seems to freeze
when it panics and doesn't really generate a crash dump into the location
that I specified in /etc/rc.conf. So I still don't have much very useful
debug information.

The panic message is pretty similar to the one in the message above:

--
kernel trap 12 with interrupts disabled
Fatal trap 12: page fault while in kernel mode
cpuid=1; apic id = 06
fault virtual address: 0x24
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc05276ae
stack pointer = 0x10:0xe83aab20
frame pointer = 0x10: 0xe83aab48
code segment = base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 12064 (httpd)
trap number = 12
panic: page fault
cpuid = 1
spin lock sched lock held by 0xc279c480 for 5 seconds
--

Closest... um... thing to the instruction pointer 0xc05276ae seems to be
propagate_priority:

[heerold] ~ nm -n /boot/kernel/kernel | grep c05276
c052762c t propagate_priority

I found another thread discussing an issue which seems vaguely
similar, but I'm not enough of a FreeBSD kernel expert to be sure:

http://makeashorterlink.com/?G457131CD

After reading this thread - should I, perhaps, add NO_ADAPTIVE_MUTEXES to
my kernel config (and remove ADAPTIVE_GIANT)? What are other people's
experiences running FreeBSD 5.x on dual-processor IBM xSeries 225 box?
Am I the only one doing this?

For now, I just disabled debug.mpsafenet and debug.mpsafevm again and
I hope it works out as well as it did last time.

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


Re[2]: The Ports collection / FreeBSD CDs

2006-09-13 Thread ograbme
Hello Frank,

Tuesday, September 12, 2006, 10:41:17 PM, you wrote:

snip

FS Go grab the compressed, reasonably up to date ports tree:

FS $ fetch -dpv ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz

FS (warning! 35MB compressed)

Will do when I have Internet connection via FreeBSD box.  Need to set
up ADSL connection - am currently reading about that process.  Also,
need to figure out how USB gets set up properly.  But these are two
separate issues that I will probably be asking about in the very near
future ... if I haven't managed to make any real progress in these
areas.

FS and:

FS # mv ports.tar.gz /usr/ports
FS # cd /usr/ports
FS # tar xvzf ports.tar.gz

FS to build sudo, first check that there's nothing funny with building
FS sudo:

FS $ cat /usr/ports/UPDATING | grep sudo

FS if there's nothing then:

FS # cd /usr/ports/security/sudo/
FS # make install clean

Thanks for the detailed steps.

FS Then read the handbook about keeping your ports tree up to date using
FS portsnap or cvsup.

Will do.

 
 P.S.  Please advise what the proper mode of responding is in terms of
 replying.  I did a reply all ...
 snip
 

FS That's OK. I usually post to the list and cc to the person who posted
FS in the first place as they may not be subscribed to the list.

Yes, this was my line of thinking, but don't want to upset anyone as
I am a newbie here. ;)

FS Welcome to FreeBSD!

Thanks.  Appreciate it, Frank.

--
Best regards,
ograbme


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


Re: X Configuration Woes

2006-09-13 Thread Arindam


 I am an absolute FreeBSD Newbie and I decided to give it a try over a
 lazy weekend - mainly because I don't want to throw away my old PIII
 box. I picked up FreeBSD 5.4 which was all I got and I am dual booting
 it with RHEL4.3. My box is rather old ... P3 733 Mhz with 256 megs of
 [EMAIL PROTECTED], and I installed FreeBSD on the first 6.5 Gigs of my
 Seagate harddrive ... connected to the Primary master IDE interface.


Well, installing FreeBSD for the first time is more compatible with
an ambitious weekend than an lazy one - as you probably have discovered.
It does take considerable work, though the rewards are commensurate.

 
 If you can wade through this gibberish, please help.

 Cheers,
 Andy

 Some updates:

 Following this I did a fresh install using the FreeBSD6.1 CD1. Xorg
 installed is 6.9.0.
 I did not run xorgconfig or anything. There was no /etc/X11/xorg.conf
 either. From the command-line I ran xdm and the GUI started ... I
 could login ... and then that's about it.






 1. The Mouse still does not work ... may be I should try MouseSystems
 protocol.


More updates:

I did manage to get my mouse in a working state. It's an old 3-button
Logitech serial mouse. And guess what ... someone (I suspect myself)
connected it to the second serial port. All the while I thought it was
on /dev/cuad0 and I specified that as the device. Anyway, I
reconnected it to /dev/cuad0 and the pointer does move now (I was
running Linux all this while but never noticed this ... that's why
Linux is becoming Windowy ... may  be I am too cynical). I used the
microsoft protocol.

Still the mouse movements are not smooth all the time. The mouse
hardly moves in the console. When I run xdm or startx from the
command-line then it does move when X starts. But sometimes after some
initial movement, it freezes hopelessly. Don't know what's wrong.



I can't say much about the mouse.   I usually let it figure out
things itself and it works.  Is it a plain ps2 mouse (with round ps2
connector)?   I just do the mouse test during sysinstall and it works.

 2. What should I do about GNOME / KDE etc. I am not aching to get a
 jazzy a GUI on my FreeBSD installation. I can make do with a very
 minimal one. But I want a minimal one at least now, I just have to get
 this running or I can't sleep.

If you don't want a fancy GUI desktop, then skip KDE and Gnome.

I prefer to use Afterstep.   It installs nicely.
It is found in ports at/usr/ports/x11-wm/afterstep
It can be a little confusing at first to set up and configure - as are
all X things - but after getting it configured for me, it gives me what I
need: several windows for logging in to various hosts, a button to bring
up Firefoxand X support for whatever I run, such as OpenOffice or Xpdf
or Xmahjongg and a couple of other games, etc.

The only thing I haven't managed to my liking is getting it to create
anchor buttons for each thing when I bring it up.  It only does so for the
minimized windows.   I got that in one version, but it seemed to mess up
the focus control and click to bring forward action so I gave up on that.

I edited:   /usr/X11R6/lib/X11/xinit/xinitrc
to make it work my way.   I think you can make individual .xinitrc files
in home directories as well, but I wanted mine to work for all of my
small handful of accounts so I edited the main one.

Have fun,

jerry

 Cheers,
 Andy
 ___
 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]


Using PC as serial terminal on running system

2006-09-13 Thread Jonathan McKeown
I'm using my laptop and tip(1) as a serial terminal. This is working well when 
a machine is booted with the laptop connected to its serial port. However, I 
need to be able to connect the laptop to a machine which was booted without a 
serial console.

I've set the ttyd0 line in /etc/ttys and sigHUPed init. The machine is still 
not recognising the presence of the ``serial terminal'' - the getty(1) 
process on the server is not bound to a controlling terminal and nothing is 
appearing in the tip(1) screen on the laptop.

I've also tried fiddling about with conscontrol, adding ttyd0 on the server - 
still no difference.

Have I missed a trick somewhere, or do I really need to reboot the server to 
get it to recognise a PC connected as a serial terminal?

(Connection is laptop - USB - BAFO 810 USB/serial adapter - null-modem cable - 
server)

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


Thank You and Mc OS games

2006-09-13 Thread felix.schalck

Hello in there,

I'm kind of complicated person, so finding o good OS was really a pity 
for me. I googled around a lot, installed a lot and often get 
disappointed... until I discovered FreeBSD. Folks, this OS ist simply 
great because it is CLEAR. Clear Structure, clear Doc, clear Policy. But 
all the guys on this mailing list probably already know this... Now, i 
have one simple question related to this: where and whom can I tell 
THANK YOU ? GOOD WORK ? For providing such a great OS.


Secondly: beeing miself an ex-gamer, I'm wondering if it is possible to 
run Mac OS games under FreeBSD. I found no solution on google, so 
probably there is some reason which cause it NOT working. Could someone 
just explain me what it this reason ?


Thanks a lot,

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


some packages not available

2006-09-13 Thread Jürgen Herz
Hello,

portaudit reports several problems for my 6.1 system, e,g, gnupg 1.4.3
and ruby 1.8.4_8,1. It's recommended that I update or deinstall these
packages immediately.

The problem is, portupdate -PP I find any newer packages though 1.4.5 of gnupg 
is already in ports for months.

And I'm talking about packages for 6-stable, not 6.1-release. I've set
PACKAGESITE and PKG_SITES to the according server 
(ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable).

I know of the pointyhat build farm. And it seems to compile, but I
don't see where the results go. Telling from
http://pointyhat.freebsd.org/errorlogs/ there are packages being built, but 
they don't show up on the FreeBSD ftp servers.

So the question is: where to get the most recent built packages for my
system (here 6.1-RELEASE)?

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


Re: NIC Questions for 6.1 Release

2006-09-13 Thread Alex Zbyslaw

Alex Zbyslaw wrote:




Alternatively you could just try downloading the two files and copying 
them over your existing ones (after backing them up!) and just try and 
see if a make buildkernel will compile them.  If the changes don't 
rely on anything outside of these two files, you'd likely be fine.  Of 
course, keep a copy of your current working kernel in e.g. 
/boot/kernel.works.


Sorry for the hideous http links in previous email.  What *I* saw before 
I sent it was not what I got.  sigh


Also, download the RELENG_6 versions of the files if you try this 
approach.  Downloading the HEAD versions would be riskier and more 
likely to fail.


--Alex


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


Re: SATA sil problems ...

2006-09-13 Thread Derek Ragona
I also have one of these that doesn't work with FreeBSD.  I just replaced 
the controller.  What is worse is there are different versions of this chip 
some that will work with FreeBSD, but many don't.


-Derek


At 05:51 AM 9/13/2006, Andrew Pantyukhin wrote:
On 9/12/06, Micha³ Garcarz [EMAIL PROTECTED] wrote:  Hello   I have SATA 
SIL 3112 controller. Unfortunately it is not working  correctly under 
FreeBSD. It does not work for me, and i found on  google that it doesn't 
work correctly for many other people.  I tried Freebsd 4.x, 5.x and 
6.1.  Here are the errors which occur when system works:   Sep 12 
11:03:35 multix kernel: ad6: WARNING - SETFEATURES SET  TRANSFER MODE 
taskqueue timeout - completing request directly  Sep 12 11:03:35 multix 
kernel: ad6: TIMEOUT - WRITE_DMA retrying (1  retry left) LBA=8159967  
Sep 12 11:55:36 multix kernel: ad4: FAILURE - READ_DMA  
status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=8878591  Sep 12 
11:55:36 multix kernel: ar0: WARNING - mirror protection lost.   RAID1 
array in DEGRADED mode  Sep 12 11:55:36 multix kernel: ar0: writing of 
Silicon Image Medley  metadata is NOT supported yet   Do You have 
similar problems ? Please try to disable its RAID capabilities, and tweak 
some compatibility settings, if any. Sil3112 is known to be crap, but it's 
also known to work for many FreeBSD 6.x users.  What SATA controller 
could you suggest ?  I must be on card (PCI?) so i could plug in to my 
current server. It  have to work stable under Freebsd 6.1. It should be 
chip. It doesn't  have to be real hardware RAID (it can use software from 
BIOS). Don't use software RAID from BIOS, use gmirror/gstripe/gvinum. -- 
This message has been scanned for viruses and dangerous content by 
MailScanner, and is believed to be clean. MailScanner thanks transtec 
Computers for their support.


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


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

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


Re: pci modem question

2006-09-13 Thread Derek Ragona
Be sure to get a real full modem.  Not a winmodem.  A full modem will cost 
considerably more, like double the price because it has all the modem 
hardware on the card.  Winmodems rely on Windows to do much of the hardware 
functions.


-Derek


At 09:05 PM 9/12/2006, musashi miyamoto wrote:

FreeBSD mori.ranmaru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Sep  5 02:09:57
PHT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SHOGUN  i386


is there a dialup pci modem that is compatible with FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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



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

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


Re: device vt causes boot freeze

2006-09-13 Thread Lowell Gilbert
Anton Shterenlikht [EMAIL PROTECTED] writes:

 Can I enable both sc and vt in device.hints?

My impression from a very brief look at the code is that they cannot
be active at the same time.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC Questions for 6.1 Release - Obtaining changes not in RELEASE

2006-09-13 Thread Chris

On Sep 13, 2006, at 4:03 AM, Alex Zbyslaw wrote:




Chris wrote:

Is there any single source where one can go  to see what has  
been  changed on the various components of the OS.


Go to the source :-)

http://www.freebsd.org/cgi/cvsweb.cgi/

Wow! That's an excellent resource and the bge driver does have   
numerous changes that all dance around or on the ...
Based on the 6.1-RELEASE-p6 AMD64 system I did yesterday (a  
different  server), I didn't see any of these changes on the  
source date for  if_bge.c. I'm guessing this has to do with how I  
cvsup and the fact  that I remain tracking only 6.1-RELEASE. I used:


*default release=cvs tag=RELENG_6_1

in the supfile and these changes are not pulled under that tag.  
How  does one approach that, set the tag to RELENG_6 which does  
grab  these. From the handbook it seems to recommend not moving  
forward  from a RELEASE for a production type of implementation.  
How does  one grab specific changes to a driver without actually  
cvsupping to  that entire revision or am I missing something  
really basic and I  should be using the RELENG_6 tag for my  
production servers? It really  looks like that's the version of  
the bge driver I should be using.


If you click on if_bge.c (which I guess you did to see all the  
comments), you'll see above each comment a Branch:  which tells  
you where the changes have been committed.  E.g.


Revision *1.91.2.17* http://www.freebsd.org/cgi/cvsweb.cgi/src/ 
sys/dev/bge/if_bge.c?rev=1.91.2.17content-type=text/x-cvsweb- 
markup / (*download* http://www.freebsd.org/cgi/cvsweb.cgi/% 
7Echeckout%7E/src/sys/dev/bge/if_bge.c?rev=1.91.2.17content- 
type=text/plain) - annotate http://www.freebsd.org/cgi/ 
cvsweb.cgi/src/sys/dev/bge/if_bge.c?annotate=1.91.2.17 - [select  
for diffs] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ 
if_bge.c?r1=1.91.2.17, /Thu Sep 7 08:49:10 2006 UTC/ (6 days, 2  
hours ago) by /oleg/
Branch: *RELENG_6 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ 
dev/bge/if_bge.c?only_with_tag=RELENG_6 *

Changes since *1.91.2.16: +24 -5 lines*
Diff to previous 1.91.2.16 http://www.freebsd.org/cgi/cvsweb.cgi/ 
src/sys/dev/bge/if_bge.c.diff?r1=1.91.2.16r2=1.91.2.17 (colored  
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ 
if_bge.c.diff?r1=1.91.2.16r2=1.91.2.17f=h) to branchpoint 1.91  
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ 
if_bge.c.diff?r1=1.91r2=1.91.2.17 (colored http:// 
www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff? 
r1=1.91r2=1.91.2.17f=h) next main 1.92 http://www.freebsd.org/ 
cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?r1=1.92r2=1.91.2.17  
(colored http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/ 
if_bge.c.diff?r1=1.92r2=1.91.2.17f=h)


MFC rev. 1.140
Properly lock ifmedia callbacks. This should prevent concurrent  
access to PHY.

Following issues should be resolved:
- random watchdog timeouts (caused by concurrent phy access)
- some link state issues
- non working TX if media type was set explicitly

PR: kern/98738 http://www.FreeBSD.org/cgi/query-pr.cgi?pr=98738

which looks like one you'd want!  You'll see the tag is RELENG_6 so  
yes you will need to cvsup to this (aka 6-STABLE) to get those  
changes.  Presumably the changes will make it to 6.2-RELEASE, so  
you could switch to tracking that when it comes out.  I would be  
wary of actively tracking a production server with STABLE.  If you  
upgrade to STABLE now and it works, just leave it unless there are  
security patches.


At least one change is to HEAD/Main which is aka 7-CURRENT.  That  
would be risky for a production box.


Alternatively you could just try downloading the two files and  
copying them over your existing ones (after backing them up!) and  
just try and see if a make buildkernel will compile them.  If the  
changes don't rely on anything outside of these two files, you'd  
likely be fine.  Of course, keep a copy of your current working  
kernel in e.g. /boot/kernel.works.


--Alex

Alex,

Excellent and detailed information. I read the handbook and Complete  
FreeBSD but couldn't grasp the relationship between CURRENT, STABLE,  
and RELEASE and the cvsup tags definitively. This is important when  
buying new hardware running ahead of RELEASE changes (e.g. the  
Broadcom 5704). Last time (a then leading edge server with a U320  
Adaptec controller), I manually updated the driver source just to get  
it to production and made my source out of sync and then feared  
cvsuping further. I think you've given me, in a nutshell, how to do  
this more responsibly. Let me take a shot at it for posterity.


1. Take the machine to STABLE via RELENG_6, if it tests reliably, go  
production and freeze

2. security patch through the .asc file patches until RELEASE 6.2
3. cvsup to RELEASE 6.2 aka RELENG_6_2 (when available and if needed  
hardware changes were indeed incorporated)
4. given no hardware additions, continue to cvsup on RELENG_6_2_0 for  
Security Patches 

package-recursive and methods to quickly rebuild your computer

2006-09-13 Thread Jonathan Horne
so ive been playing with my buildserver, and working out the methodology
to quickly recover a computer to operational mode.

yesterday, i took my buildserver, and began with a 'pkg_delete -a', and
then updated my ports tree.  i then proceeded to visit each port directory
of things my production server runs, and did a 'make install
package-recursive', until had a /usr/ports/packages/ directory that was
very full of what appears to be invididual packages of each of the things
i need on my server.

next, i took a test box, and mounted /usr/ports from my build server to
this test box, changed to /usr/ports/packages/All, and did a 'pkg_add -v
*', and watched as what appeared to be each package this directory install
onto my test box.

the first thing i decided to test, was apache (2.0.59).  apache would fire
up, but php would not work well enough to load squirrelmail or something
like phpsysinfo.  phpsysinfo told me that the xml and pcre exentions are
required, but 'pkg_info|grep php5' told me that these extensions were
installed.  if i do a plain 'pkg_info' on both my build server and test
box, they are line for line the same, but some things are obvously not
working.

first, am i going about this project in the wrong direction?

second, what is the proper way to use the packages that have been built
from ports, and how do they differ from actually building the port on a
system?

thanks,
jonathan

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


Re: Top behavior differences

2006-09-13 Thread Giorgos Keramidas
On 2006-09-10 18:04, stan [EMAIL PROTECTED] wrote:
 On Sun, Sep 10, 2006 at 11:57:05AM -0400, Bob Hall wrote:
  On Sun, Sep 10, 2006 at 08:56:31AM -0400, stan wrote:
   Can someone explain to me why top's handling of multi processor
   status display is different on FreeBSD, than it is on Linux?
  
  Open source started with the concept of individuals hacking the source
  code to get the features they want. The commericial ideal of users paying
  for features they want was replaced by the ideal of users doing the work
  to create the features they want. Open source has evolved into the
  concept of many users getting a free ride as a relatively small number
  of open source programmers do the work for them, without pay. 
  
  Possible reasons why open source software X doesn't have feature Y:
  
  -- Long discussion of open source philosophy dleted ---
 
 Once upon a time, when people posted on lists like this, they got 
 well reasoned technical answers.
 
 The question I was really asking, is if there is a technical
 reason for this difference (eg difernt sturctures for obatining
 the information in the 2 OS's). The reason that i feel this is
 an apropriate place to ask such a question, is that top is NOT 
 a port, but is provided by the base OS in FreeBSD.

There are technical reasons.  The top(1) utility peeks into kernel
structures, such as process lists, memory usage information and other
stuff, and our current FreeBSD version has been changed, fixed and
augmented with new features as FreeBSD was developed.  I doubt that it
can run unmodified on Linux.

What sort of technical details are you interested in?  I've made some
changes to top(1) myself, so maybe I can tell you what the differences
are if you have something specific in mind :)

- Giorgos

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


Re: question about fortune at login

2006-09-13 Thread Jerold McAllister
David Kelly writes: 



On Sep 12, 2006, at 9:20 PM, Jonathan Horne wrote: 

what is the proper way to disable fortune?  i deleted the .login  file 
from my

homedir... and it still runs at login!


Look and see where it is being invoked.   That is commonly in .login
but could be in any file.  If you are using sh or bash it might be
coming from .profile.It could also be in .cshrc (for csh or tcsh). 

Depends on what shell you are using, but with tcsh moving ~/.login to  
~/dot.login ended fortune for me via ssh login. 

What I don't much care for is the large /etc/motd which ships stock  with 
FreeBSD. So that and /etc/hosts are the only files I hack and  override 
manually when using mergemaster.


The motd is supposed to be frequently update.  It was originally intended
for the system manager to post messages to users about whatever was
happening to the system - such as a notice that it would be down for
maintenance that evening.   That is why it was called 'Message Of The Day'. 

jerry 



--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad. 

 


___
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: NIC Questions for 6.1 Release - Obtaining changes not in RELEASE

2006-09-13 Thread Alex Zbyslaw

Chris wrote:

Excellent and detailed information. I read the handbook and Complete  
FreeBSD but couldn't grasp the relationship between CURRENT, STABLE,  
and RELEASE and the cvsup tags definitively. This is important when  
buying new hardware running ahead of RELEASE changes (e.g. the  
Broadcom 5704). Last time (a then leading edge server with a U320  
Adaptec controller), I manually updated the driver source just to get  
it to production and made my source out of sync and then feared  
cvsuping further. I think you've given me, in a nutshell, how to do  
this more responsibly. Let me take a shot at it for posterity.


RELENG = The official release versions; as well tested as things come.  
Only get security patches.
CURRENT = The very bleeding edge.  Updated often.  Not recommended for 
any critical machine.
STABLE = Changes that have run well in CURRENT, fix problems or improve 
performance etc, and are things which will form part of the next 
RELEASE.  Bugs and other issues much less likely than CURRENT.


So developed software generally goes from CURRENT (when tested) - 
STABLE - next RELENG.


But, not all software in CURRENT automatically goes to STABLE.  CURRENT 
(right now)  is what will be RELENG_7_0, and not all changes there will 
be suitable for 6.




1. Take the machine to STABLE via RELENG_6, if it tests reliably, go  
production and freeze

2. security patch through the .asc file patches until RELEASE 6.2
3. cvsup to RELEASE 6.2 aka RELENG_6_2 (when available and if needed  
hardware changes were indeed incorporated)
4. given no hardware additions, continue to cvsup on RELENG_6_2_0 for  
Security Patches for server life-cycle


This should work fine.  In step 4, you can consider upgrading from 
RELENG_6_2 to RELENG_6_3 etc etc, obviously testing.   The more critical 
a machine, however, the less likely you are to want to do that.  If you 
have any kind of farm, then keeping identical hardware and using one 
machine as a test bed for any upgrades is also a possible scenario.  The 
farm can be as small as two machines - one a backup for the other, but 
also usable for testing upgrades.


I think it would be technically possible (if unlikely), that a security 
patch for STABLE might not apply cleanly if you are not running the 
latest STABLE.  In such a case, you  might again have to bite the bullet 
and update to the latest STABLE and test again.  This is only likely to 
happen if the bug is some kind of kernel internal, and even then only if 
some other code for it in STABLE has changed since you did your 
upgrade.  As I say, I think this would be unlikely.


Depending on what the machine in question actually does, how it is 
firewalled etc, it might be that you don't even bother to apply a 
security patch.  (No doubt some will shout when I say that), but you 
have to analyse what risk the security whole actually poses to *your 
machine*.  You could always seek advice here if such an issue arises,




I think a light is clicking on.

Thanks VERY much,


You're welcome.

--Alex


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


Re: device vt causes boot freeze

2006-09-13 Thread Anton Shterenlikht
On 2006 Sep 13, Lowell Gilbert wrote:
 Anton Shterenlikht [EMAIL PROTECTED] writes:
 
  Can I enable both sc and vt in device.hints?
 
 My impression from a very brief look at the code is that they cannot
 be active at the same time.  

Sorry, what code?

But there is definitely no problem in building both sc and pcvt into the 
kernel, is there? Or is it advisable to make kernel with either sc or pcvt, but 
not both? The manual does not say the sc and pcvt cannot coexist in the same 
kernel. But all configuration files I've seen on the net are either with sc or 
with pcvt, not both. 

I found that the same behaviour was reported as a bug in 2005 in 5.3-release:
http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/75887
and is still listed as open.

thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba and FAM

2006-09-13 Thread Thomas T. Veldhouse
I have been using Samba 3.x for my Windows file share and printing.  I 
chose not to use FAM as the implementation on FreeBSD seems non-existant 
(where is the daemon?).  So, when I configured Samba, I unchecked the 
option for FAM.  Yet, when it runs, I still see that it is required.


Sep 13 03:12:30 fuggle smbd[2898]:   FAM file change notifications not 
available
Sep 13 03:12:30 fuggle smbd[2897]:   FAM file change notifications not 
available
Sep 13 03:12:30 fuggle smbd[2897]: [2006/09/13 03:12:30, 0] 
lib/util_sock.c:read_data(534)


I considered uninstalling FAM and rebuilding Samba, but, as it turns 
out, Courier-IMAP requires FAM as a dependency even though it is not a 
declared dependency in the Makefile.


Even though FAM was not selected when building Samba, I am getting the 
above errors.  Is there a way to avoid these filling my log files?


Tom Veldhouse


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


ath0: Device timeout

2006-09-13 Thread Michael Alestock
I'm trying to get my Atheros 5212 built-in wireless device working on my
Toshiba laptop.  I used the FreeBSD wireless networking documentation as
a guide.  My goal was to atleast get it connected to my SSID with no
encryption.

I was able to load the driver using, kldload if_ath and it detected
it.  However, when trying to associate it with my WAP and give it a
static IP address I got the following error message

atho:  Device timeout

I've Googled high-n-low to find out what the cause of this error is, but
 every solution I've come across that worked for someone else didn't
work for me.

Any ideas???

Am I doing something wrong or missing something here??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail and hosts_access(5)

2006-09-13 Thread Kevin Kinsey

Hello all,

I am attempting to block an SMTP server with /etc/hosts.allow:

--
Received: from 241net251.net.zeork.com.pl (241net251.net.zeork.com.pl
[194.117.241.251] (may be forged))
--
[506] Tue 12.Sep.2006 20:55:44
[EMAIL PROTECTED]
#ssh [EMAIL PROTECTED] grep zeork /home/kadmin/spammers
.net.zeork.com.pl

[507] Tue 12.Sep.2006 20:56:55
[EMAIL PROTECTED]
#ssh [EMAIL PROTECTED] grep /home/kadmin/spammers /etc/hosts.allow
sendmail : /home/kadmin/spammers : deny
--

hosts_access(5) says this:
  The access control language implements the following patterns:
   * A string that begins with  a  `.'  character.  A  host
name is matched  if the last components of its name match the
specified pattern.  For example, the pattern `.tue.nl'  matches
the host name `wzv.win.tue.nl'

So, why does my server continue accepting SMTP connections from 
241net251.net.zeork.com.pl ?


Thoughts, pointers, gentle kicks on the bum welcomed.

Kevin Kinsey
DaleCo, S.P.

Ray's Rule of Precision:
Measure with a micrometer.  Mark with chalk.  Cut with an axe.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pci modem question

2006-09-13 Thread Andy Greenwood

not to mention that winmodems are utter crap, even on windows.

On 9/13/06, Derek Ragona [EMAIL PROTECTED] wrote:

Be sure to get a real full modem.  Not a winmodem.  A full modem will cost
considerably more, like double the price because it has all the modem
hardware on the card.  Winmodems rely on Windows to do much of the hardware
functions.

 -Derek


At 09:05 PM 9/12/2006, musashi miyamoto wrote:
FreeBSD mori.ranmaru 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue Sep  5 02:09:57
PHT 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SHOGUN  i386


is there a dialup pci modem that is compatible with FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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


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

___
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]


Arla on FreeBSD 5.5

2006-09-13 Thread Jerold McAllister

I just attempted to install Arla from ports - I need a working AFS client.
It is on FreeBSD 5.5 because I was informed that it would not work on 6.1
due to problems using locks (kernel locks??) that have not been resolved.
Supposedly though, it is supposed to work on FreeBSD 5.5.  But, 

the install is blocked with the message: 


=== arla-0.40 is marked as broken: compiles but overwrites files
 from a dependancy (security/heimdal). 


Is there something I can do about this or can I just cause it to ignore
this with impunity?  If so, how? 


Does it just overwrite heimdal with the one from ports - which might be
what is already installed anyway?If so, does it matter? 


If it matters, does arla have to have that particular heimdal and not
what  might already be installed - so can a check for it be put in and
have it skip over the overwriting and just use what is already there? 


Basically, I need to get somewhere on this and don't know how to
procede so any pointers or help will be appreciated. 

jerry 



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


CLI text editor recommendation

2006-09-13 Thread Andy Greenwood

I need a CLI text editor I can use over ssh, which does NOT append
newlines to the end of files as I save them. I am using this to edit
PHP files, and my PHP doesn't like newlines outside the last ?. ee
and vi both do so, I tried nano which also does the same. I haven't
installed emacs to try that yet, since the man page says that it also
does the same thing. Does anyone have any ideas?

Another question: Why do so many text editors have this behavior?
Should a text editor really add text that I don't tell it to add to my
file? It seems that there must be some reason.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail and hosts_access(5)

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 11:14, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Hello all,
 
 I am attempting to block an SMTP server with /etc/hosts.allow:
 
 --
 Received: from 241net251.net.zeork.com.pl (241net251.net.zeork.com.pl
 [194.117.241.251] (may be forged))
 --
 [506] Tue 12.Sep.2006 20:55:44
 [EMAIL PROTECTED]
 #ssh [EMAIL PROTECTED] grep zeork /home/kadmin/spammers
 .net.zeork.com.pl
 
 [507] Tue 12.Sep.2006 20:56:55
 [EMAIL PROTECTED]
 #ssh [EMAIL PROTECTED] grep /home/kadmin/spammers /etc/hosts.allow
 sendmail : /home/kadmin/spammers : deny
 --
 
 hosts_access(5) says this:
   The access control language implements the following patterns:
* A string that begins with  a  `.'  character.  A  host
   name is matched  if the last components of its name match the
   specified pattern.  For example, the pattern `.tue.nl'  matches
   the host name `wzv.win.tue.nl'
 
 So, why does my server continue accepting SMTP connections from 
 241net251.net.zeork.com.pl ?
 
 Thoughts, pointers, gentle kicks on the bum welcomed.

I don't think you can have the hostnames in a separate map file and
then reference this file from /etc/hosts.allow.

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


Re: CLI text editor recommendation

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 12:25, Andy Greenwood [EMAIL PROTECTED] wrote:
 I need a CLI text editor I can use over ssh, which does NOT append
 newlines to the end of files as I save them. I am using this to edit
 PHP files, and my PHP doesn't like newlines outside the last ?. ee
 and vi both do so, I tried nano which also does the same. I haven't
 installed emacs to try that yet, since the man page says that it also
 does the same thing. Does anyone have any ideas?

IMHO, the problem is not the editor, but the brokenness of this
particular PHP installation.

Having said that, you can configure both VIM and Emacs to append or not
append newlines.

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


Re: The Ports collection / FreeBSD CDs

2006-09-13 Thread Daniel Bye
On Tue, Sep 12, 2006 at 05:30:43PM -0700, Perry Hutchison wrote:
   ... at least in my recent experience, an up-to-date ports tree 
   does not always play nicely with a not-updated base install from
   CD.
 
  That's very interesting. However, the ports tree on the CD isn't
  complete, as in: not all the ports are there.
 
 Any idea why?  (I am referring to the ports tree itself, i.e. the
 collection of skeleton directories.  The set of distfiles provided
 on CDs 3 and 4 is necessarily incomplete, both due to limited space
 and because some distfiles have legal restrictions that prevent 
 their inclusion.)

Because since the release CD was cut, the porters have been tirelessly
porting new software and updating existing software - the ports tree is
pretty much in a constant state of growth and development.  As soon as 
the release is cut, the included ports tree is out of date.

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgps591PQcSnj.pgp
Description: PGP signature


Re: question about fortune at login

2006-09-13 Thread Norberto Meijome
On Wed, 13 Sep 2006 10:56:59 -0400
Jerold McAllister [EMAIL PROTECTED] wrote:

  What I don't much care for is the large /etc/motd which ships stock  with 
  FreeBSD. So that and /etc/hosts are the only files I hack and  override 
  manually when using mergemaster.
 
 The motd is supposed to be frequently update.  It was originally intended
 for the system manager to post messages to users about whatever was
 happening to the system - such as a notice that it would be down for
 maintenance that evening.   That is why it was called 'Message Of The Day'. 

to get rid of motd on login:

touch ~/.hushlogin

fortune is being called by one of your shell startup scripts. if bash (as the
others have been covered already), look for ~/.profile and ~/.bashrc (and
~/.bash_logout ... if you need for actions when logging out.


_
{Beto|Norberto|Numard} Meijome

I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out.

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: CLI text editor recommendation

2006-09-13 Thread Alex Zbyslaw

Andy Greenwood wrote:


I need a CLI text editor I can use over ssh, which does NOT append
newlines to the end of files as I save them. I am using this to edit
PHP files, and my PHP doesn't like newlines outside the last ?. ee
and vi both do so, I tried nano which also does the same. I haven't
installed emacs to try that yet, since the man page says that it also
does the same thing. Does anyone have any ideas?


Emacs most certainly can save files without newlines.  I don't see any 
option in my .emacs to force this behaviour so assume it works out of 
the box, nor can I find any reference in the man page which says it does 
add newlines.  OTOH, emacs may be overkill if you don't already use it.


I would have thought vi would have an option to stop this happening, but 
don't see one.


I'm surprised at PHP barfing on extra newlines, but then I've never 
used it.


--Alex


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


Re: CLI text editor recommendation

2006-09-13 Thread Kirk Strauser
On Wednesday 13 September 2006 11:25, Andy Greenwood wrote:
 I need a CLI text editor I can use over ssh, which does NOT append
 newlines to the end of files as I save them. I am using this to edit
 PHP files, and my PHP doesn't like newlines outside the last ?. ee
 and vi both do so, I tried nano which also does the same. I haven't
 installed emacs to try that yet, since the man page says that it also
 does the same thing. Does anyone have any ideas?

vim -b brokenfile.php should work.  Note that something is seriously broken 
with PHP, though, if it can't process text files in the standard format.

 Another question: Why do so many text editors have this behavior?

Because lines end with end-of-line, and the last line isn't magic.  Note that 
almost every text file on your system is this way.  Try this:

   $ cat somefile.txt; echo NEWTEXT

If somefile.txt contains foo, you'd expect to see:

   foo
   NEWTEXT

However, your broken PHP install insists on files that would result in:

   fooNEWTEXT

which is clearly not the right thing to do.  I really don't mean to sound 
harsh, but the problem really is with PHP and not your text editors.  If that 
was a widespread issue, you'd hear about it all over the place and not just 
in this one thread.
-- 
Kirk Strauser


pgpADrhTHnrju.pgp
Description: PGP signature


Re: sendmail and hosts_access(5)

2006-09-13 Thread Robert Huff

Giorgos Keramidas writes:

  I don't think you can have the hostnames in a separate map file
  and then reference this file from /etc/hosts.allow.

The port security/denyhosts does exactly that.  (And it seems
to work.)

Robert Huff

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


Re: sendmail and hosts_access(5)

2006-09-13 Thread Matthew Seaman
Giorgos Keramidas wrote:
 On 2006-09-13 11:14, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Hello all,

 I am attempting to block an SMTP server with /etc/hosts.allow:

 --
 Received: from 241net251.net.zeork.com.pl (241net251.net.zeork.com.pl
 [194.117.241.251] (may be forged))
 --
 [506] Tue 12.Sep.2006 20:55:44
 [EMAIL PROTECTED]
 #ssh [EMAIL PROTECTED] grep zeork /home/kadmin/spammers
 .net.zeork.com.pl

 [507] Tue 12.Sep.2006 20:56:55
 [EMAIL PROTECTED]
 #ssh [EMAIL PROTECTED] grep /home/kadmin/spammers /etc/hosts.allow
 sendmail : /home/kadmin/spammers : deny
 --

 hosts_access(5) says this:
   The access control language implements the following patterns:
* A string that begins with  a  `.'  character.  A  host
  name is matched  if the last components of its name match the
  specified pattern.  For example, the pattern `.tue.nl'  matches
  the host name `wzv.win.tue.nl'

 So, why does my server continue accepting SMTP connections from 
 241net251.net.zeork.com.pl ?

 Thoughts, pointers, gentle kicks on the bum welcomed.
 
 I don't think you can have the hostnames in a separate map file and
 then reference this file from /etc/hosts.allow.

hosts.allow triggers special behaviour with sendmail.  Unlike other services
which just close the connection immediately, with sendmail what happens is
that it will accept the connection, let the sender attempt to send
e-mail, but then respond with a 500 'permanent failure' code.

The reason for that is fairly simple: if a MTA gets no answer when trying
to connect to a server and deliver e-mail, then the standards say it should
requeue the message and try again for up to 5 days.  The only way to get the
sending MTA to give up immediately is to issue a SMTP 500 error code.

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: CLI text editor recommendation

2006-09-13 Thread Philip Hallstrom

I need a CLI text editor I can use over ssh, which does NOT append
newlines to the end of files as I save them. I am using this to edit
PHP files, and my PHP doesn't like newlines outside the last ?. ee
and vi both do so, I tried nano which also does the same. I haven't
installed emacs to try that yet, since the man page says that it also
does the same thing. Does anyone have any ideas?


Not an editor, but why not just do this:

---
?php

# php code here

# note no last ?. php will treat the rest of the file as php
---

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


Re: CLI text editor recommendation

2006-09-13 Thread Norberto Meijome
On Wed, 13 Sep 2006 17:49:20 +0100
Alex Zbyslaw [EMAIL PROTECTED] wrote:

 I'm surprised at PHP barfing on extra newlines, but then I've never 
 used it.
PHP does not barf at the extra lines. what could be happening is that the file
in question being edited (include_me.php) is included by some other PHP script
(some_script.php). If some_script.php loads include_me.php before issuing it's
HTTP headers, then the new lines (or any non-php-code text in include_me.php
will be sent out ot the client , BEFORE the headers, which , depending on your
error / warning settings, will make php complain, and will defnitely prevent
the intended action of the HTTP headers from happening properly.

back to the subject, i doubt that vi 'adds' a new line... i've used vi for
years (and yes, many times editing php scripts over ssh) and it doesnt save any
more lines than those already present... 
maybe you need to remove DOS ^M ? ( try converters/unix2dos ) - those are far
more likely to cause headaches on a cross platform environment.

_
{Beto|Norberto|Numard} Meijome

Software is like sex, its better when its free
   Linus Torvalds

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: forwarding as a gateway, logging certain traffic

2006-09-13 Thread Norberto Meijome
On Tue, 12 Sep 2006 15:51:08 -0400
Bart Silverstrim [EMAIL PROTECTED] wrote:

 Something inside our network is infected with a spam-mailing trojan.   
 We now have our PIX firewall set to block all outgoing traffic to  
 port 25 unless it is from our mail server.

you should also accept only authenticated smtp connections from your LAN (or
exchange only, if you can), and limit the number of  recipients per email.
Pretty sure you can limit the rate at which xchange will send emails out
(virtual smtp server). Then just check the xchange queues ... see them
grow...and wonder why did we (I'm in the same boat ;) ) went with xhcnage in
the first place :D

HIH

_
{Beto|Norberto|Numard} Meijome

I don't think they could put him in a mental hospital.  On the other
hand, if he were already in, I don't think they'd let him out.

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: CLI text editor recommendation

2006-09-13 Thread Andy Greenwood

Thanks for the advice everyone. I will certainly check out my php and
see if I can figure out why it's giving me errors as-is.

On 9/13/06, Philip Hallstrom [EMAIL PROTECTED] wrote:

 I need a CLI text editor I can use over ssh, which does NOT append
 newlines to the end of files as I save them. I am using this to edit
 PHP files, and my PHP doesn't like newlines outside the last ?. ee
 and vi both do so, I tried nano which also does the same. I haven't
 installed emacs to try that yet, since the man page says that it also
 does the same thing. Does anyone have any ideas?

Not an editor, but why not just do this:

---
?php

# php code here

# note no last ?. php will treat the rest of the file as php
---



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


Re: package-recursive and methods to quickly rebuild your computer

2006-09-13 Thread Bill Moran
In response to Jonathan Horne [EMAIL PROTECTED]:

 so ive been playing with my buildserver, and working out the methodology
 to quickly recover a computer to operational mode.
 
 yesterday, i took my buildserver, and began with a 'pkg_delete -a', and
 then updated my ports tree.  i then proceeded to visit each port directory
 of things my production server runs, and did a 'make install
 package-recursive', until had a /usr/ports/packages/ directory that was
 very full of what appears to be invididual packages of each of the things
 i need on my server.
 
 next, i took a test box, and mounted /usr/ports from my build server to
 this test box, changed to /usr/ports/packages/All, and did a 'pkg_add -v
 *', and watched as what appeared to be each package this directory install
 onto my test box.
 
 the first thing i decided to test, was apache (2.0.59).  apache would fire
 up, but php would not work well enough to load squirrelmail or something
 like phpsysinfo.  phpsysinfo told me that the xml and pcre exentions are
 required, but 'pkg_info|grep php5' told me that these extensions were
 installed.  if i do a plain 'pkg_info' on both my build server and test
 box, they are line for line the same, but some things are obvously not
 working.
 
 first, am i going about this project in the wrong direction?

Sounds good to me.

 second, what is the proper way to use the packages that have been built
 from ports, and how do they differ from actually building the port on a
 system?

It sounds to me like the php addons aren't getting registered in
/usr/local/etc/php/extensions.ini

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


Re: libm.so.3 on FreeBSD 6.1-RELEASE

2006-09-13 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: Kris Kennaway [EMAIL PROTECTED]
 To: Jonathan Horne [EMAIL PROTECTED]
 Subject: Re: libm.so.3 on FreeBSD 6.1-RELEASE
 Date: Tue, 12 Sep 2006 23:46:20 -0400
 
 
 On Tue, Sep 12, 2006 at 09:23:46PM -0500, Jonathan Horne wrote:
 
  cvsuping to -p6 wil not fix the problem.  i had the exact same 
  issue (except it was a list of 6 different .so files) getting the 
  NetBackup 5.1 agent for UNIX to run on freebsd.  my solution was 
  as simple as:
 
  ln -s /lib/libm.so.4 /lib/libm.so.2
 
  (NetBackup agent was looking for so.2)
 
  so in your case, just symlink the existing .4 to a .3, and you 
  should be good to go.  backwards compatibility should not be an 
  issue.
 
 That's a bogus hack; the libraries are not compatible or they'd have
 the same version!
 
 Just install the relevant compat package (compat4x/compat5x).
 
 Kris
  2.dat 



anyway dude,
in my case compat 4.x and 5.x already installed and run in my kernel,
but still i cant run it properly because of the library issue..

and i'm doing this symlink and it's solved..

:)




-- 
___
Now you can search for products and services
http://search.mail.com

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


Re: sendmail and hosts_access(5)

2006-09-13 Thread Kevin Kinsey

Robert Huff wrote:

Giorgos Keramidas writes:


 I don't think you can have the hostnames in a separate map file
 and then reference this file from /etc/hosts.allow.


The port security/denyhosts does exactly that.  (And it seems
to work.)

Robert Huff


I didn't see Giorgos' reply to my initial post, but, on that subject, 
the manpage I referred to (hosts_access) also says:


  A string that begins with a `/' character is treated as a file
name.  A host name or address is matched if it matches any host name or 
address pattern listed in the named file. The file format is zero or

more lines with zero or more host name or address patterns separated by
whitespace.  A file name pattern can be used anywhere a host name or 
address pattern can be used.


It could be, I suppose, that the manpage is out-of-date/sync with 
reality


Kevin Kinsey

--
It is better to wear out than to rust out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: The Ports collection / FreeBSD CDs

2006-09-13 Thread Frank Shute
On Wed, Sep 13, 2006 at 08:19:22AM -0400, ograbme wrote:

 Hello Frank,
 
 Tuesday, September 12, 2006, 10:41:17 PM, you wrote:
 
 snip
 
 FS Go grab the compressed, reasonably up to date ports tree:
 
 FS $ fetch -dpv ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz
 
 FS (warning! 35MB compressed)
 
 Will do when I have Internet connection via FreeBSD box.  Need to set
 up ADSL connection - am currently reading about that process.  Also,
 need to figure out how USB gets set up properly.  But these are two
 separate issues that I will probably be asking about in the very near
 future ... if I haven't managed to make any real progress in these
 areas.

I didn't realise you didn't have a network connection yet!

For usb, you need:

usbd_enable=YES

in /etc/rc.conf

The handbook is your best bet to get your network connection going.
Any problems, just post here.

 
 FS and:
 
 FS # mv ports.tar.gz /usr/ports
 FS # cd /usr/ports
 FS # tar xvzf ports.tar.gz
 
 FS to build sudo, first check that there's nothing funny with building
 FS sudo:
 
 FS $ cat /usr/ports/UPDATING | grep sudo
 
 FS if there's nothing then:
 
 FS # cd /usr/ports/security/sudo/
 FS # make install clean
 
 Thanks for the detailed steps.
 
 FS Then read the handbook about keeping your ports tree up to date using
 FS portsnap or cvsup.
 
 Will do.
 
  
  P.S.  Please advise what the proper mode of responding is in terms of
  replying.  I did a reply all ...
  snip
  
 
 FS That's OK. I usually post to the list and cc to the person who posted
 FS in the first place as they may not be subscribed to the list.
 
 Yes, this was my line of thinking, but don't want to upset anyone as
 I am a newbie here. ;)

Yeah, it always helps if you don't piss off everybody when you're
tring to get help ;)

 
 FS Welcome to FreeBSD!
 
 Thanks.  Appreciate it, Frank.
 

No worries.

BTW, you can get back to the installer with:

# /stand/sysinstall

and from there with your discs you can install a limited amount of
ports/packages.

Best of luck with it. It will take you some blood, sweat and tears to
familiarise yourself with FreeBSD but once you've gone through the
initial learning process and setting up the basics such as networking
and email, it's very easy to maintain your system and install software
- much easier than Linux IMHO. The ports system for application
software and buildkernel/buildworld for upgrading your base system are
very effective.

-- 

 Frank 


echo f r a n k @ e s p e r a n c e - l i n u x . c o . u k | sed 's/ //g'

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


Re: package-recursive and methods to quickly rebuild your computer

2006-09-13 Thread Jonathan Horne
 In response to Jonathan Horne [EMAIL PROTECTED]:

 so ive been playing with my buildserver, and working out the methodology
 to quickly recover a computer to operational mode.

 yesterday, i took my buildserver, and began with a 'pkg_delete -a', and
 then updated my ports tree.  i then proceeded to visit each port
 directory
 of things my production server runs, and did a 'make install
 package-recursive', until had a /usr/ports/packages/ directory that was
 very full of what appears to be invididual packages of each of the
 things
 i need on my server.

 next, i took a test box, and mounted /usr/ports from my build server to
 this test box, changed to /usr/ports/packages/All, and did a 'pkg_add -v
 *', and watched as what appeared to be each package this directory
 install
 onto my test box.

 the first thing i decided to test, was apache (2.0.59).  apache would
 fire
 up, but php would not work well enough to load squirrelmail or something
 like phpsysinfo.  phpsysinfo told me that the xml and pcre exentions are
 required, but 'pkg_info|grep php5' told me that these extensions were
 installed.  if i do a plain 'pkg_info' on both my build server and test
 box, they are line for line the same, but some things are obvously not
 working.

 first, am i going about this project in the wrong direction?

 Sounds good to me.

 second, what is the proper way to use the packages that have been built
 from ports, and how do they differ from actually building the port on a
 system?

 It sounds to me like the php addons aren't getting registered in
 /usr/local/etc/php/extensions.ini

 --
 Bill Moran
 Collaborative Fusion Inc.

it turns out, that you were correct.  and to add insult to injury, the
package that was created is not even depositing the pcre.so into
/usr/local/lib/php/20050922 directory, which is fully populated on the
build server.

at this point im not sure where to go.  so far, it doesnt seem like this
project is going to produce a useable set of pre-built packages from my
build server that can be used on another system for a fast-as-possible
system recovery.

not beaten yet,
jonathan


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


Re: Thank You and Mc OS games

2006-09-13 Thread Andrew Pantyukhin

On 9/13/06, felix.schalck [EMAIL PROTECTED] wrote:

Hello in there,

I'm kind of complicated person, so finding o good OS was really a pity
for me. I googled around a lot, installed a lot and often get
disappointed... until I discovered FreeBSD. Folks, this OS ist simply
great because it is CLEAR. Clear Structure, clear Doc, clear Policy. But
all the guys on this mailing list probably already know this... Now, i
have one simple question related to this: where and whom can I tell
THANK YOU ? GOOD WORK ? For providing such a great OS.


There are many places, but I'm sure you've been heard already.
Thanks for your kind words.


Secondly: being myself an ex-gamer, I'm wondering if it is possible to
run Mac OS games under FreeBSD. I found no solution on google, so
probably there is some reason which cause it NOT working. Could someone
just explain me what it this reason ?


Unfortunately, Mac OS games just don't run on anything but Mac OS
itself. Many Linux games and some windows ones run flawlessly on
FreeBSD, though, with no or subtle performance penalties.

On the other hand, you might have heard that Mac OS X is based on
FreeBSD. They removed all the clear things you were talking about,
slipstreamed a clear-looking GUI and put a price tag on it. The result
is a pretty good desktop OS (for a commercial one that is). You might
want to try it out.

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


Re: Thank You and Mc OS games

2006-09-13 Thread Chuck Swiger

On Sep 13, 2006, at 1:25 PM, Andrew Pantyukhin wrote:

Unfortunately, Mac OS games just don't run on anything but Mac OS
itself. Many Linux games and some windows ones run flawlessly on
FreeBSD, though, with no or subtle performance penalties.


For commercial game software, Andrew is certainly right that one it  
more likely to be able to run Linux versions.  However, something  
like BZFlag runs on both MacOS X and FreeBSD, as do almost all of the  
Roguelike games (URogue, NetHack, Moria, Angband), and many other  
Open Source games.  Felix, try looking under /usr/ports/games



On the other hand, you might have heard that Mac OS X is based on
FreeBSD. They removed all the clear things you were talking about,
slipstreamed a clear-looking GUI and put a price tag on it.


At the time MacOS X was first released, the majority of CVS tags in  
the kernel and library trees came from NetBSD, with FreeBSD being the  
second most common.  At the present time, from http:// 
developer.apple.com/technotes/tn2002/tn2071.html:


Evolution of Mac OS X

Berkeley Software Distribution (BSD): Part of the history of Mac OS X  
goes back to Berkeley Software Distributions (BSD) UNIX of the early  
seventies.  Specifically, Mac OS X is based in part on BSD 4.4 Lite.   
On a system level, many of the design decisions are made to align  
with BSD-style UNIX systems.  Most libraries and utilities are from  
FreeBSD, but some are derived from NetBSD.  For future development,  
Mac OS X has adopted FreeBSD as a reference code base for BSD  
technology. Work is ongoing to synchronize all BSD tools and  
libraries more closely with the FreeBSD-stable branch.


Mach: Although Mac OS X must credit BSD for most of the underlying  
levels of the operating system, Mac OS X also owes a major debt to  
Mach.  The kernel is heavily influenced in its design philosophy by  
Carnegie Mellon's Mach project.  The kernel is not a pure micro- 
kernel implementation, since the address space is shared with the BSD  
portion of the kernel and the I/O Kit.


--
-Chuck

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


Re: Thank You and Mc OS games

2006-09-13 Thread felix.schalck





Evolution of Mac OS X

Berkeley Software Distribution (BSD): Part of the history of Mac OS X 
goes back to Berkeley Software Distributions (BSD) UNIX of the early 
seventies.  Specifically, Mac OS X is based in part on BSD 4.4 Lite.  
On a system level, many of the design decisions are made to align with 
BSD-style UNIX systems.  Most libraries and utilities are from 
FreeBSD, but some are derived from NetBSD.  For future development, 
Mac OS X has adopted FreeBSD as a reference code base for BSD 
technology. Work is ongoing to synchronize all BSD tools and libraries 
more closely with the FreeBSD-stable branch.

Thanks for your details,

Do you think the interest that mac developpers pay on freebsd-stable is 
a good thing for FreeBSD ? I mean: for further developpement and general 
supporting of the OS ?


regards,

Felix

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


Re: Thank You and Mc OS games

2006-09-13 Thread Chuck Swiger

On Sep 13, 2006, at 2:16 PM, felix.schalck wrote:
Do you think the interest that mac developpers pay on freebsd- 
stable is a good thing for FreeBSD ? I mean: for further  
developpement and general supporting of the OS ?


Sure.  But the effect is better observed by noticing which parts of  
one system are actually committed to the CVS (SVN, etc) repositories  
of another.


--
-Chuck

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


how to disable realplayer automatically open web browser?

2006-09-13 Thread Wei Hu

Hello Freebsder, When I play some video clips downloaded from the
Internet, realplayer automatically opens a web browser and goes to
some web pages. I know how to disable this in M$ Windwos using
realfilter.exe or Helix Producer Plus, but how to disable this in
Freebsd or Linux. Thanks.
Wei
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thank You and Mc OS games

2006-09-13 Thread hackmiester (Hunter Fuller)


On 13 September 2006, at 15:25, Andrew Pantyukhin wrote:



On the other hand, you might have heard that Mac OS X is based on
FreeBSD.


Although it is based on BSD, I don't think it's FreeBSD it was based  
on. I think it goes all the way back to 4.2BSD. Or something.



They removed all the clear things you were talking about,
slipstreamed a clear-looking GUI and put a price tag on it. The result
is a pretty good desktop OS (for a commercial one that is). You might
want to try it out.

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




--
hackmiester (Hunter Fuller)

svinx yknow when you go to a party, and everyones hooked up except  
one guy and one girl

svinx and so they look at each other like.. do we have to?
svinx intel  nvidia must be lookin at each other like that right now


Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester


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


Problem with sqlite3 and python

2006-09-13 Thread Fred C!


Hello I have a problem with Python + sqlite3. My main machine is a  
FreeBSD 6.1 I have also try on an old machine running FreeBSD 5.5 and  
it doesn't work either. I join to this email some information. I can  
also provide a core file if someone is  interested in solving that  
problem.


Thanks you for any information on how to solve this

-fred-

cocoa[282] gdb /usr/local/bin/python python.core
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 i386-marcel-freebsd...(no debugging  
symbols found)...

Core was generated by `python'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libutil.so.5...(no debugging symbols  
found)...done.

Loaded symbols for /lib/libutil.so.5
Reading symbols from /usr/lib/libstdc++.so.5...(no debugging symbols  
found)...done.

Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/libm.so.4...(no debugging symbols  
found)...done.

Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/lib/libpthread.so.2...(no debugging symbols  
found)...done.

Loaded symbols for /usr/lib/libpthread.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols  
found)...done.

Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/python2.4/lib-dynload/time.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/time.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
itertools.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/itertools.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/strop.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/strop.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/zlib.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/zlib.so
Reading symbols from /lib/libz.so.3...(no debugging symbols  
found)...done.

Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
datetime.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/datetime.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
_socket.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_socket.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/_ssl.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_ssl.so
Reading symbols from /usr/lib/libssl.so.4...(no debugging symbols  
found)...done.

Loaded symbols for /usr/lib/libssl.so.4
Reading symbols from /lib/libcrypto.so.4...(no debugging symbols  
found)...done.

Loaded symbols for /lib/libcrypto.so.4
Reading symbols from /usr/local/lib/python2.4/lib-dynload/math.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/math.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
binascii.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/binascii.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
_random.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_random.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/fcntl.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/fcntl.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/parser.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/parser.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/struct.so... 
(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/struct.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
cStringIO.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/cStringIO.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
collections.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/collections.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
cPickle.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/cPickle.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/ 
_locale.so...(no debugging symbols found)...done.

Loaded symbols for /usr/local/lib/python2.4/lib-dynload/_locale.so
Reading symbols from /usr/local/lib/python2.4/lib-dynload/sha.so... 
(no debugging symbols 

Meaning of CP_INTR

2006-09-13 Thread Karlos


Im getting the cpu statistics from sysctlbyname(kern.cp_time... But i 
dont know the exact meaning of the field CP_INTR (defined in 
sys/resource.h). I know its the time that the cpu spends in interrupt 
mode but:


what kind of interrupts? IRQs? software interrupts? both?


Thank you.

--
/Karlos

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


Re: Problem with sqlite3 and python

2006-09-13 Thread Chuck Swiger

On Sep 13, 2006, at 3:48 PM, Fred C! wrote:
Hello I have a problem with Python + sqlite3. My main machine is a  
FreeBSD 6.1 I have also try on an old machine running FreeBSD 5.5  
and it doesn't work either. I join to this email some information.  
I can also provide a core file if someone is  interested in solving  
that problem.


Thanks you for any information on how to solve this


Not enough data; switch to the thread which crashed, ie got the SIG  
11, and do a bt to try to see what was going wrong.


Note that debugging multithreaded programs is rather difficult, and  
you might want to double-check that your basic Python installation is  
OK first by running the included self-tests which come with the  
Python distribution.  If you're using the Python from ports, try doing:


cd /usr/ports/lang/python  make
cd /usr/ports/lang/python/work/Python-2.4.3  make test

--
-Chuck

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


Re: Newbie Experience

2006-09-13 Thread Kevin Brunelle
On Tuesday 12 September 2006 06:16, Jeff Rollin wrote:
 I let a lot of BSD comments about Linux go unpunished, but this one has
 always got me. BSD had to be *almost totally rewritten* to  avoid ATT
 licensing issues... added to the fact that I wouldn't be surprised if it's
 hard to find a single line of code IRIX, Solaris et al these days share
 between themselves and with V7. Not only that, but I understand that a lot
 of Unix sysadmins download the GNU tools as well, because (among other
 things) they do nifty things like being able to unzip, gunzip or bunzip a
 tarball before untarring it. And the amount of software available from
 people like KDE to install in FreeBSD is staggering.

I find the phrase almost totally rewritten to be misleading.  It is true 
that the majority of the OS had been rewritten by the time of the lawsuit.  
That is what happens as hardware and software changes.  You'd vomit if you 
had a V7 kernel on modern hardware (even if you got all the hardware 
supported the internals were designed for a different time period).  The code 
had evolved slowly over time from the base of where it had started.  By the 
time the lawsuit was brought up and the licensing issues went to court only 
0.016% of the files had to be removed and another 0.388% of them had to add 
copyright notices.  I hardly find needing to rewrite less than half a percent 
(0.404%) of the operating system as a total rebuild.  Along with that less 
than half a percent was a legal order to not use the name Unix but the 
99.59% of code that was Unix one moment didn't suddenly cease to exist or 
change forms when that name was removed.

The lawsuit was settled in January 1994, largely in Berkeley's favor. Of the 
18,000 files in the Berkeley distribution, only 3 had to be removed and 70 
modified to show USL copyright notices. A further condition of the settlement 
was that USL would not file further lawsuits against users and distributors 
of the Berkeley-owned code in the upcoming 4.4BSD release.  [From: 
http://en.wikipedia.org/wiki/Berkeley_Software_Distribution#Net.2F2_and_legal_troubles
 
but easily found elsewhere as well if one investigates.]

Does the OS have any original code left in it?  I certainly hope not but the 
pedigree is there.  It started from the original code and changed a little 
bit at a time.  Even though FreeBSD can't be called Unix today, it evolved 
from Unix.  Linux arose from ideas as presented in the POSIX standard and GNU 
community.  I agree that Linux is not an emulator.  It is just a different 
interpretation of Unix.  Solaris is different, BSD is different, AIX is 
different, etc.  While some did evolve from the actual roots and Linux 
didn't... I do not believe that is reason alone to snub Linux.

Anyway, all modern day Unix systems have different code than the original Unix 
systems.  It's part of the reality of software.

As for the GNU tools, yes most sysadmins use some of them (although not 
always).  I know that BSD tar handles gzip and bzip2 just fine ( -z and -j 
respectively).  So I know I wouldn't download gtar just for that feature.  
And I don't even consider it that large of a feature.  If I had a tar which 
lacked it, I could certainly still manage that with one command line.

GNU utilities have their benefits.  Mainly, in my experience, that they're 
fairly common in the open source world and often you need them to use 
something which is created by them.  I've had to download gawk and gsed 
before just to install a program without rewriting all the awk and sed code 
in it to be posix compliant, for example.

I do have KDE on several computers I maintain for people and use a lot of 
software outside the base install.  Once everything is setup... and for the 
most part, the difference between using BSD or Linux is minor.  It's not 
anywhere near the difference between using Windows and Mac (for example).

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


apache 1.x and 2.x on same server

2006-09-13 Thread snacktime

Are there any options I can use when installing apache 2.x from the
ports tree so it won't overwrite apache 1.x?

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


Re: Newbie Experience -- Linux/BSD Differences

2006-09-13 Thread Joel Adamson
If I may comment as someone who knows only that BSD looks better to a newbie, 
it looks better because I only have to go to one place to read the FreeBSD 
manual.  For Linux, there's documentation for all the little parts, and a 
community/wiki for any particular distribution, except that's a lot different 
from having a single document that covers almost everything.

And for everything else, there's this list, which has a minimum of *attitude*, 
which is a contrast to many linux boards I've read.

Joel

 On Tuesday 12 September 2006 06:16, Jeff Rollin wrote:
 I let a lot of BSD comments about Linux go unpunished, but this 


Joel J. Adamson 
Arlington, MA

-
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates 
starting at 1¢/min.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with sqlite3 and python

2006-09-13 Thread Fred C!


On Sep 13, 2006, at 7:17 PM, Chuck Swiger wrote:


On Sep 13, 2006, at 3:48 PM, Fred C! wrote:
Hello I have a problem with Python + sqlite3. My main machine is a  
FreeBSD 6.1 I have also try on an old machine running FreeBSD 5.5  
and it doesn't work either. I join to this email some information.  
I can also provide a core file if someone is  interested in  
solving that problem.


Thanks you for any information on how to solve this


Not enough data; switch to the thread which crashed, ie got the SIG  
11, and do a bt to try to see what was going wrong.


Note that debugging multithreaded programs is rather difficult, and  
you might want to double-check that your basic Python installation  
is OK first by running the included self-tests which come with the  
Python distribution.  If you're using the Python from ports, try  
doing:


cd /usr/ports/lang/python  make
cd /usr/ports/lang/python/work/Python-2.4.3  make test


Every thing seems OK to me. All the tests are fine.




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

Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Olivier Nicole
 Old FreeBSD on old hardware is a recipe for such problems.

Hummm, I was looking at bsdstats... majority of registered hardware is
pentium III.

I like FreeBSD because of it's hability of running well on old
hardware: why would I need a Xeon dual core to run a DNS server for 5
clients?

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


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Karol Kwiatkowski
On 14/09/2006 03:21, Olivier Nicole wrote:
 Hummm, I was looking at bsdstats... majority of registered hardware is
 pentium III.
 
 I like FreeBSD because of it's hability of running well on old
 hardware: why would I need a Xeon dual core to run a DNS server for 5
 clients?

I don't know why. I'm running DNS server on old Celeron 400Mhz with
96MB RAM just fine. Why do you think you need Xeon dual core for that?

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Olivier Nicole
 I don't know why. I'm running DNS server on old Celeron 400Mhz with
 96MB RAM just fine. Why do you think you need Xeon dual core for that?

Of course I don't, and won't.

I was just replying to the guy that told me that I am using archaic
hardware and that it makes building ruby slow.

I do use a number of PIII servers (more than Xeon) and am very happy
with them.

Bests,

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


Under Attack: Bandwidth throttling on 5.2.1?

2006-09-13 Thread Chris

This is probably going to tax the memory. I'm sorry in advance.

We observed 2 hangs and 3 crashes in the last 5 hours and finally  
after looking at the nature of the traffic, it appears to be little  
infested windows spybots from all over targeting our forums to  
attempt to reply to all messages with gambling and other spam. The  
referer in every case is a few obvious spam sites. We measured 33  
pages per second and all invoking perl (well you can image the load).  
It's killed the system in several was I've never even seen. We  
shutdown on purpose for the first time in years which is pretty bad  
for business. I'm readying the quad opteron tyan to take down and  
shove in it's place since the T1 can't swamp it, but still building.  
The machine is a dual 3.0 xeon with 4G and Intel 1000/Pro on 5.2.1  
with IPFW enabled. If I can configure throttling on this old a  
system, we could come back up I think and try ride out the attack.  
I've never done this before but in an earlier thread I saw where you  
configure a pipe such as:


ipfw pipe 1 config bw 256Kbit/s
ipfw add pipe 1 tcp from 192.168.1.2 80

then set sysctl.conf
net.inet.ip.fw.one_pass=1

Is that is all that's necessary for this old a system or is there  
anything else. If this is correct, would this keep this fellow from  
crashing. 
___

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


Re: Newbie Experience -- Linux/BSD Differences

2006-09-13 Thread Pablo Mora

On 9/13/06, Joel Adamson [EMAIL PROTECTED] wrote:

If I may comment as someone who knows only that BSD looks better to a newbie, 
it looks better because I only have to go to one place to read the FreeBSD 
manual.  For Linux, there's documentation for all the little parts, and a 
community/wiki for any particular distribution, except that's a lot different 
from having a single document that covers almost everything.

And for everything else, there's this list, which has a minimum of *attitude*, 
which is a contrast to many linux boards I've read.

Joel

 On Tuesday 12 September 2006 06:16, Jeff Rollin wrote:
 I let a lot of BSD comments about Linux go unpunished, but this




Si, y además no nos molestamos cuando escribimos en otro idioma xD.

--
Linux is for people who hate Micro$oft. BSD is for people who love Unix ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail and hosts_access(5)

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 19:37, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 On 2006-09-13 11:14, Kevin Kinsey [EMAIL PROTECTED] wrote:
  Hello all,
  
  I am attempting to block an SMTP server with /etc/hosts.allow:
  
  --
  Received: from 241net251.net.zeork.com.pl (241net251.net.zeork.com.pl
  [194.117.241.251] (may be forged))
  --
  [506] Tue 12.Sep.2006 20:55:44
  [EMAIL PROTECTED]
  #ssh [EMAIL PROTECTED] grep zeork /home/kadmin/spammers
  .net.zeork.com.pl
  
  [507] Tue 12.Sep.2006 20:56:55
  [EMAIL PROTECTED]
  #ssh [EMAIL PROTECTED] grep /home/kadmin/spammers /etc/hosts.allow
  sendmail : /home/kadmin/spammers : deny
  --
  
  hosts_access(5) says this:
The access control language implements the following patterns:
 * A string that begins with  a  `.'  character.  A  host
  name is matched  if the last components of its name match the
  specified pattern.  For example, the pattern `.tue.nl'  matches
  the host name `wzv.win.tue.nl'
  
  So, why does my server continue accepting SMTP connections from 
  241net251.net.zeork.com.pl ?
  
  Thoughts, pointers, gentle kicks on the bum welcomed.
 
 I don't think you can have the hostnames in a separate map file and
 then reference this file from /etc/hosts.allow.

... and I'm wrong of course.  Alex Zbyslaw pointed out that I had missed
the part of the manpage which refers to this:

oA string that begins with a `/' character is treated as a file
 name.  A host name or address is matched if it matches any host
 name or address pattern listed in the named file. The file for-
 mat  is zero  or more  lines  with zero  or more  host name  or
 address patterns separated by  whitespace.  A file name pattern
 can  be used anywhere  a host  name or  address pattern  can be
 used.

Sorry for the confusion :-/

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


Re: apache 1.x and 2.x on same server

2006-09-13 Thread pauls
--On September 13, 2006 5:05:17 PM -0700 snacktime [EMAIL PROTECTED] 
wrote:



Are there any options I can use when installing apache 2.x from the
ports tree so it won't overwrite apache 1.x?

Sure.  Just like any other port.  Just choose the location you want to 
install the port to.


apache13
make install PREFIX=/usr/local/www1/
apache2
make install PREFIX=/usr/local/www2/

Apache13 installs its conf files in /usr/local/etc/apache, and apache2 
installs its conf files in /usr/local/etc/apache2.  The only problem you 
might have is the startup scripts.  I don't recall how they're named, off 
the top of my head.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: sendmail and hosts_access(5)

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 17:56, Matthew Seaman [EMAIL PROTECTED] wrote:
 hosts.allow triggers special behaviour with sendmail.  Unlike other
 services which just close the connection immediately, with sendmail
 what happens is that it will accept the connection, let the sender
 attempt to send e-mail, but then respond with a 500 'permanent
 failure' code.

 The reason for that is fairly simple: if a MTA gets no answer when
 trying to connect to a server and deliver e-mail, then the standards
 say it should requeue the message and try again for up to 5 days.  The
 only way to get the sending MTA to give up immediately is to issue a
 SMTP 500 error code.

Ah!  I see now.

Thanks for taking the time to write this cool, detailed explanation.

Now I know one more thing about Sendmail :-)

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


RE: Top not showing cpu usage even remotely accurately

2006-09-13 Thread Tamouh H.
 
 In recent 6.X versions, you can use 'S' to show system threads too.
 For an even more fine-grained view, you can use 'H' to show 
 each thread separately.
 
 Then there is also the 'CPU' mode (as opposed to the default 'WCPU'
 mode of top).
 
  I've the same issue with FBSD 5.4 and TOP. In fact, the 
 load averages 
  are so irrelevant now that I barely pay attention to them. 
 The server 
  goes to 4 or 6 load averages without slowing down, and 
 other times the 
  load average would be 0.8 and the server is running slow.
 
 Probably because the work it does at the moment is not CPU-bounded?
 
  An example of unmatching TOP:
  
  last pid: 17889;  load averages:  0.60,  0.52,  0.50
   up 3+17:22:33  00:41:45
  186 processes: 2 running, 183 sleeping, 1 lock CPU states: 
 30.0% user,  
  0.0% nice,  1.7% system,  0.1% interrupt, 68.3% idle
  Mem: 1678M Active, 1110M Inact, 287M Wired, 87M Cache, 112M 
 Buf, 103M 
  Free
  Swap: 8762M Total, 1584K Used, 8760M Free
  
PID USERNAME PRI NICE   SIZERES STATE  C   TIME   
 WCPUCPU COMMAND
   5071 nobody   1010 43124K 35180K CPU2   2   0:07 
 14.89% 14.89% httpd
  14409 nobody 40 43940K 36076K sbwait 0   0:01  
 1.22%  1.22% httpd
  95515 nobody 40 39892K 32188K sbwait 1   0:08  
 0.29%  0.29% httpd
 
 Try hitting 'S'.  Perhaps the system spends too much time in 
 system threads (i.e. the syncer) :)
 

I think TOP and load averages are no longer accurate on FBSD 5.x and 6.x with 
SMP kernel. As far as I've seen. Load averages hit sometimes 8.0 without a 
noticable degradation in performance.

This is one TOP that freaked me out, notice Idle CPU is 70% while the process 
is showing it is using 99% of CPU. systat draws more accurate picture, however, 
load average is still useless as far as performance monitoring :

last pid: 10174;  load averages:  1.63,  1.44,  1.20
  up 4+00:25:19  00:39:20
169 processes: 2 running, 166 sleeping, 1 zombie
CPU states: 25.8% user,  0.0% nice,  0.7% system,  0.1% interrupt, 73.4% idle
Mem: 1316M Active, 1445M Inact, 297M Wired, 127M Cache, 112M Buf, 79M Free
Swap: 8762M Total, 2096K Used, 8760M Free

  PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
13362 root 1110 36444K 34196K CPU3   3  50:06 98.88% 98.88% perl5.8.7
90391 root  960 27356K 26236K select 2   0:06  0.54%  0.54% perl5.8.7
79619 nobody 40   209M 84640K sbwait 1   0:09  0.39%  0.39% httpd
10161 root  970  6712K  4752K select 2   0:00  1.40%  0.20% exim-4.62-0
79649 nobody200   210M 84464K lockf  0   0:06  0.15%  0.15% httpd
10158 mailnull   40  6760K  3992K sbwait 2   0:00  0.81%  0.15% exim-4.62-0
79654 nobody 40   208M 68660K sbwait 0   0:08  0.05%  0.05% httpd
79660 nobody 40   208M 58144K sbwait 0   0:06  0.05%  0.05% httpd
10170 sshd 1170  4768K  2052K select 0   0:00  1.00%  0.05% sshd
 1123 mysql 960   346M   214M select 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 3 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 3 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 3 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 3 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 2 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 0 114:48  0.00%  0.00% mysqld
 1123 mysql 200   346M   214M kserel 1 114:48  0.00%  0.00% mysqld


Re: CLI text editor recommendation

2006-09-13 Thread Giorgos Keramidas
On 2006-09-13 17:49, Alex Zbyslaw [EMAIL PROTECTED] wrote:
Andy Greenwood wrote:
 I need a CLI text editor I can use over ssh, which does NOT append
 newlines to the end of files as I save them. I am using this to edit
 PHP files, and my PHP doesn't like newlines outside the last ?. ee
 and vi both do so, I tried nano which also does the same. I haven't
 installed emacs to try that yet, since the man page says that it also
 does the same thing. Does anyone have any ideas?

 Emacs most certainly can save files without newlines.  I don't see any
 option in my .emacs to force this behaviour so assume it works out of
 the box, nor can I find any reference in the man page which says it
 does add newlines.

FWIW, try looking at the documentation of `require-final-newline':

C-h v require-final-newline RET

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


X Window: Mouse Freeze

2006-09-13 Thread Arindam

Hello everyone. After a bit of a wrestle, I installed my first FreeBSD
6.1 server on a PIII 733MHz with 512 Megs of RAM on a 6.5 Gig slice
(a:/, b:swap, d:/var, e:/tmp, f:/usr). I got X Windows working after a
little bit more struggle - I now have Afterstep, WindowMaker and fvwm
working for me.

The single biggest problem I have faced with this installation is
configuring my mouse. I have an old 3-button Logitech serial mouse. It
is not hard to replace it with a new PS/2 or USB roller mouse. But if
I had to do that, I won't be here and I would not care about FreeBSD.

On 5.4, I remember the serial port to which my mouse was connected was
called /dev/cuaa0. Now it is /dev/cuad0. I find this a little odd. In
any case, when I start my X Window session, for a while my mouse is
responsive and moving around perfectly. After a few inches of moving
here and there, it stops responding and that's it. I have tried doing
a:

cat /dev/cuad0

from the console and moved the mouse - it spews gibberish which is
fine. But it does not budge a bit on my X Window session. I have to
stop and restart and everytime it's the same story, except that it
moves briefly before freezing.

Some points:
1. I can oftentimes see the mouse pointer on the text consoles just
after booting, but it does not move.
2. My moused runs with:
moused -t microsoft -p /dev/cuad0

I enabled ChordMiddle at the time of xorgconfig so that's enabled in
/etc/X11/xorg.config.


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


Re: Top not showing cpu usage even remotely accurately

2006-09-13 Thread Dan Nelson
In the last episode (Sep 14), Tamouh H. said:
 This is one TOP that freaked me out, notice Idle CPU is 70% while the
 process is showing it is using 99% of CPU. systat draws more accurate
 picture, however, load average is still useless as far as performance
 monitoring :
 
 last pid: 10174;  load averages:  1.63,  1.44,  1.20  
 up 4+00:25:19  00:39:20
 169 processes: 2 running, 166 sleeping, 1 zombie
 CPU states: 25.8% user,  0.0% nice,  0.7% system,  0.1% interrupt, 73.4% idle
 Mem: 1316M Active, 1445M Inact, 297M Wired, 127M Cache, 112M Buf, 79M Free
 Swap: 8762M Total, 2096K Used, 8760M Free
 
   PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
 13362 root 1110 36444K 34196K CPU3   3  50:06 98.88% 98.88% perl5.8.7
 90391 root  960 27356K 26236K select 2   0:06  0.54%  0.54% perl5.8.7
 79619 nobody 40   209M 84640K sbwait 1   0:09  0.39%  0.39% httpd
 10161 root  970  6712K  4752K select 2   0:00  1.40%  0.20% 
 exim-4.62-0
 79649 nobody200   210M 84464K lockf  0   0:06  0.15%  0.15% httpd

You have a 4-cpu box and pid 13362 is using 99% of one CPU.  The other
3 are idle, so your %idle is going to be around 75%.  Looks pretty
accurate to me :)

-- 
Dan Nelson
[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: Thank You and Mc OS games

2006-09-13 Thread Garrett Cooper


On Sep 13, 2006, at 10:11 PM, felix.schalck wrote:


Hello in there,

I'm kind of complicated person, so finding o good OS was really a  
pity for me. I googled around a lot, installed a lot and often get  
disappointed... until I discovered FreeBSD. Folks, this OS ist  
simply great because it is CLEAR. Clear Structure, clear Doc, clear  
Policy. But all the guys on this mailing list probably already know  
this... Now, i have one simple question related to this: where and  
whom can I tell THANK YOU ? GOOD WORK ? For providing such a great OS.


Secondly: beeing miself an ex-gamer, I'm wondering if it is  
possible to run Mac OS games under FreeBSD. I found no solution on  
google, so probably there is some reason which cause it NOT  
working. Could someone just explain me what it this reason ?


Thanks a lot,

Felix


Unfortunately this isn't really possible as a lot of games (I'm  
almost positive) have been ported to Cocoa, which is a proprietary UI  
only in use with Mac OSX.

-Garrett

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


Re: Thank You and Mc OS games

2006-09-13 Thread Garrett Cooper


On Sep 14, 2006, at 6:33 AM, hackmiester (Hunter Fuller) wrote:



On 13 September 2006, at 15:25, Andrew Pantyukhin wrote:



On the other hand, you might have heard that Mac OS X is based on
FreeBSD.


Although it is based on BSD, I don't think it's FreeBSD it was  
based on. I think it goes all the way back to 4.2BSD. Or something.



They removed all the clear things you were talking about,
slipstreamed a clear-looking GUI and put a price tag on it. The  
result

is a pretty good desktop OS (for a commercial one that is). You might
want to try it out.

Take care!


--
hackmiester (Hunter Fuller)

svinx yknow when you go to a party, and everyones hooked up  
except one guy and one girl

svinx and so they look at each other like.. do we have to?
svinx intel  nvidia must be lookin at each other like that right  
now



Phone
Voice: +1 251 589 6348
Fax: Call the voice number and ask.

Email
General chat: [EMAIL PROTECTED]
Large attachments: [EMAIL PROTECTED]
SPS-related stuff: [EMAIL PROTECTED]

IM
AIM: hackmiester1337
Skype: hackmiester31337
YIM: hackm1ester
Gtalk: hackmiester
MSN: [EMAIL PROTECTED]
Xfire: hackmiester


Please look at Chuck's earlier post for more information as to the  
fact that FreeBSD is used in the Mac OSX Darwin kernel.


As for how it was used, IIRC from what I've read, the Darwin kernel  
is a hybrid kernel made from the FreeBSD kernel and the Mach kernel  
from Carnegie Mellon. The Mach portion of the Darwin kernel provides  
a lot of the hardware support, resource management, and tie-ins (it's  
a micro-kernel), while the FreeBSD derived portion provides a lot of  
the BSD'ness for policies and the like (i.e. sockets, networking,  
permissions, etc).


I obtained my info from an OS book and Wikipedia, if anyone's  
interested.


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


Re: Top not showing cpu usage even remotely accurately

2006-09-13 Thread Giorgos Keramidas
On 2006-09-14 00:48, Tamouh H. [EMAIL PROTECTED] wrote:
 I think TOP and load averages are no longer accurate on FBSD 5.x and
 6.x with SMP kernel. As far as I've seen. Load averages hit sometimes
 8.0 without a noticable degradation in performance.

 This is one TOP that freaked me out, notice Idle CPU is 70% while the
 process is showing it is using 99% of CPU. systat draws more accurate
 picture, however, load average is still useless as far as performance
 monitoring :

 last pid: 10174;  load averages:  1.63,  1.44,  1.20  up 4+00:25:19  00:39:20
 169 processes: 2 running, 166 sleeping, 1 zombie
 CPU states: 25.8% user,  0.0% nice,  0.7% system,  0.1% interrupt, 73.4% idle
 Mem: 1316M Active, 1445M Inact, 297M Wired, 127M Cache, 112M Buf, 79M Free
 Swap: 8762M Total, 2096K Used, 8760M Free

   PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
 13362 root 1110 36444K 34196K CPU3   3  50:06 98.88% 98.88% perl5.8.7
 90391 root  960 27356K 26236K select 2   0:06  0.54%  0.54% perl5.8.7
 79619 nobody 40   209M 84640K sbwait 1   0:09  0.39%  0.39% httpd
 10161 root  970  6712K  4752K select 2   0:00  1.40%  0.20% 
 exim-4.62-0
 79649 nobody200   210M 84464K lockf  0   0:06  0.15%  0.15% httpd

Apparently, you have a 4-CPU system :-)

What you see displayed as CPU is for one of the processors, not for
all of them.  Load average is not an easy thing to update for an SMP
system, I guess.  There are two options:

  - Set load-average to = 1.0 if at least one process wants to run on
at least one processor

  - Calculate an aggregate load-average for all CPUs

None of these is 100% correct, though.  One of them is useful in some
cases.  The other in other cases :-(

I don't remember off-hand how 5.X or 6.X calculate their load-average,
but I'd be interested to know what you expected it to show, or what it
shows on Linux systems.



pgpC51FkX8BbO.pgp
Description: PGP signature