The FreeBSD Diary: 2006-08-27 - 2006-09-16

2006-09-17 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 

These are the articles posted during this period:

4-Sep : 
Monitor your 3Ware battery backup unit (BBU)
 Why not monitor your battery? 
 http://freebsddiary.org/3ware-netsaint-plugin-addenda.php?2

28-Aug : 3Ware - Manage your RAID arrays via http
 Nothing like a little graphical interaction to get the bytes flowing 
 http://freebsddiary.org/dual-opteron-3ware-web.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: Freebsd, Suse Linux dual booting

2006-09-17 Thread Dan Bikle

Well,

I rolled the dice and tried grub.
Moral: grub is good.

Details:

I decided to re-install Suse 10.1 so I could interact with the mechanism
which installs Grub.

Then...
I found this in /boot/grub/menu.lst

suse:/boot/grub # cat menu.lst
# Modified by YaST2. Last modification on Sun Sep 17 05:08:44 UTC 2006

color white/blue black/light-gray
default 0
timeout 8

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux 10.1
   root (hd0,5)
   kernel /boot/vmlinuz root=/dev/sda6apm=off acpi=off mce=off
barrier=off ide=nodma idewait=50 i8042.nomux psmouse.proto=bare irqpoll
pci=nommconf resume=/dev/sda5  splash=silent showopts
   initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
   chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
   chainloader (hd0,1)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE Linux 10.1
   root (hd0,5)
   kernel /boot/vmlinuz root=/dev/sda6 showopts ide=nodma apm=off acpi=off
noresume nosmp noapic maxcpus=0 edd=off 3
   initrd /boot/initrd

It looks like Suse thinks the disk is named hd0 rather than hd8.

So, I added this entry:

###Don't change this comment - YaST2 identifier: Original name: FreeBSD
5.5###
title FreeBSD 5.5
 root (hd0,2,a)
 kernel /boot/loader

This is a direct pattern off of the discussion here:
http://www.lemis.com/grog/diary-apr2006.html#21
And the grub file in front of my face.

Then I rebooted and saw a nice Grub menu with FreeBSD 5.5
listed on the bottom.

I picked it.

It sent me to the Beastie boot menu I'm so familiar with.

And I used that to boot my FreeBSD box.

I'm jazzed.

I wish golf were this easy.

Thanks gentlemen.

-Dan


On 9/16/06, Jeff Rollin [EMAIL PROTECTED] wrote:




On 17/09/06, Dan Bikle [EMAIL PROTECTED] wrote:

 People,

 this is great info; thanks for taking time to type it up.
 I'm now convinced that Grub is good.

 On my FreeBSD box I see this:

 bash moibsd maco /usr/home/maco 3 $
 bash moibsd maco /usr/home/maco 3 $
 bash moibsd maco /usr/home/maco 3 $
 bash moibsd maco /usr/home/maco 3 $
 bash moibsd maco /usr/home/maco 3 $ cat /etc/fstab
 # DeviceMountpoint  FStype  Options Dump
 Pass#
 /dev/ad8s3b noneswapsw  0
 0
 /dev/ad8s3a /   ufs rw  1
 1
 ##/dev/ad8s4a   /u1 ufs rw  1
 1
 /dev/acd0   /dvd1   cd9660  ro,noauto   0
 0
 /dev/acd1   /dvd2   cd9660  ro,noauto   0
 0
 linprocfs   /compat/linux/proc   linprocfs   rw   0  0
 bash moibsd maco /usr/home/maco 4 $
 bash moibsd maco /usr/home/maco 4 $
 bash moibsd maco /usr/home/maco 4 $
 bash moibsd maco /usr/home/maco 4 $

 bash moibsd maco /usr/home/maco 4 $ df
 bash moibsd maco /usr/home/maco 4 $ df
 bash moibsd maco /usr/home/maco 4 $ df
 bash moibsd maco /usr/home/maco 4 $ df
 Filesystem  1K-blocks UsedAvail Capacity  Mounted on
 /dev/ad8s3a  91913630 37443012 4711752844%/
 devfs   110   100%/dev
 linprocfs   440   100%/usr/compat/linux/proc
 bash moibsd maco /usr/home/maco 5 $
 bash moibsd maco /usr/home/maco 5 $

 Comparing that with the information in the mail list
 and this page:

 http://www.lemis.com/grog/diary-apr2006.html#21
 suggests to me,
 that this Grub entry would be appropriate:

 title FreeBSD 5.5
 root (hd8,2,a)
 kernel /boot/loader


Dang, I always mix up XP and FBSD syntax. Yes, that looks fine. Good luck!


Jeff



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


Re: BFG 7650 GX2 can't find valid mode

2006-09-17 Thread Alastair G. Hogge
On Sunday 17 September 2006 10:20, [EMAIL PROTECTED] wrote:
 Hello all,
Hello,

 I'm having a slight issue with my new FreeBSD box - when I test the
 xorg.conf.new file that Xorg -configure creates I get an error that says

 (EE) NV(1): Cannot read V_BIOS (3)
 (EE) NV(1): No valid modes found

 I searched around on the internet and found some modeline information for a
 similar setup to mine which I tried

 without success. I then installed the latest FreeBSD nvidia drivers which,
 after installing compat5x and running

 nvidia-xconfig, caused my machine to reboot every time I tried X -config on
 the file.

 I found that I could stop my system from rebooting when I replaced Driver
 nvidia with Driver nv in the Device

 sections in the config file but this took me back to square one.

 Finally I tried connecting the system up to an iiyama Vision Master 400
 (CRT) and had exactly the same problem :(

 Here is my current setup:

 Intel Duo 2 Core E6700
 4GB of Corsair RAM
Very cool

 260GB SATA HDD (1) - XP
 80GB SATA HDD (2) - FreeBSD
Swap them around ;-)

 BFG 7950 GX2
The FreeBSD NVIDIA kernel driver does not support GeForce cards above 7900GTX. 
If they did I would've bought a couple myself, instead I bought a cheap Forsa 
7900GTX until there's support for the higher cards.

There was a thread on one of the lists from zander(NVIDIA) about some needed 
functionality to improve PCIe, add SLI, and lots of other crap I have no 
understanding of.

As for X.org, it also looks like it doesn't support your card :-( only 
supports upto the *7800*

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


Re: Plesk and FreeBSD 6.1 64-bit getting frustrating

2006-09-17 Thread ovidiu ene

Hello

We were using Plesk on FreeBSD 5.4, i386, and had a lot of problem with 
qmail wich is crashing sometimes without any reason. We tried differend 
tips found on forums and disabling antivirus and modifying some script 
we managed to restart the crashed mail service by watchdog, but still 
the mail service crash more than ten times a day. The problem with 
crashing qmail was found not only on FreeBSD but on Linux too. So our 
learned lesson was: 1. don't try even to make it work if is not designed 
for your version of bsd, is a waste of time, 2. Plesk 7.5 is not as good 
as we thought, you might try Plesk 8, maybe is better, but, I still 
recommend you CPanel. Is difficult to work with closed source code, if a 
problem occurs you do not know what to do.


Best Regards,
ovidiu

Dan Schultzer wrote:


Hello

I've got FreeBSD 6.1 installed on a Sun Fire X2100 server, and are  
trying to get plesk installed. But plesk isn't supported for FreeBSD  
6.1 64-bit version yet, so it has been hard work to try trick it. Now  
I want to trick the uname command to show the version needed for  
plesk installation. Any one having an easy and pretty safe way to do  
this? This is the last try before I trash FreeBSD as it's pretty  
important that this server come up and running soon, though I love  
FreeBSD :(


Also, I'm not member at this list so please mail / cc me directly.  
Thanks.


Regards,
Dan Schultzer
___
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]


Please Help with my kernel

2006-09-17 Thread ExTaZyTi

Hi,

I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
/usr/src is empty.
I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 28.8kbs/56kbs modems

2006-09-17 Thread David Fontenot
Thank you very much for your reply :-)

David Kelly [EMAIL PROTECTED] wrote:  
On Sep 16, 2006, at 3:29 PM, David Fontenot wrote:

 To whom it may concern,
   Currently, I am using Ubuntu Linux 6.06 and it is really a let- 
 down after I got it when I realized that Ubuntu does not do well  
 with 28.8kbs/56kbs modems.  It will not let me use my modem.

Cheap is the buzzword for internal modems. Windows only is a  
common way to make cheap modems, aka, winmodem. I have never used  
FreeBSD with a winmodem but understand there is a way to use some  
models. Has been many years since, but have used FreeBSD over dialup  
external modem with many years of success.

Generally one finds better support for Windows-specific hardware with  
Linux than FreeBSD. Linux seems to want badly to supplant Microsoft  
Windows and to that goal developers will work to equal every minutia.  
FreeBSD says, Bill who?, Bill Joy?

I was wondering how Free-bsd does with dial-up modems (2  
 year old computer) and highspeed interenet, (I might get high speed  
 soon).

Unless things have changed, FreeBSD works perfectly with external  
modems using PPP protocol to your ISP.

   P.S. If my family did share a high speed internet connection,  
 could I still connect to their network and share the internet, even  
 if they are both using Windows XP?

Yes. Either an XP machine can share its internet connection  
(presumably you will use ethernet) or your FreeBSD system can do the  
same for the others. Internet is not yet a Microsoft-proprietary  
protocol, quite the opposite as Unix shares its internet protocols  
with Microsoft.

Sent from MacOS X thru a shared network using a FreeBSD gateway.

--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.




-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Plesk and FreeBSD 6.1 64-bit getting frustrating

2006-09-17 Thread Dan Schultzer

Hi Ovidiu

Thanks for your information. Yeah, I've pretty much given up on this,  
so I'll use Suse instead and then later on, when I've more time, try  
get FreeBSD installed with a better CP. Thanks again.


Regards,
Dan Schultzer

Den 17. sep 2006 kl. 13:19 skrev ovidiu ene:


Hello

We were using Plesk on FreeBSD 5.4, i386, and had a lot of problem  
with qmail wich is crashing sometimes without any reason. We tried  
differend tips found on forums and disabling antivirus and  
modifying some script we managed to restart the crashed mail  
service by watchdog, but still the mail service crash more than ten  
times a day. The problem with crashing qmail was found not only on  
FreeBSD but on Linux too. So our learned lesson was: 1. don't try  
even to make it work if is not designed for your version of bsd, is  
a waste of time, 2. Plesk 7.5 is not as good as we thought, you  
might try Plesk 8, maybe is better, but, I still recommend you  
CPanel. Is difficult to work with closed source code, if a problem  
occurs you do not know what to do.


Best Regards,
ovidiu

Dan Schultzer wrote:


Hello

I've got FreeBSD 6.1 installed on a Sun Fire X2100 server, and  
are  trying to get plesk installed. But plesk isn't supported for  
FreeBSD  6.1 64-bit version yet, so it has been hard work to try  
trick it. Now  I want to trick the uname command to show the  
version needed for  plesk installation. Any one having an easy and  
pretty safe way to do  this? This is the last try before I trash  
FreeBSD as it's pretty  important that this server come up and  
running soon, though I love  FreeBSD :(


Also, I'm not member at this list so please mail / cc me  
directly.  Thanks.


Regards,
Dan Schultzer
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[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: When is BuildWorld necessary?

2006-09-17 Thread [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
No one has mentioned the security/freebsd-update port.  With that you 
can apply updates to the kernel and world without having to build them 
*if* (and only if!) you are running a GENERIC kernel.  For remote 
administration, this may be a good option for some.


I read that this can be used _only_ nothing has been re-compiled 
locally, of have I missed something?


We have custom kernel due to database needed optimizations.

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


Re: Please Help with my kernel

2006-09-17 Thread Alastair G. Hogge
On Sunday 17 September 2006 07:20, ExTaZyTi wrote:
 Hi,
iH,

 I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
 /usr/src is empty.
First you can start by following
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
to populate /usr/src and then read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

 I'm with FreeBSD 6.1-STABLE,
That's great,

 PLEASE HELP :( 
Hope the above is enuff
-Alastair
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Please Help with my kernel

2006-09-17 Thread [LoN]Kamikaze
ExTaZyTi wrote:
 Hi,
 
 I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
 /usr/src is empty.
 I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(

If you use 6.1 Release you can use sysinstall to install the sources from CD.
If you really use 6.1-STABLE you should know what you're doing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Suddenly Cups doesn't work anymore ...

2006-09-17 Thread P.U.Kruppa

Hi!

This is cups-1.2.2 on FreeBSD 6.2-PRERELEASE, all I know is I did some 
portupgrading.


Now Cups doesn't work anymore, i.e.
# lpstat -a
lpstat: Kann Server nicht erreichen
(Cannot reach server)

When I try to start Cups manually
# cupsd
cupsd: Child exited on signal 15!


Has anyone else seen this?

Regards and thanks,

Uli.




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


Moving to new PC

2006-09-17 Thread White Hat
I am planning on migrating to a new PC in the near
future, perhaps after FBSD 6.2 is released. I was
therefore wondering if the following scenario was
possible.

1) Tar up the /var/db/pkg directory on old system
2) Untar the collection into the same location on new
PC
3) Run portsnap to get an up-to-date ports collection
4) Run portmanager to actually install the ports.

I have close to 500 entries in the directory and
trying to install them all manually is a lot of work.
Of course there are META packages like KDE, but still
I would have a lot of manual work involved to get it
all back to the same state I had it in on the old PC.
It would seem to me that by doing it in this fashion
all of the programs would be built correctly for the
new system which is going to be quite a bit different
than the one I have now.

In theory this seems to work, but I wanted to know if
it is actually possible before attempting it.

-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Calling setxkbmap when starting X

2006-09-17 Thread Ivan \Rambius\ Ivanov

Hello,

Thank you for your response.


I think what you're looking for is xinit(1).  My own:

$ cat ~/.xinitrc
#!/bin/sh
xmodmap .xmodmaprc
xsetroot -solid dimgray
xgamma -gamma 0.8
exec /usr/X11R6/bin/gnome-session


I forgot to explain that I do not start X manually with startx
command. It is started on boot time by adding the following line in
/etc/ttys:

ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on  secure

I think that in this case ~/.xinitrc is not called.


Note also you can also define keyboard settings in rc.conf:

$ grep keymap /etc/rc.conf
keymap=us.iso.kbd.custom

My own custom keymap is a quick hack to swap the Caps_Lock key with
Escape for non-X uses (something that only vi users would appreciate).

Alternatively, KDE, like Gnome, etc. most likely offers a mechanism to
execute scripts at startup, but I'd advise against that approach.

I googled a little bit about localizing FreeBSD and found that one can
configure it in  xorg.conf. In my case I add the following setting in
the Keyboard section:

   Option  XkbLayoutus,bg
   Option  XkbOptions   grp:alt_shift_toggle
   Option  XkbVariant   ,phonetic

Regards
Ivan

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


NDIS/KLDload

2006-09-17 Thread Joel Adamson
Dear List,

I need to get the internet up and running on my new FreeBSD6.1 install.  I'm 
using a Belkin F5D7050 wireless adapter that is not recognized as a network 
interface in install.  This thing works perfectly with ndiswrapper under linux, 
which is how I'm writing this message.

I tried using NDISulator (ndis), following the handbook instructions to the 
keystroke and when I submit the last step

kldload if_ndis

I get cannot load if_ndis: file exists

What does this mean and how do I get it to actually work?

Thank you very much,
Joel
 
Joel J. Adamson 
Arlington, MA




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


Re: NDIS/KLDload

2006-09-17 Thread Bill Moran
Joel Adamson [EMAIL PROTECTED] wrote:

 Dear List,
 
 I need to get the internet up and running on my new FreeBSD6.1 install.  I'm 
 using a Belkin F5D7050 wireless adapter that is not recognized as a network 
 interface in install.  This thing works perfectly with ndiswrapper under 
 linux, which is how I'm writing this message.
 
 I tried using NDISulator (ndis), following the handbook instructions to the 
 keystroke and when I submit the last step
 
 kldload if_ndis
 
 I get cannot load if_ndis: file exists
 
 What does this mean and how do I get it to actually work?

It generally means that the indicated kld is already in the kernel.
Either it was already loaded, or it was compiled into the kernel.
Are you running GENERIC?  It doesn't look as if ndis is part of the
GENERIC kernel.  Try kldstat(8) to see what's loaded.

-- 
Bill Moran

That's why I never kiss 'em on the mouth.

Jayne Cobb

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


Re: Moving to new PC

2006-09-17 Thread Jonathan Horne
On Sunday 17 September 2006 08:35, White Hat wrote:
 I am planning on migrating to a new PC in the near
 future, perhaps after FBSD 6.2 is released. I was
 therefore wondering if the following scenario was
 possible.

 1) Tar up the /var/db/pkg directory on old system
 2) Untar the collection into the same location on new
 PC
 3) Run portsnap to get an up-to-date ports collection
 4) Run portmanager to actually install the ports.

 I have close to 500 entries in the directory and
 trying to install them all manually is a lot of work.
 Of course there are META packages like KDE, but still
 I would have a lot of manual work involved to get it
 all back to the same state I had it in on the old PC.
 It would seem to me that by doing it in this fashion
 all of the programs would be built correctly for the
 new system which is going to be quite a bit different
 than the one I have now.

 In theory this seems to work, but I wanted to know if
 it is actually possible before attempting it.

sounds interesting enough.  if you will supply the portmanager command syntax, 
ill supply the test computer, and post the results.

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


Getting a specific value from netstat

2006-09-17 Thread Paul Hoffman

Greetings again. If I do a 'netstat -I em0 -b', I get:

NameMtu Network   Address  Ipkts Ierrs Ibytes 
Opkts Oerrs Obytes  Coll
em01500 Link#1  00:0e:0c:67:c8:04 93555198 0 2179562966 
114493253 0  723565977 0
em01500 fe80:1::20e:c fe80:1::20e:cff:f0 -  0 
4 -288 -
em01500 192.245.12Balder-22735399016 - 1770283188 
114484197 - 3415268168 -
em01500 192.245.12.22 Balder-22827063120 - 1655024896 
0 -  0 -
em01500 192.245.12.22 Balder-22947427840 - 3954775975 
18975500 - 2445620452 -


What I care about is the number of input and output bytes (in this 
case, 2179562966 and 723565977). I can write a short Perl script to 
parse the netstat output, but I would rather just get the numbers 
directly from the OS. Are these values available without going 
through netstat?

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


Re: NDIS/KLDload

2006-09-17 Thread Alexander Sashurin

*This message was transferred with a trial version of CommuniGate(r) Pro*
Joel Adamson wrote:

Dear List,

I need to get the internet up and running on my new FreeBSD6.1 install.  I'm 
using a Belkin F5D7050 wireless adapter that is not recognized as a network 
interface in install.  This thing works perfectly with ndiswrapper under linux, 
which is how I'm writing this message.

I tried using NDISulator (ndis), following the handbook instructions to the 
keystroke and when I submit the last step

kldload if_ndis

I get cannot load if_ndis: file exists

What does this mean and how do I get it to actually work?

Thank you very much,
Joel
 
Joel J. Adamson 
Unfortunately, I don't know what's the reason of this bug, but i have 
found a way to get over it. I had the same problems with my MSI PC11B2 
adapter. try this method, using ndisgen:


ndisgen
  ... here we answer interactive questions and get tnet1130_sys.ko on 
out...

  cp tnet1130_sys.ko /boot/kernel/
  kldload ndis
  kldload if_ndis
  kldload tnet1130_sys

for automatic load write the following into /boot/loader.conf :
ndis_load=YES
  if_ndis_load=YES
  tnet1130_sys_load=YES

this method had helped me, i think it'll work in your case too.

--
With best regards, 
	Alexander Sashurin a.k.a. ZetRooT or ZetDaemonRoot
- - - - - - - - - - - - - - - - - - - 
| Mailto: [EMAIL PROTECTED] |

| ICQ: 258820442   |
| Mobile: +7-916-195-89-11 |
| irc: irc.wenet.ru, _ZetRooT_ |
- - - - - - - - - - - - - - - - - - - 


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


Re: When is BuildWorld necessary?

2006-09-17 Thread pauls

--On September 17, 2006 1:37:27 PM +0200 [EMAIL PROTECTED] wrote:


[EMAIL PROTECTED] wrote:

No one has mentioned the security/freebsd-update port.  With that you
can apply updates to the kernel and world without having to build them
*if* (and only if!) you are running a GENERIC kernel.  For remote
administration, this may be a good option for some.


I read that this can be used _only_ nothing has been re-compiled
locally, of have I missed something?

We have custom kernel due to database needed optimizations.

That's correct.  If you have a custom kernel, you cannot use 
freebsd-update.


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


Anyone know of a quick and dirty setup guide for Dell's DRAC?

2006-09-17 Thread pauls
I'm assuming I can get it working using Linux emulation, but I've never 
dealt with DRAC cards before, so I'm a bit lost.  Really want to get it 
working though.


This is a Dell 1950 with DRAC 5.  I used Ctrl E to get into setup and hard 
coded an IP and mask, but I can't ping the card.  Does the software have 
to be installed before the card will respond to pings?


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


Re: Please Help with my kernel

2006-09-17 Thread Michael L. Squires



On Sun, 17 Sep 2006, ExTaZyTi wrote:


Hi,

I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
/usr/src is empty.
I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(


You didn't install sources hwen you installedyour system.  The short 
answer is that you need to read the section in the handbook on running 
cvsup and getting the most recent STABLE sources, plus the section on 
configuring and rebuilding the kernel.


You'll need to install the sources; the easiest way (for me) is 
to use cvsup.  You'll need to install cvsup-without-gui from ports 
(I use sysinstall), 
create a /etc/cvsupfile file, create the /usr/local/etc/cvsup directory, 
and then excute /usr/local/bin/cvsup -g -L 2 /etc/cvsupfile.


My cvsupfile, which downloads all the sources, looks like the following. 
You'll want to replace cvsup1.FreeBSD.org with a local mirror.


*default host=cvsup1.FreeBSD.org
*default base=/usr/local/etc/cvsup
*default prefix=/usr
*default release=cvs tag=RELENG_6
*default delete use-rel-suffix
*default compress
src-all
Bports-all tag=.
#doc-all tag=.

Mike Squires
UNIX(tm) at home
since 1986

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


Re: Moving to new PC

2006-09-17 Thread White Hat
--- Jonathan Horne [EMAIL PROTECTED] wrote:

[...]

 sounds interesting enough.  if you will supply the
 portmanager command syntax, 
 ill supply the test computer, and post the results.



I guess I would want to run portmanager in a force
update mode.

portmanager -u -f -l -y

should do it. It will create a log in
/var/log/portmanager.log so at least we can see what
transpires. The '-y' flag may not be necessary, but
should not hurt. It will force it to answer yes to any
questions. The only problem that I could forsee is the
building of Java. Those files would have to be
download prior to the build and installed in the
/usr/ports/distfiles directory. I think portmanager by
default does not do Java. That means that the
pm-020.conf file will have to be modified. Not a big
deal though.


-- 

White Hat 
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using BSD as filter

2006-09-17 Thread Dave
I am interested in using BSD on a computer between my cable modem and a router 
which is both wireless and hardwired. Is this something that anyone could 
advise me of such as:
1) Which bsd software would be best for my purpose.
2) I am interested in what the minimum speed and required memory might be 
to ensure the computer would not be a bottle-neck on the data coming in.
2) I am interested in using a different email software instead of Outlook 
Express. Does BSD have one available or could one be recommended?
3) I am interested in other software that would work with BSD also.

Please contact me at [EMAIL PROTECTED]

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


script process using a lot of processor power during portupgrade

2006-09-17 Thread Andréas Berg

Greetings,

I've been encountering a problem on several FreeBSD 6.1 boxes lateley 
with portupgrade. A screen process, used for logging etc uses close to 
all cpu power 40%+, often around 80%. This of course makes things take 
ages(been portupgrading KDE for 5 days now on my Athlon XP 2400+ with 
1GB of memory) and it also seem to make dialog windows that apperat to 
loose fokus, I just get a regular marker and trying to move it around 
just gets me funny characters on the screen and all I can do is press 
ctrl+c which also makes the terminal window to lose its proper width and 
hight.


Has anyone else encountered this? is there a solution?

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


Newbie Experience (As promised)

2006-09-17 Thread Joel Adamson
Dear Very Helpful and Informative FreeBSD List,

I installed FreeBSD on Friday Night and tried very hard to get it all working.  
My initial X problem actually fixed itself (you can imagine my surprise), 
however, even with that, our computer is useless as a desktop (or anything 
else) without an internet connection.  My hardware is unsupported and despite 
my best efforts, I decided it would be better to expedite the process and I 
installed Mepis Linux.

I would hardly describe it the way another newbie did one week ago.  It was a 
good challenge.  I'll wait until I'm a better administrator and there's more 
support for hardware I might have.

The only really annoying thing was that I perpetually had trouble mounting my 
usb flash drive.  I think this was a filesystem problem.

Thanks for any help you've offered,
Joel
 
Joel J. Adamson 
Arlington, MA




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


Re: rebooting into single user mode on a remote server

2006-09-17 Thread Daniel Gerzo
Hello pobox,

Saturday, September 16, 2006, 8:47:04 PM, you wrote:

 Hello,

 could somebody help me to understand the best way to enter into a single
 user mode on a remote server.

 I need it for the moment, during rebuilding world, when I have to reboot
 into single user mode before 'mergemaster -p'.

I don't want to persuade you to something that is not officially
supported, but I have never booted into single user mode while
upgrading my FreeBSD boxes and I have never experienced any problems
because of this. Just try to skip the reboot step and go ahead. It
works(tm) for me this way.

If you are paranoid, try to stop all running services except the ssh
deamon.

-- 
Best regards,
 Danielmailto:[EMAIL PROTECTED]

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


Sendmail on FBSD server wont connect to remote user.

2006-09-17 Thread [EMAIL PROTECTED]

Aloha Questions list,

I have been trying to setup Sendmail on a server box.
FreeBSD 6.1 HP Pentium II 300 CPU 686

After many attempts I am down to this one error.

Error:
Sending of password did not succeed. Mail server 
mahalo.internetohana.org responded:

Password supplied for [EMAIL PROTECTED] is incorrect.


I have 2 user accounts for test on this swever. I can ping and telnet 
into ports 25 and 110 and I get the proper responses from these users.


The 2 user accounts are rejected as per the error when I try to connect 
from a mail agent (Mozilla or Thunderbird) from another box on a 
different inet. (Also FreeBSD 4.11 running for several years.)



The server is setup with send mail SMTP and qpopper for Pop3. There is 
nothing else on this box.


Do I have to create a password file other than the FreeBSD  /etc/passwd 
and /etc/master.passwd

to get this to work.

My previous attempts with Postfix and Dovecot did not get this far.

Thanks for any help.

Al Plant - Honolulu, Hawaii

- Admin -- http://hawaiidakine.com -- http://hdk5.com -- 
-- http://internetohana.org -- http://freeBSDinfo.org --

+ Supporting open source computing - FreeBSD 6.* +


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


Re: Moving to new PC

2006-09-17 Thread Jonathan Horne
On Sunday 17 September 2006 12:44, White Hat wrote:
 --- Jonathan Horne [EMAIL PROTECTED] wrote:

 [...]

  sounds interesting enough.  if you will supply the
  portmanager command syntax,
  ill supply the test computer, and post the results.

 I guess I would want to run portmanager in a force
 update mode.

   portmanager -u -f -l -y

 should do it. It will create a log in
 /var/log/portmanager.log so at least we can see what
 transpires. The '-y' flag may not be necessary, but
 should not hurt. It will force it to answer yes to any
 questions. The only problem that I could forsee is the
 building of Java. Those files would have to be
 download prior to the build and installed in the
 /usr/ports/distfiles directory. I think portmanager by
 default does not do Java. That means that the
 pm-020.conf file will have to be modified. Not a big
 deal though.

ok, test run #1 is under way.  i built a system using the same base install 
that i did for my workstation (minimal).  as prescribed, i then copied over 
the entire /var/db/pkg/ directory from my worktation to the new system, and 
issued the command 'portmanager -u -f -l -y'.  so far, the test system is 
behaving as the experiment expected, and it is currently downloading sources 
and it looks to be building packages.

ill update again later (probably need about a day, this test system is but an 
athlon 2000+ with an ages old hard drive).

**update before i click send**
the -y flag does not appear to be honored here, as gettext just stop to ask me 
what i would like built.

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


php5 module is not created

2006-09-17 Thread David Banning
I am attempting to install php with apache13. It seems that the mod_php5
port does not exist in the ports. The main php5 port does not seem to
create the module. Without the php5 module, how does what get php5 
to work with apache13?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 module is not created

2006-09-17 Thread Daniel Gerzo
Hello David,

Sunday, September 17, 2006, 11:05:44 PM, you wrote:

 I am attempting to install php with apache13. It seems that the mod_php5
 port does not exist in the ports. The main php5 port does not seem to
 create the module. Without the php5 module, how does what get php5 
 to work with apache13?

Try make config in the lang/php5 port.

-- 
Best regards,
 Danielmailto:[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: php5 module is not created

2006-09-17 Thread David Banning
On Sun, Sep 17, 2006 at 11:11:58PM +0200, Daniel Gerzo wrote:
 Hello David,
 
 Sunday, September 17, 2006, 11:05:44 PM, you wrote:
 
  I am attempting to install php with apache13. It seems that the mod_php5
  port does not exist in the ports. The main php5 port does not seem to
  create the module. Without the php5 module, how does what get php5 
  to work with apache13?
 
 Try make config in the lang/php5 port.

Is that the same as make configure? - I have been doing that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 module is not created

2006-09-17 Thread Jonathan Horne
On Sunday 17 September 2006 16:05, David Banning wrote:
 I am attempting to install php with apache13. It seems that the mod_php5
 port does not exist in the ports. The main php5 port does not seem to
 create the module. Without the php5 module, how does what get php5
 to work with apache13?

you need to check the 'make config' in the lang/php5 port before you build it.

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


Port Configuration

2006-09-17 Thread Chris Maness
The first time one builds a port (i.e. php5), a selection of different 
modules or optional compatibility is shown to the user (i.e. apache 
module).  At this point one would make the appropriate selections and 
continue with this build.  However, I have noticed, if a mistake is 
made, and you decide to deinstall and reinstall the application, there 
is no such dialog screen again.  You are stuck with your old choices.  I 
have dried to delete the whole port and reinstall it.  However, it still 
does not give you the dialog box that allowed you to make the initial 
selection.  How do I fix this?


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


Re: Port Configuration

2006-09-17 Thread Matthew Seaman
Chris Maness wrote:
 The first time one builds a port (i.e. php5), a selection of different
 modules or optional compatibility is shown to the user (i.e. apache
 module).  At this point one would make the appropriate selections and
 continue with this build.  However, I have noticed, if a mistake is
 made, and you decide to deinstall and reinstall the application, there
 is no such dialog screen again.  You are stuck with your old choices.  I
 have dried to delete the whole port and reinstall it.  However, it still
 does not give you the dialog box that allowed you to make the initial
 selection.  How do I fix this?

You read the ports(7) man page carefully, and follow the instructions
in there.  Especially the bits about 'make config'.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re[2]: php5 module is not created

2006-09-17 Thread Daniel Gerzo
Hello David,

Sunday, September 17, 2006, 11:15:17 PM, you wrote:

 On Sun, Sep 17, 2006 at 11:11:58PM +0200, Daniel Gerzo wrote:
 Hello David,
 
 Sunday, September 17, 2006, 11:05:44 PM, you wrote:
 
  I am attempting to install php with apache13. It seems that the mod_php5
  port does not exist in the ports. The main php5 port does not seem to
  create the module. Without the php5 module, how does what get php5 
  to work with apache13?
 
 Try make config in the lang/php5 port.

 Is that the same as make configure? - I have been doing that.

It isn't. Please read the ports(7) manual page :-)

-- 
Best regards,
 Danielmailto:[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: php5 module is not created

2006-09-17 Thread David Banning
  Sunday, September 17, 2006, 11:05:44 PM, you wrote:
  
   I am attempting to install php with apache13. It seems that the mod_php5
   port does not exist in the ports. The main php5 port does not seem to
   create the module. Without the php5 module, how does what get php5 
   to work with apache13?
  
  Try make config in the lang/php5 port.
 
 Is that the same as make configure? - I have been doing that.

Not the same. Thanks for the tip.. 

As per the handbook, the config manual does not come up again after
the first install try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port Configuration

2006-09-17 Thread albi
On Sun, 17 Sep 2006 14:21:00 -0700
Chris Maness [EMAIL PROTECTED] wrote:

 The first time one builds a port (i.e. php5), a selection of
 different modules or optional compatibility is shown to the user
 (i.e. apache module).  At this point one would make the appropriate
 selections and continue with this build.  However, I have noticed, if
 a mistake is made, and you decide to deinstall and reinstall the
 application, there is no such dialog screen again.  You are stuck
 with your old choices.  I have dried to delete the whole port and
 reinstall it.  However, it still does not give you the dialog box
 that allowed you to make the initial selection.  How do I fix this?

in the port-dir, do : make rmconfig  (you can also look
in /var/db/ports/)

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


Re: php5 module is not created

2006-09-17 Thread Matthew Seaman
David Banning wrote:
 On Sun, Sep 17, 2006 at 11:11:58PM +0200, Daniel Gerzo wrote:
 Hello David,

 Sunday, September 17, 2006, 11:05:44 PM, you wrote:

 I am attempting to install php with apache13. It seems that the mod_php5
 port does not exist in the ports. The main php5 port does not seem to
 create the module. Without the php5 module, how does what get php5 
 to work with apache13?

 Try make config in the lang/php5 port.
 
 Is that the same as make configure? - I have been doing that.

No.  'make config' and 'make configure' do two very different things.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Port Configuration

2006-09-17 Thread chris
 On Sun, 17 Sep 2006 14:21:00 -0700
 Chris Maness [EMAIL PROTECTED] wrote:

 The first time one builds a port (i.e. php5), a selection of
 different modules or optional compatibility is shown to the user
 (i.e. apache module).  At this point one would make the appropriate
 selections and continue with this build.  However, I have noticed, if
 a mistake is made, and you decide to deinstall and reinstall the
 application, there is no such dialog screen again.  You are stuck
 with your old choices.  I have dried to delete the whole port and
 reinstall it.  However, it still does not give you the dialog box
 that allowed you to make the initial selection.  How do I fix this?

 in the port-dir, do : make rmconfig  (you can also look
 in /var/db/ports/)

 --
 grtjs,
 albi

Perfect, thanks

Chris Maness

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


Re: php5 module is not created

2006-09-17 Thread [EMAIL PROTECTED]

David Banning wrote:

I am attempting to install php with apache13. It seems that the mod_php5
port does not exist in the ports. The main php5 port does not seem to
create the module. Without the php5 module, how does what get php5 
to work with apache13?


I think mod_php5 and all other forms are merged now into the php5 port.

As it was already said, you should 'make config' within the port 
directory in order to get the screen with the knobs, where you can 
choose what you want to be installed.


To my experience the mod_php was not on by default, that's why you do 
not get it. I had the same problem some time ago.


Iv.

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


Re: rebooting into single user mode on a remote server

2006-09-17 Thread [EMAIL PROTECTED]

Daniel Gerzo wrote:

Hello pobox,

Saturday, September 16, 2006, 8:47:04 PM, you wrote:


Hello,



could somebody help me to understand the best way to enter into a single
user mode on a remote server.



I need it for the moment, during rebuilding world, when I have to reboot
into single user mode before 'mergemaster -p'.


I don't want to persuade you to something that is not officially
supported, but I have never booted into single user mode while
upgrading my FreeBSD boxes and I have never experienced any problems
because of this. Just try to skip the reboot step and go ahead. It
works(tm) for me this way.

If you are paranoid, try to stop all running services except the ssh
deamon.


Phew... I hear this again and again.

Only I am not sure I have the level of boldness to do this on a 
production machine.


Isn't the following sequence of steps similar - 'shutdown -r now' 
(reboots in multi-user mode), and then immediately 'shutdown now' (drops 
to single user mode)?


Iv.

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


how to apply a patch set

2006-09-17 Thread [EMAIL PROTECTED]

Hello,

I am trying to apply a patch set to FreeBSD 5.5 (this letter 'p' 
followed by a number, after the version in 'uname -a') - but somehow it 
did not work.


I cvsup-ed the src using the standard 'stable-supfile' with '*default 
release=cvs tag=RELENG_5_5' - then I rebuild world.


Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'. Before it was 'FreeBSD 
5.5 RELEASE #0'. So instead of applying patch set I have moved to 'STABLE'.


Could somebody tell me what have I done wrong? Actually - what is the 
difference between the 'pX' and the '#X' after the version?


Thank you,
Iv

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


Re: how to apply a patch set

2006-09-17 Thread Matthew Seaman
[EMAIL PROTECTED] wrote:
 Hello,
 
 I am trying to apply a patch set to FreeBSD 5.5 (this letter 'p'
 followed by a number, after the version in 'uname -a') - but somehow it
 did not work.
 
 I cvsup-ed the src using the standard 'stable-supfile' with '*default
 release=cvs tag=RELENG_5_5' - then I rebuild world.
 
 Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'. Before it was 'FreeBSD
 5.5 RELEASE #0'. So instead of applying patch set I have moved to 'STABLE'.
 
 Could somebody tell me what have I done wrong? Actually - what is the
 difference between the 'pX' and the '#X' after the version?

You've shifted your self onto the RELENG_5 code branch rather than the
RELENG_5_5 branch.

RELENG_5 is most of the time going to give you a system version of
5.5-STABLE.  RELENG_5_5 gives you 5.5-RELEASE-pX.

As 5.5-RELEASE is has apparently been the last ever release of
FreeBSD 5.x, you'll find that there isn't actually that much difference
between 5.5-STABLE and 5.5-RELEASE-pX.  If you'ld been talking about
RELENG_6 versus RELENG_6_1 then as that that includes some very active
development on RELENG_6 then things would be different.

The '#N' business after the version number is a counter showing how 
many times you've updated your kernel.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: how to apply a patch set

2006-09-17 Thread [EMAIL PROTECTED]

Matthew Seaman wrote:

[EMAIL PROTECTED] wrote:

Hello,

I am trying to apply a patch set to FreeBSD 5.5 (this letter 'p'
followed by a number, after the version in 'uname -a') - but somehow it
did not work.

I cvsup-ed the src using the standard 'stable-supfile' with '*default
release=cvs tag=RELENG_5_5' - then I rebuild world.

Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'. Before it was 'FreeBSD
5.5 RELEASE #0'. So instead of applying patch set I have moved to 'STABLE'.

Could somebody tell me what have I done wrong? Actually - what is the
difference between the 'pX' and the '#X' after the version?


You've shifted your self onto the RELENG_5 code branch rather than the
RELENG_5_5 branch.


Yes... but how did it happen after I instructed the supfile to get 
'RELENG_5_5'?


Actually in the examples/cvsup I did not find any example how to do 
'release'.


Thank you for the other answers!
Iv.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipfw and temporary port access

2006-09-17 Thread Daniel Bye
On Sat, Sep 16, 2006 at 03:06:13PM -0700, Noah wrote:
 Hi there,
 
 I am trying to figure out how to open a port temporarily for a specific 
 IP who is able to provide a proper username and password on the website 
 of the box.  After authentication is verified then the IP address is 
 cached and temporarily allowed to access a specific port on the 
 server.   This temporary firewall changes would be handled by ipfw.
 
 Any clues if a system like this is a already coded and out there somewhere?

Take a look at security/doorman or security/knock, both of which might
fit the bill.

Dan

-- 
Daniel Bye

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


pgpm8ocTz1lr8.pgp
Description: PGP signature


Detecting non-attach/detach USB events

2006-09-17 Thread Warren Block
My Epson 1640SU scanner has a single pushbutton on it.  It would be very 
nice to detect this button press and have it trigger xsane.


usbd.conf currently only detects USB attach/detach events, so it looks 
like that isn't going to work.


Has anyone figured out a way to do this?

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


Re: Terri Market News

2006-09-17 Thread Bob
On Sunday 17 September 2006 19:59, Ellen Hortense wrote:
 CYBERHAND TECH INC(CYHD)
 Stock Radar Presents
snip
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

How is it that this list gets SPAM? It seems to happen quite often. I 
subscribe to a ton of and run a couple of Mailman lists and never see spam 
except on this list.  Just curious

Bob
 


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


Re: NDIS/KLDload

2006-09-17 Thread Jona Joachim
Bill Moran wrote:
 Joel Adamson [EMAIL PROTECTED] wrote:
 
 Dear List,

 I need to get the internet up and running on my new FreeBSD6.1 install.  I'm 
 using a Belkin F5D7050 wireless adapter that is not recognized as a network 
 interface in install.  This thing works perfectly with ndiswrapper under 
 linux, which is how I'm writing this message.

 I tried using NDISulator (ndis), following the handbook instructions to the 
 keystroke and when I submit the last step

 kldload if_ndis

 I get cannot load if_ndis: file exists

 What does this mean and how do I get it to actually work?
 
 It generally means that the indicated kld is already in the kernel.

The easiest is to unload it and load it again.

kldunload if_ndis
kldload if_ndis

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


Suggestions for embedded systems... ?

2006-09-17 Thread Brian J. McGovern
All,
I've been browsing the FreeBSD site looking for a system I can
embed in the car. Optimally, it will do video output via a RCA cable (ala your
VCR) so I can plug it in to one of the new Alpine radios with an AUX in. Input
will probably come via a USB gaming pad (arrow keys, a few buttons, and 16-20
keys). I'd like to have bluetooth and 802.11b/g for communicating with a base
station and the in car GPS and phone audio systems. USB (4-6 ports) would
be perfect - I can get the keyboard, bluetooth, 802.11g, and ODB II 
connectors in without a hub. Most I've seen boot from compact flash, but 
booting from a USB thumb drive or SD ram would also be useful. Audio would 
also be nice, but I can get away with the bluetooth link.

The form factor should be as small as possible for under-seat, 
behind-dash, or trunk installation.

I've seen the Soekris systems, and they're at a good price point, but
while they'd support most of what I'd need, they don't seem to have RCA video
output, which would be a major plus for real time color displays of status and
information (has anyone played with the USB video options available? Does 
FreeBSD support them?)

Suggestions? Comments? Projects already done?

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


Disable ARP cache / change arp timeout

2006-09-17 Thread Jonathan Desrochers
Hello,

I have several FreeBSD 6.0-RELEASE servers connected to a local area
network in Atlanta.  The network design is setup so that there are two
pairs of routers, one at each end of a T1.  Each end of the network uses
GLBP (Cisco's Gateway Load Balancing Protocol) to distribute load over
the two routers, and provide redundancy in the event of a failure.  This
design works great when there are lots of hosts connecting to the glbp
interface, because GLBP provides a virtual address that the two routers
share, and then alternate arp responses between the two routers.

The problem I am having is that each server cache's the mac address of
router A or router B for at least 5 minutes.  This means that for 5
minutes it sends it traffic to router A, then for 5 minutes to router B,
and so on.  I need a way to tell each host to re-arp a lot more often.
Or, maybe I am thinking about this the wrong way.  

The end result, I need a way for the server to distribute the traffic
over the two gateways.  I tried using IPFW's to write a rule that I
found online to use probability (50%) to fwd the outbound packets to
another IP address, but that didn't seem to work.  If this was possible,
I could easily setup two GLBP interfaces on the lan and we could have
the FreeBSD server alternate outbound packets between them.

Any comments or suggestions would be greatly appreciated.

Thank you,

Jonathan


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


Disable ARP cache / change arp timeout

2006-09-17 Thread Jonathan Desrochers
Hello,

I have several FreeBSD 6.0-RELEASE servers connected to a local area
network in Atlanta.  The network design is setup so that there are two
pairs of routers, one at each end of a T1.  Each end of the network uses
GLBP (Cisco's Gateway Load Balancing Protocol) to distribute load over
the two routers, and provide redundancy in the event of a failure.  This
design works great when there are lots of hosts connecting to the glbp
interface, because GLBP provides a virtual address that the two routers
share, and then alternate arp responses between the two routers.

The problem I am having is that each server cache's the mac address of
router A or router B for at least 5 minutes.  This means that for 5
minutes it sends it traffic to router A, then for 5 minutes to router B,
and so on.  I need a way to tell each host to re-arp a lot more often.
Or, maybe I am thinking about this the wrong way.  

The end result, I need a way for the server to distribute the traffic
over the two gateways.  I tried using IPFW's to write a rule that I
found online to use probability (50%) to fwd the outbound packets to
another IP address, but that didn't seem to work.  If this was possible,
I could easily setup two GLBP interfaces on the lan and we could have
the FreeBSD server alternate outbound packets between them.

Any comments or suggestions would be greatly appreciated.

Thank you,

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


which xorg file??

2006-09-17 Thread Gary Kline

Folks,

Which ports file do I build to fill the standard 
/usr/X11R6/bin file?  I have 6.1-RELEASE and having 
migraines with getting the necessary files.  If installing
gnome|kde-lite is/may be part of it, can somebody clue me 
in?

tia, 

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


SPAM (Was: Re: Terri Market News)

2006-09-17 Thread Gary Kline
On Sun, Sep 17, 2006 at 08:05:00PM -0400, Bob wrote:
 On Sunday 17 September 2006 19:59, Ellen Hortense wrote:
  CYBERHAND TECH INC(CYHD)
  Stock Radar Presents
 snip
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 How is it that this list gets SPAM? It seems to happen quite often. I 
 subscribe to a ton of and run a couple of Mailman lists and never see spam 
 except on this list.  Just curious


You and me both, friend.  Seems like there are around a dozen
(+/-) spammers who use some kind of Make-a-Million spam service
peddling X, Y, Z junk.  I have a few spamblockers on my sendmail,
but a lot of this Krapp gets thru...  I've tried to set up custom
filters but am either too dense or impaient to get it anywhere 
near working.  It's easier to just hit 'd' than anything.
*sigh*.

gary

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

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: Suggestions for embedded systems... ?

2006-09-17 Thread backyard


--- Brian J. McGovern [EMAIL PROTECTED] wrote:

 All,
   I've been browsing the FreeBSD site looking for a
 system I can
 embed in the car. Optimally, it will do video output
 via a RCA cable (ala your
 VCR) so I can plug it in to one of the new Alpine
 radios with an AUX in. Input
 will probably come via a USB gaming pad (arrow keys,
 a few buttons, and 16-20
 keys). I'd like to have bluetooth and 802.11b/g for
 communicating with a base
 station and the in car GPS and phone audio systems.
 USB (4-6 ports) would
 be perfect - I can get the keyboard, bluetooth,
 802.11g, and ODB II 
 connectors in without a hub. Most I've seen boot
 from compact flash, but 
 booting from a USB thumb drive or SD ram would also
 be useful. Audio would 
 also be nice, but I can get away with the bluetooth
 link.
 
   The form factor should be as small as possible for
 under-seat, 
 behind-dash, or trunk installation.
 
   I've seen the Soekris systems, and they're at a
 good price point, but
 while they'd support most of what I'd need, they
 don't seem to have RCA video
 output, which would be a major plus for real time
 color displays of status and
 information (has anyone played with the USB video
 options available? Does 
 FreeBSD support them?)
 
   Suggestions? Comments? Projects already done?
 
   -Brian
 ___
 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: how to apply a patch set

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: Matthew Seaman [EMAIL PROTECTED]
 Subject: Re: how to apply a patch set
 Date: Mon, 18 Sep 2006 00:48:32 +0200
 
 
 Matthew Seaman wrote:
  [EMAIL PROTECTED] wrote:
  Hello,
 
  I am trying to apply a patch set to FreeBSD 5.5 (this letter 'p'
  followed by a number, after the version in 'uname -a') - but somehow it
  did not work.
 
  I cvsup-ed the src using the standard 'stable-supfile' with '*default
  release=cvs tag=RELENG_5_5' - then I rebuild world.
 
  Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'. Before it was 'FreeBSD
  5.5 RELEASE #0'. So instead of applying patch set I have moved to 'STABLE'.
 
  Could somebody tell me what have I done wrong? Actually - what is the
  difference between the 'pX' and the '#X' after the version?
 
  You've shifted your self onto the RELENG_5 code branch rather than the
  RELENG_5_5 branch.
 
 Yes... but how did it happen after I instructed the supfile to get 
 'RELENG_5_5'?
 
 Actually in the examples/cvsup I did not find any example how to do 'release'.
 
 Thank you for the other answers!
 Iv.





i think I've read abt this long time ago.. but not pretty sure ( someone 
correct me if I'm wrong )..

u can try:

*default release=cvs tag=RELENG_5_5_RELEASE


anyway i never tried this! and i never encounter the prob u'va said since 4.x 
--- 6.1
( and I'm normally/mostly using -pX than STABLE for my prod server ). Seems 
your method/tag

tag=RELENG_5_5 is correct way to patch to -pX, i can't find any reason why your 
system patched
into STABLE...

could u please copy+paste here your stable-supfile config?

TQ





-- 
___
Play 100s of games for FREE! http://games.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: Suggestions for embedded systems... ?

2006-09-17 Thread backyard


--- Brian J. McGovern [EMAIL PROTECTED] wrote:

 All,
   I've been browsing the FreeBSD site looking for a
 system I can
 embed in the car. Optimally, it will do video output
 via a RCA cable (ala your
 VCR) so I can plug it in to one of the new Alpine
 radios with an AUX in. Input
 will probably come via a USB gaming pad (arrow keys,
 a few buttons, and 16-20
 keys). I'd like to have bluetooth and 802.11b/g for
 communicating with a base
 station and the in car GPS and phone audio systems.
 USB (4-6 ports) would
 be perfect - I can get the keyboard, bluetooth,
 802.11g, and ODB II 
 connectors in without a hub. Most I've seen boot
 from compact flash, but 
 booting from a USB thumb drive or SD ram would also
 be useful. Audio would 
 also be nice, but I can get away with the bluetooth
 link.
 
   The form factor should be as small as possible for
 under-seat, 
 behind-dash, or trunk installation.
 
   I've seen the Soekris systems, and they're at a
 good price point, but
 while they'd support most of what I'd need, they
 don't seem to have RCA video
 output, which would be a major plus for real time
 color displays of status and
 information (has anyone played with the USB video
 options available? Does 
 FreeBSD support them?)
 
   Suggestions? Comments? Projects already done?
 
   -Brian
 ___
 freebsd-questions@freebsd.org mailing list

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

sorry about the blank one I dropped/catched the
keyboard with the wrong anykey...

http://www.aaeon.com/?TabIndex=ProductsTabID=DetailCate_ID={AEEE87FC-762C-45F1-AC39-54000B62A180}Item_ID={88258D2F-17B8-4FA5-80D3-31E93126D326}Product_ID={EE4FC77D-FCFD-40EE-AA27-3CFCEA592237}

is a PC104 board I found that seems to do what you
want. I've been comtemplating this for a while.
possibly when I finally fix my eldo... This might be a
little pricey I'm not certain. Good luck with the
project and keep us up to date. I am deffinately
interested in seeing one of these come to pass. if you
do opt for compact flash make sure its read-only, you
might want to use some sort of Harddrive. this one
does EIDE. 


-brian

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


Re: how to apply a patch set

2006-09-17 Thread backyard


--- Ahmad Arafat Abdullah [EMAIL PROTECTED] wrote:

 
  - Original Message -
  From: [EMAIL PROTECTED] [EMAIL PROTECTED]
  To: Matthew Seaman
 [EMAIL PROTECTED]
  Subject: Re: how to apply a patch set
  Date: Mon, 18 Sep 2006 00:48:32 +0200
  
  
  Matthew Seaman wrote:
   [EMAIL PROTECTED] wrote:
   Hello,
  
   I am trying to apply a patch set to FreeBSD 5.5
 (this letter 'p'
   followed by a number, after the version in
 'uname -a') - but somehow it
   did not work.
  
   I cvsup-ed the src using the standard
 'stable-supfile' with '*default
   release=cvs tag=RELENG_5_5' - then I rebuild
 world.
  
   Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'.
 Before it was 'FreeBSD
   5.5 RELEASE #0'. So instead of applying patch
 set I have moved to 'STABLE'.
  
   Could somebody tell me what have I done wrong?
 Actually - what is the
   difference between the 'pX' and the '#X' after
 the version?
  
   You've shifted your self onto the RELENG_5 code
 branch rather than the
   RELENG_5_5 branch.
  
  Yes... but how did it happen after I instructed
 the supfile to get 
  'RELENG_5_5'?
  
  Actually in the examples/cvsup I did not find any
 example how to do 'release'.
  
  Thank you for the other answers!
  Iv.
 
 
 
 
 
 i think I've read abt this long time ago.. but not
 pretty sure ( someone correct me if I'm wrong )..
 
 u can try:
 
 *default release=cvs tag=RELENG_5_5_RELEASE
 
 
 anyway i never tried this! and i never encounter the
 prob u'va said since 4.x --- 6.1
 ( and I'm normally/mostly using -pX than STABLE for
 my prod server ). Seems your method/tag
 
 tag=RELENG_5_5 is correct way to patch to -pX, i
 can't find any reason why your system patched
 into STABLE...
 
 could u please copy+paste here your stable-supfile
 config?
 
 TQ
 

STABLE is the latest set of patches to the system.
It will change the tag from RELEASE from the install
to the STABLE set of patches versus the CURRENT set.
STABLE is the major ones you want. CURRENT is all of
them to date.

If you cvsup to RELEASE you will downgrade and end up
with what you started with when you installed from CD
or whatever was available when the RELEASE cd was
created for whatever system your getting.

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


Re: rebooting into single user mode on a remote server

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: Daniel Gerzo [EMAIL PROTECTED]
 Subject: Re: rebooting into single user mode on a remote server
 Date: Sun, 17 Sep 2006 23:49:34 +0200
 
 
 Daniel Gerzo wrote:
  Hello pobox,
 
  Saturday, September 16, 2006, 8:47:04 PM, you wrote:
 
  Hello,
 
  could somebody help me to understand the best way to enter into a single
  user mode on a remote server.
 
  I need it for the moment, during rebuilding world, when I have to reboot
  into single user mode before 'mergemaster -p'.
 
  I don't want to persuade you to something that is not officially
  supported, but I have never booted into single user mode while
  upgrading my FreeBSD boxes and I have never experienced any problems
  because of this. Just try to skip the reboot step and go ahead. It
  works(tm) for me this way.
 
  If you are paranoid, try to stop all running services except the ssh
  deamon.
 
 Phew... I hear this again and again.
 
 Only I am not sure I have the level of boldness to do this on a 
 production machine.
 
 Isn't the following sequence of steps similar - 'shutdown -r now' 
 (reboots in multi-user mode), and then immediately 'shutdown now' 
 (drops to single user mode)?
 
 Iv.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




dudes,

I never tried it, and not dare to try it.. because it's a remote server and 
single mode maybe ( I'm not sure dude ) cut off all network connections from 
inside and outside..

anyway for remote servers, i'm prefer make installwold in normal mode.. it's 
safer


TQ 

-- 
___
Play 100s of games for FREE! http://games.mail.com

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


Re: Sendmail on FBSD server wont connect to remote user.

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: FreeBSD Users Questions freebsd-questions@freebsd.org
 Subject: Sendmail on FBSD server wont connect to remote user.
 Date: Sun, 17 Sep 2006 10:57:27 -1000
 
 
 Aloha Questions list,
 
 I have been trying to setup Sendmail on a server box.
 FreeBSD 6.1 HP Pentium II 300 CPU 686
 
 After many attempts I am down to this one error.
 
 Error:
 Sending of password did not succeed. Mail server 
 mahalo.internetohana.org responded:
 Password supplied for [EMAIL PROTECTED] is incorrect.
 
 
 I have 2 user accounts for test on this swever. I can ping and 
 telnet into ports 25 and 110 and I get the proper responses from 
 these users.
 
 The 2 user accounts are rejected as per the error when I try to 
 connect from a mail agent (Mozilla or Thunderbird) from another box 
 on a different inet. (Also FreeBSD 4.11 running for several years.)
 
 
 The server is setup with send mail SMTP and qpopper for Pop3. There 
 is nothing else on this box.
 
 Do I have to create a password file other than the FreeBSD  
 /etc/passwd and /etc/master.passwd
 to get this to work.
 
 My previous attempts with Postfix and Dovecot did not get this far.
 
 Thanks for any help.
 
 Al Plant - Honolulu, Hawaii
 
 - Admin -- http://hawaiidakine.com -- http://hdk5.com -- -- 
 http://internetohana.org -- http://freeBSDinfo.org --
 + Supporting open source computing - FreeBSD 6.* +


I'm leaving sendmail long ago since I'm migrated to Postfix..
but however as i still remember, default sendmail installation
is just listening to localhost.

so u need to alter the *.cf file ( in /etc/mail/ )..

# SMTP client options
O ClientPortOptions=Family=inet, Address=0.0.0.0

by default this line will be commented out ( with # or dnl ) or just listen to 
localhost

previously I faced this prob with old RedHat 7.x..

anyone who know this, maybe can correct me if I'm wrong

TQ







-- 
___
Play 100s of games for FREE! http://games.mail.com

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


php4 no longer has apache module?

2006-09-17 Thread Michael P. Soulier
So, I upgrade lang/php4.

php4-4.4.4  PHP Scripting Language (Apache Module and CLI)

And yet, it doesn't seem to contain the apache module.

[EMAIL PROTECTED] ~]$ pkg_info -L php4-4.4.4 | grep '\.so'
[EMAIL PROTECTED] ~]$ 

So now my apache setup is broken.

I guess I'll look for a separate apache module...

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpgdhcIBhLWa.pgp
Description: PGP signature


Re: which xorg file??

2006-09-17 Thread Norberto Meijome
On Sun, 17 Sep 2006 17:52:54 -0700
Gary Kline [EMAIL PROTECTED] wrote:

   Which ports file do I build to fill the standard 
   /usr/X11R6/bin file?  

not sure I follow your question... 
the xorg-server and xorg-clients ports will your basic standard X files and apps

xorg.conf doesn't sit in /usr/X11R6/bin, but /usr/X11R6/lib/X11/xorg.conf

the configuration apps to generate xorg.conf are  xorgcfg and xorgconfig (one X
based, the other text based)

[EMAIL PROTECTED] [Mon Sep 18 12:17:46 2006]
/usr/home/betom
$ locate xorgcfg
/usr/X11R6/bin/xorgcfg
/usr/X11R6/man/man1/xorgcfg.1.gz

[EMAIL PROTECTED] [Mon Sep 18 12:17:50 2006]
/usr/home/betom
$ locate xorgconfig
/usr/X11R6/bin/xorgconfig
/usr/X11R6/man/man1/xorgconfig.1.gz

If that's not what you need...let us know :)
_
{Beto|Norberto|Numard} Meijome

If you want to realize what a ridiculous word 'lifestyle' is, consider the
fact that technically speaking, Attila the Hun had an  active, outdoor
lifestyle. George Carlin

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to apply a patch set

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: backyard [EMAIL PROTECTED]
 To: Ahmad Arafat Abdullah [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL 
 PROTECTED], Matthew Seaman [EMAIL PROTECTED]
 Subject: Re: how to apply a patch set
 Date: Sun, 17 Sep 2006 19:00:24 -0700 (PDT)
 
 
 
 
 --- Ahmad Arafat Abdullah [EMAIL PROTECTED] wrote:
 
 
   - Original Message -
   From: [EMAIL PROTECTED] [EMAIL PROTECTED]
   To: Matthew Seaman
  [EMAIL PROTECTED]
   Subject: Re: how to apply a patch set
   Date: Mon, 18 Sep 2006 00:48:32 +0200
 Matthew Seaman wrote:
[EMAIL PROTECTED] wrote:
Hello,
   
I am trying to apply a patch set to FreeBSD 5.5
  (this letter 'p'
followed by a number, after the version in
  'uname -a') - but somehow it
did not work.
   
I cvsup-ed the src using the standard
  'stable-supfile' with '*default
release=cvs tag=RELENG_5_5' - then I rebuild
  world.
   
Now 'uname -a' reports 'FreeBSD 5.5 STABLE #0'.
  Before it was 'FreeBSD
5.5 RELEASE #0'. So instead of applying patch
  set I have moved to 'STABLE'.
   
Could somebody tell me what have I done wrong?
  Actually - what is the
difference between the 'pX' and the '#X' after
  the version?
   
You've shifted your self onto the RELENG_5 code
  branch rather than the
RELENG_5_5 branch.
Yes... but how did it happen after I instructed
  the supfile to get  'RELENG_5_5'?
Actually in the examples/cvsup I did not find any
  example how to do 'release'.
Thank you for the other answers!
   Iv.
 
 
 
 
 
  i think I've read abt this long time ago.. but not
  pretty sure ( someone correct me if I'm wrong )..
 
  u can try:
 
  *default release=cvs tag=RELENG_5_5_RELEASE
 
 
  anyway i never tried this! and i never encounter the
  prob u'va said since 4.x --- 6.1
  ( and I'm normally/mostly using -pX than STABLE for
  my prod server ). Seems your method/tag
 
  tag=RELENG_5_5 is correct way to patch to -pX, i
  can't find any reason why your system patched
  into STABLE...
 
  could u please copy+paste here your stable-supfile
  config?
 
  TQ
 
 
 STABLE is the latest set of patches to the system.
 It will change the tag from RELEASE from the install
 to the STABLE set of patches versus the CURRENT set.
 STABLE is the major ones you want. CURRENT is all of
 them to date.
 
 If you cvsup to RELEASE you will downgrade and end up
 with what you started with when you installed from CD
 or whatever was available when the RELEASE cd was
 created for whatever system your getting.
 
 -brian

ermm..
for me ( and as far as i know ) STABLE is a development patch and it will end up
with the next RELEASE version.. such as 5.4-STABLE will be patch gradually until
it became 5.5-RELEASE. Anyway 5.4-RELEASE-pX is a security fixes ( and possibly 
bugfix )
but it still remains as RELEASE and not 
migrating_into_the_next_version/release.


some of the people ( like me ) just prefer to -pX rather than -STABLE. So far 
i'm not needed -CURRENT yet
even RELEASE -pX is powerful enough and suits my needs for my prod servers..

for this case ( back to the topics ), I think this guy do the right method for 
cvsup-ed to 5.5-RELEASE-pX
but it end up with 5.5-STABLE. So i think we better help him and solve it since 
he maybe not need -STABLE
like u said

TQ


p/s: Correct me if I'm wrong anyone! 

-- 
___
Play 100s of games for FREE! http://games.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: Please Help with my kernel

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: [LoN]Kamikaze [EMAIL PROTECTED]
 To: ExTaZyTi [EMAIL PROTECTED]
 Subject: Re: Please Help with my kernel
 Date: Sun, 17 Sep 2006 13:41:45 +0200
 
 
 ExTaZyTi wrote:
  Hi,
 
  I'm new in FreeBSD, I want to conf and re-build my kernel but the directory
  /usr/src is empty.
  I'm with FreeBSD 6.1-STABLE, PLEASE HELP :(
 
 If you use 6.1 Release you can use sysinstall to install the sources from CD.
 If you really use 6.1-STABLE you should know what you're doing.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




Just wondering how u upgrade into -STABLE without compiling yr src and kernel?


-- 
___
Play 100s of games for FREE! http://games.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: Freebsd, Suse Linux dual booting

2006-09-17 Thread Ahmad Arafat Abdullah

 - Original Message -
 From: Jeff Rollin [EMAIL PROTECTED]
 To: Dan Bikle [EMAIL PROTECTED]
 Subject: Re: Freebsd, Suse Linux dual booting
 Date: Sun, 17 Sep 2006 01:59:36 +0100
 
 
 On 17/09/06, Dan Bikle [EMAIL PROTECTED] wrote:
 
  People,
 
  this is great info; thanks for taking time to type it up.
  I'm now convinced that Grub is good.
 
  On my FreeBSD box I see this:
 
  bash moibsd maco /usr/home/maco 3 $
  bash moibsd maco /usr/home/maco 3 $
  bash moibsd maco /usr/home/maco 3 $
  bash moibsd maco /usr/home/maco 3 $
  bash moibsd maco /usr/home/maco 3 $ cat /etc/fstab
  # DeviceMountpoint  FStype  Options Dump
  Pass#
  /dev/ad8s3b noneswapsw  0   0
  /dev/ad8s3a /   ufs rw  1   1
  ##/dev/ad8s4a   /u1 ufs rw  1   1
  /dev/acd0   /dvd1   cd9660  ro,noauto   0   0
  /dev/acd1   /dvd2   cd9660  ro,noauto   0   0
  linprocfs   /compat/linux/proc   linprocfs   rw   0  0
  bash moibsd maco /usr/home/maco 4 $
  bash moibsd maco /usr/home/maco 4 $
  bash moibsd maco /usr/home/maco 4 $
  bash moibsd maco /usr/home/maco 4 $
 
  bash moibsd maco /usr/home/maco 4 $ df
  bash moibsd maco /usr/home/maco 4 $ df
  bash moibsd maco /usr/home/maco 4 $ df
  bash moibsd maco /usr/home/maco 4 $ df
  Filesystem  1K-blocks UsedAvail Capacity  Mounted on
  /dev/ad8s3a  91913630 37443012 4711752844%/
  devfs   110   100%/dev
  linprocfs   440   100%/usr/compat/linux/proc
  bash moibsd maco /usr/home/maco 5 $
  bash moibsd maco /usr/home/maco 5 $
 
  Comparing that with the information in the mail list
  and this page:
 
  http://www.lemis.com/grog/diary-apr2006.html#21
  suggests to me,
  that this Grub entry would be appropriate:
 
  title FreeBSD 5.5
  root (hd8,2,a)
  kernel /boot/loader
 
 
 Dang, I always mix up XP and FBSD syntax. Yes, that looks fine. Good luck!
 
 Jeff
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]




For me,
booting BSDa and other OS is easier with grub:

mine:

FreeBSD 6.1
   rootnoverify (hd0,0)
   chainloader +1

NetBSD 3.0.1
   rootnoverify (hd0,2)
   chainloader +1


gud luck!



 


-- 
___
Play 100s of games for FREE! http://games.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: php4 no longer has apache module?

2006-09-17 Thread Michael P. Soulier
On 17/09/06 Michael P. Soulier said:

 So, I upgrade lang/php4.
 
 php4-4.4.4  PHP Scripting Language (Apache Module and CLI)
 
 And yet, it doesn't seem to contain the apache module.
 
 [EMAIL PROTECTED] ~]$ pkg_info -L php4-4.4.4 | grep '\.so'
 [EMAIL PROTECTED] ~]$ 
 
 So now my apache setup is broken.
 
 I guess I'll look for a separate apache module...

Ah, I see. A make config shows that the apache module isn't selected. I wonder
how that happened, since all I did was portupgrade the previous version.

Mike
-- 
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction. --Albert Einstein


pgpTnecTQGjRx.pgp
Description: PGP signature


Re: php4 no longer has apache module?

2006-09-17 Thread Javier Henderson


On Sep 17, 2006, at 10:46 PM, Michael P. Soulier wrote:


On 17/09/06 Michael P. Soulier said:


So, I upgrade lang/php4.

php4-4.4.4  PHP Scripting Language (Apache Module and CLI)

And yet, it doesn't seem to contain the apache module.

[EMAIL PROTECTED] ~]$ pkg_info -L php4-4.4.4 | grep '\.so'
[EMAIL PROTECTED] ~]$

So now my apache setup is broken.

I guess I'll look for a separate apache module...


Ah, I see. A make config shows that the apache module isn't  
selected. I wonder
how that happened, since all I did was portupgrade the previous  
version.


I don't know exactly when the default behavior was changed, but the  
Apache module isn't being built by default anymore. I discovered this  
yesterday, when I upgraded PHP and a bunch of scripts stopped working.


make -DWITH_APACHE will get you going...

-jav


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


Re: which xorg file??

2006-09-17 Thread Gary Kline
On Mon, Sep 18, 2006 at 12:18:32PM +1000, Norberto Meijome wrote:
 On Sun, 17 Sep 2006 17:52:54 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
  Which ports file do I build to fill the standard 
  /usr/X11R6/bin file?  
 
 not sure I follow your question... 
 the xorg-server and xorg-clients ports will your basic standard X files and 
 apps
 
 xorg.conf doesn't sit in /usr/X11R6/bin, but /usr/X11R6/lib/X11/xorg.conf

It is in my /etc/X11 directory.

 
 the configuration apps to generate xorg.conf are  xorgcfg and xorgconfig (one 
 X
 based, the other text based)


Yeah, but there is a way using X -conf[ig].  I've forgotten the exact
details; but I have used both f the above configuration tools
before.


 
 [EMAIL PROTECTED] [Mon Sep 18 12:17:46 2006]
 /usr/home/betom
 $ locate xorgcfg
 /usr/X11R6/bin/xorgcfg
 /usr/X11R6/man/man1/xorgcfg.1.gz
 
 [EMAIL PROTECTED] [Mon Sep 18 12:17:50 2006]
 /usr/home/betom
 $ locate xorgconfig
 /usr/X11R6/bin/xorgconfig
 /usr/X11R6/man/man1/xorgconfig.1.gz
 
 If that's not what you need...let us know :)


I'm still looking for xdm; possibly startx too.  I'm making the 
wm switch from ctwm to gone-lite ...  but first, the basics
have to be there.

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: rebooting into single user mode on a remote server

2006-09-17 Thread backyard


--- Ahmad Arafat Abdullah [EMAIL PROTECTED] wrote:

 
  - Original Message -
  From: [EMAIL PROTECTED] [EMAIL PROTECTED]
  To: Daniel Gerzo [EMAIL PROTECTED]
  Subject: Re: rebooting into single user mode on a
 remote server
  Date: Sun, 17 Sep 2006 23:49:34 +0200
  
  
  Daniel Gerzo wrote:
   Hello pobox,
  
   Saturday, September 16, 2006, 8:47:04 PM, you
 wrote:
  
   Hello,
  
   could somebody help me to understand the best
 way to enter into a single
   user mode on a remote server.
  
   I need it for the moment, during rebuilding
 world, when I have to reboot
   into single user mode before 'mergemaster -p'.
  
   I don't want to persuade you to something that
 is not officially
   supported, but I have never booted into single
 user mode while
   upgrading my FreeBSD boxes and I have never
 experienced any problems
   because of this. Just try to skip the reboot
 step and go ahead. It
   works(tm) for me this way.
  
   If you are paranoid, try to stop all running
 services except the ssh
   deamon.
  
  Phew... I hear this again and again.
  
  Only I am not sure I have the level of boldness to
 do this on a 
  production machine.
  
  Isn't the following sequence of steps similar -
 'shutdown -r now' 
  (reboots in multi-user mode), and then immediately
 'shutdown now' 
  (drops to single user mode)?
  
  Iv.
  
  ___
  freebsd-questions@freebsd.org mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 
 dudes,
 
 I never tried it, and not dare to try it.. because
 it's a remote server and 
 single mode maybe ( I'm not sure dude ) cut off all
 network connections from 
 inside and outside..
 
 anyway for remote servers, i'm prefer make
 installwold in normal mode.. it's safer
 
 
 TQ 
 

the best possible only way is to use a serial console
via a modem, which could drop out during the update,
or a network accessable serial multiplexer. Those are
expensive, modems are relatively cheap. Both require a
serial console enabled kernel on the server. the only
other way would be to have a cheap old box that can be
connected to over the network with a null modem
between it and the server. you would want this box to
be UBER secured because it is a console to the system.
There are ways of doing this so that a remote trigger
is required to boot this system, but such methods
require relays, a soldering iron, and some paranoia to
complete.

The gist of it is you will need a serial console on
the server. Then you need a way to connect this serial
line to your remote location. the easiest. cheapest,
and least likely to fail is an old 486 or p1. p2
whatever you have lieing around that can be remoted
connected to via ssh. if security is a concern you
should use a key connection with no passwords. the
user on that box doesn't have to be root, but he will
need to be able to access the serial ports. then via a
communications program available in ports take your
pick you connect via a null modem to the server. you
can then login and shutdown to single user mode on the
server and upgrade to your hearts desires.


-brian

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


Heavy internal network traffic seems to upset other network processes

2006-09-17 Thread Jim Keller
I have a FreeBSD 6.1 machine with two em nics, one of which is set up as 
external for the Internet-facing side, the other is internal (100Mbit) 
and is connected to a small switch with a few other machines. 
Occasionally I will transfer large files across the internal link and, 
when doing so, other network related applications seem to grind to a 
halt and the system seems to be working very hard. In fact, mySQL will 
actually stop accepting incoming requests during the file transfer, 
which is the biggest side effect I'm having because of the problem. I'm 
wondering if it's some kind of tuning option I need to set, but I'm 
really not sure where to look. I have maxusers set to 256, nmbclusters 
is 8192 (maybe this should be higher?). Any help would be appreciated. 
Thanks.


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


freeBSD certified server hardware ?

2006-09-17 Thread ke han
Does anyone know if any server manufacturer of high regard is  
currently certifying for freeBSD 6.1?
I know the general answer is check the components on the release  
notes.  I also know there are a few integrators on the community list  
(wow, some of their list pricing is much higher than the big  
names!!).  Doesn't HP, Sun, IBM, Dell have anything they certify for  
FreeBSD?  Is this expected to get better over the next year or so?

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


Re: how to apply a patch set

2006-09-17 Thread backyard


--- Ahmad Arafat Abdullah [EMAIL PROTECTED] wrote:

 
  - Original Message -
  From: backyard [EMAIL PROTECTED]
  To: Ahmad Arafat Abdullah [EMAIL PROTECTED],
 [EMAIL PROTECTED] [EMAIL PROTECTED],
 Matthew Seaman [EMAIL PROTECTED]
  Subject: Re: how to apply a patch set
  Date: Sun, 17 Sep 2006 19:00:24 -0700 (PDT)
  
  
  
  
  --- Ahmad Arafat Abdullah [EMAIL PROTECTED]
 wrote:
  
  
- Original Message -
From: [EMAIL PROTECTED]
 [EMAIL PROTECTED]
To: Matthew Seaman
   [EMAIL PROTECTED]
Subject: Re: how to apply a patch set
Date: Mon, 18 Sep 2006 00:48:32 +0200
  Matthew Seaman wrote:
 [EMAIL PROTECTED] wrote:
 Hello,

 I am trying to apply a patch set to FreeBSD
 5.5
   (this letter 'p'
 followed by a number, after the version in
   'uname -a') - but somehow it
 did not work.

 I cvsup-ed the src using the standard
   'stable-supfile' with '*default
 release=cvs tag=RELENG_5_5' - then I
 rebuild
   world.

 Now 'uname -a' reports 'FreeBSD 5.5 STABLE
 #0'.
   Before it was 'FreeBSD
 5.5 RELEASE #0'. So instead of applying
 patch
   set I have moved to 'STABLE'.

 Could somebody tell me what have I done
 wrong?
   Actually - what is the
 difference between the 'pX' and the '#X'
 after
   the version?

 You've shifted your self onto the RELENG_5
 code
   branch rather than the
 RELENG_5_5 branch.
 Yes... but how did it happen after I
 instructed
   the supfile to get  'RELENG_5_5'?
 Actually in the examples/cvsup I did not
 find any
   example how to do 'release'.
 Thank you for the other answers!
Iv.
  
  
  
  
  
   i think I've read abt this long time ago.. but
 not
   pretty sure ( someone correct me if I'm wrong
 )..
  
   u can try:
  
   *default release=cvs tag=RELENG_5_5_RELEASE
  
  
   anyway i never tried this! and i never encounter
 the
   prob u'va said since 4.x --- 6.1
   ( and I'm normally/mostly using -pX than STABLE
 for
   my prod server ). Seems your method/tag
  
   tag=RELENG_5_5 is correct way to patch to -pX, i
   can't find any reason why your system patched
   into STABLE...
  
   could u please copy+paste here your
 stable-supfile
   config?
  
   TQ
  
  
  STABLE is the latest set of patches to the
 system.
  It will change the tag from RELEASE from the
 install
  to the STABLE set of patches versus the CURRENT
 set.
  STABLE is the major ones you want. CURRENT is all
 of
  them to date.
  
  If you cvsup to RELEASE you will downgrade and end
 up
  with what you started with when you installed from
 CD
  or whatever was available when the RELEASE cd was
  created for whatever system your getting.
  
  -brian
 
 ermm..
 for me ( and as far as i know ) STABLE is a
 development patch and it will end up
 with the next RELEASE version.. such as 5.4-STABLE
 will be patch gradually until
 it became 5.5-RELEASE. Anyway 5.4-RELEASE-pX is a
 security fixes ( and possibly bugfix )
 but it still remains as RELEASE and not
 migrating_into_the_next_version/release.
 
 
 some of the people ( like me ) just prefer to -pX
 rather than -STABLE. So far i'm not needed -CURRENT
 yet
 even RELEASE -pX is powerful enough and suits my
 needs for my prod servers..

are you running verision 6.1 or 5.5 on those servers?
I'm fairly certain -pX only occurs on the latest
production Release engines which to date is version
6.1. Release 5.x is no longer actively produced for
production and the patches, bug fixes, and security
updates are there to make servers built on RELENG_5
more secure, stable, etc.

 
 for this case ( back to the topics ), I think this
 guy do the right method for cvsup-ed to
 5.5-RELEASE-pX
 but it end up with 5.5-STABLE. So i think we better
 help him and solve it since he maybe not need
 -STABLE
 like u said
 
 TQ
 
 
 p/s: Correct me if I'm wrong anyone! 
 
 -- 

My point was I don't think you can get a RELEASE until
you cvsup and STABLE becomes the next RELEASE. STABLE
includes the security fixes and major bugfixes.
CURRENT is all those plus new features...

---
from:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html

RELENG_5_5

The release branch for FreeBSD-5.5, used only for
security advisories and other critical fixes.

RELENG_5_5_0_RELEASE

FreeBSD 5.5

RELENG_5

The line of development for FreeBSD-5.X, also
known as FreeBSD 5-STABLE.

A.7.2 Release Tags

These tags refer to a specific point in time when a
particular version of FreeBSD was released. The
release engineering process is documented in more
detail by the Release Engineering Information and
Release Process documents. The src tree uses tag names
that start with RELENG_ tags. The ports and doc trees
use tags whose names begin with RELEASE tags. Finally,
the www tree is not tagged with any special name for
releases.

-


there doesn't seem to be a tag that gives you specific
patchsets. And I would think a RELEASE like 5.X which
is 

Re: which xorg file??

2006-09-17 Thread Norberto Meijome
On Sun, 17 Sep 2006 20:26:11 -0700
Gary Kline [EMAIL PROTECTED] wrote:


  
  xorg.conf doesn't sit in /usr/X11R6/bin, but /usr/X11R6/lib/X11/xorg.conf
 
   It is in my /etc/X11 directory.

I dont remember when was the last time I saw it in /etc/X11... that sounds
somewhat like a Linux layout... maybe you want to link /etc/X11
to /usr/X11/etc ? 

 
  
  the configuration apps to generate xorg.conf are  xorgcfg and xorgconfig
  (one X based, the other text based)
 
 
   Yeah, but there is a way using X -conf[ig].  I've forgotten the exact
   details; but I have used both f the above configuration tools
   before.

Sorry, i dont know, i always used the xorgcfg / xorgconf apps... they work fine,
specially if you have XNest 

 
 
   I'm still looking for xdm; possibly startx too.  I'm making the 
   wm switch from ctwm to gone-lite ...  but first, the basics
   have to be there.

[EMAIL PROTECTED] [Mon Sep 18 14:08:29 2006]
/usr/home/betom
$ pkg_info -W /usr/X11R6/bin/xdm
/usr/X11R6/bin/xdm was installed by package xorg-clients-6.9.0_3


[EMAIL PROTECTED] [Mon Sep 18 14:11:32 2006]
/usr/home/betom
$ pkg_info -W `which startx`
/usr/X11R6/bin/startx was installed by package xorg-clients-6.9.0_3


_
{Beto|Norberto|Numard} Meijome

Anyone who isn?t confused here doesn?t really understand what?s going on.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


jls output incorrect

2006-09-17 Thread Iain Dooley
i'm  running FreeBSD 6.1-RELEASE. i have recently set up some jails and 
everything seems to be running fine.


however when i use:

/etc/rc.d/jail stop

and then type:

jls

i still see jails as running, with JID's assigned. I can no longer log 
into these jails, so it appears they have been halted, but when i start 
again, the new jail processes get new JID's, and when i stop, they remain. 
this is obviously not a huge problem, but it means that i can not reliably 
use jls to see which jails are running.


i have seen this discussed earlier:

http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/118133.html

later in that discussion chad mentions mounted file systems as calling 
problems. i'm not mounting any file systems in my jails, should i just 
wait til i upgrade to 7.0 or is there some way i can fix this?


cheers

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


Re: jls output incorrect

2006-09-17 Thread Kris Kennaway
On Mon, Sep 18, 2006 at 02:29:05PM +1000, Iain Dooley wrote:
 i'm  running FreeBSD 6.1-RELEASE. i have recently set up some jails and 
 everything seems to be running fine.
 
 however when i use:
 
 /etc/rc.d/jail stop
 
 and then type:
 
 jls
 
 i still see jails as running, with JID's assigned. I can no longer log 
 into these jails, so it appears they have been halted, but when i start 
 again, the new jail processes get new JID's, and when i stop, they remain. 
 this is obviously not a huge problem, but it means that i can not reliably 
 use jls to see which jails are running.
 
 i have seen this discussed earlier:
 
 http://lists.freebsd.org/pipermail/freebsd-questions/2006-April/118133.html
 
 later in that discussion chad mentions mounted file systems as calling 
 problems. i'm not mounting any file systems in my jails, should i just 
 wait til i upgrade to 7.0 or is there some way i can fix this?

It's a leak in the stats; it's believed to be fixed in 7.0 if you use
the new PTY code.

Kris


pgp61mgM56zWf.pgp
Description: PGP signature


Re: which xorg file??

2006-09-17 Thread Gary Kline
On Sun, Sep 17, 2006 at 09:12:08PM -0700, backyard wrote:
 
 
 --- Gary Kline [EMAIL PROTECTED] wrote:
 
  On Mon, Sep 18, 2006 at 12:18:32PM +1000, Norberto
  Meijome wrote:
   On Sun, 17 Sep 2006 17:52:54 -0700
   Gary Kline [EMAIL PROTECTED] wrote:
   
Which ports file do I build to fill the
  standard 
/usr/X11R6/bin file?  
   
   not sure I follow your question... 
   the xorg-server and xorg-clients ports will your
  basic standard X files and apps
   
   xorg.conf doesn't sit in /usr/X11R6/bin, but
  /usr/X11R6/lib/X11/xorg.conf
  
  It is in my /etc/X11 directory.
  
   
   the configuration apps to generate xorg.conf are 
  xorgcfg and xorgconfig (one X
   based, the other text based)
  
  
  Yeah, but there is a way using X -conf[ig].  I've
  forgotten the exact
  details; but I have used both f the above
  configuration tools
  before.
 
 
 I believe its X -configure
 I've been reading through the complete freebsd in my
 reading room but admittadly it takes me a couple of
 stabs to get it right on a new system.
 

Okay; thanks, I think you're right.  Also that you may 
need to cd / or cd /etc.  Or else xorg.conf will wind up
wherever.  (it's been a few years since my last 
X -configure ... as is evident!)


  
  
   
   [EMAIL PROTECTED] [Mon Sep 18 12:17:46 2006]
   /usr/home/betom
   $ locate xorgcfg
   /usr/X11R6/bin/xorgcfg
   /usr/X11R6/man/man1/xorgcfg.1.gz
   
   [EMAIL PROTECTED] [Mon Sep 18 12:17:50 2006]
   /usr/home/betom
   $ locate xorgconfig
   /usr/X11R6/bin/xorgconfig
   /usr/X11R6/man/man1/xorgconfig.1.gz
   
   If that's not what you need...let us know :)
  
  
  I'm still looking for xdm; possibly startx too. 
  I'm making the 
  wm switch from ctwm to gone-lite ...  but first,
  the basics
  have to be there.
  
  gary
  
  
  -- 
 Gary Kline [EMAIL PROTECTED]  
  www.thought.org Public service Unix
  
 
 the only way I know to populate /usr/X11R6/bin is by
 cd /usr/ports/x11/xorg  make  make install  make
 clean
 
 this will install the clients, libraries, documents,
 fonts, and basic X11R6 system. it will also clean up
 after itself. 
 

Then I've FINALLY begun installing the right package.
About an hour ago.  Will see  

gary


 Keep in mind NOT ALL X11 apps will be installed in
 that directory. a good number of the clients end up in
 /usr/bin or /usr/local/bin
 
 depending on if it uses qmake, gmake, make, imake
 different things can happen, and not much can be done
 about it. some of those makes just ignore the PREFIX
 directive.
 
 -brian

-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: which xorg file??

2006-09-17 Thread Gary Kline
On Mon, Sep 18, 2006 at 02:12:51PM +1000, Norberto Meijome wrote:
 On Sun, 17 Sep 2006 20:26:11 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
 
  I'm still looking for xdm; possibly startx too.  I'm making the 
  wm switch from ctwm to gone-lite ...  but first, the basics
  have to be there.
 
 [EMAIL PROTECTED] [Mon Sep 18 14:08:29 2006]
 /usr/home/betom
 $ pkg_info -W /usr/X11R6/bin/xdm
 /usr/X11R6/bin/xdm was installed by package xorg-clients-6.9.0_3
 
 
 [EMAIL PROTECTED] [Mon Sep 18 14:11:32 2006]
 /usr/home/betom
 $ pkg_info -W `which startx`
 /usr/X11R6/bin/startx was installed by package xorg-clients-6.9.0_3
 
So pkg_info -W tells-where.  If xorg-clients is in /usr/ports/x11
then it's on my list.  Thanks!1

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: which xorg file??

2006-09-17 Thread Matthew Seaman
Norberto Meijome wrote:
 On Sun, 17 Sep 2006 20:26:11 -0700
 Gary Kline [EMAIL PROTECTED] wrote:
 
 
 xorg.conf doesn't sit in /usr/X11R6/bin, but /usr/X11R6/lib/X11/xorg.conf
  It is in my /etc/X11 directory.
 
 I dont remember when was the last time I saw it in /etc/X11... that sounds
 somewhat like a Linux layout... maybe you want to link /etc/X11
 to /usr/X11/etc ? 

Actually X will search for xorg.conf in a very long list of places,
all spelled out in the xorg.conf(5) man page.  Putting it in
/etc/X11/xorg.conf is pretty usual, even though the usual hier(7)
rules would lead you to expect it to live in /usr/X11R6/etc/X11/xorg.conf
or /usr/X11R6/lib/X11/xorg.conf -- all of which are on the list of places
for X to look for the file, and it's just a matter of taste which one of
the available locations you choose.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Sendmail on FBSD server wont connect to remote user.

2006-09-17 Thread Matthew Seaman
Ahmad Arafat Abdullah wrote:
 - Original Message -
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: FreeBSD Users Questions freebsd-questions@freebsd.org
 Subject: Sendmail on FBSD server wont connect to remote user.
 Date: Sun, 17 Sep 2006 10:57:27 -1000


 Aloha Questions list,

 I have been trying to setup Sendmail on a server box.
 FreeBSD 6.1 HP Pentium II 300 CPU 686

 After many attempts I am down to this one error.

 Error:
 Sending of password did not succeed. Mail server 
 mahalo.internetohana.org responded:
 Password supplied for [EMAIL PROTECTED] is incorrect.


 I have 2 user accounts for test on this swever. I can ping and 
 telnet into ports 25 and 110 and I get the proper responses from 
 these users.

 The 2 user accounts are rejected as per the error when I try to 
 connect from a mail agent (Mozilla or Thunderbird) from another box 
 on a different inet. (Also FreeBSD 4.11 running for several years.)


 The server is setup with send mail SMTP and qpopper for Pop3. There 
 is nothing else on this box.

 Do I have to create a password file other than the FreeBSD  
 /etc/passwd and /etc/master.passwd
 to get this to work.

 My previous attempts with Postfix and Dovecot did not get this far.

 Thanks for any help.

 Al Plant - Honolulu, Hawaii

 - Admin -- http://hawaiidakine.com -- http://hdk5.com -- -- 
 http://internetohana.org -- http://freeBSDinfo.org --
 + Supporting open source computing - FreeBSD 6.* +
 
 
 I'm leaving sendmail long ago since I'm migrated to Postfix..
 but however as i still remember, default sendmail installation
 is just listening to localhost.
 
 so u need to alter the *.cf file ( in /etc/mail/ )..
 
 # SMTP client options
 O ClientPortOptions=Family=inet, Address=0.0.0.0
 
 by default this line will be commented out ( with # or dnl ) or just listen 
 to localhost
 
 previously I faced this prob with old RedHat 7.x..
 
 anyone who know this, maybe can correct me if I'm wrong

Yep.  You are completely in the wrong ballpark there.  You are
talking about configuring where sendmail listens for *incoming*
connections, although the mists of time seem to have clouded your
memory of exactly what it is you do...  (Hint: look for DAEMON_PORT_OPTIONS
and maybe add FEATURE(no_default_msa) in the /etc/mail/$(hostname).mc
file)

What the original poster is suffering from is not lack of ability to
connect at the TCP level.  He's needing to configure authentication so
that his mail clients can relay through the server.

Unfortunately it appears he is using the stock sendmail supplied with FreeBSD
which does not have authentication support compiled into it:

250-mahalo.internetohana.org Hello happy-idiot-talk.infracaninophile.co.uk 
[81.187.76.162], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP

You should see: 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN or similar if
the authentication capabilities are enabled.

To make sendmail do authentication, do the following.

   i) Install the security/cyrus-sasl2 port.  Review the configuration file
  /usr/local/lib/sasl2/Sendmail.conf to make sure it does what you want --
  at a minimum it should contain

  pwcheck_method: auxprop

   which should let sendmail auth against the sasldb without needing the
   intercession of saslauthd.  However there are far too many possibilities
   to go into any great depth here -- Google is your friend.

  ii) Add the following to /etc/make.conf and then do a standard buildworld 
cycle
  to enable the authentication capabilities in the base system sendmail:

   SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
   SENDMAIL_LDFLAGS+=  -L/usr/local/lib
   SENDMAIL_LDADD+=-lsasl2

  iii) Add to /etc/mail/$(hostname).mc --

   dnl ## Set SASL options
   TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
   define(`confAUTH_REALM', `infracaninophile.co.uk')dnl
   define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
   define(`confDEF_AUTH_INFO', `/etc/mail/auth-info')dnl
   define(`confDONT_BLAME_SENDMAIL',`GroupReadableSASLDBFile')dnl

  and rebuild the sendmail configuration, restart sendmail, etc:

   # cd /etc/mail
   # make all install restart

  iv) Use the saslpasswd2 program to set up login names and passwords for all
  of the e-mail users permitted to send mail via the system.

Et voilà.  Well, actually there's another step the OP would be well advised to
take.  In order to secure 'LOGIN' against password snooping you should turn on
sendmail's TLS capabilities, so it has the capability to switch to using an
encrypted SMTP session.  That (in the best didactic tradition) is left as an
exercise for the student.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: