Re: installing 6.1 on Compaq Proliant 5000

2006-09-12 Thread Ted Mittelstaedt

- Original Message - 
From: Lee Shackelford [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Monday, September 11, 2006 9:23 AM
Subject: Re: installing 6.1 on Compaq Proliant 5000


 Good morning, Mr. Mittelstaedt.  Again, many thanks for your response to
my
 question.  My original purpose in purchasing the computer was to install
 multiple operating systems for hobbyist purpose.  The computer's major
 selling point was that it has five hard drives.  My original idea was to
 install a different operating system on each one.  When I discovered that
 it had the rather sophisticated RAID-5 system implemented in hardware, I
 discarded that idea in favor of partitioning the hard drive to install the
 operating systems.  The next operating system that I wanted after Windows
 Server 2000, with which it came equipped was FreeBSD.  This project has
 become painfully involved, first of all, because I did not understand the
 fact, documented nowhere, that the BIOS of a computer intended to be a
 server is totally different from the BIOS of a computer intended to be a
 workstation.  With experience, and with information eventually traded
 across the internet from other computer enthusiasts trying to do the same
 thing, I have eventually gained enough understanding of the BIOS to
 proceed.

OK, you bought the computer to install operating systems on to do - what?

Seems to me you wanted to install them to LEARN.

Well, a computer OS is an integral part of the computer - like
ying and yang, each requires the other.

How exactly did you think that you were going to be able to learn
anything whatsoever of value about an operating system by completely
ignoring the hardware it was running on?

Seems to me your money has been well spent on training.  I'm
sorry if the training isn't teaching you things that you think you thought
you needed to know.  But guess what, life is like that.

Let me put it another way.

If I needed to hire someone to install a Windows server, which
would be a better choice?

Someone who actually knows that server BIOS's are somewhat
different than Workstation BIOSES?

Someone who has actually installed a server OS and solved problems
with getting it to work on hardware they are unfamiliar with?

Or, some newly-minted MSCSE who has only installed Windows
on his desktop computer, but by golly, knows all the definitions
in the Microsoft literature?

Think about it.

 The process has also been stymied by the fact that the developers
 of the boot program for sysinstall have failed, even in its latest
edition,
 to install in BOOT the necessary features to read the output of a Compaq
 server BIOS, in particular the ability to correctly interpret the size of
 memory.

The developers know all about the Compaq issues.  Those are first
of all solved in the latest Compaq BIOSES that ship with the current
HP/Compaq servers.  Secondly, there's workarounds.  Thirdly,
Compaq did it wrong back then.  What good reason do we want
to break sysinstall to have it do things the wrong way, so that it
can work with old Compaq gear?

 Thanks to you, other respondents, and experience, I feel that I
 now have a grip of that issue.  My latest problem stems from the fact that
 I had intended to install a portion of the BSD operating system in a
 primary Windows partition (BSD slice) below the 1024 cylinder limit, and
 the rest of it in a larger Windows logical partition within the extended
 partition, above 1024 cylinders.

You need to throw most of this cylinder nonsense out the window it is
meaningless to any OS that will run on that hardware, with the exception
of DOS.

 Even though the handbook, as well as
 several other documents, clearly states that the operating system cannot
be
 loaded into a logical partition, the implication of that statement did not
 register in my brain until I tried to do it.

More learning that a lot of more advanced techs than you still don't
understand.

 I wonder if system designers
 realize the extent to which the requirements that the entire system, or at
 least the boot BSD partition be loaded below 1024 cylinders, and the
 requirement that the operating system not be loaded into the extended
 Windows partition are in conflict in a multiple operating system
 environment.

They do.  They don't care.  Multiple boot systems are for the birds.
Mostly what happens is that people load multiple OS's on a system,
intending to use all of them, then discover 3-4 months into it that
it's too much of a PIA to keep rebooting all the time to get into a
different system, and end up spending all their time in one system.

If you really want multiple OS, buy multiple computers and plug
them into a single console with a KVM switch.  Much more
practical.

But, by all means, do it anyway, you probably won't really
understand what I mean when I say they are for the birds until
you have experienced a multiboot system.  One again, more
learning.

 Some 

Re: Extensions and Themes in Firefox

2006-09-12 Thread Frank Shute
On Mon, Sep 11, 2006 at 09:28:22PM +0100, Jeff Rollin wrote:

 Hi list,
 
 I'm using FBSD 6.1-RELEASE and I'm having trouble downloading extensions and
 themes in firefox (installed from packages). They all complain that they're
 not supported in Unknown.
 
 Any ideas on how to fix this, please?
 
 TIA
 

What's your user agent showing?:

http://www.esperance-linux.co.uk/misc/UserAgent.html


-- 

 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: RSS feeds for important sites?

2006-09-12 Thread Erik Norgaard

Marc G. Fournier wrote:


I'm trying to get my rss reader configured up so that I no longer miss 
anything ... or, at least, make it easier to keep on top of everything ...


I can't seem to find stuff like DaemonNews and such ...

Does anyone have a list of BSD related RSS feeds that they'd be willing 
to share?


There are FreeBSD feeds on the freebsd site.

Cheers, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X Configuration Woes

2006-09-12 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.

Now I had these two FreeBSD 5.4 ISOs ... CD1 and CD2, and I booted
from CD1 directly and did the install. There is no automatic X
configuration in the installer so I tried running it manually.

1. I tried running Xorg -configure. For some reason Xorg
-configure threw an error:
xf86EnableIO: could not open /dev/io for extended IO. However, when I did run:

ls -l /dev/io

I got:

crw--- root wheel 246, 14 /dev/io

2. Never figured out what went wrong there but instead used
xorgconfig and that worked, as in, it wrote my config file. Here
are my Screen details:

*** Samsung Samtron 45Bn monitor (33-55 KHz HorSyncRate, 50-120 Hz
Vert Refresh Rate).
*** Cirrus Logic GD 5465 graphics card on a PCI slot - with 4MB video memory.
*** For one, I have an immovable mouse ... it is an old haggardly
Logitech 3-button serial mouse and I could not make it work. Don't
know which is the device name to use for the port it is connected to.
Should it be /dev/tty00 or /dev/cuad0 or /dev/sysmouse or /dev/mse0?
So could not configure it.
- Tried running sysinstall to configure it but that would not work
either ... tried Logitech, Microsoft and MouseMan protocols and
/dev/tty00 and /dev/cuad0 for device names ... all combinations. Did
not work.


I would have liked to attach my xorg.conf file but don't have access
to it right away. I guess there are no probs in it ... I read through
the relevant sections of it and from what I remember of my RedHat
Linux 6.0 days, this file seems fine.

3. Finally I tried changing the /etc/ttys file and for /dev/ttyv8,
turned xterm on from off.

== Now each time I boot into FreeBSD, I get a flickering blank,
black screen with nothing on it. I keep try [Ctrl+] Alt + Fn
...n=1..12 ... but no success.
== I keep trying Ctrl + Alt + Backspace ... but no breakthrough.
== I tried Ctrl + Alt + KP_+/- also, with the Num Lock on ... but
again no respite.


Some observations:
1. While the screen continuously flickers, the Num Lock of the
Keyboard keeps blinking too (if it was on, to start with).
2. A while back, when I had not yet configured X with xorgconfig and
just like that switched on xterm on /dev/ttyv8, I rememeber the
getty program was respawning too quickly, due to which it was going
into 30 second sleeps. So I switched xterm off. Of course, after that
I found xorgconfig.

3. Here are the modes I have allowed in xorgconfig:
a. 8 bit - 800x600, 640x480 (removed 1024x768, 1280x1024)
b. 16 bit (default) - 800x600, 640x480 (removed 1024x768, 1280x1024)
c. 24 bit - 800x600, 640x480 (removed 1024x768, 1280x1024)

4. Earlier, after completing xorgconfig, while xterm was off on ttyv8
in /etc/ttys, I tried:
startx -- -depth 16 :1 vt10
and it gave me the same problems.

5. Finally, during sysinstall installation of the OS, I could not
configure moused with my mouse ... and while I would briefly see a
tiny pointer, I would not see it move with my mouse movements.

If you can wade through this gibberish, please help.


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: X Configuration Woes

2006-09-12 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.



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.

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.

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: Extensions and Themes in Firefox

2006-09-12 Thread Pete Slagle
[EMAIL PROTECTED] wrote:

 uninstall firefox
 
 then make sure linux binary compatibility is enabled, the easiest way 
 to do that is with sysinstall.  (read the handbook for more info on 
 this step)
 
 Now cd into /usr/ports/www
 and look at any port whose name starts with linux
 
 the ones I found most helpful where:
 linux-firefox
 linux-flashplugin7
 linuxpluginwrapper
 
 you might also want to look at
 linux-mplayer-plugin if you use mplayer for windows media files

Another,(possibly heretical) approach is to take 10 minutes to slap
Ubuntu (or the like) on your desktop box. Out of the gate it easily runs
Firefox, multimedia, cutting edge video drivers, wi-fi, and a bunch of
apps that are troublesome to configure on FreeBSD.

You can then install VMware Server (also painless) and run a local
FreeBSD VM for quick desktop access when you need the Real Thing. It's
easy to SSH and VNC back and forth and open X windows between the two
systems and have the best of both worlds.

Don't get me wrong; I far prefer working in FreeBSD to any other system,
and spend most of my time there. But life is just easier when you have
more tools close to your work area. It's simple to set up, and has been
rock solid for me.

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


Re: RSS feeds for important sites?

2006-09-12 Thread Michael Rudolph
On Tuesday 12 September 2006 05:57, Marc G. Fournier wrote:
 On Mon, 11 Sep 2006, Napoleon Dynamite wrote:
  On Monday 11 September 2006 19:21, Marc G. Fournier wrote:
  I'm trying to get my rss reader configured up so that I no longer
  miss anything ... or, at least, make it easier to keep on top of
  everything ...
 
  I can't seem to find stuff like DaemonNews and such ...
 
  Does anyone have a list of BSD related RSS feeds that they'd be
  willing to share?
 
  Thankx ...
 
  Hi Mark,
 
  I think you're asking about all the BSDs, so here is what I have.
  For FreeBSD I use the RSS feeds off the main project  page, for
  NetBSD off theirs, and for OpenBSD, which doesn't have any on their
  page, I get them off of http://undeadly.org (the busiest of these
  first three.) I also subscribe to the BSD related feeds off of
  Secunia. I don't know DragonflyBSD well enough to point you
  anywhere.
  Other than that I haven't found any others.
  The security feeds are the best because the instant I get one on
  FreeBSD, I recompile userland and the kernel.

 Actually, in this case, I'm more interested in FreeBSD stuff ... but,
 for instance, I can't find an RSS feed for Daemonnews or bsdnews,
 whcih would be cool ... an RSS feed for the 'In the News' section on
 the FreeBSD site would be cool ... that sort of thing ...

 Thanks ...


Hi Marc,

the newsfeeds you are looking for should be relatively easy to find on 
their respective websites, at least I managed to find them.

Right now both feeds seem to be unfetchable, but attached you'll find  
all my FreeBSD feeds as an opml file, so as soon as they are back 
online, you can start reading.

Should the mailinglist software cut off the attachment, feel free to 
contact me off list.

michael



___
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-12 Thread Subhro

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


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



You need to put the proper protocol in xorg.conf


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.


Try ratpoison if you are more keyboard friendly or try out
enlightenment if you are mouse friendly.

Cheers!!
Subhro

--
Subhro Kar
Security Engineer
iViZ Techno Solutions Pvt. Ltd.
Dhanshree Bldg, 1st Floor
Plot XI-16, Sector V
Salt Lake City
700091
India
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slow install of Ruby 18 from ports

2006-09-12 Thread Olivier Nicole
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?

TIA

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


Ambiguous output redirect

2006-09-12 Thread bsd
I don't understand why when I execute this script I have an  
Ambiguous output redirect. ?



p0f -l 'tcp dst port 25' 21 | /usr/local/sbin/p0f-analyzer.pl 2345 



Can you help ?


«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§


P Please consider your environmental responsibility before printing  
this e-mail



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


Re: Extensions and Themes in Firefox

2006-09-12 Thread Jeff Rollin

On 12/09/06, Pete Slagle [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED] wrote:

 uninstall firefox

 then make sure linux binary compatibility is enabled, the easiest way
 to do that is with sysinstall.  (read the handbook for more info on
 this step)

 Now cd into /usr/ports/www
 and look at any port whose name starts with linux

 the ones I found most helpful where:
 linux-firefox
 linux-flashplugin7
 linuxpluginwrapper

 you might also want to look at
 linux-mplayer-plugin if you use mplayer for windows media files

Another,(possibly heretical) approach is to take 10 minutes to slap
Ubuntu (or the like) on your desktop box. Out of the gate it easily runs
Firefox, multimedia, cutting edge video drivers, wi-fi, and a bunch of
apps that are troublesome to configure on FreeBSD.

You can then install VMware Server (also painless) and run a local
FreeBSD VM for quick desktop access when you need the Real Thing. It's
easy to SSH and VNC back and forth and open X windows between the two
systems and have the best of both worlds.

Don't get me wrong; I far prefer working in FreeBSD to any other system,
and spend most of my time there. But life is just easier when you have
more tools close to your work area. It's simple to set up, and has been
rock solid for me.



Well, I'm sorry  you've all been beavering away offering helpful
suggestions, because following rance's first suggestion i installed
linux-firefox instead.

Coincidentally, Pete - this FreeBSD install is already on a VMware image!
The bare hardware is running SuSE. I had intended to run FreeBSD on the bare
hardware, but it doesn't recognise either of the two wireless NICs (one was
bought for use with Linux/BSD, the other is a Broadcom, argh!).

As an aside, before finding that SuSE works with the PC card wifi NIC, I
used FreeBSD on a VMware image in XP (thank God those days are over). It
(FreeBSD) runs faster in VMware (which I understand is a customised Linux),
running on SuSE Linux than XP did on the bare hardware. Go figure. In fact I
just can't believe how fast it is - it used to crawl running Enlightenment
stuck on top of XP, now it flies running KDE.

Thanks for your suggestions, all.
___
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-12 Thread Jeff Rollin

On 11/09/06, Chuck Swiger [EMAIL PROTECTED] wrote:


On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:
 Discussions like these leave me lost for words...

Perhaps, although it seems you recovered quickly.  :-)



Heh. Maybe I ought to have said almost!


Which is to say, apart from the occasional bug I really don't see
 what the
 problem is with sysinstall.

Credits: It's highly functional.  It can configure a lot of things
about a FreeBSD system, either during or after the installation of
the system.  It's CLI/remote-serial-console friendly.



Actually there is one problem with sysinstall: Access to certain features
(such as (g)vinum) is not possible from it - FreeBSD seems to have had
(g)vinum for almost as long - if not longer - than  Linux has had LVM.
Nowadays, outside of Slackware, it seems that everyone not only has support
for LVM, but also allows you to put / in it.

Debits: It's oriented towards technical people.  People who don't

understand computers well in general, and the details of disk layouts
in particular, tend to get hopelessly confused.



Hmm. Windows has a partitioner too. Even worse, unlike most Linux/BSD
installers' counterparts, unless you want to do something really simple
(like wipe everything that isn't Windows off the first hard drive and
install it on the first partition there; ugh) in my eXPerience it doesn't.
bloody. work. Of course it's possible/probable that people who come to
FreeBSD/Linux have never reinstalled Windows, though I know some technically
pretty unsavvy people who have, by necessity (thanks to viruses).

Not only do they

usually not know how to access the help inside sysinstall, many times
the help text is not available, or is not comprehensible unless you
have the already-mentioned technical background.



I guess I'm just jaded, I hardly notice...

Fortunately, the outstanding docs available for FreeBSD do a lot to

walk people through the process, even novices.  Unfortunately, people
want to use computers without having to read the docs.  Just ask your
mom/grandparents/etc.  :-)



I know; the infuriating thing for me is that this also applies to people who
WOULD read the manual for something as simple as a food mixer!


To me it's the best thing this side of YaST for
 getting (certain areas of) system administration done. (Yeah, I
 know a lot
 of you probably hate YaST in particular or Linux in general...

Why would you think that?  I'd imagine that most of the people using
FreeBSD end up having a Linux box or two around for one reason or
another.



Hate is probably a strong word; nevertheless, a lot of BSD people I
know/whose responses I've read on this and other lists don't rate Linux
much.

As for YaST, well, whatever gets the job done.  It reminds me a bit

too much of SMIT from AIX, or perhaps cPanel or Webmin, but other
people seem to prefer such interfaces to a CLI prompt.



The advantage of those over CLI's (I can't believe I'm saying this) is that
what you can do is all laid out bare before you, instead of being
squirrelled away in handbooks, FAQs, man and info pages, however good they
may be.


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


Page fault while in kernel mode

2006-09-12 Thread Nejc Skoberne
Hi,

I am running 5.3-RELEASE on a P4 2.4GHz with 512 MB RAM. It is a normal PC 
hardware
not a real server hardware.

Today in the morning (while I was away from the console) kernel panicked and the
output was Page fault while in kernel mode (the guy who wrote that down didn't
write other information). The box was rebooted and the error appeared again in 
about
3 minutes. After second reboot everything seems to be back to normal.

The load on this machine is quite low, about 0.1; it runs mail server, serves 
some
web pages and does NAT via pf.

Finally the question: what is more likely: that it is hardware which is causing
troubles or that an upgrade to FreeBSD 5.5 (or eventually 6.1) would help? Or is
there a third possibility?

Thanks,
Nejc


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Newbie Experience

2006-09-12 Thread Jeff Rollin

On 11/09/06, backyard [EMAIL PROTECTED] wrote:




--- Chuck Swiger [EMAIL PROTECTED] wrote:

 On Sep 11, 2006, at 12:15 PM, Jeff Rollin wrote:
  Discussions like these leave me lost for words...

 Perhaps, although it seems you recovered quickly.
 :-)

  Which is to say, apart from the occasional bug I
 really don't see
  what the
  problem is with sysinstall.

I'm in that club myself. It takes a few times to get
it down, but it is simple once you know the basic
steps of getting FreeBSD on a box. The trick is of
course understanding the basic steps which is where
most don't take the time to research. I know I read
through tha handbook a few times before I attempted my
first go, and I know I messed up royally even still.
But now its more frustrating to figure out what I want
to do while the packages are downloading then anything
else.



Heh!

Now it makes perfect sense to have

one partition and multiple slices. It makes an fstab
look a lot nicer. nothing more annoying then not
having say a linux box boot because you selected the
extended partitions number instead of the logical
drive contained therein... and keeping track of a
million partitions get old quick.



Nowadays of course you can (almost) do this by having one /boot and one LVM
partition, with the logical volumes within it. Plus, most filesystems allow
for resizing (in both directions) and you can combine two or more disks into
one volume group.



 Fortunately, the outstanding docs available for
 FreeBSD do a lot to
 walk people through the process, even novices.
 Unfortunately, people
 want to use computers without having to read the
 docs.  Just ask your
 mom/grandparents/etc.  :-)


most people want to use everything without reading the
manual. I think thats why there's labels on the
toaster not to stick a fork in it, or a tag to not use
a hair dryer in the shower... Personally I turn to the
Cadillac shop manual when I want to tune up my eldo,
it makes sense to me. I know software is the same way,
but most people don't want to take any time figuring
out what their doing; pardon my vulgarity but Taco
Bell exists for a reason, man pages...

  To me it's the best thing this side of YaST for
  getting (certain areas of) system administration
 done. (Yeah, I
  know a lot
  of you probably hate YaST in particular or Linux
 in general...

 Why would you think that?  I'd imagine that most of
 the people using
 FreeBSD end up having a Linux box or two around for
 one reason or
 another.

I find it was for not reading the FreeBSD manuals...
if people think FreeBSD is hard I cannot imagine what
they think about Linux. Sure it has that flashy
install program, well except Gentoo and maybe a few
others, but upgrading the kernel can make setting up a
FreeBSD box from scratch WITHOUT the manuals seem like
a cake walk...



Hmm. I'm pretty used to reconfiguring/upgrading the kenel on Linux, but
never having done so in FBSD I'm a bit wary. I guess a lot of it depends on
what you're used too. A lot of people using Linux these days, anyway, for
good or ill probably don't reconfigure or upgrade the kernel - the
distributors put everything but the kitchen sink in. These people would
CERTAINLY be scared off by having to edit a text file to reconfigure the
kernel, whereas these days in Linux you get a nice KDE window (make config
is still horrible - but though it's uncommented (and undocumented) it's
perfectly possible to reconfigure a linux kernel by editing
/usr/src/.config)

The nice thing about Linux is that in spite of all the noob-friendly
gubbins, it's still possible to do things the same way you did 'em when FVWM
was the hot news in the X Window world. Try getting the XP installer to let
you choose which of several useless packages you want to forgo installing, a
la Win9x.

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


The Ports collection / FreeBSD CDs

2006-09-12 Thread Arindam

I am a Linux user and have been recently trying to shift to FreeBSD. I
got hold of a couple of FreeBSD CD ISOs (version 6.1) - their names
being 6.1-RELEASE-i386-discX.iso, X being 1 and 2.

I did my installation with the Disc1 alone. I did not need Disc2. What
is the purpose of Disc2 and what can I do with it.

I chose not to install the ports collection because as of now, I do
not have access to Internet in my home-network and it would take a
little while before I can set it up for browsing. Does Disc2 contain
some of the ports collection?

Finally, what is the ports collection?

Cheers!
___
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-12 Thread Jeff Rollin

On 11/09/06, backyard [EMAIL PROTECTED] wrote:




--- Anton Shterenlikht [EMAIL PROTECTED] wrote:

  Needless to say, I was very disappointed. I feel
 that FreeBSD will never
  achieve broader acceptance (even with momentum
 building for alternative
  OS)
  among people with modest technical proficiency
 and fairly simple
  requirements (i.e., spreadsheets, word
 processing, presentations, email).
  FreeBSD has an awful out of the box experience.
 It's too bad, because I
  think FreeBSD is probably a better OS, but I'll
 never really know.
  Regards,
  
  
  too bad, you experienced that, the FreeBSD
 sysinstall is not that really
  hard, it may seem daunting at first because of its
 text mode but it is very
  straight forward, i guess you have to read the
 handbook over and over again
  to fully comprehend the things you missed why
 things like X is not working,
  it will also help if you will include the error
 messages as to why you can't
  run/install gnome or kde. imo you missed some
 dependencies that's why you're
  having a hard time.

 When I first installed FreeBSD, circa 2003, version
 4.9, the two reasons I chose it over Redhat and
 Debian were the simplicity of the installation and
 good manual. The install process on REdhat and
 Debian was awkward, at least for me, and I could not
 make them work on my old compaq armada laptop. In
 contrast just following the manual and choosing
 default install parameters I got Freebsd working
 fast.

 During the installation I actually learned a lot
 about unix and Freebsd, the sort of details which
 are important to know anyway.

 It is hard to find the right balance between
 simplicity and functionality. It seems the balance
 in the Freebsd install is about right.

 anton


I've only been around since FreeBSD 5.4 myself, and
found during installs that sysinstall would get
confused if you changed your mind and went backwards
through the menus to reconfigure options. it seems
like the one in 6.1 is a lot better, but maybe I just
move back and forth less...

That being said once it is installed it is a million
times easier to maintain and upgrade then any Linux
I've used. I had an old Digital 486 I had to install
Redhat 7.3 thinking I could easily update to the
latest kernel. I found I had to go through so many
dependancies to do so I finally said whatever kernel
was there was good enough. Talk about having to be a
GNU guru to get things installed correctly without
clobbering the old stuff and running into trouble...



I'm unconvinced you could take FreeBSD 4 box and run the kernel from 6.1 on
it without changing anything else.

Of late I was using Gentoo which I found to be FreeBSD

like with its portage system, until recently when it
seems they changed many system level interface stuff
sometime after April 2006 and now I cannot seem to
update it.



The developers say you should not leave updating too long... True, if you
are running FBSD 5.1 and need to update to 6.1, 5.3 is still there on the
servers, but you do have to go through the steps of installing that
intermediate version.

Even a full system rebuild has blocking

packages that boggle my mind as they were compile from
source originally...



Stuff usually blocks if something about the way it's installed has changed
in an incompatible way - X.org moving from monolithic to modular builds, for
example. This doesn't seem to have anything to do with (binary) packages.

sysinstall isn't all that bad. It could be flashier,

it could be graphical, it could be a lot of things. If
it really bothers you that much you can make yourself
a livecd system that brings up X and restores a basic
install, or cvsups whatever system you want on your
pc/sparc/whatever and builds it from source. that is
the beauty of Unix. True Unix not an emulator like
Linux.



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.

That and the fact you get an OS with a set of

base software and a compiler out of the box. Linux is
only the kernel, you have to make hundreds of
independant software packages work together to get a
system running. Each one with their own independant
configuration files, and hundreds of man pages to
read. Even the rc.d system is a separate package.



I doubt things magically work in FBSD, either. The maintainers probably have
build scripts that automate fetching this or that, but it's all gotta be
done.

now I'm sure things have 

Re: The Ports collection / FreeBSD CDs

2006-09-12 Thread Jeff Rollin

On 12/09/06, Arindam [EMAIL PROTECTED] wrote:


I am a Linux user and have been recently trying to shift to FreeBSD. I
got hold of a couple of FreeBSD CD ISOs (version 6.1) - their names
being 6.1-RELEASE-i386-discX.iso, X being 1 and 2.

I did my installation with the Disc1 alone. I did not need Disc2. What
is the purpose of Disc2 and what can I do with it.

I chose not to install the ports collection because as of now, I do
not have access to Internet in my home-network and it would take a
little while before I can set it up for browsing. Does Disc2 contain
some of the ports collection?

Finally, what is the ports collection?



To take your last question first: The ports collection allows you to install
software from source that does not come as part of the base distribution -
that equates, more or less, to stuff that on FreeBSD installs itself to
directories in / and /usr. The base distribution includes stuff like the X
Window System, but not KDE, Firefox or MH, the mail handler. These latter
three are available as ports, which when compiled go into /usr/local by
default on FreeBSD.

The FreeBSD installation program asks if you want to install the ports
collection, but what it actually does is install a bunch of directories
(under /usr/ports) that you can use to browse what's available in the ports
collection. For example, to download a port, say, Firefox compiled for use
with the Linux compatibility layer, go into /usr/ports/linux/linux-firefox
and type:

$ make install clean

(note you need to have Linux compatibility already installed and turned on
to make this work).

($ stands for the prompt, as you probably know); make reads the Makefile,
and according to instructions in it, downloads the sources and compiles
them; make install and make clean (given here in shorthand) respectively
install the compiled port and clean up after make.

The alternative way to install software is from packages, which are
pre-compiled ports. You can use sysinstall to install them, or pkg_add from
the commandline. Disc2 mostly contains some of these packages (others are on
Disc1).

Cheers



You're welcome!

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


Re: Ambiguous output redirect

2006-09-12 Thread Alex Zbyslaw

bsd wrote:

I don't understand why when I execute this script I have an  
Ambiguous output redirect. ?



p0f -l 'tcp dst port 25' 21 | /usr/local/sbin/p0f-analyzer.pl 2345 


One answer would be that this is bourne shell syntax and you shell is csh.

Try

0f -l 'tcp dst port 25'  | /usr/local/sbin/p0f-analyzer.pl 2345 

or change your shell to a bourne shell compatible one like bash.

--Alex

PS In csh the  means redirect to a file including stderr, in this 
case the file 1; then you are telling it to also pipe to something, 
which is impossible since you just redirected to a file.



___
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-12 Thread RW
On Tuesday 12 September 2006 11:41, Jeff Rollin wrote:
 To take your last question first: The ports collection allows you to
 install software from source that does not come as part of the base
 distribution - that equates, more or less, to stuff that on FreeBSD
 installs itself to directories in / and /usr. The base distribution
 includes stuff like the X Window System, but not KDE, Firefox or MH, the
 mail handler. 

The base system doesn't include X Windows.
___
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-12 Thread Jeff Rollin



The base system doesn't include X Windows.
_



Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so it
must be installed as a package from sysinstall).

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


Re: Putting a command/script as a user's shell

2006-09-12 Thread Karol Kwiatkowski
On 11/09/2006 16:39, backyard wrote:
 
 --- Karol Kwiatkowski [EMAIL PROTECTED]
 wrote:
 
 Good day everyone,

 I'm trying to make it possible to restart (as in
 'shutdown -r now') a
 FreeBSD based router from LAN network as easy as
 possible so it can be
 used by non-technical people.

 I'm sure some will ask why would I need that - it's
 an USB modem
 connecting to ADSL line that locks up sometimes and
 all my attempts to
 make it restart itself have failed.

 I came up with this idea:

 - add another user to the system, let it be
 'restart'
 - add 'restart' to group operator
 - let 'restart' to login through SSH from LAN with a
 key (passwords
 forbidden)
 - put a restart command as it's shell (so it
 automagically restarts
 the router)

 Does that sound reasonably? Security is not an
 issue, it's secure
 enough for me.


 OK, now for technical question. I realise I cannot
 put arguments to
 the command in the shell area in passwd file, so I
 wrote a short script:

 $ cat /home/restart/restart.sh
 #!/bin/sh
 /sbin/shutdown -r now
 $ ls -l /home/restart/restart.sh
 -rwx--  1 restart  restart  33 Sep 11 15:24


 put that as restart's user shell:

 # grep restart /etc/master.passwd

 restart:*:1017:1017::0:0:restart:/home/restart:/home/restart/restart.sh

 and tried locally but it's not working:

 # su - restart
 su: /home/restart/restart.sh: Permission denied


 I'm not sure where 'Permission denied' come from.
 Setup looks to be
 OK, here's what I get with /usr/bin/id as a shell:

 # su - restart
 uid=1017(restart) gid=1017(restart)
 groups=1017(restart), 5(operator)


 I'm sure I'm missing something here. Anyone have
 some pointers?

 
 make the shell script group executable and make it
 group operator maybe try making it owned by root. I
 think what is happening is it is running under the
 priveledges of restart not operator because operators
 groups cannot execute the command only the restart
 user can due to the priveledges. And when the
 restart.sh passes its group priveledges to the sript
 callout to shutdown it fails because shutdown can only
 run as operator. That would be my guess
 
 
 -brian

Hi brian,

I tried to test it further together with Alex's suggestion to use -x
in the script first line, only to discover I don't know why it won't
work :) If anyone has some (possible) explanations I'll be glad to
hear them.

Meanwhile I moved to much cleaner and elegant solution based on what
Kirk Strauser proposed in other email.


For the record here's what I additionally tested:

# chmod 4550 /home/restart/restart.sh
# chown root:operator /home/restart/restart.sh
# ls -l /home/restart/restart.sh
-r-sr-x---  1 root  operator  36 Sep 11 16:46 /home/restart/restart.sh

result from the same machine:
# su - restart
su: /home/restart/restart.sh: Permission denied

and from other:
# ssh -l restart -i restart_rsa router
Last login: Tue Sep 12 12:47:02 2006 from blablabla
[...]
/home/restart/restart.sh: Permission denied
Connection to orchid closed.


Interestingly (or not ;) execution of the script (with default
permissions) works if I log in as a user 'restart' (after giving him
/bin/sh as shell).


A suid binary seems to work:

# cp -p /usr/bin/id /sbin/
# chown root:operator /sbin/id
# chmod 4550 /sbin/id
# vipw
[ restart:*:1017:1017::0:0:restart:/home/restart:/sbin/id ]

# su - restart
uid=1017(restart) euid=0(root) gid=1017(restart) groups=1017(restart),
5(operator)

# ssh -l restart -i restart_rsa router
Last login: Tue Sep 12 13:11:10 2006 from blablabla
[...]
uid=1017(restart) euid=0(root) gid=1017(restart) groups=1017(restart),
5(operator)
Connection to orchid closed.


Looks like some suid issue which I don't really understand.

Thanks for suggestions though!

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: Putting a command/script as a user's shell

2006-09-12 Thread Karol Kwiatkowski
On 11/09/2006 16:56, Kirk Strauser wrote:
 On Monday 11 September 2006 09:20, Karol Kwiatkowski wrote:
 Good day everyone,

 I'm trying to make it possible to restart (as in 'shutdown -r now') a
 FreeBSD based router from LAN network as easy as possible so it can be
 used by non-technical people.
 
 First of all, it's easy enough to do this securely that you might as well do 
 it.  Install sudo, and use visudo to create a sudoers file with entries 
 like:
 
User_AliasREBOOTERS = username1,username2,username3
REBOOTERS ALL = (root) NOPASSWD: /sbin/reboot
 
 Next, create a reboot script for them:
 
# cat /usr/local/sbin/reboot.sh
sudo /sbin/reboot
 
 Finally, use OpenSSH's built-in options to run the script at login.  From 
 sshd(8):
 
 AUTHORIZED_KEYS FILE FORMAT
 
  []
 
  command=command
  Specifies that the command is executed whenever this key is used
  for authentication.
 
 So, make each user's authorized_keys file look something like:
 
 ssh-rsa [long base64 string] [EMAIL PROTECTED] 
 command=/usr/local/sbin/reboot.sh
 
 Alternatively, do all the above for one single account: your restart user.  
 Use authorized_keys to limit which of your real users has access to reboot 
 the machine, and use ssh -l restart balkyrouter.example.com to trigger it.  
 You could even go so far as to add a clause to /etc/ssh/ssh_config (or 
 ~/.ssh/config for each individual user) like:
 
 Host rebootrouter
 Hostname balkyrouter.example.com
 User restart
 
 so that your users just run ssh rebootrouter.
 
 So, to recap, when a user logs in, the reboot.sh script will be executed.  It 
 will use sudo to run the reboot command as root, without prompting the user 
 to enter any password.  It's easy, it works, and it doesn't require any 
 setuid trickery or special accounts or anything else.

Hi Kirk,

I wasn't aware of 'command' option in authorized_keys file and that's
exactly what I need :)

The rest is more or less what I was thinking of with the exception I
tried to avoid installing sudo just to do this.

So here's what I ended up with:

- user 'restart' in group 'operator' (I need another user because
there are no 'normal' users on the router except me)
- public/private key par for authorization
- command=/sbin/shutdown -r now in /home/restart/.ssh/authorized_keys

Works as expected even with windows/putty clients :)

Thanks for your reply.

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: Extensions and Themes in Firefox

2006-09-12 Thread RW
On Tuesday 12 September 2006 09:25, Pete Slagle wrote:

 Another,(possibly heretical) approach is to take 10 minutes to slap
 Ubuntu (or the like) on your desktop box. Out of the gate it easily runs
 Firefox, multimedia, ...


Has this changed? I have an Ubuntu live cd and wasn't very inpressed. It's 
Firefox has no flash support and no video plugin.

I've never had any serious problems with FreebSD and Multimedia in general - 
quite the opposite actually.  

___
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-12 Thread Duane Hill
On Tuesday, September 12, 2006 at 11:29:31 AM, Jeff confabulated:



 The base system doesn't include X Windows.
 _


 Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so it
 must be installed as a package from sysinstall).

Shouldn't you also be able to:

  cd /usr/ports/x11; make install clean

-- 
This message was sent using 100% recycled electrons.

___
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-12 Thread Jeff Rollin

On 12/09/06, Duane Hill [EMAIL PROTECTED] wrote:


On Tuesday, September 12, 2006 at 11:29:31 AM, Jeff confabulated:



 The base system doesn't include X Windows.
 _


 Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so
it
 must be installed as a package from sysinstall).

Shouldn't you also be able to:

  cd /usr/ports/x11; make install clean

--



That sentence was intended not to mean you have to install XWS as a package
from sysinstall but It must be the case that sysinstall installs it as a
package built from ports.

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


4x Kernel

2006-09-12 Thread Keith Phipps

Good Day,

We've got a FreeBSD box that's running 4.10 (that may not be correct, but
it's 4.x for certain) and it's not seeing our ATA driver on the appliance
it's been installed on. It's just a small 1u device, 1 hard drive, no RAID.
The same version installs on the 2u with the RAID controller no problem.
Best I can tell, 6.1 has the proper ATA driver. ICH7 is what I'm looking
for.

The build of our boxes are ISO'd on a CD, so I'm wondering the best way to
get this done - as I've never had to recompile anything and the more and
more I'm reading, the more and more it looks like I'm going to have to

a) figure out where/how to pull the ICH7 ATA driver from the 6.1 build
b) how I can recompile the kernel that goes with the ISO

It'd be easy (so google says) if it were anything other than the drive
controller - but since I can get to the drive, I can't load the OS properly,
can't just replace the kernel that way.

Any and all ideas, resources, etc.. would be helpful, as this was just sort
of dropped on my plate.

Thanks!

-Keith
___
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-12 Thread backyard


--- Jeff Rollin [EMAIL PROTECTED] wrote:

 On 11/09/06, backyard [EMAIL PROTECTED]
 wrote:
 
 
 
   When I first installed FreeBSD, circa 2003,
 version
   4.9, the two reasons I chose it over Redhat and
   Debian were the simplicity of the installation
 and
   good manual. The install process on REdhat and
   Debian was awkward, at least for me, and I could
 not
   make them work on my old compaq armada laptop.
 In
   contrast just following the manual and choosing
   default install parameters I got Freebsd working
   fast.
  
   During the installation I actually learned a lot
   about unix and Freebsd, the sort of details
 which
   are important to know anyway.
  
   It is hard to find the right balance between
   simplicity and functionality. It seems the
 balance
   in the Freebsd install is about right.
  
   anton
  
 
  I've only been around since FreeBSD 5.4 myself,
 and
  found during installs that sysinstall would get
  confused if you changed your mind and went
 backwards
  through the menus to reconfigure options. it seems
  like the one in 6.1 is a lot better, but maybe I
 just
  move back and forth less...
 
  That being said once it is installed it is a
 million
  times easier to maintain and upgrade then any
 Linux
  I've used. I had an old Digital 486 I had to
 install
  Redhat 7.3 thinking I could easily update to the
  latest kernel. I found I had to go through so many
  dependancies to do so I finally said whatever
 kernel
  was there was good enough. Talk about having to be
 a
  GNU guru to get things installed correctly without
  clobbering the old stuff and running into
 trouble...
 
 
 I'm unconvinced you could take FreeBSD 4 box and run
 the kernel from 6.1 on
 it without changing anything else.
 

well cvsupping to Rel_5 and running a make buildworld
 make buildkernel  make install kernel a reboot
some mergemaster magic an installworld some more
mergemaster magic and then cvsupping to Rel_6 and
repeating is still lighttyears easier then watching
the  Linux kernel build stop, downloading the sources,
configuring the dependancy properly, uninstalling the
old, and reintalling the new. Especially when you will
be tracing dependancies for weeks, unless your a
pretty good programmer, which I am not, and know the
dependancy chain of the core system. My point was the
relative ease of upgrading, not the technical points
of having missing object stubs. Of course you can't
put a cummins deisel in a pinto without working on the
frame first.



 Of late I was using Gentoo which I found to be
 FreeBSD
  like with its portage system, until recently when
 it
  seems they changed many system level interface
 stuff
  sometime after April 2006 and now I cannot seem to
  update it.
 
 
 The developers say you should not leave updating too
 long... True, if you
 are running FBSD 5.1 and need to update to 6.1, 5.3
 is still there on the
 servers, but you do have to go through the steps of
 installing that
 intermediate version.

well it was current as of april 8th when I made the
tape. I went on vacation in May and got back on or
about the 17th of May. Updating HAS NOT WORKED SINCE
THEN. so if waiting 6 weeks is too long then so be it.
I'm not going to constantly be emerging an update on a
daily basis to stay current, especially since
Openoffice seems to change its release tag everyother
day on Gentoo and it puts a machine out of commission
for 8-12 hours to build it. When:

emerge --update --deep --newuse --emptytree world

fails with PAM blocking, mozilla blocking, and now
Xorg blocking as well as some other odds and ends
thats when I say BSD is for me. to me it is
incomprehensible why I cannot rebuild the system tree
from scratch without software blocking the build. It
was fun while it lasted, and it was nice to be away
from winblows but in my experience linux is slower, a
pain to configure, impossible to update, and a project
started to emulate Unix. I'd much rather spend my time
learning Unix, then fighting with the emulator. 

 
 Even a full system rebuild has blocking
  packages that boggle my mind as they were compile
 from
  source originally...
 
 
 Stuff usually blocks if something about the way it's
 installed has changed
 in an incompatible way - X.org moving from
 monolithic to modular builds, for
 example. This doesn't seem to have anything to do
 with (binary) packages.
 

well if I just delete the blockers and let them be
fixed in the rebuild via them being dependancies it
still fails. and use flags are basically useless in
binary packages right? I don't like packages, I like
to see that the port(age) will build on my machine,
because I am a firm believer if you build it, it will
run... Not to mention you can set the options you
want. 

 sysinstall isn't all that bad. It could be flashier,
  it could be graphical, it could be a lot of
 things. If
  it really bothers you that much you can make
 yourself
  a livecd system that brings up X and restores a
 basic
  install, or cvsups 

Re: The Ports collection / FreeBSD CDs

2006-09-12 Thread RW
On Tuesday 12 September 2006 12:29, Jeff Rollin wrote:
  The base system doesn't include X Windows.
  _

 Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so it
 must be installed as a package from sysinstall).

That's actually my biggest problem with sysinstall, that it's standard 
installation mixes-up base system options and package options. I only use 
sysinstall once in a blue moon, and I find that  Choose Distributions menu, 
baffling - even though I know what I want installed.
___
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-12 Thread Graham Bentley
One question I often forget to ask myself is ;

What is my end goal ?

These days, if I want a non Windows desktop
that is quick and easy to install / update I use
this ; www.zenwalk.org [400MB .iso]

For servers, I use FreeBSD :)

Of course, you can use FreeBSD as a desktop 
machine too ... but the learning curve might be
a bit steeper !!! 
___
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-12 Thread Jeff Rollin

On 12/09/06, backyard [EMAIL PROTECTED] wrote:




--- Jeff Rollin [EMAIL PROTECTED] wrote:

 On 11/09/06, backyard [EMAIL PROTECTED]
 wrote:
 
 
 
   When I first installed FreeBSD, circa 2003,
 version
   4.9, the two reasons I chose it over Redhat and
   Debian were the simplicity of the installation
 and
   good manual. The install process on REdhat and
   Debian was awkward, at least for me, and I could
 not
   make them work on my old compaq armada laptop.
 In
   contrast just following the manual and choosing
   default install parameters I got Freebsd working
   fast.
  
   During the installation I actually learned a lot
   about unix and Freebsd, the sort of details
 which
   are important to know anyway.
  
   It is hard to find the right balance between
   simplicity and functionality. It seems the
 balance
   in the Freebsd install is about right.
  
   anton
  
 
  I've only been around since FreeBSD 5.4 myself,
 and
  found during installs that sysinstall would get
  confused if you changed your mind and went
 backwards
  through the menus to reconfigure options. it seems
  like the one in 6.1 is a lot better, but maybe I
 just
  move back and forth less...
 
  That being said once it is installed it is a
 million
  times easier to maintain and upgrade then any
 Linux
  I've used. I had an old Digital 486 I had to
 install
  Redhat 7.3 thinking I could easily update to the
  latest kernel. I found I had to go through so many
  dependancies to do so I finally said whatever
 kernel
  was there was good enough. Talk about having to be
 a
  GNU guru to get things installed correctly without
  clobbering the old stuff and running into
 trouble...


 I'm unconvinced you could take FreeBSD 4 box and run
 the kernel from 6.1 on
 it without changing anything else.


well cvsupping to Rel_5 and running a make buildworld
 make buildkernel  make install kernel a reboot
some mergemaster magic an installworld some more
mergemaster magic and then cvsupping to Rel_6 and
repeating is still lighttyears easier then watching
the  Linux kernel build stop, downloading the sources,
configuring the dependancy properly, uninstalling the
old, and reintalling the new. Especially when you will
be tracing dependancies for weeks, unless your a
pretty good programmer, which I am not, and know the
dependancy chain of the core system. My point was the
relative ease of upgrading, not the technical points
of having missing object stubs. Of course you can't
put a cummins deisel in a pinto without working on the
frame first.



Shrug. I've had problems trying to recompile the FreeBSD kernel too.


Of late I was using Gentoo which I found to be
 FreeBSD
  like with its portage system, until recently when
 it
  seems they changed many system level interface
 stuff
  sometime after April 2006 and now I cannot seem to
  update it.


 The developers say you should not leave updating too
 long... True, if you
 are running FBSD 5.1 and need to update to 6.1, 5.3
 is still there on the
 servers, but you do have to go through the steps of
 installing that
 intermediate version.

well it was current as of april 8th when I made the
tape. I went on vacation in May and got back on or
about the 17th of May. Updating HAS NOT WORKED SINCE
THEN. so if waiting 6 weeks is too long then so be it.



6 weeks too long? 6 months, *maybe*.

I'm not going to constantly be emerging an update on a

daily basis to stay current, especially since
Openoffice seems to change its release tag everyother
day on Gentoo and it puts a machine out of commission
for 8-12 hours to build it. When:

emerge --update --deep --newuse --emptytree world

fails with PAM blocking, mozilla blocking, and now
Xorg blocking as well as some other odds and ends
thats when I say BSD is for me. to me it is
incomprehensible why I cannot rebuild the system tree
from scratch without software blocking the build. It
was fun while it lasted, and it was nice to be away
from winblows but in my experience linux is slower, a
pain to configure, impossible to update, and a project
started to emulate Unix. I'd much rather spend my time
learning Unix, then fighting with the emulator.



That was my point, that BSD was rewritten from the ground up to avoid ATT
patents. So whilst some might consider BSD real unix, it's really only
emulating V7 with Berkeley extensions.



 Even a full system rebuild has blocking
  packages that boggle my mind as they were compile
 from
  source originally...


 Stuff usually blocks if something about the way it's
 installed has changed
 in an incompatible way - X.org moving from
 monolithic to modular builds, for
 example. This doesn't seem to have anything to do
 with (binary) packages.


well if I just delete the blockers and let them be
fixed in the rebuild via them being dependancies it
still fails. and use flags are basically useless in
binary packages right? I don't like packages, I like
to see that the port(age) will build on my machine,
because I am a firm 

Re: 4x Kernel

2006-09-12 Thread Mark Cullen

Keith Phipps wrote:

Good Day,

We've got a FreeBSD box that's running 4.10 (that may not be correct, but
it's 4.x for certain) and it's not seeing our ATA driver on the appliance
it's been installed on. It's just a small 1u device, 1 hard drive, no RAID.
The same version installs on the 2u with the RAID controller no problem.
Best I can tell, 6.1 has the proper ATA driver. ICH7 is what I'm looking
for.

The build of our boxes are ISO'd on a CD, so I'm wondering the best way to
get this done - as I've never had to recompile anything and the more and
more I'm reading, the more and more it looks like I'm going to have to

a) figure out where/how to pull the ICH7 ATA driver from the 6.1 build
b) how I can recompile the kernel that goes with the ISO

It'd be easy (so google says) if it were anything other than the drive
controller - but since I can get to the drive, I can't load the OS 
properly,

can't just replace the kernel that way.

Any and all ideas, resources, etc.. would be helpful, as this was just sort
of dropped on my plate.

Thanks!

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


Is there any particular reason why you can't just use 6.1? I know it's 
probably not what you want to hear, but it's highly likely it's going to 
be said if I don't anyway :-)


If it's because of stability, you *could* give NetBSD or OpenBSD a try 
perhaps? I had even 4.x panic'ing and locking up on my machine, where 
NetBSD 3 is totally stable. I *think* NetBSD 3 supports ICH7 at least.


--
Mark Cullen [EMAIL PROTECTED]
BSc (Hons), Computer Science
___
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-12 Thread RW
On Tuesday 12 September 2006 11:16, Jeff Rollin wrote:

 I'm unconvinced you could take FreeBSD 4 box and run the kernel from 6.1 on
 it without changing anything else.

No, but the fact that you upgrade world+kernel in one go helps. FreeBSD also 
mantains a good level of back-compatibility. The 6x kernels have back 
compatibility options, and when you upgrade, the libraries from previous 
major releases are still usable by your packages.There are also 
compatibility ports if you want to install binaries built against previous 
versions.
___
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-12 Thread Jonathan McKeown
On Tuesday 12 September 2006 15:05, Jeff Rollin wrote:
 That was my point, that BSD was rewritten from the ground up to avoid ATT
 patents. So whilst some might consider BSD real unix, it's really only
 emulating V7 with Berkeley extensions.

My understanding was that it was copyright rather than patents - and that the 
main reason for the settlement of the case between ATT and BSD/University of 
California was that when they started comparing code, there was actually more 
Berkeley code in ATT Unix than the other way round.

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


Re: 4x Kernel

2006-09-12 Thread Keith Phipps

On 9/12/06, Mark Cullen [EMAIL PROTECTED] wrote:


Keith Phipps wrote:
 Good Day,

 We've got a FreeBSD box that's running 4.10 (that may not be correct,
but
 it's 4.x for certain) and it's not seeing our ATA driver on the
appliance
 it's been installed on. It's just a small 1u device, 1 hard drive, no
RAID.
 The same version installs on the 2u with the RAID controller no problem.
 Best I can tell, 6.1 has the proper ATA driver. ICH7 is what I'm looking
 for.

 The build of our boxes are ISO'd on a CD, so I'm wondering the best way
to
 get this done - as I've never had to recompile anything and the more and
 more I'm reading, the more and more it looks like I'm going to have to

 a) figure out where/how to pull the ICH7 ATA driver from the 6.1 build
 b) how I can recompile the kernel that goes with the ISO

 It'd be easy (so google says) if it were anything other than the drive
 controller - but since I can get to the drive, I can't load the OS
 properly,
 can't just replace the kernel that way.

 Any and all ideas, resources, etc.. would be helpful, as this was just
sort
 of dropped on my plate.

 Thanks!

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

Is there any particular reason why you can't just use 6.1? I know it's
probably not what you want to hear, but it's highly likely it's going to
be said if I don't anyway :-)

If it's because of stability, you *could* give NetBSD or OpenBSD a try
perhaps? I had even 4.x panic'ing and locking up on my machine, where
NetBSD 3 is totally stable. I *think* NetBSD 3 supports ICH7 at least.




I wish that were possible, and it will be in a few months. We've got to keep
the production boxes the same as the ones in the field until we do the big
upgrade post new year. Believe me, I've run my head into the lets just get
to 6.1 stable head into the wall over this one. Got to love red tape :)


--

Mark Cullen [EMAIL PROTECTED]
BSc (Hons), Computer Science





--
They call me Hadoken 'cause I'm down-right fierce.
___
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-12 Thread Duane Hill
On Tuesday, September 12, 2006 at 12:03:47 PM, Jeff confabulated:

 On 12/09/06, Duane Hill [EMAIL PROTECTED] wrote:

 On Tuesday, September 12, 2006 at 11:29:31 AM, Jeff confabulated:

 
 
  The base system doesn't include X Windows.
  _


  Right, I was thinking of NetBSD. X Window System is a FreeBSD port (so
 it
  must be installed as a package from sysinstall).

 Shouldn't you also be able to:

   cd /usr/ports/x11; make install clean

 --

 That sentence was intended not to mean you have to install XWS as a package
 from sysinstall but It must be the case that sysinstall installs it as a
 package built from ports.

I  wasn't  for  sure  as I don't install many things using sysinstall.
Thanks for clarifying.

-- 
This message was sent using 100% recycled electrons.

___
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 #2

2006-09-12 Thread Bob M.
On Mon, 2006-09-11 at 08:46 -0400, Bob Walker wrote:
 Thanks to *all* who responded to my whining -- you've been great, and I am
 going to give FreeBSD another try. Apologies to all if I sounded like a
 twit... I was just eager to try something new as I have had it with MS
 products. Regards,
 
 Bob Walker 

Sounded like you were frustrated and venting to me.  I cringed when you
said you took a few production workstations to install to.  Take one
box, and some free time, no pressure, start with the handbook from
scratch:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html

You'll be pleased with your efforts when you're finished, and it only
gets better from there.  As other's have said, it's a community of
people and we've all been there before at one time or another.  Post
your questions and you'll get answers, and probably in a more timely
manner than you may expect.  Don't give up.

Bob


___
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-12 Thread Bob M.
On Tue, 2006-09-12 at 14:28 +0530, Subhro wrote:
 On 9/12/06, Arindam [EMAIL PROTECTED] wrote:
 
  1. The Mouse still does not work ... may be I should try MouseSystems 
  protocol.
 
 
I've found I have to use /dev/sysmouse and Protocol auto instead of
PS/2 despite my mouse most definitely being PS/2.

You already have moused_enable=YES in /etc/rc.conf as well?

Bob

___
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-12 Thread Arindam

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

I've found I have to use /dev/sysmouse and Protocol auto instead of
PS/2 despite my mouse most definitely being PS/2.

You already have moused_enable=YES in /etc/rc.conf as well?


Unfortunately we are discussing a different problem ... if you read my
(rather long) post, I have a serial mouse and there are more devices
as well as protocols to choose from. So PS/2 mouse doesn't figure in
here.



Bob

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


wow, i didnt realize we were so close!

2006-09-12 Thread Jonathan Horne
next seems to be upon us!

[EMAIL PROTECTED] ~]# uname -a
FreeBSD athena.dfwlp.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Sep
11 20:42:48 CDT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATHENA
 i386

cheers,
jonathan

___
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-12 Thread Jerold McAllister
Arindam writes: 




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.


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]


multiple slices and invalid partition table problem

2006-09-12 Thread Viren Patel
Hello. I am trying to install 6.1 on a Dell 2950 with a Dell PERC 5/i (LSI
Logic) SAS RAID controller. The controller is supported by the mfi driver. The
system has six 300GB drives configured in a RAID 5 array for a total of 
1.5TB.

I would like to setup jails on this system with each jail in its own
partition. To maximize the number of jails I am trying to slice the RAID
volume into 4 slices and 7 partitions per slice. This is when problems start
cropping up. In the first instance I keep getting warning messages about CHS
geometry being incorrect and sysinstall defaults to what it thinks are the
correct values. Unfortunately Dell BIOS or the controller BIOS does not report
any CHS values. Is there a way to get the correct values from the controller?

But going with the sysinstall values, if I allocate the entire volume (1
slice) I can install the OS and it boots fine. If however I create two or more
slices, the OS does install but upon reboot produces an Invalid partition
table error.

Here is an odd thing - I created two RAID volumes, one 300GB RAID 1 mirror and
another 900GB RAID 5 array. When installing FreeBSD it sees the two volumes as
mfid0 and mfid1, however it reports the 300GB size for both volumes. In this
configuration the CHS errors are not reported for mfid0 but still come up for
mfid1. Also any partitions I create in mfid0 are also shown for mfid1 and I
still get the Invalid partition table error upon reboot.

I have tried this on two identical systems with the same results. Any ideas?
TIA for any assistance in resolving this puzzling issue.

Viren Patel
Chemistry  Biochemistry
University of Texas at Austin


___
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-12 Thread Jeff Rollin

On 12/09/06, Jerold McAllister [EMAIL PROTECTED] wrote:


Arindam writes:


 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.

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.




Another you might like to try is XFCE. It's sort of midway between the likes
of Afterstep and GNOME/KDE. Its own file manager has traditionally sucked,
but the beauty of Linux is, you can mix and match. Plus, the new file
manager (Thunar) in the newest versions looks lovely (I don't think you'll
get the newest versions of anything if you install the ports collection from
the RELEASE CDs though.)



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.



That's correct; an awful lot of stuff in places like /usr/X11R6/lib and
/etc, including .xinitrc and the .z* Z Shell configuration files, consists
of global default settings and can be modified for each user in analogous
configuration files in $HOME.

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


Problems with xscreensaver stealing my mouse

2006-09-12 Thread Bill Moran

uname -a
FreeBSD vanquish.pgh.priv.collaborativefusion.com 6.1-RELEASE-p6 FreeBSD 
6.1-RELEASE-p6 #6: Thu Sep  7 11:25:03 EDT 2006 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/VANQUISH  i386

$ pkg_info | grep xorg
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
xorg-clients-6.9.0_3 X client programs and related files from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
xorg-libraries-6.9.0 X11 libraries and headers from X.Org
xorg-manpages-6.9.0 X.Org library manual pages
xorg-server-6.9.0_4 X.Org X server and related programs

$ pkg_info | grep screen
xscreensaver-5.00   Save your screen while you entertain your cat

The box is a Dell Optiplex GX520, with a Radeon 9200 Pro configured for
dual-head.  I'm using the radeon driver.  Mouse and KB are USB.

Symptoms are that every so often, when returning from the screensaver,
I have no mouse.  This happens about once a day on average, although
I've been able to discern no other pattern or event that triggers it.
Most of the time, when I come back from screensaver, everything is fine.

When the problem occurs I can get mouse function back by waiting until
the screensaver starts again, when I move the mouse or hit a key to
disable the screensaver the second time, all is well.

I've tried unplugging/plugging the USB mouse, but this doesn't help.

Occasionally, I get these messages in /var/log/messages:
Sep 12 08:38:20 vanquish kernel: uhub5: vendor 0x0424 product 0x2504, class 
9/0, rev 2.00/0.00, addr 2
Sep 12 08:38:20 vanquish kernel: uhub5: multiple transaction translators
Sep 12 08:38:20 vanquish kernel: uhub5: 4 ports with 4 removable, self powered

... as if the mouse were recently plugged in.  The appearance of these
messages does _not_ coincide with the problem.

Any thoughts on what could be wrong?  I'm not sure whether this is a
problem with xorg or FreeBSD, but I'm suspecting FreeBSD because of the
messages.  Any suggestions on how to debug?

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


AMD64 SSH Port Forwarding?

2006-09-12 Thread veldy
Has anybody noted any issues with port forwarding using SSH tunnels on
FreeBSD 6.1 AMD64?  I just recently upgraded my machine from i386 to
amd64, using nearly all the same configuration files.  Now, remotely, I
make an SSH session to my machine and attempt to forward ports, as usual,
and I find that all of these fail.  The listener exists on localhost, but
nothing is forwarded. Trying to connect to the localhost listener results
in a connection, but no traffic.  I can verify all services are running.

For what its worth:

FreeBSD 6.1-p6 AMD64
PF (same configuration as previous machine that worked)
Ports - 25, 443, 3128

All above ports are active and functioning, but forwarding to them via a
tunnel consistantly fails.  Only changes are motherboard, CPU, memory and
of course moved from i386 to amd64.  The NICs, hard drives and cd/dvd
drives all came from the old machine and are the same physical pieces of
hardware.

I have not been table to find any configuration changes that can account
for this behavior and I find no record in the logs what-so-ever.


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


Flatscreen Monitor Specifications

2006-09-12 Thread Joel Adamson
Howdy Y'all,

I am planning to install FreeBSD this weekend and I am doing a hardware 
inventory. I have a fairly new computer (bought brand new a year ago: Dell 
something-or-other 5100C), with a flatscreen monitor and USB everything.  I 
looked for my monitor specifications last night and have found nothing 
resembling the 35Hz, 800x600 stuff that is discussed in the handbook.  this 
would make sense, of course,...

All I've found in Windows Device Manager is something like Intel 42985G 
Chipset.

Whenever I've tried liveCDs (FreesBie, various linuces), they have all picked 
out the monitor just fine (and most everything else).  I just want to cover my 
bases, in case I end up with a flickering screen, I want to be able to do 
something about it.

Do you have any suggestions for where I should look for any monitor 
specifications?  What do I enter when I do my X configuration?

Thanks,
Joel
 

Joel J. Adamson 
Arlington, MA

-
Do you Yahoo!?
 Everyone is raving about the  all-new Yahoo! Mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SATA sil problems ...

2006-09-12 Thread Michał Garcarz
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 ?
 
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).
 
Thanx
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NIC Questions for 6.1 Release

2006-09-12 Thread Chris
I've had nightmares with my AMD65 Tyan quad that were most likely  
caused by the Broadcom built-in NICs. There are a lot of folks who've  
reported problems not only on FreeBSD, but also Windows and Linux.  
The issues seem to be negotiation problems and then packet loss if  
negotiation is disabled. I found that if you include a bad cable in  
the mix, FreeBSD 6.0 STABLE gave unannounced hard hangs and FreeBSD  
6.1 RELEASE would panic. With the cable replaced, the system finally  
stayed up but I found that it would just tend to drop off the net  
occasionally for a few seconds here and there. Too often to really be  
usable.


I'm bringing that server back in to rebuild it on p6 in hopes of  
getting it stable enough to finally go into production. I have to  
verify that the bge driver problems have been fixed since the May  
release (if they are fixable) but have been unable to determine if  
changes have been made. Is there any single source where one can go  
to see what has been changed on the various components of the OS. The  
notes, errata, hardware.txt, UPDATING, and many other normal places  
one looks doesn't really provide this this level of detail. I can  
research if someone has an idea where you would research? On the  
other hand, any of you have inside information on the broadcom  
itself, is it hopeless, and would going to the Intel PRO/1000 MT fix  
my problems with more surety?


These are coming out of the boot as:
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003
The computer is a Tyan s4884 quad opteron (duals).

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


Re: Flatscreen Monitor Specifications

2006-09-12 Thread Bob M.
On Tue, 2006-09-12 at 07:25 -0700, Joel Adamson wrote:
 Howdy Y'all,
 
 I am planning to install FreeBSD this weekend and I am doing a hardware 
 inventory. I have a fairly new computer (bought brand new a year ago: Dell 
 something-or-other 5100C), with a flatscreen monitor and USB everything.  I 
 looked for my monitor specifications last night and have found nothing 
 resembling the 35Hz, 800x600 stuff that is discussed in the handbook.  this 
 would make sense, of course,...
 
 All I've found in Windows Device Manager is something like Intel 42985G 
 Chipset.
 
 Whenever I've tried liveCDs (FreesBie, various linuces), they have all picked 
 out the monitor just fine (and most everything else).  I just want to cover 
 my bases, in case I end up with a flickering screen, I want to be able to do 
 something about it.
 
 Do you have any suggestions for where I should look for any monitor 
 specifications?  What do I enter when I do my X configuration?
 
 Thanks,
 Joel
  
 
 Joel J. Adamson 
 Arlington, MA
   

Assuming you have a dell monitor, have you tried looking it up on
http://support.dell.com ?  Most likely, you could even google it.  My
DELL 1901FP, came up when I googled it.  Just worry about the horizontal
and vertical synch/refresh rates for now, if they're wrong you can fry
it.

This is mine:

Section Monitor
Identifier  DELL 1901FP
HorizSync   30-80
VertRefresh 56-76
   ModeLine 1024x768i 45 1024 1048 1208 1264 768 776 784 817 Interlace
EndSection

That's the minimum for monitor, I believe, mine works great anyway.

This is my Screen section for that monitor:

Section Screen
Identifier  Screen 1
Device  i810
Monitor DELL 1901FP
DefaultDepth24

SubSection Display
Depth   8
Modes   1280x1024
Option  rgb bits 8
Visual  StaticColor
EndSubSection
SubSection Display
Depth   16
Modes   1280x1024
EndSubSection
SubSection Display
Depth   24
Modes   1280x1024
EndSubSection
EndSection


Bob


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


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

2006-09-12 Thread David Robillard

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
--
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postscript fonts in OpenOffice on 6.1

2006-09-12 Thread Perry Hutchison
Has anyone gotten OpenOffice to use a Postscript printer's built-in
fonts?  If so, how did you do it?  I haven't found the answer in the
docs or FAQs, and got no response on the OpenOffice list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ipfw - bandwidth throttling (sanity check!)

2006-09-12 Thread Odhiambo Washington
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


Any smtp traffic not to these netblocks should be throttled.
By that, I am thinking it will match everything smtp outbound
only, not inbound.


Thank you for your time.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

Don't put off for tomorrow what you can do today, because if you enjoy
it today you can do it again tomorrow.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[HACK-AROUND] Re: OpenOffice build crashes the compiler

2006-09-12 Thread Perry Hutchison
This hack presumably results in a broken slidesorter, but at least
Writer seems to work (after a fashion), and that's all I really need.

Since the *.obj are just empty sentinel files indicating that the
corresponding *.o have been built, this

  # cd /usr/ports/editors/openoffice.org-2.0
  # touch work/OOD680_m1/sd/unxfbsdi.pro/slo/SlideSorterView.obj
  
allows a rebuild to start *after* the failing compilation, instead
of reattempting it (and crashing again).  The missing module results
in an undefined symbol in libsd680fi.so; to keep that from stopping
the build, apply this hack to work/OOD680_m1/solenv/bin/checkdll.sh:

*** checkdll.sh.origWed Apr 26 07:42:21 2006
--- checkdll.sh Wed Apr 26 07:42:21 2006
***
*** 83,89 
  esac

  $checkdll $*
! if [ $? -ne 0 ]; then exit 1 ; fi

  for parameter in $*; do
  library=$parameter;
--- 83,90 
  esac

  $checkdll $*
! #   message has been printed, but don't kill the build
! #   if [ $? -ne 0 ]; then exit 1 ; fi

  for parameter in $*; do
  library=$parameter;
___
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-12 Thread Chris

On Sep 12, 2006, at 12:01 PM, Peter A. Giessel wrote:


On 2006/09/12 10:52, Chris seems to have typed:

These are coming out of the boot as:
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003
The computer is a Tyan s4884 quad opteron (duals).



I have a Tyan S2882G3NR-D with:
bge0: Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2003  
mem 0xfc9c-0xfc9c,0xfc9b-0xfc9b irq 24 at device  
9.0 on pci2

running on the AMD64 version of FreeBSD:
FreeBSD 6.1-RELEASE-p2 #4: Sun Jul  2 22:27:35 AKDT 2006
(dual Opteron 246's)

Its been stable since the update to 6.1 (went from 6.0 directly to  
6.1-p2).


This is encouraging. I will forego the cost of the Intel NICs and  
just go to 6.1-p6. Thank you very much.



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


forwarding as a gateway, logging certain traffic

2006-09-12 Thread Bart Silverstrim
This will probably be kind of wordy, but I could use some advice on  
how to track it.


I have a freebsd system acting as a gateway (it's using IP  
forwarding) so it can act as a web proxy server and filter for the  
users.  It is also filtering incoming email to act as a mail filter  
between the Internet and our internal Exchange server.


The firewall rules used for forwarding information to Squid are  
rather simple.  Ipfw -list gives:

***
00049 allow tcp from 10.46.255.253 to any
00050 fwd 10.46.255.253,3128 tcp from any to any 80
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
65000 allow ip from any to any
65535 deny ip from any to any


The DHCP server then hands out the IP of the FreeBSD server as the  
gateway address.


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.  After setting up a syslog  
monitor and checking the logs to see if the culprit would appear,  
what should appear but...the FreeBSD server.


Then I smack my forehead; of course it would show up.  It's supposed  
to be the gateway.  The trojan computer hits the BSD system and from  
there hits the PIX...the PIX will be useless to find the culprit.


Is there some way to get the FreeBSD system to log machines using  
port 25 without interfering with the FreeBSD machine's filtering of  
email function?  Or at least make the traffic visible to sniffing  
with tcpdump or wireshark or ethereal?

___
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 #2

2006-09-12 Thread FreeBSD WickerBill

Must have missed your rant Bob. You may want to check out
PC-BSDhttp://www.pcbsd.org,
a graphical installer that loads the KDE desktop on completion and rides on
FreeBSD 6.1-RELEASE-p2. If your hardware is supported in FreeBSD then it's
pretty painless. I dropped Windows at my home over 4 months ago and am not
missing it.

On 9/11/06, Bob Walker [EMAIL PROTECTED] wrote:


Thanks to *all* who responded to my whining -- you've been great, and I am
going to give FreeBSD another try. Apologies to all if I sounded like a
twit... I was just eager to try something new as I have had it with MS
products. Regards,

Bob Walker
Surveys  Forecasts, LLC
2323 North Street
Fairfield, CT 06824-1738
T +1.203.255.0505
F +1.203.549.0635
M +1.203.685.8860
www.safllc.com


NOTICE: The information in this message is intended only for the
person or entity to which it  is addressed and contains confidential
and privileged material. Any review, retransmission, dissemination
or other use of this information by persons or entities other than the
intended recipient is prohibited. If you received this email in error,
immediately contact the sender and destroy all copies of this email
and all other documents included with it. Thank you.


___
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[2]: The Ports collection / FreeBSD CDs

2006-09-12 Thread ograbme
Howdie Jeff (if I may) and others,

Tuesday, September 12, 2006, 6:41:38 AM, you wrote:

JR On 12/09/06, Arindam [EMAIL PROTECTED] wrote:

snip

 I chose not to install the ports collection because as of now, I do
 not have access to Internet in my home-network and it would take a
 little while before I can set it up for browsing.

snip

I too took this same approach as the box I installed FreeBSD 6.1
Release is not hooked up to the Internet.  I bypassed installing the
Ports collection.  The installation went well and I have been
refamiliarizing myself with Unix CLI commands and reading bits and
pieces of documentation here and there. FreeBSD is pretty neat and has
quite a few subtle differences from systems I worked on some years
back, i.e., Solaris, HP-UX, etc.

Anyway, now I would like to install the ports collection without
having to reinstall the whole system again, if possible, thus my
interest in this thread.

For instance, I decided I wanted to install sudo ...

snip

JR The FreeBSD installation program asks if you want to install the ports
JR collection, but what it actually does is install a bunch of directories
JR (under /usr/ports) that you can use to browse what's available in the ports
JR collection. For example, to download a port, say, Firefox compiled for use
JR with the Linux compatibility layer, go into /usr/ports/linux/linux-firefox
JR and type:

JR $ make install clean

Using the above info, I created /usr/ports directory (/usr was there,
but not /ports of course as I hadn't installed the Ports collection).
I created another directory under /usr/ports/ named /sudo, thus
resulting in /usr/ports/sudo.

I had mounted the ports CD I have and located sudo-1.6.8p12.tar.gz in
the distfiles directory.  I copied it over into the /usr/ports/sudo
directory, gunzipped it, and then untarred it.

I then made sure I was in the directory containing sudo.c and all its
attendent other files and tried the above make install clean.
Unfortunately it was a no-go.  Resultant message I received was:

 make: Don't know how to make install.  Stop

Obviously I've done something wrong here ... misstepped or tried to do
the impossible, huh? LOL! Perhaps, sudo can only be installed via the
pkg-add route per your mention below? I invoked sysinstall, but didn't
see right away anything clearly indicating the path to take in
resolving my dilemma. I'll keep reading and trying and may be stumble
across the proper way to accomplish this, but all the while monitoring
this email list for further enlightenment.

Then again, may be I should just do a complete new install and select
Yes to installing the Ports collection at that time, huh?  Nah,
one has to mess up to learn!  And trust me, I've learned quite a bit
by reading yours and others comments and suggestions.  Thank for all
of you being so willing to share your knowledge.

Thanks in advance.

P.S.  Please advise what the proper mode of responding is in terms of
replying.  I did a reply all (to both Jeff and the list) for my
first submission.  However, perhaps I should of only replied to the
list to eliminate unnecessary traffic.

snip

JR ($ stands for the prompt, as you probably know); make reads the Makefile,
JR and according to instructions in it, downloads the sources and compiles
JR them; make install and make clean (given here in shorthand) respectively
JR install the compiled port and clean up after make.

JR The alternative way to install software is from packages, which are
JR pre-compiled ports. You can use sysinstall to install them, or pkg_add from
JR the commandline. Disc2 mostly contains some of these packages (others are on
JR Disc1).

snip


___
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-12 Thread Bill Moran
In response to Bart Silverstrim [EMAIL PROTECTED]:

 This will probably be kind of wordy, but I could use some advice on  
 how to track it.
 
 I have a freebsd system acting as a gateway (it's using IP  
 forwarding) so it can act as a web proxy server and filter for the  
 users.  It is also filtering incoming email to act as a mail filter  
 between the Internet and our internal Exchange server.
 
 The firewall rules used for forwarding information to Squid are  
 rather simple.  Ipfw -list gives:
 ***
 00049 allow tcp from 10.46.255.253 to any
 00050 fwd 10.46.255.253,3128 tcp from any to any 80
 00100 allow ip from any to any via lo0
 00200 deny ip from any to 127.0.0.0/8
 00300 deny ip from 127.0.0.0/8 to any
 65000 allow ip from any to any
 65535 deny ip from any to any
 
 
 The DHCP server then hands out the IP of the FreeBSD server as the  
 gateway address.
 
 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.  After setting up a syslog  
 monitor and checking the logs to see if the culprit would appear,  
 what should appear but...the FreeBSD server.
 
 Then I smack my forehead; of course it would show up.  It's supposed  
 to be the gateway.  The trojan computer hits the BSD system and from  
 there hits the PIX...the PIX will be useless to find the culprit.
 
 Is there some way to get the FreeBSD system to log machines using  
 port 25 without interfering with the FreeBSD machine's filtering of  
 email function?  Or at least make the traffic visible to sniffing  
 with tcpdump or wireshark or ethereal?

Off the top of my head ...
ipfw add 25 log tcp from any to any 25
should work.  There are certain kernel configs you have to have in
place for logging to work, though.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
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-12 Thread Chuck Swiger

On Sep 12, 2006, at 1:08 PM, Bill Moran wrote:

Is there some way to get the FreeBSD system to log machines using
port 25 without interfering with the FreeBSD machine's filtering of
email function?  Or at least make the traffic visible to sniffing
with tcpdump or wireshark or ethereal?


Off the top of my head ...
ipfw add 25 log tcp from any to any 25
should work.  There are certain kernel configs you have to have in
place for logging to work, though.


Better to use something like:

ipfw add 1 log tcp from any to me 25 setup

If Bart would like to use tcpdump for the same purpose, consider  
running something like:


tcpdump -nt 'port 25 and (tcp[tcpflags]  tcp-syn != 0)'

--
-Chuck

___
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-12 Thread Bill Moran
In response to Chuck Swiger [EMAIL PROTECTED]:

 On Sep 12, 2006, at 1:08 PM, Bill Moran wrote:
  Is there some way to get the FreeBSD system to log machines using
  port 25 without interfering with the FreeBSD machine's filtering of
  email function?  Or at least make the traffic visible to sniffing
  with tcpdump or wireshark or ethereal?
 
  Off the top of my head ...
  ipfw add 25 log tcp from any to any 25
  should work.  There are certain kernel configs you have to have in
  place for logging to work, though.
 
 Better to use something like:
 
   ipfw add 1 log tcp from any to me 25 setup

Yeah, that would be more concise.

As a more permanent solution, why not set up ipfw on the FreeBSD
machine to refuse to allow this to happen ever?

ipfw add 5 allow tcp from any to me 25 setup
ipfw add 6 allow tcp from me to any 25 setup
ifpw add 7 drop tcp from any to any 25 setup

I don't remember the rest of the rulset, but if you have an established
rule, this should force all SMTP to use this machine as a relay, although
you may need to tweak the rules to get them working right around nat.

-- 
Bill Moran
Collaborative Fusion Inc.


IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.

___
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-12 Thread Bart Silverstrim


On Sep 12, 2006, at 4:28 PM, Chuck Swiger wrote:


On Sep 12, 2006, at 1:08 PM, Bill Moran wrote:

Is there some way to get the FreeBSD system to log machines using
port 25 without interfering with the FreeBSD machine's filtering of
email function?  Or at least make the traffic visible to sniffing
with tcpdump or wireshark or ethereal?


Off the top of my head ...
ipfw add 25 log tcp from any to any 25
should work.  There are certain kernel configs you have to have in
place for logging to work, though.


Better to use something like:

ipfw add 1 log tcp from any to me 25 setup

If Bart would like to use tcpdump for the same purpose, consider  
running something like:


tcpdump -nt 'port 25 and (tcp[tcpflags]  tcp-syn != 0)'


Maybe my ipfw is old; it kept telling me that log is an invalid  
action.  However, I think I may be able to get the tcpdump idea to work.


Thanks!
___
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-12 Thread RW
On Tuesday 12 September 2006 21:02, ograbme wrote:

 I had mounted the ports CD I have and located sudo-1.6.8p12.tar.gz in
 the distfiles directory.  I copied it over into the /usr/ports/sudo
 directory, gunzipped it, and then untarred it.

 I then made sure I was in the directory containing sudo.c and all its
 attendent other files and tried the above make install clean.
 Unfortunately it was a no-go.  Resultant message I received was:

  make: Don't know how to make install.  Stop

 Obviously I've done something wrong here ... misstepped or tried to do
 the impossible, huh? LOL! Perhaps,

The ports collection is a set of recipes that enable the the ports system to 
automatically fetch the source, extract it, patch it, build and install the 
result. You can do all this manually, but it's often not straightforward. And 
the added advantage is that software that's installed through the ports 
system is also registered in the package database- making it easier to 
deinstall and upgrade.  

Before you can build from ports, you need to have ports tree in place, the 
standard way to do this is by running portsnap.
___
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-12 Thread Chuck Swiger

On Sep 12, 2006, at 1:37 PM, Bart Silverstrim wrote:

Better to use something like:

ipfw add 1 log tcp from any to me 25 setup

If Bart would like to use tcpdump for the same purpose, consider  
running something like:


tcpdump -nt 'port 25 and (tcp[tcpflags]  tcp-syn != 0)'


Maybe my ipfw is old; it kept telling me that log is an invalid  
action.  However, I think I may be able to get the tcpdump idea to  
work.


There's a kernel option you need to enable for IPFW to do logging.   
If you're kldload'ing the ipfw module, it probably wasn't compiled  
with IPFW_LOGGING or whatever the exact name is.


Anyway, tcpdump should be your friend.  :-)

--
-Chuck

___
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-12 Thread Bart Silverstrim


On Sep 12, 2006, at 4:45 PM, Chuck Swiger wrote:


On Sep 12, 2006, at 1:37 PM, Bart Silverstrim wrote:

Better to use something like:

ipfw add 1 log tcp from any to me 25 setup

If Bart would like to use tcpdump for the same purpose, consider  
running something like:


tcpdump -nt 'port 25 and (tcp[tcpflags]  tcp-syn != 0)'


Maybe my ipfw is old; it kept telling me that log is an invalid  
action.  However, I think I may be able to get the tcpdump idea to  
work.


There's a kernel option you need to enable for IPFW to do logging.   
If you're kldload'ing the ipfw module, it probably wasn't compiled  
with IPFW_LOGGING or whatever the exact name is.


I had set the verbosity (I think that was the parameter) from  
googling around earlier, but that doesn't seem to help.  I'm probably  
missing an option somewhere else.


But you're right...tcpdump will be my friend :-)
___
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-12 Thread Remko Lodder

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 :)

Thanks for the report!

--
Kind regards,

 Remko Lodder   ** [EMAIL PROTECTED]
 FreeBSD** [EMAIL PROTECTED]

 /* Quis custodiet ipsos custodes */
___
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-12 Thread RW
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.
___
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-12 Thread Perry Hutchison
 Before you can build from ports, you need to have ports tree
 in place, the standard way to do this is by running portsnap.
 
with the caveat that, 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.  OP might be better off
loading the ports collection from the same CD set as the
rest of the system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RSS feeds for important sites?

2006-09-12 Thread Marc G. Fournier

On Tue, 12 Sep 2006, Erik Norgaard wrote:


Marc G. Fournier wrote:


I'm trying to get my rss reader configured up so that I no longer miss 
anything ... or, at least, make it easier to keep on top of everything ...


I can't seem to find stuff like DaemonNews and such ...

Does anyone have a list of BSD related RSS feeds that they'd be willing to 
share?


There are FreeBSD feeds on the freebsd site.


Ya, got those ... at least they were nice and obvious :)


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
___
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-12 Thread Steve Bertrand

  There's a kernel option you need to enable for IPFW to do 
 logging.   
  If you're kldload'ing the ipfw module, it probably wasn't compiled 
  with IPFW_LOGGING or whatever the exact name is.
 
 I had set the verbosity (I think that was the parameter) from 
 googling around earlier, but that doesn't seem to help.  I'm 
 probably missing an option somewhere else.

Rebuild your kernel with the following options:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE=1000

Will have it log up to 1000 entries on a rule that specifies the log
option.

Alternatively, you can do something like:

# ipfw add 100 allow log logamount 5 

to override the kernel config log amount.

Steve

___
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-12 Thread Jacques Vidrine


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!


Cheers,
--
Jacques Vidrine [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

2006-09-12 Thread Alex Zbyslaw

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/

Especially for changes to limited components like a specific ethernet 
driver, it quite easy to see if anything has changed recently, as well 
as the comments in the commit logs.


--Alex



___
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-12 Thread Donald J. O'Neill

Perry Hutchison wrote:
Before you can build from ports, you need to have ports tree
in place, the standard way to do this is by running portsnap.
 
with the caveat that, 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.  OP might be better off
loading the ports collection from the same CD set as the
rest of the system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



That's very interesting. However, the ports tree on the CD isn't 
complete, as in: not all the ports are there. I stopped installing the 
ports tree from the install CD a long time ago for that reason.


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


Re: Re[4]: The Ports collection / FreeBSD CDs

2006-09-12 Thread Jeff Rollin

On 12/09/06, ograbme [EMAIL PROTECTED] wrote:


Hello Jeff,

First of all ... thanks for your help and suggestions ... please see
comments interwoven below.

Tuesday, September 12, 2006, 4:20:51 PM, you wrote:

snip

JR You need to go back into sysinstall and install the ports
JR collection. That will give you the framework for downloading
JR ports, but you will not be able to install them without network
JR access.

Understand.

JR If you want to install a package, the easiest way without
JR network access is to go back into sysinstall and choose it from
JR the Packages item. But, if the package you want is not available
JR on the FreeBSD install discs (if you need to eject one and insert
JR the other, it will tell you to), and you don't have a network
JR connection, I'm afraid you're out of luck.

This is the approach I took.  All looked like it was going well until
the point of needing to switch cdroms.  Couldn't do it.  My cdrom
would not eject so I could switch CDROMs.  Not sure what the problem
was/is, but got to thinking because it was mounted, i.e., mount /cdrom
manually initially by me before starting the sysinstall command.
Anyone I just ignored trying to install those packages that I had
selected and eventually finished up, but when finished, I could not
find the /usr/ports directory ... even though sysinstall reported
individually the selected packages were installed properly during the
process.  Oh well, something went awry.  I'll try again with hopefully
only selecting items from one cdrom to try to control the process in
that regard and see if I experience the same result.

JR If there's nothing else wrong with your system, you don't
JR need to reinstall; just type sysinstall as the root user and
JR you're in.

I cannot with certainly vouch there is nothing wrong with my system.
It hasn't locked up; it hasn't conked out on me; I've been able to do
a number of things (albeit they are cursory type things ... nothing
big ... executing various Unix commands, creating a few small C
programs and compiling them with gcc tool, etc) thus far, without
incident.

JR BTW, I would delete your manually-created /usr/ports
JR directory and everything in it, just in case.

I did this prior to the above steps.  The release I have installed is
FreeBSD 6.1 Release #0 May 07 ... perhaps this is part of the problems
I'm experiencing.  I bought the FreeBSD Mall 4 CDROM, May 2006
set.  May be I need to try to get a newer version.  I think I saw
where there is some release #2 mentioned by various list members.  I
suppose I could download it from the web site and burn it.  I'd only
need the first cdrom, right?

Thanks in advance.  While I may not be making leaps and bounds, I do
feel I'm making some headway!

Take care.



This sounds like a bug to me; before you do anything else I would:

1. Make sure there is no /usr/ports directory;

2. Insert the FBSD CDROM, *without mounting it*

3. Run sysinstall and attempt to install the ports tree again.

If this doesn't work, I would download the FBSD 6.1 CD from a mirror (it was
6.1 you were using, wasn't it?), burn it, and reinstall. If you are sure you
don't need any packages from CD2, you can forgo downloading and burning that
one. In fact if you have the net connection (and the patience), you can
download a bootonly iso that, when used to boot the system, downloads
everything else needed from the net.

HTH (especially as if it does not, I'm out of ideas! :-/)

BTW, if you DO end up reinstalling, make sure you reformat your partitions,
as I have sometimes run out of space when attempting to reinstall on
partitions with data still on them.


Jeff
___
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-12 Thread Chris


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.


Thanks for all this input, it's pretty embarrassing to idle such a  
cool server for 6 months ;-),

Chris

___
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-12 Thread Perry Hutchison
  ... 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.)

 I stopped installing the ports tree from the install CD a long
 time ago for that reason.

Perhaps sysinstall's rather strong recommendation to install the
ports ought to be toned down a bit, e.g. to suggest installing
the ports from CD only if one does not have a high-speed Internet
connection.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


libm.so.3 on FreeBSD 6.1-RELEASE

2006-09-12 Thread Ahmad Arafat Abdullah
Hye everyone..

For my customer i need to install Kaspersky antivirus for mailserver
and for this case I'm using pkg build for version 5x.. ( no pkg for 6x yet )

the problem is, installation seems like successfull but when i want to key in
the key ( for antivirus verification ), then this msg appears..


freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager
/usr/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by 
licensemanager



I've checked with google and also this link:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-August/025330.html



freebsdmail# uname -a
FreeBSD freebsdmail.mine.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 
04:42:56 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386



my plan is to cvsup to -p6 and see if the problem already solved or not.. but 
during this time, 
can anyone give me clue what am i missing here?


TQ
Arafat
System Engineer



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


pci modem question

2006-09-12 Thread musashi miyamoto

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]


question about fortune at login

2006-09-12 Thread Jonathan Horne
what is the proper way to disable fortune?  i deleted the .login file from my 
homedir... and it still runs at login!

i would just as soon prefer to not see it when i log into my systems.  can 
someone point me in the right direction?  chmod -x on the binary seems to 
work... but i would rather know the proper way.

cheers,
jonathan
___
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-12 Thread Jonathan Horne
On Tuesday 12 September 2006 21:01, Ahmad Arafat Abdullah wrote:
 Hye everyone..

 For my customer i need to install Kaspersky antivirus for mailserver
 and for this case I'm using pkg build for version 5x.. ( no pkg for 6x yet
 )

 the problem is, installation seems like successfull but when i want to key
 in the key ( for antivirus verification ), then this msg appears..


 freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager
 /usr/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by
 licensemanager



 I've checked with google and also this link:
 http://lists.freebsd.org/pipermail/freebsd-ports/2005-August/025330.html



 freebsdmail# uname -a
 FreeBSD freebsdmail.mine.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
 04:42:56 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP 
 i386



 my plan is to cvsup to -p6 and see if the problem already solved or not..
 but during this time, can anyone give me clue what am i missing here?


 TQ
 Arafat
 System Engineer

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.

hth,
jonathan
___
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-12 Thread Donald J. O'Neill

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.)



I stopped installing the ports tree from the install CD a long
time ago for that reason.


Perhaps sysinstall's rather strong recommendation to install the
ports ought to be toned down a bit, e.g. to suggest installing
the ports from CD only if one does not have a high-speed Internet
connection.



You've asked a question, given some clarification as to what you are 
referring to, and I can tell you I don't have anything other than 
possibilities - which may be far from the truth - as to why this is. 
You're referring to a 4 CD set, that can't be downloaded from 
FreeBSD.org, that has to come from somewhere else, such as the
FreeBSD Mall or somewhere else. I would use that if I couldn't connect 
to the Internet at all.


Maybe, I should say: I can't tell you why it is that way. I've never 
been very concerned about it, just understood that it was that way and 
lived with it. I've never had a problem with an up-to-date ports tree 
not playing nicely with a RELEASE or a STABLE install. I suspect the 
reason is that I just never happened to up-date the ports tree at a time 
when there were problems. It does happen at times, but then... You've 
probably heard the advice somethings wrong with your ports tree, blow 
it off and re-install it. It's not a big problem to deal with, the 
problem comes when you need to do it and don't.


Sysinstall only asks if you want to install the ports tree. If I was 
going to update it with cvsup, I would install it from there. I use 
portsnap, so I don't install it from the CD.



Yes, I have a hi-speed connection. It makes things easier. I wouldn't be 
without it.


Don
___
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-12 Thread Frank Shute
On Tue, Sep 12, 2006 at 04:02:33PM -0400, ograbme wrote:

 Howdie Jeff (if I may) and others,
 
 Tuesday, September 12, 2006, 6:41:38 AM, you wrote:
 
 JR On 12/09/06, Arindam [EMAIL PROTECTED] wrote:
 
 snip
 
  I chose not to install the ports collection because as of now, I do
  not have access to Internet in my home-network and it would take a
  little while before I can set it up for browsing.
 
 snip
 
 I too took this same approach as the box I installed FreeBSD 6.1
 Release is not hooked up to the Internet.  I bypassed installing the
 Ports collection.  The installation went well and I have been
 refamiliarizing myself with Unix CLI commands and reading bits and
 pieces of documentation here and there. FreeBSD is pretty neat and has
 quite a few subtle differences from systems I worked on some years
 back, i.e., Solaris, HP-UX, etc.
 
 Anyway, now I would like to install the ports collection without
 having to reinstall the whole system again, if possible, thus my
 interest in this thread.
 
 For instance, I decided I wanted to install sudo ...
 
 snip
 
 JR The FreeBSD installation program asks if you want to install the ports
 JR collection, but what it actually does is install a bunch of directories
 JR (under /usr/ports) that you can use to browse what's available in the 
 ports
 JR collection. For example, to download a port, say, Firefox compiled for use
 JR with the Linux compatibility layer, go into /usr/ports/linux/linux-firefox
 JR and type:
 
 JR $ make install clean
 
 Using the above info, I created /usr/ports directory (/usr was there,
 but not /ports of course as I hadn't installed the Ports collection).
 I created another directory under /usr/ports/ named /sudo, thus
 resulting in /usr/ports/sudo.
 
 I had mounted the ports CD I have and located sudo-1.6.8p12.tar.gz in
 the distfiles directory.  I copied it over into the /usr/ports/sudo
 directory, gunzipped it, and then untarred it.
 
 I then made sure I was in the directory containing sudo.c and all its
 attendent other files and tried the above make install clean.
 Unfortunately it was a no-go.  Resultant message I received was:
 
  make: Don't know how to make install.  Stop
 
 Obviously I've done something wrong here ... misstepped or tried to do
 the impossible, huh? LOL! Perhaps, sudo can only be installed via the
 pkg-add route per your mention below? I invoked sysinstall, but didn't
 see right away anything clearly indicating the path to take in
 resolving my dilemma. I'll keep reading and trying and may be stumble
 across the proper way to accomplish this, but all the while monitoring
 this email list for further enlightenment.
 
 Then again, may be I should just do a complete new install and select
 Yes to installing the Ports collection at that time, huh?  Nah,
 one has to mess up to learn!  And trust me, I've learned quite a bit
 by reading yours and others comments and suggestions.  Thank for all
 of you being so willing to share your knowledge.
 
 Thanks in advance.

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

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

(warning! 35MB compressed)

and:

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

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

$ cat /usr/ports/UPDATING | grep sudo

if there's nothing then:

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

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

 
 P.S.  Please advise what the proper mode of responding is in terms of
 replying.  I did a reply all (to both Jeff and the list) for my
 first submission.  However, perhaps I should of only replied to the
 list to eliminate unnecessary traffic.
 
 snip
 

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

Welcome to FreeBSD!

-- 

 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: Newbie Experience

2006-09-12 Thread backyard
{expunged the old, typ}
   
I've only been around since FreeBSD 5.4
 myself,
   and
found during installs that sysinstall would
 get
confused if you changed your mind and went
   backwards
through the menus to reconfigure options. it
 seems
like the one in 6.1 is a lot better, but maybe
 I
   just
move back and forth less...
   
That being said once it is installed it is a
   million
times easier to maintain and upgrade then any
   Linux
I've used. I had an old Digital 486 I had to
   install
Redhat 7.3 thinking I could easily update to
 the
latest kernel. I found I had to go through so
 many
dependancies to do so I finally said whatever
   kernel
was there was good enough. Talk about having
 to be
   a
GNU guru to get things installed correctly
 without
clobbering the old stuff and running into
   trouble...
  
  
   I'm unconvinced you could take FreeBSD 4 box and
 run
   the kernel from 6.1 on
   it without changing anything else.
  
 
  well cvsupping to Rel_5 and running a make
 buildworld
   make buildkernel  make install kernel a
 reboot
  some mergemaster magic an installworld some more
  mergemaster magic and then cvsupping to Rel_6 and
  repeating is still lighttyears easier then
 watching
  the  Linux kernel build stop, downloading the
 sources,
  configuring the dependancy properly, uninstalling
 the
  old, and reintalling the new. Especially when you
 will
  be tracing dependancies for weeks, unless your a
  pretty good programmer, which I am not, and know
 the
  dependancy chain of the core system. My point was
 the
  relative ease of upgrading, not the technical
 points
  of having missing object stubs. Of course you
 can't
  put a cummins deisel in a pinto without working on
 the
  frame first.
 
 
 Shrug. I've had problems trying to recompile the
 FreeBSD kernel too.

It happens, I will admit it. I find things like
enabling wpa_supplicant and forgeting device wlan is
what trips me up most, or things along those lines...
dependancies can be frustrating at best... And I have
had experiences where a patch had a few typos in the
commit and nothing works until it is recommitted
correctly. I'm not going to even try to say FreeBSD is
always sunshine and linux is farts. I still like the
fullscreen console on my linux console, vs the tiny
have utilized LCD on my FreeBSD console with my Dell
Inspiron 1100. Know there has to be a fix, but haven't
liked the answers I've read so far... 

 
  Of late I was using Gentoo which I found to be
   FreeBSD
like with its portage system, until recently
 when
   it
seems they changed many system level interface
   stuff
sometime after April 2006 and now I cannot
 seem to
update it.
  
  
   The developers say you should not leave updating
 too
   long... True, if you
   are running FBSD 5.1 and need to update to 6.1,
 5.3
   is still there on the
   servers, but you do have to go through the steps
 of
   installing that
   intermediate version.
 
  well it was current as of april 8th when I made
 the
  tape. I went on vacation in May and got back on or
  about the 17th of May. Updating HAS NOT WORKED
 SINCE
  THEN. so if waiting 6 weeks is too long then so be
 it.
 
 
 6 weeks too long? 6 months, *maybe*.
 
yeah between that tape which was the last update I
recall doing (always TAPE things up before messing
with it, learned that the hard way too many
times) and me getting back home from Tortola to plug
in to the net and update portage and try to update. At
that point I was only updating, and PAM was Blocking.
I deleted it, the update failed at some point I got
sick turned off the box and without PAM could never
log back in. VERY FRUSTRATING, and I actually liked
Gentoo a whole lot. But updating the penguin has never
gone smooth for me in the long run...

 I'm not going to constantly be emerging an update on
 a
  daily basis to stay current, especially since
  Openoffice seems to change its release tag
 everyother
  day on Gentoo and it puts a machine out of
 commission
  for 8-12 hours to build it. When:
 
  emerge --update --deep --newuse --emptytree world
 
  fails with PAM blocking, mozilla blocking, and now
  Xorg blocking as well as some other odds and ends
  thats when I say BSD is for me. to me it is
  incomprehensible why I cannot rebuild the system
 tree
  from scratch without software blocking the build.
 It
  was fun while it lasted, and it was nice to be
 away
  from winblows but in my experience linux is
 slower, a
  pain to configure, impossible to update, and a
 project
  started to emulate Unix. I'd much rather spend my
 time
  learning Unix, then fighting with the emulator.
 
 
 That was my point, that BSD was rewritten from the
 ground up to avoid ATT
 patents. So whilst some might consider BSD real
 unix, it's really only
 emulating V7 with Berkeley extensions.
 

BSD was always trying to rewrite the original ATT
code, while being compatible with the 

Re: question about fortune at login

2006-09-12 Thread David Kelly


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!


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.


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


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

2006-09-12 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: Jonathan Horne [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: Re: libm.so.3 on FreeBSD 6.1-RELEASE
 Date: Tue, 12 Sep 2006 21:23:46 -0500
 
 
 On Tuesday 12 September 2006 21:01, Ahmad Arafat Abdullah wrote:
  Hye everyone..
 
  For my customer i need to install Kaspersky antivirus for mailserver
  and for this case I'm using pkg build for version 5x.. ( no pkg for 6x yet
  )
 
  the problem is, installation seems like successfull but when i want to key
  in the key ( for antivirus verification ), then this msg appears..
 
 
  freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager
  /usr/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by
  licensemanager
 
 
 
  I've checked with google and also this link:
  http://lists.freebsd.org/pipermail/freebsd-ports/2005-August/025330.html
 
 
 
  freebsdmail# uname -a
  FreeBSD freebsdmail.mine.nu 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7
  04:42:56 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386
 
 
 
  my plan is to cvsup to -p6 and see if the problem already solved or not..
  but during this time, can anyone give me clue what am i missing here?
 
 
  TQ
  Arafat
  System Engineer
 
 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.
 
 hth,
 jonathan


TQ so much Jonathan..
I've do link the libm.so and libc.so.


freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager -a 
/home/trunasuci/
/usr/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by 
licensemanager

freebsdmail# cd /lib

freebsdmail# ln -s libm.so.4 libm.so.3
freebsdmail# ls -l
total 3096
drwxr-xr-x  2 root  wheel 512 Sep  5 20:37 geom
-r--r--r--  1 root  wheel   48260 May  7 11:56 libalias.so.5
-r--r--r--  1 root  wheel   10720 May  7 11:56 libatm.so.3
-r--r--r--  1 root  wheel8388 May  7 11:56 libbegemot.so.2
-r--r--r--  1 root  wheel  114524 May  7 11:56 libbsdxml.so.2
-r--r--r--  1 root  wheel   48472 May  7 11:56 libbsnmp.so.3
-r--r--r--  1 root  wheel  882116 May  7 11:56 libc.so.6
-r--r--r--  1 root  wheel   56276 May  7 11:56 libcam.so.3
-r--r--r--  1 root  wheel   28680 May  7 11:55 libcrypt.so.3
-r--r--r--  1 root  wheel  995056 May  7 11:57 libcrypto.so.4
-r--r--r--  1 root  wheel   18548 May  7 11:56 libdevstat.so.5
-r--r--r--  1 root  wheel   84248 May  7 11:56 libedit.so.5
-r--r--r--  1 root  wheel   12952 May  7 11:56 libgeom.so.3
-r--r--r--  1 root  wheel7604 May  7 11:56 libgpib.so.1
-r--r--r--  1 root  wheel   22728 May  7 11:56 libipsec.so.2
-r--r--r--  1 root  wheel5700 May  7 11:56 libipx.so.3
-r--r--r--  1 root  wheel8304 May  7 11:56 libkiconv.so.2
-r--r--r--  1 root  wheel   21936 May  7 11:55 libkvm.so.3
lrwxr-xr-x  1 root  wheel   9 Sep 13 10:42 libm.so.3 - libm.so.4
-r--r--r--  1 root  wheel   98120 May  7 11:55 libm.so.4
-r--r--r--  1 root  wheel   55160 May  7 11:55 libmd.so.3
-r--r--r--  1 root  wheel  256684 May  7 11:55 libncurses.so.6
-r--r--r--  1 root  wheel  179196 May  7 11:56 libreadline.so.6
-r--r--r--  1 root  wheel5556 May  7 11:55 libsbuf.so.3
-r--r--r--  1 root  wheel8928 May  7 11:56 libufs.so.3
-r--r--r--  1 root  wheel   43576 May  7 11:56 libutil.so.5
-r--r--r--  1 root  wheel   60672 May  7 11:56 libz.so.3

freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager -a 
/home/trunasuci/
/usr/libexec/ld-elf.so.1: Shared object libc.so.5 not found, required by 
licensemanager

freebsdmail# ln -s libc.so.6 libc.so.5

freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager -a 
/home/trunasuci/.key
Kaspersky license manager for FreeBSD 5.x. Version 5.5.10/RELEASE #11
Copyright (C) Kaspersky Lab, 1997-2005.
Portions Copyright (C) Lan Crypto
Key file /home/trunasuci/.key has been successfully registered


yesss..
it's done.. now i'll proceed with some setup/tweaking..

TQ again :)

Arafat
System Engineer




-- 
___
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: libm.so.3 on FreeBSD 6.1-RELEASE

2006-09-12 Thread Dan Nelson
In the last episode (Sep 12), Ahmad Arafat Abdullah said:
 From: Jonathan Horne [EMAIL PROTECTED]
  On Tuesday 12 September 2006 21:01, Ahmad Arafat Abdullah wrote:
   freebsdmail# /usr/local/share/kav/5.5/kav4mailservers/bin/licensemanager
   /usr/libexec/ld-elf.so.1: Shared object libm.so.3 not found, required by
   licensemanager
  
  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.
 
 TQ so much Jonathan..
 I've do link the libm.so and libc.so.

You don't want to do this.  Install the misc/compat5x port instead (and
install the misc/compat4x port if you need libm.so.2).

-- 
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: libm.so.3 on FreeBSD 6.1-RELEASE

2006-09-12 Thread Kris Kennaway
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


pgp1ELXWqSUsz.pgp
Description: PGP signature


Re: pci modem question

2006-09-12 Thread Ralph Ellis
On Tuesday 12 September 2006 7:05 pm, 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]
You might try Multitech. I know that their external modems work and while I 
have not tried their internal pci ones, most of their line works with linux 
and consequently should work with FreeBSD,
Ralph Ellis
___
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-12 Thread Odhiambo Washington
* 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..

net.inet.ip.fw.one_pass=1 seems to be the default on my system. Not sure
why, but I will RTFM about it.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

If only one could get that wonderful feeling of accomplishment without
having to accomplish anything.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem installing Mathematica on FreeBSD 6.1

2006-09-12 Thread Kris Kennaway
On Tue, Sep 12, 2006 at 10:09:27PM +0400, Alexey Mikhailov wrote:
 Hello!
 
 Sometime ago I posted this message to freebsd-questions@, but had no 
 answer. So I'll try my luck
 here.
 
 -
 
 Hello!
 
 I installed Mathematica 5.1 on my FreeBSD 6.1 system. And I can't run it..
 That's very strange behaviour:
 
 ~/Mathematica/SystemFiles/FrontEnd/Binaries/Linux % ./Mathematica
 ./Mathematica: relocation error: /usr/X11R6/lib/libX11.so.6: undefined 
 symbol: __stderrp
 
 But:
 
 ~/Mathematica/SystemFiles/FrontEnd/Binaries/Linux % ldd Mathematica
 Mathematica:
   libm.so.6 = /lib/libm.so.6 (0x284e5000)

...

Since it is a linux binary it should be linked to the linux libraries.
Do you have a linux_base package installed?

Kris

P.S. Redirecting followups to freebsd-questions@ as this is a basic
technical support question.


pgpXLAppEbfpx.pgp
Description: PGP signature