Re: Live video streaming on FreeBSD?

2007-10-24 Thread Heiko Wundram (Beenic)
Am Donnerstag, 25. Oktober 2007 08:42:31 schrieb Andreas Widerøe Andersen:
> Does any of these streaming solutions (encoders or servers) require me to
> run a GUI on my FreeBSD boxes or can I simply run them like I always do:
> command line only?

Apple's Darwin runs perfectly just with command-line (and has a Web-GUI, but 
that's not necessary for standard operation and configuration), but isn't 
compilable on AMD64 (because the programmers didn't think highly of 
portability when implementing it, i.e. assuming that a unsigned long is 
always 32-bit, and such), and I haven't tested whether it compiles on FreeBSD 
at all (all of our deployment boxes of Darwin are Linux-systems). Other than 
that, it's a pretty stable and mature streaming solution if you're willing to 
stream MP4 over RTSP (which on Windows requires QuickTime; MediaPlayer can't 
handle this out of the box).

If you need a precompiled binary Linux-package for i386 (which should run 
without much hassle concerning required dependencies), send me a mail.

-- 
Heiko Wundram
Product & Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Live video streaming on FreeBSD?

2007-10-24 Thread Andreas Widerøe Andersen
Does any of these streaming solutions (encoders or servers) require me to
run a GUI on my FreeBSD boxes or can I simply run them like I always do:
command line only?

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


Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Joshua Isom


On Oct 24, 2007, at 8:56 PM, Aryeh M. Friedman wrote:


RW wrote:

On Wed, 24 Oct 2007 16:49:24 -0400
"Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:



I am writing some demo code (for teaching C) ... showing that
int's are always word length



s/always/typically/

C has been around for a long time and there is always a 
counter-example

to any sweeping generalisation that isn't backed-up by a standards
document.


BTW I was slightly wrong it is longs not int's that change depending on
word size:

Script started on Wed Oct 24 19:51:44 2007



Just remember this, char <= short <= int <= long.  Anything else can be 
anything.  Saying that an int is always four bytes is like saying an 
int is the same size as a pointer, both of which are assumptions that 
are often taken but are very wrong.  A lot of what decides the sizes of 
ints is more compiler implementer than anything else.  Depending on 
your system, you'd want your 36 bit ints instead of being limited to 
only 32.


But if you don't care about portability, then an int is always 32 bits 
and it's always in little endian order.


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


hidden disk geometry on Compaq Presario V2000

2007-10-24 Thread Lorin Lund

I have a Compaq Presario Notebook in the V2000 series.
I just replaced the hard drive because the original was getting
disk errors.

I have a WD Scorpio 120 GB.  When I try to load FreeBSD I get
an error message when I get to the partition the disk stage.  It says
my disk geometry is wrong.  It says I need to use whatever numbers
my BIOS uses.  But my BIOS doesn't show the disk geometry numbers
anywhere I can see.  How can I proceed?  How can I find out what
disk geometry to use?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


OEM and Trademark license for Java on FreeBSD -- [EMAIL PROTECTED] no longer valid?

2007-10-24 Thread Pj Malloy
Hello,

Short version
---
Does anyone know to what email address at Sun I should send my questions 
regarding the Diablo FreeBSD JRE?

Longer version
---
Any help would be MUCH appreciated.

I have some questions regarding the OEM and Trademark license for Java on 
FreeBSD.  I initially sent my email inquiry to  [EMAIL PROTECTED], as stated in 
the FreeBSD Foundation Java Download page
   (http://www.freebsdfoundation.org/downloads/java.shtml), but  that [EMAIL 
PROTECTED] email address does not appear to be valid --  the email I sent to 
that address bounced.

The [EMAIL PROTECTED] email  address is specifically called out in Diablo 
FreeBSD OEM Java license that is  listed here:
   
http://www.freebsdfoundation.org/cgi-bin/download?download=oem/diablo-jdk-freebsd5.i386.1.5.0.07.01.tbz


That license text states we (a) must obtain a Trademark License from Sun, and 
depending on the exact field of use, we (b) might need to get a commercial 
license from Sun.  That license text directs me to [EMAIL PROTECTED] to get 
more information for both (a) and (b). That email address doesn't work, so now 
I'm wondering what to do next...  I called Sun Sales, but they did not know 
what I was talking about...

 Best regards,
PJ



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


Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread RW
On Wed, 24 Oct 2007 21:56:50 -0400
"Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:

> RW wrote:
> > On Wed, 24 Oct 2007 16:49:24 -0400
> > "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> I am writing some demo code (for teaching C) ... showing that
> >> int's are always word length
> >> 
> >
> > s/always/typically/
> >
> > C has been around for a long time and there is always a
> > counter-example to any sweeping generalisation that isn't backed-up
> > by a standards document. 
> 
> BTW I was slightly wrong it is longs not int's that change depending
> on word size:

What's variable is defined by the standard, not by the  differences
between particular implementations. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Warren Block

On Wed, 24 Oct 2007, Roland Smith wrote:


On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote:

What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
available CPU frequencies.


I get:
dev.cpu.0.freq_levels: 397/-1 198/-1

Is this something I should be reporting to stable? It's not explicitly
mentioned in the hardware notes so I'm not sure if my processor is
actually supported in 6.2. Is it possible that I've been shipped the
wrong processor? If so, how would I be able to tell short of ripping
off the giant heatsink and looking?


Have a look at the dmesg output with 'dmesg |head -n 24'. There should
be some info about the CPU in there. Post those lines here.

And have a look at the bios. It could have some settings to regulate the
CPU speed.


Or maybe a related setting like FSB speed (if the Via C7 is like other 
processors in basing its speed off that).


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


Re: Is it difficult to move from Linux?

2007-10-24 Thread Warren Block

On Wed, 24 Oct 2007, Charlie Farinella wrote:


I'm still using Linux (Kubuntu, or Slackware) for my desktop machines,
and am wondering if FreeBSD is an option for the desktop.  I need to
run Audacity for instance, and would like to be able to view
audio-video content on the web.  Has that been difficult for people to
set up?


There are ports for Audacity (normal and -devel), and mplayer works for 
playing video (DVD, flv, and Quicktime are all I've used, I think). 
Integration with the web, particularly implementations that use Flash, 
are sometimes a problem.  See the youtube-dl port, also.


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


Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Aryeh M. Friedman
RW wrote:
> On Wed, 24 Oct 2007 16:49:24 -0400
> "Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:
>
>   
>> I am writing some demo code (for teaching C) ... showing that
>> int's are always word length
>> 
>
> s/always/typically/
>
> C has been around for a long time and there is always a counter-example
> to any sweeping generalisation that isn't backed-up by a standards
> document. 

BTW I was slightly wrong it is longs not int's that change depending on
word size:

Script started on Wed Oct 24 19:51:44 2007

> cat sizes.c
#include 

main()
{
printf("int:\t\t%d\n",sizeof(int));
printf("short:\t\t%d\n",sizeof(short));
printf("long:\t\t%d\n",sizeof(long));
printf("long long:\t%d\n",sizeof(long long));
printf("float:\t\t%d\n",sizeof(float));
printf("double:\t\t%d\n",sizeof(double));
printf("char:\t\t%d\n",sizeof(char));
printf("ptr:\t\t%d\n",sizeof(void *));
}

> gcc sizes.c

> ./a.out
int:4
short:2
long:8
long long:8
float:4
double:8
char:1
ptr:8

> gcc -m32 -B/usr/lib32 -L/usr/lib32 sizes.c  # See "forcing
compilor/run time linking of lib32 on amd54" in freebsd-questions

> ./a.out
int:4
short:2
long:4
long long:8
float:4
double:8
char:1
ptr:4

Script done on Wed Oct 24 19:52:08 2007
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't overwrite a particular swap partition

2007-10-24 Thread RW
On Thu, 25 Oct 2007 01:39:20 +0100
Bruce Cran <[EMAIL PROTECTED]> wrote:

> RW wrote:
> > I have two swap partitions, ad4s1b is part of my main slice, and
> > ad6s1b is on a second drive. The permissions are the same, but I
> > can't overwrite the second one. The same thing happens whether I
> > use swapoff or reboot into single user mode.
> > 
> > What's the difference?
> > 
> > # dd if=/dev/random of=/dev/ad4s1b bs=1m
> > dd: /dev/ad4s1b: end of device
> > 4097+0 records in
> > 4096+0 records out
> > 4294967296 bytes transferred in 245.745739 secs (17477281 bytes/sec)
> > 
> > # dd if=/dev/random of=/dev/ad6s1b bs=1m
> > dd: /dev/ad6s1b: Operation not permitted
> > 1+0 records in
> > 0+0 records out
> > 0 bytes transferred in 0.053829 secs (0 bytes/sec)
> > 
> > # ls -l /dev/ad*1b
> > crw-r-  1 root  operator0, 125 Oct 25 00:25 /dev/ad4s1b
> > crw-r-  1 root  operator0, 132 Oct 24 20:23 /dev/ad6s1b
> >
> 
> This looks like a geom permission problem, though it sounds like it 
> should't be occurring.  Does setting
> 
> kern.geom.debugflags=16
> 
> solve this?

Not unless it needs a reboot.

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 0 -> 16
gumby# dd if=/dev/zero of=/dev/ad6s1b bs=1m
dd: /dev/ad6s1b: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.001970 secs (0 bytes/sec)

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


Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread RW
On Wed, 24 Oct 2007 16:49:24 -0400
"Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:

> I am writing some demo code (for teaching C) ... showing that
> int's are always word length

s/always/typically/

C has been around for a long time and there is always a counter-example
to any sweeping generalisation that isn't backed-up by a standards
document. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Periodic.conf?

2007-10-24 Thread jekillen

Hello;
The following was a response to a query I posted regarding how to 
switch over to Postfix from

SendMail:

Also, there are some periodic things that are ran which are SendMail 
specific
that need to be disabled. That is done within /etc/periodic.conf as 
such:


daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"

However, there is no periodic.conf on my system:
v6.2. There is a periodic directory with specific
subdirectories. One is 'daily' but I do not know
which one would have the above entries.
When I installed the OS, I had it include the
Postfix package when sysinstall queried for
package choices.
I want to set this machine up as a hub mail server
for four web sites on four separate machines that
are connected via inside network. I have not dealt
with e-mail related software in general and Postfix
or Sendmail specifically. Since I brought in Postfix
as a package, I am afraid of trying to install it from
Ports for complications, unless ports will account
for that.
There were also advices to place several entries
in rc.conf to disable SendMail. There are no entries
either for SendMail, not Postfix there to begin with
in rc.conf.

In mailer.conf I was told it should look like this:
sendmail/usr/local/sbin/sendmail
send-mail   /usr/local/sbin/sendmail
mailq   /usr/local/sbin/sendmail
newaliases  /usr/local/sbin/sendmail

There were two other entries, hoststat and
purgstat. Should these be kept, modified
or eliminated?

I plan on setting up a test system on the local net.
And when that appears to be working properly, I
will add it to the DNS records and hook in up to
the public network.
I am looking to learn to setup and administer mail systems
I am a hobbyist at this point, but I have static IP addresses
and do web design and related programming, art, music and
graphics and have several services that will need a mail server
to run e-mail address verification checks and registration verification
checks, as well as be a personal mail system so I can let the
prodigy.net address just be a spam catcher.
I am not looking to spam anyone.
Thanks in Advance;
Jeff K

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


libXfont install problems from ports

2007-10-24 Thread James
I'm having issues with six or seven ports installing. I've traced it back to
two ports that are having issues, one of which is libXfont.

The version I've got installed is:

evolution# pkg_info -Ix libXfont
libXfontcache-1.0.4 The Xfontcache library

The version in ports is 1.3.1


Here's my log:


===>  Building for libXfont-1.3.1,1
make  all-recursive
Making all in src
Making all in fontfile
/bin/sh ../../libtool --tag=CC--mode=compile cc -DHAVE_CONFIG_H -I.
-I../.. -I../../include/X11/fonts -I../../include
 -DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\"
-Wall -Wpointer-arith -Wstrict-prototypes-Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe  -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o
fontencc.lo fontencc.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts -I../../include
-DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts/encodings/encodings.dir\"
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/usr/local/include -MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c
fontencc.c  -fPIC -DPIC -o .libs/fontencc.o
fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory
In file included from fontencc.c:35:
../../include/X11/fonts/fontencc.h:32: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:32: warning: function declaration isn't a
prototype
../../include/X11/fonts/fontencc.h:33: error: syntax error before
"font_encoding_find"
../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int' in
declaration of `font_encoding_find'
../../include/X11/fonts/fontencc.h:33: warning: data definition has no type
or storage class
../../include/X11/fonts/fontencc.h:34: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:34: warning: function declaration isn't a
prototype
fontencc.c: In function `font_encoding_from_xlfd':
fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD'
fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD'
fontencc.c:42: warning: return makes pointer from integer without a cast
fontencc.c: At top level:
fontencc.c:46: error: syntax error before "font_encoding_find"
fontencc.c:47: warning: return type defaults to `int'
fontencc.c: In function `font_encoding_find':
fontencc.c:48: warning: implicit declaration of function `FontEncFind'
fontencc.c:48: warning: nested extern declaration of `FontEncFind'
fontencc.c: At top level:
fontencc.c:53: error: syntax error before "FontEncPtr"
fontencc.c:54: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_recode':
fontencc.c:55: error: `encoding' undeclared (first use in this function)
fontencc.c:55: error: (Each undeclared identifier is reported only once
fontencc.c:55: error: for each function it appears in.)
fontencc.c:55: error: `mapping' undeclared (first use in this function)
fontencc.c:59: warning: implicit declaration of function `FontEncRecode'
fontencc.c:59: warning: nested extern declaration of `FontEncRecode'
fontencc.c:59: error: `code' undeclared (first use in this function)
fontencc.c: At top level:
fontencc.c:64: error: syntax error before "FontEncPtr"
fontencc.c:65: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_name':
fontencc.c:66: error: `encoding' undeclared (first use in this function)
fontencc.c:66: error: `mapping' undeclared (first use in this function)
fontencc.c:70: warning: implicit declaration of function `FontEncName'
fontencc.c:70: warning: nested extern declaration of `FontEncName'
fontencc.c:70: error: `code' undeclared (first use in this function)
fontencc.c:70: warning: return makes pointer from integer without a cast
fontencc.c: In function `identifyEncodingFile':
fontencc.c:76: warning: implicit declaration of function `FontEncIdentify'
fontencc.c:76: warning: nested extern declaration of `FontEncIdentify'
fontencc.c:76: warning: return makes pointer from integer without a cast
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont.



Can anyone see what's going on?

Thanks!

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


Re: Can't overwrite a particular swap partition

2007-10-24 Thread Bruce Cran

RW wrote:

I have two swap partitions, ad4s1b is part of my main slice, and ad6s1b
is on a second drive. The permissions are the same, but I can't
overwrite the second one. The same thing happens whether I use swapoff
or reboot into single user mode.

What's the difference?

# dd if=/dev/random of=/dev/ad4s1b bs=1m
dd: /dev/ad4s1b: end of device
4097+0 records in
4096+0 records out
4294967296 bytes transferred in 245.745739 secs (17477281 bytes/sec)

# dd if=/dev/random of=/dev/ad6s1b bs=1m
dd: /dev/ad6s1b: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.053829 secs (0 bytes/sec)

# ls -l /dev/ad*1b
crw-r-  1 root  operator0, 125 Oct 25 00:25 /dev/ad4s1b
crw-r-  1 root  operator0, 132 Oct 24 20:23 /dev/ad6s1b



This looks like a geom permission problem, though it sounds like it 
should't be occurring.  Does setting


kern.geom.debugflags=16

solve this?

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


Can't overwrite a particular swap partition

2007-10-24 Thread RW
I have two swap partitions, ad4s1b is part of my main slice, and ad6s1b
is on a second drive. The permissions are the same, but I can't
overwrite the second one. The same thing happens whether I use swapoff
or reboot into single user mode.

What's the difference?

# dd if=/dev/random of=/dev/ad4s1b bs=1m
dd: /dev/ad4s1b: end of device
4097+0 records in
4096+0 records out
4294967296 bytes transferred in 245.745739 secs (17477281 bytes/sec)

# dd if=/dev/random of=/dev/ad6s1b bs=1m
dd: /dev/ad6s1b: Operation not permitted
1+0 records in
0+0 records out
0 bytes transferred in 0.053829 secs (0 bytes/sec)

# ls -l /dev/ad*1b
crw-r-  1 root  operator0, 125 Oct 25 00:25 /dev/ad4s1b
crw-r-  1 root  operator0, 132 Oct 24 20:23 /dev/ad6s1b
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rename file based on file's timestamp

2007-10-24 Thread Karl Vogel
>> On Wed, 24 Oct 2007 22:45:08 +1000, 
>> andrew clarke <[EMAIL PROTECTED]> said:

A> I have a series of files in a directory:

A> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28 2006 209.mp3
A> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31 2006 212.mp3

A> Now I want to rename these so the new filenames are based on the file's
A> timestamp, like so:

A> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28 2006 2006-07-28.mp3
A> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31 2006 2006-07-31.mp3

A> I can write some Python code to do this, but maybe there is another way,
A> perhaps using a shell script.  Any thoughts?

   The script below is in Perl, but converting it to Python probably wouldn't
   be too difficult.

-- 
Karl Vogel   I don't speak for the USAF or my company
Loch Ness monster surfaces in Jersey bathtub --Weekly World News headline

---
#!/usr/bin/perl -w
# Rename each regular file in the argument list using its modtime.
# Add the inode number if that's not enough to create a unique file.

use strict;

foreach my $file (@ARGV) {
# sanity checks.

next unless -f $file;
my ($inode, $mtime) = (stat(_))[1, 9];
die "$file: no mtime found\n" unless defined($mtime);

# any file extension?

my $ext = '';
$ext = "$1" if $file =~ m/(\.\w*)$/;

# try date.extension, date.inode.extension, then give up.

my ($day, $mon, $year) = (localtime($mtime))[3, 4, 5];
my $date = sprintf("%4.4d-%2.2d-%2.2d", $year + 1900, $mon + 1, $day);

my $newfile = $date . $ext;
if (-f $newfile) {
$newfile = $date . '.' . $inode . $ext;
}

if (-f $newfile) {
warn "unable to rename $file\n";
}
else {
unless (rename($file, $newfile)) {
warn "rename $file to $newfile failed: $!\n";
}
}
}

exit(0);

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


Re: best way to run vista inside freebsd

2007-10-24 Thread Aryeh M. Friedman

> I didnt know all this. thanks! QEMu will have to keep working for now ;)
>
> btw, does QEMU work ok under 64bit? 

Yes.  Though you might get some strange situations depending on the
guest OS and emulated machine.   For example when emulating a x86_64
running XP pro as the Guest OS I can ping/telnet the host OS but I can't
see it's Samba server even though every other machine on the subnet can
see it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: best way to run vista inside freebsd

2007-10-24 Thread Norberto Meijome
On Wed, 24 Oct 2007 00:38:46 -0400
"Aryeh M. Friedman" <[EMAIL PROTECTED]> wrote:

> Francisco Reyes wrote:
> > Norberto Meijome writes:
> >
> >>> I do not have Windows on any of my machines but I have heard that
> >>> Win4BSD is really good. It is not free! I believe it is about
> >>> $45.
> >>
> >> $45 is far cheaper than EMC's VMWare workstation edition. Does it
> >> support Vista
> >> now? interesting..you can also try QEMu, on which Win4BSD is partly
> >> based .
> >
> > Win4BSD is not all that stable and the support is rather lacking. You
> > see many posts in their forums with no answer.. and others with
> > answers weeks/months later. 
> 
> besides it doesn't work on amd64

I didnt know all this. thanks! QEMu will have to keep working for now ;)

btw, does QEMU work ok under 64bit? 
B

_
{Beto|Norberto|Numard} Meijome

Law of Conservation of Perversity: 
  we can't make something simpler without making something else more complex

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


Re: the right next step?

2007-10-24 Thread Aliya Harbouri
Hi,

Yes, I'm aware of pending freezes and such ... and the need for a PR.

> As for ignoring make and build settings, that should probably
> be put in a PR (bug report).   If it is a serious bug, then it
> might get addressed before the release.   Otherwise it won't get
> touched until after.

I guess my OP wasn't really clear enough.

As per its Point iii), I *had* filed a PR on Tue, 25 Sep 2007.  Then,
there was no 'freeze' in place, as far as  know.

Nothing's been done *since* then, which is why I asked here -- "What next".

Thanks a lot!

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


Re: Is it difficult to move from Linux?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 06:13:21PM +0100, Adam J Richardson wrote:

> Donovan R. Palmer wrote:
> >I have saved many of your emails for future reference.
> 
> Hi Donovan,
> 
> Welcome to the list. There's no need for you to store the emails, since 
> they're all archived at http://docs.freebsd.org/mail/ anyway. :)

Yah, but it is usually easier to find references if I save them in
my own idea of a structure.

jerry

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


Re: the right next step?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 03:15:17PM -0700, Aliya Harbouri wrote:

> Hi Jerry!
> 
> > I am not sure I understand all of what is being said or implied here.
> 
> Hm. Now *I'm* confused by your confusion ;-)  Let me summarize --
> 
> The www/apache22 port ignores (or more correctly, is not yet aware of
> ...) a port-installed bdb46.  unlike most other ports that are
> up-to-date, it ignores 'knobs' and make.conf settings.
> 
> I've asked the list, I've asked the maintainer privately and via a PR,
> I've submitted a proposed solution to the maintainer, and I've filed a
> PR & a follow-up to the PR.
> 
> In ~ a month, there's been no response/action whatsoever from the
> maintainer.  Which is ok.
> 
> I was just asking where to "complain" next.
> 
> It was suggested, here, that freebsd-ports list is the my next step.
> 
> Which is where you'll next hear from me on this :-)

Well, the maintainer is the most likely person to deal with it.

But, as I pointed out, things are in a ports freeze right now
and that means those people are quite busy getting things tested
for a release and might not have time for improving features.

As for ignoring make and build settings, that should probably 
be put in a PR (bug report).   If it is a serious bug, then it
might get addressed before the release.   Otherwise it won't get
touched until after.

jerry

> 
> HTH & Thanks a lot!
> 
> Ali
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [freebsd-questions] easiest way to install CPAN on FreeBSD

2007-10-24 Thread Aliya Harbouri
Hi Howie,

> What does CPANPLUS do that CPAN doesn't that makes this a better
> solution? Does it somehow integrate with the ports better? (rather than
> getting conflicts between p5-* and bsdpan-*)
>
> I use quite a lot of CPAN modules, so a way to be able to get 'obscure'
> modules, and still use portupgrade effectively would be good :-)


It's been made pretty clear to me by a number of folks that p5* ports
have "no responsibility" for keeping track of
dependencies/conflicts/whatever with NON p5*- installed modules.

I'm sure there are a lot of really experienced folks around here who
have NO problems with p5*-based systems.

For me, though, I can only say that I never quite figured out how to
make those annoying, not-infrequent conflicts go away -- EXECPT to
move to a "vanilla" CPAN/CPANPLUS (doesn't much matter, actually --
*these* two *do* play nice together) system.  Once I removed/replaced
all the FreeBSD BSDPAN- & p5- installed modules, all my conflicts have
gone away.

As "they" say, YMMV.

HTH!

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


Re: First panic in 7.0-BETA1 on i386

2007-10-24 Thread Bruce Cran

Kris Kennaway wrote:

Doug Poland wrote:
I'd like to report the details but I'm unfamiliar with the process. 
Should I post here on -questions or on -current mailing list?


-stable.



I know 7-BETA1 is currently in a region somewhere between -current and 
-stable but I thought the -current list was more relevant to RELENG_7 
problems?  It seems to be where most problems are being reported at 
least, and 8-CURRENT has only recently started diverging from 7.


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


Re: the right next step?

2007-10-24 Thread Aliya Harbouri
Hi Jerry!

> I am not sure I understand all of what is being said or implied here.

Hm. Now *I'm* confused by your confusion ;-)  Let me summarize --

The www/apache22 port ignores (or more correctly, is not yet aware of
...) a port-installed bdb46.  unlike most other ports that are
up-to-date, it ignores 'knobs' and make.conf settings.

I've asked the list, I've asked the maintainer privately and via a PR,
I've submitted a proposed solution to the maintainer, and I've filed a
PR & a follow-up to the PR.

In ~ a month, there's been no response/action whatsoever from the
maintainer.  Which is ok.

I was just asking where to "complain" next.

It was suggested, here, that freebsd-ports list is the my next step.

Which is where you'll next hear from me on this :-)

HTH & Thanks a lot!

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


Re: [freebsd-questions] easiest way to install CPAN on FreeBSD

2007-10-24 Thread Howard Jones

Gerard wrote:

On October 24, 2007 at 02:11PM Sean Murphy wrote:
  
2) Use CPANPLUS to install the module.


Unless the user has the time, knowledge and motivation to do the first, the
second approach is usually superior.

  
What does CPANPLUS do that CPAN doesn't that makes this a better 
solution? Does it somehow integrate with the ports better? (rather than 
getting conflicts between p5-* and bsdpan-*)


I use quite a lot of CPAN modules, so a way to be able to get 'obscure' 
modules, and still use portupgrade effectively would be good :-)


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


Company Representative Is Needed.

2007-10-24 Thread WoodsJoAnnWoods
I'm responding to your  advertisement on your website needing a company 
representative to receive  payment on your behalf.
 
NAME: Heavenly J&K  Investments, Inc.
 Jo Ann Woods, Vice  President
ADDRESS: 450 Hillside Dr., Bldg.  B, #200
CITY:  Mesquite STATE:  Nevada   ZIP CODE: 89027
TELPHONE: (707)  643-4142
MOBILE: (707)  704-1074
OCCUPATION:  Retired/Disabled
POSITION:  Accountant



** See what's new at http://www.aol.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Erik Trulsson
On Wed, Oct 24, 2007 at 03:02:21PM -0600, Ross Penner wrote:
> On 10/24/07, Roland Smith <[EMAIL PROTECTED]> wrote:
> > On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote:
> > > > What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
> > > > available CPU frequencies.
> > > >
> > > I get:
> > > dev.cpu.0.freq_levels: 397/-1 198/-1
> > >
> > > Is this something I should be reporting to stable? It's not explicitly
> > > mentioned in the hardware notes so I'm not sure if my processor is
> > > actually supported in 6.2. Is it possible that I've been shipped the
> > > wrong processor? If so, how would I be able to tell short of ripping
> > > off the giant heatsink and looking?
> >
> > Have a look at the dmesg output with 'dmesg |head -n 24'. There should
> > be some info about the CPU in there. Post those lines here.
> 
> Lines from dmesg:
> 
>  Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (399.40-MHz 686-class CPU)
>   Origin = "CentaurHauls"  Id = 0x6a9  Stepping = 9
>   
> Features=0xa7c9bbff
>   Features2=0x181
> 
> It clearly indicates that it's a 400MHz processor, but the timecounter
> makes me think it' the 1.2 GHz it's supposed to be.

The 'i8254' timecounter is completely independent of the CPU, and the 'Hz'
value associated with it has nothing to do with the clock frequency of the CPU.


> 
> > And have a look at the bios. It could have some settings to regulate the
> > CPU speed.
> 
> The BIOS didn't seem to have anything to adjust the CPU speed, but
> while booting I did notice that it declared itself as a via C7 400MHz
> processor.

It sounds like the CPU actually is running at 400MHz then.  
Either that or both the BIOS and FreeBSD misidentifes the CPU speed.

It could be that the BIOS do not set up the processor correctly.
Are you sure there are no BIOS settings related to the CPU speed?
Have you tried updating the BIOS?




-- 

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


Re: Install on new INTEL motherboard, can't find ATA devices

2007-10-24 Thread Thomas David Rivers
Just to follow up on the Intel DG33UB issues.

I tried the 7.0 BETA bootonly ISO image today; and low-and-behold,
that "found" the missing CDROM drive.

I'm going to try the 6.3 BETA when it rolls out...

- Thanks -
- Dave Rivers -
--
 Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Gerard
On October 24, 2007 at 02:11PM Sean Murphy wrote:


> I don't install CPAN on FreeBSD.  I use the ports and packages from
> http://www.freebsd.org/ports
> Do a search for the module that you require P5- means it is a perl 
> module also you can use the ports collection for PHP modules as well.  
> This will automatically install any other dependent modules.

Unfortunately, not all CPAN modules are available in the ports collection.
That leaves just two readily available avenues open.

1) Become a maintainer and port the module to FreeBSD. This is a rather time
consuming process that while it has its advantages, it is certainly not
advantageous for a user who needs the module installed now.

2) Use CPANPLUS to install the module.

Unless the user has the time, knowledge and motivation to do the first, the
second approach is usually superior.

Just my 2¢.


-- 
Gerard

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


Re: forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Josh Carroll
> I am writing some demo code (for teaching C) and need to have the same
> program run on a 32 bit machine and a 64 bit machine (showing that int's
> are always word length)... I have 8-current amd64 how do I force it to
> compile with 32 bit words?

Add the following to your gcc command line:

-m32 -B/usr/lib32 -L/usr/lib32

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


Re: user ppp and PPPoE bridging

2007-10-24 Thread freebsd

Nikos Vassiliadis wrote:


You said you had wrong encapsulation type. Did you make any progress?


Yes.
Changing the encapsulation type brought the line up,
and things hobbled along...
However, the line is dropped after a few minutes,
apparently a result of not being able to determine line quality:

Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: ** Too many LQR 
packets lost **
Oct 24 12:39:06 nightmare ppp[859]: tun0: LQM: deflink: Too many LQR packets 
lost
Oct 24 12:39:06 nightmare ppp[859]: tun0: CCP: deflink: State change Stopped 
--> Closed
Oct 24 12:39:06 nightmare ppp[859]: tun0: CCP: deflink: State change Closed --> 
Initial
Oct 24 12:39:06 nightmare ppp[859]: tun0: LCP: deflink: LayerDown
Oct 24 12:39:06 nightmare ppp[859]: tun0: LCP: deflink: State change Opened --> 
Starting
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: open -> lcp
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_UpdateMTU (5)
Oct 24 12:39:06 nightmare ppp[859]: tun0: TCP/IP: route_UpdateMTU: Netif: 5 
(tun0), dst 0.0.0.0/0, mtu 1500
Oct 24 12:39:06 nightmare ppp[859]: tun0: TCP/IP: route_UpdateMTU: Netif: 5 
(tun0), dst 216.47.48.1, mtu 1500
Oct 24 12:39:06 nightmare ppp[859]: tun0: TCP/IP: route_UpdateMTU: Netif: 5 
(tun0), dst ff01:5::/32, mtu 1500
Oct 24 12:39:06 nightmare ppp[859]: tun0: TCP/IP: route_UpdateMTU: Netif: 5 
(tun0), dst ff02:5::/32, mtu 1500
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: deflink: LayerDown: 12.32.44.142
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: ReadSystem: Can't open 
/etc/ppp/ppp.linkdown.
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: ReadSystem: Can't open 
/etc/ppp/ppp.linkdown.
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: ReadSystem: Can't open 
/etc/ppp/ppp.linkdown.
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: deflink: State change Opened 
--> Starting
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: deflink: LayerFinish.
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: Connect time: 331 secs: 2253 
octets in, 1584 octets out
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: 24 packets in, 25 packets out
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP:  total 11 bytes/sec, peak 275 
bytes/sec on Wed Oct 24 12:34:43 2007
Oct 24 12:39:06 nightmare ppp[859]: tun0: IPCP: deflink: State change Starting 
--> Initial
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: bundle: Terminate
Oct 24 12:39:06 nightmare ppp[859]: tun0: LCP: deflink: LayerFinish
Oct 24 12:39:06 nightmare ppp[859]: tun0: LCP: deflink: State change Starting 
--> Initial
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: Disconnected!
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: lcp -> logout
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: Disconnected!
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: logout -> hangup
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: deflink: Close
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: Connect time: 332 
secs: 3044 octets in, 2789 octets out
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: 70 packets in, 77 
packets out
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase:  total 17 bytes/sec, peak 315 
bytes/sec on Wed Oct 24 12:34:46 2007
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: deflink: hangup -> closed
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_IfDelete (5)
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found 0.0.0.0/0 216.47.48.1
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_IfDelete: Skip it (pass 
0)
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found 216.47.48.1 12.32.44.142
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_IfDelete: Skip it (pass 
0)
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found ff01:5::/32 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_IfDelete: Skip it (pass 
0)
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found ff02:5::/32 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: route_IfDelete: Skip it (pass 
0)
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found 0.0.0.0/0 216.47.48.1
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: wrote 124: cmd = Delete, dst = 
0.0.0.0/0, gateway = 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found 216.47.48.1 12.32.44.142
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: wrote 108: cmd = Delete, dst = 
216.47.48.1, gateway = 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found ff01:5::/32 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: wrote 148: cmd = Delete, dst = 
ff01:5::/32, gateway = 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: Found ff02:5::/32 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Debug: wrote 148: cmd = Delete, dst = 
ff02:5::/32, gateway = 
Oct 24 12:39:06 nightmare ppp[859]: tun0: Phase: bundle: Dead

During initial protocol negotiation, it looks like come sort of compression
is disallowed, but it doesn't seem like that should cause the line to be
dropped later:

Oct 24 12:33:35 nightmare ppp[859]: tun0: LCP: deflink: RecvProtocolRej(2) 

Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Ross Penner
On 10/24/07, Roland Smith <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote:
> > > What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
> > > available CPU frequencies.
> > >
> > I get:
> > dev.cpu.0.freq_levels: 397/-1 198/-1
> >
> > Is this something I should be reporting to stable? It's not explicitly
> > mentioned in the hardware notes so I'm not sure if my processor is
> > actually supported in 6.2. Is it possible that I've been shipped the
> > wrong processor? If so, how would I be able to tell short of ripping
> > off the giant heatsink and looking?
>
> Have a look at the dmesg output with 'dmesg |head -n 24'. There should
> be some info about the CPU in there. Post those lines here.

Lines from dmesg:

 Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (399.40-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x6a9  Stepping = 9
  
Features=0xa7c9bbff
  Features2=0x181

It clearly indicates that it's a 400MHz processor, but the timecounter
makes me think it' the 1.2 GHz it's supposed to be.

> And have a look at the bios. It could have some settings to regulate the
> CPU speed.

The BIOS didn't seem to have anything to adjust the CPU speed, but
while booting I did notice that it declared itself as a via C7 400MHz
processor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


forcing compilation/run time linking of lib32 on amd64

2007-10-24 Thread Aryeh M. Friedman
I am writing some demo code (for teaching C) and need to have the same
program run on a 32 bit machine and a 64 bit machine (showing that int's
are always word length)... I have 8-current amd64 how do I force it to
compile with 32 bit words?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Roland Smith
On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote:
> > What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
> > available CPU frequencies.
> >
> I get:
> dev.cpu.0.freq_levels: 397/-1 198/-1
> 
> Is this something I should be reporting to stable? It's not explicitly
> mentioned in the hardware notes so I'm not sure if my processor is
> actually supported in 6.2. Is it possible that I've been shipped the
> wrong processor? If so, how would I be able to tell short of ripping
> off the giant heatsink and looking?

Have a look at the dmesg output with 'dmesg |head -n 24'. There should
be some info about the CPU in there. Post those lines here.

And have a look at the bios. It could have some settings to regulate the
CPU speed.

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)


pgpPdjsPyuFMi.pgp
Description: PGP signature


Re: Windows SSH client?

2007-10-24 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 10/24/07, Doug Clements  wrote:
>
> Free for non-commercial use:
>
> http://ssh.com/
>

I second that.  I still use this one because putty's interface is awful.

Here's the direct link:

ftp://ftp.ssh.com/pub/ssh/SSHSecureShellClient-3.2.9.exe



- --
Andy Harrison
public key: 0x67518262
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHH607NTm8fWdRgmIRAj1gAJ95EWlKbmCbERSzPc7yQD4dLgv8qQCgoOBt
SL3cpy3ppcZ3PrpzF6JtuCA=
=8JBI
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 7.0 and 6.3

2007-10-24 Thread David J Brooks
On Wednesday 24 October 2007 02:17:12 am Kris Kennaway wrote:
> David J Brooks wrote:
> > Bill Moran wrote:
> >> Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
> >
> > What are the differences between 6.3 and 7.0? Which should be considered
> > the standard upgrade path from 6.2 release? Is there a compelling reason
> > to upgrade to one over the other?
>
> 7.0 is the recommended choice; 6.3 is only for people who cannot update
> to the new branch yet.
>
> http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf

Wow! That's a really thorough answer. Thanks Kris!

David
-- 
The second best policy is dishonesty.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Ross Penner
On 10/24/07, Roland Smith <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 24, 2007 at 01:25:51PM -0600, Ross Penner wrote:
> > > sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to
> > > work on my system. heh, it'd probably work if I upgrade to 7.0
> >
> > Apparently I'm an idiot. the sysctl command does work. when the system
> > is mostly idle, It outputs '198' and when I put a high cpu load on it,
> > it outputs '397'. I'm not exactly sure what this means as I'm hoping
> > it doesn't refer to the MHz.
>
> I'm afraid it does;
>
> $ sysctl -d dev.cpu.0.freq
> dev.cpu.0.freq: Current CPU frequency
>
> When I see a CPU speed of 1 GHz in conky, I get:
>
> $ sysctl dev.cpu.0.freq
> dev.cpu.0.freq: 1000
>
> (on my athlon64)
>
> What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
> available CPU frequencies.
>
I get:
dev.cpu.0.freq_levels: 397/-1 198/-1

Is this something I should be reporting to stable? It's not explicitly
mentioned in the hardware notes so I'm not sure if my processor is
actually supported in 6.2. Is it possible that I've been shipped the
wrong processor? If so, how would I be able to tell short of ripping
off the giant heatsink and looking?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Windows SSH client?

2007-10-24 Thread Rob

Eric F Crist wrote:
I'm looking for a good, free, SSH client that has line/column numbers at 
the bottom, similar to SecureCRT.  Any advice is appreciated!


I've used Tera Term for years and recently discovered there's a new 
actively developed version at http://ttssh2.sourceforge.jp/  If you 
don't come up with anything else, it might be easy to add the numbering. 
 It appears to already have a current SSH implementation.


Wikipedia has a big comparison matrix, too: 
http://en.wikipedia.org/wiki/Comparison_of_SSH_clients



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


Re: Windows SSH client?

2007-10-24 Thread Alexandre Biancalana
On 10/24/07, Eric F Crist <[EMAIL PROTECTED]> wrote:
> Hey folks,
>
> I'm looking for a good, free, SSH client that has line/column numbers
> at the bottom, similar to SecureCRT.  Any advice is appreciated!


http://www.chiark.greenend.org.uk/~sgtatham/putty/ is great!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: First panic in 7.0-BETA1 on i386

2007-10-24 Thread Doug Poland

Kris Kennaway wrote:

Doug Poland wrote:
I'd like to report the details but I'm unfamiliar with the process. 
Should I post here on -questions or on -current mailing list?


-stable.


Looks like the issue is:  kernel: current process = 46 (ath0 taskq)


Well, unfortunately that doesn't really say anything.  Read the chapter 
on kernel debugging in the developers' handbook to learn how to 
investigate and report this.


Thanks for the info,  I've followed the steps you've referenced and 
posted it to -stable.


--
Regards,
Doug

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


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Roland Smith
On Wed, Oct 24, 2007 at 01:25:51PM -0600, Ross Penner wrote:
> > sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to
> > work on my system. heh, it'd probably work if I upgrade to 7.0
> 
> Apparently I'm an idiot. the sysctl command does work. when the system
> is mostly idle, It outputs '198' and when I put a high cpu load on it,
> it outputs '397'. I'm not exactly sure what this means as I'm hoping
> it doesn't refer to the MHz. 

I'm afraid it does;

$ sysctl -d dev.cpu.0.freq
dev.cpu.0.freq: Current CPU frequency

When I see a CPU speed of 1 GHz in conky, I get:

$ sysctl dev.cpu.0.freq
dev.cpu.0.freq: 1000

(on my athlon64)

What does 'sysctl dev.cpu.0.freq_levels' report? It should list the
available CPU frequencies.

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)


pgpKR4KFp3cyJ.pgp
Description: PGP signature


Re: First panic in 7.0-BETA1 on i386

2007-10-24 Thread Kris Kennaway

Doug Poland wrote:
I'd like to report the details but I'm unfamiliar with the process. 
Should I post here on -questions or on -current mailing list?


-stable.


Looks like the issue is:  kernel: current process = 46 (ath0 taskq)


Well, unfortunately that doesn't really say anything.  Read the chapter 
on kernel debugging in the developers' handbook to learn how to 
investigate and report this.


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


Re: 7.0 and 6.3

2007-10-24 Thread Kris Kennaway

Vince wrote:

Kris Kennaway wrote:

David J Brooks wrote:

Bill Moran wrote:

Note also that a ports freeze is starting soon for 7.0 and 6.3 release.

What are the differences between 6.3 and 7.0? Which should be
considered the standard upgrade path from 6.2 release? Is there a
compelling reason to upgrade to one over the other?

7.0 is the recommended choice; 6.3 is only for people who cannot update
to the new branch yet.

http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf



Great presentation! Is this linked to from anywhere on the FreeBSD site
or the wiki? It definitely deserves more widespread distribution.

Vince


Thanks!  It hasnt yet been promoted much because it is quite new 
(presented at BSDCON-Tr in Istanbul last Friday).  We'll definitely be 
giving it more publicity though.


Kris

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


Re: Windows SSH client?

2007-10-24 Thread Doug Clements
On 10/24/07, Eric F Crist <[EMAIL PROTECTED]> wrote:
>
> Hey folks,
>
> I'm looking for a good, free, SSH client that has line/column numbers
> at the bottom, similar to SecureCRT.  Any advice is appreciated!
>

Free for non-commercial use:

http://ssh.com/

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


First panic in 7.0-BETA1 on i386

2007-10-24 Thread Doug Poland
I'd like to report the details but I'm unfamiliar with the process. 
Should I post here on -questions or on -current mailing list?


Looks like the issue is:  kernel: current process = 46 (ath0 taskq)


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


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Ross Penner


On 10/24/07, Ross Penner <[EMAIL PROTECTED]> wrote:
> On 10/24/07, Erik Cederstrand <[EMAIL PROTECTED]> wrote:
> >
> > Ross Penner wrote:
> > > Hi all, I have a few questions about my Via C7 processor. In
> > > examples/make.conf there is an option for the CPUTYPE. It indicates
> > > that only the C3 and the C3-2 chips are supported. Does the C7 chip
> > > have support that I don't know of? If not, will it? Otherwise, will
> > > specifying the chipset as C3 help or hinder my environment?
> >
> > I know this is not an answer, but why not just upgrade to 7.0 if you
> > need the C7 support?
> 
>  I probably will. I just thought I'd try and see if I could stay on stable
> first.
> 
> > My second question is in regards to the CPU frequency control. I've
> > > seen that the C7 gets support for cpufreq in 7 current, but I'm
> > > running 6. Without support in cpufreq, what speed would my processor
> > > be running at? I've always thought my performance has been lackluster
> > > so I suspect it's running at the lower clock speed.
> >
> > If cpufreq/powerd is not active, your processor is running full-speed.
> > You can check this with "sysctl dev.cpu.0.freq" if it's available on
> > your system.
> 
> sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to
> work on my system. heh, it'd probably work if I upgrade to 7.0

Apparently I'm an idiot. the sysctl command does work. when the system is 
mostly idle, It outputs '198' and when I put a high cpu load on it, it outputs 
'397'. I'm not exactly sure what this means as I'm hoping it doesn't refer to 
the MHz. It's a 1.2GHz processor. Can somebody help me interpret this result?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Windows SSH client?

2007-10-24 Thread Eric F Crist

Hey folks,

I'm looking for a good, free, SSH client that has line/column numbers  
at the bottom, similar to SecureCRT.  Any advice is appreciated!


-
Eric F Crist
Secure Computing Networks


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


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Erik Norgaard

Ross Penner wrote:

On 10/24/07, Erik Cederstrand <[EMAIL PROTECTED]> wrote:

Ross Penner wrote:

Hi all, I have a few questions about my Via C7 processor. In
examples/make.conf there is an option for the CPUTYPE. It indicates
that only the C3 and the C3-2 chips are supported. Does the C7 chip
have support that I don't know of? If not, will it? Otherwise, will
specifying the chipset as C3 help or hinder my environment?

I know this is not an answer, but why not just upgrade to 7.0 if you
need the C7 support?


 I probably will. I just thought I'd try and see if I could stay on stable
first.


AFAIK 7.0 will be stable while 6.3 will be legacy.

Cheers, Erik

--
Erik Nørgaard
Ph: +34.666334818   http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: reverse DNS resolution...

2007-10-24 Thread Eric F Crist
Thanks to all for their help.  I was ignoring the forward DNS, and  
many things don't resolve reverse DNS unless there's a matching  
forward DNS.


duh.

thanks!

Eric Crist

On Oct 23, 2007, at 12:00 PMOct 23, 2007, Oliver Fromme wrote:


Eric F Crist wrote:

As I already stated, if I do a host 172.30.x.x, I get a the correct
reverse resolution.  dig works as well.  What isn't working is the
reverse resolution in certain command outputs, etc.


Note that the DNS tools (host, nslookup, dig) use their
own resolver code, not the one from FreeBSD's libc, like
all other tools.  That might explain the difference.

Make sure that you have configured /etc/nsswitch.conf
and /etc/resolv.conf correctly.  Also note that /etc/hosts
overrides DNS by default.

You can use tcpdump to check if a reverse lookup request
is sent to the DNS server when the failure occurs, and
what the reply looks like.  E.g. let this command run in
one terminal:

# tcpdump -i tun0 -s 1500 -l -n -vvv udp port domain

Add an -i option to specify the interface to listen on,
if you have multiple interfaces (e.g. -i fxp0).

Then run the command (w, irc client, whatever) in another
terminal and watch the tcpdump output.  Oh by the way,
I think the addresses in IRC are resolved by the servers,
not by the clients, so you would have to run the tcpdump
command on the IRC server (if it's an internal one to
which you can login and have root access).

Best regards
   Oliver

--
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing  
b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,   
Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister:  
Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf  
Gebhart


FreeBSD-Dienstleistungen, -Produkte und mehr:  http:// 
www.secnetix.de/bsd


PI:
int f[9814],b,c=9814,g,i;long a=1e4,d,e,h;
main(){for(;b=c,c-=14;i=printf("%04d",e+d/a),e=d%a)
while(g=--b*2)d=h*b+a*(i?f[b]:a/5),h=d/--g,f[b]=d%g;}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[EMAIL PROTECTED]"


-
Eric F Crist
Secure Computing Networks


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


Now can't get past the copyright info. What next?

2007-10-24 Thread W. D.
I've got a FreeBSD 4.9 Samba file server that boots
but hangs after the "Regents of the University of California"
text.

Is there some way to fix this?

Boot from a CD?  Put the hard drive in another computer?

Help!


Start Here to Find It Fast!™ -> http://www.US-Webmasters.com/best-start-page/
$8.77 Domain Names -> http://domains.us-webmasters.com/

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Sean Murphy

Noah wrote:



Martin Hepworth wrote:

what have you tried and what errors do you get?



Martin


thanks for responding.  here are the errors I am receiving when I am 
attempting to update things.



sudo perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' 
[~]

Password:
Sorry, try again.
Password:
Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
4) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.
Compilation failed in require at /usr/local/lib/perl5/5.8.8/CPAN.pm 
line 16.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/CPAN.pm line 16.

Compilation failed in require.
BEGIN failed--compilation aborted.





--
martin

On 10/24/07, *Noah* <[EMAIL PROTECTED]  > 
wrote:


Hi there,

I am looking around for a really simple way to install CPAN on 
FreeBSD.

  I keep running into errors in one variation or another.

Anybody have a good page to send me to?

Cheers,

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



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



I don't install CPAN on FreeBSD.  I use the ports and packages from
http://www.freebsd.org/ports
Do a search for the module that you require P5- means it is a perl 
module also you can use the ports collection for PHP modules as well.  
This will automatically install any other dependent modules.


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


Re: Writing Flash Driver

2007-10-24 Thread Aryeh M. Friedman
Heiko Wundram (Beenic) wrote:
> Am Mittwoch, 24. Oktober 2007 14:47:56 schrieb icantthinkofone:
>   
>> Does that in any way answer the question?
>> 
>
> Yes, because gnash is an open-source (re)implementation of Flash Player, 
> compatible with a large part of the Flash7 specification, 

gnash is no where near usable for some apps (static flash objects) for
example after trying every flash (and flash like) solution only
linux-flasplayer7 works on 8-Current amd64 for stites like google
ananyltics.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Booting a GELI encrypted hard disk

2007-10-24 Thread Pawel Jakub Dawidek
On Thu, Oct 25, 2007 at 12:46:53AM +0800, Daniel Marsh wrote:
> Even if all data on a drive is encrypted, the partition table is not.
> Software based disk encryption works on partitions.

That's not true. One can configure full disk encryption using GELI. To
do it you need to have a small USB pen-drive or CD-ROM with /boot/
directory, but that's all you need. Then you actually boot from your
unencrypted pen-drive, but mount all file systems from encrypted disk.
The pen-drive is not needed for your system to run and you can be easly
take it with you, which is not always the case for your laptop.

> How far into the boot sequence do you get before your system crashes without
> the key present?
> I would assume as far as reading the / partition to get the kernel etc...
> 
> It would have read the partition table and the boot loader, known which
> partition was the "active" partition and tried booting it.
> 
> Now, to identify what OS this disk has on it you can check the partition
> table and see what "type" has been set for each slice/partition.
> You will be able to see that there is a BSD style slice on the disk just by
> running `fdisk /dev/mystolendiskdevice`
> You now know it's a BSD OS, you could then make a guess as to what version
> of BSD by the type of machine it was taken from, based on what hardware is
> supported by each BSD.
> 
> I believe their slices and layout are identical but the file systems differ.
> 
> The person with your disk could then start trying to determine what kind of
> disk encryption is in place.

That's all irrelevant. Security of GELI (or any sane cryptographic
system) doesn't depend on secrecy of algorithms used.

-- 
Pawel Jakub Dawidek   http://www.wheel.pl
[EMAIL PROTECTED]   http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!


pgpA1kmMdGF3e.pgp
Description: PGP signature


Re: webconference softwares ?

2007-10-24 Thread Shantanoo Mahajan


On 24-Oct-07, at 8:46 PM, Frank Bonnet wrote:


Hello

Anyone knows if such softwares ( webconference / webminars ) are
availables in open source software world ?


you may have a look at http://www.dimdim.com/

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


Re: Install on new INTEL motherboard, can't find ATA devices

2007-10-24 Thread Thomas David Rivers
> 
> On Mon, 2007-10-22 at 15:13 -0400, Thomas David Rivers wrote:
> > I just got a new INTEL motherboard - chock full of these new-fangled
> > SATA connectors... and one "legacy" ATA connector.  I moved a disk
> > drive from an older box to this new one..
> > 
> > The machine can boot from the disk drive, but then after the kernel
> > is up-and-running - it can't find the drive to mount the root file
> > system.
> 
> Can you paste your complete /var/run/dmesg.boot from the boot kernel?
> Did you try a 7-PRERELEASE snapshot?  Are there any modes to toggle in
> the BIOS?
> 
> ~BAS
> 

 Hi Brian, 

  Thanks for your response...

  Just to fill in some more details, this is an Intel DG33BU, part
 of the Intel "Classic Series".

  I can't paste a /var/run/dmesg.boot - because, I don't have one,
 I'm trying to do an install...

  It seems to be that the BIOS treats the ATA drives as C and D;
 but after the kernel starts (after the boot) FreeBSD can't find them.
 It does find the SATA drives.
 
  I couldn't find anything in the BIOS regarding the drives except
 to treat the SATA drives as "legacy" or not (whatever that means...)


- Thanks! -
- Dave Rivers -

--
 Work: (919) 676-0847
Get your mainframe programming tools at http://www.dignus.com


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


Re: Writing Flash Driver

2007-10-24 Thread icantthinkofone

Benjamin M. A'Lee wrote:

On Wed, Oct 24, 2007 at 07:47:56AM -0500, icantthinkofone wrote:
  

Svein Halvor Halvorsen wrote:


icantthinkofone wrote:
  
  
My naive question is, what is involved with creating an open source 
driver for flash for freebsd?  Is it a legal issue?  Or does it take more 
time than anyone has to give?  Or is it just too difficult to do without 
help from Adobe?



http://www.gnu.org/software/gnash/

It can even play youtube.
  
  

Does that in any way answer the question?



Yes. Obviously it's not a legal issue, as it's been done. Likewise,
it's not so difficult as to require help from Adobe, as it's been
done without such help.

As I understand it, it's mostly a case of time and effort - working
through as many different Flash files as possible, working out what
they're doing, and implementing the support for it.

  
To correct my previous post, I think.  It was Benjamin, here, who 
brought up working out the information involved in interfacing to Flash.

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


Re: Is it difficult to move from Linux?

2007-10-24 Thread Adam J Richardson

Donovan R. Palmer wrote:

I have saved many of your emails for future reference.


Hi Donovan,

Welcome to the list. There's no need for you to store the emails, since 
they're all archived at http://docs.freebsd.org/mail/ anyway. :)


Regards,
Adam J Richardson

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


Re: Booting a GELI encrypted hard disk

2007-10-24 Thread Daniel Marsh
On 10/23/07, Steve Bertrand <[EMAIL PROTECTED]> wrote:
>
>
> >>> I am voraciously attempting to get a FreeBSD system to boot from
> >>> a GELI encrypted hard disk, but am having problems.
> >>
> >> You don't need to encrypt the whole harddisk. You can encrypt
> >> separate slices. There is no need to encrypt stuff like / or /usr;
> >> what is there that needs to be kept secret?
> >
> > Maybe not encryption, but integrity protection is very important for
> > laptops. GELI supports integrity protection for a while now. If you
> > don't protect integrity of your entire laptop disk, it is trivial to
> > trojan userland utilities and/or kernel and steal your password. If
> > someone needs your data, he can dump encrypted partition, trojan your
> >  system and once you connect to the internet and attach your
> > encrypted partition, the trojan will send the password to the
> > attacker. Many people often leave their laptops in hotels rooms, for
> > example.
>
> I don't quite grasp in what level you are using the term 'integrity'
> here.
>
> My knowledge of encryption at the storage level is limited at best...
> I'm just finding out all the finer points (temp directories, swap
> etc).
>
> However, I'll throw out what I wanted, what I have and then a question:
>
> Want:
>
> - a FreeBSD system that runs from a fully encrypted disk with
> passphrase and an encryption key on a removable thumb disk that can be
> removed so that upon reboot, can not be started
>
> Have:
>
> - a FreeBSD system that runs from a fully encrypted disk with NO
> passphrase (due to known, seemingly unsolved keyboard interaction
> problems) that boots from a thumb drive that has an encryption key so
> that when rebooted, does not boot (thumb drive can be removed once
> boot procedure complete))
>
> Question:
>
> - if the disk (PC) is stolen, having the entire disk encrypted so no
> one can even tell what OS is on it, does it make it secure to the
> point that no one will know what to look for anyway (eg: what is in
> /usr)? If someone does not know the OS, then it makes it more
> difficult to know what string or text attacks to perform, right? (I'm
> not trying to start a security via obscurity/bikeshed war, I seriously
> wouldn't mind opinion).
>
> I think it's fantastic. I'm not a disk forensic specialist, but it's
> good enough for what I want. Again...thanks to everyone who worked on
> the GEOM infrastructure.
>
> Performance is adequate in my benches so far for what I need, so long
> as one has adequate memory as to not have to run a disk-based swap
> space.
>
> Steve
>

Even if all data on a drive is encrypted, the partition table is not.
Software based disk encryption works on partitions.

How far into the boot sequence do you get before your system crashes without
the key present?
I would assume as far as reading the / partition to get the kernel etc...

It would have read the partition table and the boot loader, known which
partition was the "active" partition and tried booting it.

Now, to identify what OS this disk has on it you can check the partition
table and see what "type" has been set for each slice/partition.
You will be able to see that there is a BSD style slice on the disk just by
running `fdisk /dev/mystolendiskdevice`
You now know it's a BSD OS, you could then make a guess as to what version
of BSD by the type of machine it was taken from, based on what hardware is
supported by each BSD.

I believe their slices and layout are identical but the file systems differ.

The person with your disk could then start trying to determine what kind of
disk encryption is in place.

So, a disk drive (I believe Seagate ship them now) that has an encryption
chip built in to do hardware encryption regardless of software in use would
be an excellent measure.
On top of that add your GELI.

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Noah



Martin Hepworth wrote:

what have you tried and what errors do you get?



Martin


thanks for responding.  here are the errors I am receiving when I am 
attempting to update things.



sudo perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)' 
[~]

Password:
Sorry, try again.
Password:
Cannot load ExtUtils::MakeMaker: Can't locate ExtUtils/MakeMaker.pm in 
@INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8/mach 
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at (eval 
4) line 1.
BEGIN failed--compilation aborted at 
/usr/local/lib/perl5/5.8.8/BSDPAN/ExtUtils/MakeMaker.pm line 17.

Compilation failed in require at /usr/local/lib/perl5/5.8.8/CPAN.pm line 16.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/CPAN.pm 
line 16.

Compilation failed in require.
BEGIN failed--compilation aborted.





--
martin

On 10/24/07, *Noah* <[EMAIL PROTECTED]  > wrote:

Hi there,

I am looking around for a really simple way to install CPAN on FreeBSD.
  I keep running into errors in one variation or another.

Anybody have a good page to send me to?

Cheers,

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



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


Re: Writing Flash Driver

2007-10-24 Thread icantthinkofone

Heiko Wundram (Beenic) wrote:

Am Mittwoch, 24. Oktober 2007 14:47:56 schrieb icantthinkofone:
  

Does that in any way answer the question?



Yes, because gnash is an open-source (re)implementation of Flash Player, 
compatible with a large part of the Flash7 specification, so that you don't 
need Adobe's player to play Flash format multimedia files. Did you actually 
check out (i.e., visit _and_ read) the gnash website, if you're asking this?


By the way, this has nothing to do with drivers; Flash is a data-container 
format, which requires a program (knowing the specification, which is 
sort-of-open, with the emphasis lying on "sort-of," not "open," for Flash) to 
interpret, not a device. The word "driver" is reserved for software providing 
access to the latter (at least in my vocabulary), or at least something 
happening in kernel-space.


  
Thank you for that. 
Many have a problem trying to get Flash to play in their browser.  Flash 
worked for me in Firefox until the latest xorg upgrades, as many have 
also complained about.  You are right, and I should know better, that 
I'm not looking for "drivers" but trying to find out what would be 
needed to create a reliable interface to Adobe's flash player. 

I'm aware of gnash but have heard it doesn't play all flash files.  This 
may be not all the information to do so has been found yet and, maybe, 
as you stated, it would be better/easier to contribute to the gnash 
project instead.

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


Re: Via C7 Processor (CPU) - cpufreq and make.conf support

2007-10-24 Thread Ross Penner
On 10/24/07, Erik Cederstrand <[EMAIL PROTECTED]> wrote:
>
> Ross Penner wrote:
> > Hi all, I have a few questions about my Via C7 processor. In
> > examples/make.conf there is an option for the CPUTYPE. It indicates
> > that only the C3 and the C3-2 chips are supported. Does the C7 chip
> > have support that I don't know of? If not, will it? Otherwise, will
> > specifying the chipset as C3 help or hinder my environment?
>
> I know this is not an answer, but why not just upgrade to 7.0 if you
> need the C7 support?

 I probably will. I just thought I'd try and see if I could stay on stable
first.

> My second question is in regards to the CPU frequency control. I've
> > seen that the C7 gets support for cpufreq in 7 current, but I'm
> > running 6. Without support in cpufreq, what speed would my processor
> > be running at? I've always thought my performance has been lackluster
> > so I suspect it's running at the lower clock speed.
>
> If cpufreq/powerd is not active, your processor is running full-speed.
> You can check this with "sysctl dev.cpu.0.freq" if it's available on
> your system.

sounds reasonable. unfortunetly, 'sysctl dev.cpu.0.freq' doesn't seem to
work on my system. heh, it'd probably work if I upgrade to 7.0

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


Re: USB->Serial adapter, how to make /dev/cuad* appear?

2007-10-24 Thread Roland Smith
On Wed, Oct 24, 2007 at 05:23:48PM +0200, Benjamin Lutz wrote:
> On 2007-10-24 17:15, Roland Smith wrote:
> > On Wed, Oct 24, 2007 at 09:26:20AM +0200, Benjamin Lutz wrote:
> > > > Does the onboard serial port work via USB? How odd! On my standard PC,
> > > > the serial ports are driven by the sio driver, and have /dev/cuad* and
> > > > /dev/ttyd* devices, noc cuaU. 
> > > 
> > > No, that one's a standard serial port, driven by sio as well, and
> > > creates /dev/cuad0, /dev/cuaU0, maybe some /dev/tty* as well, I don't 
> > > know.
> > 
> > How do you know that cuaU0 belongs to the sio driver? It should belong
> > to ucom.
> > 
> > According to the manual, sio(4) devices only create ttyd and cuad devices.
> 
> I'm guessing based on its timestamp pointing to the last system boot,
> when the USB adapter wasn't connected, based on the device persisting
> when I unplug the USB adapter.

Is ucom loaded as a module? If so, try unloading and re-loading it and uplcom.

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)


pgp9tLW0SulGe.pgp
Description: PGP signature


Re: rename file based on file's timestamp

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 10:45:08PM +1000, andrew clarke wrote:

> Hi,
> 
> Hopefully, a simple request...
> 
> I have a series of files in a directory:
> 
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 209.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 212.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 213.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 214.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 215.mp3
> 
> etc.
> 
> Now I want to rename these so the new filenames are based on the file's
> timestamp, like so:
> 
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 2006-07-28.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 2006-07-31.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 2006-08-01.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 2006-08-02.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 2006-08-03.mp3
> 
> I can write some Python code to do this, but maybe there is another way,
> perhaps using a shell script.  Any thoughts?

A script is a script whether it is in Python, Perl or one of the common
shells.   Use what works for you.  I'd use Perl, but I am already
somewhat familiar with Perl.

jerry

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


Re: USB->Serial adapter, how to make /dev/cuad* appear?

2007-10-24 Thread Benjamin Lutz
On 2007-10-24 17:15, Roland Smith wrote:
> On Wed, Oct 24, 2007 at 09:26:20AM +0200, Benjamin Lutz wrote:
> > > Does the onboard serial port work via USB? How odd! On my standard PC,
> > > the serial ports are driven by the sio driver, and have /dev/cuad* and
> > > /dev/ttyd* devices, noc cuaU. 
> > 
> > No, that one's a standard serial port, driven by sio as well, and
> > creates /dev/cuad0, /dev/cuaU0, maybe some /dev/tty* as well, I don't know.
> 
> How do you know that cuaU0 belongs to the sio driver? It should belong
> to ucom.
> 
> According to the manual, sio(4) devices only create ttyd and cuad devices.

I'm guessing based on its timestamp pointing to the last system boot,
when the USB adapter wasn't connected, based on the device persisting
when I unplug the USB adapter.

Cheers
Benjamin


pgpUzEzgy1i5J.pgp
Description: PGP signature


if_bridge, if_tap and wireless NICs

2007-10-24 Thread Doug Poland

Hello,

I've finally gotten emulators/qemu to work with bridge/tap networking on 
 FreeBSD-7.0-BETA1 i386 using bfe0:  
For reference, I used the tutorial listed at: 
http://forums.bsdnexus.com/viewtopic.php?id=1563


My issue is, however, that QEMU/bridge/tap does not work with my 
wireless NIC (ath0: )


The question, is there a work-around for this issue?  My first thought 
was to bridge the loopback device.  I tried adding the loopback device 
lo0 to the bridge (ifconfig bridge0 addm lo0 up) but that failed with an 
error (ifconfig: BRDGADD lo0: Invalid argument).


Any help, pointers is much appreciated.


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


Re: the right next step?

2007-10-24 Thread Jerry McAllister
On Wed, Oct 24, 2007 at 07:43:37AM -0700, Aliya Harbouri wrote:

> Hi Bill!
> 
> > Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
> > During the freeze, you'll have difficulty getting any ports changes
> > through.
> 
> That's what I figured -- and why I've been trying to communicate about
> this for ~ a month already.
> 
> It's not really that *I* have an issue with a workaound -- *that* I
> can always do "locally".  But I've recommended FreeBSD ports be used
> "out of the box" for  installs around here.
> 
> I can understand non-functional / troublesome ports for some obscure
> packages, but a working apache22 + bdb46 combo seemed a rather "basic"
> and not-unreasonable expectation.
> 
> My own fault for *making* the recommendation, I know.

I am not sure I understand all of what is being said or implied here.
Ports is the recommended way of doing installs of third party stuff.

It also sounds like there is some misunderstanding on the term ports freeze.
What happens is that for a period before a new release comes out, all
ports and other things are 'frozen' so that everything can be built
and tested against the version of things about to be released.   If
changes keep being applied during that time, then there would never be
a verifiable release that things could be built against.   As soon as
the tests pass and the version is released, and some housekeeping taken
care of, the ports and the rest of things will be unfrozen and changes
again begun to be applied.

The release engineering team extablishes the freeze in order to create
the final builds and tests for a release.  It is not the ports maintainer
who creates the freeze.   The freeze is temporary.

jerry

> 
> I'll keep trying to get somone to look at this.
> 
> Thanks a lot!
> 
> Ali
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Live video streaming on FreeBSD?

2007-10-24 Thread Nikos Vassiliadis
On Wednesday 24 October 2007 17:44:13 Brian A. Seklecki wrote:
> Well, no, its just that the 99% of the managed switches & routers out
> there are going to ("need to") support multicast video delivery
> they way they want.

I guess there are many possible solutions. YMMV. Many solutions
to many different problems. For example, you can keep multicast
to the edge of your network, near the clients. YMMV.

My point is, we don't have to advocate Cisco and proprietary
software here, right? In fact, we don't have to advocate
anything.

Let's let this conversation go. It's irrelevant to this list.

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


Re: cups-base woes

2007-10-24 Thread Brian A Seklecki (Mobile)
On Fri, 2007-10-05 at 19:21 -0400, E. J. Cerejo wrote:
> I've been trying to portupgrade cups-base for a week now, every time I 
> cvsup my ports I get a different error message, now this is the latest 
> one.  Any ideas on how to fix this or can someone direct me to the this 
> package so I don't have to build it?
> 
> 
> /usr/local/include/php/TSRM/tsrm_virtual_cwd.h:202: warning: declaration 

Is your PHP install from src or Ports?

~BAS

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


Re: resizing partitions

2007-10-24 Thread Jerry McAllister
On Tue, Oct 23, 2007 at 12:15:03PM -0600, Chad Perrin wrote:

> I have need to alter some partition sizes on a (laptop) system I use
> daily, with FreeBSD 6.2-RELEASE installed.  Are there tools you'd
> recommend for this, that should be stable and not prone to hosing up my
> filesystems?  In particular, I probably don't need to shrink any
> partitions -- only grow them -- but I'm not sure how I want to handle
> this at this time.  I worry a bit about using some Linux LiveCD's
> partition management tools on a FreeBSD system.  Any advice would be
> appreciated.

First, is there a strong reason that you must change the partition sizes?
Could you not instead just move some directories and make soft links
(Symbolic Links) from the old location to the new?   This can solve
most issues with much less hassle.

Second, are you for sure meaning partition and not slice in FreeBSD
terms?   If you mean slices, then there is no reasonable way other
than to back things up - using dump - and rebuild things and then
restore data.

If you mean FreeBSD partitions, then it is possible you could use
a utility called growfs.  But, it requires adjacent space to grow
in to.  You would have to free space in the partition that is next
higher in address space.   That would mean also backing that partition
up and blowing it away, growing the lower partition and creating the
higher one anew.Given all that trouble - and room for error, it
might be easier just to back up each partition/file system with a
reliable dump (check it before nuking things) and then rebuilding
the file systems from scratch using the fixit CD and then restoring
each file system.

If you are referring to FreeBSD partitions (and not MS partitions which
FreeBSD calls slices), then after making dumps of each file system (except
/tmp - don't bother with it)  you boot the install CD, select the fixit
shell, use disklabel to remake partitions and newfs to build the
file systems.  Make temporary mount pointss (which really exist in a 
memory file system, but you don't care about that) in the fixit's root 
and then cd in to each and restore the appropriate dump in to it with
a  'restore -rf '  Since you would, in this case be restoring a root
that you were already using, if you do not change the number and names
of partitions/file systems - just sizes, such things as /etc/fstab 
and rc.conf, etc would already be there and set up as you need them, so 
just reboot when all the restores are done.   If you change any of the 
partitions so that mount information needs to be redone, then you will 
want to go to that /etc/fstab in the temporarily mounted restored root
file system and modify it to suit the new situation.  Then reboot.

I think that if moving a directory and creating a symlink, as in my first
comment above, will not do the trick for you, then doing the complete dump 
and rebuild of partitions/file systems is a better bet that growfs.  Growfs 
is really more suitable for those situations where a person left a large 
glob of space un the slice unallocated in any partition, thinking another 
use was to be put to it later but now wants to incorporate that glob in 
to the partition next to it.   It is not really designed for moving stuff 
around in the middle of things.   But you can try it.

Third, Anyway, don't try using LINUX tools to manipulate 
the FreeBSD partitions.   There is too much difference.

jerry

> 
> -- 
> CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
> John W. Russell: "People point. Sometimes that's just easier. They also use
> words. Sometimes that's just easier. For the same reasons that pointing has
> not made words obsolete, there will always be command lines."
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it difficult to move from Linux?

2007-10-24 Thread Charlie Farinella
> On 2007-10-22 Donovan R. Palmer wrote:
> > Hi,
> > 
> > I have been using Linux for over 10 years, but have for a number of
> > reasons become very interested in learning to use FreeBSD. Are there
> > any ex or current Linux users here and could you tell me how hard it
> > is to make the shift from Linux?  Is there anything in particular
> > which has been written which would be useful to read?

I have been a Linux user for a long time, but over the last year or so 
have been using either Open or Free BSD for all the servers I have to 
set up.  It's just so much cleaner.  

I'm still using Linux (Kubuntu, or Slackware) for my desktop machines, 
and am wondering if FreeBSD is an option for the desktop.  I need to 
run Audacity for instance, and would like to be able to view 
audio-video content on the web.  Has that been difficult for people to 
set up? 

-- 

Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

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


webconference softwares ?

2007-10-24 Thread Frank Bonnet

Hello

Anyone knows if such softwares ( webconference / webminars ) are
availables in open source software world ?

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


Re: USB->Serial adapter, how to make /dev/cuad* appear?

2007-10-24 Thread Roland Smith
On Wed, Oct 24, 2007 at 09:26:20AM +0200, Benjamin Lutz wrote:
> > Does the onboard serial port work via USB? How odd! On my standard PC,
> > the serial ports are driven by the sio driver, and have /dev/cuad* and
> > /dev/ttyd* devices, noc cuaU. 
> 
> No, that one's a standard serial port, driven by sio as well, and
> creates /dev/cuad0, /dev/cuaU0, maybe some /dev/tty* as well, I don't know.

How do you know that cuaU0 belongs to the sio driver? It should belong
to ucom.

According to the manual, sio(4) devices only create ttyd and cuad devices.

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)


pgphtsum9H1Mv.pgp
Description: PGP signature


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Aliya Harbouri
Hi everybody!

> I'm not a very heavy perl user, but I've never *needed* to install CPAN on
> FreeBSD. A little creative searching has revealed that most perl packages
> are part of the FreeBSD Ports collection.
>
> If you use more obscure CPAN packages, I can see there might be a need to
> install CPAN, but try ports first.

I'll just add my 2-cents.

I've had repeated 'issues' with port-installed BSDPAN perl modules.
Those have been the usual: lagging versions, source bugs, dependency
conflicts with modules installed that are unavailable of problematic
via BSDPAN, etc etc.

I've found, in those cases, that communicating with the
Port-maintainer has not always been 'fruitful', and, communicating
with the perl mod author usually results in "that's a freebsd port
problem".

So, I currently use the Perl 588 *port*.  Then I install CPANPLUS and
remove all traces of BSDPAN-installed modules, replacing them with
CPANPLUS-installed modules.

A little bit of work, but, once done, I've had very few problems, and
*much* better responsiveness from perl module authors in actually
fixing problems.  And, the folks on the perl lists/channels are much
more willing/able to answer/solve problems.

Also, around here, I've got many different platforms to deal with.
Perl+CPANPLUS is platform agnostic -- it looks-n-feels the same.  Just
easier for my brain to grok than yet-another "way" -- ala BSDPAN.

Like I said, just my 2-cents.

HTH!

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread James A. Harrison
> Gerard wrote:
>> On October 24, 2007 at 01:44AM Noah wrote:
>>
>>
>>> I am looking around for a really simple way to install CPAN on FreeBSD.
>>> I keep running into errors in one variation or another.
>>

I'm not a very heavy perl user, but I've never *needed* to install CPAN on
FreeBSD. A little creative searching has revealed that most perl packages
are part of the FreeBSD Ports collection.

If you use more obscure CPAN packages, I can see there might be a need to
install CPAN, but try ports first.

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


Re: how can i install gnome2 through console

2007-10-24 Thread James A. Harrison
> On Wed, 2007-10-24 at 23:06 +0900, Byung-Hee HWANG wrote:
>> On Wed, 2007-10-24 at 12:30 +0200, Ananias Uushona wrote:
>> > I was installing gnome2 through x interface but I realize that its
>> very hard
>> > especially to beginners but I got it right is that I did n't have the
>> > hardware names and specifications right now I want to do it
>> automatically so
>> > it can detect the automatically so where do I begin to install it
>> through
>> > console should I remove xorg packages or what first
>>
>> Please use pkg_add/pkg_delete instead of ports. It's very easy. That's
>> all the way I install/remove gnome2. Of course it works through console.
>
> Ananias,
>
> For install, at the command prompt type this command as root:
>
> pkg_add -v -r gnome2-lite
>



However! There is a caveat here.

I'd say, sure, use pkg_add at first, because it's simple. However, bear in
mind that ports exist. And also bear in mind that you cannot mix packages
and ports, unless you want an inconsistent system.

Ports are well worth learning. I remember when I started using them, they
were confusing. But after I got used to them, I never, ever used/use
anything other than ports. They start making sense after a while ;)


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


Re: Live video streaming on FreeBSD?

2007-10-24 Thread Brian A. Seklecki
On Wed, 24 Oct 2007 17:35:34 +0300
Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:

> On Wednesday 24 October 2007 17:03:57 Brian A. Seklecki wrote:
> > > /usr/ports/multimedia/mencoder can encode/recode videos to many
> > > differen

Well, no, its just that the 99% of the managed switches & routers out
there are going to ("need to") support multicast video delivery
they way they want.

~BAS



IMPORTANT: This message contains confidential information and is intended only 
for the individual named. If the reader of this message is not an intended 
recipient (or the individual responsible for the delivery of this message to an 
intended recipient), please be advised that any re-use, dissemination, 
distribution or copying of this message is prohibited.  Please notify the 
sender immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system.


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


Re: the right next step?

2007-10-24 Thread Aliya Harbouri
Hi Bill!

> Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
> During the freeze, you'll have difficulty getting any ports changes
> through.

That's what I figured -- and why I've been trying to communicate about
this for ~ a month already.

It's not really that *I* have an issue with a workaound -- *that* I
can always do "locally".  But I've recommended FreeBSD ports be used
"out of the box" for  installs around here.

I can understand non-functional / troublesome ports for some obscure
packages, but a working apache22 + bdb46 combo seemed a rather "basic"
and not-unreasonable expectation.

My own fault for *making* the recommendation, I know.

I'll keep trying to get somone to look at this.

Thanks a lot!

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


Re: the right next step?

2007-10-24 Thread Aliya Harbouri
Hi John!

> Does your PR include a fix?

Well, I've sent my suggestion to the maintainer -- I don't know if
it's the *right* fix for the general port.  But, it works for me as a
workaround.

For what it's worth, in this particular case, I've simply asked that
the www/apache22 port be made compatible with (aware of?) the now
standard, port-installed Berkeley DB version 4.6.

> If it does, make some noise about it on the freebsd-ports mailing list and
> include the PR number and the fact that you've not heard back from the
> maintainer.

Ok, Thanks.

> If it doesn't, you might still want to bring it up on -ports, but getting it
> fixed depends on someone volunteering to take ownership of the problem (if
> not outright maintainership of the port).

Well, I guess I'll just have to see.

Seems to me that apache22 + bdb46, both being in the ports tree and
both being rather 'popular', that *someone* else would be interested
as well.  But, apparently, not (yet).

Thanks a lot!

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


Re: Live video streaming on FreeBSD?

2007-10-24 Thread Nikos Vassiliadis
On Wednesday 24 October 2007 17:03:57 Brian A. Seklecki wrote:
> > /usr/ports/multimedia/mencoder can encode/recode videos to many
> > different formats, including wmv9 and H.264.
> >
> > /usr/ports/multimedia/vlc contains a streaming server, IIRC.
>
> Do any of these support multicast?  Cisco is pushing this big time with
> AVVID.

vlc supports multicast. Cisco has a marketing department and maybe
according to them multicast would be the "new hot stuff".

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


Re: rename file based on file's timestamp

2007-10-24 Thread Pietro Cerutti
Heiko Wundram (Beenic) wrote:
> Am Mittwoch, 24. Oktober 2007 14:45:08 schrieb andrew clarke:
>> Now I want to rename these so the new filenames are based on the file's
>> timestamp, like so:
>>
>> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 2006-07-28.mp3
>> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 2006-07-31.mp3
>> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 2006-08-01.mp3
>> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 2006-08-02.mp3
>> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 2006-08-03.mp3
>>
>> I can write some Python code to do this, but maybe there is another way,
>> perhaps using a shell script.  Any thoughts?
> 
> Simple bash script to do this (untested):
> 
> for i in $*
> do
>   mv $i `stat -f %Sm -t %Y-%m-%d`.mp3
> done

just pay attention at the situation when two files have the same timestamp..

> 
> HTH!
> 


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: how can i install gnome2 through console

2007-10-24 Thread Byung-Hee HWANG
On Wed, 2007-10-24 at 23:06 +0900, Byung-Hee HWANG wrote:
> On Wed, 2007-10-24 at 12:30 +0200, Ananias Uushona wrote:
> > I was installing gnome2 through x interface but I realize that its very hard
> > especially to beginners but I got it right is that I did n't have the
> > hardware names and specifications right now I want to do it automatically so
> > it can detect the automatically so where do I begin to install it through
> > console should I remove xorg packages or what first
> 
> Please use pkg_add/pkg_delete instead of ports. It's very easy. That's
> all the way I install/remove gnome2. Of course it works through console.

Ananias, 

For install, at the command prompt type this command as root: 

pkg_add -v -r gnome2-lite

If you encounter strange problems, then send email again to
freebsd-questions@freebsd.org ;;

-- 
Byung-Hee HWANG * InZealBomb 
"They shot him five times. But he's though."
-- Santino Corleone, "Chapter 2", page 79
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Q: general LaTeX mailing list

2007-10-24 Thread Byung-Hee HWANG
On Tue, 2007-10-23 at 17:03 +0300, Giorgos Keramidas wrote:
> On 2007-10-23 12:43, Byung-Hee HWANG <[EMAIL PROTECTED]> wrote:
> > Hi there,
> >
> > Who knows a good general LaTeX mailing list? Ah yes, here is also good
> > mailing list for the question. However, I want to give specific and
> > professional advice about LaTeX. Unfortunately, Google disappointed my
> > desire ;;
> 
> If you don't have a dislike for newsgroups, then ``news:comp.text.tex''
> is a pretty good choice.

Okay I'll check that newsgroup, thanks!

-- 
Byung-Hee HWANG * InZealBomb 
"Perhaps your grandchildren will become the new PEZZONOVANTI."
-- Vito Corleone, "Chapter 20", page 290
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Q: general LaTeX mailing list

2007-10-24 Thread Byung-Hee HWANG
On Tue, 2007-10-23 at 17:45 +0200, Roland Smith wrote:
> On Tue, Oct 23, 2007 at 12:43:28PM +0900, Byung-Hee HWANG wrote:
> > Hi there,
> > 
> > Who knows a good general LaTeX mailing list? Ah yes, here is also good
> > mailing list for the question. However, I want to give specific and
> > professional advice about LaTeX. Unfortunately, Google disappointed my
> > desire ;;
> 
> Most local TeX User Groups have mailing-lists populated with knowledgeable
> people. See e.g. http://www.ktug.or.kr/
> 
> There is also a good TeX related group on Usenet; comp.text.tex.
> 
> There are also people who do consulting for (La)TeX;
> http://www.tug.org/consultants.html

Good! You know my local, Korea. Thanks for good guidance!

-- 
Byung-Hee HWANG * InZealBomb 
"Get that man out here to me."
-- Michael Corleone, "Chapter 23", page 334
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Live video streaming on FreeBSD?

2007-10-24 Thread Brian A. Seklecki

> /usr/ports/multimedia/mencoder can encode/recode videos to many
> different formats, including wmv9 and H.264.
> 
> /usr/ports/multimedia/vlc contains a streaming server, IIRC.

Do any of these support multicast?  Cisco is pushing this big time with
AVVID.
-- 
Brian A. Seklecki <[EMAIL PROTECTED]>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Writing Flash Driver

2007-10-24 Thread Benjamin M. A'Lee
On Wed, Oct 24, 2007 at 07:47:56AM -0500, icantthinkofone wrote:
> Svein Halvor Halvorsen wrote:
>> icantthinkofone wrote:
>>   
>>> My naive question is, what is involved with creating an open source 
>>> driver for flash for freebsd?  Is it a legal issue?  Or does it take more 
>>> time than anyone has to give?  Or is it just too difficult to do without 
>>> help from Adobe?
>>> 
>> 
>> http://www.gnu.org/software/gnash/
>> 
>> It can even play youtube.
>>   
> Does that in any way answer the question?

Yes. Obviously it's not a legal issue, as it's been done. Likewise,
it's not so difficult as to require help from Adobe, as it's been
done without such help.

As I understand it, it's mostly a case of time and effort - working
through as many different Flash files as possible, working out what
they're doing, and implementing the support for it.

-- 
Benjamin A'Lee <[EMAIL PROTECTED]>
http://subvert.org.uk/~bma/
"I believe in equality for everyone, except reporters and
photographers." - Mahatma Gandhi


pgpA0ukKl8EB2.pgp
Description: PGP signature


Re: multiple postgresql servers in multiple jails?

2007-10-24 Thread Oliver Peter
On Tue, Oct 23, 2007 at 10:06:08PM +0200, Oliver Fromme wrote:
> Oliver Peter wrote:
>  > Does anybody have a running system with more than one jail hosting
>  > more than one postgres server?
> 
> Yes, you must configure them to use different port numbers,
> because the SysV IPC IDs are derived from the port number.
> If you try to run both servers with the default port, you'll
> get a conflict.  Configure different port numbers, and it
> will work.

Thanks for that hint.  After changing the port numbers for each
instance to a different one, it works - but only at first glance.
After making some test creates and inserts to all servers at the same
time I receive the 'out of memory' messages again...
Different UIDs, different ports, same error.

> By the way, the PostgreSQL developers do _not_ recommend to
> run multiple servers on the same machine, because of bad
> efficiency.  It is much better (performance-wise) to run
> all databases within the same server engine.  PostgreSQL
> has all the authentication and permission features you need
> to separate multiple databases within a single server, so
> there is really no need to use multiple jails.

Of course I understand that.  But I would like to setup a test server
in a different jail beside my production jail/pgsql-server to be sure
not to crash my production server.
Performance does not matter (at this time in this specific case of
course!).

> I have these on a machine with a single PostgreSQL server,
> as per recommendations of the developers:
> 
> options SHMMAXPGS=65536
> options SEMMAP=1024
> options SEMMNI=64
> options SEMMNS=1024
> options SEMUME=64
> options SEMMNU=128

Is this a good recommendation for a machine with only 1GB of RAM?

-- 
Oliver PETER, eMail: [EMAIL PROTECTED], ICQ# 113969174
"Worker bees can leave.  Even drones can fly away.
 The Queen is their slave."


pgpn9ie4anGY4.pgp
Description: PGP signature


OpenSSL Upgrades from ports.

2007-10-24 Thread Grant Peel

Hi all,

I need to upgrade (FreeBSD 6.2) OpenSSL due to some security concerns.

I would like to do so from ports.

If anyone cares to give me a simple how to I would be greatful.

make deinstall
make install clean

???

Are the any 'gotchas' upgrading OpenSSL I should watch for?

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


Re: best way to run vista inside freebsd

2007-10-24 Thread John Nielsen

Quoting Francisco Reyes <[EMAIL PROTECTED]>:


Frank Jahnke writes:


VMs in general are a problem on Free.  There is an effort to port the
most recent VMware Workstation by a very good man.


VMware employee?


No, Orlando Bassotto, who is the programmer who did much of the work 
for the original VMware Workstation 3 port and kernel modules for 
FreeBSD. If I understand it correctly, he picked up where Vladimir 
Silyaev left off after porting 2. Orlando also did quite a bit of work 
on a Workstation 4 port for FreeBSD that reached at least alpha quality.


Rsync.net code bounties and current status:
http://www.rsync.net/resources/notices/2007cb.html

Orlando's home page (currently blank):
http://www.break.net/orlando/

JN

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


Re: Writing Flash Driver

2007-10-24 Thread Heiko Wundram (Beenic)
Am Mittwoch, 24. Oktober 2007 14:47:56 schrieb icantthinkofone:
> Does that in any way answer the question?

Yes, because gnash is an open-source (re)implementation of Flash Player, 
compatible with a large part of the Flash7 specification, so that you don't 
need Adobe's player to play Flash format multimedia files. Did you actually 
check out (i.e., visit _and_ read) the gnash website, if you're asking this?

By the way, this has nothing to do with drivers; Flash is a data-container 
format, which requires a program (knowing the specification, which is 
sort-of-open, with the emphasis lying on "sort-of," not "open," for Flash) to 
interpret, not a device. The word "driver" is reserved for software providing 
access to the latter (at least in my vocabulary), or at least something 
happening in kernel-space.

-- 
Heiko Wundram
Product & Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Low-cost online disk backup solution on FreeBSD. Hardware/Software recomendations?

2007-10-24 Thread Bill Moran
In response to Victor Meirans <[EMAIL PROTECTED]>:

> Good day,
> 
> I need an advice. What hardware/software would you recommend for online 
> disk backup server solution on FreeBSD?
> 99% of clients will be Windows XP/Vista users and the main requirement 
> is low cost solution meaning that the client license should be free 
> (GPL?) or low-priced compared to Tivoli or other vendors.
> 
> I was looking at BoxBackup as a software and gonna test it pretty soon, 
> I like the encription feature. Any sucess stories with it? Pros/Cons? Or 
> other recomendations?

Investigate both Bacula and BackupPC.  Both might suit your needs,
depending on the exact details of your needs.

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


Re: rename file based on file's timestamp

2007-10-24 Thread Heiko Wundram (Beenic)
Am Mittwoch, 24. Oktober 2007 14:45:08 schrieb andrew clarke:
> Now I want to rename these so the new filenames are based on the file's
> timestamp, like so:
>
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 2006-07-28.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 2006-07-31.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 2006-08-01.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 2006-08-02.mp3
> -rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 2006-08-03.mp3
>
> I can write some Python code to do this, but maybe there is another way,
> perhaps using a shell script.  Any thoughts?

Simple bash script to do this (untested):

for i in $*
do
mv $i `stat -f %Sm -t %Y-%m-%d`.mp3
done

HTH!

-- 
Heiko Wundram
Product & Application Development
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Writing Flash Driver

2007-10-24 Thread icantthinkofone

Svein Halvor Halvorsen wrote:

icantthinkofone wrote:
  
My naive question is, what is involved with creating an open source 
driver for flash for freebsd?  Is it a legal issue?  Or does it take 
more time than anyone has to give?  Or is it just too difficult to do 
without help from Adobe?



http://www.gnu.org/software/gnash/

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

  

Does that in any way answer the question?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Low-cost online disk backup solution on FreeBSD. Hardware/Software recomendations?

2007-10-24 Thread Victor Meirans

Good day,

I need an advice. What hardware/software would you recommend for online 
disk backup server solution on FreeBSD?
99% of clients will be Windows XP/Vista users and the main requirement 
is low cost solution meaning that the client license should be free 
(GPL?) or low-priced compared to Tivoli or other vendors.


I was looking at BoxBackup as a software and gonna test it pretty soon, 
I like the encription feature. Any sucess stories with it? Pros/Cons? Or 
other recomendations?


Hardware is a big question. Any experience with Intel storage systems 
and FreeBSD? Like this one: 
http://www.intel.com/design/servers/storage/ssr212mc2/index.htm

or
http://www.intel.com/design/servers/storage/ssr212pp/index.htm

Is this hardware supported? Any experience or other hardware recomendations?

Any help would be highly appreciated.

If this should be sent to some other list, please let me know.

Thanks in advance.

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


rename file based on file's timestamp

2007-10-24 Thread andrew clarke
Hi,

Hopefully, a simple request...

I have a series of files in a directory:

-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 209.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 212.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 213.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 214.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 215.mp3

etc.

Now I want to rename these so the new filenames are based on the file's
timestamp, like so:

-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 28  2006 2006-07-28.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Jul 31  2006 2006-07-31.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  1  2006 2006-08-01.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  2  2006 2006-08-02.mp3
-rw-r--r--  1 ozzmosis  ozzmosis  115201253 Aug  3  2006 2006-08-03.mp3

I can write some Python code to do this, but maybe there is another way,
perhaps using a shell script.  Any thoughts?

Thanks,

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Vince
Gerard wrote:
> On October 24, 2007 at 01:44AM Noah wrote:
> 
> 
>> I am looking around for a really simple way to install CPAN on FreeBSD. 
>> I keep running into errors in one variation or another.
> 
I dont follow, CPAN.pm is installed as part of the perl port/package. Do
you mean the setup after you run perl -MCPAN -e 'shell' ?


> I thought CPAN was depreciated in favor of CPANPLUS. I have installed CPANPLUS
> from ports without any problems.
> 
> 
Well CPAN is part of the perl58 port while CPANPLUS is still an addon as
far as i can see. I tend to install my perl modules as ports anyway though.


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


Re: best way to run vista inside freebsd

2007-10-24 Thread Frank Jahnke

On Wed, 2007-10-24 at 00:47 -0400, Francisco Reyes wrote:
> Frank Jahnke writes:
> 
> > VMs in general are a problem on Free.  There is an effort to port the
> > most recent VMware Workstation by a very good man.
> 
> VMware employee?

No.  He is the fellow who did the VMware 3 port.

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


how can i install gnome2 through console

2007-10-24 Thread Ananias Uushona
I was installing gnome2 through x interface but I realize that its very hard
especially to beginners but I got it right is that I did n't have the
hardware names and specifications right now I want to do it automatically so
it can detect the automatically so where do I begin to install it through
console should I remove xorg packages or what first?

 

 

Please help

 

Ananias Uushona

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


Re: Mentor for C self study wanted

2007-10-24 Thread Giorgos Keramidas
On 2007-10-23 23:24, Harald Schmalzbauer <[EMAIL PROTECTED]> wrote:
> Thanks all,
> here was my example, just for completeness, I found mentors for my
> needs.

> #include 
>
> void main()
> {
>   short nnote;
>
>   // Numerischen Notenwert einlesen
>   printf("Bitte numerischen Schulnotenwert eingeben: ");
>   scanf("%d",&nnote);

You are passing "%d" to scanf() so it expects to find enough 'storage'
in its pointer argument for an 'int'.  If 'short' happens to have a
smaller size (as is commonly the case), scanf() will overwrite random
memory locations after 'nnote'.  On systems where 'nnote' is stored in
the stack (because it's an automatic/local variable of main()), you are
risking stack corruption (and a SEGFAULT *may* happen).

It's also a very good idea to check the return code of scanf():

int nnote;

if (scanf("%d", &nnote) != 1) {
error;
}

>   switch (nnote)
>   {
> case 1: printf("Die Note %d entspricht sehr gut.",nnote);
> break;
> case 2: printf("Die Note %d entspricht gut.",nnote);
> break;
> case 3: printf("Die Note %d entspricht befriedigend.",nnote);
> break;
> case 4: printf("Die Note %d entspricht ausreichend.",nnote);
> break;
> case 5: printf("Die Note %d entspricht mangelhaft.",nnote);
> break;
> case 6: printf("Die Note %d entspricht ungen?gend.",nnote);
> break;
> default: printf("%d ist keine zul?ssige Schulnote!");

There's no `int' argument to the printf() call of the default clause.

This will either cause printf() to print random garbage, or try to
access memory regions which are unmapped and SEGFAULT.

> P.S.:
> I found that declaring nnote as int soleves my problem, but I couldn?t
> understand why.
> Another one was the result of default: nnote was -1077942208 instead
> of 9 for example.

It was never assigned to 9 :)

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


Re: easiest way to install CPAN on FreeBSD

2007-10-24 Thread Gerard
On October 24, 2007 at 01:44AM Noah wrote:


> I am looking around for a really simple way to install CPAN on FreeBSD. 
> I keep running into errors in one variation or another.

I thought CPAN was depreciated in favor of CPANPLUS. I have installed CPANPLUS
from ports without any problems.


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


Re: 7.0 and 6.3

2007-10-24 Thread Vince
Kris Kennaway wrote:
> David J Brooks wrote:
>> Bill Moran wrote:
>>> Note also that a ports freeze is starting soon for 7.0 and 6.3 release.
>>
>> What are the differences between 6.3 and 7.0? Which should be
>> considered the standard upgrade path from 6.2 release? Is there a
>> compelling reason to upgrade to one over the other?
> 
> 7.0 is the recommended choice; 6.3 is only for people who cannot update
> to the new branch yet.
> 
> http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf
> 

Great presentation! Is this linked to from anywhere on the FreeBSD site
or the wiki? It definitely deserves more widespread distribution.

Vince

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

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


  1   2   >