How to have two active network interfaces on a laptop

2009-04-11 Thread Leslie Jensen


I'm wondering how I should handle my laptops network interfaces. I'm 
often forced to wait for bsdstats, ntpd and sshd to time out if I'm not 
connected. Even if I am connected on one interface the default gateway 
is assigned to the interface that is not connected.


I've found some information about profile.sh but it was unclear if this 
is still implemented in Freebsd.


How do I go about solving this?

Thanks

/Leslie
___
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"


How can I use BD-RE with UFS on geli?

2009-04-11 Thread SAITOU Toshihide
I tried BD-RE with UFS on geli but didn't success.
What was wrong the below?


* BDR-S03J, Pioneer SATAT BD/DVD/CD Writer
* FreeBSD 7-STABLE (Apr. 5)

1. when insert BD-RE:

   [/var/log/messages]
   acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 
   (cd0:ata6:0:0:0): READ TOC/PMA/ATIP. CDB: 43 0 0 0 0 0 0 0 4 0 
   (cd0:ata6:0:0:0): CAM Status: SCSI Status Error
   (cd0:ata6:0:0:0): SCSI Status: Check Condition
   (cd0:ata6:0:0:0): ILLEGAL REQUEST asc:24,0
   (cd0:ata6:0:0:0): Invalid field in CDB
   (cd0:ata6:0:0:0): Unretryable error


2. maybe the diskinfo is wrong. (READ_TOC ILLEGAL REQUEST is related?)

   # diskinfo -v /dev/acd0
   /dev/acd0
   2048# sectorsize
   8796093020160   # mediasize in bytes (8.0T)
   4294967295  # mediasize in sectors


3. trying disk format with dvd+rw-format was failed.

   # dvd+rw-format /dev/cd0
   * BD/DVD±RW/-RAM format utility by , version 7.1.
   * 25.0GB BD media detected.
   * formatting 63.9%
   #

   [/var/log/messages]
   acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 
   acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00 
   (cd0:ata6:0:0:0): READ TOC/PMA/ATIP. CDB: 43 2 0 0 0 0 aa 0 c 0 
   (cd0:ata6:0:0:0): CAM Status: SCSI Status Error
   (cd0:ata6:0:0:0): SCSI Status: Check Condition
   (cd0:ata6:0:0:0): ILLEGAL REQUEST asc:24,0
   (cd0:ata6:0:0:0): Invalid field in CDB
   (cd0:ata6:0:0:0): Unretryable error


4. but after the above, the diskinfo is something sane:

   # diskinfo -v /dev/acd0
   /dev/acd0
   2048# sectorsize
   24220008448 # mediasize in bytes (23G)
   11826176# mediasize in sectors


5. so I tried geli init

   # geli init /dev/acd0
   # geli attach /dev/acd0

   GEOM_ELI: Device acd0.eli created.
   GEOM_ELI: Encryption: AES-CBC 128
   GEOM_ELI: Crypto: software


6. then newfs:

   # newfs /dev/acd0.eli 
   /dev/acd0.eli: 23098.0MB (47304700 sectors) block size 16384, fragment size 
2048
using 126 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
   super-block backups (for fsck -b #) at:
160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
6398144, 6774496, 7150848, 7527200, 7903552, 8279904, 8656256, 9032608,
9408960, 9785312, 10161664, 10538016, 10914368, 11290720, 11667072, 
12043424,
12419776, 12796128, 13172480, 13548832, 13925184, 14301536, 14677888,
15054240, 15430592, 15806944, 16183296, 16559648, 16936000, 17312352,
17688704, 18065056, 18441408, 18817760, 19194112, 19570464, 19946816,
20323168, 20699520, 21075872, 21452224, 21828576, 22204928, 22581280,
22957632, 2984, 23710336, 24086688, 24463040, 24839392, 25215744,
25592096, 25968448, 26344800, 26721152, 27097504, 27473856, 27850208,
28226560, 28602912, 28979264, 29355616, 29731968, 30108320, 30484672,
30861024, 31237376, 31613728, 31990080, 32366432, 32742784, 33119136,
33495488, 33871840, 34248192, 34624544, 35000896, 35377248, 35753600,
36129952, 36506304, 36882656, 37259008, 37635360, 38011712, 38388064,
38764416, 39140768, 39517120, 39893472, 40269824, 40646176, 41022528,
41398880, 41775232, 42151584, 42527936, 42904288, 43280640, 43656992,
44033344, 44409696, 44786048, 45162400, 45538752, 45915104, 46291456,
46667808, 47044160


   [/var/log/messages]
   acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
   GEOM_ELI: g_eli_read_done() failed acd0.eli[READ(offset=65536, length=2048)]

   * this was not always seen and the offset or the lenth is
 random during my trial.


After this I can mount /dev/acd0.eli but the programs which
access to this disk frequently abort with these log messages:


   acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
   GEOM_ELI: g_eli_read_done() failed acd0.eli[READ(offset=11946934272, 
length=2048)]
   g_vfs_done():label/DailyBackup[READ(offset=11946934272, length=2048)]error = 
5

   acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
   GEOM_ELI: g_eli_read_done() failed acd0.eli[READ(offset=2697789440, 
length=16384)]
   g_vfs_done():label/DailyBackup[READ(offset=2697789440, length=16384)]error = 
5

   acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
   GEOM_ELI: g_eli_read_done() failed acd0.eli[READ(offset=11946934272, 
length=2048)]
   g_vfs_done():label/DailyBackup[READ(offset=11946934272, length=2048)]error = 
5

I feel the disk access sometimes goes over the disk area
because of the incorrect disk parameters.

Thank you.

---
SAITOU Toshihide
___
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: questions about Fatal Trap 12

2009-04-11 Thread Paul Hamilton
 

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Ray
Sent: Saturday, 4 April 2009 01:45
To: freebsd general questions
Subject: questions about Fatal Trap 12

Hello,
I have received a kernel Trap 12 error several times now and am trying to
figure it out. 
the error occurred today, and the previous time was about two weeks ago. 
last time I had to run fsck manually if that proves anything.


uname -a gives the following:

FreeBSD wserver..com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed
Sep 
17 13:30:46 MDT 2008 r...@wserver.*.com:/usr/obj/usr/src/sys/MOD

amd64


Google returns results mostly for versions 4.x and 5.x, but it suggest 2
main 
things: 
test ram, and kernel panic troubleshooting. 
(http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-
TROUBLESHOOTING)

Is there a way to test the ram without removing it from the machine and
leave 
the machine functioning. I've used memtest 86 before, but obviously the 
machine has to be offline for this test.

However, I'm a little unsure of the instructions in the handbook on 
troubleshooting. namely, it talks about using the nm command, put I can't 
figure out the data file to give it as an argument, and second I'm unsure
about 
using a debugging Kernel on a production server. I have heard that It will 
significantly slow down a machine.
Any help or suggestions would be greatly appreciated.
Ray
___



Hi Ray,

I have had a few of the Trap 12 errors over the last 10 years of using
FreeBSD.  From memory, mine where due to faulty motherboard/CPU.  I just
moved the hard drive to another PC, and all was ok.  

The last time I received the error, was when I tried recompiling world.  I
put it down to CPU heat, as it was running a LOT harder than normal day to
day use.  This was on a server that had been in place for two years running
with out problem!

Cheers,

PaulH



___
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: sorta newb help compiling samba

2009-04-11 Thread Karl Vogel
>> On Sat, 11 Apr 2009 19:49:31 -0500, 
>> Adam Vande More  said:

A> A shot in dark at the problem is upgrading firefox also upgraded perl
A> from 5.8.8 to 5.8.9(possibility w/ threaded perl).

   No, I installed perl-5.8.8 by hand back when the ports version was
   somewhere around 5.8.4; this happened long before the Firefox episode.

   I've used CPAN quite a bit for modules, and I keep the basic file
   setup CPAN creates for use with non-networked systems; I have a
   short script that configures, builds, and installs perl followed
   by a specific set of modules in the right order.  All necessary
   sources are already present, so nothing has to be downloaded, and
   the only interactive parts of the installation are things like the
   termcap/terminfo modules asking you to press a key in the next 5
   seconds, etc.  This way, I get consistent versions of perl and its
   modules across all my servers, regardless of OS.

A> If some other of your apps expected perl 5.8.8 on boot and didn't find
A> then that could cause an issue similar to your description.

   I can see writing tests for a specific capability, like
 perl -e 'use enum;' 2> /dev/null

   to see if the enumerated types module has been installed, but I
   can't see a reason to require anything more specific than (say)
   "perl 5.6 or above".

-- 
Karl Vogel  I don't speak for the USAF or my company
PETA - People Eating Tasty Animals  --bumper sticker
___
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: sorta newb help compiling samba

2009-04-11 Thread Warren Block

On Fri, 10 Apr 2009, Karl Vogel wrote:


On Fri, 10 Apr 2009 21:44:14 +0200,
Polytropon  said:


P> Why don't you use echo -n which suppresses the newline instead of involving
P> another program to do something that echo can do on its own?  This is how
P> FreeBSD does it in its system scripts.

  Some of my scripts date back to 1994, and they've been run under FreeBSD,
  Linux, and Solaris using /bin/sh, ATT Korn shell, Solaris's version
  of the Korn shell (which is sure as hell *NOT* the same thing), pdksh,
  and bash.  Unfortunately, "echo -n" hasn't behaved consistently, so I
  used the (pretty gross) hack

 # echo without newline
 necho () {
   echo "$*" | tr -d '\012'
 }


Some people recommend using printf instead.

-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 "freebsd-questions-unsubscr...@freebsd.org"


(OT) good laptop hardware repair group or forum

2009-04-11 Thread Chris Whitehouse

Hi all

very sorry for this OT post, does anyone know of a good usenet or other 
forum to ask about laptop hardware repair? My quite expensive and now 
out-of-warranty HP laptop has suddenly become very dead and I'm in shock :((


Thanks

Chris
___
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: sorta newb help compiling samba

2009-04-11 Thread Adam Vande More

Karl Vogel wrote:
On Fri, 10 Apr 2009 14:31:06 -0500, 
Adam Vandemore  said:
  


A> How do you handle major builds that use FBSD specific patches
A> asterisk for example?

   Fortunately I haven't had to build asterisk or anything else that large.
   If I did, I'd probably try building under Solaris first, and when
   installing under FBSD, I'd examine any patches and put them in by hand.

   My only experience with a major ports build was attempting to upgrade
   Firefox; 20 minutes after starting, I was left with a literally
   unbootable system.  I had to yank the drive, give it to a buddy to
   verify that my files were still present, do a complete installation
   with a more recent FBSD version on a clean drive, and restore my stuff
   from the original system.

   I'm perfectly willing to admit that I botched something in the Firefox
   upgrade, but I've also run into problems installing anything that remotely
   depends on perl.  I use the same version on all my servers, and I got
   tired of seeing "unable to find perl-5.8.whatever"; configure scripts
   test for capability rather than version number to avoid this problem.
   Some of my servers are not allowed to have any network access, which
   means no chasing dependencies; I put in a CD with some source and run
   a build script.

  
A shot in dark at the problem is upgrading firefox also upgraded perl 
from 5.8.8 to 5.8.9(possibility w/ threaded perl).  If some other of 
your apps expected perl 5.8.8 on boot and didn't find then that could 
cause an issue similar to your description.  Since perl is such a huge 
part of the ports collection, when perl is updated, all of it's 
dependencies should be rebuilt against the new version.  That's 
relatively easy to accomplish using something like portupgrade or 
portmaster.  I've had to take steps like you describe before, but I try 
to keep the things I maintain separately to an absolute minimum as in 
addition to the time consumption aspect of it, I tend to forget things 
which then blow in my face so I find it easier to use more conventional 
means.  Also a good idea to keep on top of /usr/ports/UPDATING as well 
which will give you a heads up on such a thing.  The entry referencing 
the perl upgrade:


20090113:
 AFFECTS: users of lang/perl5.8
 AUTHOR: s...@freebsd.org

 lang/perl5.8 has been updated to 5.8.9. You should update everything
 depending on perl. The easiest way to do that is to use
 perl-after-upgrade script supplied with lang/perl5.8. Please see
 its manual page for 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: sorta newb help compiling samba

2009-04-11 Thread Chris Rees
2009/4/9 Gary Gatten :
> Yup - tried samba3 and a couple others.  None of them liked a function about 
> current_time in krb5.
>
> What's up with the top posting thing?  You don't like the most recent stuff 
> at the top?
>

No, top posting is horrible! And frowned upon in this community

http://www.freebsd.org/doc/en/articles/mailing-list-faq/article.html#ETIQUETTE-REPLYING

Don't worry about it, most of us did it at the start :P

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: csup vs freebsd-update

2009-04-11 Thread Adam Vande More

Andrei Brezan wrote:

Hi all,

I have a strange problem with csup and freebsd-update. I'm using
7.0-RELEASE-p11. If i do:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p11.

All seems ok, i'm up to date.

But if i do:
# csup -L 2 ./standard-supfile
Parsing supfile "./standard-supfile"
Connecting to cvsup.hu.FreeBSD.org
Connected to 193.6.222.7
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/contrib/lukemftpd/src/ftpd.c
 Checkout src/contrib/telnet/telnetd/sys_term.c
 Checkout src/libexec/ftpd/extern.h
 Checkout src/libexec/ftpd/ftpcmd.y
 Checkout src/libexec/ftpd/ftpd.c
 Checkout src/sys/amd64/amd64/exception.S
 Checkout src/sys/conf/newvers.sh
 Checkout src/sys/dev/random/randomdev.c
 Checkout src/sys/dev/random/randomdev_soft.c
 Checkout src/sys/kern/kern_environment.c
 Checkout src/sys/kern/kern_time.c
 Checkout src/sys/kern/uipc_domain.c
 Checkout src/sys/kern/vfs_mount.c
 Checkout src/sys/netinet/tcp.h
 Checkout src/sys/netinet/tcp_output.c
 Checkout src/sys/netinet6/icmp6.c
 Checkout src/sys/netinet6/in6.h
 Checkout src/sys/netinet6/in6_proto.c
 Checkout src/sys/netinet6/nd6.h
 Checkout src/sys/netinet6/nd6_nbr.c
Shutting down connection to server
Finished successfully

./standard supfile is:
*default host=cvsup.hu.FreeBSD.org
*default base=/var/db
*default prefix=/usr

*default release=cvs tag=RELENG_7_0
*default delete use-rel-suffix

*default compress

src-all


If i do again a freebsd-update i get:
# freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p11:
/usr/src/contrib/lukemftpd/src/ftpd.c
/usr/src/contrib/telnet/telnetd/sys_term.c
/usr/src/libexec/ftpd/extern.h
/usr/src/libexec/ftpd/ftpcmd.y
/usr/src/libexec/ftpd/ftpd.c
/usr/src/sys/amd64/amd64/exception.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/dev/random/randomdev.c
/usr/src/sys/dev/random/randomdev_soft.c
/usr/src/sys/kern/kern_environment.c
/usr/src/sys/kern/kern_time.c
/usr/src/sys/kern/uipc_domain.c
/usr/src/sys/kern/vfs_mount.c
/usr/src/sys/netinet/tcp.h
/usr/src/sys/netinet/tcp_output.c
/usr/src/sys/netinet6/icmp6.c
/usr/src/sys/netinet6/in6.h
/usr/src/sys/netinet6/in6_proto.c
/usr/src/sys/netinet6/nd6.h
/usr/src/sys/netinet6/nd6_nbr.c
Installing updates... done.


I know freebs-update is getting the correct files for release 7.0, but i
don't understand where i go wrong with csup. If anyone can point the
obvious that i can't see here please do.

Thank you,
  
I'm not entirely clear what you're trying to do, but freebsd-update is a 
binary upgrade utility and cvsup is source based.  perhaps csup is 
borking w/ how freebsd-update is verifying the files to update.  
however, you should use one or the other not both.  I only use csup when 
doing a major upgrade eg 7.0 -> 7.1 and doing a buildworld.  
freebsd-update keeps me up to date on latest patchset.

___
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: How to create NTFS file system from FreeBSD?

2009-04-11 Thread Chris Rees
2009/4/11 Jan Henrik Sylvester :
> Chris Rees wrote:
>>
>> 2009/4/11 Jan Henrik Sylvester :
>>>
>>> Yuri wrote:

 I need to format NTFS partition to give HD to someone to write things
>>>
>>> mkntfs from sysutils/ntfsprogs should do it.
>>>
>>
>> Yuri had already written ONE LINE below your quote:
>>
>>> I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an
>>> extremely long time, > 24hrs.
>
> Yes, sorry, I totally failed to make my point, since I scrapped that line
> and forgot about it writing the mail. (The important part was in the
> parenthesis you removed.)
>
> My point is that I had problems with ntfsresize from ntfsprogs-2.0.0 not
> working, while ntfsresize from ntfsprogs-1.13.1 was doing just fine. (I hit
> that twice -- on different computers.)
>
> Thus, I would suggest to try mkntfs from ntfsprogs-1.13.1, if mkntfs from
> ntfsprogs-2.0.0 fails.
>
> If the older mkntfs works, it would be another reason to revive the old
> port.
>
> ntfsprogs-2.0.0 was criticized, for example in the thread ending with this
> posting:
> http://www.redhat.com/archives/rhl-devel-list/2008-May/msg02306.html
>
> A developer from ntfs-3g that formerly worked on ntfsprogs recommends to use
> the older version: http://www.ntfs-3g.org/support.html#ntfsprogs
>
> I do not really know who is right, but ntfs-3g is actively developed while
> ntfsprogs is not, other people seem to trust ntfs-3g more than the newer
> version of ntfsprogs, and the arguments of the ntfs-3g developer sound
> reasonable.
>
> I wrote about it last year (before I actually hit problems):
> http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050157.html
>
> The reply was that there are no new problems known with the 2.0.0 version:
> http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050406.html
>
> I would like to have ntfsprogs-1.13.1 back -- as ports/ntfsprogs1 or by
> reverting ports/ntfsprogs. Thus, Yuri, please try and report back.
>
> Cheers,
> Jan Henrik
>

Hah, sorry for the vicious reply from me. Don't take it personally, I
just snapped this time at reading what looked like a dupe >< I promise
I'll lay off the coffee for a bit.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: Can I resume the perl upgrade?

2009-04-11 Thread Chris Rees
2009/4/11 David Southwell :
> On Friday 10 April 2009 11:43:33 kime...@gmail.com wrote:
>> Paul Schmehl wrote:
>> > --On Friday, April 10, 2009 11:17:00 -0500 Paul Schmehl
>> >
>> >  wrote:
>> >> According to /usr/ports/UPDATING, if you want to upgrade to perl5.10,
>> >> you do
>> >> the following:
>> >>
>> >> Portupgrade users:
>> >>     0) Fix pkgdb.db (for safety):
>> >>         pkgdb -Ff
>> >>
>> >>     1) Reinstall perl with new 5.10:
>> >>         portupgrade -o lang/perl5.10 -f perl-5.8.\*
>> >>
>> >>     2) Reinstall everything that depends on Perl:
>> >>         portupgrade -fr perl
>> >>
>> >> My machine got rebooted right in the middle of step 3.  Is there a
>> >> way to
>> >> resume where I left off?  Or do I just start over?
>> >
>> > Let me rephrase.  I don't see a way in portupgrade to start over where
>> > I left off.  However, pkg_info -R lang/perl* shows that all my ports
>> > depend on 5.10 and no ports are still depending upon 5.8.  Is it safe
>> > to assume that the reboot happened after portupgrade had finished?
>>
>> Nope. With this info you can assume that step 2/3 worked. Not the step 3/3.
>> I dont know how to restart at the stage it was before reboot as I dont
>> use portupgrade.
>> Personnaly, as portmaster failed with some ports and abort the whole
>> update process, I wrote a simple sh script which loop over the packages
>> which need perl (got via the via pkg_info -R, need reordering
>> thought...), exec portmaster ${PKG}, and keep a list of which reinstall
>> succeed and which failed.
>>
>> Regards
>
> I hope it is not too far off topic but:
>
> Can anyone tell me how to fix this one:
>
> Stale dependency: bsdpan-Pod-Perldoc-3.15 -> perl-5.8.9_2 (lang/perl5.8):
> can't convert nil into string
>
>
> My update to 10 seems to be OK except for this..
>
> I cannot find its origin so do not know what to deinstall and reinstall
>
> It would also be great to get all bsdpan into the pkgdb with their origins..
> is there any way to do that?
>
> Thanks in advance
>
> David
>

Perhaps you should start a new thread.

Chris



-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: sorta newb help compiling samba

2009-04-11 Thread Karl Vogel
>> On Fri, 10 Apr 2009 21:44:14 +0200, 
>> Polytropon  said:

P> Why don't you use echo -n which suppresses the newline instead of involving
P> another program to do something that echo can do on its own?  This is how
P> FreeBSD does it in its system scripts.

   Some of my scripts date back to 1994, and they've been run under FreeBSD,
   Linux, and Solaris using /bin/sh, ATT Korn shell, Solaris's version
   of the Korn shell (which is sure as hell *NOT* the same thing), pdksh,
   and bash.  Unfortunately, "echo -n" hasn't behaved consistently, so I
   used the (pretty gross) hack

  # echo without newline
  necho () {
echo "$*" | tr -d '\012'
  }

P> And according to
P>   test -d /usr/bin || exit 0 # /usr not mounted
P> Woudln't it be more compliant to exit 1 to signal an error due to /usr not
P> being mounted?

   Probably.  The only times I've ever tried to do anything without /usr
   mounted is when running single-user, so a message saying /usr/bin is
   missing wouldn't be a bad idea.

-- 
Karl Vogel  I don't speak for the USAF or my company

The danger is not that one class is unfit to govern.
All classes are unfit to govern.--Lord Acton
___
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: sorta newb help compiling samba

2009-04-11 Thread Karl Vogel
>> On Fri, 10 Apr 2009 14:31:06 -0500, 
>> Adam Vandemore  said:

A> How do you handle major builds that use FBSD specific patches
A> asterisk for example?

   Fortunately I haven't had to build asterisk or anything else that large.
   If I did, I'd probably try building under Solaris first, and when
   installing under FBSD, I'd examine any patches and put them in by hand.

   My only experience with a major ports build was attempting to upgrade
   Firefox; 20 minutes after starting, I was left with a literally
   unbootable system.  I had to yank the drive, give it to a buddy to
   verify that my files were still present, do a complete installation
   with a more recent FBSD version on a clean drive, and restore my stuff
   from the original system.

   I'm perfectly willing to admit that I botched something in the Firefox
   upgrade, but I've also run into problems installing anything that remotely
   depends on perl.  I use the same version on all my servers, and I got
   tired of seeing "unable to find perl-5.8.whatever"; configure scripts
   test for capability rather than version number to avoid this problem.
   Some of my servers are not allowed to have any network access, which
   means no chasing dependencies; I put in a CD with some source and run
   a build script.

-- 
Karl Vogel  I don't speak for the USAF or my company

Seen in an East African newspaper: A new swimming pool is rapidly taking
shape since the contractors have thrown in the bulk of their workers.
___
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"


The FreeBSD Diary: 2009-04-11

2009-04-11 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  
and/or The FreeBSD Diary . 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.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 "freebsd-questions-unsubscr...@freebsd.org"


Re: openoffice.org-3.01 packages available (i386)

2009-04-11 Thread Manolis Kiagias
Chris Whitehouse wrote:
>>
>> I am following this discussion too.
>> I was actually thinking of some less drastic method to make a FreeBSD
>> desktop easier to build and less time consuming.
>> Currently there are at least two projects based on FreeBSD that offer
>> reasonable BSD desktops without lots of manual setup: DesktopBSD and
>> PC-BSD (PC-BSD actually had a version release yesterday).  The problem
>> is both projects focus on KDE. I would like to have a choice between
>> XFCE, Gnome and possibly some light WMs i.e. fluxbox.
>
> My motivation also, plus energy considerations. I was rolling my own
> using icewm but have recently been using PCBSD. I like PCBSD very much
> but I would go back to my previous setup with this project.
>
>>
>> I like to build my own packages, and have put together a spare machine
>
> Are you using the tinderbox port or do you build in the machines own
> environment?

I am using ports-mgmt/tinderbox
In the past I was using a simple setup: I would install the ports,
create the packages with pkg_create and then delete /usr/local and restart.
>
>> just for this purpose. It is no speed daemon (P4 2.5Ghz, 2G DDR2 RAM)
>> but it is stable and always available. What I intend to do - and I am
>> close to this - is start building package CDs (or DVDs) that people can
>> download and use in the following way:
>>
> Would each CD contain all the available packages or do you have some
> idea to only distribute changed packages?

The purpose is for every CD to be self contained so it can be used for
clean installs.
Creating incremental CDs would be fairly easy, but will increase the
number of CDs to carry around.

>
>> - Perform a base install of FreeBSD with *no* additional packages
>> (except maybe the linux binary compatibility)
>> - Insert the CD/DVD and run a dialog(1) based sh script with options to:
>> - Install packages
>> - Configure X and DE / WM
>> - Configure shell (i.e. startup files etc)
>> - Configure sound card
>> (and more)
>>
>> All these packages would be build from the same ports tree so they would
>> be in sync. There should be regular (bimonthly?) updates to the CD
>> itself.  Everyone building a new system can use the latest CD, and
>> anyone who installed a system using a previous version could use the
>> same CD with portupgrade -PP (after setting PKG_PATH, PKG_FETCH etc).
>> This can actually be one of the menu options.
>>
>> Taking this one step further (using your ideas), I could also distribute
>> the ports tree (and probably /var/db/ports assuming the ports do not use
>> default options) along with the packages, so anyone wishing to compile
>> more stuff could use this same tree knowing it will be in sync.
>
> This achieves pretty much exactly what I was hoping for! Fantastic. I
> had assumed default
> configs though because I imagine the ports people have reasons for
> choosing them.

Yes, default configs would probably be best when redistributing to lots
of people.

>>
>> I intend to build a prototype of this soon. It will contain XFCE,
>> firefox, thunderbird, vlc, bash, openoffice, Xorg and few more
>> packages.  If it generates enough interest in the community, we will
>> then decide the final set of packages etc for the regular releases.
>
> Exactly. gnome and kde?

Sure.  I'll do a test run with XFCE and we can discuss details afterwards.

___
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: questions about Fatal Trap 12

2009-04-11 Thread Chris Rees
2009/4/9 Ray :
> On Friday 03 April 2009 11:44:31 Ray wrote:
>> Hello,
>> I have received a kernel Trap 12 error several times now and am trying to
>> figure it out.
>> the error occurred today, and the previous time was about two weeks ago.
>> last time I had to run fsck manually if that proves anything.
>>
>>
>> uname -a gives the following:
>>
>> FreeBSD wserver..com 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Wed
>> Sep 17 13:30:46 MDT 2008
>> r...@wserver.*.com:/usr/obj/usr/src/sys/MOD amd64
>>
>>
>> Google returns results mostly for versions 4.x and 5.x, but it suggest 2
>> main things:
>> test ram, and kernel panic troubleshooting.
>> (http://www.freebsd.org/doc/en/books/faq/advanced.html#KERNEL-PANIC-
>> TROUBLESHOOTING)
>>
>> Is there a way to test the ram without removing it from the machine and
>> leave the machine functioning. I've used memtest 86 before, but obviously
>> the machine has to be offline for this test.
>>
>> However, I'm a little unsure of the instructions in the handbook on
>> troubleshooting. namely, it talks about using the nm command, but I can't
>> figure out the data file to give it as an argument, and second I'm unsure
>> about using a debugging Kernel on a production server. I have heard that It
>> will significantly slow down a machine.
>> Any help or suggestions would be greatly appreciated.
>> Ray
>
> Can anybody make any suggestions, or is there a better list to take this
> question to?
> Ray
>

Sorry mate, I really don't think you're going to have any luck. Memory
testing requires access to parts of memory that the kernel's currently
munching on. Run memtest86, or yank a few sticks and run it in another
computer.

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: openoffice.org-3.01 packages available (i386)

2009-04-11 Thread Manolis Kiagias
per...@pluto.rain.com wrote:
> Manolis Kiagias  wrote:
>   
>> I could also distribute the ports tree ...
>> 
>
> I wonder if it's necessary to distribute the entire ports tree.
> Perhaps it would suffice to distribute a timestamp for csup/cvsup
> to retrieve the appropriate version.
>
>   
Yes, this is probably correct :)
However distributing a compressed ports tree in the CD (without the
distfiles) won't be much of a problem space-wise.
___
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: openoffice.org-3.01 packages available (i386)

2009-04-11 Thread Chris Whitehouse

Manolis Kiagias wrote:

Chris Whitehouse wrote:

Hi guys,

When you have a minute please would you have a look at a proposal for
changes to the packages system I posted which is kind of a ports
equivalent of freebsd-update involving a 'ports-snapshot'.

The original post is here

http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195793.html.


A more detailed description is here

http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/196223.html


And other peoples comments in between.

It's going a bit parallel to the discussion here and in fact you have
already offered some of the requirements,ie hosting

Would you be interested in incorporating the idea into what you are
doing? I could at least do some building of packages.

One of the requirements is a new package management tool which I've
called ports-update. Does anyone here have C or scripting skills who
would be interested to write it? I'm sorry to ask, I know the FreeBSD
way is to do it yourself, but I don't have programming skills. I could
probably knock up a framework to start from though.

If you are prepared to host a bunch of packages it would be
interesting to ask people to give us a list of their installed
packages to create a master list.

Thanks

Chris



I am following this discussion too.
I was actually thinking of some less drastic method to make a FreeBSD
desktop easier to build and less time consuming.
Currently there are at least two projects based on FreeBSD that offer
reasonable BSD desktops without lots of manual setup: DesktopBSD and
PC-BSD (PC-BSD actually had a version release yesterday).  The problem
is both projects focus on KDE. I would like to have a choice between
XFCE, Gnome and possibly some light WMs i.e. fluxbox.


My motivation also, plus energy considerations. I was rolling my own
using icewm but have recently been using PCBSD. I like PCBSD very much 
but I would go back to my previous setup with this project.




I like to build my own packages, and have put together a spare machine


Are you using the tinderbox port or do you build in the machines own 
environment?



just for this purpose. It is no speed daemon (P4 2.5Ghz, 2G DDR2 RAM)
but it is stable and always available. What I intend to do - and I am
close to this - is start building package CDs (or DVDs) that people can
download and use in the following way:

Would each CD contain all the available packages or do you have some 
idea to only distribute changed packages?



- Perform a base install of FreeBSD with *no* additional packages
(except maybe the linux binary compatibility)
- Insert the CD/DVD and run a dialog(1) based sh script with options to:
- Install packages
- Configure X and DE / WM
- Configure shell (i.e. startup files etc)
- Configure sound card
(and more)

All these packages would be build from the same ports tree so they would
be in sync. There should be regular (bimonthly?) updates to the CD
itself.  Everyone building a new system can use the latest CD, and
anyone who installed a system using a previous version could use the
same CD with portupgrade -PP (after setting PKG_PATH, PKG_FETCH etc).
This can actually be one of the menu options.

Taking this one step further (using your ideas), I could also distribute
the ports tree (and probably /var/db/ports assuming the ports do not use
default options) along with the packages, so anyone wishing to compile
more stuff could use this same tree knowing it will be in sync.


This achieves pretty much exactly what I was hoping for! Fantastic. I 
had assumed default

configs though because I imagine the ports people have reasons for
choosing them.


I intend to build a prototype of this soon. It will contain XFCE,
firefox, thunderbird, vlc, bash, openoffice, Xorg and few more
packages.  If it generates enough interest in the community, we will
then decide the final set of packages etc for the regular releases.


Exactly. gnome and kde?

Glen, I was replying to your post when Manolis's came but this has the 
answers.


Chris



 




___
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: openoffice.org-3.01 packages available (i386)

2009-04-11 Thread perryh
Manolis Kiagias  wrote:
> I could also distribute the ports tree ...

I wonder if it's necessary to distribute the entire ports tree.
Perhaps it would suffice to distribute a timestamp for csup/cvsup
to retrieve the appropriate version.
___
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: /usr/bin/calendar in cgi script

2009-04-11 Thread Charles Howse


On Apr 11, 2009, at 2:07 PM, Robert Huff wrote:



Charles Howse writes:


Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this  
date),

date first, event, year.  Just right.

But, when I put that in an "include" statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:



How can I make multiple events show on separate lines, like it
does in terminal?


Would I be correct in believing you're unfamiliar with html?


You would most certainly NOT BE CORRECT.  I've had my own server  
running Apache for years.


I don't think this is something that can be solved with html tags, but  
I will try Brad's suggestions.
Read man calendar about how it uses cpp, and how the calendar.* files  
are formatted.
If I recall, I used this same technique years ago and had a simple,  
elegant way of solving it using some default tool like col, though  
that doesn't seem to work now.


___
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: /usr/bin/calendar in cgi script

2009-04-11 Thread Brad Mettee
You'll need to put it in a " " html block to preserve the 
formatting. Or you can try to substitute the '\n' into '' somehow (been 
a while since I did search/replace in an include so I can't be more specific).



At 03:02 PM 4/11/2009, you wrote:

Hi,
I have a cgi script on my website that runs:

/usr/bin/calendar -f /usr/share/calendar/calendar.history

Now, when I run that script in a terminal, the output is perfectly
formatted, multiple lines (if there are multiple events on this date),
date first, event, year.  Just right.

But, when I put that in an "include" statement in a webpage, the
output is a single line, regardless of whether there are multiple
events.
You can see a bad example here:



How can I make multiple events show on separate lines, like it does in
terminal?


--
Thanks,
Charles

Reasons it's great to be a guy...
You get to think about sex 90% of your waking hours.


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


/usr/bin/calendar in cgi script

2009-04-11 Thread Robert Huff

Charles Howse writes:

>  Now, when I run that script in a terminal, the output is perfectly  
>  formatted, multiple lines (if there are multiple events on this date),  
>  date first, event, year.  Just right.
>  
>  But, when I put that in an "include" statement in a webpage, the  
>  output is a single line, regardless of whether there are multiple  
>  events.
>  You can see a bad example here:
>  
>  
>  
>  How can I make multiple events show on separate lines, like it
>  does in terminal?

Would I be correct in believing you're unfamiliar with html?


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"


/usr/bin/calendar in cgi script

2009-04-11 Thread Charles Howse

Hi,
I have a cgi script on my website that runs:

/usr/bin/calendar -f /usr/share/calendar/calendar.history

Now, when I run that script in a terminal, the output is perfectly  
formatted, multiple lines (if there are multiple events on this date),  
date first, event, year.  Just right.


But, when I put that in an "include" statement in a webpage, the  
output is a single line, regardless of whether there are multiple  
events.

You can see a bad example here:



How can I make multiple events show on separate lines, like it does in  
terminal?



--
Thanks,
Charles

Reasons it's great to be a guy...
You get to think about sex 90% of your waking hours.


___
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: sound configuration for pidgin

2009-04-11 Thread Polytropon
On Sat, 11 Apr 2009 08:34:51 +0700, kyanh  wrote:
> I just use the default setting from Pidgin. I don't know what is
> the kind of sound though I guess that's *.wav.

For WAV files, the play command from the port audio/sox is fine.
I think it's a bit "heavy" to employ mplayer for this simple job.



> When I press "Browse" in Pidgin Configuration Page for Sound I
> don't get the right place of default sound file. Pidgin may use
> files from GTK collection.

If you want to find this out, just check the configuration files
of Pidgin and grep for "wav" or "mp3", you'll find where the files
come from.



> When I use Arch Linux I can use "play %s" but "play" isnot installed
> as default on FreeBSD.

Of course not, it doesn't belong to the operating system. :-)
You can simply "pkg_add -r sox" to get this program.



> I install `mpg123` but I still get small sound.

The sound volume doesn't depend on the player. If the files
are "weak", it may be useful to increase their audio level.



> I see. I often use vol == 90 and pcm == 75.

And you're sure that the audio isn't loud enough everywhere?
Maybe the output level of your sound card - or nowadays a
built-in sound card emulation through the CPU :-) - hasn't
enough power for your speakers. (I don't have such trouble,
I use a system with a separate amplifier.)



> > Do other applications (music and movie player, games etc.) play
> > louder sounds?
> > 
> 
> The music and others sounds are normal.

So it really seems to be that

a) Pidgin uses strange mixer settings on its own

b) the files that Pidgin plays are too "weak" in
   terms of audio level.


> Thank you. I've learned from your message that I should use
> "louder" for sound instead of "bigger". Still find "smaller"
> sound :D

This is because the price of the mainboard is less expensive
while the CPU temperature is hot. :-)



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


FreeBSD 8.x, Xen 3.3.x Dom0 support

2009-04-11 Thread Saifi Khan
Hi:

Does anybody know the extent of Dom0 support for 
FreeBSD 8.x with Xen 3.3.x ?

The discussion threads on -xen and -virtualization are fairly
sketchy on this topic.

Any pointers or observations ?


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: The Last Frontier : a good multimedia application

2009-04-11 Thread Manish Jain

Chris Rees wrote:

2009/4/11 Manish Jain :
  

Hi all,

After weeks of fumbling and struggling, I have made my full transition from
Linux to FreeBSD, thanks in no mean measures to the assistance of this
forum. I've got my FreeBSD 7.1 x86 system set up exactly as I wanted it and
now I am looking to move one step further - and that is one big step. I wish
to get rid of my Windows installation too, which exists purely for the
purpose of multimedia entertainment - one area where I think GNU-based
systems still have some way to go before they catch up with Win32
applications.

However, I am willing to give it a try. I already have xmms set up, which
takes care of the audio part reasonably well. The big hole that remains is a
video application. What I looking for is something on these lines :

1) I hardly ever play movies directly from the CD/DVD drive (/dev/dvd ->
/dev/acd0, courtesy devfs.conf). First I copy them to the hard-disk (after
decrypting any DVD's if needed). So I ideally want an application that can
play .dat and unencrypted .vob files directly from a hard disk ntfs
partition without incessently complaining about missing plugins. (If
necessary, I can reformat the ntfs partition as ffs). Actually, to be more
accurate, I don't even have any .vob files. What I have is unencrypted .iso
images of the DVD's, which I guess I will need to mount via mdconfig. But if
the application strictly needs .vob files, I'll extract them from the iso
images for its benefit.

2) Since my DVD drive is capable of reading DVD's from all regions, it would
be great if the application could also, if needed, directly play encrypted
DVD's from the drive itself. I have libdvdnav, libdvdread, libdvdcss and
libdvdplay installed.

3) The final point to be considered is the quality of the video/audio
playback compared to, say, PowerDVD on Windows - which I have used (version
2.55) with absolute delight and satisfaction since I purchased my first DVD.

Any tips/input would be greatly appreciated. To keep the discussion simple,
HD/Blu-Ray are not in my plans for the current century.

--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.




Have you tried vlc for video? I'm sure it's not something you've
completely overlooked, but it's probably worth another.

You seem settled on xmms, have you also tried out musicpd for music?
You can use Sonata as a frontend, very nice to use, or even over HTTP.
It also carries on fine should X crap out :)

Chris


  


Hello Chris,

Thanks for the input. I certainly am not settled on xmms. It's the only 
one I was aware of so far. Further to that, I WAS actually for something 
that could do without X, because I work a lot on the console. I'll start 
the musicpd build right away.


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
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: Sudden /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by errors

2009-04-11 Thread Agus
2009/4/11 gabe g :
>
>
> On Fri, Apr 10, 2009 at 7:40 PM, Agus  wrote:
>>
>> Hi guys,
>>
>> Yesterday i suddenly start receiving this errors... first i noticed it
>> cause i couldnt login and bash threw it.. then su...
>>
>> /libexec/ld-elf.so.1: Shared object "libintl.so.8" not found, required by
>> "-su"
>>
>> Then i remove bash and change to tcsh and was "ok"... but then again,
>> this one when using sendmail..
>>
>> /libexec/ld-elf.so.1: Shared object "libsasl2.so.2" not found,
>> required by "send-mail"
>>
>>
>> I didnt update anything... and it was all running fine for months...
>> what can it be? the files i have are..
>>
>> -rwxr-xr-x  1 root  wheel    92K Mar 11 15:26 libsasl2.so.2
>> lrwxr-xr-x  1 root  wheel    13B Mar 11 15:26 libsasl2.so -> libsasl2.so.2
>>
>> -r--r--r--  1 root  wheel    39K Aug 23  2008 libintl.so.8
>> lrwxr-xr-x  1 root  wheel    12B Aug 23  2008 libintl.so -> libintl.so.8
>>
>>
>>
>> I really dont know what is happening  thanks to anyone who can
>> clariffy this... I really dont know what /libexec/ld-elf.so.1 is
>> doing?
>> I figure that the binarys complaining arent findind this libs... i
>> really dunno...
>>
>> Thanks a lot in advance...
>>
>> Also i mention that this is a public server where i offer free shell
>> services  i dont think a normal/unprivileged user could have done
>> mess with it right?
>>
>> Cheers,
>> Agustin
>> ___
>> 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"
>
> Don't clog your system with symlinks, look at the manpage for "libmap.conf"
> (man libmap.conf) or
> http://www.freebsd.org/cgi/man.cgi?query=libmap.conf&manpath=FreeBSD+7.1-RELEASE
> .
>
> Good luck,
> Gabe
>


Will read that... thanks :)

Yes.. i remember i had forgotten the version of the OS once i sent it...

im running

FreeBSD everest 6.3-RELEASE-p5 FreeBSD 6.3-RELEASE-p5 #0: Thu Oct  9
13:54:44 ART 2008  :/usr/obj/usr/src/sys/KEVEREST-6.3  i386
___
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: The Last Frontier : a good multimedia application

2009-04-11 Thread Manish Jain

Robert Huff wrote:

Erik Gustafson writes:

  

 Have you tried the ports multimedia/mplayer or multimedia/vlc? I
 can't live without mplayer on my desktop and it usually "just
 works" on everything i try to play.



I use mplayer too, but (as far as I know) the list of supported
codecs hasn't changed in several years.  That's mostly not a
problem, but there are certain file types (.wmvs I have been told
are handled correctly by Windows Media Player 10/11; this may be a
DRM thing) that completely do not play.

  

 If you want a fancy GUI, search in ports/multimedia for mplayer
 and you will find kde-mplayer, gnome-mplayer and friends.



Mplayer has a gui (gmplayer) but it's pretty minimal.


Robert Huff


  


Hello Robert / Erik,

Thanks a lot. MPlayer certainly seems to come with strong credentials 
and recommendation. I am starting the build straight away. Since I am a 
die-hard gnomer, I'll go for gnome-mplayer as the frontend.


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
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: openoffice.org-3.01 packages available (i386)

2009-04-11 Thread Manolis Kiagias
Chris Whitehouse wrote:
>
> Hi guys,
>
> When you have a minute please would you have a look at a proposal for
> changes to the packages system I posted which is kind of a ports
> equivalent of freebsd-update involving a 'ports-snapshot'.
>
> The original post is here
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195793.html.
>
>
> A more detailed description is here
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/196223.html
>
>
> And other peoples comments in between.
>
> It's going a bit parallel to the discussion here and in fact you have
> already offered some of the requirements,ie hosting
>
> Would you be interested in incorporating the idea into what you are
> doing? I could at least do some building of packages.
>
> One of the requirements is a new package management tool which I've
> called ports-update. Does anyone here have C or scripting skills who
> would be interested to write it? I'm sorry to ask, I know the FreeBSD
> way is to do it yourself, but I don't have programming skills. I could
> probably knock up a framework to start from though.
>
> If you are prepared to host a bunch of packages it would be
> interesting to ask people to give us a list of their installed
> packages to create a master list.
>
> Thanks
>
> Chris
>

I am following this discussion too.
I was actually thinking of some less drastic method to make a FreeBSD
desktop easier to build and less time consuming.
Currently there are at least two projects based on FreeBSD that offer
reasonable BSD desktops without lots of manual setup: DesktopBSD and
PC-BSD (PC-BSD actually had a version release yesterday).  The problem
is both projects focus on KDE. I would like to have a choice between
XFCE, Gnome and possibly some light WMs i.e. fluxbox.

I like to build my own packages, and have put together a spare machine
just for this purpose. It is no speed daemon (P4 2.5Ghz, 2G DDR2 RAM)
but it is stable and always available. What I intend to do - and I am
close to this - is start building package CDs (or DVDs) that people can
download and use in the following way:

- Perform a base install of FreeBSD with *no* additional packages
(except maybe the linux binary compatibility)
- Insert the CD/DVD and run a dialog(1) based sh script with options to:
- Install packages
- Configure X and DE / WM
- Configure shell (i.e. startup files etc)
- Configure sound card
(and more)

All these packages would be build from the same ports tree so they would
be in sync. There should be regular (bimonthly?) updates to the CD
itself.  Everyone building a new system can use the latest CD, and
anyone who installed a system using a previous version could use the
same CD with portupgrade -PP (after setting PKG_PATH, PKG_FETCH etc).
This can actually be one of the menu options.

Taking this one step further (using your ideas), I could also distribute
the ports tree (and probably /var/db/ports assuming the ports do not use
default options) along with the packages, so anyone wishing to compile
more stuff could use this same tree knowing it will be in sync.

I intend to build a prototype of this soon. It will contain XFCE,
firefox, thunderbird, vlc, bash, openoffice, Xorg and few more
packages.  If it generates enough interest in the community, we will
then decide the final set of packages etc for the regular releases.


 
___
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: The Last Frontier : a good multimedia application

2009-04-11 Thread Robert Huff

Erik Gustafson writes:

>  Have you tried the ports multimedia/mplayer or multimedia/vlc? I
>  can't live without mplayer on my desktop and it usually "just
>  works" on everything i try to play.

I use mplayer too, but (as far as I know) the list of supported
codecs hasn't changed in several years.  That's mostly not a
problem, but there are certain file types (.wmvs I have been told
are handled correctly by Windows Media Player 10/11; this may be a
DRM thing) that completely do not play.

>  If you want a fancy GUI, search in ports/multimedia for mplayer
>  and you will find kde-mplayer, gnome-mplayer and friends.

Mplayer has a gui (gmplayer) but it's pretty minimal.


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"


csup vs freebsd-update

2009-04-11 Thread Andrei Brezan
Hi all,

I have a strange problem with csup and freebsd-update. I'm using
7.0-RELEASE-p11. If i do:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p11.

All seems ok, i'm up to date.

But if i do:
# csup -L 2 ./standard-supfile
Parsing supfile "./standard-supfile"
Connecting to cvsup.hu.FreeBSD.org
Connected to 193.6.222.7
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
 Checkout src/contrib/lukemftpd/src/ftpd.c
 Checkout src/contrib/telnet/telnetd/sys_term.c
 Checkout src/libexec/ftpd/extern.h
 Checkout src/libexec/ftpd/ftpcmd.y
 Checkout src/libexec/ftpd/ftpd.c
 Checkout src/sys/amd64/amd64/exception.S
 Checkout src/sys/conf/newvers.sh
 Checkout src/sys/dev/random/randomdev.c
 Checkout src/sys/dev/random/randomdev_soft.c
 Checkout src/sys/kern/kern_environment.c
 Checkout src/sys/kern/kern_time.c
 Checkout src/sys/kern/uipc_domain.c
 Checkout src/sys/kern/vfs_mount.c
 Checkout src/sys/netinet/tcp.h
 Checkout src/sys/netinet/tcp_output.c
 Checkout src/sys/netinet6/icmp6.c
 Checkout src/sys/netinet6/in6.h
 Checkout src/sys/netinet6/in6_proto.c
 Checkout src/sys/netinet6/nd6.h
 Checkout src/sys/netinet6/nd6_nbr.c
Shutting down connection to server
Finished successfully

./standard supfile is:
*default host=cvsup.hu.FreeBSD.org
*default base=/var/db
*default prefix=/usr

*default release=cvs tag=RELENG_7_0
*default delete use-rel-suffix

*default compress

src-all


If i do again a freebsd-update i get:
# freebsd-update fetch install
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p11:
/usr/src/contrib/lukemftpd/src/ftpd.c
/usr/src/contrib/telnet/telnetd/sys_term.c
/usr/src/libexec/ftpd/extern.h
/usr/src/libexec/ftpd/ftpcmd.y
/usr/src/libexec/ftpd/ftpd.c
/usr/src/sys/amd64/amd64/exception.S
/usr/src/sys/conf/newvers.sh
/usr/src/sys/dev/random/randomdev.c
/usr/src/sys/dev/random/randomdev_soft.c
/usr/src/sys/kern/kern_environment.c
/usr/src/sys/kern/kern_time.c
/usr/src/sys/kern/uipc_domain.c
/usr/src/sys/kern/vfs_mount.c
/usr/src/sys/netinet/tcp.h
/usr/src/sys/netinet/tcp_output.c
/usr/src/sys/netinet6/icmp6.c
/usr/src/sys/netinet6/in6.h
/usr/src/sys/netinet6/in6_proto.c
/usr/src/sys/netinet6/nd6.h
/usr/src/sys/netinet6/nd6_nbr.c
Installing updates... done.


I know freebs-update is getting the correct files for release 7.0, but i
don't understand where i go wrong with csup. If anyone can point the
obvious that i can't see here please do.

Thank you,
-- 
Andrei Brezan
310280 Arad - Romania
mobile <+40 740 089 315>
email 
www 
___
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: How to create NTFS file system from FreeBSD?

2009-04-11 Thread Jan Henrik Sylvester

Chris Rees wrote:

2009/4/11 Jan Henrik Sylvester :

Yuri wrote:

I need to format NTFS partition to give HD to someone to write things

mkntfs from sysutils/ntfsprogs should do it.



Yuri had already written ONE LINE below your quote:


I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an extremely 
long time, > 24hrs.


Yes, sorry, I totally failed to make my point, since I scrapped that 
line and forgot about it writing the mail. (The important part was in 
the parenthesis you removed.)


My point is that I had problems with ntfsresize from ntfsprogs-2.0.0 not 
working, while ntfsresize from ntfsprogs-1.13.1 was doing just fine. (I 
hit that twice -- on different computers.)


Thus, I would suggest to try mkntfs from ntfsprogs-1.13.1, if mkntfs 
from ntfsprogs-2.0.0 fails.


If the older mkntfs works, it would be another reason to revive the old 
port.


ntfsprogs-2.0.0 was criticized, for example in the thread ending with 
this posting: 
http://www.redhat.com/archives/rhl-devel-list/2008-May/msg02306.html


A developer from ntfs-3g that formerly worked on ntfsprogs recommends to 
use the older version: http://www.ntfs-3g.org/support.html#ntfsprogs


I do not really know who is right, but ntfs-3g is actively developed 
while ntfsprogs is not, other people seem to trust ntfs-3g more than the 
newer version of ntfsprogs, and the arguments of the ntfs-3g developer 
sound reasonable.


I wrote about it last year (before I actually hit problems): 
http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050157.html


The reply was that there are no new problems known with the 2.0.0 
version: 
http://lists.freebsd.org/pipermail/freebsd-ports/2008-August/050406.html


I would like to have ntfsprogs-1.13.1 back -- as ports/ntfsprogs1 or by 
reverting ports/ntfsprogs. Thus, Yuri, please try and report back.


Cheers,
Jan Henrik
___
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: The Last Frontier : a good multimedia application

2009-04-11 Thread Erik Gustafson
On Sat, Apr 11, 2009 at 9:01 AM, Manish Jain wrote:

>
> Hi all,
>
> After weeks of fumbling and struggling, I have made my full transition from
> Linux to FreeBSD, thanks in no mean measures to the assistance of this
> forum. I've got my FreeBSD 7.1 x86 system set up exactly as I wanted it and
> now I am looking to move one step further - and that is one big step. I wish
> to get rid of my Windows installation too, which exists purely for the
> purpose of multimedia entertainment - one area where I think GNU-based
> systems still have some way to go before they catch up with Win32
> applications.
>
> However, I am willing to give it a try. I already have xmms set up, which
> takes care of the audio part reasonably well. The big hole that remains is a
> video application. What I looking for is something on these lines :
>
> 1) I hardly ever play movies directly from the CD/DVD drive (/dev/dvd ->
> /dev/acd0, courtesy devfs.conf). First I copy them to the hard-disk (after
> decrypting any DVD's if needed). So I ideally want an application that can
> play .dat and unencrypted .vob files directly from a hard disk ntfs
> partition without incessently complaining about missing plugins. (If
> necessary, I can reformat the ntfs partition as ffs). Actually, to be more
> accurate, I don't even have any .vob files. What I have is unencrypted .iso
> images of the DVD's, which I guess I will need to mount via mdconfig. But if
> the application strictly needs .vob files, I'll extract them from the iso
> images for its benefit.
>
> 2) Since my DVD drive is capable of reading DVD's from all regions, it
> would be great if the application could also, if needed, directly play
> encrypted DVD's from the drive itself. I have libdvdnav, libdvdread,
> libdvdcss and libdvdplay installed.
>
> 3) The final point to be considered is the quality of the video/audio
> playback compared to, say, PowerDVD on Windows - which I have used (version
> 2.55) with absolute delight and satisfaction since I purchased my first DVD.
>
> Any tips/input would be greatly appreciated. To keep the discussion simple,
> HD/Blu-Ray are not in my plans for the current century.
>
Have you tried the ports multimedia/mplayer or multimedia/vlc? I can't live
without mplayer on my desktop and it usually "just works" on everything i
try to play.
If you want a fancy GUI, search in ports/multimedia for mplayer and you will
find kde-mplayer, gnome-mplayer and friends.
Video playback and tv-out is one big reason why I dont use windows on my
desktop.
___
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: The Last Frontier : a good multimedia application

2009-04-11 Thread Chris Rees
2009/4/11 Manish Jain :
>
> Hi all,
>
> After weeks of fumbling and struggling, I have made my full transition from
> Linux to FreeBSD, thanks in no mean measures to the assistance of this
> forum. I've got my FreeBSD 7.1 x86 system set up exactly as I wanted it and
> now I am looking to move one step further - and that is one big step. I wish
> to get rid of my Windows installation too, which exists purely for the
> purpose of multimedia entertainment - one area where I think GNU-based
> systems still have some way to go before they catch up with Win32
> applications.
>
> However, I am willing to give it a try. I already have xmms set up, which
> takes care of the audio part reasonably well. The big hole that remains is a
> video application. What I looking for is something on these lines :
>
> 1) I hardly ever play movies directly from the CD/DVD drive (/dev/dvd ->
> /dev/acd0, courtesy devfs.conf). First I copy them to the hard-disk (after
> decrypting any DVD's if needed). So I ideally want an application that can
> play .dat and unencrypted .vob files directly from a hard disk ntfs
> partition without incessently complaining about missing plugins. (If
> necessary, I can reformat the ntfs partition as ffs). Actually, to be more
> accurate, I don't even have any .vob files. What I have is unencrypted .iso
> images of the DVD's, which I guess I will need to mount via mdconfig. But if
> the application strictly needs .vob files, I'll extract them from the iso
> images for its benefit.
>
> 2) Since my DVD drive is capable of reading DVD's from all regions, it would
> be great if the application could also, if needed, directly play encrypted
> DVD's from the drive itself. I have libdvdnav, libdvdread, libdvdcss and
> libdvdplay installed.
>
> 3) The final point to be considered is the quality of the video/audio
> playback compared to, say, PowerDVD on Windows - which I have used (version
> 2.55) with absolute delight and satisfaction since I purchased my first DVD.
>
> Any tips/input would be greatly appreciated. To keep the discussion simple,
> HD/Blu-Ray are not in my plans for the current century.
>
> --
> Thank you and Regards
> Manish Jain
> invalid.poin...@gmail.com
> +91-99830-62246
>
> NB : Laast year I kudn't spell Software Engineer. Now I are won.
>

Have you tried vlc for video? I'm sure it's not something you've
completely overlooked, but it's probably worth another.

You seem settled on xmms, have you also tried out musicpd for music?
You can use Sonata as a frontend, very nice to use, or even over HTTP.
It also carries on fine should X crap out :)

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: How to create NTFS file system from FreeBSD?

2009-04-11 Thread Chris Rees
2009/4/11 Jan Henrik Sylvester :
> Yuri wrote:
>> I need to format NTFS partition to give HD to someone to write things
>
> mkntfs from sysutils/ntfsprogs should do it.
>

Yuri had already written ONE LINE below your quote:

> I tried to use mkntfs from ports/ntfsprogs but it didn't finish after an 
> extremely long time, > 24hrs.

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-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"


Re: sound configuration for pidgin

2009-04-11 Thread Giorgos Keramidas
On Sat, 11 Apr 2009 08:56:17 +0700, kyanh  wrote:
>> Second, the sound files you are using might simply be a bit low on
>> the volume side.  You may want to load them into something like
>> audacity to increase their loudness.
>
> The problem is that I use Pidgin's default sound files. I cannot
> locate those files (pkg_info -L pidgin).

IIRC, pidgin uses the sound files from libpurple:

  $ pkg_info -L libpurple-2\* | fgrep /sounds/
  /usr/local/share/sounds/purple/alert.wav
  /usr/local/share/sounds/purple/login.wav
  /usr/local/share/sounds/purple/logout.wav
  /usr/local/share/sounds/purple/receive.wav
  /usr/local/share/sounds/purple/send.wav
  $

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


The Last Frontier : a good multimedia application

2009-04-11 Thread Manish Jain


Hi all,

After weeks of fumbling and struggling, I have made my full transition 
from Linux to FreeBSD, thanks in no mean measures to the assistance of 
this forum. I've got my FreeBSD 7.1 x86 system set up exactly as I 
wanted it and now I am looking to move one step further - and that is 
one big step. I wish to get rid of my Windows installation too, which 
exists purely for the purpose of multimedia entertainment - one area 
where I think GNU-based systems still have some way to go before they 
catch up with Win32 applications.


However, I am willing to give it a try. I already have xmms set up, 
which takes care of the audio part reasonably well. The big hole that 
remains is a video application. What I looking for is something on these 
lines :


1) I hardly ever play movies directly from the CD/DVD drive (/dev/dvd -> 
/dev/acd0, courtesy devfs.conf). First I copy them to the hard-disk 
(after decrypting any DVD's if needed). So I ideally want an application 
that can play .dat and unencrypted .vob files directly from a hard disk 
ntfs partition without incessently complaining about missing plugins. 
(If necessary, I can reformat the ntfs partition as ffs). Actually, to 
be more accurate, I don't even have any .vob files. What I have is 
unencrypted .iso images of the DVD's, which I guess I will need to mount 
via mdconfig. But if the application strictly needs .vob files, I'll 
extract them from the iso images for its benefit.


2) Since my DVD drive is capable of reading DVD's from all regions, it 
would be great if the application could also, if needed, directly play 
encrypted DVD's from the drive itself. I have libdvdnav, libdvdread, 
libdvdcss and libdvdplay installed.


3) The final point to be considered is the quality of the video/audio 
playback compared to, say, PowerDVD on Windows - which I have used 
(version 2.55) with absolute delight and satisfaction since I purchased 
my first DVD.


Any tips/input would be greatly appreciated. To keep the discussion 
simple, HD/Blu-Ray are not in my plans for the current century.


--
Thank you and Regards
Manish Jain
invalid.poin...@gmail.com
+91-99830-62246

NB : Laast year I kudn't spell Software Engineer. Now I are won.

___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Giorgos Keramidas
On Sat, 11 Apr 2009 07:21:31 +, Da Rock  wrote:
>> Can you show us the *exact* deferral message?
>>
>> It may be greylisting from the FreeBSD.org mail servers.
>
> Ok. This is the exact message:
>
> Apr 11 16:26:40  postfix/smtp[1325]:
> 488851744F: to=,
> relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
> delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
> mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host
> rejected: cannot find your hostname, [] (in reply to RCPT
> TO command))
>
> This is not greylisting either; something should have gotten through
> by now. I've just checked the mx record for the domain in question
> too- all good.
>
> Server name in main.cf is set to the mx record of the domains served.

Unfortunately, this doesn't include the hostname and the IP address that
mx1.freebsd.org failed to resolve.  If you are worried about privacy
issues and you don't want the IP address to appear in the mailing list
archives, can you post it personally to me?  Then I can check from
*.freebsd.org machines to see if it resolves correctly both ways: from a
hostname -> address and backwards.



pgp4ij8dbOmMW.pgp
Description: PGP signature


Re: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Jonathan Chen
On Sat, Apr 11, 2009 at 07:57:36AM +, Da Rock wrote:
[...]
> 
> I thought it sounded like dns too. But I was under the impression that only a 
> reverse lookup was used against the Server name sent by postfix. I have 
> specifically requested a ptr record in the arpa zone, and I can run a 
> resolveip successfully here.
> 
The reverse lookup is done against the IP connecting to FreeBSD mail
servers. If you post your IP to the list (and it's really no big deal),
we can easily check if it's okay.
-- 
Jonathan Chen Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
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: disk usage statistics

2009-04-11 Thread Michal

Wojciech Puchar wrote:

Could you suggest me how can I get my disk usage statistics in terms of
percentage of the possible disk activity (like in gstat) or megabytes
per second (like in iostat), please?


systat

then type
:vmstat



I need something not interactive, command that prints what it knows and 
quits. I want to use it's output in a script.


Michal.
--
"But all endings are also beginnings. We just don't know it at the 
time." -Mitch Albom

___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Da Rock



> Date: Sat, 11 Apr 2009 14:42:31 +0700
> From: o...@cs.ait.ac.th
> To: rock_on_the_...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: OT: Postfix rejects from Freebsd server
> 
> > Apr 11 16:26:40  postfix/smtp[1325]:
> > 488851744F: to=,
> > relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
> > delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
> > mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
> > cannot find your hostname, [] (in reply to RCPT TO command))
> 
> It seems like it is a DNS problem.
> 
> Are you sure that:
> 
> - your mail server gateway name resolves into your mail server gateway IP
> 
> and
> 
> - your mail server gateway IP reverse resolves to your mail server gateway 
> name
> 
> Both should be resolve properly.
> 
> The check should be done outside of your own subnet, from an Internet
> Cafe (use Windows nslookup command, same syntax as nslookup on Unix)
> from home if you use a different ISP than for the machine that makes
> problem...
> 
> You mention that you recently changed your IP, how recent is that
> recently? The old IP/name could be cached at FreeBSD.
> 

I thought it sounded like dns too. But I was under the impression that only a 
reverse lookup was used against the Server name sent by postfix. I have 
specifically requested a ptr record in the arpa zone, and I can run a resolveip 
successfully here.

Is my info wrong? Is the lookup done against more than just the Server name set 
in main.cf?

Cheers

_
View photos of singles in your area Click Here
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fdating%2Eninemsn%2Ecom%2Eau%2Fchannel%2Findex%2Easpx%3Ftrackingid%3D1046247&_t=773166080&_r=Hotmail_Endtext&_m=EXT___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Peter


Da Rock wrote:

> If I resolveip for my ip address it shows up my mail server name, and
> YET I still get deferred rejection from the freebsd mx's.


I had this problem before - freebsd mail server needs some time before
it sees DNS changes...will be fine in a few hours.

Peter
___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Olivier Nicole
> Apr 11 16:26:40  postfix/smtp[1325]:
> 488851744F: to=,
> relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211,
> delays=100114/49/48/0.35, dsn=4.7.1, status=deferred (host
> mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 Client host rejected:
> cannot find your hostname, [] (in reply to RCPT TO command))

It seems like it is a DNS problem.

Are you sure that:

- your mail server gateway name resolves into your mail server gateway IP

and

- your mail server gateway IP reverse resolves to your mail server gateway name

Both should be resolve properly.

The check should be done outside of your own subnet, from an Internet
Cafe (use Windows nslookup command, same syntax as nslookup on Unix)
from home if you use a different ISP than for the machine that makes
problem...

You mention that you recently changed your IP, how recent is that
recently? The old IP/name could be cached at FreeBSD.

Bests,

Olivier
___
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: OT: Postfix rejects from Freebsd server

2009-04-11 Thread Da Rock



> From: keram...@ceid.upatras.gr
> To: rock_on_the_...@hotmail.com
> CC: freebsd-questions@freebsd.org
> Subject: Re: OT: Postfix rejects from Freebsd server
> Date: Fri, 10 Apr 2009 12:08:19 +0300
> 
> On Fri, 10 Apr 2009 05:31:22 +, Da Rock  
> wrote:
> > I know this may be OT, but I could use some help on this one. I've
> > completed a major changeover in network provider, and I've now got a
> > proper static ip including ptr records for my mail server (the only
> > service that really counts on this anyway).
> >
> > If I resolveip for my ip address it shows up my mail server name, and
> > YET I still get deferred rejection from the freebsd mx's.
> >
> > Can anyone shed some light on this?
> >
> > Pls cc as I'm not subscribed to the list via this account
> 
> Can you show us the *exact* deferral message?
> 
> It may be greylisting from the FreeBSD.org mail servers.
> 

Ok. This is the exact message:

Apr 11 16:26:40  postfix/smtp[1325]: 488851744F: 
to=, 
relay=mx1.freebsd.org[69.147.83.52]:25, delay=100211, delays=100114/49/48/0.35, 
dsn=4.7.1, status=deferred (host mx1.freebsd.org[69.147.83.52] said: 450 4.7.1 
Client host rejected: cannot find your hostname, [] (in reply to RCPT TO 
command))

This is not greylisting either; something should have gotten through by now. 
I've just checked the mx record for the domain in question too- all good.

Server name in main.cf is set to the mx record of the domains served.

What else is there?

Cheers

_
The new Windows Live Messenger has landed. Download it here.
http://download.live.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"