Re: Problem in checking machine architecture

2008-07-19 Thread Tim Judd

Eitan Shefi wrote:

I have a host with FreeBSD 7.0-RELEASE (64 bit) installed.
How do I check the host's architecture ?
 
When I run: uname -m

the output is: amd64
 
When I run: sysctl -a | less

and search for: CPU
I see that:
hw.model: Intel(R) Xeon(R) CPU5140  @ 2.33GHz
...
hw.machine_arch: amd64
 
So, is this host's architecture is:

Intel or AMD
 
I'm confused about it.

Can someone help ?
 
 
Thanks,

Eitan
 
___

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

Just like AMD made i686 processors.  What's the I stand for?

Intel came out with the 8086-686 class processors first, and AMD picked 
up that architecture.  AMD came out with 64-bit architecture first so 
the platform is commonly referred to as amd64.


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


Re: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread Tim Judd

Manolis Kiagias wrote:

Mark Boolootian wrote:

Hi folks,

I've done a couple of fresh installs on 7.0-RELEASE today, and
subsequently run freebsd-update.  freebsd-update reports:

  The following files will be updated as part of updating to 
7.0-RELEASE-p3:

  /boot/kernel/kernel
  /boot/kernel/kernel.symbols
  /usr/bin/dig
  /usr/bin/host
  /usr/bin/nslookup
  /usr/bin/nsupdate
  /usr/include/netinet/tcp.h
  /usr/lib/libssh.a
  /usr/lib/libssh.so.4
  /usr/lib/libssh_p.a
  /usr/sbin/dnssec-signzone
  /usr/sbin/lwresd
  /usr/sbin/named
  /usr/sbin/named-checkconf
  /usr/sbin/named-checkzone
  /usr/sbin/named-compilezone
  /usr/sbin/sshd
  /usr/src/sys/conf/newvers.sh
  /usr/src/sys/netinet/tcp.h
  /usr/src/sys/netinet/tcp_output.c

which leads me to conclude I've got -p3, including the BIND update.
However 'uname -a' says something else:

FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed 
Jun 18 07:33:20 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


And although /usr/sbin/named has been updated, it appears not to have
been upgraded:

$ /usr/sbin/named -v
BIND 9.4.2

Thoughts?

  


You've got p3, don't worry. There was no kernel update in p3, hence 
you got the p2 GENERIC kernel. If you want uname to actually show p3, 
you will have to recompile your kernel,  using something like this 
(assuming you got the kernel sources installed and intend to keep 
using GENERIC):


cd /usr/src
make buildkernel installkernel KERNCONF=GENERIC
and then reboot

However the only difference will be in the -p number, nothing else so 
you don't have to do it.


FWIW, the /usr/src/sys/conf/newvers.sh contains the -p number you see 
in uname, and this changes everytime freebsd-update fetches updates - 
whether they include kernel updates or not.  Some people (especially 
those responsible for large number of machines) will recompile the 
kernel anyway, so they can easily see their patchlevel using uname.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Another way I'm TRYING to get into the habit of doing, to find the 
patches applied to a system is to make a dir, such as something like 
/root/updates


In this directory I place all the *.asc and *.diff or *.patch files that 
apply to the updates.  This way the uname can give me some very good 
information, but the patches and updates I've received (either via 
freebsd-update or via rebuilding world) have been recorded, and it's on 
a host-by-host basis this way too.


I hope this helps anybody in their administration tasks.

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


Re: dump and restore

2008-07-19 Thread Peter Boosten

Malcolm Kay wrote:

On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote:


The /usr/ partition was 74Gb, and it took (according to dump
52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in
the same machine on different IDE controllers.

The time for dump/restore normally depends more on the occupancy 
of the partition than its actual size. This is one reason why we 
avoid using dd for this purpose as we must then copy the entire

74Gb rather than just that used.



Hmmm, I didn't even know it was possible to dump a partition unmounted. 
Try that next time then. The actual partition size was ~200GB, but 
around 74Gb data.


Thanks all for your answers.

Peter

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


Re: Video Card Info

2008-07-19 Thread RW
On Fri, 18 Jul 2008 18:15:48 -0700
George Hartzell [EMAIL PROTECTED] wrote:

 Warren Liddell writes:
   im looking to purchase the NVIDIA 8800GTX PCI Express Video Card
   an was wondering if anyone has heard or know of any issues within
   FreeBSD with this particular video card ?
 
 I use an Nvidia 8800GT in a Mac Pro running -STABLE with the
 xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it
 works fine.  

But does the proprietary nvidia driver work? The nv driver is slow,
makes heavy use of the CPU, and has no 3-d support.

The nvidia driver doesn't work on the 64-bit version of FreeBSD through.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Extracting tracks as WAV from a worn-out CD

2008-07-19 Thread Razmig K


Hello,

I could successfully extract the last track, no. 7, on a pretty worn-out 
audio CD issuing the command:

% cdda2wav -D 0,0,0 -t 7
(0,0,0 being the SCSI device corresponding to the cdda2wav -scanbus output)
while I have failed doing so earlier via:
% cdda2wav -D /dev/acd0 -t 7
since it got stuck at %84 giving the error cooked: Read cdda : 
Input/output error. I experienced similar failure with KAudioCreator.

Any explanations to this?
This is 7.0-RELEASE running KDE 3.5.8.
Thanks!


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


Kernel mode PPPoE or User mode PPPoE

2008-07-19 Thread आशीष शुक्ल Ashish Shukla

Hi

I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE. I'm 
following the handbook[1] to setup my PPPoE interface. Is there any way I can 
figure out this ?


And what is the difference between kernel-mode PPP and user-mode PPP ?

I'm running FreeBSD 7.0-RELEASE-p3 (amd64).

References:
[1] - http://www.freebsd.org/doc/handbook/pppoe.html

TIA
--
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgp70CdkS9uHK.pgp
Description: PGP signature


Re: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread David Newman

Mark Boolootian wrote:



which leads me to conclude I've got -p3, including the BIND update.
However 'uname -a' says something else:

FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed 
Jun 18 07:33:20 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


And although /usr/sbin/named has been updated, it appears not to have
been upgraded:

$ /usr/sbin/named -v
BIND 9.4.2

Thoughts?

  


You've got p3, don't worry. There was no kernel update in p3, hence 
you got the p2 GENERIC kernel. If you want uname to actually show p3,

you will have to recompile your kernel


Shouldn't freebsd-update do this, not only for the kernel and named and 
whatever else it updates?


I'm relatively new to freebsd-update, and while I appreciate its speed 
advantange over make buildworld/buildkernel, it's confusing when it 
applies updates but does not display correct version numbers.


dn

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


Re: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread Manolis Kiagias

David Newman wrote:

Mark Boolootian wrote:



which leads me to conclude I've got -p3, including the BIND update.
However 'uname -a' says something else:

FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: 
Wed Jun 18 07:33:20 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


And although /usr/sbin/named has been updated, it appears not to have
been upgraded:

$ /usr/sbin/named -v
BIND 9.4.2

Thoughts?

  


You've got p3, don't worry. There was no kernel update in p3, hence 
you got the p2 GENERIC kernel. If you want uname to actually show p3,

you will have to recompile your kernel


Shouldn't freebsd-update do this, not only for the kernel and named 
and whatever else it updates?


I'm relatively new to freebsd-update, and while I appreciate its speed 
advantange over make buildworld/buildkernel, it's confusing when it 
applies updates but does not display correct version numbers.


dn




This is not a problem with freebsd-update. The kernel has not changed 
between -p2 and -p3, so freebsd-update will not get you an updated one. 
If you recompile the kernel afterwards, it will show -p3 because of the 
change in /usr/src/sys/conf/newvers.sh (this changes everytime 
freebsd-update gets new updates, regardless of whether the kernel is 
updated or not). So, simply by recompiling the kernel you will get the 
-p3 indication, though nothing much else in this case.


When an update *does* include a new kernel  *and* you are running a 
GENERIC kernel, freebsd-update will update it. If you are running your 
custom kernel, you will have to recompile anyway.


Also note that you need to have the relevant parts installed for 
freebsd-update to update them. For example, if you don't have the kernel 
sources installed, freebsd-update will *not* download and install them 
for you.


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


Re: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread v
just rebuild your kernel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Video Card Info

2008-07-19 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

RW wrote:
 On Fri, 18 Jul 2008 18:15:48 -0700
 George Hartzell [EMAIL PROTECTED] wrote:
 
 Warren Liddell writes:
   im looking to purchase the NVIDIA 8800GTX PCI Express Video Card
   an was wondering if anyone has heard or know of any issues within
   FreeBSD with this particular video card ?

 I use an Nvidia 8800GT in a Mac Pro running -STABLE with the
 xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it
 works fine.  
 
 But does the proprietary nvidia driver work? The nv driver is slow,
 makes heavy use of the CPU, and has no 3-d support.
 
 The nvidia driver doesn't work on the 64-bit version of FreeBSD through.

You should mention that the Nvidia driver that Nvidia distributes (and is
represented within FreeBSD by a port which builds  installs with no difficulty
at all) works just fine.  I personally have the Nvidia 8600GTS, I use that
driver, and it's a perfectly fine option.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiCCcUACgkQz62J6PPcoOlC0gCfY1t2ZaXuvzBwSgzmGwgfgI06
+kgAmgJd/jEaUggqD5gE2M0K5m3FobOi
=i0jc
-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: Video Card Info

2008-07-19 Thread George Hartzell
RW writes:
  On Fri, 18 Jul 2008 18:15:48 -0700
  George Hartzell [EMAIL PROTECTED] wrote:
  
   Warren Liddell writes:
 im looking to purchase the NVIDIA 8800GTX PCI Express Video Card
 an was wondering if anyone has heard or know of any issues within
 FreeBSD with this particular video card ?
   
   I use an Nvidia 8800GT in a Mac Pro running -STABLE with the
   xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it
   works fine.  
  
  But does the proprietary nvidia driver work? The nv driver is slow,
  makes heavy use of the CPU, and has no 3-d support.
  
  The nvidia driver doesn't work on the 64-bit version of FreeBSD through.

I'm running amd64, so I didn't even try the proprietary one.

g.

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


Re: Video Card Info

2008-07-19 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

George Hartzell wrote:
 RW writes:
   On Fri, 18 Jul 2008 18:15:48 -0700
   George Hartzell [EMAIL PROTECTED] wrote:
   
Warren Liddell writes:
  im looking to purchase the NVIDIA 8800GTX PCI Express Video Card
  an was wondering if anyone has heard or know of any issues within
  FreeBSD with this particular video card ?

I use an Nvidia 8800GT in a Mac Pro running -STABLE with the
xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it
works fine.  
   
   But does the proprietary nvidia driver work? The nv driver is slow,
   makes heavy use of the CPU, and has no 3-d support.
   
   The nvidia driver doesn't work on the 64-bit version of FreeBSD through.
 
 I'm running amd64, so I didn't even try the proprietary one.

I have an amd64 host, but I don't run FreeBSD on that one, I sort of spread
myself out so I can cover a few extra platforms.  I did hear that the nvidia
driver didn't work on amd64, but I couldn't tell you why.  It's probably covered
onthe FreeBSD-multimedia mailing list, and I would search the archives  of that
list before bothering folks on that.

The FreeBSD mailing list archives are great resources.

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

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiCDWcACgkQz62J6PPcoOlR6wCfVuohVUf///FzhyQjVZYEu72T
HJ0AoJUh+GhXcQq0tqpGHNRukVmT6VGD
=ichG
-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: Why this linking fail?

2008-07-19 Thread Mel
On Thursday 17 July 2008 07:37:43 Unga wrote:
 --- On Thu, 7/17/08, Unga [EMAIL PROTECTED] wrote:
  Sorry guys, I have found an issue. In the libc compile log
  shows following error:
  lex  -P_nsyy -o/dev/stdout /usr/src/lib/libc/net/nslexer.l
 
  |  sed -e '/YY_BUF_SIZE/s/16384/1024/'
  |
  nslexer.c
 
  lex: fatal internal error, exec failed
 
  Let me check why the lex failed.

 Ok, I managed to narrow down the problem.

 I'm  in a chroot jail.

 lex  -P_nsyy -o/dev/stdout /usr/src/lib/libc/net/nslexer.l nslexer.c
 lex: could not create /dev/stdout

 ls -l /dev/stdout
 lrwxr-xr-x  1 root  wheel  4 Jul 17 12:24 /dev/stdout - fd/1

 ls -l /dev/fd/
 crw-rw-rw-  1 root  wheel0,  17 Jul 17 10:30 0
 crw-rw-rw-  1 root  wheel0,  19 Jul 17 10:30 1
 crw-rw-rw-  1 root  wheel0,  21 Jul 17 10:30 2

 echo xxx  /dev/stdout
 xxx

 Note, writing /dev/stdout works, it prints back the xxx.

 Before I enter into chroot jail, this is how mount devfs:
 mount -v -o rw -t devfs dev /somepath/dev

Usually, it's:
mount -t devfs devfs /somepath/dev
  ^^

However, I don't know if that token distinction matters or that it's just a 
label.

 But this statement works well outside of jail:
 lex  -P_nsyy -o/dev/stdout /usr/src/lib/libc/net/nslexer.l nslexer.c

 Is my devfs mount correct? I did not do any devfs configuration. Does it
 require any devfs configuration on the new /somepath/dev mount?

 Appreciate very much your reply on this.


This can be a problem, if you jexec into the jail as no full environment is 
created, but it's usually just the /dev/tty that is the problem, not std{out|
err|null}.

Have you considered compiling on the host and using DESTDIR on installworld?
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: http cache cleaner

2008-07-19 Thread Mel
On Thursday 17 July 2008 11:28:02 Jos Chrispijn wrote:
 Warren Liddell wrote:
  I have had every so often during the day a window saying http cache
  cleaner loading application appear but not listed in the actual processes
  or available to terminate, what is it an how do i stop it form loading ?

 Looks like a Ubuntu thinghy (...), this might help:

 cd /usr/share/services/
 sudo cp http_cache_cleaner.desktop http_cache_cleaner.desktop.ubuntu
 sudo echo StartupNotify=false  http_cache_cleaner.desktop


It's not ubuntu specific. It's Konqueror's cache cleaner. It does show in 
process list, if you use pstree (sysutils/pstree) or ps -w, it'll be 
a kdeinit process.
if it runs once per day, then you either visit a lot of different sites, or 
your cache settings for konqueror are low.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: log size handling

2008-07-19 Thread Mel
On Thursday 17 July 2008 13:31:39 Zbigniew Szalbot wrote:

 Yes, I am compressing them. Load is not an issue yet but I want to
 optimize things that can be optimized. So I guess, rotate more often? I
 like the idea of having one monthly log because it is then processed by
 web stat software so it is easier to submit one than a couple of them.

Even though the awstats code is a bit kludgy perl (as most perl is I suppose), 
it is able to track the last line that it processed and so doesn't care if it 
gets half a log file or 'full' ones.

I haven't looked at the more recent logprocessors in a while, so there may be 
others. In short: you may want to look around for logprocessors that can 
handle intermediate logfiles and still correctly create periodical stats.

In these cases it's actually beneficial to do frequent rotations, because the 
arrays the software keeps in memory, are smaller by definition.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread Matthew Seaman

Manolis Kiagias wrote:


This is not a problem with freebsd-update. The kernel has not changed
 between -p2 and -p3, so freebsd-update will not get you an updated
one. If you recompile the kernel afterwards, it will show -p3 because
of the change in /usr/src/sys/conf/newvers.sh (this changes everytime
 freebsd-update gets new updates, regardless of whether the kernel is
 updated or not). So, simply by recompiling the kernel you will get
the -p3 indication, though nothing much else in this case.


I had a thought the other day that it should be possible to to provide
the system patch level as data within a very small KLD module.  That way 
freebsd-update could change the value without having to supply a whole

new kernel and without having to reboot.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: Extracting tracks as WAV from a worn-out CD

2008-07-19 Thread Kevin Kinsey

Razmig K wrote:

Snipped for logic:


Hello,

I could successfully extract the last track, no. 7, on a pretty worn-out 
audio CD 


got stuck at %84 giving the error cooked: Read cdda : 
Input/output error.




Any explanations to this?


Not trying to be overly arrogant, but aren't you asking
something similar to why doesn't my broken car run?

An input/output error on a worn-out CD isn't much of 
a surprise to me; and it's likely that the software isn't
either written (or perhaps invoked) in such a way that 
such errors can be ignored.


YMMV, #include disclaimer.h and all that.

Kevin Kinsey
--
He who steps on others to reach the top has good balance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dump and restore

2008-07-19 Thread Lowell Gilbert
Peter Boosten [EMAIL PROTECTED] writes:

 Malcolm Kay wrote:
 On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote:

 The /usr/ partition was 74Gb, and it took (according to dump
 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in
 the same machine on different IDE controllers.

 The time for dump/restore normally depends more on the occupancy of
 the partition than its actual size. This is one reason why we avoid
 using dd for this purpose as we must then copy the entire
 74Gb rather than just that used.


 Hmmm, I didn't even know it was possible to dump a partition
 unmounted. Try that next time then. The actual partition size was
 ~200GB, but around 74Gb data.

If you can, it's always *much* preferable to dump an unmounted
partition.  I suspect your problems here had more to do with the bad
disk, though.

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


Re: Extracting tracks as WAV from a worn-out CD

2008-07-19 Thread Razmig K

Kevin Kinsey a écrit :

Not trying to be overly arrogant, but aren't you asking
something similar to why doesn't my broken car run?
No, I'm aware of the implications of having a broken car. The question 
asked for explanations, if any, on why successful extraction was 
possible via the SCSI interface while it wasn't via the ATAPI interface.



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


Re: Extracting tracks as WAV from a worn-out CD

2008-07-19 Thread Josh Carroll
Sorry this is truncated, the google mail application on blackberry
doesn't include the full mail.

Anyway, I would highly suggest using cdparanoia from ports. I have had
great success recovering very scratched discs with it in the past.

Good luck!
Josh

On 7/19/08, Razmig K [EMAIL PROTECTED] wrote:

 Hello,

 I could successfully extract the last track, no. 7, on a pretty worn-out
 audio CD issuing the command:
 % cdda2wav -D 0,0,0 -t 7
 (0,0,0 being the SCSI device corresponding to the cdda2wav -scanbus output)
 while I have failed doing so earlier via:
 % cdda2wav -D /dev/acd0 -t 7
 since it got stuck at %84 giving the error cooked: Read cdda :
 Input/output error. I experienced similar failure with KAudioCreator.
 Any explanations to this?
 This is 7.0-RELEASE running KDE 3.5.8.
 Thanks!


 //rk
 ___
 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: freebsd-update says -p3, but i've got -p2

2008-07-19 Thread David Newman

On 7/19/08 9:50 AM, Matthew Seaman wrote:

Manolis Kiagias wrote:


This is not a problem with freebsd-update. The kernel has not changed
 between -p2 and -p3, so freebsd-update will not get you an updated
one. If you recompile the kernel afterwards, it will show -p3 because
of the change in /usr/src/sys/conf/newvers.sh (this changes everytime
 freebsd-update gets new updates, regardless of whether the kernel is
 updated or not). So, simply by recompiling the kernel you will get
the -p3 indication, though nothing much else in this case.


I had a thought the other day that it should be possible to to provide
the system patch level as data within a very small KLD module.  That way 
freebsd-update could change the value without having to supply a whole

new kernel and without having to reboot.


Something showing what's currently running would be a useful addition 
IMO. Yes, the user can grep /usr/src/sys/conf/newvers.sh to get the 
kernel patch level, but:


1. the user doesn't know if that patch level is currently installed and 
running; and


2. the user may not know version numbers for other pieces of code 
altered by freebsd-update. For example, someone else already pointed out 
that 'named -v' returns '9.4.2', the same version as before running 
freebsd-update.


Port maintenance tools such as portmaster and portupgrade indicate which 
version they're upgrading to; a similar facility in freebsd-update would 
be nice-to-have too.


thanks

dn

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


What price at the license of FreeBSD 7?

2008-07-19 Thread wrag
What price at the license of FreeBSD 7?

it's important for me. I must know.

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


Re: What price at the license of FreeBSD 7?

2008-07-19 Thread Kris Kennaway

[EMAIL PROTECTED] wrote:

What price at the license of FreeBSD 7?

it's important for me. I must know.


It is available for the low low price of $0 or the equivalent in your 
local currency.  Yes really :)


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


How to prevent certain gnome apps from being installed ...

2008-07-19 Thread kiffin.gish
Every time gnome desktop is upgraded via portupgrade it reinstalls a bunch of 
applications that I had previously removed using pkg_delete.

For example, since I only use firefox as my browser there's no need to also 
have epiphany nor galeon. However, by default they are always reinstalled. 

I've tried using the HOLD_PKGS array in pkgtools.conf to prevent this, but to 
no avail.

What to do?

-- 
Kiffin Gish [EMAIL PROTECTED] 
Gouda, The Netherlands

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


Re: panic

2008-07-19 Thread Michael Grant
On Tue, Jul 15, 2008 at 10:44 PM, Kris Kennaway [EMAIL PROTECTED] wrote:
 Michael Grant wrote:

 I have been having panics on one of my machines, roughly every week or
 so.  I was running 6.3 pre-release and then I updated to 6.3 p2 and I
 still have the panic, here's the message that appears on the console:

 panic: kmem_kernel trap 12 with interrupts disabled


 Fatal trap 12: page fault while in kernel mode
 cpuid = 2; apic id = 06
 fault virtual address   = 0x2c
 fault code  = supervisor read, page not present
 instruction pointer = 0x20:0xc06c5a5a
 stack pointer   = 0x28:0xe6ea49ec
 frame pointer   = 0x28:0xe6ea4a00
 code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
 processor eflags= resume, IOPL = 0
 current process = 14 (swi1: net)
 trap number = 12

 Is this possibly a hardware problem?

 Yes, but who can say? :)  To complete your bug report please submit a
 backtrace.  See the developers handbook for details.

 Kris



Another crash:

panic: kmem_malloc(16384): kmem_map too small: 335527936 total allocated
cpuid = 0
Uptime: 3d22h55m59s
Dumping 3327 MB (2 chunks)
  chunk 0: 1MB (151 pages) ... ok
  chunk 1: 3327MB (851568 pages) 3311 --- hangs here

I waited about a half hour before pulling the plug.

Then, during reboot:
...
savecore: error reading last dump header at offset 10005032448 in
/dev/ad1s1b: Input/output error
savecore: no dumps found
Jul 19 15:50:19 charm savecore: error reading last dump header at
offset 10005032448 in /dev/ad1s1b: Input/output error
...

I will wait and see if the next time it crashes I get a better dump,
but in the mean time, still no ideas?

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


Re: panic

2008-07-19 Thread Kris Kennaway

Michael Grant wrote:

On Tue, Jul 15, 2008 at 10:44 PM, Kris Kennaway [EMAIL PROTECTED] wrote:

Michael Grant wrote:

I have been having panics on one of my machines, roughly every week or
so.  I was running 6.3 pre-release and then I updated to 6.3 p2 and I
still have the panic, here's the message that appears on the console:

panic: kmem_kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address   = 0x2c
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc06c5a5a
stack pointer   = 0x28:0xe6ea49ec
frame pointer   = 0x28:0xe6ea4a00
code segment= base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, def32 1, gran 1
processor eflags= resume, IOPL = 0
current process = 14 (swi1: net)
trap number = 12

Is this possibly a hardware problem?

Yes, but who can say? :)  To complete your bug report please submit a
backtrace.  See the developers handbook for details.

Kris




Another crash:

panic: kmem_malloc(16384): kmem_map too small: 335527936 total allocated
cpuid = 0
Uptime: 3d22h55m59s
Dumping 3327 MB (2 chunks)
  chunk 0: 1MB (151 pages) ... ok
  chunk 1: 3327MB (851568 pages) 3311 --- hangs here

I waited about a half hour before pulling the plug.

Then, during reboot:
...
savecore: error reading last dump header at offset 10005032448 in
/dev/ad1s1b: Input/output error
savecore: no dumps found
Jul 19 15:50:19 charm savecore: error reading last dump header at
offset 10005032448 in /dev/ad1s1b: Input/output error
...

I will wait and see if the next time it crashes I get a better dump,
but in the mean time, still no ideas?


You still didn't get the backtrace I requested (if dump is failing for 
you then try minidumps or compile in DDB and use that -- again, please 
read the developers handbook), but this particular panic has an obvious 
explanation: your kernel ran out of memory.  Set the vm.kmem_size 
tunable to some larger value than 320M, or modify your workload to use 
less kernel memory.


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


Re: What price at the license of FreeBSD 7?

2008-07-19 Thread Gonzalo Nemmi
On Saturday 19 July 2008 15:40:53 Kris Kennaway wrote:
 ... or the equivalent in your
 local currency.  Yes really :)

 Kris

ROFL to death !
Sorry .. couldn't help it ...
You made me spit my pepsi all over my desktop !
Thanks!!
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to prevent certain gnome apps from being installed ...

2008-07-19 Thread RW
On Sat, 19 Jul 2008 21:26:42 +0200
[EMAIL PROTECTED] wrote:

 Every time gnome desktop is upgraded via portupgrade it reinstalls a
 bunch of applications that I had previously removed using pkg_delete.
 
 For example, since I only use firefox as my browser there's no need
 to also have epiphany nor galeon. However, by default they are always
 reinstalled. 
 
 I've tried using the HOLD_PKGS array in pkgtools.conf to prevent
 this, but to no avail.
 
 What to do?

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


Re: Kernel mode PPPoE or User mode PPPoE

2008-07-19 Thread RW
On Sat, 19 Jul 2008 19:14:40 +0530
 ___ Ashish Shukla [EMAIL PROTECTED] wrote:

 Hi
 
 I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE.
 I'm following the handbook[1] to setup my PPPoE interface. Is there
 any way I can figure out this ?

If you are starting it from the standard rc.d script, you are using
user ppp.

I think kernel ppp is a legacy feature that was used before the
kernel supported tun interfaces. I don't know of any reason for still
using it. IIRC with kernel ppp you run pppd (note the d) as root, and
the interface shows-up as ppp0; with user ppp, you run ppp as any user,
and the interface shows-up as tun0.  


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


Re: What price at the license of FreeBSD 7?

2008-07-19 Thread Lars Eighner

On Sat, 19 Jul 2008, Kris Kennaway wrote:


[EMAIL PROTECTED] wrote:

What price at the license of FreeBSD 7?

it's important for me. I must know.


It is available for the low low price of $0 or the equivalent in your local 
currency.  Yes really :)


Let's see, ... that would be approximately $149*10^12 Zimbabwe.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

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


Re: What price at the license of FreeBSD 7?

2008-07-19 Thread Mike Jeays
On July 19, 2008 04:21:03 pm Gonzalo Nemmi wrote:
 On Saturday 19 July 2008 15:40:53 Kris Kennaway wrote:
  ... or the equivalent in your
  local currency.  Yes really :)
 
  Kris

 ROFL to death !
 Sorry .. couldn't help it ...
 You made me spit my pepsi all over my desktop !
 Thanks!!

How many Zimbabwe dollars, I wonder?  This seems to give the finest 
measurement for approximations to zero...

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


The FreeBSD Diary: 2008-06-29 - 2008-07-19

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

These are the articles posted during this period:

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


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

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


How to divide up?

2008-07-19 Thread Gary Kline

Guys,

Is there an easyy way of splitting yp these tags into one-per-line?
I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff
would look better to my eyes?  the outcome of this will go ino a special
database, not html .

is there some clever perl one-liner that would help me turn 

CENTERFONT face=Times size=3FONT color=#66RealizationBR

into

CENTER
FONT face=Times size=3
FONT color=#66
Realization
BR
??


tx for any clues,

gary


-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: How to divide up?

2008-07-19 Thread Giorgos Keramidas
On Sat, 19 Jul 2008 17:23:48 -0700, Gary Kline [EMAIL PROTECTED] wrote:
 Guys,
 Is there an easyy way of splitting yp these tags into one-per-line?

 I'm not obcessive [[?, :)]], but for what I've got in mind, the tags
 and stuff would look better to my eyes?  the outcome of this will
 go ino a special database, not html .

 is there some clever perl one-liner ...

I don't know about 'easy', because this looks pretty much like 'free
form HTML'.  Parsing liberally formatted HTML code from untrusted
sources is a lot like trying to reinvent Firefox's HTML parsing engine
or something similar.  That's bound to be up there in the 'insanely
difficult' and not so much in the 'easy to hack with sed and a bit of
awk or some Perl' scale.

If you have some sort of guarantee about the well-formedness of the HTML
source though (i.e. it passes some sort of validation suite), then you
can probably use tidy(1) to convert it to XML and then use xsltproc to
convert the XML source to pretty much anything imaginable.

Now, if you want to merely hack something quick and dirty, a short
Perl script can probably do regexp substitution similar to

#
# WARNING: THIS HAS NOT BEEN TESTED :P
#
my $foo = STDIN;
$foo = s:([^]+[^]*/[^]+):$1\n:ge;
print $foo;

but you shouldn't trust the output of such a quick hack too much.

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


Re: How to divide up?

2008-07-19 Thread Roland Smith
On Sat, Jul 19, 2008 at 05:23:48PM -0700, Gary Kline wrote:
 
 Guys,
 
 Is there an easyy way of splitting yp these tags into one-per-line?
 I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff
 would look better to my eyes?  the outcome of this will go ino a special
 database, not html .
 
 is there some clever perl one-liner that would help me turn 
 
 CENTERFONT face=Times size=3FONT color=#66RealizationBR
 
 into
 
 CENTER
 FONT face=Times size=3
 FONT color=#66
 Realization
 BR
 ??
 

Insert a newline in front of every  :

gsed -e s//\n/g infile outfile

Note that this requires GNU sed. It won't work with BSD sed.

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)


pgpGR4LfSUxnv.pgp
Description: PGP signature


Re: how to simulate a user's crontab?

2008-07-19 Thread Karl Vogel
 On Thu, 17 Jul 2008 09:27:51 +0200, 
 DA Forsyth [EMAIL PROTECTED] said:

D John, it is not a permissions issue, but rather a path issue.  Do as the
D other poster suggested and run a cron job to dump the environment and you
D will see that the PATH inside a cron job is very rudimentary.  Either add
D what you need to it in the crontab or cron job, or always use absolute
D paths for everything in a cron entry.

D alternatively, set up an AT job as the user, then find the script generated
D by at and grab a copy (/var/spool/cron ???).  You can use that copy as the
D basis for all cron scripts for that user, and always have the 'user'
D environment set up correctly.

   I use templates for most of the things I write, so I don't end up making
   the same stupid off-by-one mistakes for things like handling command-line
   arguments.  My template for a production shell script is below.

   * Why use the Korn shell instead of bash?  size prints out the size of
 the text, data, and uninitialized data segments and their total for
 a given program.  On Solaris:

   me% size /bin/ksh /bin/bash
   /bin/ksh:  166555 +  2022 +  6438 = 175015
   /bin/bash: 535476 + 74216 + 13712 = 623404

 BSD numbers have the same general idea.  Bash is 3 times heavier than
 KSH in terms of memory use; if you need all that, fine, but if not,
 consider something lighter.  David Korn is one of the brightest minds
 at ATT, and any shell he writes to correct deficiencies in the original
 Bourne shell deserves a serious look.

   * Always set your PATH and umask to something safe.  This way, you avoid
 unpleasant surprises if someone else runs your script, or if it's run
 from cron.

   * It should be easy to do things you do frequently.  I use short functions
 like logmsg to write to the system log for long-running scripts,
 and die to print a useful error message and exit.  This way, sanity
 checking becomes much less tedious, and if you want to change the format
 or destination of log messages, the change is made in *one* place.

   * Using a template makes it easier to be consistent when choosing things
 like command-line options; in just about everything I write, -d
 turns on debugging output, -h prints help, etc.

 This might not be a big deal if you're the only user, but if you work
 a help desk and you need to know why a script barfed all over itself
 when a customer's on the phone, it's a blessing.

   * It should be easy to find out what version is being run and where the
 source code is.  The -v option prints the version and date, and the
 -w option prints the source location from the revision system I use:

   me% ./doit -v
   doit  v1.1  2008/02/24 13:02:35

   me% ./doit -w
   /src/script/RCS/doit,v

-- 
Karl Vogel  I don't speak for the USAF or my company
I remember when sex was safe and flying was dangerous.

---
#!/bin/ksh
#
# NAME:
#doit
#
# SYNOPSIS:
#doit [-dhuvw] [-o outfile] [infile ...]
#
# DESCRIPTION:
#program to ...
#
# OPTIONS:
#-d turns debug output on.
#-h prints help and exits.
#-o outfile specifies the optional output file.
#-u prints the UUID and exits.
#-v prints the version and exits.
#-w prints the location of the source code and exits.
#
# AUTHOR:
#Your name user [at] whatever [dot] com
#Your organization

PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin
export PATH
umask 022
tag=`basename $0`

#  FUNCTIONS =
# logmsg: prints a string to the system log.

logmsg () {
logger -t $tag $*
}

# die: prints an optional argument to stderr and exits.
# This works in subshells and loops, but may not exit with
# a code other than 0.

die () {
echo $tag: ERROR -- $*  2
exit 1
}

# usage: prints an optional string plus part of the comment
# header (if any) to stderr, and exits with code 1.

usage () {
lines=`egrep -n '^# (NAME|AUTHOR)' $0 | cut -f1 -d:`

(
case $# in
0)  ;;
*)  echo usage error: $*; echo ;;
esac

case $lines in
) ;;

*)  set `echo $lines | sed -e 's/ /,/'`
sed -n ${1}p $0 | sed -e 's/^#//g' |
egrep -v AUTHOR:
;;
esac
)  2

exit 1
}

# Print the UUID for this script.  Should be based on
# something unique, like date-time-hostname.

myuuid () {
lsedscr='s/UUID: //
s/\$//g'
lid='$UUID: ee96ec96-5bab-3443-b0d4-e0d2c96a4ffd $'
echo $lid | sed -e $lsedscr
}

# Print the current version and source location.

version () {
lsedscr='s/RCSfile: //
s/.Date: //
s/,v . .Revision: /  v/
s/\$//g'

lrevno='$RCSfile: doit,v $ $Revision: 1.1 $'
lrevdate='$Date: 2008/02/24 13:02:35 $'
echo $lrevno $lrevdate | sed -e $lsedscr
}

where 

Reading from USB devices

2008-07-19 Thread Andrew Falanga

Hi,

I'd like to read data from a USB device that is not a thumb drive.  How 
would I do this?  For instance, it's an oximeter for reading 
biometrics.  What libraries exist for reading things like VID/PID, and 
most importantly, reading the data from the device?


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


Re: How to divide up?

2008-07-19 Thread Giorgos Keramidas
On Sun, 20 Jul 2008 03:44:07 +0300, Giorgos Keramidas [EMAIL PROTECTED] wrote:
 Now, if you want to merely hack something quick and dirty, a short
 Perl script can probably do regexp substitution similar to

 #
 # WARNING: THIS HAS NOT BEEN TESTED :P
 #
 my $foo = STDIN;
 $foo = s:([^]+[^]*/[^]+):$1\n:ge;
 print $foo;

 but you shouldn't trust the output of such a quick hack too much.

As I wrote in reply to the personal email, this was untested and a bit
wrong in places, but now I've tried something like:

  $ echo 'helloworld/hellohellonext world/hello' | \
  perl -e '$foo = STDIN; $foo =~ s:([^]+[^]*/[^]+):$1\n:g; print 
$foo;'

and it does seem to sort of work.  The output is:

  helloworld/hello
  hellonext world/hello

Maybe that's good enough?  They say `the perfect is the enemy of good
enough', so if this works for your data set, it's probably ok to use it :-)

Have fun,
Giorgos

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


Need help to compile netlogin client

2008-07-19 Thread Kevin JR
It must login first with a client before surf into Internet for me. The client 
can be compiled well under linux, however, it failed under freebsd due to the 
following code dealing with acquire ip/mac information:

[CODE]
static void getAddr(int sockfd, struct usrinfoSet *pui)
{
    struct ifreq addr;

    memset(addr, 0x0, sizeof addr);
    strcpy(addr.ifr_name, pui - dev);

    if (ioctl(sockfd, SIOCGIFADDR, (char *)addr) == -1) {
        perror(ioctl);
        exit(EXIT_FAILURE);
    }

    strcpy(pui - ip, inet_ntoa(((struct sockaddr_in *)addr.ifr_addr) - 
sin_addr));

    memset(addr, 0, sizeof addr);
    strcpy(addr.ifr_name, (*pui).dev);

    if(ioctl(sockfd, SIOCGIFHWADDR, (char *)addr) == -1) {
        perror(ioctl);
        exit(EXIT_FAILURE);
    }

    memcpy(pui - mac, addr.ifr_hwaddr.sa_data, 0x6);
}
[/CODE]

The full source and client are attached.

Thanks in advance!




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

rtorrent refuses to open bittorrent file

2008-07-19 Thread luizbcampos
 As I am a new user to rtorrent I would like to know how to set it
up properly. After I had configured .rc.rtorrent when I type
--anyfile.torrent -- I got the answer that rtorrent is unable to open
such a file...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


re: debug messages for system crash output- Kennawayothers

2008-07-19 Thread Desmond Chapman

I solved the problem. I didn't find any documentation on what to do.

_
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel mode PPPoE or User mode PPPoE

2008-07-19 Thread Ashish Shukla आशीष शुक्ल
RW  writes:
 On Sat, 19 Jul 2008 19:14:40 +0530
  ___ Ashish Shukla [EMAIL PROTECTED] wrote:

 Hi
 
 I wanted to know if I'm using user-mode PPPoE or kernel-mode PPPoE.
 I'm following the handbook[1] to setup my PPPoE interface. Is there
 any way I can figure out this ?

 If you are starting it from the standard rc.d script, you are using
 user ppp.

 I think kernel ppp is a legacy feature that was used before the
 kernel supported tun interfaces. I don't know of any reason for still
 using it. 

Won't you get any speed improvements with PPP connection in kernel-mode
PPP as compared to user-mode PPP ?

 IIRC with kernel ppp you run pppd (note the d) as root, and the
 interface shows-up as ppp0; with user ppp, you run ppp as any user,
 and the interface shows-up as tun0.

I use 'ppp -ddial my-adsl-provider' and it creates a 'tun0'
interface. So this means I'm doing user-mode PPP.
 
Thanks
Ashish
-- 
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --


pgpGvPds48tpW.pgp
Description: PGP signature


Re: How to divide up?

2008-07-19 Thread Walt Pawley
At 5:23 PM -0700 7/19/08, Gary Kline wrote:
Guys,

Is there an easyy way of splitting yp these tags into one-per-line?
I'm not obcessive [[?, :)]], but for what I've got in mind, the tags and stuff
would look better to my eyes?  the outcome of this will go ino a special
database, not html .

is there some clever perl one-liner that would help me turn

CENTERFONT face=Times size=3FONT color=#66RealizationBR

into

CENTER
FONT face=Times size=3
FONT color=#66
Realization
BR

I've been using this ...

#!/usr/bin/perl
# Process HTML data on STDIN into one tag per line form on STDOUT
while () {
s/\r/\n/gs;
s//\n/gs;
s//\n/gs;
s/\n\s*/\n/gs;
s/^\s*//;
print $_
}

... for quite some time under the name tag1. It's come in very handy.
-- 

Walter M. Pawley [EMAIL PROTECTED]
Wump Research  Company
676 River Bend Road, Roseburg, OR 97470
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]