Re: freebsd-questions Digest, Vol 250, Issue 2

2009-03-10 Thread joko bodo
why if iget  email from milis my subject always freebsd-questions Digest,
Vol 250, Issue 2

thx

On Tue, Mar 10, 2009 at 5:18 AM, freebsd-questions-requ...@freebsd.orgwrote:

 Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 or, via email, send a message with subject or body 'help' to
freebsd-questions-requ...@freebsd.org

 You can reach the person managing the list at
freebsd-questions-ow...@freebsd.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of freebsd-questions digest...


 Today's Topics:

   1. Re: USENET? (Daniel Molina Wegener)
   2. Re: USENET? (Wojciech Puchar)
   3. Re: USENET? (George Davidovich)
   4. Re: roundcube security bug (Moti Levy)
   5. Warning: KLD '/boot/kernel/linux.ko' is newer than the
  linker.hints (Peter Steele)
   6. Busy disk and page fault (Nicolas Haller)
   7. FreeBSD 7.1R on laptop (Pongthep Kulkrisada)
   8. Re: Busy disk and page fault (Wojciech Puchar)
   9. Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the
  linker.hints (Paul B. Mahol)
  10. Re: FreeBSD 7.1R on laptop (Wojciech Puchar)
  11. Which install ? (Darryl Hoar)
  12. UID/GID in anon.ftp directory (Pieter Donche)
  13. Re: Which install ? (Erik Trulsson)
  14. Re: Busy disk and page fault (Nicolas Haller)
  15. Re: roundcube security bug (Zbigniew Szalbot)
  16. Re: Warning: KLD '/boot/kernel/linux.ko' is newer than the
  linker.hints (Peter Steele)
  17. New York Fundraising Summit - Panelist Invitation (Jennifer Winn)
  18. Re: Which install ? (Michael Powell)
  19. RE: FreeBSD 7.1R on laptop (greg.st...@sungard.com)
  20. hardware list in a machine (gahn)
  21. Re: hardware list in a machine (Josh Carroll)
  22. Re: USENET? (Randy Pratt)
  23. Re: Which install ? (Erik Trulsson)
  24. RE: Which install ? (Darryl Hoar)
  25. Re: Which install ? (Kevin Kinsey)
  26. RE: Which install ? (Michael Powell)
  27. portupgrade, afterwards (gahn)
  28. Re: portupgrade, afterwards (Daniel Bye)
  29. Help installing Hippo viewer... (Ben H.)
  30. portupgrade, afterwards (Robert Huff)
  31. iSCSI initiator lockups (Jason T. Nelson)
  32. freebsd 7.1, building kernel (gahn)
  33. Re: freebsd 7.1, building kernel (Michael Powell)


 --

 Message: 1
 Date: Mon, 9 Mar 2009 09:34:09 -0300
 From: Daniel Molina Wegener d...@coder.cl
 Subject: Re: USENET?
 To: freebsd-questions@freebsd.org
 Cc: Robert Huff roberth...@rcn.com, Dan Nelson
dnel...@allantgroup.com,  Gary Kline kl...@thought.org
 Message-ID: 200903090934.17287@coder.cl
 Content-Type: text/plain; charset=iso-8859-1

 El Sunday 08 March 2009 23:38:14 Robert Huff escribió:
  Dan Nelson writes:
 are there any ports that offer an interface to USENET?  I think
 mozilla did, but that was a long time ago ...  .
  
Mozilla simply changed names to Seamonkey and is still alive and
   kicking.
 
Thunderbird also has this ability.

  I'm currently using knode from kde ports...

 
 
Robert Huff
 
  [SNIP]

 Best regards,
 --
 .O.| Daniel Molina Wegener   | C/C++ Developer
 ..O| dmw [at] coder [dot] cl | FreeBSD  Linux
 OOO| http://coder.cl/| Standards Basis

 -- next part --
 A non-text attachment was scrubbed...
 Name: not available
 Type: application/pgp-signature
 Size: 835 bytes
 Desc: This is a digitally signed message part.
 Url :
 http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090309/9541f4d3/attachment-0001.pgp

 --

 Message: 2
 Date: Mon, 9 Mar 2009 14:05:56 +0100 (CET)
 From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
 Subject: Re: USENET?
 To: cpghost cpgh...@cordula.ws
 Cc: freebsd-questions@freebsd.org
 Message-ID:
alpine.bsf.2.00.0903091404290.2...@wojtek.tensor.gdynia.pl
 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

  at least in Poland there are free. and for my clients i have nntpcache'd
  news from Gda?sk University.
 
  Actually, in most parts of the world, news are still freely available
  with many ISPs (you may have to ask them explicitly), except for
  alt.binaries.* which are quite bandwidth intensive.

 i'm connected to university network (commercially, not as a student ;), i
 have all their service included in price. alt.binaries.* too, don't know
 if all of them as i don't use it.

 
  Your typical small ISP would rather save the bandwidth it takes to
  transfer all articles, esp. if only a fraction of them are accessed

 nntpcache is exactly for this. it's like squid, just for nntp

 it's worth even with 1 nntp user, and it takes 5 minutes to configure.


 --

 Message: 3
 Date: Mon, 9 Mar 2009 07:14:26 -0700
 From: George Davidovich 

Re: your unsubscribe request

2009-03-10 Thread Lyris ListManager

You have been unsubscribed from 'speakers'.

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


port nasm wont upgrade

2009-03-10 Thread Brent Clark

Hiya

Im trying to upgrade SDL, but I need nasm to upgrade first.

Trying to do so, I get ...

zulu# make install
===  Vulnerability check disabled, database not found
===  Extracting for nasm-2.05.01,1
= No MD5 checksum recorded for nasm-2.05.01.tar.bz2.
= No SHA256 checksum recorded for nasm-2.05.01.tar.bz2.
= No suitable checksum found for nasm-2.05.01.tar.bz2.
= No MD5 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
= No SHA256 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
= No suitable checksum found for nasm-2.05.01-xdoc.tar.bz2.
*** Error code 1

Stop in /usr/ports/devel/nasm.

I even tried portupgrade -kO nasm.

If anyone can assist, it would be appreciated.

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


sendmail limits

2009-03-10 Thread Wojciech Puchar
i'm just asking for sure - do sendmail has any limits of how much adresses 
is put in CC/BCC in single mail?

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


Is NFS Locking Reliable?

2009-03-10 Thread Konrad Heuer


I'd like to ask for your experiences with NFS locking in larger 
environments.


Our experiences are not so satisfying. Our NFS servers for user home 
directories are on FreeBSD (6.4), MacOSX (10.5), Linux (still 2.4 kernel) 
and Tru64-UNIX boxes; NFS clients are mostly Linux (2.6 kernel) and 
FreeBSD (6.4, 7.0, but w/o kernel lockd) systems.


There are periods of several days without problems, but from time to time, 
on one, two, or several (but not all) clients application processes which 
use locking suddenly hang in kernel mode - namely firefox, opera, pine.


It seems to be no specific operating system problem - all combinations of 
clients and servers are involved.


There are some suspicious facts that out network may cause problems 
although not all ip subnets are protected by cisco firewall modules. But 
there may be other circumstances which could lead to sporadic packet 
losses or whatever else ...


So, if anyone has similar or other experiences with NFS locking, I'm very 
interested in reading about!


Thank you very much in advance!

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Is this a feature or a bug?: system hanging if loading the if_tun module at the boot time while it is already compiled in the kernel.

2009-03-10 Thread Leonid Satanovsky

__
The Issue:
Hi... we had the following issue:
   the system hanging with FreeBSD 7.1, amd64.

It seems that the reason in
loading the if_tun module at the boot time (/boot/loader.conf: 
if_tun_load=YES),

while it is already compiled in the kernel.

It appeared only when the OpenVPN appliance started and tried to use  
tun interfaces.


__
The Question:
Is the system hanging is to be considered normal in this case?
(in other words, is this a feature or a bug? =)) )

__
P.S.
the only related log messages we got in /var/log/messages were
...
/var/log/messages.1:Mar 10 11:32:10 gw-office-hpp kernel: Module if_tun 
failed to register: 17
/var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: can't re-use a 
leaf (if_tun_debug)!
/var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: 
module_register: module if_tun already exists!
/var/log/messages.1:Mar 10 11:45:42 gw-office-hpp kernel: Module if_tun 
failed to register: 17

...



--

Best regards,   
Leonid E. Satanovsky, system administrator, 
Ariel Metal.
tel.: +7 (495) 786-42-90 (0406) 
fax: -  
e-mail: leosat...@ariel.ru  
http://www.arielmetal.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hardware list in a machine

2009-03-10 Thread Ricardo Jesus

Josh Carroll wrote:

On Mon, Mar 9, 2009 at 2:59 PM, gahn ipfr...@yahoo.com wrote:

Hi all:

How could I find out the list of hardware in my machine? I used dmesg and 
var/run/dmesg.boot, it didn't seem to help that much as I expected.

which file lists all of hardware in the machine?

Thanks.


Give the sysutils/dmidecode port a shot.

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



% pciconf -lv
man pciconf for further details.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hardware list in a machine

2009-03-10 Thread Polytropon
On Tue, 10 Mar 2009 10:07:51 +, Ricardo Jesus ricardo.meb.je...@gmail.com 
wrote:
 % pciconf -lv
 man pciconf for further details.

Additionally: usbconf to list USB devices, and camcontrol
to list SCSI devices, as well as atacontrol for ATA devices.

And finally, dmesg. :-)



Note that these are *system tools*. In order to obtain more
information, it may be required to install some tools from
the Ports Collection.


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


Re: hardware list in a machine

2009-03-10 Thread Ricardo Jesus

Polytropon wrote:

On Tue, 10 Mar 2009 10:07:51 +, Ricardo Jesus ricardo.meb.je...@gmail.com 
wrote:

% pciconf -lv
man pciconf for further details.


Additionally: usbconf to list USB devices, and camcontrol
to list SCSI devices, as well as atacontrol for ATA devices.

And finally, dmesg. :-)



Note that these are *system tools*. In order to obtain more
information, it may be required to install some tools from
the Ports Collection.



Polytropon I can't seem to find usbconf.

% usbconf
usbconf: Command not found.
% whereis usbconf
usbconf:

Is it a third party application?


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


Re: sendmail limits

2009-03-10 Thread Giorgos Keramidas
On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 i'm just asking for sure - do sendmail has any limits of how much
 adresses is put in CC/BCC in single mail?

Yes, of course.  There is *support* for a limit, but the default
is to accept a large number of recipients per-message:

  confMAX_RCPTS_PER_MESSAGE  MaxRecipientsPerMessage

  [default: infinite] If set, allow no more than the specified
  number of recipients in an SMTP envelope.  Further recipients
  receive a 452 error code (i.e., they are deferred for the
  next delivery attempt).

You can set this easily, by modifying `sendmail.mc' to include:

  define(`confMAX_RCPTS_PER_MESSAGE', `20')

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


Re: hardware list in a machine

2009-03-10 Thread Jerry
On Tue, 10 Mar 2009 10:07:51 +
Ricardo Jesus ricardo.meb.je...@gmail.com wrote:

Josh Carroll wrote:
 On Mon, Mar 9, 2009 at 2:59 PM, gahn ipfr...@yahoo.com wrote:
 Hi all:

 How could I find out the list of hardware in my machine? I used
 dmesg and var/run/dmesg.boot, it didn't seem to help that much
 as I expected.

 which file lists all of hardware in the machine?

 Thanks.
 
 Give the sysutils/dmidecode port a shot.
 
 Josh

% pciconf -lv
man pciconf for further details.

This may not be a popular suggestion; however, the only method that I
have ever found to be 100% accurate, other than opening the machine
up an inspecting it, is to query the manufacturer. Dell is pretty good
about this, as is HP. I am not too sure about others. Of course, if you
have added/changed HW after obtaining the machine, you would have to
factor that into any information obtained from the manufacturer.

-- 
Jerry
ges...@yahoo.com

OCEAN:
A body of water occupying about two-thirds
of a world made for man -- who has no gills.


signature.asc
Description: PGP signature


Re: hardware list in a machine

2009-03-10 Thread Anders Troback
Den Tue, 10 Mar 2009 10:24:24 +
skrev Ricardo Jesus ricardo.meb.je...@gmail.com:

 Polytropon wrote:
  On Tue, 10 Mar 2009 10:07:51 +, Ricardo Jesus
  ricardo.meb.je...@gmail.com wrote:
  % pciconf -lv
  man pciconf for further details.
  
  Additionally: usbconf to list USB devices, and camcontrol
  to list SCSI devices, as well as atacontrol for ATA devices.
  
  And finally, dmesg. :-)
  
  
  
  Note that these are *system tools*. In order to obtain more
  information, it may be required to install some tools from
  the Ports Collection.
  
  
 Polytropon I can't seem to find usbconf.
 
 % usbconf
 usbconf: Command not found.
 % whereis usbconf
 usbconf:
 
 Is it a third party application?
 

Try usbdevs instead!

\\troback

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

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


Re: badblocks on sata drive

2009-03-10 Thread Marco
thank you guys, never knew about that feature in modern harddrives. so i
rly have to replace the drive.
best regards,
 marco

Daniel Lannstrom wrote:
 If a modern hard drive begins to let bad blocks through it's internal
 block relocation mechanics have failed. I recommend to take backup on
 everthing on that disk because this is usually a sign that the disk 
 will die shortly. 

 On Sun, Mar 01, 2009 at 07:17:44PM +0100, Marco wrote:
   
 hej list,

 during dd tests i encounter hardware problems with my harddisk. is there
 a way to mark parts of the hdd as bad so those are not used anymore?

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

   

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


Re: freebsd-questions Digest, Vol 250, Issue 2

2009-03-10 Thread Crescent Hikari
On Tue, Mar 10, 2009 at 1:34 PM, joko bodo kijok...@gmail.com wrote:

 why if iget  email from milis my subject always freebsd-questions Digest,
 Vol 250, Issue 2

 thx


I think because you are set the option
Would you like to receive list mail batched in a daily digest?
to Yes when you are subscribe to this email

you can change it on your user page in from your second email from this
mailing list that had subject like this Welcome to the freebsd-questions
mailing list
and login to your account on this mailing list, and set Digest mode to off

best regards,

Fiqri

-
M. Fiqri Muthohar
Amateur Radio Club - ITB
Informatics Engineering - STEI - ITB
School On Internet - ITB
http://www.soi.itb.ac.id
http://www.soi.asia
-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: iSCSI initiator lockups

2009-03-10 Thread Danny Braniss
 
 --ikeVEW9yuYc//A+q
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 I'm running into some odd headaches regarding what looks like iSCSI initiat=
 ors
 going to sleep for approximately 30 seconds before returning to life and
 pumping a ton of information back to the target. While this is happening,
 system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it
 shows what appears to be a nearly exact 30 second delay where the initiator
 stops talking to the target server, then abruptly restarts. Currently
 8 machines are talking to 2 servers with 4 targets a piece, and while its=
 =20
 working, we get good throughput. Activity is moderately high, as we are=20
 using the iSCSI targets as spool disks in an email cluster. As it appears
 that iscsi-target is a single-threaded process, would it be valuable to
 put each target in its own process on its own port? At any rate, this is
 causing serious problems on the mail processing machines.
 
can you send me the output of
sysctl net.iscsi

chears,

danny

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


Re: Is NFS Locking Reliable?

2009-03-10 Thread Andrew Wright




On Tue, 10 Mar 2009, Konrad Heuer wrote:



I'd like to ask for your experiences with NFS locking in larger environments.

Our experiences are not so satisfying. Our NFS servers for user home


This matches my historical experience, especially if you add in
periodically wedged and ignored lock state.


First, it is useful to realize that locking over NFS has, until
version 4, been done outside of NFS itself.  That is, there
are a pair of daemon (usually called statd and lockd) processes
that negotiate the lock outside of the stateless mechanism that
is the NFS data access method up to v3.

My past v3 experience has been that only in the case where you have
exactly the same version of statd and lockd on both sides (on the
client and on the server) is it possible that you _may_ experience
truly reliable locking.  Note that this is only possible with the
same OS at the same revision/patch on both client and server.

NFS v4 is no longer stateless, and manages locks internally, which
I would guess would make things much better, though my experience
on mixed environments under v4 is much more limited.


What version of the NFS protocol are you using?  You can find this
out via /usr/sbin/nfsstat


If you are stuck with a v3 client, my recommendation would be to
turn locking off altogether for that client, as I have found that
this works in general better, as the applications desiring the
lock are then at least aware that the lock won't work, rather than
being led up the garden path by a successful return from a call
to lockd that later is not honoured.

If upgrading all to v4 is possible, it is probably worth a try,
and good luck!


Andrew.

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


Help required for configuring FreeBSD with DHCP

2009-03-10 Thread manish jain


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP 
server. Until the times of static addresses, everything was so simple in 
FreeBSD. Now I am forced to ask for help because the ISP is willing to 
help only for Windows. And indeed my Windows 2000 is sailing the 
internet smoothly enough, so I can't really blame him.


I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall 
to configure rl0, it asks me whether I want to use DHCP. When I say yes, 
it still gives me the same form to fill out as it does for static IP 
addresses. I don't have any idea how to fill out this form when DHCP is 
being used.


Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can 
anyone please tell me how to get my FreeBSD system up on DHCP. The only 
other piece of information I can provide is the hostname I have been 
using so far : unxfbsdi.freebsd.localdomain


Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP 
server. Until the times of static addresses, everything was so simple in 
FreeBSD. Now I am forced to ask for help because the ISP is willing to 
help only for Windows. And indeed my Windows 2000 is sailing the 
internet smoothly enough, so I can't really blame him.


I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall 
to configure rl0, it asks me whether I want to use DHCP. When I say yes, 
it still gives me the same form to fill out as it does for static IP 
addresses. I don't have any idea how to fill out this form when DHCP is 
being used.


Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can 
anyone please tell me how to get my FreeBSD system up on DHCP. The only 
other piece of information I can provide is the hostname I have been 
using so far : unxfbsdi.freebsd.localdomain


Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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


I think Realtek 8139D fall into re(4) driver, but do take a look at 
dmesg | less to confirm this.


To display the current configuration for the network interfaces on your 
system run:

% ifconfig

You need to edit rc.conf and add the following to have the network card 
configured at boot time:

ifconfig_re0=DHCP

To configure the card from the command line simply run:
# ifconfig re0 dhcp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Michael Powell
manish jain wrote:

 
 Hi all,
 
 I have a dual boot system (FreeBSD 7.1 + Windows 2000).
 
 I am trying out FreeBSD for the first time with an ISP who runs a DHCP
 server. Until the times of static addresses, everything was so simple in
 FreeBSD. Now I am forced to ask for help because the ISP is willing to
 help only for Windows. And indeed my Windows 2000 is sailing the
 internet smoothly enough, so I can't really blame him.
 
 I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall
 to configure rl0, it asks me whether I want to use DHCP. When I say yes,
 it still gives me the same form to fill out as it does for static IP
 addresses. I don't have any idea how to fill out this form when DHCP is
 being used.
 
 Please note that on Windows, the following are enabled :
 1) Obtain an IP address automatically
 2) Obtain DNS server address automatically
 
 Everything else (IP address/Default dateway/etc) is greyed out. Can
 anyone please tell me how to get my FreeBSD system up on DHCP. The only
 other piece of information I can provide is the hostname I have been
 using so far : unxfbsdi.freebsd.localdomain
 
 Thanks in advance for any help.
 
 Regards
 Manish Jain
 invalid.poin...@gmail.com
 

Try placing in /etc/rc.conf with an editor such as vi and reboot:

network_interfaces=AUTO
ifconfig_rl0=DHCP

If you're exceedingly lucky that will get you started.

-Mike




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


CVE-2008-2939 and FreeBSD

2009-03-10 Thread new_guy

I can't find any info on the Web. Has CVE-2008-2939 been addressed in
FreeBSD7.1 Apache2.2? I can't find any reference to that CVE number.
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2939

I've subscribed to the security notification list, and I've searched the
archives, but no go.



-- 
View this message in context: 
http://www.nabble.com/CVE-2008-2939-and-FreeBSD-tp22434745p22434745.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: sendmail limits

2009-03-10 Thread Wojciech Puchar

On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

i'm just asking for sure - do sendmail has any limits of how much
adresses is put in CC/BCC in single mail?


Yes, of course.  There is *support* for a limit, but the default
is to accept a large number of recipients per-message:

 confMAX_RCPTS_PER_MESSAGE  MaxRecipientsPerMessage

 [default: infinite] If set, allow no more than the specified
 number of recipients in an SMTP envelope.  Further recipients
 receive a 452 error code (i.e., they are deferred for the
 next delivery attempt).

You can set this easily, by modifying `sendmail.mc' to include:

 define(`confMAX_RCPTS_PER_MESSAGE', `20')



thank you very much. that's what i was looking for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: port nasm wont upgrade

2009-03-10 Thread Lowell Gilbert
Brent Clark brentgclarkl...@gmail.com writes:

 Im trying to upgrade SDL, but I need nasm to upgrade first.

 Trying to do so, I get ...

 zulu# make install
 ===  Vulnerability check disabled, database not found
 ===  Extracting for nasm-2.05.01,1
 = No MD5 checksum recorded for nasm-2.05.01.tar.bz2.
 = No SHA256 checksum recorded for nasm-2.05.01.tar.bz2.
 = No suitable checksum found for nasm-2.05.01.tar.bz2.
 = No MD5 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
 = No SHA256 checksum recorded for nasm-2.05.01-xdoc.tar.bz2.
 = No suitable checksum found for nasm-2.05.01-xdoc.tar.bz2.
 *** Error code 1

 Stop in /usr/ports/devel/nasm.

 I even tried portupgrade -kO nasm.

 If anyone can assist, it would be appreciated.

You seem to be be missing /usr/ports/devel/nasm/distinfo.

You can re-create it with make makesum, but that would defeat the
point of checking file integrity in the first place.  Besides, if you
have a missing (or corrupted) file in your ports tree, there may be
others.  If you update your ports tree regularly anyway, I would
recommend removing that directory and updating.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Remorque
On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
ricardo.meb.je...@gmail.comwrote:

 manish jain wrote:


 Hi all,

 I have a dual boot system (FreeBSD 7.1 + Windows 2000).

 I am trying out FreeBSD for the first time with an ISP who runs a DHCP
 server. Until the times of static addresses, everything was so simple in
 FreeBSD. Now I am forced to ask for help because the ISP is willing to help
 only for Windows. And indeed my Windows 2000 is sailing the internet
 smoothly enough, so I can't really blame him.

 I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
 configure rl0, it asks me whether I want to use DHCP. When I say yes, it
 still gives me the same form to fill out as it does for static IP addresses.
 I don't have any idea how to fill out this form when DHCP is being used.

 Please note that on Windows, the following are enabled :
 1) Obtain an IP address automatically
 2) Obtain DNS server address automatically

 Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
 please tell me how to get my FreeBSD system up on DHCP. The only other piece
 of information I can provide is the hostname I have been using so far :
 unxfbsdi.freebsd.localdomain

 Thanks in advance for any help.

 Regards
 Manish Jain
 invalid.poin...@gmail.com

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

  I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg
 | less to confirm this.

 To display the current configuration for the network interfaces on your
 system run:
 % ifconfig

 You need to edit rc.conf and add the following to have the network card
 configured at boot time:
 ifconfig_re0=DHCP

 To configure the card from the command line simply run:
 # ifconfig re0 dhcp


I would do:

dhclient re0

Is the behaviour the same?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
The only time a woman really succeeds in changing a man is when he is a
baby.
 - Natalie Wood
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MT4

2009-03-10 Thread Chad Perrin
On Sun, Mar 08, 2009 at 10:27:13AM +0100, Wojciech Puchar wrote:
 
 but if you are fan of metatrader 4 you should be fan on windows ;)
 
 you may try wine, but is it really worth of it, unless you run this 
 program occasionally, while doing everything else on FreeBSD?

Do you have any suggestions for an alternative?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Larry Wall: It's more important to be a good driver than to have
seven feet of sponge rubber all around your car.


pgpdhX5Ck0f8b.pgp
Description: PGP signature


Re: sendmail limits

2009-03-10 Thread Wojciech Puchar

 define(`confMAX_RCPTS_PER_MESSAGE', `20')


thank you very much. that's what i was looking for.


You are welcome :)

FWIW, there are many more options  tunables.  You can read about them
in the `/usr/share/sendmail/cf/README' file.



yes i know this, but didn't read well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 7.1R on laptop

2009-03-10 Thread Pongthep Kulkrisada
Hi,

Thanks for your response.

On Tue, Mar 10, 2009 at 1:13 AM,  greg.st...@sungard.com wrote:
 Some laptops do come with COM ports still.  Usually they are the
 business models.  For example, the Dell Latitude 820's have them.
Actually I don't want to adhere with such thing.
I think laptop with COM port will be extinct very soon due to marketing.
I don't want to find the solution again after says 5 years.
I believe that MANY people here are using FreeBSD on laptops without COM port.
But I don't know how they fix the problem of internal modem built with
the laptop.
The only solution I can think right now is staying in LAN and behind NAT.

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


Re: Help required for configuring FreeBSD with DHCP

2009-03-10 Thread Ricardo Jesus

Remorque wrote:

On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus
ricardo.meb.je...@gmail.comwrote:


manish jain wrote:


Hi all,

I have a dual boot system (FreeBSD 7.1 + Windows 2000).

I am trying out FreeBSD for the first time with an ISP who runs a DHCP
server. Until the times of static addresses, everything was so simple in
FreeBSD. Now I am forced to ask for help because the ISP is willing to help
only for Windows. And indeed my Windows 2000 is sailing the internet
smoothly enough, so I can't really blame him.

I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall to
configure rl0, it asks me whether I want to use DHCP. When I say yes, it
still gives me the same form to fill out as it does for static IP addresses.
I don't have any idea how to fill out this form when DHCP is being used.

Please note that on Windows, the following are enabled :
1) Obtain an IP address automatically
2) Obtain DNS server address automatically

Everything else (IP address/Default dateway/etc) is greyed out. Can anyone
please tell me how to get my FreeBSD system up on DHCP. The only other piece
of information I can provide is the hostname I have been using so far :
unxfbsdi.freebsd.localdomain

Thanks in advance for any help.

Regards
Manish Jain
invalid.poin...@gmail.com

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

 I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg

| less to confirm this.

To display the current configuration for the network interfaces on your
system run:
% ifconfig

You need to edit rc.conf and add the following to have the network card
configured at boot time:
ifconfig_re0=DHCP

To configure the card from the command line simply run:
# ifconfig re0 dhcp



I would do:

dhclient re0

Is the behaviour the same?



I guess so.

If rc.conf is set up with the line ifconfig_rl0=DHCP then it is no 
need to run the dhclient command manually.


For 8139D the correct driver is rl as Michael Powell pointed out in his 
reply.

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


Re: sendmail limits

2009-03-10 Thread Giorgos Keramidas
On Tue, 10 Mar 2009 15:43:12 +0100 (CET), Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:
 On Tue, 10 Mar 2009 08:51:12 +0100 (CET), Wojciech Puchar 
 woj...@wojtek.tensor.gdynia.pl wrote:
 i'm just asking for sure - do sendmail has any limits of how much
 adresses is put in CC/BCC in single mail?

 Yes, of course.  There is *support* for a limit, but the default
 is to accept a large number of recipients per-message:

  confMAX_RCPTS_PER_MESSAGE  MaxRecipientsPerMessage

  [default: infinite] If set, allow no more than the specified
  number of recipients in an SMTP envelope.  Further recipients
  receive a 452 error code (i.e., they are deferred for the
  next delivery attempt).

 You can set this easily, by modifying `sendmail.mc' to include:

  define(`confMAX_RCPTS_PER_MESSAGE', `20')

 thank you very much. that's what i was looking for.

You are welcome :)

FWIW, there are many more options  tunables.  You can read about them
in the `/usr/share/sendmail/cf/README' file.

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


Re: Cron Not Sending Mail

2009-03-10 Thread APseudoUtopia
On Wed, Mar 4, 2009 at 11:38 AM, Morgan Wesström
freebsd-questi...@pp.dyndns.biz wrote:
 Yeah, I am aware what dnl does. The reason I commented that stuff
 out is because I have no use for any of it - all those files (access,
 local-host-names, mailertable, virtusertable, etc) are all empty by
 default and I had no reason to add anything to them.  I'll try going
 back to the default config and putting the RELAY line in the access
 file.

 Thanks once again for the help. I really do appreciate the time.

 Sendmail is not an open relay by default so you need at least one RELAY
 entry in /etc/mail/access for it to forward mail externally. I'm still
 curious of where it picks up that w...@localhost but chances are it will
 disappear as soon as you have a valid access config.
 /Morgan
 ___

I still can't figure this whole issue out. I've tried everything
suggested in this thread, including reverting back to the default
sendmail config files.

I created a work-around by just piping all my crontabs into
/usr/bin/mail and sending output using that method. It doesn't solve
it, but it works for now.

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


problem rotating apache logs

2009-03-10 Thread Robin Becker

I'm trying to get newsyslog to rotate my apache2 logs (this in 7.0  7.1 
release).

I added this to the end of newsyslog.conf


/var/log/httpd-*.log644  9 8@T01BG /var/run/httpd.pid 30


this is what is currently working for me in 6.0  6.1.  Signal 30 is supposed to 
be USR1 which is intended to cause a graceful restart.


However, I find that although I do get a rotated log file the new logs always 
seem to be empty.


The logs seem to start growing only after I restart the apache server.

What am I doing wrong?
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: MT4

2009-03-10 Thread Wojciech Puchar


but if you are fan of metatrader 4 you should be fan on windows ;)

you may try wine, but is it really worth of it, unless you run this
program occasionally, while doing everything else on FreeBSD?


Do you have any suggestions for an alternative?


definitely no, i don't know even what metatrader 4 is
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: CVE-2008-2939 and FreeBSD

2009-03-10 Thread Thomas Abthorpe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On March 10, 2009 09:57:43 am new_guy wrote:
 I can't find any info on the Web. Has CVE-2008-2939 been addressed in
 FreeBSD7.1 Apache2.2? I can't find any reference to that CVE number.
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2939

This issue has indeed been addressed, 
http://www.freshports.org/commit.php?category=wwwport=apache22files=yesmessage_id=200808312300.m7vn0rjv025...@repoman.freebsd.org


 I've subscribed to the security notification list, and I've searched the
 archives, but no go.

Often these ports vulnerabilities are documented via security/vuxml, and can 
be found at http://www.vuxml.org/freebsd/. The vuxml has not been created for 
this instance :(

Sending a courtesy email to ports-secur...@freebsd.org with relevant info is 
always appreciated, sending a PR generated with output of security/vuxml is 
even better!


Thomas

- -- 
Thomas Abthorpe | FreeBSD Committer
tabtho...@freebsd.org   | http://people.freebsd.org/~tabthorpe
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkm2m5YACgkQ5Gm/jNBp8qBdxwCfUAMzoPX3QTdH5aJfXyhHO67+
pWQAn1OWH32rvLPFkfVqoDPH7+aIfSlE
=JURb
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: problem rotating apache logs

2009-03-10 Thread Jerry
On Tue, 10 Mar 2009 15:38:37 +
Robin Becker ro...@reportlab.com wrote:

I'm trying to get newsyslog to rotate my apache2 logs (this in 7.0 
7.1 release).

I added this to the end of newsyslog.conf


/var/log/httpd-*.log644  9 8@T01
BG /var/run/httpd.pid 30


this is what is currently working for me in 6.0  6.1.  Signal 30 is
supposed to be USR1 which is intended to cause a graceful restart.

However, I find that although I do get a rotated log file the new logs
always seem to be empty.

The logs seem to start growing only after I restart the apache server.

What am I doing wrong?

Have you checked out (depending on your Apache version)

http://httpd.apache.docs/1.3/programs/rotatelogs.html
http://httpd.apache.docs/2.0/programs/rotatelogs.html

-- 
Jerry
ges...@yahoo.com

Established technology tends to persist in the face of new technology.

G. Blaauw, one of the designers of System 360


signature.asc
Description: PGP signature


libthread not found

2009-03-10 Thread m.borsatino
Good idea, thank you.
Everything is ok now.
Marco
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Question regarding mu-conference, jabberd2.

2009-03-10 Thread Glenn Sieb
Hello!

I'm running FreeBSD-7.0 (athlon64, 4G RAM), with jabberd-2.2.7.1, and
expat-2.0.1. I'm trying to install mu-conference, and getting the
below-listed error. Any ideas? :-/

Thanks so much in advance!
Best,
--Glenn

===  Building for mu-conference-0.7_3
cd src/ ; make
cd jabberd ; make
cc -O -pipe -march=athlon64 -Wall -I. -I../../include
`/usr/local/bin/pkg-config --cflags glib-2.0` -D_REENTRANT -DLIBIDN -c
expat.c
In file included from expat.c:42:
../../include/lib.h:25:19: error: expat.h: No such file or directory
In file included from expat.c:42:
../../include/lib.h:299: error: expected specifier-qualifier-list before
'XML_Parser'
expat.c: In function 'xmlnode_str':
expat.c:88: error: 'XML_Parser' undeclared (first use in this function)
expat.c:88: error: (Each undeclared identifier is reported only once
expat.c:88: error: for each function it appears in.)
expat.c:88: error: expected ';' before 'p'
expat.c:97: error: 'p' undeclared (first use in this function)
expat.c:97: warning: implicit declaration of function 'XML_ParserCreate'
expat.c:98: warning: implicit declaration of function 'XML_SetUserData'
expat.c:99: warning: implicit declaration of function
'XML_SetElementHandler'
expat.c:100: warning: implicit declaration of function
'XML_SetCharacterDataHandler'
expat.c:101: warning: implicit declaration of function 'XML_Parse'
expat.c:109: warning: implicit declaration of function 'XML_ParserFree'
expat.c: In function 'xmlnode_file':
expat.c:115: error: 'XML_Parser' undeclared (first use in this function)
expat.c:115: error: expected ';' before 'p'
expat.c:130: error: 'p' undeclared (first use in this function)
expat.c: In function 'xmlnode_file_borked':
expat.c:155: error: 'XML_Parser' undeclared (first use in this function)
expat.c:155: error: expected ';' before 'p'
expat.c:167: error: 'p' undeclared (first use in this function)
expat.c:174: warning: implicit declaration of function 'XML_ErrorString'
expat.c:174: warning: implicit declaration of function 'XML_GetErrorCode'
expat.c:174: warning: implicit declaration of function
'XML_GetErrorLineNumber'
expat.c:174: warning: implicit declaration of function
'XML_GetErrorColumnNumber'
*** Error code 1

Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7/src/jabberd.
*** Error code 1

Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7/src.
*** Error code 1

Stop in /usr/ports/net-im/mu-conference/work/mu-conference_0.7.
*** Error code 1

Stop in /usr/ports/net-im/mu-conference.
*** Error code 1

Stop in /usr/ports/net-im/mu-conference.


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


Re: is there a laptop ?

2009-03-10 Thread Saifi Khan
On Tue, 10 Mar 2009, Takashi Inoue wrote:

 Hi,
 
  i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
  ndiswrapper, or broadcom or additional PCMCIA card at all.
  
  Is there a laptop model (available in market) that experienced
  members would like to recommend wherein 
   . the WiFi 802.11 a/g (PCI based)
   . Ethernet port . and ACPI 
  work absolutely fine with FreeBSD 7.x ?
 
 If you want to use ACPI suspend/resume,
 you need to kill one of two core in Core2Duo.
 If you want the both, choose Linux insted.
 
 Cheers,
 T. I.
 

Are you saying that ACPI implementation in FreeBSD is buggy ?

Do you have any suggestions about laptops to make (assuming ACPI
is disabled) ?


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


Re: problem rotating apache logs

2009-03-10 Thread Nerius Landys
I had to solve this same problem some time ago, and I used this
mailing list to help me figure it out.  See here:

  http://forums.freebsd.org/archive/index.php/t-1027.html

Go to the very bottom, my last post has the answer.  Maybe this will
help you.  It works very well for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


libsndfile portupgrade cuts sound... :-(

2009-03-10 Thread Alain G. Fabry
Today, I successfully portupgraded libsndfile, but afterwards I noticed that my 
sound doesn't work anymore.

Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High Definition 
Audio' sound card. Before it was working without any problems with the 
sound/snd_hda drivers.

What can I do to get my sound back up and running?

Thanks,

Alain


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


Is there a roadmap for FreeBSD ?

2009-03-10 Thread Saifi Khan
Hi all:

Is there a roadmap for FreeBSD ?

i spent sometime reading up the website, but couldn't find any
information regarding the roadmap. What exactly is 8.x trying to
accomplish ?


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


Re: libsndfile portupgrade cuts sound... :-(

2009-03-10 Thread Wojciech Puchar



Today, I successfully portupgraded libsndfile, but afterwards I noticed that my 
sound doesn't work anymore.

Running FreeBSD 7.0-RELEASE #0 and have a '82801G (ICH7 Family) High Definition 
Audio' sound card. Before it was working without any problems with the 
sound/snd_hda drivers.

What can I do to get my sound back up and running?

libsndfile has nothing to do with sound driver, i'm sure it's still 
working fine.


just do

cat /dev/urandom /dev/audio

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


IPFW torrent

2009-03-10 Thread Roy Stuivenberg
Hello,

I can't seem to get my torrent client working, when ipfw is up.

This rules i use in my script for the torrent client (ktorrent)

# Sta ktorrent toe naar buiten.
$cmd 00283 allow tcp from any to any 50427 out via $pif setup keep-state
$cmd 00284 allow udp from any to any 50427 out via $pif keep-state
$cmd 00285 allow udp from any to any 50428 out via $pif keep-state
$cmd 00286 allow udp from any to any 50429 out via $pif keep-state

In my router these ports are open too.

I googled about this issue and found this rule .. but It doesn't look safe
to me?
Looks like everything is open?

520 allow tcp from any to any out keep-state


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


Re: IPFW torrent

2009-03-10 Thread Dan Nelson
In the last episode (Mar 10), Roy Stuivenberg said:
 I can't seem to get my torrent client working, when ipfw is up.
 
 This rules i use in my script for the torrent client (ktorrent)
 
 # Sta ktorrent toe naar buiten.
 $cmd 00283 allow tcp from any to any 50427 out via $pif setup keep-state
 $cmd 00284 allow udp from any to any 50427 out via $pif keep-state
 $cmd 00285 allow udp from any to any 50428 out via $pif keep-state
 $cmd 00286 allow udp from any to any 50429 out via $pif keep-state

These rules apply to outgoing traffic to TCP/50427 and UDP/50427-50429 . 
Unless you can guarantee that all your peers are listening on those ports,
those rules aren't going to do much good.  ...  Unless you're applying these
rules on an intermediate router box, and $pif is your trusted network
interface, in which case the rules look okay.

A good way to troubleshoot firewall problems is to set the sysctl
net.inet.ip.fw.verbose=1, add reset log ip from any to any rule to the
bottom of your list, and run tail -f /var/log/security to watch for
blocked packets.
 
 In my router these ports are open too.
 
 I googled about this issue and found this rule .. but It doesn't look safe
 to me?  Looks like everything is open?
 
 520 allow tcp from any to any out keep-state

A rule like this is usually applied to the actual machine running ktorrent,
so any outgoing traffic (and any replies to that traffic) is allowed. 
Alternatively, a rule like this could be applied to an intermediate router:

allow ip from any to any in via $trusted_interface out via $external_interface 
keep-state

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


Re: is there a laptop ?

2009-03-10 Thread Frank Shute
On Wed, Mar 11, 2009 at 12:31:41AM +, Saifi Khan wrote:

 On Tue, 10 Mar 2009, Takashi Inoue wrote:
 
  Hi,
  
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
   
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein 
. the WiFi 802.11 a/g (PCI based)
. Ethernet port . and ACPI 
   work absolutely fine with FreeBSD 7.x ?
  
  If you want to use ACPI suspend/resume,
  you need to kill one of two core in Core2Duo.
  If you want the both, choose Linux insted.
  
  Cheers,
  T. I.
  
 
 Are you saying that ACPI implementation in FreeBSD is buggy ?
 
 Do you have any suggestions about laptops to make (assuming ACPI
 is disabled) ?
 

You can still use ACPI, it's just that suspend/resume might not work.

If you use ACPI then you can run powerd(8) which will prolong battery
life.

I bought a Dell XPS1330 on which everything seems to work on 7.1-R;
even the fingerprint reader can be made to work (can't remember the
port to use). I don't use powerd as I usually have the laptop plugged in.

BTW, I've got an old Thinkpad and I much prefer the Trackpoint to the
Dell's Touchpad, YMMV.

So my advice is to look at the Thinkpads. A lot of BSD users use them
 their hardware is well supported by FreeBSD, I believe.

 
 thanks
 Saifi.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

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


Re: Is there a roadmap for FreeBSD ?

2009-03-10 Thread Roland Smith
On Wed, Mar 11, 2009 at 12:37:28AM +, Saifi Khan wrote:
 Hi all:
 
 Is there a roadmap for FreeBSD ?

I'm not sure there even is one. :)

The road that is taken depends mostly on what the people working on the
code want to tackle, I guess. Looking at the -current mailing list
should probably give you an idea what is being worked on.

Personally I don't think roadmaps are all that usefull for open source
projects that depend on volunteer work. Volunteers tend to work on an
area that either scratches an itch for them or that interests them. 
 
 What exactly is 8.x trying to accomplish ?

Generally, CURRENT is a branch to introduce changes that would be too
intrusive in the release brances or STABLE.

Other than that, you'd better ask on the -current or -hackers list.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpDmfzuwCLsN.pgp
Description: PGP signature


Re: IPFW torrent

2009-03-10 Thread RW
On Tue, 10 Mar 2009 20:40:11 +0100
Roy Stuivenberg roys1...@gmail.com wrote:

 Hello,
 
 I can't seem to get my torrent client working, when ipfw is up.
 
 This rules i use in my script for the torrent client (ktorrent)

Typically you need separate rules for incoming and outgoing
connections, something like this

add  1000 check-state
add  1010 deny tcp from any to any in established

# bittorrent tcp on 14353
add 10801 allow tcp from any to me 14353 keep-state

# allow outgoing tcp
add 5 allow tcp from any to any out keep-state



BTW if you use p2p a lot then eventually you'll probably want to do
upload prioritisation, and that's a lot easier with pf+altq. I
switched from ipfw to pf a long time ago, and I wouldn't want to go
back. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


puzzling ipnat behavior

2009-03-10 Thread dacoder

i've asked this question before, but i must have been unclear.  i hope this
is better:

i'm puzzled by how ipnat works, particularly by the fact that when the ip's
on an inside nic are mapped to the ip on my outside nic, i have to configure
ipfilter to allow any ip that might hit the outside nic access to the ip's on
the inside nic.  so, where wpi0 is the outside nic  the 1st /24 in 10.0.0.0
contains the ip of the inside nic  everything behind it:

ipnat.rules:  allow wpi0 10.0.0.0/24 - ip on outside nic/32

ipf.rules:pass in quick from any to 10.0.0.0/24

i should have thought that since everything coming from outside to
10.0.0.0/24 is addressed to the ip on outside nic this would be
sufficient:

pass in quick from ip on outside nic to 10.0.0.0/24

but it isn't.

what's wrong w/ my thinking?   why isn't this rule a security hazard?

david coder
network engineer emeritus
ntt/verio


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


SYSCALL_MODULE macro modified?

2009-03-10 Thread T.
Found 7.0's sysent.h file modified at the commonly used SYSCALL_MODULE 
macro,
wasn't sure how I should modify my code to accommodate the change so 
changed the sysent.h (yikes!).

No biggy right? Removed the AUE_NULL. That's all that's been added.
But the argument was NULL, so what the hell else could I do? AUE_NULL 
didn't work.

And how can you be requiring anything else where once there was NULL.
And when I said NULL, I meant NULL! Boggling! This is related to some 
audit stuff?

Anyway...

#define SYSCALL_MODULE(name, offset, new_sysent, evh, arg) \
static struct syscall_module_data name##_syscall_mod = {   \
  evh, arg, offset, new_sysent, { 0, NULL, AUE_NULL } \
}; \
  \
static moduledata_t name##_mod = { \
  #name,  \
  syscall_module_handler, \
  name##_syscall_mod \
}; \
DECLARE_MODULE(name, name##_mod, SI_SUB_SYSCALLS, SI_ORDER_MIDDLE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Noah

Hi there,

rebuilding emacs using portupgrade is dying and claiming I am missing a 
library.  What shall I do?



/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by 
libcairo.so.2


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


Re: Is there a roadmap for FreeBSD ?

2009-03-10 Thread Saifi Khan
On Tue, 10 Mar 2009, Roland Smith wrote:

 
 Personally I don't think roadmaps are all that usefull for open source
 projects that depend on volunteer work. Volunteers tend to work on an
 area that either scratches an itch for them or that interests them. 
  

Fine, may i have the list of 'itch'es ?


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


/libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Robert Huff
Noah writes:

  rebuilding emacs using portupgrade is dying and claiming I am missing a 
  library.  What shall I do?
  
  /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found,
  required by libcairo.so.2

Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?


Robert Huff

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


Re: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Noah

Robert Huff wrote:

Noah writes:

 rebuilding emacs using portupgrade is dying and claiming I am missing a 
 library.  What shall I do?
 
 /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found,

 required by libcairo.so.2


Have you:
1) updated your whole ports tree?
2) read /usr/ports/UPDATING?




Sure Robert,

This is what I do to update the whole ports tree.  Am I missing something?


1) use cvsup and get the entire ports
2) cd /usr/ports  make index
3) cd /usr/ports  make fetchindex
4) /usr/local/sbin/portsdb -Uu
5) /usr/local/sbin/pkgdb -fu




Robert Huff


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


Ldapadd Crashed with Segmentation Fault

2009-03-10 Thread Hong
Hi,

I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed through
the port system.

The configuration file /usr/local/etc/slapd.conf was edited:
...
databasebdb
#suffix dc=my-domain,dc=com
#rootdn cn=Manager,dc=my-domain,dc=com
suffix  dc=example,dc=com
rootdn  cn=Manager,dc=example,dc=com
...

I created a test LDIF file named test1.ldif:

dn: dc=example,dc=com
objectclass: dcObject
objectclass: organization
o: Example Company
dc: example

dn: cn=Manager,dc=example,dc=com
objectClass: organizationalRole
cn: Manager

Then I used ldapadd to add the new entries in the LDIF file:

# ldapadd -x -D cn=Manager,dc=example,dc=com -W -f test1.ldif
Enter LDAP Password:
adding new entry dc=example,dc=com

adding new entry cn=Manager,dc=example,dc=com

Segmentation fault: 11 (core dumped)

Any idea what went wrong?

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


Re: Ldapadd Crashed with Segmentation Fault

2009-03-10 Thread Tim Judd
On Tue, 2009-03-10 at 21:15 -0700, Hong wrote:
 Hi,
 
 I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed through
 the port system.
 
 The configuration file /usr/local/etc/slapd.conf was edited:
 ...
 databasebdb
 #suffix dc=my-domain,dc=com
 #rootdn cn=Manager,dc=my-domain,dc=com
 suffix  dc=example,dc=com
 rootdn  cn=Manager,dc=example,dc=com
 ...
 
 I created a test LDIF file named test1.ldif:
 
 dn: dc=example,dc=com
 objectclass: dcObject
 objectclass: organization
 o: Example Company
 dc: example
 
 dn: cn=Manager,dc=example,dc=com
 objectClass: organizationalRole
 cn: Manager
 
 Then I used ldapadd to add the new entries in the LDIF file:
 
 # ldapadd -x -D cn=Manager,dc=example,dc=com -W -f test1.ldif
 Enter LDAP Password:
 adding new entry dc=example,dc=com
 
 adding new entry cn=Manager,dc=example,dc=com
 
 Segmentation fault: 11 (core dumped)
 
 Any idea what went wrong?
 
 Hong

Why it crashed?  don't know.  Most segfaults in my experience (few and
far between) are due to compiled options that crash it.

My experience with OpenLDAP has taught me the rootdn specified in
slapd.conf is a superuser who DOES NOT always need to be specified in
the LDAP directory (some apps look for it, some apps just use the values
you provide and OpenLDAP binds to the super-user defined there)

My first suggestion is to (optionally, preferred) remove the database
files, since it may not have added correctly, edit test1.ldif and remove
the user (last 3 lines), and readd.  If it still crashes, consider
limiting the options on the server and recompiling pretty vanilla.



Some ideas, no firm reason.  ktrace ldapadd to find details.


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


Re: /libexec/ld-elf.so.1: Shared object libxcb.so.1 not found, required by libcairo.so.2

2009-03-10 Thread Robert Huff
Noah writes:

  1) use cvsup and get the entire ports
  2) cd /usr/ports  make index
  3) cd /usr/ports  make fetchindex

Ummm ... it is my understanding that not only will (3)
overwrite (2), but it will often resulr in a less current INDEX.


Robert Huff

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