Re: Questions about Hauppauge WinTV 350

2004-06-23 Thread Wilkinson, Alex
On Wed, Jun 23, 2004 at 12:56:26PM +0930, Greg 'groggy' Lehey wrote:

A number of software products use the Hauppauge WinTV 350 Personal
Video Recorder (what a stupid name!).  I've been planning to get one
for some time, but here in Australia the prices are ridiculous (more
than double what they are nearly anywhere else).  So I've decided to
have one sent from overseas.

Question: are all WinTV 350s the same?  In Australia we have the same
standards as in most of Europe (PAL, not NTSC), and the tuner
frequencies are also the same as those in Europe.  If I buy a card in
the USA, will it work here, or are there two different kinds of card,
depending on where they're sold?

The web site is not of much help.  To help me decide, it would be nice
to hear from somebody with experience with the cards who can tell me a
definite answer to at least one of these questions:

* Are there separate versions for different countries?
* Does the device you have support both PAL and NTSC?
* Does the tuner on your device support both European and US
  frequencies?
* What kind of antenna connector does your card have?  US TVs tend to
  have a screw-on connector, while European one tend to have a push-on
  connector.

Other information, in particular where I can get them cheap, would
also be appreciated.


You may find some useful info in this article:

http://arstechnica.com/guide/audio-visual/videocapturing/vidcap-1.html

Email me offline if you want me to send you the PDF of it.

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


Re: cvsup and ports INDEX

2004-06-23 Thread Kent Stewart
On Tuesday 22 June 2004 10:19 pm, Matt Navarre wrote:
 On Tuesday 22 June 2004 09:51, Kent Stewart wrote:
  On Tuesday 22 June 2004 09:27 pm, Matt Navarre wrote:
   On Tuesday 22 June 2004 07:05, [EMAIL PROTECTED] wrote:
hello all,

 snip

   This checks out the new ports text file.
  
# portsdb -Uu   ...this?
  
   This builds INDEX.db, which is all the ports/dependency
   information in the format that portupgrade(and others?) uses so
   it can get all the right ports when you install something.
  
i'm not sure i have a firm grasp of why i do both.  are they
complimentary or redundant steps?  could someone please clarify
or point me to right set of docs?
  
   They're complimentary, portsdb -uU doesn't really do anything
   unless you have a new /usr/ports/INDEX or /usr/ports/INDEX.db got
   hosed.
 
  This isn't true. Portsdb -U creates a brand new INDEX using your
  current /usr/ports and -u uses that to generate a new INDEX.db

 That's not what the man page implys:


 The portsdb command is a tool to generates the ports database
 named INDEX.db from the ports index file named INDEX.  It is commonly
 used among the tool suite and automatically updated on demand when it
 gets older than the index file

 I'm not sayin' you're wrong, since I read that a long while ago and
 haven't needed to know anything more about portsdb since, but you and
 the description in portsdb(1) seem to disagree.

 Yes, the -U option does Update or create the ports index file called
 INDEX, it's just not evident from the description that it can use
 the installed ports tree.

If you are to run it after you cvsup ports-all, what do you think it is 
using?

In addition,  portsdb -U now runs make index but you would have to 
search -ports@ to read about that change. You can read comments about 
it on
http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/portupgrade/Makefile 
see the commit message for version 1.78.

Kent

 So I was kinda right. A little :)




  Kent

 Matt

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: read vs. mmap (or io vs. page faults)

2004-06-23 Thread Mikhail Teterin
On Tuesday 22 June 2004 11:27 pm, Peter Wemm wrote:

= mmap is more valuable as a programmer convenience these days. Don't
= make the mistake of assuming its faster, especially since the cost of
= a copy has gone way down.

Actually, let me back off from agreeing with you here :-) On io-bound
machines (such as my laptop), there is no discernable difference in
either the CPU or the elapsed time -- md5-ing a file with mmap or read
is (curiously) slightly faster than just cat-ing it into /dev/null.

On an dual P2 450MHz, the single process always wins the CPU time and
sometimes the elapsed time. Sometimes it wins handsomly:

mmap: 35.271u 4.004s 1:06.08 59.4%   10+190k 0+0io 4185pf+0w
read: 32.134u 15.797s 1:58.72 40.3%  408+302k 11228+0io 12pf+0w

or

mmap: 35.039u 4.558s 1:10.27 56.3%10+190k 5+0io 5028pf+0w
read: 29.931u 27.848s 2:07.17 45.4%   10+187k 11219+0io 5pf+0w

Mind you, both of the two processors are Xeons with _2Mb of cache on
each_, so memory copying should be even cheaper on them than usual. And
yet mmap manages to win...

On a single P2 400MHz (standard 521Kb cache) mmap always wins the CPU
time, and, thanks to that, can win the elapsed time on a busy system.
For example, running two of these processes in parallel (on two separate
copies of the same huge file residing on distinct disks) yields (same
1462726660-byte file as in the dual Xeon stats above):

mmap: 66.989u 7.584s 3:01.76 41.0%5+238k 90+0io 22456pf+0w
  65.474u 7.729s 2:38.59 46.1%5+241k 90+0io 22401pf+0w
read: 60.724u 42.394s 3:37.01 47.5%   5+241k 22541+0io 0pf+0w
  61.778u 41.987s 3:35.36 48.1%   5+239k 11256+0io 0pf+0w

That's 182 vs. 215 seconds, or 15% elapsed time win for mmap. Evidently,
mmap runs through that nasty nasty code faster than read runs through
its. mmap loses on an idle system, I presume, because page-faulting is
not smart enough to page-fault ahead as efficiently as read pre-reads
ahead.

Why am I complaining then? Because I want the nasty nasty code
improved so that using mmap is beneficial for the single process too.

Thank you very much! Yours,

-mi

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


Re: cvsup and ports INDEX

2004-06-23 Thread Matt Navarre
On Tuesday 22 June 2004 11:34, you wrote:

 
  That's not what the man page implys:
 
 
  The portsdb command is a tool to generates the ports database
  named INDEX.db from the ports index file named INDEX.  It is commonly
  used among the tool suite and automatically updated on demand when it
  gets older than the index file
 
  I'm not sayin' you're wrong, since I read that a long while ago and
  haven't needed to know anything more about portsdb since, but you and
  the description in portsdb(1) seem to disagree.
 
  Yes, the -U option does Update or create the ports index file called
  INDEX, it's just not evident from the description that it can use
  the installed ports tree.

 If you are to run it after you cvsup ports-all, what do you think it is
 using?

The INDEX file that get cvsup'ed when I cvsup ports? I only sup ports once a 
month or so unless I'm installing something new, so I guess I'm getting a new 
INDEX most times. 

 In addition,  portsdb -U now runs make index but you would have to
 search -ports@ to read about that change. You can read comments about
 it on
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/portupgrade/Makefile
 see the commit message for version 1.78.

Well, I don't track -ports, so, yes I missed that.

I'm not trying to be combative here, I was wrong, a bit. I gave the portsdb 
man page  a quick once-over a while ago (when I started using portupgrade) 
and thought I understood what it was doing. I didn't realize the -U was 
regen'ing INDEX from the current ports tree, as I didn't realize that INDEX 
was updated with less frequency that the tree, so I didn't realize that was 
even needed, though it's obvious once I think about it.

It also explains why portsdb -Uu takes so freekin' long sometimes, which had 
been bugging me.

 Kent

  So I was kinda right. A little :)
 
   Kent
 
  Matt

-- 
We all enter this world in the same way: naked, screaming,
 and soaked in blood. But if you live your life right, that kind
 of thing doesn't have to stop there. -- Dana Gould
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Advice on network setup/layout

2004-06-23 Thread eodyna
hello there,

Ive never done this before (and it may seem odd) but,
id like to get your advice on how to configure a
network with 2 outside interfaces. One interface would
be connected to a cable modem and the other to an adsl
modem.

This is what i have so far.

1 cable connection
1 adsl connection
1 computer (running fbsd 5.2.1)
5 NICs

the diagram i have attached is kinda what im thinking
it would look like. Any advice would be great.

I have compiled the following options into the kernel

# Firewall IPFIREWALL options
options TCP_DROP_SYNFIN
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=100
options IPFIREWALL_DEFAULT_TO_ACCEPT
options RANDOM_IP_ID
options IPDIVERT
options IPSTEALTH
options IPSEC


set the following in rc.conf

ifconfig_fxp1=DHCP#*cable*
ifconfig_fxp2=inet 10.0.0.1 netmask 255.255.255.0
ifconfig_fxp3=DHCP   #*adsl*
ifconfig_fxp4=inet 10.5.0..1 netmask 255.255.0.0

# PPP CONFIGURATION - adsl
#ppp_enable=YES
#ppp_profile=provider
#ppp_mode=ddial

# NAT CONFIGURATION
#natd_enable=YES
#natd_interface=fxp1 fxp3
#natd_flags=-s -u -f /etc/natd.conf

# FIREWALL CONFIGURATION IPFW
#firewall_enable=YES
#firewall_type=SIMPLE
#firewall_quiet=NO


I dont really know if im going about this the right
way or not (or what im missing), but i think im going
to end up confusing myself at some point. esp. when it
comes to the firewall rules.

so if you have some advice. id gladly listen/read.

cheers (i hope this makes sense)
ams

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com-   -- 
| Internet  |   |  Internet   |
-   --
  | |
  | |   
  | |
-   -
| ADSL Modem |  | Cable Modem   |
-   -
  | |
  | |   
  | |
   | fxp3 | | fxp1 |
  | |
  | |
  ---
|
|   
|

| FreeBSD 5.2.1|

|
|
-
|   |
| fxp 4| | fxp2 |
|   |   
|   |
----
| 8 port hub |   | 16 Port Networking Switch|
--   ---
|  ||
--  -   
| comp. 1 | | Computer 1|   | Computer 2   |
--- -   ___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: interpreting netstat

2004-06-23 Thread Matthew Seaman
On Tue, Jun 22, 2004 at 10:44:28PM -0400, Robert Huff wrote:
 
   Poking around the system, I discovered the m option to
 netstat and got this:
 
 261 mbufs in use
 74/17088 mbuf clusters in use (current/max)
 0/4/4528 sfbufs in use (current/peak/max)
 213 KBytes allocated to network
 0 requests for sfbufs denied
 0 requests for sfbufs delayed
 0 requests for I/O initiated by sendfile
 935 calls to protocol drain routines
 
   ... which would be a lot more useful if I had a reference
 standard.  Which I can't seen to find.

You're OK so long as the current and peak figures are less than the
max figure -- mbufs memory buffers are a fixed resource, out of
which sufficient space to handle network traffic has to be allocated.
If you have more traffic than the available space will cope with, then
you can't handle all incoming packets, and things will slow right
down.  On the other hand, if you allocate a lot more space for network
traffic, it is forever barred from being used for other purposes.

However, for most general purpose systems, just taking the autosized
defaults will give you plenty of space to handle incoming traffic
without being excessive.  You'ld really only have to look at modifying
the number of mbufs allocated for a very high traffic server.

   This was taken on a system which has had minimal network
 traffic for several hours.  How would I expect things to change as
 load increased?  What are the warning signs the network is
 approaching saturation?

Keep an eye on the mbuf stats if you're worried.  So long as the in
use numbers don't climb above, say, 80% of the maximum even over a
traffic peak, you should be fine.  But I doubt you'll see anything
like that -- counters on my system show it uses about 2% of capacity.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpRlvCl9FyEA.pgp
Description: PGP signature


Re: FreeBSD install on SCSI: Missing Operating System

2004-06-23 Thread Matthew Seaman
On Wed, Jun 23, 2004 at 01:04:24AM -0400, Jeremy Kister wrote:
 On Tuesday, June 22, 2004 10:57 PM, I wrote:
  the whole installation process goes smooth, but upon reboot, I simply get
  'Missing Operating System'.
 
 I've given up on 4.9-R and tried 5.2.1-R, which is working fine.

Odd.  The problems you were seeing are to do with the BIOS level
stuff, which is really independent of what OS you're trying to boot
up.  At a guess you actually did something a bit differently during
the install.

For future reference, one thing that has changed over time is using
'packet' mode (BIOS Int 0x13 extensions) -- this provides an
alternative to CHS (Cylinder Head Sector) addressing as used in older
BIOSes.  Packet mode is appropriate for large disks, and allows you to
boot from cylinders higher than 1023.  It's basically the norm on any
recent system with large disk drives.  Problem is you need a BIOS with
specific support for packet mode or it just won't work, so the default
has always been to assume 'nopacket'.  It has been mooted that
switching the default to packet mode is an idea whose time has come,
but that change wasn't made between 4.x and 5.x.  See boot0cfg(8) for
details of how to switch modes, but generally it's:

# boot0cfg -o packet ad0

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpy6bE8NGPhu.pgp
Description: PGP signature


Re: cvsup and ports INDEX

2004-06-23 Thread Kent Stewart
On Tuesday 22 June 2004 11:56 pm, Matt Navarre wrote:
 On Tuesday 22 June 2004 11:34, you wrote:
   That's not what the man page implys:
  
  
   The portsdb command is a tool to generates the ports
   database named INDEX.db from the ports index file named INDEX. 
   It is commonly used among the tool suite and automatically
   updated on demand when it gets older than the index file
  
   I'm not sayin' you're wrong, since I read that a long while ago
   and haven't needed to know anything more about portsdb since, but
   you and the description in portsdb(1) seem to disagree.
  
   Yes, the -U option does Update or create the ports index file
   called INDEX, it's just not evident from the description that it
   can use the installed ports tree.
 
  If you are to run it after you cvsup ports-all, what do you think
  it is using?

 The INDEX file that get cvsup'ed when I cvsup ports? I only sup ports
 once a month or so unless I'm installing something new, so I guess
 I'm getting a new INDEX most times.

  In addition,  portsdb -U now runs make index but you would have
  to search -ports@ to read about that change. You can read comments
  about it on
  http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/portupgrade/Ma
 kefile see the commit message for version 1.78.

 Well, I don't track -ports, so, yes I missed that.

 I'm not trying to be combative here, I was wrong, a bit. I gave the
 portsdb man page  a quick once-over a while ago (when I started using
 portupgrade) and thought I understood what it was doing. I didn't
 realize the -U was regen'ing INDEX from the current ports tree, as I
 didn't realize that INDEX was updated with less frequency that the
 tree, so I didn't realize that was even needed, though it's obvious
 once I think about it.

I think obvious is a hindsight thing. The mind is really good at making 
bad assumptions. I was the on-site rep for a remote computer service 
center in Dallas. People would would have problems running computer 
programs because they would see what they thought they had typed and 
not what was in the data file. 

The INDEX you were cvsuping was an ancient one and that is why it pays 
to refuse ports/INDEX[-5]. Cvsup knows that the one you built isn't the 
one on the mirror and redownloads it. It takes several minutes to 
generate even from a mirror over a 100mps network. Then, you spend a 
lot more time generating the new one by running make index.


 It also explains why portsdb -Uu takes so freekin' long sometimes,
 which had been bugging me.

Yes, it takes quite awhile to generate. That is also why people are 
suggesting that the refuse comments in the HANDBOOK be changed to 
reflect that by using those refuses you will affect the generation of a 
proper INDEX. There is also the problem with MASTER/SLAVE ports. A 
SLAVE port is one that depend on information from the MASTER. If you 
have refused the MASTER, you are continuing to use ancient data when 
you build the SLAVEs.

Now, if you want to fetch a current INDEX[-5], you can run make 
fetchindex from /usr/ports. The problem is that the script 
occassionaly dies and what you get may not be current. You can tell by 
looking at the date on INDEX[-5]. If the script is working, the date 
will be less than an hour old. 

I generate all of my local ones on a test machine and it doesn't matter 
if I fetch or make the INDEX. I can make almost as fast as I can fetch. 
FreeBSD.org is a busy site and the transfer rate may not be that fast 
at times. I also back up and compress the old INDEX and keep about 5 
previous days worth. Bz2 will compress a 5.5 MB INDEX file into 548 KB 
file. The port update is a cronjob and I had been without a working 
INDEX on those rare occasions when make index totally fails. The backup 
copies make that more difficutl to happen.

Kent


  Kent
 
   So I was kinda right. A little :)
  
Kent
  
   Matt

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl-tk no longer working

2004-06-23 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Bill Campbell wrote:
On Mon, Jun 21, 2004, Heinrich Rebehn wrote:
Hi list,
I rolled my own perl-tk script for adding/removing users on our 
cluster and it has been running fine for some years now.
But when i wanted to use it today, it died with:

My SWAG is that you've updated perl recently, but not updated the 
perl::Tk
modules.  Running two versions of perl on the same machine is possible 
(we
do it under the OpenPKG.org packagement system all the time), but can
easily lead to problems like this.


[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Atom id in failed request:  0x1a6
Serial number of failed request:  12
Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am 
logged in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich

Problem solved: It was not the perl upgrade, it is the X server which is 
to blame. I recently upgraded the Linux installation on my workstation 
and there seems to be a problem with xfree there. I did not get 
suspicious until i tried running the script under Linux and got exactly 
the same error message. Moving to another workstation with a different 
version of xfree solved the problem.

Just for the records: There seems to be a problem with SSH's X11 
redirection. If i use the (not recommended)

linuxhost $ xhost +freebsdhost
ssh [EMAIL PROTECTED]
freebsdhost # export DISPLAY=linuxhost:0
freebsdhost # usrmgr/usrmgr.pl
to have my perlTk script displaying on my Linux workstation, it works. 
If i login with

linuxhost $ ssh -X [EMAIL PROTECTED]
freebsdhost # usrmgr/usrmgr.pl
i get the above error.
This is of course a problem with Linux's ssh client - i am posting this 
only in case someone else encounters this problem.

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


I messed up, removed /usr/X11R6/lib

2004-06-23 Thread Andreas Davour

Hi.

Apart from the obvious answer to use the backup, is there any way to get
it all back in /usr/X11R6/lib after you did a 'rm -fr' to many?

I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped
would pull back in all needed stuff. But, now X complains about some
missing parts which I don't know where they come from. Anyone know how I
can get it all back?

The Errors:
(EE) Failed to load module bitmap (module does not exist, 0)
(EE) Failed to load module pcidata (module does not exist, 0)

Where do I find them?

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


Re: I messed up, removed /usr/X11R6/lib

2004-06-23 Thread Erik Trulsson
On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote:
 
 Hi.
 
 Apart from the obvious answer to use the backup, is there any way to get
 it all back in /usr/X11R6/lib after you did a 'rm -fr' to many?
 
 I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped
 would pull back in all needed stuff. But, now X complains about some
 missing parts which I don't know where they come from. Anyone know how I
 can get it all back?
 
 The Errors:
 (EE) Failed to load module bitmap (module does not exist, 0)
 (EE) Failed to load module pcidata (module does not exist, 0)
 
 Where do I find them?

Those two come from the x11-server/XFree86-4-Server port, but there are
*lots* of programs that install files under /usr/X11R6/lib - most programs
that use X and install shared libraries put the libraries there, for
example, so be prepared for more problems appearing.

Restoring from backups sounds like a good idea.  The other possibility
is to reinstall all programs you have.
Personally I would first get a list of all ports installed (using
pkg_info(1), then delete all ports (using pkg_delete '*' and then
install all wanted ports from scratch (after doing a rm -fr /usrX11R
/usr/local to make sure no files were left.)
This will take some time, so if you have good backups you should
probably use them.

It is of course not strictly necessary to reinstall all ports, just
those who had files installed unser /usr/X11R6/lib, and you could
probably get away by just doing a 'make reinstall' for each of them
rather than deleting them first, but by deleting and installing all
ports you minimize the risk for having problems with ports only having
half of their files installed, or missing some port.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to turn your Perl programs into standalone executables

2004-06-23 Thread Sex Maniac
Hi just want to ask, if I have a perl program, and I
want to turn it into standalone executables/binary.
Question is how ? What programs/packages/ports I must
use ?

Usually in windows98, I can use PerlApp to Turn your
Perl programs into standalone executables (.exe)

I don't want my users can see the source program in
.pl
I want my source program is hidden from user and the
others administrators. So I need the executable
file/binary file only.

Please help.

Thx before

Regards,

-Galon Aerosmith-




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: perl-tk no longer working

2004-06-23 Thread Heinrich Rebehn
Heinrich Rebehn wrote:
Heinrich Rebehn wrote:
Bill Campbell wrote:
On Mon, Jun 21, 2004, Heinrich Rebehn wrote:
Hi list,
I rolled my own perl-tk script for adding/removing users on our 
cluster and it has been running fine for some years now.
But when i wanted to use it today, it died with:


My SWAG is that you've updated perl recently, but not updated the 
perl::Tk
modules.  Running two versions of perl on the same machine is 
possible (we
do it under the OpenPKG.org packagement system all the time), but can
easily lead to problems like this.


[EMAIL PROTECTED] [~] # usrmgr/usrmgr.pl
[the usual messages about unused variables]
X Error of failed request:  BadAtom (invalid Atom parameter)
Major opcode of failed request:  18 (X_ChangeProperty)
Atom id in failed request:  0x1a6
Serial number of failed request:  12
Current serial number in output stream:  15
I have no clue what this could be. Other X11 apps run fine. I am 
logged in via ssh -X.
Versions:
FreeBSD 5.2.1-RELEASE-p8
p5-Tk-804.027
perl-5.6.1_15   Practical Extraction and Report Language
perl-5.8.4  Practical Extraction and Report Language

2 versions of perl? Is this ok?
Does anyone have an idea?
Regards,
Heinrich

Problem solved: It was not the perl upgrade, it is the X server which 
is to blame. I recently upgraded the Linux installation on my 
workstation and there seems to be a problem with xfree there. I did 
not get suspicious until i tried running the script under Linux and 
got exactly the same error message. Moving to another workstation with 
a different version of xfree solved the problem.

Just for the records: There seems to be a problem with SSH's X11 
redirection. If i use the (not recommended)

linuxhost $ xhost +freebsdhost
ssh [EMAIL PROTECTED]
freebsdhost # export DISPLAY=linuxhost:0
freebsdhost # usrmgr/usrmgr.pl
to have my perlTk script displaying on my Linux workstation, it works. 
If i login with

linuxhost $ ssh -X [EMAIL PROTECTED]
freebsdhost # usrmgr/usrmgr.pl
i get the above error.
This is of course a problem with Linux's ssh client - i am posting this 
only in case someone else encounters this problem.

--Heinrich
This will hopefully be the last update: use the -Y flag for newer ssh 
versions, and the problems are solved.

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


Re: I messed up, removed /usr/X11R6/lib

2004-06-23 Thread Andreas Davour
On Wed, 23 Jun 2004, Erik Trulsson wrote:

 On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote:
 
  Hi.
 
  Apart from the obvious answer to use the backup, is there any way to get
  it all back in /usr/X11R6/lib after you did a 'rm -fr' to many?
 
  I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped
  would pull back in all needed stuff. But, now X complains about some
  missing parts which I don't know where they come from. Anyone know how I
  can get it all back?
 
  The Errors:
  (EE) Failed to load module bitmap (module does not exist, 0)
  (EE) Failed to load module pcidata (module does not exist, 0)
 
  Where do I find them?

 Those two come from the x11-server/XFree86-4-Server port, but there are
 *lots* of programs that install files under /usr/X11R6/lib - most programs
 that use X and install shared libraries put the libraries there, for
 example, so be prepared for more problems appearing.

Ok, XFree86-4-Server it was. X started working after I reinstalled that
one. Thanks. I guess problems will appear later on, but at least X is
working right now and KDE don't seem to be broken. Hopefully after a few
cvsup's I will be back were I started.

 Restoring from backups sounds like a good idea.  The other possibility
 is to reinstall all programs you have.

The latter sounds triesome. I remember how long time it took to compile
OpenOffice and all of KDE, even om my 1200MHz machine.

I will seriously look at the idea of wiping my labsystem and use that disk
for backups instead.

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


Re: I messed up, removed /usr/X11R6/lib

2004-06-23 Thread Erik Trulsson
On Wed, Jun 23, 2004 at 11:39:22AM +0200, Andreas Davour wrote:
 On Wed, 23 Jun 2004, Erik Trulsson wrote:
 
  On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote:
  
   Hi.
  
   Apart from the obvious answer to use the backup, is there any way to get
   it all back in /usr/X11R6/lib after you did a 'rm -fr' to many?
  
   I have reinstalled the /usr/ports/x11/XFree86-4 port which I had hoped
   would pull back in all needed stuff. But, now X complains about some
   missing parts which I don't know where they come from. Anyone know how I
   can get it all back?
  
   The Errors:
   (EE) Failed to load module bitmap (module does not exist, 0)
   (EE) Failed to load module pcidata (module does not exist, 0)
  
   Where do I find them?
 
  Those two come from the x11-server/XFree86-4-Server port, but there are
  *lots* of programs that install files under /usr/X11R6/lib - most programs
  that use X and install shared libraries put the libraries there, for
  example, so be prepared for more problems appearing.
 
 Ok, XFree86-4-Server it was. X started working after I reinstalled that
 one. Thanks. I guess problems will appear later on, but at least X is
 working right now and KDE don't seem to be broken. Hopefully after a few
 cvsup's I will be back were I started.
 
  Restoring from backups sounds like a good idea.  The other possibility
  is to reinstall all programs you have.
 
 The latter sounds triesome. I remember how long time it took to compile
 OpenOffice and all of KDE, even om my 1200MHz machine.

Yeah, those are well-known for taking forever to compile.
I think you might be in luck with KDE since that seems to put its files
under /usr/local (while GNOME programs tend to put their files under /usr/X11R6).
I don't know where OpenOffice installs to.

 
 I will seriously look at the idea of wiping my labsystem and use that disk
 for backups instead.

Backups are always a good idea.  I really should start making backups
myself.


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Simon Dick
Try perlcc

On Wed, 23 Jun 2004 02:08:57 -0700 (PDT), Sex Maniac
[EMAIL PROTECTED] wrote:
 
 Hi just want to ask, if I have a perl program, and I
 want to turn it into standalone executables/binary.
 Question is how ? What programs/packages/ports I must
 use ?
 
 Usually in windows98, I can use PerlApp to Turn your
 Perl programs into standalone executables (.exe)
 
 I don't want my users can see the source program in
 .pl
 I want my source program is hidden from user and the
 others administrators. So I need the executable
 file/binary file only.
 
 Please help.
 
 Thx before
 
 Regards,
 
 -Galon Aerosmith-
 
 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - 100MB free storage!
 http://promotions.yahoo.com/new_mail
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Juho Vuori
Hello,
Sex Maniac wrote:
Hi just want to ask, if I have a perl program, and I
want to turn it into standalone executables/binary.
Question is how ? What programs/packages/ports I must
use ?
 

First add a line
#!/usr/bin/perl
as the very first line of your perl program. Without indenting or 
anything. /usr/bin/perl is the default location for freebsd perl 
interpreter, but you should check, (run command 'which perl')  In case 
your perl interpreter is located in /usr/local/bin/perl or something 
else, you must change the line accordingly.

Then say
chmod 755 myprogram.pl
and your program runs nicely by just typing its name. Of course it has 
to be in your command path. From current working directory you can't run 
programs just like that, say ./myprogram.pl instead.

Juho
Usually in windows98, I can use PerlApp to Turn your
Perl programs into standalone executables (.exe)
I don't want my users can see the source program in
.pl
I want my source program is hidden from user and the
others administrators. So I need the executable
file/binary file only.
Please help.
Thx before
Regards,
-Galon Aerosmith-
	
		
__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Andy Harrison
On Wed, 23 Jun 2004 02:08:57 -0700 (PDT), Sex Maniac
[EMAIL PROTECTED] wrote:
 
 Hi just want to ask, if I have a perl program, and I
 want to turn it into standalone executables/binary.
 Question is how ? What programs/packages/ports I must
 use ?
 
 Usually in windows98, I can use PerlApp to Turn your
 Perl programs into standalone executables (.exe)
 
 I don't want my users can see the source program in
 .pl
 I want my source program is hidden from user and the
 others administrators. So I need the executable
 file/binary file only.


man perlcc

Note that, regardless of platform, compiling your perl apps to hide
something is a very bad idea.  It is very easy to run it through
/usr/bin/strings and see bits and pieces of an executable file of any
type.  With the proper tools, one could even run a disassembler on it.

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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Juho Vuori
Oops, it seems I didn't really answer your question but something else. 
I should learn to read before experimenting with writing. Sorry.

Juho
Juho Vuori wrote:
Hello,
Sex Maniac wrote:
Hi just want to ask, if I have a perl program, and I
want to turn it into standalone executables/binary.
Question is how ? What programs/packages/ports I must
use ?
 

First add a line
#!/usr/bin/perl
as the very first line of your perl program. Without indenting or 
anything. /usr/bin/perl is the default location for freebsd perl 
interpreter, but you should check, (run command 'which perl')  In case 
your perl interpreter is located in /usr/local/bin/perl or something 
else, you must change the line accordingly.

Then say
chmod 755 myprogram.pl
and your program runs nicely by just typing its name. Of course it has 
to be in your command path. From current working directory you can't 
run programs just like that, say ./myprogram.pl instead.

Juho
Usually in windows98, I can use PerlApp to Turn your
Perl programs into standalone executables (.exe)
I don't want my users can see the source program in
.pl
I want my source program is hidden from user and the
others administrators. So I need the executable
file/binary file only.
Please help.
Thx before
Regards,
-Galon Aerosmith-

   
__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
 

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

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


Re: three libtools - portupgrade question

2004-06-23 Thread Ben Paley
On Tuesday 22 June 2004 23:57, Dan Nelson wrote:
 In the last episode (Jun 22), Ben Paley said:
  I've got three versions of libtool on my system:
 
  bash-2.05b$ pkg_info | grep libtool
  libtool-1.3.5_2 Generic shared library support script (version 1.3)
  libtool-1.4.3_2 Generic shared library support script
  libtool-1.5 Generic shared library support script
  bash-2.05b$
 
  Does it need to be like that? or can I safely do something like

 They are all independent ports and don't conflict.  Ideally all ports
 would require 1.5.  You can safely delete 1.3 and 1.4, and if you
 install a port that depends on one of the older versions, it'll just
 reinstall it.

Thanks a lot, I'll do that.

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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Sex Maniac
--- Andy Harrison [EMAIL PROTECTED] wrote:
 man perlcc
 
Gee, thanks, Sir.

 Note that, regardless of platform, compiling your
 perl apps to hide
 something is a very bad idea.  It is very easy to
 run it through
 /usr/bin/strings and see bits and pieces of an
 executable file of any
 type.  With the proper tools, one could even run a
 disassembler on it.
 
Oh I see.
I will remember your advices.
Thanks again, all.

Regards,

Galon Aerosmith



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Questions about Hauppauge WinTV 350

2004-06-23 Thread Yaraghchi, Stephan
 --
 
 Message: 17
 Date: Wed, 23 Jun 2004 12:56:26 +0930
 From: Greg 'groggy' Lehey [EMAIL PROTECTED]
 Subject: Questions about Hauppauge WinTV 350
 To: FreeBSD Questions [EMAIL PROTECTED], [EMAIL PROTECTED]
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii
 
 A number of software products use the Hauppauge WinTV 350 Personal
 Video Recorder (what a stupid name!).  I've been planning to get one
 for some time, but here in Australia the prices are ridiculous (more
 than double what they are nearly anywhere else).  So I've decided to
 have one sent from overseas.
 
 Question: are all WinTV 350s the same?  In Australia we have the same
 standards as in most of Europe (PAL, not NTSC), and the tuner
 frequencies are also the same as those in Europe.  If I buy a card in
 the USA, will it work here, or are there two different kinds of card,
 depending on where they're sold?
 
 The web site is not of much help.  To help me decide, it would be nice
 to hear from somebody with experience with the cards who can tell me a
 definite answer to at least one of these questions:
 
 * Are there separate versions for different countries?
 * Does the device you have support both PAL and NTSC?
 * Does the tuner on your device support both European and US
   frequencies?
 * What kind of antenna connector does your card have?  US TVs tend to
   have a screw-on connector, while European one tend to have a push-on
   connector.
 
 Other information, in particular where I can get them cheap, would
 also be appreciated.
 
 Thanks in advance
 Greg
 --
 When replying to this message, please copy the original recipients.
 If you don't, I may ignore the reply or reply to the original 
 recipients.
 For more information, see http://www.lemis.com/questions.html
 Note: I discard all HTML mail unseen.
 Finger [EMAIL PROTECTED] for PGP public key.
 See complete headers for address and phone numbers.
 -- next part --
 A non-text attachment was scrubbed...
 Name: not available
 Type: application/pgp-signature
 Size: 187 bytes
 Desc: not available
 Url : 
 http://lists.freebsd.org/pipermail/freebsd-questions/attachmen
ts/20040623/c3b2e14b/attachment-0001.bin
 
 --


Hi Greg,

I searched the German web page of Hauppauge
(http://www.hauppauge.de/) for answers to your questions:
There's nothing mentioned about the tuner part.
But this card also features MPEG2 encoder hardware that's
capable of encoding an NTSC signal.

On the page there's a reg file
(http://www.hauppauge.de/files/pvr2_pal_ntsc.zip) to apply
the correct parameters to the Windows registry.
Actually I have no clue how to put this into effect on a
FreeBSD machine.

Maybe you should ask the manufacturer directly...
([EMAIL PROTECTED])

You mentioned that standards in Europe are the same.
Why don't you order the card in Germany for example.
Try to consult http://www.preissuchmaschine.de to find
a dealer offering a reasonable price.
As of today the cheapest offer I found was around EUR 165,--
(about AUD 290,--)

Greetings,

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


Re: [OT] Re: What's the best possible email failover solution

2004-06-23 Thread Jan Grant
On Tue, 22 Jun 2004, Bill Moran wrote:

 The other option is to take what appears to be the best IMAP server out
 there (Cyrus) and figure out a way to do real-time mirroring of the
 mailboxes.  I was wondering if it could be done with Coda, but I don't
 know anything about Coda, and it doesn't look like I'll have time to
 experiment in the near future.

A previous responder to this thread has already pointed at the cam.ac.uk
work which offers transactional replication for fast fail-over.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
Impact of vulnerability: Run code of an attacker's choice
 Maximum Severity Rating: Moderate -- M$ security bulletin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread Warren Block
On Wed, 23 Jun 2004, Sex Maniac wrote:
I don't want my users can see the source program in
.pl
I want my source program is hidden from user and the
others administrators. So I need the executable
file/binary file only.
perldoc -q hide
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X via ssh to HP-UX problem

2004-06-23 Thread Malcolm Kay
Hi,
At work I have been using ssh for X connections between FreeBSD an linux 
machines without problems.

Meanwhile X connections to a HP machine 'HP-UX hphendon B.10.20 A 9000/735' 
on the network have been established using classical 'rsh' with 'xhost'
authentication because the HP-UX system did not have ssh installed.

I recently installed openssh-3.7.1p2 on the HP and as a simple terminal 
connection this seems to work OK. But if I try to tunnel X through ssh
I have problems -- the connection is rejected.

From one of the FreeBSD machines (FBSD 4.9) issuing the command:
$ ssh -v -X -f hphendon xterm
yields debug information including the following lines:-

  debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
  debug1: client_request_x11: request from 127.0.0.1 1419
  debug1: fd 4 setting TCP_NODELAY
  debug1: fd 4 setting O_NONBLOCK
  debug1: channel 1: new [x11]
  debug1: confirm x11
  debug1: X11 connection uses different authentication protocol.
  X11 connection rejected because of wrong authentication.
  debug1: X11 rejected 1 i0/o0

I assume X11 connection uses different authentication protocol is at the
core of the problem -- but what does it really mean? Is there a way around
the problem? Must I go back to the classical insecure xhost approach?

Yes, I did enable X11 in sshd_config on the HP.

X on the HP is based on X consortium rather than XFree -- can this
be significant?

An X connection can be established in the other direction without problem.

I would appreciate any thoughts on this matter.

Malcolm Kay

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


Re: help!

2004-06-23 Thread ORACLE .
hey thanx man you was a big help.Can you help me with
another thing.I am having problems with my sound card 
i have recompiled my kernel with pcm and the sound
card is working ok but the sound quality is not
good.my sound card is ES1938 can you tell me how can i
get its drivers or how can i correct the sound card



__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with Remote Kernel Debugging on the 5.2.1 Kernel

2004-06-23 Thread Mark Teel
It is serial debugging, as described in the Developer's Handbook.
I have set up the same remote debugging environment in linux using 
gdb/ddd with success.  Further, the Interrupt button in ddd is ^C, and 
in gdb ^C is what is used to break execution, at least in past 
experience in linux.

How would I send a BREAK, and how would one setup ddd to use that 
instead of ^C?  That should definitely be addressed in the developer's 
handbook if it is non-standard for FreeBSD.

Thanks,
Mark

John E Hein wrote:
Mark Teel wrote at 19:48 -0500 on Jun 22, 2004:
 I have configured remote kernel debugging as prescribed in the 
 developer's handbook.

 I am able to step through code, but once I enter cont in gdb on the 
 debug machine, I cannot ever interrupt or break the target kernel 
 execution.  It is as if the Ctrl-C character is being ignored on the 
 target.  The target kernel was built with the ddb and -g options set, 
 using config -g as well.
 
 Has anyone seen such a problem?  This is the last hurdle before I can 
 start debugging my wireless device driver.

If you mean serial debugging, you use the serial BREAK, not ctrl-c.
If you are connecting using tip, you use ~# to send a break (man tip).
 

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


Re: Autoheader problem

2004-06-23 Thread Bill Moran
Bernt. H [EMAIL PROTECTED] wrote:
 Hello!
 
 Trying to build a program from source but I can't.
 
 # gmake
 +==+
 | --- GETTING READY TO BUILD - |
 +==+
 | SuckMT 0.55 - A Multi Threaded suck replacement  |
 | (C)2003 by Niels Basjes - http://niels.basjes.nl |
 | http://oss.basjes.nl/SuckMT/ |
 +--+
 | SuckMT may be used under the GNU Public Licence. |
 +==+
 
 Available targets to build:
 - all : Just build it all.
 - install : Build and install.
 - debug   : ENABLE  source debugging for all following compile sessions.
 - nodebug : DISABLE source debugging for all following compile sessions.
 - dist: Create a suckmt-0.55.tar.gz source distribution.
 - rpm : Create an RPM and SRPM for suckmt.
 
 autoheader
 gmake: autoheader: Command not found
 gmake: *** [config.h.in] Error 127

autoheader is part of the automake suite of tools.  Do you have them installed?
If so, make sure they're accessable in your path.

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


RH 7.3 to FBSD Question...

2004-06-23 Thread Peter Schulz
Hello, I am looking to free myself of the RH death spiral... I currently use their 
version of software RAID (RAID 1) I could not find anything like this in your docs.. 
any direction Y'all can give?
Thanks!
Peter H. Schulz
LocalToolbox Corp.
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Utility to guess a remote hosts operating system?

2004-06-23 Thread Edd

My question is:

Does such a utility exist? I know nmap can guess os, but it takes a few
seconds and a port scan is needed first. Is there just a simply util
that can tell me without the port scan?

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


Re: RH 7.3 to FBSD Question...

2004-06-23 Thread Bill Moran
Peter Schulz [EMAIL PROTECTED] wrote:
 Hello, I am looking to free myself of the RH death spiral... I currently use
 their version of software RAID (RAID 1) I could not find anything like this
 in your docs.. any direction Y'all can give?

[Please wrap your lines around 72 chars]

Look up Vinum.  The handbook section is fairly nice:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html

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


Re: Soundcard woes (was: help!)

2004-06-23 Thread Simon Barner
 hey thanx man you was a big help.Can you help me with
 another thing.I am having problems with my sound card 
 i have recompiled my kernel with pcm and the sound
 card is working ok but the sound quality is not
 good.

Don't know, I'm affraid. Perhaps manually assigning its interupt
(in the BIOS) helps. Have a look at `dmesg' and see whether there are
conflicts with other cards.

 my sound card is ES1938 can you tell me how can i
 get its drivers or how can i correct the sound card

No need to get drivers -- they come with FreeBSD (don't know about
commercial solutions and whether they are necessary, though).

In any case you will have to provide more information if you want
somebody to help you, e.g. a dmesg would be fine.

Simon


signature.asc
Description: Digital signature


Re: Autoheader problem

2004-06-23 Thread Bernt. H
Bill Moran wrote:
 autoheader is part of the automake suite of tools.  Do you have them 
installed?
 If so, make sure they're accessable in your path.


Ok. Fixed but now there is this.
gmake[1]: *** No rule to make target `.deps/wide_posix_api.Po'.  Stop.
I've used google to get some answers but ddid not find any.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How many hosts can utilize one NAT server?

2004-06-23 Thread Steve Bertrand

Minnesota Slinky said:
 I was wondering how many hosts can a single NAT server server?  I
 couldn't find it on the net, although I know it's there somewhere.

It really depends on a couple of things...

First, the horsepower of the box. If you want 1-10 users, an old pentium
90 will do just fine (from my experience), however with hundreds of users,
that just won't do.

Second, it depends on what IP addressing scheme you have used. For
instance, if you use 192.168.250.0/24, then that leaves you room for 253
clients. (.0 designates the network, .255 denotes the broadcast addr and 1
more IP is needed for the gateway itself).

If you use 172.16.0.0/16, then you have room for ~65,000 clients. I don't
know if FBSD and natd can scale that high (perhaps due to hardware
limitations), but that's the theory.

I've used a FBSD firewall against several thousands of users, however it
was not running natd, just IPFW. It's a P2, 1.7Ghz with 1024M of memory.

Hope this is what you are looking for.

Steve


 Eric F Crist
 President
 AdTech Integrated Systems, Inc
 (612) 998-3588


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



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


md5 of a filesystem / verifying filesystem integrity after dump/restore operation

2004-06-23 Thread Ruben Bloemgarten
Hi all,

Does someone know how to reliably run a checksum of sorts on a filesystem,
to be able 

to verify filesystem integrity after a restore from dump level 0 has
occurred?

 

Thanks,

Ruben 

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


Re: How many hosts can utilize one NAT server?

2004-06-23 Thread Chris Keladis
On Tue, 22 Jun 2004 17:38:44 -0500, Minnesota Slinky 

[EMAIL PROTECTED] wrote:
 
 I was wondering how many hosts can a single NAT server server?  I
 couldn't find it on the net, although I know it's there somewhere.

This would depend on the type of NAT being done, ie 1:1 static or PAT
(aka overloading).

If the latter, you can only support (around) 65,535 sessions or the
size of a 16bit port number.




Regards,

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


Re: md5 of a filesystem / verifying filesystem integrity after

2004-06-23 Thread Jerry McAllister
 
 Hi all,
 
 Does someone know how to reliably run a checksum of sorts on a filesystem,
 to be able 
 
 to verify filesystem integrity after a restore from dump level 0 has
 occurred?

Unless you made a checksum of everything before doing the dump
and made absolutely no changes, there is no way that I know of.

Even some little things such as block arrangements being a little different
after a restore - irrelevant to the integrity of the files - would
make a checksum come out differently if the whole filesystem were
checksummed.

You can do an fsck(8) and see if there are any problems in file
pointers.But, that is hardly worth bothering with since it
is done at boot time anyway and it doesn't check the content of
the files, only the pointers/chains.   

On some versions of dump either older or from other sources (vendors)
dump had a verify flag that would read back everything and check it 
with what is on disk.   I don't see it in FreeBSD's dump.  Anyway, it
was almost useless since the system would have to be down for the whole
dump and the whole verify pass.   Most people do dumps with the system
up and running and in this case the files can change during the dump
and verify times, thus making verify always fail.  It is a rare system
that can afford to be down long enough to do even a single user mode
dump, let alone adding on the verify.So, it doesn't surprise me to
see that option gone.

jerry

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


Re: NVidia Riva TNT2 64 ?

2004-06-23 Thread Vince Hoffman


On Wed, 23 Jun 2004, Brian Astill wrote:

 FWIW, I have that card and it seems to work just fine using the nv
 driver.
 When you are given choices in the helper programs for XFree86 setup,
 just choose the nearest descrptor you can find which uses that nv
 driver.

 You could also write that nv manually into your XF86Config file, if
 you prefer.

Also the nvidia-driver from ports works well with it.

---XF86Config snippet---
Section Device

Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
BoardName   NV5 [RIVA TNT2/TNT2 Pro]
BusID   PCI:1:0:0
EndSection
-- End XF86Config snippet---



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

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


Re: Utility to guess a remote hosts operating system?

2004-06-23 Thread Jan Grant
On Wed, 23 Jun 2004, Edd wrote:

 My question is:

 Does such a utility exist? I know nmap can guess os, but it takes a few
 seconds and a port scan is needed first. Is there just a simply util
 that can tell me without the port scan?

How would that operate? Some kind of network fingerprinting is required.
If you can narrow down the parameters of your question (eg: I have a
network of windows machines and I'd like to figure out exact versions on
each one) then you might have more luck.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
__/\/\_/\/|_ flatline
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Network configuratin issue

2004-06-23 Thread Paul Prinsloo (TEBiVO)
Good day

 

I've worked through the FreeBSD document, searching for a method to
assigning one IP address to two physical NICs on the same subnet.
Currently I'm a support administrator working on Tru64 UNIX systems, but
every now and then I need to lend a hand to the FreeBSD staff, and my
knowledge falls a little short here. 

 

In Tru64, this is accomplished with Link Aggregation or lagconfig. I've
searched high and low for a way of doing the same on a FreeBSD system,
version 4.9, but to no avail. Any assistance or direction given as to
how I can go about this, would truly be appreciated. 

 

Kind regards

Paul

 

PS. The online document I would like to complement the organization on.
It is well written, highly informative and truly clear and precise. I
wish others would conform to such a high degree of quality.

 

 

Paul Prinsloo 

TEBiVO Business Continuity 
Cell: +27 84 357 4032
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
Tel: +27 21 940 9920 Fax: +27 21 888 7979 

 

Click here to view our e-mail legal notice: 
http://www.tebivo.com/email.htm http://www.tebivo.com/Email.htm  or
call: +27 21 888 7920 

 


“This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on 
this link http://www.vodacom.net/legal/email.asp 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5 of a filesystem / verifying filesystem integrity after

2004-06-23 Thread Bill Moran
Jerry McAllister [EMAIL PROTECTED] wrote:
  
  Hi all,
  
  Does someone know how to reliably run a checksum of sorts on a filesystem,
  to be able 
  
  to verify filesystem integrity after a restore from dump level 0 has
  occurred?

snip the potential problems with dump/md5

Could you use something like tripwire (which does an md5 of each file on the
filesystem and stores them in a database for later verification)?

I think tripwire only checks executable files, but the approach should work
with all files.

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


Re: Utility to guess a remote hosts operating system?

2004-06-23 Thread Remko Lodder
Jan Grant wrote:
On Wed, 23 Jun 2004, Edd wrote:

My question is:
Does such a utility exist? I know nmap can guess os, but it takes a few
seconds and a port scan is needed first. Is there just a simply util
that can tell me without the port scan?

How would that operate? Some kind of network fingerprinting is required.
If you can narrow down the parameters of your question (eg: I have a
network of windows machines and I'd like to figure out exact versions on
each one) then you might have more luck.
Hi Jan,Edd
Perhaps you mean something like:
p0f-2.0.3|/usr/ports/net-mgmt/p0f|/usr/local|Passive OS fingerprinting 
tool|/usr/ports/net-mgmt/p0f/pkg-descr|[EMAIL PROTECTED]|net-mgmt|||http://www.stearns.org/p0f/

Which was written by William Stearns (if you read this bill, HI!), and 
now maintained by Michal Zalewski (lcamtuf).

Try it ;-)
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5 of a filesystem / verifying filesystem integrity after

2004-06-23 Thread Remko Lodder
Bill Moran wrote:
Jerry McAllister [EMAIL PROTECTED] wrote:
Hi all,
Does someone know how to reliably run a checksum of sorts on a filesystem,
to be able 

to verify filesystem integrity after a restore from dump level 0 has
occurred?

snip the potential problems with dump/md5
Could you use something like tripwire (which does an md5 of each file on the
filesystem and stores them in a database for later verification)?
I think tripwire only checks executable files, but the approach should work
with all files.
Hey Bill, Jerry,
You can also use AIDE for that... :-) and indeed tripwire
--
Kind regards,
Remko Lodder   |[EMAIL PROTECTED]
Reporter DSINet|[EMAIL PROTECTED]
Projectleader Mostly-Harmless  |[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5 of a filesystem / verifying filesystem integrity after dump/restore operation

2004-06-23 Thread Jan Grant
On Wed, 23 Jun 2004, Ruben Bloemgarten wrote:

 Hi all,

 Does someone know how to reliably run a checksum of sorts on a filesystem,
 to be able

 to verify filesystem integrity after a restore from dump level 0 has
 occurred?

Tripwire and its ilk live in the ports system. The base system utility,
mtree, also has this capability, although you'll have to fiddle with
its options to get it to work.


-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/
You see what happens when you have fun with a stranger in the Alps?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RH 7.3 to FBSD Question...

2004-06-23 Thread Nico Meijer
Hi Peter,
Hello, I am looking to free myself of the RH death spiral...
Ooh, you'll be glad you did[*]. :-)
I currently use their version of software RAID (RAID 1) I could not find anything like this in your docs.. any direction Y'all can give?
It's there allright:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/vinum-vinum.html
Plus: http://www.freebsd.org/cgi/man.cgi
Yes, read the Handbook. Do it now. Read it all.
Consider using 'real' hardware RAID, would be my advice. Not that 
software RAID in itself is bad, but you'll save yourself a lot of time 
and trouble trying to get stuff right...

Even buying an el cheapo Promise FastTrack (haven't touched Highpoint) 
will make sure your hair remains as it is.

If you do choose software RAID, please supply 'before' and 'after' 
photographs, if only to prove my point. ;-)

[*] I don't consider RedHat evil at all; it's just that *BSD to me is 
*so* much better than any Linux distro I've encountered.

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


Re: md5 of a filesystem / verifying filesystem integrity after

2004-06-23 Thread Jerry McAllister
 
 Jerry McAllister [EMAIL PROTECTED] wrote:
   
   Hi all,
   
   Does someone know how to reliably run a checksum of sorts on a filesystem,
   to be able 
   
   to verify filesystem integrity after a restore from dump level 0 has
   occurred?
 
 snip the potential problems with dump/md5
 
 Could you use something like tripwire (which does an md5 of each file on the
 filesystem and stores them in a database for later verification)?
 
 I think tripwire only checks executable files, but the approach should work
 with all files.

But, of course, you still would have to have all the checksums done
before the dump was done (or at least before a disk failed or was otherwise
smotched) if you wanted to verify a restore.

jerry

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

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


Autoreply from avsgsa

2004-06-23 Thread avsgsa
Please note that our new email address is [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuratin issue

2004-06-23 Thread Matthew Seaman
On Wed, Jun 23, 2004 at 04:04:25PM +0200, Paul Prinsloo (TEBiVO) wrote:

 I've worked through the FreeBSD document, searching for a method to
 assigning one IP address to two physical NICs on the same subnet.
 Currently I'm a support administrator working on Tru64 UNIX systems, but
 every now and then I need to lend a hand to the FreeBSD staff, and my
 knowledge falls a little short here. 
 
 In Tru64, this is accomplished with Link Aggregation or lagconfig. I've
 searched high and low for a way of doing the same on a FreeBSD system,
 version 4.9, but to no avail. Any assistance or direction given as to
 how I can go about this, would truly be appreciated. 

NetGraph is your friend.  Start by reading the ng_one2many(1) man
page.  Then look at netgraph(4), ngctl(8), ng_hook(8).  Note that
ng_one2many is designed to give you the agregate bandwidth of several
NICs -- not to provide resilient network connectivity.

There is also an undocumented ng_fec module which does ethernet
channel bonding using Cisco's Fast EtherChannel mechanism, but you'll
have to use the source to work out how to use it.

If you actually want resilience rather than bandwidth, then take a
look at the net/freevrrpd port.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgplmP6WQUQUM.pgp
Description: PGP signature


Re: Network configuratin issue

2004-06-23 Thread Dan Nelson
In the last episode (Jun 23), Paul Prinsloo (TEBiVO) said:
 I've worked through the FreeBSD document, searching for a method to
 assigning one IP address to two physical NICs on the same subnet.
 Currently I'm a support administrator working on Tru64 UNIX systems,
 but every now and then I need to lend a hand to the FreeBSD staff,
 and my knowledge falls a little short here.
 
 In Tru64, this is accomplished with Link Aggregation or lagconfig.
 I've searched high and low for a way of doing the same on a FreeBSD
 system, version 4.9, but to no avail. Any assistance or direction
 given as to how I can go about this, would truly be appreciated.

It can be done with netgraph and either the nc_fec or ng_one2many
nodes. ng_one2many is documented, but does not do link failure
detection and always uses roundrobin delivery (which may result in
out-of-order packets).  ng_fec's output hash can be either on MAC
address or IP address.  Neither node sends LACP or PAgP packets so you
must manually configure the switch at the other end.  The only
documentation for ng_fec is in the orignal maililnglist announcement at

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=448009+0+archive/2001/freebsd-net/20010211.freebsd-net

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


Re: Migrating cvs repositories from Linux to FreeBSD

2004-06-23 Thread Dan Nelson
In the last episode (Jun 22), [EMAIL PROTECTED] said:
 I got two hosts with the following specs: 
 
 The oldhost is running Mandrake Linux 8.2 version 2.4.18-6mdk 
 and newhost is running FreeBSD 5.2.1-RELEASE. 
 
 The cvs versions on these hosts are:
 
 oldhost# cvs -v
 Concurrent Versions System (CVS) 1.11.1p1 (client/server)
 
 newhost# /usr/local/sbin/cvsd --version
 cvsd 1.0.0

5.2.1 came with cvs 1.11.5, I think.  cvsd should be transparent to the
client and server.

 Now only concern is how to migrate or move the cvs repositories from 
 the oldhost [Linux] to newhost [FreeBSD]. 
 
 The steps, I think, may be involve to accomplish this task are:
 
 1. make identical user accounts on newhost as oldhost ones
 2. announce to users and  stop the cvs server on oldhost
 3. on oldhost, backup the CVSROOT 
 4. on newhost, restore the CVSROOT
 5. start the cvs server on newhost
 6. point the users to start using newhost for checkin/checkout stuff
 
 Is this a valid sequence? Am I missing any point? Would there be 
 inconsitency as the cvs version are not same on these hosts?

That should work fine.  CVS has always used the same repository format
so version differences shouldn't matter. 

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


Re: Questions about Hauppauge WinTV 350

2004-06-23 Thread Andrew L. Gould
On Wed, Jun 23, 2004 at 12:56:26PM +0930, Greg 'groggy' Lehey wrote:
 A number of software products use the Hauppauge WinTV 350 Personal
 Video Recorder (what a stupid name!).  I've been planning to get one
 for some time, but here in Australia the prices are ridiculous (more
 than double what they are nearly anywhere else).  So I've decided to
 have one sent from overseas.
 
 Question: are all WinTV 350s the same?  In Australia we have the same
 standards as in most of Europe (PAL, not NTSC), and the tuner
 frequencies are also the same as those in Europe.  If I buy a card in
 the USA, will it work here, or are there two different kinds of card,
 depending on where they're sold?
 
 The web site is not of much help.  To help me decide, it would be nice
 to hear from somebody with experience with the cards who can tell me a
 definite answer to at least one of these questions:
 
 * Are there separate versions for different countries?
 * Does the device you have support both PAL and NTSC?
 * Does the tuner on your device support both European and US
   frequencies?
 * What kind of antenna connector does your card have?  US TVs tend to
   have a screw-on connector, while European one tend to have a push-on
   connector.
 
 Other information, in particular where I can get them cheap, would
 also be appreciated.
 
 Thanks in advance
 Greg
 --

I can't help with the regional issues or recording aspects; but I can tell you that 
the USB WinTV product was not detected by FreeBSD 4.9.  I haven't checked since then.

Best of luck,

Andrew Gould

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


MMS Notification

2004-06-23 Thread MMS Notifier
Following message contained an attachment that is suspicious or not
allowed.  The attachment was removed from the message.

Date : 06/23/2004, 10:42:44 AM 
Subject : Mail Delivery (failure [EMAIL PROTECTED])
From : [EMAIL PROTECTED]
To : [EMAIL PROTECTED]
Attachments : message.scr

The message specified below contained a virus and was NOT delivered to
the destination.

Date : 06/23/2004, 10:42:44 AM

Subject : Mail Delivery (failure [EMAIL PROTECTED])

Sender : [EMAIL PROTECTED]

Recipients : [EMAIL PROTECTED]

Attachments : message.scr

IM-R

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


Re: I messed up, removed /usr/X11R6/lib

2004-06-23 Thread epilogue
On Wed, 23 Jun 2004 11:44:56 +0200
Erik Trulsson [EMAIL PROTECTED] wrote:

 On Wed, Jun 23, 2004 at 11:39:22AM +0200, Andreas Davour wrote:
  On Wed, 23 Jun 2004, Erik Trulsson wrote:
  
   On Wed, Jun 23, 2004 at 10:34:02AM +0200, Andreas Davour wrote:
   
Hi.
   
Apart from the obvious answer to use the backup, is there any way
to get it all back in /usr/X11R6/lib after you did a 'rm -fr' to
many?
   
I have reinstalled the /usr/ports/x11/XFree86-4 port which I had
hoped would pull back in all needed stuff. But, now X complains
about some missing parts which I don't know where they come from.
Anyone know how I can get it all back?
   
The Errors:
(EE) Failed to load module bitmap (module does not exist, 0)
(EE) Failed to load module pcidata (module does not exist, 0)
   
Where do I find them?
  
   Those two come from the x11-server/XFree86-4-Server port, but there
   are*lots* of programs that install files under /usr/X11R6/lib - most
   programs that use X and install shared libraries put the libraries
   there, for example, so be prepared for more problems appearing.
  
  Ok, XFree86-4-Server it was. X started working after I reinstalled that
  one. Thanks. I guess problems will appear later on, but at least X is
  working right now and KDE don't seem to be broken. Hopefully after a
  few cvsup's I will be back were I started.
  
   Restoring from backups sounds like a good idea.  The other
   possibility is to reinstall all programs you have.
  
  The latter sounds triesome. I remember how long time it took to compile
  OpenOffice and all of KDE, even om my 1200MHz machine.
 
 Yeah, those are well-known for taking forever to compile.
 I think you might be in luck with KDE since that seems to put its files
 under /usr/local (while GNOME programs tend to put their files under
 /usr/X11R6). I don't know where OpenOffice installs to.
 

just a tad off topic...   whenever you're making those gargantuan ports, it
is a good idea to also make a package (for occasions just like this) and
keep it around until you update to the next version (and make another
package).

there is a tiny primer at
http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html

-
[snip]

% cd /usr/ports/www/lynx
% make package
% cd /usr/ports/mail/getmail
% make package

When you use make package, two things happen. One, a package is created and
stored in a subdirectory of /usr/ports/packages. Second, the port is
installed on the local machine, if it hasn't already been installed. If you
don't want to keep the application installed on the machine acting as the
package repository, simply type make deinstall once the package has been
created.

[snip]
-

hope this helps for next time.   ;)


  
  I will seriously look at the idea of wiping my labsystem and use that
  disk for backups instead.
 
 Backups are always a good idea.  I really should start making backups
 myself.
 
 
 -- 
 Insert your favourite quote here.
 Erik Trulsson
 [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


USB Tape Drive (Seagate Travan)

2004-06-23 Thread Duane Winner
Hello,
Has anybody out there ever had any experience and/or success with 
attaching a Seagate USB Travan Tape Drive to FreeBSD? (Or any USB tape 
drive for that matter?)

I plug it in, and FreeBSD detects it and brings up a 'Freecom USB-ATAPI' 
hardware on  /dev/ugen0.

However I don't see any ATAPI tape devices (/dev/ast*).
Am I just SOL or is there hope of getting it working? I don't see it (or 
any USB tape drive) listed on the FreeBSD supported hardware.

But I thought I would try anyway. If anybody has any success or just 
plain info on this, I would appreciate it.

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


Re: RH 7.3 to FBSD Question...

2004-06-23 Thread Jorge Mario G.
Hi there peter
FreeBSD 4-STABLE comes with vinum a volume manager
that does raid, it's integrated in FreeBSD but you can
get more info on www.vinum.org




Jorge


=


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


losing disk space

2004-06-23 Thread synrat
Filesystem Size   Used  Avail Capacity  Mounted on
/dev/vinum/data 67G   2.0K62G 0%/data
Does this look weird or what ??
This is a mirrored vinum volume created from 2 partitions fully taking 
up 2 73gb drives.  vinum shows this as 68gb volume, which I guess is ok 
considering kbmbgb calculation rip-off, but losing 10gb after newfsing 
is something new. The only other thing I did is turn on soft updates, 
but I wouldn't expect that too 'steal' 10 gb also. anyone  ?

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


Re: losing disk space

2004-06-23 Thread Mike Woods
synrat wrote:
Filesystem Size   Used  Avail Capacity  Mounted on
/dev/vinum/data 67G   2.0K62G 0%/data
Does this look weird or what ??
Nope, looks fine to me :)
This is a mirrored vinum volume created from 2 partitions fully taking 
up 2 73gb drives.  vinum shows this as 68gb volume, which I guess is 
ok considering kbmbgb calculation rip-off, but losing 10gb after 
newfsing is something new. The only other thing I did is turn on soft 
updates, but I wouldn't expect that too 'steal' 10 gb also. anyone  ?
5gb :)
UFS keep x% of the drive unavailable from anyone but root as part of the
filesystem optimisations, you can turn this off if you want with tunefs
but expect a performance hit from it.
Mike Woods
IT Technician
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: losing disk space

2004-06-23 Thread Bill Moran
synrat [EMAIL PROTECTED] wrote:
 Filesystem Size   Used  Avail Capacity  Mounted on
 /dev/vinum/data 67G   2.0K62G 0%/data
 
 Does this look weird or what ??
 
 This is a mirrored vinum volume created from 2 partitions fully taking 
 up 2 73gb drives.  vinum shows this as 68gb volume, which I guess is ok 
 considering kbmbgb calculation rip-off, but losing 10gb after newfsing 
 is something new. The only other thing I did is turn on soft updates, 
 but I wouldn't expect that too 'steal' 10 gb also. anyone  ?

While the question in this FAQ isn't the same question you're asking,
the answer is the same:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

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


RE: FreeBSD install on SCSI: Missing Operating System

2004-06-23 Thread Dan MacMillan
From: Jeremy Kister

 the whole installation process goes smooth, but upon reboot, I simply get
 'Missing Operating System'.

I usually see this sort of thing when I forget to remove a non-bootable
floppy from the drive.

--
Danny MacMillan

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


Re: Utility to guess a remote hosts operating system?

2004-06-23 Thread peter lageotakes
--- Jan Grant [EMAIL PROTECTED] wrote:
 On Wed, 23 Jun 2004, Edd wrote:
 
  My question is:
 
  Does such a utility exist? I know nmap can guess
 os, but it takes a few
  seconds and a port scan is needed first. Is there
 just a simply util
  that can tell me without the port scan?
 
 How would that operate? Some kind of network
 fingerprinting is required.
 If you can narrow down the parameters of your
 question (eg: I have a
 network of windows machines and I'd like to figure
 out exact versions on
 each one) then you might have more luck.
 
 -- 
 jan grant, ILRT, University of Bristol.
 http://www.ilrt.bris.ac.uk/
 Tel +44(0)117 9287088 Fax +44 (0)117 9287112
 http://ioctl.org/jan/

__/\/\_/\/|_
 flatline
 ___
 [EMAIL PROTECTED] mailing list

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

Passive OS fingerprinting tool
http://www.freebsd.org/cgi/ports.cgi?query=p0fstype=all

Here is a snip from the ports description:
Passive OS fingerprinting is based on information
coming from a remote host when it establishes a
connection to our system.  Captured packets contain
enough information to identify the operating system. 
In contrast to active scanners such as nmap and QueSO,
p0f does not send anything to the host being
identified.
Hope this helps



__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migrating cvs repositories from Linux to FreeBSD

2004-06-23 Thread Giorgos Keramidas
On 2004-06-23 10:03, Dan Nelson [EMAIL PROTECTED] wrote:
 In the last episode (Jun 22), [EMAIL PROTECTED] said:
  I got two hosts with the following specs:
 
  The oldhost is running Mandrake Linux 8.2 version 2.4.18-6mdk
  and newhost is running FreeBSD 5.2.1-RELEASE.
  [...]
  Now only concern is how to migrate or move the cvs repositories from
  the oldhost [Linux] to newhost [FreeBSD].
 
  Is this a valid sequence? Am I missing any point? Would there be
  inconsitency as the cvs version are not same on these hosts?

 That should work fine.  CVS has always used the same repository format
 so version differences shouldn't matter.

As a real world example of what can be done with CVS repository files,
here's a story of mine from a few days ago.

While at work, I started working on a local version of a program, say
`foobar', whose version control files were stored in `$CVSROOT/foobar'.

Locally, at the machine where the CVSROOT lived, I made a lot of changes
to the files.  The workstation I used runs Fedora Core/2.  I saved a
tarball of all the files in `$CVSROOT/foobar' and copied it to a remote
machine that runs FreeBSD.  Untarred the `foobar.tgz' tarball straight
into my new CVSROOT and checked it out like a charm :)

I know that this is not the right method of mirroring CVS repositories.
I'm the only person working on those files though and I only make
changes in one of the two CVS trees.  The other one is used as an
anoncvs access server.

So, what you're describing *does* work.

  The steps, I think, may be involve to accomplish this task are:
 
  1. make identical user accounts on newhost as oldhost ones
  2. announce to users and  stop the cvs server on oldhost
  3. on oldhost, backup the CVSROOT
  4. on newhost, restore the CVSROOT
  5. start the cvs server on newhost
  6. point the users to start using newhost for checkin/checkout stuff

That seems fine.  You can even insert a couple of rsync's among the
steps and let your users work uninterrupted while you're copying the
CVS tree.  Then announce that they have to switch their CVSROOT.

If anyone has checked out files that he hasn't committed, they can use
this small script on any checked out tree to change it's CVS/Root files
to point to the new CVSROOT:

#!/bin/sh

newroot=$1
if [ X${newroot} = X ]; then
echo usage: cvsroot newroot 12
exit 1
fi

find . -type d -name CVS -print0 | \
xargs -0 -n 1 -I % echo '%' | \
sed -e 's:$:/Root:' |\
xargs sed -i '' -e 's!^.*$!'${newroot}'!'

The last command, which uses the -i option of sed(1) works on FreeBSD
but needs a bit of tinkering if you plan to use it with GNU sed(1) on
Linux.

HTH,

- Giorgos


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


Re: Audio?

2004-06-23 Thread Skylar Thompson
On Mon, Jun 21, 2004 at 10:55:49AM -0400, Tom Moyer wrote:
 I am setting up a new computer and the motherboard I am using has
 integrated audio.  It says it is Realtek ALC850 does anyone know if it is
 supported by FreeBSD?  If so, what driver should I use?  The motherboard
 is the Asus P4P800-E Deluxe.

As root, try doing

kldload snd_driver

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpeKDmIxlUHE.pgp
Description: PGP signature


Re: :::Support PHP/perl???:::

2004-06-23 Thread Skylar Thompson
On Mon, Jun 21, 2004 at 07:11:02PM +0200, Dragan Veljkovic wrote:
 Is this FreeBSD support PHP/Perl application/language?

In the ports collection, take a look at lang/perl5{,.8} and lang/php4.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpZ5EWC11x8V.pgp
Description: PGP signature


xpdf help

2004-06-23 Thread Mike Meyer
For some reason, xpdf (version 3.00, as installed on FreeBSD 4.9 by
the ports system) can't find the Courier, Times, Helvetica and Symbol
fonts that are built into it. Using xfontsel to try the selectors
listed in xpdfrc finds the fonts just fine.

Clues? Hints? Anything?

Thanks,
mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


route6d crashes (signal 10)

2004-06-23 Thread David Fuchs
Hello,
For some reason, route6d is crashing with signal 10:
/kernel: pid 142 (route6d), uid 0: exited on signal 10 (core dumped)
	I can reproduce this error simply by running rip6query against the 
localhost.  This is the output I receive from route6d when I run it in 
debug mode (-D) and query it with rip6query:

initialization
RIP Request -- whole routing table
09:30:16: Send(lo0): info(3) to ::1.4328
2001:470:1ef0:197::/64[1]
2001:470:1ef0:::c2/128[1]
2001:470:1ef0:::c3/128[1]
Bus error (core dumped)
	Also, I recently added entries to rc.conf to have the IPv6 routing 
daemon start automatically.  However, it doesn't start unless I set the 
ipv6_network_interfaces and exclude the 'faith0' device (otherwise this 
device is autoconfigured by rc.network6).  If I don't do this, then 
route6d crashes in the same way:

initialization
RIP Request -- whole routing table
09:41:35: Send(faith0): info(3) to fe80:3::2e0:81ff:fe02:1455.521
2001:470:1ef0:197::/64[1]
2001:470:1ef0:::c2/128[1]
2001:470:1ef0:::c3/128[1]
Bus error (core dumped)
	My parameters to route6d are '-n -Tgif0' (I have an IPv6 over IPv4 
tunnel to Hurricane Electric).  I cvsup'ed last night and upgraded the 
system today to 4.10-STABLE from 4.10-PRERELEASE to see if that would 
help matters, but the crashes still occur.

	Any help is appreciated.  Please let me know if there is other 
information I can provide that would be useful.

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


Sound issues on dual-boot machine

2004-06-23 Thread Damon Butler
I have a dual-boot FreeBSD/Linux machine. I've had lots of trouble 
getting sound to work under FreeBSD: sometimes it would, and sometimes 
it wouldn't, and I could never figure out why. But today I noticed a 
pattern, and with it, a way to always get sound functioning under 
FreeBSD. It just doesn't make any sense to me. Here 'tis:

Sound functions under FreeBSD only if I boot into Linux first and then 
reboot the machine into FreeBSD. This sounds rather incredible (to me at 
least) but here's what I've done to confirm this.

(1) Machine is completely off. Boot directly into FreeBSD. Sound doesn't
work.
(2) Machine is completely off. Boot directly into Linux. Reboot the
machine into FreeBSD. Sound works just fine.
(3) Machine is completely off. Boot directly into FreeBSD. Sound doesn't
work. Reboot machine into Linux. Reboot machine into FreeBSD. Sound
works just fine.
In no case am I adjusting configuration settings at any time. I'm just
rebooting the machine and testing out XMMS and mplayer to see whether or
not sound is functioning. Even the most half-baked theories explaining
this behavior would be welcome.
The machine: Custom-built PC based on Soyo K7ADA motherboard (ALiMAGiK1
1647/1535D+ chipsets), on-board sound (AC97 codec), 1.4 GHz Athlon CPU,
512 Mb DDR RAM, etc. etc. I've got one hard drive devoted to Mandrake
Linux and a second hard drive devoted to FreeBSD. I use LILO off of the
Linux drive to choose which OS I boot into.
Thanks,
--Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Nokia's DKU-5 cable

2004-06-23 Thread AK

Hello, all!

I wonder if anyone had any positive experience with Nokia DKU-5 USB cable
When I plug it into my box, it is detected as ugen, instead of ucom, yes 
ucom module is loaded.

kldstat:
 61 0xc083c000 3580 umodem.ko
 73 0xc084 3aec ucom.ko
 81 0xc0844000 3ab0 uplcom.ko


ugen0: vendor 0x0421 Nokia Connectivity Cable DKU-5, rev 1.10/3.0a, addr 2

I'm running -CURRENT

I had no time to test it extensively as I was just trying it in the shop with 
my laptop.

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


FreeBSD on 64 bit AMD

2004-06-23 Thread Sean Page
Hi,

Is anyone out there running FreeBSD on the AMD Opteron Processor 200 Series
?
We're looking at putting a Sun V20z into production and I would very much
appreciate hearing any experiences out there using this hardware with
FreeBSD.
Thanks!

Sean.



Sean Page
Network Analyst, Internet Services
Information Technology Services
Edmonton Public Schools
Phone: (780) 429-8206
http://its.epsb.ca http://its.epsb.ca 
Supporting teaching and learning through the effective use of Technology.

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


Re: route6d crashes (signal 10)

2004-06-23 Thread David Fuchs
David Fuchs wrote:
Hello,
For some reason, route6d is crashing with signal 10:
/kernel: pid 142 (route6d), uid 0: exited on signal 10 (core dumped)
I can reproduce this error simply by running rip6query against the 
localhost.  This is the output I receive from route6d when I run it in 
debug mode (-D) and query it with rip6query:

initialization
RIP Request -- whole routing table
09:30:16: Send(lo0): info(3) to ::1.4328
2001:470:1ef0:197::/64[1]
2001:470:1ef0:::c2/128[1]
2001:470:1ef0:::c3/128[1]
Bus error (core dumped)
Also, I recently added entries to rc.conf to have the IPv6 routing 
daemon start automatically.  However, it doesn't start unless I set the 
ipv6_network_interfaces and exclude the 'faith0' device (otherwise this 
device is autoconfigured by rc.network6).  If I don't do this, then 
route6d crashes in the same way:

initialization
RIP Request -- whole routing table
09:41:35: Send(faith0): info(3) to fe80:3::2e0:81ff:fe02:1455.521
2001:470:1ef0:197::/64[1]
2001:470:1ef0:::c2/128[1]
2001:470:1ef0:::c3/128[1]
Bus error (core dumped)
My parameters to route6d are '-n -Tgif0' (I have an IPv6 over IPv4 
tunnel to Hurricane Electric).  I cvsup'ed last night and upgraded the 
system today to 4.10-STABLE from 4.10-PRERELEASE to see if that would 
help matters, but the crashes still occur.

Any help is appreciated.  Please let me know if there is other 
information I can provide that would be useful.

I just noticed something important that I should add - the crashes do 
not occur unless the '-n' flag is specified (which tells route6d to 
*not* update the kernel routing table).

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


Re: losing disk space

2004-06-23 Thread synrat
thanx guys. learn something new every day.
I actually noticed that my smaller volumes display the
same 'discrepancy'..., but it only became a concern after
'loosing' 10gb :). hehe.
should've realized that myself right away.
is this true though that soft updates use additional disk space ??

Mike Woods wrote:
synrat wrote:
Filesystem Size   Used  Avail Capacity  Mounted on
/dev/vinum/data 67G   2.0K62G 0%/data
Does this look weird or what ??

Nope, looks fine to me :)
This is a mirrored vinum volume created from 2 partitions fully taking 
up 2 73gb drives.  vinum shows this as 68gb volume, which I guess is 
ok considering kbmbgb calculation rip-off, but losing 10gb after 
newfsing is something new. The only other thing I did is turn on soft 
updates, but I wouldn't expect that too 'steal' 10 gb also. anyone  ?

5gb :)
UFS keep x% of the drive unavailable from anyone but root as part of the
filesystem optimisations, you can turn this off if you want with tunefs
but expect a performance hit from it.
Mike Woods
IT Technician
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound issues on dual-boot machine

2004-06-23 Thread Mike Woods
Damon Butler wrote:
Sound functions under FreeBSD only if I boot into Linux first and then 
reboot the machine into FreeBSD. This sounds rather incredible (to me 
at least) but here's what I've done to confirm this.
Initialisation :)
Your soundcard needs initialising before it'll function in some way that 
linux understands and FreeBSD does not, once linux has done the dirty 
the card is then alive and kicking.

I have a similar issue with my wifi card and FreeBSD/Win2k dual booting, 
when i boot into bsd from cold all is well, if i boot into windows first 
and then go back to freebsd without a shutdown the cards isnt there, 
windows does something to my cardbus controler that stops it 
initialising properly under bsd, good thing i only boot win2k for 
ghosting :)

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


Re: losing disk space

2004-06-23 Thread Bill Moran
synrat [EMAIL PROTECTED] wrote:

 thanx guys. learn something new every day.
 I actually noticed that my smaller volumes display the
 same 'discrepancy'..., but it only became a concern after
 'loosing' 10gb :). hehe.
 should've realized that myself right away.
 
 is this true though that soft updates use additional disk space ??

No, that's not true.  Where did you hear that?

 Mike Woods wrote:
  synrat wrote:
  
  Filesystem Size   Used  Avail Capacity  Mounted on
  /dev/vinum/data 67G   2.0K62G 0%/data
 
  Does this look weird or what ??
  
  
  Nope, looks fine to me :)
  
  This is a mirrored vinum volume created from 2 partitions fully taking 
  up 2 73gb drives.  vinum shows this as 68gb volume, which I guess is 
  ok considering kbmbgb calculation rip-off, but losing 10gb after 
  newfsing is something new. The only other thing I did is turn on soft 
  updates, but I wouldn't expect that too 'steal' 10 gb also. anyone  ?
  
  
  5gb :)
  
  UFS keep x% of the drive unavailable from anyone but root as part of the
  filesystem optimisations, you can turn this off if you want with tunefs
  but expect a performance hit from it.
  
  Mike Woods
  IT Technician
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: How to turn your Perl programs into standalone executables

2004-06-23 Thread KiDDiE.Ox
On Wed 2004-06-23 (02:08), Sex Maniac wrote:
 Hi just want to ask, if I have a perl program, and I
 want to turn it into standalone executables/binary.
 Question is how ? What programs/packages/ports I must
 use ?
 
 Usually in windows98, I can use PerlApp to Turn your
 Perl programs into standalone executables (.exe)
 
 I don't want my users can see the source program in
 .pl
 I want my source program is hidden from user and the
 others administrators. So I need the executable
 file/binary file only.

If you are installing the script on a multi-user machine, not
distributing it to customers, the easiest way would be to chmod 711 the
script.

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo at rucus.ru.ac.za
Personally, I'd rather pay for my freedom than live in a bitmapped, 
pop-up-happy dungeon like NT.
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: losing disk space

2004-06-23 Thread Mike Woods
synrat wrote:
is this true though that soft updates use additional disk space ??
No, softupdates are just a different way of handling writes iirc, they 
dont have any space overheads afaik :)

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


what happened to ppp-primer

2004-06-23 Thread JJB
http://www.freebsd.org/doc/en_US.ISO8859-1/books/ppp-primer/index.ht
ml

The directory is there but it's empty.

Has the ppp-primer been retired, or has someone messed up?

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


LSP Alternative

2004-06-23 Thread Joshua Lewis
Is there an open source System configuration GUI similar to LSP.


Thank you,
Joshua Lewis

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


Re: what happened to ppp-primer

2004-06-23 Thread Randy Pratt
On Wed, 23 Jun 2004 14:01:35 -0400
JJB [EMAIL PROTECTED] wrote:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/ppp-primer/index.ht
 ml
 
 The directory is there but it's empty.
 
 Has the ppp-primer been retired, or has someone messed up?

http://www.freebsd.org/cgi/query-pr.cgi?pr=42392

Its been gone since 2002.  No one stepped up to update it so part
of the content was incorporated into the Handbook.

You might be able to use CVS to get them or google the web for
an old copy.  I'm sure there are plenty of stale ones around.

HTH,

Randy


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


Re: Sound issues on dual-boot machine

2004-06-23 Thread Damon Butler
Mike Woods wrote:
Damon Butler wrote:
Sound functions under FreeBSD only if I boot into Linux first and then 
reboot the machine into FreeBSD. This sounds rather incredible (to me 
at least) but here's what I've done to confirm this.
Initialisation :)
Your soundcard needs initialising before it'll function in some way that 
linux understands and FreeBSD does not, once linux has done the dirty 
the card is then alive and kicking.
Hurm. That's all well and good, I guess, but *why* is Linux initializing 
the on-board sound while FreeBSD is/can not? I admit my understanding of 
PC hardware to be limited, but I had thought that the purpose of the 
BIOS was to initialize the hardware for the OS to recognize. Doesn't 
it hand out IRQs and so forth?

Is my problem indicative of a general driver deficiency in FreeBSD?
Is there some module I'm not aware of that, were I to load it, take care 
of this mysterious initialization?

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


Re: Sound issues on dual-boot machine

2004-06-23 Thread Mike Woods
Damon Butler wrote:
Hurm. That's all well and good, I guess, but *why* is Linux 
initializing the on-board sound while FreeBSD is/can not? I admit my 
understanding of PC hardware to be limited, but I had thought that the 
purpose of the BIOS was to initialize the hardware for the OS to 
recognize. Doesn't it hand out IRQs and so forth?
The bios is more like a wakeup call, it tells things that need to be 
told to wake up and say hello, anything after that is up to the 
hardware, more than likley it's a quirk in the particular peice of 
hardware, something about the way it works that differes just enough 
from the norm to need special attention to get it going.

Is my problem indicative of a general driver deficiency in FreeBSD?
Is there some module I'm not aware of that, were I to load it, take 
care of this mysterious initialization ?
No, this looks like a device specific quirk, like how the 3com 905c will 
always try and share irq's with my soundcard in my home machine 
regardless of anything i do yet in other machines it behaves itself :)

With the sheer amount of hardware and variations on hardware available 
these things are to be occasionaly expected :)

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


RE: Courier-imap + Postfix problem

2004-06-23 Thread Brent Wiese
 Thanks. But now i'm back in the dark. Does anyone have any
 idea what the source of my errors in maillog could be? To
 recap, i'm running postfix and courier-imap and i'm getting
 errors as follows:
 
 maillog:
 
 Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 Jun 20 15:47:05 server imapd-ssl: Failed to create
 cache
 file: maildirwatch (fre
 Jun 20 15:47:05 server imapd-ssl: Error: Input/output
 error
 Jun 20 15:47:05 server imapd-ssl: Check for proper
 operation and configuration
 Jun 20 15:47:05 server imapd-ssl: of the File Access
 Monitor daemon (famd).
 
 Any info would be great!

I don't have the file your log describes. I don't think its part of courier.
At least not if you installed it from the ports. Or, maybe its only written
temporarily if someone is using imap via ssl (my mail server isn't active
enough on imap-ssl to watch for that).

It looks like maybe you have the File Access Monitor installed
(/usr/ports/devel/fam)... I know nothing about it, but its likely something
misconfigured on it that isn't allowing courier to write the file or
something.


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


booteasy output on serial console

2004-06-23 Thread dave
Hello,
I was wondering if there was a way to get booteasy output on a serial
console? I can make an install floppy that works, but i want to get the
choices, f1 boot freebsd, f2 from second disk, etc. And would there be a way
of sending function keys via serial console? If not, some other method of
making selections?
Thanks.
Dave.

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


login/password

2004-06-23 Thread Benjamin Seuser
Hi,
   I'm new to using FreeBSD and when I boot up the computer (I've 
already installed FreeBSD) it asks for a login name and password. I 
don't know either and I haven't been able to get into FreeBSD. Please 
help me.

  Thanks,

  Benjamin

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


Re: login/password

2004-06-23 Thread Steve Bertrand
 I'm new to using FreeBSD and when I boot up the computer (I've
 already installed FreeBSD) it asks for a login name and password. I
 don't know either and I haven't been able to get into FreeBSD. Please
 help me.

During install, it prompts you to type in the super users password. Did
you make a note of this?

The superusers name in question is 'root' (w/o quotes). This user has God
power over everything and is typically the only user on the system when an
install is freshly done, unless other users have been added upon install.

IIRC, the system will accept a null password at install time, so if you
don't remember entering the su password, try logging in with username:
root and no password.

Regards,

Steve

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


Printing Broken in Mozilla Thunderbird?

2004-06-23 Thread Scott Reese
Hello,
I'm running FreeBSD 5.2.1 and I'm using cups to handle my printing.  I
have no trouble printing from other applications such as Firefox but
whenever I try to print an email from Thunderbird I get a warning box
that says, There was a problem printing because the paper size you
specified is not supported by your printer.  I thought this was rather
odd, and upon further investigation I discovered that the printer prefs
from the prefs.js file were not being loaded by Thunderbird.  I checked
the file and the entries are there:
borges[f5ihojke.slt 151]% grep print.printer_PostScript prefs.js
user_pref(print.printer_PostScript/default.print_bgcolor, false);
user_pref(print.printer_PostScript/default.print_bgimages, false);
user_pref(print.printer_PostScript/default.print_command, lpr
${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME});
user_pref(print.printer_PostScript/default.print_evenpages, true);
user_pref(print.printer_PostScript/default.print_footercenter, );
user_pref(print.printer_PostScript/default.print_footerleft, PT);
user_pref(print.printer_PostScript/default.print_footerright, D);
user_pref(print.printer_PostScript/default.print_headercenter, );
user_pref(print.printer_PostScript/default.print_headerleft, T);
user_pref(print.printer_PostScript/default.print_headerright, U);
user_pref(print.printer_PostScript/default.print_in_color, true);
user_pref(print.printer_PostScript/default.print_margin_bottom, 0.5);
user_pref(print.printer_PostScript/default.print_margin_left, 0.5);
user_pref(print.printer_PostScript/default.print_margin_right, 0.5);
user_pref(print.printer_PostScript/default.print_margin_top, 0.5);
user_pref(print.printer_PostScript/default.print_oddpages, true);
user_pref(print.printer_PostScript/default.print_orientation, 0);
user_pref(print.printer_PostScript/default.print_paper_height,  11.00);
user_pref(print.printer_PostScript/default.print_paper_size_type, 1);
user_pref(print.printer_PostScript/default.print_paper_size_unit, 0);
user_pref(print.printer_PostScript/default.print_paper_width,   8.50);
user_pref(print.printer_PostScript/default.print_reversed, false);
but if I go to Properties in the box that comes up after hitting Print,
all the fields are completely BLANK (e.g. Paper Size, Margins, etc).  I
know that printing used to work from this program so I really have no
clue what could have happened to bork printing from just this one
program.  Out of curiosity, I renamed my .thunderbird folder and
restarted the program so as to get a fresh start and the same thing
happened.  So, apparently, even with a clean slate, it still doesn't
load the printer prefs.  Does anyone have any idea why this might be?
I've searched on Google and the mailing lists to no avail.
Please cc me in any replies as I am not subscribed to this list.  Thank you.
-Scott
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound issues on dual-boot machine

2004-06-23 Thread Damon Butler
Is my problem indicative of a general driver deficiency in FreeBSD?
Is there some module I'm not aware of that, were I to load it, take 
care of this mysterious initialization ?
No, this looks like a device specific quirk, like how the 3com 905c will 
always try and share irq's with my soundcard in my home machine 
regardless of anything i do yet in other machines it behaves itself :)

With the sheer amount of hardware and variations on hardware available 
these things are to be occasionaly expected :)
Drat. A disappointing answer, to be sure :-(
A thousand thanks for your explanations, however. :-)
--Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd security patches

2004-06-23 Thread bogdan

   Hy I want to know more freebsd contributors' /
users' websites. I searched a lot for links like:
http://www.0xfce3.net/files/freebsd/ or
http://garage.freebsd.pl/ (which contains a lot if
interesting security related patches/programs)

Google is of no help ... I can scarcely find one
or two interesting sites ...

  Can people reading this mail submit freebsd
security related websites ? (related to unnoficial
kernel patches, file patches or programms)

   Please cc me the replies. Thank you,
Bogdan



__
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


something through nat - something not

2004-06-23 Thread Tomica Crnek
Hi everyone, I would appreciate if anyone can help with this:

here is the configuration:
box is connected to one (outside) network with 2 interfaces
box is connected to one (inside) network with one interface
some nodes on outside network do have static routes to inside network, but not whole 
outside net
these nodes that do have routes to inside net pointing to this box use gif/ipsec 
tunnels to route packets to inside net (some kind of vpn)
only subnets behind these few nodes could be routed directly to inside net

what I want to do is to configure it to route packets to these chosen subnets 
directly - no nat, but I want to be able to see entire outside network from inside net 
also. So these packets should be passed to natd. I don't know which outside interface 
will be chosen because both outside interfaces are in dynamic routing backbone.

any suggestion?

thanks!


This mail passed through ZGWireless free network - www.zgwireless.net,
Internet connection sponsored by Iskon Internet d.o.o. - www.iskon.hr

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


Re: login/password

2004-06-23 Thread Steve Bertrand
 Thanks that worked,

But now I have another question, When it boots I enter my user
 name and password but all I get is a command prompt, how am I supposed
 to get into free bsd (or is that it?)

Well, it doesn't look like much at the command prompt, but yes, that's it.
The wonderful world of the power of BSD is now at your fingertips.

If you are looking for a fancy GUI interface that can sit on top of the
command prompt, start by reading the handbook...here is the section you
want:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html

If you are not familiar with unix basics, there are several books out
there, and thousands of online tutorials. Google is your friend.

I don't know your familiarity level, but the one most helpful command will
be 'man'. the man command will allow you to view usage information on
various commands. In essence typing something like:

# man passwd

will open the manual page for the passwd program. Most all commands have
corresponding manual pages that can be accessed in this manner. For more
information on the 'man' command, type:

# man man

Well, I hope this gives you a start. Note the entire handbook for FreeBSD
can always be accessed from here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

and it is certainly worth a read, a second read, then as a reference manual.

Cheers,

Steve



 Benjamin





-- 

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


Re: (no subject)

2004-06-23 Thread Steve Bertrand
 Well my experience lever is 0, I've used Windows and Mac for my whole
 life and I wanted to see what freebsd is like.

Good. Theres quite a learning curve, but I assure you that diligence and
the willingness to learn are worth the effort as the result is a whole new
computing experience unlike anything the other OS's can provide (perhaps
only IMHO).

 I just got into DOS,
 figuring out basic commands.

FreeBSD, and most *NIX's share many of the same commands. Here are some
equivilants to DOS commands:

# cp (copy)
# ls (dir)
# cd
# mv (move)
# rm (del)
# ifconfig (ipconfig)
# netstat (route)
# traceroute (tracert)
# ping

etc ad infinitum. However, most *NIX commands have several parameters you
can feed into them, making them much more useful than you would be used
to. Remember the man command.

I suggest you search google for unix basic tutorial or similar to give
you a head start.

...and in my last email, I mentioned the FreeBSD handbook, which will
guide you on your way to getting a nice Windows-like GUI up and running.
You have several options and can even switch between several graphical
interfaces until you like one you find you like best.

 So is FreeBSD like a Unix/Linux version of
 DOS with different commands?

Well...Unix was around lng before DOS was conceived. Looking at it,
they do appear to be similar, but the depth and scope of DOS pales in
comparison and is laughable against the limitless possibilities that the
UNIX command line has to offer. There are different commands, but hundreds
of thousands more as well. (Depending on installed software of course). In
DOS, theres generally only one way to do something, where on UNIX, there
are usually numerous approaches to performing a task. None of which are
wrong, just different.

 Or does it have a graphical interface too?

A GUI as I said can be installed. Consult the handbook and use google as
per my last mail.

Steve

 just wondering,



Benjamin





-- 

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


RE: portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)

2004-06-23 Thread Ralph M. Los
Alright, I feel stupid but I'm going to ask anyway...

Portversion exists in /usr/local/sbin on one FreeBSD 5.2.1 server, but
not on the other, which is an install off the *same CD*. What package or
port does portversion come from?

Thanks

::-Original Message-
::From: Randy Pratt [mailto:[EMAIL PROTECTED] 
::Sent: Tuesday, June 08, 2004 12:16 PM
::To: Kent Stewart
::Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
::Subject: portupgrade -c (was Re: Boot GUI / Boot data and 
::process / Fragmentation)
::
::
::On Tue, 8 Jun 2004 00:59:58 -0700
::Kent Stewart [EMAIL PROTECTED] wrote:
::
:: On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote:
::  Thanks for your help Kent
:: 
::  I read something about using portversion -c with the portupgrade 
::  command to upgrade installed pkgs that needed to be updated.
:: 
::  When I run portversion -c  :: I get a print out of things 
::needed to 
::  be upgraded and at the end, it shows a 'if' statment.
:: 
::  How do you use this command with portupgrade so it just 
::updates them 
::  instead of just showing me. Just do it dang it... just do it! ;o)
::
::The output of portversion -c needs to be redirected to a file:
::
::portversion -c  scriptname.sh
::
::To make it usable as a shell script, it needs to have
::
::#!/bin/sh
::
::added at the top to insure that it uses the sh command 
::interperter. Then, the script needs to be made executable:
::
::chmod 744 scriptname.sh
::
::Then it can be run as root:
::
::./scriptname.sh
::
:: I'm not the one to ask because I use the -c and do them one 
::at a time.
:: The portupgrade option -rRa will do some of it. I just want 
::it to do it 
:: at my convience and choosing :). I also have an AMD 2400+ 
::that sits off 
:: to the side of my computer desk and I build everything on it. The 
:: problem with the -c list is that it doesn't build 
::dependancies first.
::
::I think it will build the required dependencies first *if* 
::they need updated.  The synopsis of portupgrade is:
::
::portupgrade [ ... bunch of options ... ] pkgname-glob
::
::A list of ports can be passed to portugrade and it will check 
::which needs to be built first.  This can easily be checked if 
::you have doubts.  Use -n for no-execute and -f to force.  
::This is a test case I tried where liveMedia is a dependency 
::of mplayer:
::
::  # portupgrade -nf mplayer-gtk-esound-0.92.1_2 liveMedia-2004.06.07,1
::  ---  Session started at: Tue, 08 Jun 2004 11:06:39 -0400
::  ---  Reinstallation of net/liveMedia started at: Tue, 08 Jun 2004
::11:06:40 -0400
::  ---  Reinstalling 'liveMedia-2004.06.07,1' (net/liveMedia)
::OK? [no]
::  ---  Reinstallation of net/liveMedia ended at: Tue, 08 Jun 2004
::11:06:40 -0400 (consumed 00:00:00)
::  ---  Reinstallation of multimedia/mplayer started at: Tue, 08 Jun
::2004 11:06:41 -0400
::  ---  Reinstalling 'mplayer-gtk-esound-0.92.1_2'
::(multimedia/mplayer)
::OK? [no]
::  ---  Reinstallation of multimedia/mplayer ended at: Tue, 08 Jun
::2004 11:06:41 -0400 (consumed 00:00:00)
::  ---  Listing the results (+:done / -:ignored / *:skipped / 
::!:failed)
::+ net/liveMedia (liveMedia-2004.06.07,1)
::+ multimedia/mplayer (mplayer-gtk-esound-0.92.1_2)
::  ---  Packages processed: 2 done, 0 ignored, 0 skipped and 0 failed
::  ---  Session ended at: Tue, 08 Jun 2004 11:06:41 -0400 
::(consumed 00:00:01)
::  #
::
::Notice that liveMedia was updated first even though it was 
::last in the list of ports passed to portupgrade.  The portversion -c 
::produces a list of ports and stores them in its variable 
::$pkgs. Portupgrade will take the list and build them in the 
::correct dependency order.
::
::I've used this approach for several years now and it works fine.
::
::However, caution should be used when scripting the upgrading 
::of ports.  After cvsupping and running portsdb -Uu, the 
::/usr/ports/UPDATING should be read and any items that are 
::applicable to the installation should be followed before 
::running any scripts or other portupgrade commands.
::
::If you still prefer doing ports manually, the output of 
::portupgrade -c can still be useful.  By modifying the script 
::slightly, it will produce a list of ports to be updated in 
::the order they should be updated.  Just change the line:
::
::portupgrade $@ $pkgs
::
::to:
::
::pkg_glob $pkgs | pkg_sort
::
::It should be noted that some ports may not work until the 
::entire list is updated and as usual, your mileage may vary.
::
::I'm sure someone will correct me if I'm thinking wrong about this.
::
::Best regards,
::
::Randy
::
::[ ... other topics snipped ... ]
::
::___
::[EMAIL PROTECTED] mailing list 
::http://lists.freebsd.org/mailman/listinfo/free::bsd-questions
::
::To unsubscribe, send any mail to 
::[EMAIL PROTECTED]
::
___
[EMAIL PROTECTED] mailing list

Re: (no subject)

2004-06-23 Thread Steve Bertrand
 Thanks for your help If i have anymore questions not answered by the
 handbook i'll e-mail you

Please email the list. I rarely answer emails directly to my list
subscription email address.

Also, if you mail the list, many people will have the opportunity to help
and other new users may learn something from the answer, or the question
itself.

Tks,

Steve



 Benjamin

 P.S. Thanks again





-- 

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


Re: something through nat - something not

2004-06-23 Thread Charles Swiger
On Jun 23, 2004, at 4:27 PM, Tomica Crnek wrote:
box is connected to one (outside) network with 2 interfaces
What does this mean?
what I want to do is to configure it to route packets to these 
chosen subnets directly - no nat, but I want to be able to see 
entire outside network from inside net also.
Standard IP-based routing will move packets from one subnet to another 
subnet, without using NAT.  I'm not sure what you mean by able to see 
in this context, however: are you talking about being able to send IP 
traffic to them, are you talking about having them on the same physical 
subnet by bridging, and thus be able to ARP the hosts even though they 
are on two different logical networks, or what?

So these packets should be passed to natd. I don't know which outside 
interface will be chosen because both outside interfaces are in 
dynamic routing backbone.
Above you said no nat, here you ask about passing some traffic to 
natd.  What are you trying to do?  Do you want to use NAT or not?

Your second comment about which outside interface will be chosen is 
also unclear.  What dynamic routing is going on, and what does the 
topology look like?

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


RE: portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)

2004-06-23 Thread To2600 .
Alright, I feel stupid but I'm going to ask anyway...

Portversion exists in /usr/local/sbin on one FreeBSD 5.2.1 server, but
not on the other, which is an install off the *same CD*. What package or
port does portversion come from?

Thanks
--

portversion is part of usr/ports/sysutils/portupgrade 




http://www.to2600.org
http://www.toronto2600.org
Because size *does* matter.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Redirection with a bridge ?

2004-06-23 Thread Charles Swiger
On Jun 22, 2004, at 9:02 AM, Matt Juszczak wrote:
What are some of the other approaches (if you dont mind).  I can't 
really do a NAT, I'd really like to stay with a bridge and not do any 
routing.
Normally, something like squid listens on a specific port and only 
proxies requests which are explicitly sent to it.  If you set up Squid 
on a dual-homed machine acting as a firewall, you can configure all 
clients to use it without them being able to route traffic outside of 
the firewall themselves.  In that case, squid will talk to the outside 
world using the external interface, but talk to the clients using 
whatever local subnet IP addresses they have, without using NAT or 
anything else.

A more complex approach would be to the network interface in 
promiscuous mode and use a divert socket to forward all normal web 
traffic (HTTP, 80/tcp) to the Squid proxy regardless.  That has the 
advantage of not having to configure the clients to use a proxy, 
however.  Anyway. I don't think setting this up is easier than using 
NAT, but perhaps you might find the concept useful

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


Mozilla, where did I go wrong?

2004-06-23 Thread LW Ellis
I installed Mozilla 1.5 thur the ports package, on FreeBSD 5.2
When I run in it KDE
It disotrts the KDE background image.
THe toolbar color of the Mozilla browser is a dark maroon or purple, 
The background of the pages are a light purple.
I ran  portupgrade, and it said there was none.
Did I miss a package, or what.
I tried a make deinstall
and then make reisntall, booting in between.
Still got the problem
Any idea's?
Thanx everyone.

Later, 
Leon
A fanatic is one who can't change his mind and won't change the subject.
Sir Winston Churchill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: login/password

2004-06-23 Thread Bill Moran
Benjamin Seuser [EMAIL PROTECTED] wrote:

 Hi,
 
 I'm new to using FreeBSD and when I boot up the computer (I've 
 already installed FreeBSD) it asks for a login name and password. I 
 don't know either and I haven't been able to get into FreeBSD. Please 
 help me.

Can you provide these documents in a readable format, such as PDF.  We
don't use Word.

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


perl port 5.8.2 won't install?

2004-06-23 Thread Len Conrad
fbsd 4.10 release
# cd /usr/ports/lang/perl5.8
# make  make install
===  Vulnerability check disabled
 perl-5.8.2.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from 
http://www.cpan.dk/CPAN/modules/by-module/../../src/.
perl-5.8.2.tar.gz 100% of   11 MB  264 kBps 00m00s
 BSDPAN-5.8.0_1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/tobez/.
BSDPAN-5.8.0_1.tar.gz 100% of 6338  B   36 kBps
===  Extracting for perl-5.8.2_5
 Checksum OK for perl-5.8.2.tar.gz.
 Checksum OK for BSDPAN-5.8.0_1.tar.gz.
===  Patching for perl-5.8.2_5
===  Applying FreeBSD patches for perl-5.8.2_5
8 out of 8 hunks failed--saving rejects to ext/Opcode/Safe.pm.rej
 Patch patch-Safe.pm failed to apply cleanly.
 Patch(es) patch-Install.pm patch-MM_Unix.pm applied cleanly.
*** Error code 1

the .rej file contains:
# less /usr/ports/lang/perl5.8/work/perl-5.8.2/ext/Opcode/Safe.pm.rej
***
*** 3,9 
  use 5.003_11;
  use strict;
- our $VERSION = 2.07;
  use Carp;
--- 3,9 
  use 5.003_11;
  use strict;
+ $Safe::VERSION = 2.09;
  use Carp;
***
*** 47,53 
  # the whole glob *_ rather than $_ and @_ separately, otherwise
  # @_ in non default packages within the compartment don't work.
  $obj-share_from('main', $default_share);
- Opcode::_safe_pkg_prep($obj-{Root});
  return $obj;
  }
--- 47,53 
  # the whole glob *_ rather than $_ and @_ separately, otherwise
  # @_ in non default packages within the compartment don't work.
  $obj-share_from('main', $default_share);
+ Opcode::_safe_pkg_prep($obj-{Root}) if($Opcode::VERSION  1.04);
  return $obj;
  }
***
*** 155,161 
  my $no_record = shift || 0;
  my $root = $obj-root();
  croak(vars not an array ref) unless ref $vars eq 'ARRAY';
-   no strict 'refs';
  # Check that 'from' package actually exists
  croak(Package \$pkg\ does not exist)
unless keys %{$pkg\::};
--- 155,161 
  my $no_record = shift || 0;
  my $root = $obj-root();
  croak(vars not an array ref) unless ref $vars eq 'ARRAY';
+ no strict 'refs';
  # Check that 'from' package actually exists
  croak(Package \$pkg\ does not exist)
unless keys %{$pkg\::};
***
*** 190,196 
  sub share_redo {
  my $obj = shift;
  my $shares = \%{$obj-{Shares} ||= {}};
-   my($var, $pkg);
  while(($var, $pkg) = each %$shares) {
# warn share_redo $pkg\:: $var;
$obj-share_from($pkg,  [ $var ], 1);
--- 190,196 
  sub share_redo {
  my $obj = shift;
  my $shares = \%{$obj-{Shares} ||= {}};
+ my($var, $pkg);
  while(($var, $pkg) = each %$shares) {
# warn share_redo $pkg\:: $var;
$obj-share_from($pkg,  [ $var ], 1);
***
*** 214,224 
  # Create anon sub ref in root of compartment.
  # Uses a closure (on $expr) to pass in the code to be executed.
  # (eval on one line to keep line numbers as expected by caller)
-   my $evalcode = sprintf('package %s; sub { eval $expr; }', $root);
  my $evalsub;
-   if ($strict) { use strict; $evalsub = eval $evalcode; }
-   else {  no strict; $evalsub = eval $evalcode; }
  return Opcode::_safe_call_sv($root, $obj-{Mask}, $evalsub);
  }
--- 214,224 
  # Create anon sub ref in root of compartment.
  # Uses a closure (on $expr) to pass in the code to be executed.
  # (eval on one line to keep line numbers as expected by caller)
+ my $evalcode = sprintf('package %s; sub { @_ = (); eval $expr; }', 
$root);
  my $evalsub;

+ if ($strict) { use strict; $evalsub = eval $evalcode; }
+ else {  no strict; $evalsub = eval $evalcode; }
  return Opcode::_safe_call_sv($root, $obj-{Mask}, $evalsub);
  }
***
*** 228,234 
  my $root = $obj-{Root};
  my $evalsub = eval
-   sprintf('package %s; sub { do $file }', $root);
  return Opcode::_safe_call_sv($root, $obj-{Mask}, $evalsub);
  }
--- 228,234 
  my $root = $obj-{Root};
  my $evalsub = eval
+   sprintf('package %s; sub { @_ = (); do $file }', $root);
  return Opcode::_safe_call_sv($root, $obj-{Mask}, $evalsub);
  }
***
*** 383,390 
  This is almost identical to exporting variables using the LExporter
  module.
- Each NAME must be the Bname of a variable, typically with the leading
- type identifier included. A bareword is treated as a function name.
  Examples of legal names are '$foo' for a scalar, '@foo' for an
  array, '%foo' for a hash, 'foo' or 'foo' for a subroutine and '*foo'
--- 383,391 
  This is almost identical to exporting variables using the LExporter
  module.
+ Each NAME must be the Bname of a non-lexical variable, typically
+ with the leading type identifier included. A bareword is treated as 

Re: login/password

2004-06-23 Thread Bill Moran
Bill Moran [EMAIL PROTECTED] wrote:

 Benjamin Seuser [EMAIL PROTECTED] wrote:
 
  Hi,
  
  I'm new to using FreeBSD and when I boot up the computer (I've 
  already installed FreeBSD) it asks for a login name and password. I 
  don't know either and I haven't been able to get into FreeBSD. Please 
  help me.
 
 Can you provide these documents in a readable format, such as PDF.  We
 don't use Word.

Well ... I know that didn't make any sense.

Please ignore this.  I'm not paying attention to what I'm doing, and I'm
replying to the wrong email.

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


Re: Mozilla, where did I go wrong?

2004-06-23 Thread Charles Swiger
On Jun 23, 2004, at 5:32 PM, LW Ellis wrote:
I installed Mozilla 1.5 thur the ports package, on FreeBSD 5.2
When I run in it KDE
It disotrts the KDE background image.
THe toolbar color of the Mozilla browser is a dark maroon or purple,
The background of the pages are a light purple.
What color depth are you running your X server at?
If you're running in 8-bit orpossibly even 16-bit modes, Mozilla may be 
stealing colors for itself that other programs like KDE were using; if 
so, switch to running at 24/32-bit color depth...

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


ar and strip: symbol tables

2004-06-23 Thread Michael A. Branch
hi,
  I nuked my symbol tables from some shared archived and noticed that

  ar -s libIsNowStripped.so

is not a recognized object and hence, the symbol table is not restored.
Is there a workaround?

thanks,
Mike

=

Michael A. Branch [EMAIL PROTECTED]
I turn big problems into little problems. 




__
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >