some problems with 4.6.2

2002-09-23 Thread Vasily

Hi ALL,

Computer (486, 16MB RAM, 10G hard disk) with FreeBSD 4.1 is used as
gateway. It's connected with ADSL modem and for PPPoE was used the
next ppp.conf:
---
#
# ppp.conf: PPPoE configuration
#

default:
 # PPP over Ethernet
 set device PPPoE:wb0
 set speed sync
 set mru 1492 
 set mtu 1492
 set ctsrts off

 # monitor line quality 
 disable lqr
 deny lqr
 
 # log just a bit
 set log phase tun 

 # insert default route upon connection
 add default HISADDR
 
 # download /etc/resolv.conf
 enable dns

 #enable tcpmssfixup

papchap:
 set authname USERNAME
 set authkey PASSWORD
---

tcpmssfixup did not work because of old version of FreeBSD. The author
of the method (PPPoE) recommended me to upgrade the system (ppp
specifically).
The system was updated till 4.6.2-RELEASE using CVSup (src,ports,doc).
Then:
make buildworld
make installworld
make buildkernel
make installkernel
I did it without any problem. I've made buildkernel and installkernel
for the GENERIC and then for my own KERNEL. But after that the
ppp.conf as shown above doesn't work properly. I can't connect with
provider.

The next problem: when I tried to rebuild new kernel using make depend
 make  make install during make I've received the message about
error: 

=== ipfilter
@ - /usr/src/sys
mashine - /usr/src/sys/i386/include
make: don't know how to make
/usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop
*** Error code 2

Stop in /usr/src/sys/modules
*** Error code 1

Stop in /usr/src/sys/compile/MYKERNEL


Any help concerning any problem will be kindly appreciated.

-- 
Best regards,
 
Vasily  
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: some problems with 4.6.2

2002-09-23 Thread Kent Stewart



Vasily wrote:

 Hi ALL,
 
 Computer (486, 16MB RAM, 10G hard disk) with FreeBSD 4.1 is used as
 gateway. It's connected with ADSL modem and for PPPoE was used the
 next ppp.conf:
 ---
 #
 # ppp.conf: PPPoE configuration
 #
 
 default:
  # PPP over Ethernet
  set device PPPoE:wb0
  set speed sync
  set mru 1492 
  set mtu 1492
  set ctsrts off
 
  # monitor line quality 
  disable lqr
  deny lqr
  
  # log just a bit
  set log phase tun 
 
  # insert default route upon connection
  add default HISADDR
  
  # download /etc/resolv.conf
  enable dns
 
  #enable tcpmssfixup
 
 papchap:
  set authname USERNAME
  set authkey PASSWORD
 ---
 
 tcpmssfixup did not work because of old version of FreeBSD. The author
 of the method (PPPoE) recommended me to upgrade the system (ppp
 specifically).
 The system was updated till 4.6.2-RELEASE using CVSup (src,ports,doc).
 Then:
 make buildworld
 make installworld
 make buildkernel
 make installkernel
 I did it without any problem. I've made buildkernel and installkernel
 for the GENERIC and then for my own KERNEL. But after that the
 ppp.conf as shown above doesn't work properly. I can't connect with
 provider.
 
 The next problem: when I tried to rebuild new kernel using make depend
  make  make install during make I've received the message about
 error: 


Did you config MYKERNEL before you did a make depend.

Kent


 
 === ipfilter
 @ - /usr/src/sys
 mashine - /usr/src/sys/i386/include
 make: don't know how to make
 /usr/src/sys/modules/ipfilter/../../netinet/mlfk_ipl.c. Stop
 *** Error code 2
 
 Stop in /usr/src/sys/modules
 *** Error code 1
 
 Stop in /usr/src/sys/compile/MYKERNEL
 
 
 Any help concerning any problem will be kindly appreciated.
 
 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



MAKEDEV to a diff location

2002-09-23 Thread Jason Hunt

How can I tell MAKEDEV to make the devices on /mnt/dev instead of /dev?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Updating Kernel to newest Version

2002-09-23 Thread Pascal Giannakakis

Lo ppl, 
 
i updated my WS with the binary update from the 4.6.2 iso (CD 1). It
finished 
successfully, but my kernel remains in the old version. How do i get a
kernel of the 
new Version? I couldn't find anything about that in the handbook. 
 
thx 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Updating Kernel to newest Version

2002-09-23 Thread Vasily

Hello Pascal,

Monday, September 23, 2002, 11:54:16 AM, you wrote:

PG Lo ppl, 
 
PG i updated my WS with the binary update from the 4.6.2 iso (CD 1). It
PG finished 
PG successfully, but my kernel remains in the old version. How do i get a
PG kernel of the 
PG new Version? I couldn't find anything about that in the handbook. 
 
PG thx 


I guess you should to go to /usr/src/sys/i386/conf
then copy GENERIC to file with YOURNAMEFORKERNEL.
To make necessary changes in YUORKERNEL. Don't forget to change ident
from GENERIC to YUORKERNEL.
Then:
# config YUORKERNEL
# cd ../../compile/YUORKERNEL
# make depend
# make
# make install

It works before. But may be there is another way, more right:
# cp GENERIC YUORKERNEL
# cd /usr/src
# make buildkernel KERNCONF=YUORKERNEL
# make installkernel KERNCONF=YUORKERNEL

The first I used in FreeBSD 4.1, when I tried to do the same in 4.6.2
I received the error message. The second way in 4.6.2 was successful.

If somebody can send some comment please do it.

-- 
Best regards,
 
Vasily
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Resolving IP through DHCP on LAN (II)

2002-09-23 Thread Bert Hiddink [Bendoo]

Hello,

Thanks for the replies!

However, this is how my dhclient.conf looks like:

interface xl0 {
 send host-name delta;
 send dhcp-lease-time 600;
 }

but it does not seem to communicate with the dhcp-service from the router as the 
active DHCP-table 
still shows the same (see below).

Any further ideas?

Regards!

-brt



23 Sep 2002 at 0:18, dfolkins wrote: 

 - Original Message -
 From: Bert Hiddink [Bendoo] [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, September 22, 2002 6:28 AM
 Subject: Resolving IP through DHCP on LAN
 
 
  Hello,
 
  I have a LAN which looks like this:
 
  Internet --- Cablemodem--- Router with DHCP-service --- 2 Winboxes, 1
 Freebsd box
  I have 4.6.2. release installed on the FreeBSD box.
 
  The router has an DHCP service and IP's are dynamicly assigned to the 3
 machines within my LAN.
  However, when I view the DHCP Active IP Table, I see the following:
 
   Gateway IP Address: 192.168.1.1
   DHCP Hostname IP Address MAC Address
   tulin 192.168.1.101 00-80-AD-C9-25-DC
   alfa  192.168.1.102 00-81-AC-C8-25-DA
  192.168.1.104 00-C0-4F-AA-24-0C
 
  The machines called tulin and alfa are the Win98 boxes, the last line
 corresponds to my FreeBSD
  box. It is called delta. My question: why does the name of my FreeBSD
 box not show up in the
  DHCP Active IP Table?
 
  If I use its IP address, I can access this box without no problem (FTP,
 Samba, etc.) However, I
  would like to access it by using its name (delta). How to achieve this?
 
 looks like your dhclient is not configured to send a hostname to the dhcp
 server.
 
 here is a relevant excerpt from man dhclient.conf:
 
  send  {  [ option declaration ] [, ... option declaration
]}
 
 and here is an excerpt from man dhcp-options:
 
 option host-name string;
 
   This option specifies the name of the client.  The name
   may or may not be qualified with the local domain  name
   (it  is  preferable  to  use  the domain-name option to
   specify the domain name).  See RFC 1035  for  character
   set  restrictions.   This  option  is  only  honored by
   dhclient-script(8)  if  the  hostname  for  the  client
   machine  is  not  set (i.e., set to the empty string in
   rc.conf(5) ).
 
 so, as you can see, it appears that the hostname for the freebsd machine
 (delta) is being set only _after_ your box acquires its dhcp lease, and
 thereby does not send the hostname to the dhcp server.  if you put the above
 send line into your /etc/dhclient.conf file, like this:
 
 send host-name delta;
 
 your box will send the hostname to the dhcp server and all should work as
 expected.  to be more correct, you may even put in something like this:
 
 interface if0 {
 send host-name delta;
 }
 
 where if0 is the name of your dhcp-configured ethernet interface (e.g.
 xl0, rl0, etc).
 
 hope this helps,
 --
 dfolkins
 


--
Bert Hiddink, [EMAIL PROTECTED]
Bendoo http://www.bendoo.com
The Netherlands
De Vloglanden 39, 7051 VA Varsseveld




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: find case-insensitive challenge

2002-09-23 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-22 21:53:58 -0400:
 On Thu, 19 Sep 2002, Oliver Fromme wrote:
  This also enables you to use grep to filter the file names in
  a more sophisticated way than find itself can do:
  find foo -type f | grep -i '\.jpg$' | xargs -J % mv % bar
 
 Amazing, I just wanted to post and say Have I told you (all) lately, that
 I love you?  This is the most incredible learning experience, and I must
 say that my command-line skills just grew approximately 14555% fold :)

you can save the grep with

% find foo -type f -iname '*.jpg' | xargs ...

but i think someone already posted this

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
10:24AM up 5 days, 17:39, 21 users, load averages: 0.01, 0.02, 0.00
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Portupgrade queery.

2002-09-23 Thread Yann Golanski

I'm running portupgrade to keep all my ports up to date but have come to
the following issue. 

I want to run the latest cvs version of XFree86 -- need it to get the
Vaio to have X11 -- but this is not a port. 

So, can I specify an option to portupdate that will skip XFree86 in
automatic updates? Something like:

 $ portupgrade -v -ra -without XFree86

-- 
[EMAIL PROTECTED]  -=*=-  www.kierun.org
PGP:   www.kierun.org/pgp/key-kierun
PGP:   009D 7287 C4A7 FD4F 1680  06E4 F751 7006 9DE2 6318
IRC:   nick kierun, server spod.uk.amiganet.org, channel #sanctus

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: portupgrade

2002-09-23 Thread Patrick O'Reilly

From: Rahim Anderson [EMAIL PROTECTED]


 On a whim I used portupgrade today, just to see how it worked and
everything
 (this is on a box used mostly for testing) and got the following
errors...

 dhcp-849-11# portupgrade -a
 cd: can't cd to /usr/ports/devel/ruby-fnmatch
 cd: can't cd to /usr/ports/devel/ruby-optparse
 ** The port directory for 'devel/ruby-optparse' does not exist.
 ** The port directory for 'devel/ruby-fnmatch' does not exist.
 ** The port directory for 'sysutils/pkg_tarup' does not exist.
 ---  Skipping 'sysutils/portupgrade' (portupgrade-20020429) because
 'sysutils/pkg_tarup' (pkg_tarup-1.2_3) failed

 Is this somethig that will resolve itself, or did I do something to
cause
 this?  all ports were updated before running portupgrade, and again
 afterwards to see if there had been any further changes.

I had this too - I did a pkg_delete pkg_tarup, and then ran
portupgrade portupgrade, and it all _seems_ OK now.

Regards,
Patrick O'Reilly.
______
   / _ )__ __ (_)_ __ ___ _/ / __
  / __/ -_) _) /  ~  ) -_), ,-/ -_) _)
 /_/  \__/_//_/_/~/_/\__/ \__/\__/_/
http://www.perimeter.co.za



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Virtual memory allocations and signal 11 core dumps

2002-09-23 Thread Matthew Seaman

On Mon, Sep 23, 2002 at 11:14:59AM +1000, Duncan Anker wrote:

 Irrespective of how much memory you really have, you have a virtual
 memory size of 4Gb (maximum imposed by the 32-bit architecture). Of
 this, the kernel will use 1Gb leaving 3Gb for user processes. Each
 process by default is granted 128Mb data size up to a 512Mb limit. This
 limit can be raised up to just under 2Gb by setting MAXDSIZ (due to the
 use of a signed int, I suspect).
 
 Given this information, and I would appreciate corrections if I have any
 of it wrong, my question then becomes this - if I have, for example,
 512Mb of real memory and 2Gb of swap space then that would give me a
 maximum 2.5Gb (depending on how the swapper handles this). What happens
 once this maximum is used up, since the system has a theoretical maximum
 of another 1.5Gb? If the system actually tries to use the space
 allocated through the over-committing strategy is the net result going
 to be that dreaded signal 11?

When you run short of memory, there are two mechanisms that come into
play.

The first is pretty obvious: functions that attempt to allocate more
memory to a process will fail with ENOMEM errors.  Much of the time
this will result in the process that attempted to allocate the memory
quitting.  No SIGSEGV (11) involved.  Some badly written processes may
fail to check the return value from the memory allocation and attempt
to use a zero or a garbage pointer, which will result in SIGSEGV or
SIGBUS, but that would be extremely unlikely in a well written piece
of software like apache.

The second is due to the kernel.  It may kill off processes in an
attempt to free sufficient memory to keep going --- that would be a
SIGTERM (15) or a SIGKILL (9). It will choose the process to kill by
some criterion to do with the amount of memory and the CPU time used.
Because the system has no way of choosing the processes that aren't
vital to the intended function of the system, this situation
effectively means the machine is out of action.

If memory still remains tight, eventually some vital process will be
unable to run, and the system will hang up or crash.

 For that matter, even if one does have 4Gb available, whether real or
 swap, it seems entirely possible that one could run several large
 processes and go over this limit. Would this cause a crash?

4Gb memory is the maximum amount of memory addressable using 32bit
pointers: it's simply not possible to generate a bit pattern in the
pointer variable that corresponds to an address outside that range.
On FreeBSD, having several large processes corresponds entirely to the
normal running out of memory scenario above, even if there is more
than 4Gb physical ram+swap in the machine.  (It's actually quite
difficult to run FreeBSD in this situation --- you have to set the
MAXMEM option in the kernel config or the hw.physmem sysctl in the
loader --- see /usr/src/sys/boot/common/help.common --- and tune some
other variables).

You might think that if you have much more than 4Gb physical memory it
should be possible to have a number of processes each seeing their own
separate 4Gb addressable space, but mapping onto different sections of
real memory.  That is possible on some OSes, and it has been discussed
on freebsd-hackers, but as far as I know, no one has made available
any sort of implementation of it.

Note: out of all the processors FreeBSD supports, the above applies
only to the IA32 processor family --- the other processors supported
by or soon to be supported by FreeBSD (Alpha, Ultrasparc, IA64) all
have 64 bit memory addressing, which shouldn't run into this sort of
address space problem for a few years yet.

 A more practical question might be Should I ensure that the number of
 precesses running won't use more than my total available memory less the
 1Gb for the kernel?

Practically, you want to ensure that you have sufficient RAM in the
machine that it doesn't start to swap during normal usage.  If that's
impossible, then the best approach is to acquire another machine and
spread the load that way.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Questions about installing and video support in current release 4.6.2

2002-09-23 Thread taproot420

Hello freebsd-questions,

  I am getting ready to try freebsd and have some general questions
  before i start.

  1. I, have used linux and openbsd for awile but i am sure there are
  some differences so the first one is about dual boot. The machine i
  am setting up will have 1/2 the drive for XP and 1/2 for freebsd and
  i am wondering which OS i should load first and then which boot
  manager to use and how to accomplish this.

  2. My machine (amd athlon 1800+ ,256 ddr ram) also has the Geforce 4
  video card with dvi output as i use a lcd monior. Is this card
  supported by the XFree86 sever present in the current release, is it
  possible to use it at all in case the latter answer is no...and if
  somehow i can get this card working can i use the DVI output for my
  lcd and if so what config do i need to add to the xfree86.config to
  use this DVI port?

  3. What is a good, clean, stable and attractive such as themable
  etc... desktop and window manager combo. I was thinking gnome but
  wanted some opinions on this.

  Thanks for all input.

-- 
Best regards,
 taproot420  mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Portupgrade queery.

2002-09-23 Thread Ruslan Morozoff

Hello Yann Golanski,

Monday, September 23, 2002, 12:39:17 PM, you wrote:

YG I'm running portupgrade to keep all my ports up to date but have come to
YG the following issue. 

YG I want to run the latest cvs version of XFree86 -- need it to get the
YG Vaio to have X11 -- but this is not a port. 

YG So, can I specify an option to portupdate that will skip XFree86 in
YG automatic updates? Something like:

YG  $ portupgrade -v -ra -without XFree86

Try this:
root# printf \n  HOLD_PKGS += [\n\t\'x11/XFree86\*\',\n  ]\n  
/usr/local/etc/pkgtools.conf

-- 
Best regards,
 Ruslan Morozoffmailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Questions before installing 4.6.2

2002-09-23 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-22 16:25:17 -0500:

   1. I, have used linux and openbsd for awile but i am sure there are
   some differences so the first one is about dual boot. The machine i
   am setting up will have 1/2 the drive for XP and 1/2 for freebsd and
   i am wondering which OS i should load first and then which boot
   manager to use and how to accomplish this.

windows first is the safe way, but xp should preserve freebsd(?)
i've only used booteasy, which is the freebsd boot manager. nothing
fancy, but works.
 
   2. My machine (amd athlon 1800+ ,256 ddr ram) also has the Geforce 4
   video card with dvi output as i use a lcd monior. Is this card
   supported by the XFree86 sever present in the current release, is it
   possible to use it at all in case the latter answer is no...and if
   somehow i can get this card working can i use the DVI output for my
   lcd and if so what config do i need to add to the xfree86.config to
   use this DVI port?

i don't use gforce cards, but you should be able to tell on the
xfree86 site.
 
   3. What is a good, clean, stable and attractive such as themable
   etc... desktop and window manager combo. I was thinking gnome but
   wanted some opinions on this.

i use openbox, a blackbox fork. it's a window manager (i don't use
kde or gnome), but the 2.x branch has full netwm support, so you can
use it in kde/gnome just fine if you need an integrated desktop
environment.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
11:17AM up 5 days, 18:32, 22 users, load averages: 0.10, 0.08, 0.05
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OLE in ports?

2002-09-23 Thread Matthew Seaman

On Sun, Sep 22, 2002 at 11:11:07PM -0400, David Banning wrote:
 I am running a perl application and it is asking for OLE.pm;
 
 Can't locate Win32/OLE.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 .) at ./lecxe.pl line 12.
 BEGIN failed--compilation aborted at ./lecxe.pl line 12.
 
 Is that available in the ports somewhere?

Unfortunately, the OLE stuff is Win32 specific, so I don't think
you're going to have any luck at all in attempting to make your perl
run under FreeBSD. See
http://search.cpan.org/author/GSAR/libwin32-0.191/ and
http://search.cpan.org/src/GSAR/libwin32-0.191/README
 
 I saw the port;  
 p5-OLE-Storage_Lite, but when installed it doesn't seem to recognize it.

That's a very different animal to the Win32::OLE module I'm afraid. No
good to you.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: MAKEDEV to a diff location

2002-09-23 Thread Matthew Seaman

On Mon, Sep 23, 2002 at 03:28:29AM -0400, Jason Hunt wrote:
 How can I tell MAKEDEV to make the devices on /mnt/dev instead of /dev?

MAKEDEV makes the devices in your current working directory. eg:

happy-idiot-talk:/var/tmp:# mkdir dev
happy-idiot-talk:/var/tmp:# cd dev
happy-idiot-talk:/var/tmp/dev:# /dev/MAKEDEV snd0
happy-idiot-talk:/var/tmp/dev:# ls -la 
total 2
drwxr-xr-x  2 root  wheel   512 Sep 23 10:20 ./
drwxrwxrwt  5 root  wheel   512 Sep 23 10:20 ../
lrwxrwxrwx  1 root  wheel 6 Sep 23 10:20 audio@ - audio0
lrwxrwxrwx  1 root  wheel 8 Sep 23 10:20 audio0@ - audio0.0
crw-rw-rw-  1 root  wheel   30,   4 Sep 23 10:20 audio0.0
crw-rw-rw-  1 root  wheel   30, 0x00010004 Sep 23 10:20 audio0.1
crw-rw-rw-  1 root  wheel   30, 0x00020004 Sep 23 10:20 audio0.2
crw-rw-rw-  1 root  wheel   30, 0x00030004 Sep 23 10:20 audio0.3
lrwxrwxrwx  1 root  wheel 4 Sep 23 10:20 dsp@ - dsp0
lrwxrwxrwx  1 root  wheel 6 Sep 23 10:20 dsp0@ - dsp0.0
crw-rw-rw-  1 root  wheel   30,   3 Sep 23 10:20 dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003 Sep 23 10:20 dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 Sep 23 10:20 dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 Sep 23 10:20 dsp0.3
lrwxrwxrwx  1 root  wheel 5 Sep 23 10:20 dspW@ - dspW0
lrwxrwxrwx  1 root  wheel 7 Sep 23 10:20 dspW0@ - dspW0.0
crw-rw-rw-  1 root  wheel   30,   5 Sep 23 10:20 dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005 Sep 23 10:20 dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005 Sep 23 10:20 dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005 Sep 23 10:20 dspW0.3
crw-rw-rw-  1 root  wheel   30,   2 Sep 23 10:20 midi0
lrwxrwxrwx  1 root  wheel 6 Sep 23 10:20 mixer@ - mixer0
crw-rw-rw-  1 root  wheel   30,   0 Sep 23 10:20 mixer0
lrwxrwxrwx  1 root  wheel 6 Sep 23 10:20 music@ - music0
crw-rw-rw-  1 root  wheel   30,   8 Sep 23 10:20 music0
lrwxrwxrwx  1 root  wheel 4 Sep 23 10:20 pss@ - pss0
crw-rw-rw-  1 root  wheel   30,   9 Sep 23 10:20 pss0
lrwxrwxrwx  1 root  wheel10 Sep 23 10:20 sequencer@ - sequencer0
crw-rw-rw-  1 root  wheel   30,   1 Sep 23 10:20 sequencer0
crw-rw-rw-  1 root  wheel   30,   6 Sep 23 10:20 sndstat

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ppp with a null-modem cable

2002-09-23 Thread Jason Hunt

I am trying to get connectivity between two machines using the serial
ports and a null-modem cable.  I know the cable works because I can start
tip or kermit on both machines and send characters back and forth.

I've tried using the direct-server and direct-client samples that are
given in /usr/share/examples/ppp/ppp.conf.sample, with no luck.  I've
tried using pppd with settings given in the handbook, but I get errors
such as Connection not open from kermit.  I've also tried configuring a
slip connection with no success.

Has anyone ever done anything like this before?  What am I missing?

Any help would be appreciated.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



top command

2002-09-23 Thread John Wards

I did a bit of google bashing last night to try and find this answer out but
I couldn't find anything.

What does the following mean when running 'top'

sbwait
lockf
select
poll

Cheers
John


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Updating Kernel to newest Version

2002-09-23 Thread Pascal Giannakakis

 Hello Pascal, 
  
 Monday, September 23, 2002, 11:54:16 AM, you wrote: 
  
 PG Lo ppl,  
   
 PG i updated my WS with the binary update from the 4.6.2 iso (CD 1). It 
 PG finished  
 PG successfully, but my kernel remains in the old version. How do i get a

 PG kernel of the  
 PG new Version? I couldn't find anything about that in the handbook.  
   
 PG thx  
  
  
 I guess you should to go to /usr/src/sys/i386/conf 
 then copy GENERIC to file with YOURNAMEFORKERNEL. 
 To make necessary changes in YUORKERNEL. Don't forget to change ident 
 from GENERIC to YUORKERNEL. 
 [...] 
 
What i wanted to know is how i can get the sources for 4.6.2. They are on CD
and can 
be copied with /stand/sysinstall - Configure - Distributions. Sorry if my
question 
was not specific enough. 
 
Now i copied and recompiled theem, and what a pain in the big A, i
accidently deleted 
the file with the accounts. DOH! =( Could fix it again, but a lot of trouble
for 
getting the kernel to the latest version... 
 

-- 
Werden Sie mit uns zum OnlineStar 2002! Jetzt GMX wählen -
und tolle Preise absahnen! http://www.onlinestar.de


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Using free BSD in medical equipment

2002-09-23 Thread Paul Everlund

On Fri, 20 Sep 2002 [EMAIL PROTECTED] wrote:

 I work for a medical company situated in Andover England. We are currently
 looking at various software packages that we could use as a platform for a
 graphical user interface on a piece of medical equipment that is in an
 early design stage. I have considered various Microsoft and UNIX based
 packages and consequently found FreeBSD suitable for our requirements.
 However I have one obstacle in my way, in order to convince my colleges I
 need to find documented evidence of some commercial ventures (not internet
 hosting or similar activity), typical examples: customer information
 service, domestic satellite receiving equipment, pocket PC etc.

 Regards

 Andy Pike

 Development Engineer

 Integra NeuroSciences
 Newbury Road
 Andover
 Hants
 SP10 4DR
 Tel 01264 345717

 [EMAIL PROTECTED]

Hi!

At Lund University Hospital we're currently using a FreeBSD system
that is a middlestation between a Toshiba nuclear modality and our
PACS archive. It's purpose so far is to convert between various
image formats to DICOM, using a slightly modified application from
Eric Nolf (XMedcon). A Modality Worklist Query is asked to Mitra's
BROKER, for insertion of data in the DICOM object using a modified
package of CTN from Mallinckrodt Institute of Radiology. After the
DICOM object has been created it is send to our PACS archive.

Everything works really good, and no one could be happier than me,
as it was due to my suggestion we did chose FreeBSD. As I also be-
came fully responsible for the project, it was a comfort using this
great OS.

This FreeBSD server will eventually be a gateway between other im-
age systems as well, and I have no worries that it will not be able
to handle this too!

To summarize it all... The OS fully serves our purpose. If it will
serve your is another story though.

Good luck!

Best regards,
Paul



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: find case-insensitive challenge

2002-09-23 Thread Giorgos Keramidas

On 2002-09-22 21:53, Peter Leftwich [EMAIL PROTECTED] wrote:
 You know, it's sad but in all my nine (9) years of grepping, I never once
 used the $ -- the ^ for line beginning with yes, but never the
 immensely useful $ in order to obtain the .xxx extensions :)
 
 That leads me to wonder about using rev to reverse the order of
 characters on the line and cut using a field delimiter of .  :)  :)

You probably could, and then use rev to fix the lines back to their
normal form too.

rev | cut -d. -f2- | rev

You can do that with sed(1) too, though:

sed -e 's/\.[^.]*$//'

Both of these should strip the `.xxx' extension of all input lines.
Then, there's Perl, awk, and a few other tools.  Practically unlimited
ways of doing the same thing :)

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: MAKEDEV to a diff location

2002-09-23 Thread Giorgos Keramidas

On 2002-09-23 03:28, Jason Hunt [EMAIL PROTECTED] wrote:
 How can I tell MAKEDEV to make the devices on /mnt/dev instead of /dev?

One way of doing this would be to copy /dev/MAKEDEV into /mnt/dev and
run a chroot before executing it.  That requires a bit work to get the
chroot working, such as copying some executables from /bin and /sbin,
the password and group databases into /mnt/etc and a few other files,
but it's not really hard to do :)

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



dhclient going mad?!?

2002-09-23 Thread Gabriel Ambuehl

After having some trouble with the hardware in my usual NAT gateway, I
decided to use another box I had laying around running 4.6.1p10 and
two interfaces, rl0 and rl1.

I had linked dhclient to rl1 and wanted to use ipnat as usual but then
the following happened:

Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.95.147
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.94.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.128.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.129.199
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.248.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.128.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.94.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.95.148
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.94.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.128.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.129.201
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.248.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.128.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.94.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.95.150
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.94.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.128.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.129.204
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.248.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.128.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.94.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.95.151
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.94.1
Sep 23 13:30:49 local dhclient: New Network Number: 217.162.128.0
Sep 23 13:30:49 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:49 local dhclient: New IP Address (rl1): 217.162.129.205
Sep 23 13:30:49 local dhclient: New Subnet Mask (rl1): 255.255.248.0
Sep 23 13:30:49 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:49 local dhclient: New Routers: 217.162.128.1
Sep 23 13:30:50 local dhclient: New Network Number: 217.162.94.0
Sep 23 13:30:50 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:50 local dhclient: New IP Address (rl1): 217.162.95.155
Sep 23 13:30:50 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:50 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:50 local dhclient: New Routers: 217.162.94.1
Sep 23 13:30:50 local dhclient: New Network Number: 217.162.128.0
Sep 23 13:30:50 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:50 local dhclient: New IP Address (rl1): 217.162.129.209
Sep 23 13:30:50 local dhclient: New Subnet Mask (rl1): 255.255.248.0
Sep 23 13:30:50 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:50 local dhclient: New Routers: 217.162.128.1
Sep 23 13:30:50 local dhclient: New Network Number: 217.162.94.0
Sep 23 13:30:50 local dhclient: New Broadcast Address: 255.255.255.255
Sep 23 13:30:50 local dhclient: New IP Address (rl1): 217.162.95.156
Sep 23 13:30:50 local dhclient: New Subnet Mask (rl1): 255.255.254.0
Sep 23 13:30:50 local dhclient: New Broadcast Address (rl1): 255.255.255.255
Sep 23 13:30:50 local dhclient: New Routers: 217.162.94.1


(more of it until I killed dhclient as I thought it had crashed).


Anyone got any idea what's happening here?

The other box I'm back to using for the moment has a dc0 interface to
the cablemodem if that is of any help (oh and I forced the rl driver
to use 10base/UTP as media as 

Re: need help with x server and mouse

2002-09-23 Thread Matt Smith

Try:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 
EndSection

If you have a wheel mouse, you don't need the Emulate3Buttons -- push
the wheel for button 3.
Also, try the auto protocol -- it usually works out.

Good luck!
-Matt

On Mon, 2002-09-23 at 02:16, taproot420 wrote:
 Hello TapRoot420,
 
 Monday, September 23, 2002, 12:55:15 AM, you wrote:
 
 T I just installed FreeBSD 4.6.2 the current release. Everything is working fine 
except my mouse. It works without X running in the plain console i get when i boot 
up, but as soon as #startx the
 T mouse pointer goes dirrectly into the upper left cornner of my monitor when i 
move it for the first time after starting the X server and stays there...the pointer 
will flicker if i move the mouse,
 T like its trying to move but it just stays stuck in the corner.
 
 T The mouse is a logitech scroll wheel model# M-S48a
 
 T Also x is running fine but i wondering if there is a way to get the dvi port on 
my card to work instead of the analog one i am currently using as i have a planar 
digital flat screen that has a dvi
 T input.
 
 T the video card is a Geforce 4 with dvi out.
 
 
 T Here is my XF86Config file:
 
 
 T # File generated by xf86config.
 
 T #
 T # Copyright (c) 1999 by The XFree86 Project, Inc.
 T #
 T # Permission is hereby granted, free of charge, to any person obtaining a
 T # copy of this software and associated documentation files (the Software),
 T # to deal in the Software without restriction, including without limitation
 T # the rights to use, copy, modify, merge, publish, distribute, sublicense,
 T # and/or sell copies of the Software, and to permit persons to whom the
 T # Software is furnished to do so, subject to the following conditions:
 T # 
 T # The above copyright notice and this permission notice shall be included in
 T # all copies or substantial portions of the Software.
 T # 
 T # THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 T # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 T # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 T # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 T # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
 T # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 T # SOFTWARE.
 T # 
 T # Except as contained in this notice, the name of the XFree86 Project shall
 T # not be used in advertising or otherwise to promote the sale, use or other
 T # dealings in this Software without prior written authorization from the
 T # XFree86 Project.
 T #
 
 T # **
 T # Refer to the XF86Config(4/5) man page for details about the format of 
 T # this file.
 T # **
 
 T # **
 T # Module section -- this  section  is used to specify
 T # which dynamically loadable modules to load.
 T # **
 T #
 T Section Module
 
 T # This loads the DBE extension module.
 
 T Loaddbe   # Double buffer extension
 
 T # This loads the miscellaneous extensions module, and disables
 T # initialisation of the XFree86-DGA extension within that module.
 T SubSection  extmod
 T   Optionomit xfree86-dga   # don't initialise the DGA extension
 T EndSubSection
 
 T # This loads the Type1 and FreeType font modules
 T Loadtype1
 T Loadfreetype
 
 T # This loads the GLX module
 T #Load   glx
 
 T EndSection
 
 T # **
 T # Files section.  This allows default font and rgb paths to be set
 T # **
 
 T Section Files
 
 T # The location of the RGB database.  Note, this is the name of the
 T # file minus the extension (like .txt or .db).  There is normally
 T # no need to change the default.
 
 T RgbPath /usr/X11R6/lib/X11/rgb
 
 T # Multiple FontPath entries are allowed (which are concatenated together),
 T # as well as specifying multiple comma-separated entries in one FontPath
 T # command (or a combination of both methods)
 T # 
 T # If you don't have a floating point coprocessor and emacs, Mosaic or other
 T # programs take long to start up, try moving the Type1 and Speedo directory
 T # to the end of this list (or comment them out).
 T # 
 
 T FontPath   /usr/X11R6/lib/X11/fonts/local/
 T FontPath   /usr/X11R6/lib/X11/fonts/misc/
 T FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
 T FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
 T FontPath   

Re: [gunnut@2ainfo.it: problem upgrading XFree]

2002-09-23 Thread Matthew Seaman

On Mon, Sep 23, 2002 at 03:14:41PM +0057, [EMAIL PROTECTED] wrote:
 Stop in /usr/ports/x11-servers/XFree86-4-Server.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade67156.5 make
 ** Fix the problem and try again.
 ---  Skipping 'x11/XFree86-4' (XFree86-4.2.0_1,1) because 
'x11-servers/XFree86-4-Server' (XFree86-Server-4.2.1_1) failed
 ** The following packages were not installed or upgraded (*:skipped / !:failed)
 ! x11-servers/XFree86-4-Server (XFree86-Server-4.2.1_1) (patch error)
 * x11/XFree86-4 (XFree86-4.2.0_1,1)

Try cvsup'ing again: there's a new revision of that port available now:

happy-idiot-talk:~:% pkg_info -I XFree86-Server\*
XFree86-Server-4.2.1_3 XFree86-4 X server and related programs

Compiled and installed without any problems for me.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Upgrading using /stand/sysinstall

2002-09-23 Thread Danny

Dear Gregory,

Thank you for replying to my email with the games.telstra.com/gamearena/
site it was very helpful.

I tried the instruction on a test machine in the email below:
and after the installation has completed I typed in cp kernel.GENERIC
kernel then reboot the computer

I am now currently running :

backup# uname -a
FreeBSD backup.freebsbsd.org 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11
06:14:12 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
backup#

After the upgrade I am experiencing the following probelms with FreeBSD:

1) After FreeBSD has booted up I can't seem to log in with my old usernames
and password, I have checked /etc/passwd and I can't find the usernames.

2)When the machine boots up and I try to start the PostgreSQL service I get
the following error message
backup# ./010.pgsql.sh start
PGDATA: Undefined variable.
 pgsqlbackup#

3)When the machine boots up and I try to start the MySQL service I get the
following error message:
backup#   ./mysql-server.sh  start
 mysqldbackup#  pschown: mysql: illegal user name

4)When I load webmin to test it everything works fine expect Webmin still
shows I am running Version 0.93 on backup.freebsbsd.org (FreeBSD 4.3) after
the upgrade

Does anyone in the mailing list know how to solve the problems?

[EMAIL PROTECTED]

- Original Message -
From: Greg Lane [EMAIL PROTECTED]
To: Danny [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 19, 2002 3:39 PM
Subject: Re: Upgrading using /stand/sysinstall


  I am currently running FreeBSD 4.3-RELEASE and I want to upgrade to the
  latest version which is 4.6.1.
 
  I want to upgrade FreeBSD using the /stand/sysinstall facility.
 
  My ISP only allows me to download 1GB per month.
 
  I was wondering how much data I would download from the internet if I
used
  the /stand/sysinstall - upgrade facilty?

 G'day Danny,

 I presume you got your /etc/rc.conf thing sorted?

 I can't answer your question directly about the amount to download,
 but I can give you another approach to get the data without eating into
your
 download limit. I am guessing you are with Telstra ADSL or cable.

 If you are with them, then you can download the FreeBSD iso images from
 Telstra's Game Arena site for free (i.e. they don't count it towards your
 download limit.)  Make sure you check first that it is on the free site
 list! I have Telstra ADSL at home with a 3Gb limit and it is free for me.

 Go to:

 http://games.telstra.com/gamearena/

 Then select resources / file library / unix-like operating systems.

 I asked them to put the latest 4.6.2 release iso's on there a little
 while ago, which they did. I've used them to install on four or five
 machines already.

 Even if you don't have a burner, you can virtual mount the iso as follows:

 # vnconfig /dev/vn0c ./image.iso
 # mount -t cd9660 /dev/vn0c /cdrom

 You can upgrade via sysinstall from an existing filesystem (in this case
 /cdrom), it is one of the options. I did it once long ago that way, but
 can't remember any further details. Maybe someone else has a better
 clue, or just try it!

 When you're finished with the iso image:

 # umount /cdrom
 # vnconfig -u /dev/vn0c

 Best of luck!

 Greg

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



4.6.2 a point release or full release?

2002-09-23 Thread Galella, Anthony

In the release notes, it says This distribution of FreeBSD 4.6.2-RELEASE is
a ``point release'' 

Does this mean you need to upgrade a 4.6 machine to 4.6.2 ?

If this is the case, why do the iso's allow a full install. (I just
installed 4.6.2 on a machine with a blank hard disk)  I guess parts will be
missing?

Could someone clarify? This may have been covered awhile ago, but I seem to
have missed it, and cannot find an answer in the archives.


Thanks
Anthony J. Galella
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: DHCPD doesn't want to bind to any interface

2002-09-23 Thread dfolkins

From: [EMAIL PROTECTED]
To: dfolkins [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, September 20, 2002 6:18 AM
Subject: Re: DHCPD doesn't want to bind to any interface


 Selon dfolkins [EMAIL PROTECTED]:
  From: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Sent: Thursday, September 19, 2002 1:07 PM
  Subject: Re: DHCPD doesn't want to bind to any interface
 
 
   Selon Lowell Gilbert [EMAIL PROTECTED]:
[EMAIL PROTECTED] writes:
   
 recently I rebooted my box (FreeBSD 4.6-STABLE) and since this
reboot,
dhcpd
 cannot bind to any interface. I upgraded to FreeBSD 4.7-PRERELEASE
  then
 rebooted, same thing. The configuration file is ok and untouched
for
  many
 months.
 I use isc-dhcp provided with FreeBSD.
   
dhcpd isn't part of the FreeBSD base system.  Do you perhaps need to
update your dhcpd as well?
   
What happens when you try to start dhcpd by hand?
  
   it says rl0: not found
  
  are you running dhcpd as follows?:
  path to dhcpd/dhcpd rl0
 
  or are you using some other command line arguments for it?
 
  in other words, what is the exact command line that you use to run dhcpd
  (when you run it by hand).

 I use /usr/local/sbin/dhcpd -cf /usr/local/etc/dhcpd.conf rl0

why do you use the -cf option?  /usr/local/etc/dhcpd.conf is the default
conf file for dhcpd, i dont think you need to specify it.  try running just
/usr/local/sbin/dhcpd rl0
and see what happens.
--
dfolkins


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



VIA EPIA ITX MoBo

2002-09-23 Thread Marc Schneiders

Does anyone have success with FreeBSD (and which branch?) on either of
the two very small (17 * 17 cm) motherboards with integrated CPU, LAN,
audio, graphics, shown on the URL below?

http://www.mini-itx.com/store/default.asp?c=2

Did everything run? What did, if not all components?

Thanks in advance.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: 4.6.2 a point release or full release?

2002-09-23 Thread Jeremy Faulkner

On Mon, Sep 23, 2002 at 10:32:06AM -0400, Galella, Anthony wrote:
 In the release notes, it says This distribution of FreeBSD 4.6.2-RELEASE is
 a ``point release'' 

a point release - the previous release with security/significant bug fixes
  that are significant enough that the release engineers and
  the developer community saw the need for a release with
  the necessary fixes.

 
 Does this mean you need to upgrade a 4.6 machine to 4.6.2 ?

It is highly recommended that a 4.6-RELEASE machine be upgraded to 4.6.2, 
unless the 4.6 machine is not connected to a network and is sitting it a darke
room without power. :)

 If this is the case, why do the iso's allow a full install. (I just
 installed 4.6.2 on a machine with a blank hard disk)  I guess parts will be
 missing?

4.6.2 is a full release, all -RELEASE's are full releases. It is 4.6-RELEASE 
with some fixes that needed to be made (security fixes found after -RELEASE 
that were significant enough to need an update to the original -RELEASE).

 
 Could someone clarify? This may have been covered awhile ago, but I seem to
 have missed it, and cannot find an answer in the archives.

It is in the archives.

 
 
 Thanks
 Anthony J. Galella
 [EMAIL PROTECTED]
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Jeremy Faulkner http://www.gldis.ca

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



PicoBSD wireless support...

2002-09-23 Thread Eric Six


All;

I recently came across Warlinux, a bootable linux cd that has wireless
support and a load of network utilites for wireless(802.11b). I began
wondering if anyone has ventured into this for FreeBSD...

Has anyone?


Cheers,
Eric 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: FreeBSD on MAC OS X

2002-09-23 Thread Adam Weinberger

http://www.freebsd.org/platforms/ppc.html

note that it doesn't really work yet.

-Adam


 (09.23.2002 @ 1029 PST): Barry Kerzner said, in 0.5K: 
 Dear Sir:
 
 I am currently running MAC OS X (10.1.5) on an Apple PowerBook G4 Titanium
 w/ 512MB RAM.  I have a single native 30GB HDD and an external Firewire HDD.
 Can I run FreeBSD on this?  If so what would I download and how would I
 install it?  Do I need a compiler, and if so, which would you recommend?
 
 Thank You for your assistance.
 
 -- 
 Barry Kerzner
 Cell:  214.707.3441
 Home:  214.348.3765
 [EMAIL PROTECTED]
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of FreeBSD on MAC OS X from Barry Kerzner 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Creating large memory disks

2002-09-23 Thread Lowell Gilbert

Marcus I. Ryan [EMAIL PROTECTED] writes:

 I need to know how to create a large memory disk in FreeBSD 4.6x.  I've
 figured out how to create a 10M malloc-backed disk, but I want a
 ramdrive more on the order of 128M.  How can I do that?
 
 The md man page indicates it's possible, but talks about preloading it
 in loader.conf.  However the reply from Terry Lambert to a similar
 request said it should be done after boot.  Any tips or guides?

Those are different things.  What Terry said was that you want to set
up the filesystems after boot.  What the manual said was that the
*maximum* size of an md(4) device is set with a kernel option.

If you're using a RAM disk for reasons that originated in DOS (e.g.,
faster startup of commonly used programs), remember that FreeBSD is
already buffering your disk accesses...

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Practical limit for pre-loaded md_image size?

2002-09-23 Thread Lowell Gilbert

Nicholas Esborn [EMAIL PROTECTED] writes:

 I've tried this on two machines:
 
  1 4.7-RC w/ 512 MB of RAM
  2 5.0-CURRENT w/ 256 MB of RAM
 
 Both behave the same way with a ~128MB md_image.

Did you check the manual?  It says: The default maximum size of a md
disk backed by malloc(9) is 20,000 sectors of 512 bytes each.  This
can be changed with the kernel option MD_NSECT. 

 -nick
 
 On Sun, Sep 22, 2002 at 11:19:18AM -0700, Kris Kennaway wrote:
  On Sun, Sep 22, 2002 at 01:11:20AM -0700, Nicholas Esborn wrote:
   Hello,
   
   I've been trying to boot a kernel and a preloaded md_image of about 128MB.
   
   The kernel and image load, and then about a quarter of a second after the
   kernel executes, before any text even prints, the machine reboots.
   
   Has anyone had better luck with large md_image root filesystems?
  
  You forgot to mention how much RAM you have, and what FreeBSD version.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



IMHO odd behaviour with jdk-1.3.1p7 and galeon-1.2.6

2002-09-23 Thread Esa Karkkainen

Hi all

I finally managed to compile jdk-1.3.1p7 and decided to use it
with Galeon. I checked java checkbox in Galeon's Settings menu,
quit Galeon and started Galeon from command line. Galeon died with
following messages:

% galeon

** CRITICAL **: file mozilla.cpp: line 134 (gboolean
mozilla_preference_set(const char *, const char *)): assertion
`new_value != NULL' failed.
INTERNAL ERROR on Browser End: Expected a version  5! Version = 0

System error?:: No such file or directory
%

I managed to fix, ie Galeon starts ok and I can browse
non Java websites, the problem I had rather crudely:

# cd /usr/local/jdk1.3.1/jre/plugin/i386/ns600
# ls -l
total 2656
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
# mv libjavaplugin_oji.so libjavaplugin_oji.so.5
# ls -l
total 2656
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so.5*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
# ln -s libjavaplugin_oji.so.5 libjavaplugin_oji.so
# ls -l 
total 2656
lrwxr-xr-x  1 root  wheel   22 Sep 23 20:32 libjavaplugin_oji.so@ - 
libjavaplugin_oji.so.5
-rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so.5*
-rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
#

So then I tried running some of the demos included with JDK.
None of the demos work, all they do is open a window stating:

This page contains information of a type (application/x-java-vm) that
 can be only viewed with the approppriate Plug-in.

And about:plugins shows only Default Plugin (ie
libnullplugin.so).

-- 
In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams 1952 - 2001

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



vMWare - access to internet through ISP

2002-09-23 Thread Daniel Jagodziski

I have vMWare installed under FreeBSD 4.6.2. vMWare is running W2K guest OS.
The access to internet is going through ISP (cable modem attached to network
adapter Realtek). The policy of ISP (in order to prevent private network
behind one computer) is that each computer (or rather each network card)
needs to be registered. When the vMWare was installed (with hostOnly option)
every attempt to access interenet was finished by redirecting to ISP www
page where I was asked to register another computer. In hostOnly mode vMWare
is using vmnet1 interface to communicate (details listed below). This
protocol has obviously different MAC ADDRESS than rl0 interface that is real
network card (details also listed below). I was trying to redirect the
vmnet1 through rl0 using natd (detailes of natd.conf listed below) but
without any effect. My understanding is that the ISP system recognize the
MAC ADDRESS of vmnet1 and threfore is asking for registration. It means that
the MAC of vmnet1 somehow should be altered - I do not know how.

I was asking some friends for help and one of the advise was that vMWare
should be installed and executed in Bridged mode. So I did it but when I was
trying to start guest OS vMWare send warning that there is no vmnet0
interface. I went through the vMWare script (located in
/usr/etc/...something) that initalize vMWare and could not find any
refference to vmnet0. Is it enough to use MAKEDEV or some other tools should
also be used.

In general my question is: How to connect guest OS of vMWare to internet
through ISP in case when system of ISP recognize the MAC address of
interface and is not allowing to access internet without registration - by
the way registration is not free of charge.

Listings

natd.conf
deny_incoming no
dynamic yes
same_ports yes
use_sockets yes
verbose no
unregistered_only yes

port natd
interface rl0

redirect_address 192.168.0.1 212.XX.XX.XXX

ipfw
00050 272 28932 divert 8668 ip from any to any via rl0
00100  20  1000 allow ip from any to any via lo0
00200   0 0 deny ip from any to 127.0.0.0/8
00300   0 0 deny ip from 127.0.0.0/8 to any
65000 272 28932 allow ip from any to any
65535   1   576 deny ip from any to any

ifconfig
rl0: flags=8943UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500
...
inet 212.XX.XX.XXX netmask 0xfc00 broadcast 212.XX.XX.XXX
ether 00:e0:7d:7a:06:5f
media: Ethernet autoselect (10baseT/UTP)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
...
...
inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500
ppp1: flags=8010POINTOPOINT,MULTICAST mtu 1500
sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
sl1: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552
faith0: flags=8002BROADCAST,MULTICAST mtu 1500
vmnet1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::2bd:8eff:fe04:1%vmnet1 prefixlen 64 scopeid 0x9
ether 00:bd:8e:04:00:01

--
OMS Diver
SNAFU


--
Wykorzystaj mnie...  http://link.interia.pl/f1654



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



port: pilot-link compile error

2002-09-23 Thread Matt Smith

CVSup from this morning, been having this problem for a couple of days. 
pilot-link won't compile, using  2.95.4 20020320, although I have
gcc-3.1.1_20020909 port also installed.

snippet

cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include
-I/usr/local/include -O -pipe -march=pentiumpro -I/usr/local/include
-I/usr/local/include/tcl8.3 -c palmpix.c  -fPIC -DPIC -o
.libs/palmpix.lo
In file included from /usr/include/sys/types.h:48,
 from /usr/local/include/stdint.h:9,
 from /usr/local/include/inttypes.h:3,
 from palmpix.c:34:
/usr/include/sys/inttypes.h:16: redefinition of `uint8_t'
/usr/local/include/stdint.h:5: `uint8_t' previously declared here
/usr/include/sys/inttypes.h:17: redefinition of `uint16_t'
/usr/local/include/stdint.h:6: `uint16_t' previously declared here
/usr/include/sys/inttypes.h:18: redefinition of `uint32_t'
/usr/local/include/stdint.h:7: `uint32_t' previously declared here
/usr/include/sys/inttypes.h:19: redefinition of `uint64_t'
/usr/local/include/stdint.h:8: `uint64_t' previously declared here
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4/libpisock.
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4.
*** Error code 1

Stop in /apps/ports/palm/pilot-link/work/pilot-link-0.11.4.
*** Error code 1

Stop in /apps/ports/palm/pilot-link.


/snippet

any thoughts?
-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Two xdm questions

2002-09-23 Thread Kim Scarborough

I just enabled xdm on my 4.6.2 machine. I like it much better than having to
startx all the time, but I have two questions:

1) Do the console messages have to go to the xdm-enabled terminal? How can I
get them back on ttyv0 like they used to be?

2) I enabled the default line in /etc/ttys for xdm, but I changed the terminal
type from xterm to xterm-color. I was thinking this would make my xterms
default to xterm-color terminal type, but no, they're still straight xterm.
How can I get it to behave the way I want?


Kim Scarborough  http://www.unknown.nu/kim/

I know of no man I despise more than Shakespeare; it would be positively a
relief to my mind to dig him up and throw stones at him.
  - George Bernard Shaw

Now listening to: United Future Organization - Waltz (Le Serpent Rouge)




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Practical limit for pre-loaded md_image size?

2002-09-23 Thread Nicholas Esborn

I'm copying this to -hackers as well.

I tried setting the MD_NSECT to 307200 to accomodate my RAM disk, but
according to md(4):

 At boot time the md driver will search for pre-loaded modules of type
 `md_image' and instantiate a md device for each of these modules.  The
 type `mfs_root' is also allowed for backward compatibility.  These
 devices are backed by the RAM reserved by the loader(8), and as such not
 limited by the malloc(9) size constraints.

I am preloading the images using the md_image variable in loader.conf, so
this documentation thinks I *should* be fine.

The kernel with MD_NSECT set to 307200 still failed to boot with my 128MB
md_image.

I'm attaching my kernel config.

-nick

On Mon, Sep 23, 2002 at 02:08:11PM -0400, Lowell Gilbert wrote:
 Nicholas Esborn [EMAIL PROTECTED] writes:
 
  I've tried this on two machines:
  
   1 4.7-RC w/ 512 MB of RAM
   2 5.0-CURRENT w/ 256 MB of RAM
  
  Both behave the same way with a ~128MB md_image.
 
 Did you check the manual?  It says: The default maximum size of a md
 disk backed by malloc(9) is 20,000 sectors of 512 bytes each.  This
 can be changed with the kernel option MD_NSECT. 
 
  -nick
  
  On Sun, Sep 22, 2002 at 11:19:18AM -0700, Kris Kennaway wrote:
   On Sun, Sep 22, 2002 at 01:11:20AM -0700, Nicholas Esborn wrote:
Hello,

I've been trying to boot a kernel and a preloaded md_image of about 128MB.

The kernel and image load, and then about a quarter of a second after the
kernel executes, before any text even prints, the machine reboots.

Has anyone had better luck with large md_image root filesystems?
   
   You forgot to mention how much RAM you have, and what FreeBSD version.

-- 
Nicholas Esborn
Unix Systems Administrator
Berkeley, California


#
# COPPER
# Tue Apr 23 05:41:01 GMT 2002
# nick
#
# Based on $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.40 2002/03/27 02:16:26 dd Exp 
$

machine i386
cpu I686_CPU
ident   COPPERX
maxusers0

options HZ=1000 #increase clock resolution for polling
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
options MD_NSECT=307200 #Maxium MD size
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device, NFS required
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options CPU_ENABLE_SSE
options CPU_ATHLON_SSE_HACK
#optionsBOOTP
#optionsBOOTP_NFSROOT
#optionsBOOTP_NFSV3
#optionsBOOTP_COMPAT
options IPSEC
options IPSEC_ESP
options IPSEC_DEBUG
options IPFILTER
options IPFILTER_LOG

options DEVICE_POLLING

device  isa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
device  atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers
device  ahc # AHA2940 and onboard AIC7xxx devices

# SCSI peripherals
device  scbus   # 

Re: Two xdm questions

2002-09-23 Thread Jonathan Chen

On Mon, Sep 23, 2002 at 02:20:31PM -0500, Kim Scarborough wrote:
 I just enabled xdm on my 4.6.2 machine. I like it much better than having to
 startx all the time, but I have two questions:
 
 1) Do the console messages have to go to the xdm-enabled terminal? How can I
 get them back on ttyv0 like they used to be?

You tweak /usr/X11R6/lib/X11/xdm/Xsetup_0 and comment/remove the
xconsole invocation.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  You can get farther with a kind word and a gun
  than you can with a kind word alone - Al Capone

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



tracking local changes to ports?

2002-09-23 Thread Rob Ellis

Assuming it's fairly common to make changes to ports for local reasons,
is there a recommended way of tracking those changes?

I know make and configure args can be specified for
portupgrade/portinstall in /usr/local/etc/pkgtools.conf,
but what about changes to the ports themselves -- e.g.,
adding a local ./file/patch-xx file, or changing a postinstall 
script, etc.?

'make clean' clears the ./work directory, and cvsup changes the
ports tree, so presumably you want to save your local changes
outside the ports tree and make them again when you rebuild/upgrade
the port...

What are people doing about things like that?

Thanks.

- Rob

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: IMHO odd behaviour with jdk-1.3.1p7 and galeon-1.2.6

2002-09-23 Thread Weston M. Price

I absolutely agree. In fact, I have seen wretched behavior from ALL Java 
applications on FreeBSDthis included using native JDK 1.3.1 and the 
Linux-Sun port of 1.4.1. For example:

JEdit will just not runthe JVM chokes after a few moments of execution. 

Eclipse (the IDE) just will not work with any sort of regularity

Forte dies after a few moments of execution with the same type of errors as 
JEdit. 

Basically ANYTHING with a GUI does not work

Weston


On Monday 23 September 2002 06:18 pm, Esa Karkkainen wrote:
 Hi all

   I finally managed to compile jdk-1.3.1p7 and decided to use it
 with Galeon. I checked java checkbox in Galeon's Settings menu,
 quit Galeon and started Galeon from command line. Galeon died with
 following messages:

 % galeon

 ** CRITICAL **: file mozilla.cpp: line 134 (gboolean
 mozilla_preference_set(const char *, const char *)): assertion
 `new_value != NULL' failed.
 INTERNAL ERROR on Browser End: Expected a version  5! Version = 0

 System error?:: No such file or directory
 %

   I managed to fix, ie Galeon starts ok and I can browse
 non Java websites, the problem I had rather crudely:

 # cd /usr/local/jdk1.3.1/jre/plugin/i386/ns600
 # ls -l
 total 2656
 -rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so*
 -rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
 # mv libjavaplugin_oji.so libjavaplugin_oji.so.5
 # ls -l
 total 2656
 -rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15 libjavaplugin_oji.so.5*
 -rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17 libjavaplugin_oji_g.so*
 # ln -s libjavaplugin_oji.so.5 libjavaplugin_oji.so
 # ls -l
 total 2656
 lrwxr-xr-x  1 root  wheel   22 Sep 23 20:32 libjavaplugin_oji.so@ -
 libjavaplugin_oji.so.5 -rwxr-xr-x  1 root  wheel   316234 Sep 23 20:15
 libjavaplugin_oji.so.5* -rwxr-xr-x  1 root  wheel  2358425 Sep 23 20:17
 libjavaplugin_oji_g.so* #

   So then I tried running some of the demos included with JDK.
 None of the demos work, all they do is open a window stating:

 This page contains information of a type (application/x-java-vm) that
  can be only viewed with the approppriate Plug-in.

   And about:plugins shows only Default Plugin (ie
 libnullplugin.so).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Time-Sharing ?

2002-09-23 Thread Giorgos Keramidas

On 2002-09-23 13:02, MET [EMAIL PROTECTED] wrote:
 I see this phrase everywhere.  What exactly is meant by 'time-sharing'
 in Unix?

When many programs are run, on a single machine, there's eventually
some limit that they will hit as trying to run at the same time.
There's only one CPU for instance[1].  Time-sharing refers to a
technique that many operating systems use to give the impression that
programs run at the same time.

A simple diagram might help you understand this better.  If there are
three programs that are running on a multi-processing operating
system (one that allows the execution of many `processes',
i.e. programs, at once), and time advances from left to right... the
following diagram shows the fragments of time that each program
occupies the cpu of the machine.

A  |---XXX-XXX--XXX---XXX--XXX--|
B  |---XXX-XXX---XXX---XXX-XXX--|
C  |--XXX---XXXXXX--|

If you project this to a single line, replacing XXX with the name of
the program you get something like:

T  |---AAA-BBB-AAACCC--BBB--AAA-CCC--BBB--AAA--BBB-AAA-BBB-AAA--|

The three programs share the time of the machine's cpu, and the
operating system takes care of periodically running each one for short
periods of time.

I hope this helps a bit,
Giorgos.

[1] Well, SMP machines make this statement less true, but that's
besides the point.  Let's stick to a simple example.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



GUI Email Clients || Office Apps

2002-09-23 Thread MET

1) I'm wondering what people's favorite GUI email clients are that will
run under KDE 3.0.  

2) What's the real difference between OpenOffice and StarOffice?

~ MET


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Two xdm questions

2002-09-23 Thread Robin Damm

On Mon, Sep 23, 2002 at 02:20:31PM -0500, Kim Scarborough wrote:
 2) I enabled the default line in /etc/ttys for xdm, but I changed the terminal
 type from xterm to xterm-color. I was thinking this would make my xterms
 default to xterm-color terminal type, but no, they're still straight xterm.
 How can I get it to behave the way I want?

One option is to add XTerm*termName: xterm-color to $HOME/.Xdefaults.

-- 
Robin Damm [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: MAKEDEV to a diff location

2002-09-23 Thread Samuel Chow

- Original Message - 
From: Jason Hunt [EMAIL PROTECTED]
 How can I tell MAKEDEV to make the devices on /mnt/dev instead of /dev?

% cd /mnt/dev
% cp /dev/MAKEDEV .
% ./MAKEDEV all 

Seems to work for me.

---
Samuel Chow
[EMAIL PROTECTED]

This message is displayed using recycled electrons.
Segmentation Fault (core dumped)




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: GUI Email Clients || Office Apps

2002-09-23 Thread Robin Damm

On Mon, Sep 23, 2002 at 05:32:48PM -0400, MET wrote:
 1) I'm wondering what people's favorite GUI email clients are that will
 run under KDE 3.0.

No comment. Mutt really does suck less. :)

 2) What's the real difference between OpenOffice and StarOffice?

Not much, see http://www.openoffice.org/FAQs/mostfaqs.html#7.

Certain items such as the spell checker are different due to third
party licensing but provide the same functionality. And Sun provides
support for StarOffice.

-- 
Robin Damm [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



cvsup tag problem

2002-09-23 Thread Rafal Grzybowski

What is FreeBSD-4.7-RC1 tag name for cvsup ?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cvsup tag problem

2002-09-23 Thread Adam Weinberger

RELENG_4

-Adam


 (09.23.2002 @ 1636 PST): Rafal Grzybowski said, in 0.2K: 
 What is FreeBSD-4.7-RC1 tag name for cvsup ?
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of cvsup tag problem from Rafal Grzybowski 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Jeff Jirsa

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.


# cat /usr/ports/www/mod_throttle/pkg-descr
This Apache module is intended to reduce the load on your server 
bandwidth generated by popular virtual hosts, directories, locations, or
users accordingto supported polices that decide when to delay or refuse
requests. Also mod_throttle can track and throttle incoming connections by
IP address or by authenticated remote user.

Every request now passes through four levels of throttling, which are: by
client's IP address , by authenticated remote user name (ThrottleRemoteUser),
by local user ID (ThrottleUser), and by directory, location, virtual host,
or server (ThrottlePolicy).

WWW: http://www.snert.com/Software/mod_throttle/

- Jeff

-- 

Jeff Jirsa
[EMAIL PROTECTED]

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Christopher J. Umina

Does anybody know of these modules?  The ipfw thing would limit bandwidth
on the whole server unless I have a tun device, which I don't.  I want it
to be fast in the internal network, but not use too much of the speed
serving to the internet.

Thank you.

On Mon, 23 Sep 2002, Philip Hallstrom wrote:

 There are some apache modules that can do this to various extents, and I
 think you could use ipfw's dummynet as well.

 On Mon, 23 Sep 2002, Christopher J. Umina wrote:

  Hey peoples,
 
  How can I limit Apache's use of network traffic?  I want to limit
  it to somewhere around 50 Kb/s because it's a small server on a cable
  connection.  Is that possible?  If so, how can I get it done?
 
 
  Thanks,
  Christopher J. Umina
 
 
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-questions in the body of the message
 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Duncan Anker

On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
 Does anybody know of these modules?  The ipfw thing would limit bandwidth
 on the whole server unless I have a tun device, which I don't.  I want it
 to be fast in the internal network, but not use too much of the speed
 serving to the internet.

Doesn't DummyNet allow you to specify which port to limit?

Anyway, I think the module you want is (drum roll) mod_bandwidth


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cvsup tag problem

2002-09-23 Thread Rafal Grzybowski

On Mon, 23 Sep 2002, Adam Weinberger wrote:

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


I've read this but what if there are some tag name changes,
I think I could expect RELENG_5 in the future ?
This document must stay up-to-date with cvsup server.
Wouldn't it be easier to let users ask server directly ?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cvsup tag problem

2002-09-23 Thread Adam Weinberger

have faith in the FreeBSD documentation project!

-Adam


 (09.23.2002 @ 1700 PST): Rafal Grzybowski said, in 0.5K: 
 On Mon, 23 Sep 2002, Adam Weinberger wrote:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
 
 
 I've read this but what if there are some tag name changes,
 I think I could expect RELENG_5 in the future ?
 This document must stay up-to-date with cvsup server.
 Wouldn't it be easier to let users ask server directly ?
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Re: cvsup tag problem from Rafal Grzybowski 


--
Oh good, my dog found the chainsaw.
-Lilo, Lilo  Stitch
Adam Weinberger
[EMAIL PROTECTED]
http://vectors.cx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: cvsup tag problem

2002-09-23 Thread Giorgos Keramidas

On 2002-09-23 17:05, Adam Weinberger [EMAIL PROTECTED] wrote:
  (09.23.2002 @ 1700 PST): Rafal Grzybowski said, in 0.5K: 
  On Mon, 23 Sep 2002, Adam Weinberger wrote:
  
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html
 
  I've read this but what if there are some tag name changes,
  I think I could expect RELENG_5 in the future ?
  This document must stay up-to-date with cvsup server.
  Wouldn't it be easier to let users ask server directly ?

 have faith in the FreeBSD documentation project!

Documenting stuff is not a religion, you know.
Well... not all the time :-P

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Building 4.7-RC1 from 4.6-RELEASE

2002-09-23 Thread Rafal Grzybowski

Hi

I've tried to update from 4.6-RELEASE to 4.7-RC1 and got some dependency
problems. Here is my buildworld.log and make.conf

Any ideas ?

Thanks



Buildworld:



Script started on Tue Sep 24 02:09:26 2002
# make buildworls d

--
 Rebuilding the temporary build tree
--
rm -rf /usr/obj/usr/src/i386
mkdir -p /usr/obj/usr/src/i386/usr/bin
mkdir -p /usr/obj/usr/src/i386/usr/lib/compat/aout
mkdir -p /usr/obj/usr/src/i386/usr/games
mkdir -p /usr/obj/usr/src/i386/usr/libdata/ldscripts
mkdir -p /usr/obj/usr/src/i386/usr/libexec/elf
mkdir -p /usr/obj/usr/src/i386/usr/sbin
mkdir -p /usr/obj/usr/src/i386/usr/share/misc
mkdir -p /usr/obj/usr/src/i386/usr/share/dict
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devX100
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devX100-12
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devX75
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devX75-12
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devascii
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devcp1047
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devdvi
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devhtml
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devkoi8-r
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devlatin1
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devlbp
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devlj4
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devps
mkdir -p /usr/obj/usr/src/i386/usr/share/groff_font/devutf8
mkdir -p /usr/obj/usr/src/i386/usr/share/tmac/mdoc
mkdir -p /usr/obj/usr/src/i386/usr/share/tmac/mm
mkdir -p /usr/obj/usr/src/i386/usr/include/arpa
mkdir -p /usr/obj/usr/src/i386/usr/include/dev
mkdir -p /usr/obj/usr/src/i386/usr/include/fs
mkdir -p /usr/obj/usr/src/i386/usr/include/g++/std
mkdir -p /usr/obj/usr/src/i386/usr/include/isc
mkdir -p /usr/obj/usr/src/i386/usr/include/isofs
mkdir -p /usr/obj/usr/src/i386/usr/include/libmilter
mkdir -p /usr/obj/usr/src/i386/usr/include/objc
mkdir -p /usr/obj/usr/src/i386/usr/include/openssl
mkdir -p /usr/obj/usr/src/i386/usr/include/protocols
mkdir -p /usr/obj/usr/src/i386/usr/include/readline
mkdir -p /usr/obj/usr/src/i386/usr/include/rpc
mkdir -p /usr/obj/usr/src/i386/usr/include/rpcsvc
mkdir -p /usr/obj/usr/src/i386/usr/include/security
mkdir -p /usr/obj/usr/src/i386/usr/include/ufs
ln -sf /usr/src/sys /usr/obj/usr/src/i386

--
 stage 1: bootstrap tools
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  DESTDIR=  INSTALL=sh 
/usr/src/tools/install.sh make -f Makefile.inc1 -DBOOTSTRAPPING  -DNOHTML -DNOINFO 
-DNOMAN -DNOPIC -DNOPROFILE -DNOSHARED  -DNO_WERROR bootstrap-tools
echo === games/fortune/strfile;  cd /usr/src/games/fortune/strfile;  make 
DIRPRFX=games/fortune/strfile/ obj;  make DIRPRFX=games/fortune/strfile/ depend;  make 
DIRPRFX=games/fortune/strfile/ all;  make DIRPRFX=games/fortune/strfile/ 
DESTDIR=/usr/obj/usr/src/i386 install
=== games/fortune/strfile
/usr/obj/usr/src/i386/usr/src/games/fortune/strfile created for 
/usr/src/games/fortune/strfile
rm -f .depend
mkdep -f .depend -a-D__FBSDID=__RCSID  /usr/src/games/fortune/strfile/strfile.c
echo strfile: /usr/lib/libc.a   .depend
cc -O -pipe -march=k6 -Wall-D__FBSDID=__RCSID -c 
/usr/src/games/fortune/strfile/strfile.c
cc -O -pipe -march=k6 -Wall-D__FBSDID=__RCSID  -static -o strfile strfile.o
sh /usr/src/tools/install.sh -s -o root -g wheel -m 555   strfile 
/usr/obj/usr/src/i386/usr/games
echo === usr.bin/yacc;  cd /usr/src/usr.bin/yacc;  make DIRPRFX=usr.bin/yacc/ obj;  
make DIRPRFX=usr.bin/yacc/ depend;  make DIRPRFX=usr.bin/yacc/ all;  make 
DIRPRFX=usr.bin/yacc/ DESTDIR=/usr/obj/usr/src/i386 install
=== usr.bin/yacc
/usr/obj/usr/src/i386/usr/src/usr.bin/yacc created for /usr/src/usr.bin/yacc
rm -f .depend
mkdep -f .depend -a-D__FBSDID=__RCSID  /usr/src/usr.bin/yacc/closure.c 
/usr/src/usr.bin/yacc/error.c /usr/src/usr.bin/yacc/lalr.c /usr/src/usr.bin/yacc/lr0.c 
/usr/src/usr.bin/yacc/main.c /usr/src/usr.bin/yacc/mkpar.c 
/usr/src/usr.bin/yacc/output.c /usr/src/usr.bin/yacc/reader.c 
/usr/src/usr.bin/yacc/skeleton.c /usr/src/usr.bin/yacc/symtab.c 
/usr/src/usr.bin/yacc/verbose.c /usr/src/usr.bin/yacc/warshall.c
echo yacc: /usr/lib/libc.a   .depend
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/closure.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/error.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/lalr.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/lr0.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/main.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c /usr/src/usr.bin/yacc/mkpar.c
cc -O -pipe -march=k6-D__FBSDID=__RCSID -c 

Re: Limit Network Traffic APACHE 1.3

2002-09-23 Thread Philip Hallstrom

you might try mod_throttle

http://modules.apache.org/search?id=123

as for dummynet, read the ipfw man page.  I think it's a two part
process.. first passing things off to a pipe and then defining the pipe.
So in the first part you'd specify the port.  Never used it though so I
could be wrong.


On Mon, 23 Sep 2002, Christopher J. Umina wrote:

 hmm..
 mod_bandwidth sounds pretty wierd, and people are saying it doesn't work,
 but nowhere can I find how to set a port in a pipe with dummynet..
 Anybody know how to use it?

 Do I have to rebuild my kernel?


 On 24 Sep 2002, Duncan Anker wrote:

  On Tue, 2002-09-24 at 09:14, Christopher J. Umina wrote:
   Does anybody know of these modules?  The ipfw thing would limit bandwidth
   on the whole server unless I have a tun device, which I don't.  I want it
   to be fast in the internal network, but not use too much of the speed
   serving to the internet.
 
  Doesn't DummyNet allow you to specify which port to limit?
 
  Anyway, I think the module you want is (drum roll) mod_bandwidth
 
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



[gunnut@2ainfo.it: problem upgrading XFree]

2002-09-23 Thread Filippo Moretti

- Forwarded message from Filippo Moretti [EMAIL PROTECTED] -

Date: Thu, 19 Sep 2002 11:31:10 +0200
From: Filippo Moretti [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: problem upgrading XFree
User-Agent: Mutt/1.5.1i

 tried to upgrade Xfree86 with the following error:help.o(.text+0x57): undefined 
reference to `XawTextSourceClearEntities'
help.o: In function `StartHelp':
help.o(.text+0x33c): undefined reference to `XawTextSinkConvertPropertyList'
help.o(.text+0x35a): undefined reference to `XawTextGetSink'
help.o: In function `Html_ModeEnd':
help.o(.text+0x7cc): undefined reference to `XawTextSourceClearEntities'
help.o: In function `Html_AddEntities':
help.o(.text+0xadd): undefined reference to `XawTextGetSink'
help.o(.text+0xaf5): undefined reference to `XawTextSinkCopyProperty'
help.o(.text+0xb24): undefined reference to `XawTextSinkGetProperty'
help.o(.text+0xb32): undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0xb58): undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0xb72): undefined reference to `XawTextSinkCombineProperty'
help.o(.text+0xb84): undefined reference to `XawTextSinkAddProperty'
help.o(.text+0xcab): undefined reference to `XawTextSourceAddEntity'
help.o(.text+0xce1): undefined reference to `XawTextSourceAddEntity'
help.o: In function `Html_Commit':
help.o(.text+0xe89): undefined reference to `XawTextSourceAddEntity'
help.o: In function `Html_AArgs':
help.o(.text+0x2b43): undefined reference to `XawTextGetSink'
help.o(.text+0x2b4c): undefined reference to `XawTextSinkCopyProperty'
help.o: In function `Html_FontArgs':
help.o(.text+0x2bff): undefined reference to `XawTextGetSink'
help.o(.text+0x2c08): undefined reference to `XawTextSinkCopyProperty'
*** Error code 1

Stop in 
/usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/hw/xfree86/xf86cfg.
*** Error code 1

Stop in /usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver/hw/xfree86.
*** Error code 1

Stop in /usr/ports/x11-servers/XFree86-4-Server/work/xc/programs/Xserver.
*** Error code 1

Stop in /usr/ports/x11-servers/XFree86-4-Server.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade67156.5 make
** Fix the problem and try again.
---  Skipping 'x11/XFree86-4' (XFree86-4.2.0_1,1) because 
'x11-servers/XFree86-4-Server' (XFree86-Server-4.2.1_1) failed
** The following packages were not installed or upgraded (*:skipped / !:failed)
! x11-servers/XFree86-4-Server (XFree86-Server-4.2.1_1) (patch error)
* x11/XFree86-4 (XFree86-4.2.0_1,1)
any help appreciated I am on 4.6-STABLE on i386 arch
sincerely
Filippo
-- 

- End forwarded message -

-- 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



sasl2

2002-09-23 Thread J.D. Bronson

Has anyone successfully built Cyrus sasl2 on freebsd 4.6.2 without using 
any package/ports?

I am having troubles. It compiles fine. I can create realms fine...but I 
consistantly see this in /var/log/messages:
(I did ln -s /usr/local/lib/sasl2 /usr/lib/sasl2)

Could not find a dlname line in .la file: libsasldb.la


So I look into /usr/local/lib/sasl2/ and see this file.
Cat'ing it shows an odd thing:

snip
# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

# The name of the static archive.
old_library='libsasldb.a'
snip

I am also surprized to see libsasldb.la when I thought it should
be libsasldb.so ?

Can ANYONE help here or at least give me some pointers??








-- 
J.D. Bronson
Aurora Health Care // Information Systems // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.603.8282


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: find case-insensitive challenge

2002-09-23 Thread Peter Leftwich

On Mon, 23 Sep 2002, Roman Neuhauser wrote:
 you can save the grep with
 % find foo -type f -iname '*.jpg' | xargs ...
 but i think someone already posted this

I realized another question - in my five or so years of using the find
command, I have never until now used the -type f flag to find.  Is it
really that important or will directories possibly get acted upon badly?

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



changing subjects [in this manner]

2002-09-23 Thread Peter Leftwich

I wonder... with majordomo's and mail lists in general, when someone
replies and modifies the Subject line, is the thread broken and future
search engine results dissociated?  Or do threads rely on Message-ID
codes in the full headers?  Yes I realize this should be posted instead to
something like [EMAIL PROTECTED] ;-)

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: find case-insensitive challenge [cut/sed]

2002-09-23 Thread Duncan Anker

On Tue, 2002-09-24 at 12:24, Peter Leftwich wrote:
 On Mon, 23 Sep 2002, Giorgos Keramidas wrote:
  On 2002-09-22 21:53, Peter Leftwich [EMAIL PROTECTED] wrote:
   That leads me to wonder about using rev to reverse the order of
   characters on the line and cut using a field delimiter of .  :)  :)
  You probably could, and then use rev to fix the lines back to their
  normal form too. `rev | cut -d. -f2- | rev`
 
 I definitely favor cut.  How common across the various Unices/Unixes is
 cut, that is, does Sun/Solaris or Linux come with cut included?

It's been on every box I've tried to use it on - SunOS, Solaris, Digital
UNIX, AIX, FreeBSD, Linux ...

 
  You can do that with sed(1) too, though: `sed -e 's/\.[^.]*$//'`
 
 Can you say in poor-man's terms what the above line does?  I used to use
 `sed -e 's/this/that/g'` often but haven't for a few years now.  The way I
 would remember the command was sed edit substitute this for that _g_ood
 we're done even though I am aware the g is for global.

`sed -e 's/\.[^.]*$//'`

That says match a literal period followed by zero or more non-period
characters up to the end of the line, and delete them.

Or to put it another way, chop the file extension off - if it was
something like 'foo.tar.gz' it would become 'foo.tar' and not 'foo'

 
  Both of these should strip the `.xxx' extension of all input lines.
  Then, there's Perl, awk, and a few other tools.  Practically unlimited
  ways of doing the same thing :)
  Giorgos.
 
 I wonder if there is a book just chock full of sed, awk, cut, and perl
 examples dissected into layman's terms... :)  Maybe an ORA.COM book?

ORA has several books :-)

A book called 'sed and awk' which I've never really read too much of
since I discovered Perl just after purchasing it. There are several Perl
books - if you want examples, I would suggest trying The Perl
Cookbook.

You might also want to pick up a copy of Mastering Regular
Expressions.

As far as the use of cut goes, it doesn't really warrant a book of its
own (it doesn't do much beyond what the man page says), but you may find
it used in various scripts around the place


Regards,
Duncan Anker


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: changing subjects [in this manner]

2002-09-23 Thread Dan Nelson

In the last episode (Sep 23), Peter Leftwich said:
 I wonder... with majordomo's and mail lists in general, when someone
 replies and modifies the Subject line, is the thread broken and future
 search engine results dissociated?  Or do threads rely on Message-ID
 codes in the full headers?  Yes I realize this should be posted instead to
 something like [EMAIL PROTECTED] ;-)

It's up to your email client (not the mailinglist) to thread messages,
and the algorithm most use is to thread messages together based on
References: and In-Reply-To: headers, and optionally tack leftover
messages into those threads based on the subject header.  References:
and IRT: are always honored, even if the subject is different.

For example, if you're using Mutt, messages without References: or IRT:
(but with a matching subject) are placed by date within the thread and
marked with a *.  If you're reading a list on the web threaded by
MHonArc, they are relegated to the bottom of the thread, below a
Possible-follow-ups spacer.

Simply replying to a message but changing the subject will not break a
thread.  The safest way to create a new thread based on an existing
thread is to manually copy your parent message into a textfile or X
clipboard, start a fresh new message, pase the parent in, trim, and add
  yourself (or have your editor do it if it has a paste as
quotation function.

-- 
Dan Nelson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Upgrading using /stand/sysinstall

2002-09-23 Thread Greg Lane

 Dear Gregory,
 
 Thank you for replying to my email with the games.telstra.com/gamearena/
 site it was very helpful.

No worries.
 
 I tried the instruction on a test machine in the email below:
 and after the installation has completed I typed in cp kernel.GENERIC
 kernel then reboot the computer
 
 I am now currently running :
 
 backup# uname -a
 FreeBSD backup.freebsbsd.org 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11
 06:14:12 GMT 2002
 [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
 backup#
 
 After the upgrade I am experiencing the following probelms with FreeBSD:
 
 1) After FreeBSD has booted up I can't seem to log in with my old usernames
 and password, I have checked /etc/passwd and I can't find the usernames.
 
 2)When the machine boots up and I try to start the PostgreSQL service I get
 the following error message
 backup# ./010.pgsql.sh start
 PGDATA: Undefined variable.
  pgsqlbackup#
 
 3)When the machine boots up and I try to start the MySQL service I get the
 following error message:
 backup#   ./mysql-server.sh  start
  mysqldbackup#  pschown: mysql: illegal user name
 
 4)When I load webmin to test it everything works fine expect Webmin still
 shows I am running Version 0.93 on backup.freebsbsd.org (FreeBSD 4.3) after
 the upgrade
 
 Does anyone in the mailing list know how to solve the problems?
 
 [EMAIL PROTECTED]

This is a bit of conjecture on my part since its ages since I've done
it with sysinstall (I usually upgrade via the cvsup / buildworld method). 

I dimly remember, but may be wrong, that many files in /etc are 
archived somewhere else by the install and you are supposed to copy
back the ones you need. Can anyone confirm or correct that?

If so, that would be the source of at least some of your problems. 
You will need to copy back your old passwd and group files, possibly 
mergin in any new groups or users that were added by the install 
(possibilities include sshd, smmsp etc). Use diff on the archived and
new versions to check for additions / deletions. 

Cheers,
Greg

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: changing subjects [in this manner]

2002-09-23 Thread Peter Leftwich

On Mon, 23 Sep 2002, Dan Nelson wrote:
 It's up to your email client (not the mailinglist) to thread messages,
 and the algorithm most use is to thread messages together based on
 References: and In-Reply-To: headers, and optionally tack leftover
 messages into those threads based on the subject header.  References:
 and IRT: are always honored, even if the subject is different.

 For example, if you're using Mutt, messages without References: or IRT:
 (but with a matching subject) are placed by date within the thread and
 marked with a *.  If you're reading a list on the web threaded by
 MHonArc, they are relegated to the bottom of the thread, below a
 Possible-follow-ups spacer.

 Simply replying to a message but changing the subject will not break a
 thread.  The safest way to create a new thread based on an existing
 thread is to manually copy your parent message into a textfile or X
 clipboard, start a fresh new message, pase the parent in, trim, and add
   yourself (or have your editor do it if it has a paste as
 quotation function.
   Dan Nelson
   [EMAIL PROTECTED]

I meant the threads that are archived on the web, from the newsgroup side
of this mailing list.

PS - And that reminds me! Why am I still ssh'ing someplace and running pine
when I could be running xpine and (probably) POP3s'ing my mail to my box!!!

--
Peter Leftwich
President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
+1-413-403-9555


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: find case-insensitive challenge

2002-09-23 Thread Roman Neuhauser

# [EMAIL PROTECTED] / 2002-09-23 22:19:26 -0400:
 On Mon, 23 Sep 2002, Roman Neuhauser wrote:
  you can save the grep with
  % find foo -type f -iname '*.jpg' | xargs ...
  but i think someone already posted this
 
 I realized another question - in my five or so years of using the find
 command, I have never until now used the -type f flag to find.  Is it
 really that important or will directories possibly get acted upon badly?

that of course depends on the contents of the -exec switch / xargs
arguments. i haven't done any scientific measurement, but casual
observations tell me specifying -type (besides -(i)name) speeds up
the operation pretty much.

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
7:27AM up 6 days, 14:42, 29 users, load averages: 0.01, 0.02, 0.00
end

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Upgrading using /stand/sysinstall

2002-09-23 Thread Danny

Dear Gregory,

I found the old files by typing in /usr/libexec/locate.updatedb -

locate master.passwd

backup# ls
aliases.bak group.bak2  master.passwd.bak2
group.bak   master.passwd.bak
backup# pwd
/var/backups

When you say I should merge them to the new password files does it mean I
issue the following commands to copy the old passwords, groups overs

cat aliases.bak  /etc/aliases
cat group.bak  /etc/group
cat master.passwd.bak  /etc/master.passwd

 Yours faithfullly

[EMAIL PROTECTED]


- Original Message -
From: Greg Lane [EMAIL PROTECTED]
To: Danny [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, September 24, 2002 2:00 PM
Subject: Re: Upgrading using /stand/sysinstall


  Dear Gregory,
 
  Thank you for replying to my email with the games.telstra.com/gamearena/
  site it was very helpful.

 No worries.

  I tried the instruction on a test machine in the email below:
  and after the installation has completed I typed in cp kernel.GENERIC
  kernel then reboot the computer
 
  I am now currently running :
 
  backup# uname -a
  FreeBSD backup.freebsbsd.org 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun
11
  06:14:12 GMT 2002
  [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
  backup#
 
  After the upgrade I am experiencing the following probelms with FreeBSD:
 
  1) After FreeBSD has booted up I can't seem to log in with my old
usernames
  and password, I have checked /etc/passwd and I can't find the usernames.
 
  2)When the machine boots up and I try to start the PostgreSQL service I
get
  the following error message
  backup# ./010.pgsql.sh start
  PGDATA: Undefined variable.
   pgsqlbackup#
 
  3)When the machine boots up and I try to start the MySQL service I get
the
  following error message:
  backup#   ./mysql-server.sh  start
   mysqldbackup#  pschown: mysql: illegal user name
 
  4)When I load webmin to test it everything works fine expect Webmin
still
  shows I am running Version 0.93 on backup.freebsbsd.org (FreeBSD 4.3)
after
  the upgrade
 
  Does anyone in the mailing list know how to solve the problems?
 
  [EMAIL PROTECTED]

 This is a bit of conjecture on my part since its ages since I've done
 it with sysinstall (I usually upgrade via the cvsup / buildworld method).

 I dimly remember, but may be wrong, that many files in /etc are
 archived somewhere else by the install and you are supposed to copy
 back the ones you need. Can anyone confirm or correct that?

 If so, that would be the source of at least some of your problems.
 You will need to copy back your old passwd and group files, possibly
 mergin in any new groups or users that were added by the install
 (possibilities include sshd, smmsp etc). Use diff on the archived and
 new versions to check for additions / deletions.

 Cheers,
 Greg

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



linux netscape plugins with freebsd browser

2002-09-23 Thread Wesley Morgan

Is it possible, using some black magic, to use the linux netscape plugins
with a native freebsd browser? Now that Opera is going to sport a FreeBSD
binary I am curious if this will allow me to dump the linux versions
without giving up the flash plugin (a shame that such a small thing can
hold it up).

Thanks

WNM




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: OLE in ports?

2002-09-23 Thread Jens Rehsack



Matthew Seaman wrote:
 
 On Sun, Sep 22, 2002 at 11:11:07PM -0400, David Banning wrote:
  I am running a perl application and it is asking for OLE.pm;
 
  Can't locate Win32/OLE.pm in @INC (@INC contains: /usr/libdata/perl/5.00503/mach 
/usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
/usr/local/lib/perl5/site_perl/5.005 .) at ./lecxe.pl line 12.
  BEGIN failed--compilation aborted at ./lecxe.pl line 12.
 
  Is that available in the ports somewhere?
 
 Unfortunately, the OLE stuff is Win32 specific, so I don't think
 you're going to have any luck at all in attempting to make your perl
 run under FreeBSD. See
 http://search.cpan.org/author/GSAR/libwin32-0.191/ and
 http://search.cpan.org/src/GSAR/libwin32-0.191/README

On the other hand you could implement the OLE interface for Unix
compatibles and clones... :-)

  I saw the port;
  p5-OLE-Storage_Lite, but when installed it doesn't seem to recognize it.
 
 That's a very different animal to the Win32::OLE module I'm afraid. No
 good to you.
 
 Cheers,
 
 Matthew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



$B5U1g=u8r:](J

2002-09-23 Thread ryuso@lapis.plala.or.jp

‹t‰‡•ŒðÛ‚­‚ç‚Ô

‘f“G‚È’j«‚Æ’©‚Ü‚Å“ñlEEE
‘f“G‚È’j«‚ð¡‚·‚®‹M—‚ÌŒ³‚ÖŒü‚©‚킹‚Ü‚·
‘S‘ƒlƒbƒgƒ[ƒN‚Å‚·‚®‚ɏЉî
Žá‚¢—«‚à‰“—¶‚µ‚È‚¢‚Å—V‚Ñ‚Ü‚­‚낤I
‚P‰ñŒÀ‚èA’·ŠúA‰½‚Å‚à‚ ‚èB
—«‚É—D‚µ‚­‚Å‚«‚é’j«ƒXƒ^ƒbƒt‚à•åW’†I

http:/210.250.148.152/~yukio800/help/members.club.jp/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message