Re: crontab synatx

2005-03-01 Thread Lowell Gilbert
Eugene M. Minkovskii [EMAIL PROTECTED] writes:

 I put in my crontab following string:
 
 # min hour mday month wday command
 0 7*/3   * *   echo Hello world
 
 So, I hope, this command will be workind every third day:
 3,6,9,12 etc, because at man crontab we read:
 
 man 5 crontab
 For example, ``0-23/2'' can be used in the hours field to specify
 command execution every other hour (the alternative in the V7
 standard is ``0,2,4,6,8,10,12,14,16,18,20,22'').
 /man 5 crontab
 
 But, my command worked at 28 feb, and 1 march.

The way the /3 syntax works is that it specifies a skip in the
values.  It doesn't affect what the *first* value is, so for day of
month, the first value is 1.  Then it will skip 3, and will execute
again on the 4th.

I haven't tested this, but I think you could get what you want by
saying 3-31/3 for the mday value.

 Other case I type
 
 # min hour mday month wday command
 0 7*/14   * *   echo Hello world
 
 And this is work at 15 febr. Is it bug or feature?

As in the previous example, I think this behavior is exactly what the
documentation describes.  If you want the 14th and the 28th of every
month, just put 14,28 in that field of the crontabl

  Is it bug or feature? Perhaps
 crontab count day of month from zero?

No, it counts from one, as everyone would expect.  This is required
behavior according to POSIX.

   If so, when should work
 command if I type directly number of day:
 
 # min hour mday month wday command
 0 714   * *   echo Hello world

That will execute at 7:00 AM on the 14th of every month.

 And how will be counted months?

January is 1, December is 12.

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


Re: arplookup 192.168.1.254 failed: host is not on local network

2005-03-01 Thread Lowell Gilbert
Mark Edwards [EMAIL PROTECTED] writes:

 I've just put my server on a new connection that requires DHCP, even
 for a fixed IP.  Anyway, the DHCP server gives a fixed public internet
 IP to my server, but it communicates on 192.168.1.254, which angers
 FreeBSD (4.11).  I get a lot of the following:
 
 arplookup 192.168.1.254 failed: host is not on local network
 
 Which makes sense, because as far as FreeBSD is concerned, interface
 ep1 is on the internet not on a LAN.

Exactly.

 Looking on the net, I found the following suggestion, which does cure
 the errors:
 
 /sbin/route add -net 192.168.1.254 -netmask 255.255.255.0 -interface 1
 
 My question is, is that the proper way to deal with this?

It's not bad.  I would use -host instead of -net and -netmask, and it
will fail if the DHCP server ever changes its address, but what you
are doing is is working and fairly likely to stay that way.

I have to
 issue this statement whenever the dhclient is restarted.  I've
 currently placed it in my firewall script, but is there a proper or
 more elegant way to achieve this?

If you want something more elegant, you could specify a script for one
of the dhclient-script(8) hooks, and put the route in there.  You
would be able to refer to the interface and server address by
variables which dhclient-script provides...

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


Re: Firefox and Macromedia Flash Plugin...

2005-03-01 Thread Lowell Gilbert
Eric Schuele [EMAIL PROTECTED] writes:

 Zlatozar Zhelyazkov wrote:

  cd /usr/ports/www/flashplugin-firefox/
  make install clean
  cd /usr/src/libexec/rtld-elf/
  make clean all install
  cd /usr/ports/devel/linuxthreads
  make install clean
  cd /usr/ports/www/linuxpluginwrapper
  make install clean

 Thank you for these instructions.  I was hoping to find a native flash
 player, since I am currently not running the Linux compatibility
 layer. But maybe I have no choice.  In any case these instructions
 will be very helpful if I decide to turn on compatibility.

I though that www/flashplugin-firefox *was* native, and didn't require
any of those other bits.  [If it did require them, the ports system
would be set up to build them first.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: arplookup 192.168.1.254 failed: host is not on local network

2005-03-01 Thread Lowell Gilbert
Mark Edwards [EMAIL PROTECTED] writes:

 On Mar 1, 2005, at 11:21 AM, Lowell Gilbert wrote:
 
  Mark Edwards [EMAIL PROTECTED] writes:
 
  I've just put my server on a new connection that requires DHCP, even
  for a fixed IP.  Anyway, the DHCP server gives a fixed public internet
  IP to my server, but it communicates on 192.168.1.254, which angers
  FreeBSD (4.11).  I get a lot of the following:
 
  arplookup 192.168.1.254 failed: host is not on local network
 
  Which makes sense, because as far as FreeBSD is concerned, interface
  ep1 is on the internet not on a LAN.
 
  Exactly.
 
  Looking on the net, I found the following suggestion, which does cure
  the errors:
 
  /sbin/route add -net 192.168.1.254 -netmask 255.255.255.0 -interface 1
 
  My question is, is that the proper way to deal with this?
 
  It's not bad.  I would use -host instead of -net and -netmask, and it
  will fail if the DHCP server ever changes its address, but what you
  are doing is is working and fairly likely to stay that way.
 
 How would you phrase the command?  I just tried -host and couldn't get
 it to work.

e.g., 
route add -host 172.10.212.2 -interface bge0

 I have to
  issue this statement whenever the dhclient is restarted.  I've
  currently placed it in my firewall script, but is there a proper or
  more elegant way to achieve this?
 
  If you want something more elegant, you could specify a script for one
  of the dhclient-script(8) hooks, and put the route in there.  You
  would be able to refer to the interface and server address by
  variables which dhclient-script provides...
 
 Great!  I put the command in /etc/dhclient-exit-hooks and it works
 great on a reboot.  I don't really see which variables I can use in
 the dhclient-script man page though.  Do you know which variables
 would do this?

$interface
$new_ip_address
I can't seem to find anywhere that the server address is passed along, though.

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


Re: hd timeouts.

2005-03-02 Thread Lowell Gilbert
Perttu Laine [EMAIL PROTECTED] writes:

  If the hardware hasn't been touched since the last time it worked,
  then a failing disk would be a pretty safe guess.  If not, or
  especially if this is a new configuration, there are a few things to
  try first.  One is to make sure that there is a master on the ATA bus
  containing ad5; the ATA specs say that you're not supposed to have a
  slave unless there's a master (the quickest way to fix it would be to
  move the disk from slave to master).
 
 I think this is not hd problem because it's new disk. Been use under
 two months. But actually there's no master on ad5. I'm recently moved
 to freebsd so I'd like to know if there is anything I need to conf (on
 fstab etc) if I move that drive from slave to master? Like would
 /dev/ad5s1d then be like ad5s1a or something?

It might become ad4s1d, depending on whether your kernel is configured
towire down the devices.  The slice and partitioning will be the
same no matter what.

  And of course, cable problems are a *very* frequent issue.
 
 I think I'll try other cable too when I change it to be master.

If you can spare an extra few minutes, try *just* changing the cable first.

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


Re: make, etc, whereis, commands broken

2005-03-02 Thread Lowell Gilbert
Warren [EMAIL PROTECTED] writes:

  That depends on what you did.  If they're completely gone, you'll need
  to get them back; backups are the traditional way of fixing this.  In
  the worst case, a complete base system reinstall (possibly updating
  from source, if you have enough of your system left to do that) will
  fix it up.
 
 /usr/obj/usr/src/usr.bin/make/make and all the other commands that dont work 
 exist like the make command, but when something like a make install or 
 portupgrade etc is issued it fails ... so i've obviously stuffed the main 
 commands.

Well, since we still have no idea what you actually did to your
system, there's no way we can give exact directions for repairing it.  
Is /usr/bin/make present at all?  If not, you'll have to reinstall it
*somehow*, and the same for other missing executables.

 Most other things work its mainly the make, whereis, vi, clear, fetch, ftp 
 and 
 other things that rely on make 
 
 If i re-do the base system will that then cause the various ports i have 
 running to need re-configuring.. e.g. dhcp, named httpd etc

Not necessarily.  Particularly if you re-do the base system from the
exact same release you were running.

 This sort of thing is really beyong my present knowledge lvl of BSD at 
 present, so exscuse the dumb questions.

If you asked more *precise* questions, we would have a much easier
time providing specific answers.  It would also be useful if you
provided more information on your system, as well as its problems.
See How to get the best results from FreeBSD questions
http://www.lemis.com/questions.html

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


Re: arplookup 192.168.1.254 failed: host is not on local network

2005-03-02 Thread Lowell Gilbert
Mark Edwards [EMAIL PROTECTED] writes:

 On Mar 1, 2005, at 12:53 PM, Lowell Gilbert wrote:
 
  Looking on the net, I found the following suggestion, which does
  cure
  the errors:
 
  /sbin/route add -net 192.168.1.254 -netmask 255.255.255.0
  -interface 1
 
  My question is, is that the proper way to deal with this?
 
  It's not bad.  I would use -host instead of -net and -netmask, and it
  will fail if the DHCP server ever changes its address, but what you
  are doing is is working and fairly likely to stay that way.
 
  How would you phrase the command?  I just tried -host and couldn't get
  it to work.
 
  e.g.,
  route add -host 172.10.212.2 -interface bge0
 
 I tried that syntax and I get errors like this:
 
 Mar  1 13:12:37 lilbuddy /kernel: arp: 00:0d:72:d7:d9:a1 attempts to
 modify permanent entry for 192.168.1.254 on ep1
 
 If I use the -net -netmask syntax I don't get the errors.

permanent entry?  Did you put in a static ARP?
At any rate, I'd try a /32 mask instead of /24.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: driver recompiler or translator for evdo and hsdpa

2005-03-03 Thread Lowell Gilbert
bob wireless internet evdo  wifi hotspot guy [EMAIL PROTECTED] writes:

 Lemme start by admitting i am NOT a programmer... and the APPLE OS is the
 most i know about unix.. that said (go easy on me  :o)
 
 is it possible to make a translation program that takes drivers and just
 ports them over to other OS's?  i have many EVDO and HSDPA products comming
 out and want a quick way to make them freebsd or linux compatible...

Not in general, but see 
http://www.freebsd.org/cgi/man.cgi?query=ndissektion=4manpath=FreeBSD+5.3-RELEASE+and+Ports
and
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html#AEN37825

You also may find a volunteer willing to write a driver in return for
a donation of the card in question.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error while compiling kernel help ?!?

2005-03-05 Thread Lowell Gilbert
Brent [EMAIL PROTECTED] writes:

 That doesnt seem to work .. also in /etc/rc.conf  it was already set to 
 
 kern_securelevel=0
 kern_securelevel_enable=YES

Try spelling that NO instead of YES.
Next reboot, you'll be able to change file flags.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Running vsftpd standalone vs inetd

2005-03-06 Thread Lowell Gilbert
Pat Maddox [EMAIL PROTECTED] writes:

 Is it better to run vsftpd standalone or using inetd?  A friend of
 mine told me that it's more secure to do it standalone, and apparently
 that's the recommended method now.

Somewhat, yes.  A lot of people don't trust inetd at all, and most of
its advantages can be overcome by just buying a little more memory.

 If that's the case, how do I go about getting vsftpd to run when the
 machine boots up?  It doesn't look like there's a vsftpd_enable that I
 can use, like I can with other services.

No, looks like you'll have to write your own startup script.
No big deal -- just look at man rc.

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


Re: What's the easiest way to do a backup and verify?

2005-03-07 Thread Lowell Gilbert
Anthony Atkielski [EMAIL PROTECTED] writes:
Anthony Atkielski [EMAIL PROTECTED] writes:

 Jerry McAllister writes:
 
  Actually, if used frequently for backups - such as every day, DAT is
  notoriously prone to failure.
 
 I've heard this for years, but I've never encountered it, on my own
 systems or on any others.  My drives are HP SureStore SCSI drives.
 Currently I have BASF tapes, and they've gone through about 40 cycles.
 I take backups every few days, or whenever there are large changes to
 the data on the server (most of the time the only changes are log files
 and things like that).
 
  The only real thing you can do is to read back the tape and look
  for a couple of files with fairly high inode numbers for each file
  system dumped.If you can read them, you can assume the tape
  is readable.
 
 I'm surprised there isn't just some way of reading the tape and doing a
 few simple sanity checks on the data (without comparing it to anything).
 A drive or tape error would likely show on such checks.

Listing the archive contents might be what you're looking for, then...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Change to different SCSI interface causes boot failure

2005-03-07 Thread Lowell Gilbert
Danny Horne [EMAIL PROTECTED] writes:

 I'm trying to replace the motherboard in my FreeBSD 4.11-RELEASE
 server for a different one.  The old board has on-board Adaptec
 AIC-7896N SCSI, the new one has on-board Symbios Ultra3 SCSI, on
 bootup I get the following error -
 
 Mounting root from ufs:/dev/da0s0a
 setrootbyname failed
 ffs_mountroot: can't find rootvp
 Rootmount failed:6
 
 Is there any way I can boot the drive on this new interface?

I haven't had to think about this in a long time, but I would expect
that telling the loader(8) where to find the root (root_disk_unit or
rootdev) should let it progress further.  You'll still need to fix
/etc/fstab, I suspect.

 I've searched the archives  found a similar problem in which the
 solution was to use dump to create a backup  do a fresh install of
 FreeBSD on the new system before restoring the backup.  If I have to
 take this route I might as well upgrade to 5.3, but I understand this
 uses a different filesystem to 4.11, so would this give problems with
 a restore from a 4.11 dump?

No.  The UFS2 restore(8) understands UFS1 dump files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: quick q

2005-03-08 Thread Lowell Gilbert
D3xt3r G3niu5 none [EMAIL PROTECTED] writes:

Hi guys, sorry to bother you but this was my last resort since the
forum could not help me. I added device sound, and device
snd_emu10k1 to my kernel, i compiled and at restart i hear the music
but then it cuts off at the end. By any chanse do you know why?
thank you for the time taken
to help me.
krnload sais it is already loaded and krnstat doesn't show any sound
loaded. but if i do a grep or another command it shows my sound
blaster card which it corectly detected it.

What programs are you using to play music on the sound card?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk Error ... back up method

2005-03-08 Thread Lowell Gilbert
Yance Kowara [EMAIL PROTECTED] writes:

 Hi all,
  
 I am a FreeBSD newbie... would like to know more about backing up the whole 
 FreeBSD system to a new hard disk.
  
 What is the most convenient method of backing up to a new harddisk?
 any pointers appreciated

The question isn't completely clear, but I think the FAQ entry for
How do I move my system over to my huge new disk? is probably what
you're looking for.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

  
 I cut and pasted Aftabs' reply to Disk Error thread ...
  
 Thanks in advance.
  
 ASAP
 1. fsck -y
 2. tunefs ( enable softupdate)
 3. backup to new hard disk
 4. remove this faulty hard disk
 
 Your hard disk is dyeing .
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: Issue to install Gnomemeeting

2005-03-08 Thread Lowell Gilbert
Bachelier Vincent [EMAIL PROTECTED] writes:

 I have a problem to install gnomemeeting

openh323 is what's actually failing for you.
It builds for me, with ports and system updated yesterday...

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


Re: SAMBA newbie

2005-03-10 Thread Lowell Gilbert
David Larkin [EMAIL PROTECTED] writes:

 On Thu, 10 Mar 2005 18:59:32 +
 David Larkin [EMAIL PROTECTED] wrote:
 
  On Fri, 11 Mar 2005 02:15:28 +0900
  Luke Kearney [EMAIL PROTECTED] wrote:
  
   
   On Thu, 10 Mar 2005 18:28:52 +
   David Larkin [EMAIL PROTECTED] spake thus:
   
I have a FreeBSD 5.3 machine and a Windoze XP box.

I am the only user of both.

I don't want to share files or act as a full time fileserver.

I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup 
files to the XP box to burn on CD.

I used to use anon ftp for this type of thing but found the security a 
nightmare. I've now installed Samba on the FreeBSD box , but I'm not 
sure this is a good idea.

Can I set up a 'sandbox' directory on my FreeBSD machine where both 
machines can read and write ? 

After installing samba and setting the workgroup in smb.conf, i can now 
see the FREEBSD box in 'view workgroup computers' but clicking on that 
I am asked for a username/password , which i'm reluctant to give.

Any advice ?
___
   
   
   Hello,
   If you take a look at the documentation you will find that you have
   several options, you can encrypt the passwds, you could set up a guest
   account with no passwd but restrict access to a particular filesystem to
   think of but two.
   
   HTH
   
   LukeK
   
  
  Thanks, I don't want to use any passwords, enrypted or otherwise
  
  The guest account sounds interesing.
  
  I've commented out the following in smb.conf
  
  # This one is useful for people to share files
  [tmp]
 comment = Temporary file space
 path = /tmp
 read only = no
 public = yes
  
  
  should this allow everyone on both machines to write to the /tmp directory 
  but not execute anything there ? 
  
  I still get challenged for a username/password on the XP directory.
  guest/guest and nobody/nobody   both fail
  
 
 OK, I got that to work by changing the line 
 security = user
 
 to
 
 security = share
 
 
 Is this safe ?

It isn't necessarily *that* bad security-wise, but if anyone else
might get access to the network over which they are communicating, 
they could make trouble.  On my own home network, I have mitigated
(but not eliminated) this problem by making a very small filesystem
just for this Samba share.  [I built the filesystem from file-backed
mdmfs(8).]  And make *very* sure that your Samba is not reachable from
other networks.

If you're really the only user of both systems, I would expect ssh
(with public key authentication, to avoid the passwords you said you
didn't want to type) would be easier (because it will work in either
direction, from either machine).  But that depends on your actual
usage patterns, of course.

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


Re: boot.flp for FreeBSD 4.11

2005-03-10 Thread Lowell Gilbert
Olivier Casasole [EMAIL PROTECTED] writes:

 I am trying to create a floppy with boot.flp for FreeBSD 4.11.
 I am using fdimage as described in the handbook.

The Handbook says to use kern.flp and mfsroot.flp for FreeBSD 4.11.
It says to use boot.flp on FreeBSD 5.x, but that is not what you are
trying to install.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CVSup versions?

2005-03-12 Thread Lowell Gilbert
cizuriet [EMAIL PROTECTED] writes:

  I am trying to get a copy of the CVS tree on my local machine.  I would like 
 to use the CVSup utility since it is supposed to be much faster.  Can I use 
 CVSup from my Windows XP machine?  Or is there a version(binary) that runs on 
 GNU/Linux?

I'm not clear on exactly what you're trying to do.  Are you just
trying to get the latest versions of a source code tree, or do you
want to have full access to the CVS history?  Is there a cvsup server
already providing access to that code tree?

But probably, you'll be able to figure out exactly what you need to
know from http://www.cvsup.org/.

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


Re: cron mail

2005-03-13 Thread Lowell Gilbert
Dennis Olvany [EMAIL PROTECTED] writes:

 How do I change the e-mail address and SMTP server cron uses to e-mail the 
 daily root report?

There are several methods.

You can configure periodic(8) itself through settings in
periodic.conf(5) [i.e., type man 5 periodic.conf for details].

My favorite method is by redirecting *all* of root's mail in the
aliases(5) file.

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


Re: permissions on partition?

2005-03-14 Thread Lowell Gilbert
Brian John [EMAIL PROTECTED] writes:

 Hello, I have a FAT partition on ad0s3 that I am sharing with Windows. 
 For one reason or another everything on this partition is owned by
 root:wheel.  I can't change the permissions to any files on this
 partition.  This is what I have in devfs.conf:
 own ad0s3   brian:operator
 permad0s3   0660
 
 Is this correct?  How can I make it so that files on this partition are
 owned by the 'brian' user?

There are several approaches described in the manual for mount_msdosfs(8).

Changing the permissions on the mount point would probably be the easiest.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Filesystem creation with integrated bad-block detection

2005-03-15 Thread Lowell Gilbert
Pásztor Richárd [EMAIL PROTECTED] writes:

 I wonder if it would be possible to implement under freeebsd an
 interesting feature
 which can be found in linux:
 
 mkfs.ext2(8)
 ...
 -c
 Check the device for bad blocks before creating the file system. If
 this option is specified twice, then a slower, destructive, read-write
 test is used instead of a fast read-only test.
 ...

FreeBSD has some tools in this area (see, for example, badsect(8)),
but they have largely atrophied.

 I searched the archive for this subject, and i found that simple
 answer that modern hard drives have
 the so called spare sectors, and if they cant do these reallocations
 transparently because they
 ran out of those reserved sectors - throw the drive into the trash.
 But what abou using freebsd on older machines with hard drives that
 dont support spare sectors?
 Having a few bad sectors doesnt mean that a 4-5 Gb driver is useless
 because one isnt able to mark those
 few sectors.

If the disk is multiple gigabytes, then it's unlikely to be old enough
to lack spare sector support.  IDE has been standard for a *long* time
now, and from my experience, pretty much *every* IDE drive *ever* has
come with block remapping turned on by default.

See the FAQ entry on the subject:
 What do I do when I have bad blocks on my hard drive?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#AWRE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: after init messeages

2005-03-15 Thread Lowell Gilbert
Omer Faruk Sen [EMAIL PROTECTED] writes:

 Hi, Is it possible to disable messages that was given by rc_ng to the
 console? 

Well, at least you could edit the scripts.  Look at rc.conf(5),
though: maybe setting rc_info would do what you want?

Personally, I think it's a better idea to just use a different console
and let your normal console get the debug output.

  Maybe by disabling console entry in ttys file ?

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


Re: IPFW or pf?

2005-03-15 Thread Lowell Gilbert
Andreas Davour [EMAIL PROTECTED] writes:

 I have read the handbook about firewalls, and compiled my kernel
 without switching on any explicit support for pf.
 
 Now, when I ran the mergemaster it suddenly found a lot of references
 to pf in my startup scripts.

The startup scripts support pf, but do not require it.

 Is pf some kind of mandatory part of the base system these days? I
 thought it was some kind of alternative to IPFW, but now I'm no longer
 so sure.

It is a part of the base system.  It is always present just like ipfw,
but its use is not required.

 Can someone tell me if it's ok to just use IPFW on my STABLE system,
 or is there some other knobs in the kernelconfig I should toggle to
 turn off pf support?

You are fine the way you are.  I recommend letting mergemaster update
the default pf startup files, so that it won't ask about them next
time, but it doesn't really matter if you're not using pf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Illogical usage of swap

2005-03-16 Thread Lowell Gilbert
Colin J. Raven [EMAIL PROTECTED] writes:

 Hard to believe, but this beast is swapping. Here's a typical top
 snapshot:
 
 load averages:  0.75,  0.36,  0.23 up 14+12:39:04  12:40:02
 128 processes: 1 running, 125 sleeping, 2 zombie
 CPU states:
 7.5% user,  0.0% nice,  1.3% system,  0.0% interrupt, 91.2% idle
 Mem:
 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free
 Swap: 8192M Total, 116K Used, 8192M Free

Not a problem.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Source-upgrading from FreeBSD 4.9 to 4.11

2005-03-16 Thread Lowell Gilbert
patrick [EMAIL PROTECTED] writes:

 I'm trying to do a source upgrade from FreeBSD 4.9 to 4.11, but during
 the make buildworld, I get the following:
 
 === gnu/usr.bin/cvs/cvs
 make: don't know how to make stack.c. Stop
 *** Error code 2
 
 Stop in /usr/src/gnu/usr.bin/cvs.
 *** Error code 1
 ...

I don't have a RELENG_4 system around any more, but it sounds like
you're missing part of the source tree you should have.  Do you have
/usr/src/contrib/cvs/src/stack.c?  How did you do the update of your
sources?

 I didn't see any mention of this in the handbook, but do I have to
 upgrade to 4.10 first, and then go up to 4.11?

No.  Remember to check /usr/src/UPDATING for more information before
starting an upgrade...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Illogical usage of swap

2005-03-16 Thread Lowell Gilbert
Colin J. Raven [EMAIL PROTECTED] writes:

 On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM
 
 Hmm, yeah I should have included what I've actually read in the
 handbook and elsewhere. In fact I did read that exerpt you quoted the
 URL for  above sometime previously, when it was quoted in another
 thread on the list.
 
 Free memory (or the lack thereof) isn't the issue though.
 
 The issue is this:
 Swap: 8192M Total, 116K Used, 8192M Free
 and that's the piece of the puzzle that has us all utterly baffled.

The same logic applies to some extent, though.

 No way in creation this box should be swapping.

I have noticed that FreeBSD 5.x is swapping out small amounts of
memory in situations (as near I can tell; it is quite hard to be sure
that the situation is really identical) where 4.x was not.  I haven't
really tried to track down exactly what's going on, but it's always
been less than the text segment of any task in the system, so I was
pretty sure I wasn't seeing a problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange behaviour : grep -i --colour

2005-03-18 Thread Lowell Gilbert
martinko [EMAIL PROTECTED] writes:

 hello,
 
 i've just found out that while 'grep -i ' and 'grep --colour '
 behave as expected (by myself), running 'grep -i --colour ' results
 in very strange behaviour - grep consumes all available cpu and, based
 on its input and terminal type, its output is definitely not what it
 should be.
 
 is this a known issue pls (i couldn't find anything about it) or am i
 just missing something ?
 
 regards,
 
 martin
 
 ps: observed on freebsd 5.3r-p5

I can't reproduce it on yesterday's -STABLE...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: password length default install

2005-03-18 Thread Lowell Gilbert
Dick Hoogendijk [EMAIL PROTECTED] writes:

 What is the password lenght one may use at login? I didn't change the
 defaults on my fbsd-4.11 (login passwd md5 ??)
 
 I remember linux had as default some eight chars or so. I want to use
 more chars for some accounts. Can I safely use 10-12 chars?

DES passwords are limited to 8 characters (significant characters;
you can type away all you want, but only the first 8 characters affect
the result).
MD5 can use considerably more (128, according to something out of
the mists of my memory, but I haven't checked).
This is true on any OS that supports both.

See the DES, MD5, and Crypt section in the Handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: script to save a particular mail file??

2005-03-18 Thread Lowell Gilbert
Gary Kline [EMAIL PROTECTED] writes:

   Just thought I'd ask the list if anyone has a script to
   read /var/mail/login and grab a single file.  I just
   sub'd to a mailing list that is produced only in HTML.
   I'd like to save it to /tmp, strip it, and have it ready
   for lynx or links.
 
   If anyone onlist has already done this, it would save me
   from reinventing *this* wheel.

The first thing that occurs to me is using formail (part of procmail)
and maybe metamail if formail can't extract the HTML...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Why acroread 5 -- 7 -- 5

2005-03-21 Thread Lowell Gilbert
Albert Shih [EMAIL PROTECTED] writes:

 Why the acroread change version ?
 
 Last Monday : acroread -- acroread 5_10
 Midle of last week : acroread -- acroread 7
 end of last week : acroread -- acroread 5

There is now a separate acroread7 port.

See the commit messages.  E.g., 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/print/acroread/distinfo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Howto extract only one channel from a wav file ?

2005-03-21 Thread Lowell Gilbert
Jean-Jacques Dhenin [EMAIL PROTECTED] writes:

 Howto extract only one channel from a wav file ?
 
 The left channel, for example, is very bad. 
 Howto get only the right one ? 
 
 I dont find into xwave, sox, lame ... something for this use.

The sox manual says:

The -f and -b options maintain left/right stereo separation; use
the avg effect twice to select a single channel.

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


Re: 4.11 without nameserver: NO_BIND=true is OK?

2005-03-24 Thread Lowell Gilbert
Rob [EMAIL PROTECTED] writes:

 This machine will not run a nameserver; it will
 query external nameservers for hostname resolution.
 Is the NO_BIND=true is that case?

It will probably work, but it will not update your resolver code.
BIND isn't just named: it also includes the code that the system 
uses for querying other nameservers.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wmf file browser ?

2005-03-25 Thread Lowell Gilbert
bsdzz [EMAIL PROTECTED] writes:

  Google for libwmf - see if that helps
 
 I find the main website for libwmf has been taken over by a spammer:
 
 http://www.wvware.com/libwmf.html
 
 I thought a library was an enabler for an application, and that to use
 this WMF library I would have to use a application that used it.  But
 I can't find which apps use this WMF library.  Since their website
 seems to be taken over by a spammer, maybe they are not around anymore?

libwmf is in the FreeBSD ports system, and quite a few ports seem to
use it (cd /usr/ports;make search key=libwmf).  

Also note that while you are correct about the difference between a
library and an executable program (application), libwmf comes with
several little programs that use the library to convert wmf files into
other formats.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Emacs and backspace - again

2005-03-27 Thread Lowell Gilbert
Rodger Castle [EMAIL PROTECTED] writes:

 I'm using emacs20 from the ports collection (as emacs from ports would not 
 compile due to the Xau3d compile error) on 5.4-PRERELEASE.
 $TERM is xterm

There haven't been any reported failures in building
x11-toolkits/Xaw3d in at least several months.

I'd suggest you put your efforts into solving the problem
with that rather than workarounds for obsolete versions 
of emacs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc

2005-03-28 Thread Lowell Gilbert
RW [EMAIL PROTECTED] writes:

 On Monday 28 March 2005 17:00, Dick Hoogendijk wrote:
  If you have different versions of gcc installed, which version is used
  then when you run a portupgrade somepackage ?
  I know a package can give the needed version itself, but what if the
  port does not do so? Is the system's default run then or what?
 
 If a port needs a specific version it will have it as a build dependence and 
 invoke the specific executable e.g. gcc32

And if it doesn't, then my quick look at bsd.gcc.mk makes me think it
will use whatever gcc executable shows up first on the PATH.

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


Re: definition of soft/hard interrupts.

2005-03-28 Thread Lowell Gilbert
Bahadir Balban [EMAIL PROTECTED] writes:

 In The design and implementation of 4.4BSD, the execution of

I'm not sure this affects any of your particular questions, but that
book is definitely outdated at this point...

 workqueues, some timer events and scheduling are referred to as
 software interrupts, as well as system calls. I thought only system
 calls would be in soft interrupt category as they are initiated with
 a software interrupt instruction.

A software interrupt actually has its own process context that runs
within the lower half of the kernel.  Device interrupts are usually
handled by packaging the event and passing it to a software interrupt
context for handling.  I don't think it has to be implemented with a
CPU software interrupt instruction.

 By my definition, a hardware interrupt is one that is notified by the
 interrupt controller, and to my knowledge, timer events are hardware
 interrupts. Am I wrong?

 There's also a softclock and hardclock defined. It is as if, an
 interrupt handler for an interrupt reported on the controller, is
 termed as hard, but a low-priority workqueue initiated by a later
 timer event is called as a software interrupt here. The distinction
 here mainly being made by their priority. Would you confirm this?

That's correct, but there are a couple of additional details that
might make it more clear.  Those software interrupts can be scheduled
by other device interrupts as well -- the canonical example is a
hard interrupt servicing a network interface card by setting up the
received packet for the software interrupt to handle later, and then
re-enabling the card for the next packet.  

 In my opinion this isn't the way to put it and software interrupts
 should only mean interrupts initiated by interrupt instructions.

I suspect the usage dates to before the invention of software
interrupt opcodes.

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


Re: Bad Block on 4.5

2005-03-28 Thread Lowell Gilbert
Scott Rothgaber [EMAIL PROTECTED] writes:

 I have a 4.5 box with SCSI disks. It hung just now and on reboot it
 came up in single-user mode. fsck is bitching about block 2144 on the
 root filesystem and is unable to repair it.
 
 Is there any way to get around this? All data is backed up on tape.
 
 The man pages for fsck and fsdb did not reveal anything obvious (to
 me) and all of the articles that I was able to find on Google are for
 ext2fs.

If the drive has reallocation enabled already, you need to buy a new
disk.  If it doesn't, though, enabling it may be all you need to do.
The What do I do when I have bad blocks on my hard drive? entry in
the FreeBSD FAQ will explain this for you:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#AWRE

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


Re: Dependency problem: atk-1.0.901

2005-03-28 Thread Lowell Gilbert
Bnonn [EMAIL PROTECTED] writes:

 Hi everyone, when attempting to install GTK2 or XFCE, I get a stop error
 stating that the package atk-1.0.901 does not exist. I've
 checked /usr/ports/accessibility/atk and have found that atk1.6.1
 exists, and can be installed without problems, however apparently this
 is not the right version.

You could just install gtk2 from the ports instead of from a package,
and then it will use whatever atk you have installed.  If you install
from a package, then obviously you need the same version installed
that the package was linked against.

 I'm running FreeBSD 5.4 and have tried updating via cvs etc, without any

Do you mean you updated via cvsup?  Or if you actually mean cvs, then
where was the cvs repository, and how do you know it was up-to-date?
Which collections do you update?

 luck. It seems strange to me that this dependency problem would exist,
 as surely a lot of people install GTK2, if not XFCE. Does anyone know of
 a way to get around this? I'd sort of like to have a gui for my
 machine :)

Note that 5.4 hasn't been released yet, so if you are trying to match
the packages against the system, you need to make sure that the
packages area still matches your system's release level (uname -r), as
it has gone from 5.4-PRERELEASE to 5.4-BETA1, so the 5.4-PRERELEASE
directory path no longer exists on the FTP servers.

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


Re: error installing openssh-portable

2005-03-29 Thread Lowell Gilbert
Redmond Militante [EMAIL PROTECTED] writes:

 hi all
 
 i get this installing the openssh-portable port on a 4.8-RELEASE machine
 
 ===  Building for openssh-portable-3.9.0.1,1
 if test ! -z ; then  /usr/bin/perl5 ./fixprogs ssh_prng_cmds ;  fi
 (cd openbsd-compat  make)
 cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o sshconnect1.o 
 sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/lib  
 -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lssh -lopenbsd-compat 
 -lcrypto -lutil -lz -lcrypt -lkrb5 -lcrypto -lcom_err -lasn1 -lroken
 /usr/lib/libkrb5.so: undefined reference to `des_is_weak_key'
 /usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt'
 /usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt'
 /usr/lib/libkrb5.so: undefined reference to `des_cbc_encrypt'
 /usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity'
 /usr/lib/libkrb5.so: undefined reference to `des_read_pw_string'
 /usr/lib/libkrb5.so: undefined reference to `des_set_key'
 /usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt'
 /usr/lib/libkrb5.so: undefined reference to `des_cbc_cksum'
 *** Error code 1
 
 Stop in /usr/ports/security/openssh-portable/work/openssh-3.9p1.
 *** Error code 1
 
 Stop in /usr/ports/security/openssh-portable.
 
 
 any ideas on how to fix?  cvsup'ing ports didn't work.

I seem to recall DES being optional back when; you'll need to install
it to get this linking.  It should be in the crypto library.

Or maybe my memory is just off...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dependency problem: atk-1.0.901

2005-03-29 Thread Lowell Gilbert
Bnonn [EMAIL PROTECTED] writes:

Hi Lowell, thanks for your comments...I'm not trying to install via a
package. I'm going into /usr/ports/x11-wm/xfce4 (or gtk20) and typing
make install clean. Afaik this is how to install a port, unless I'm
missing something really obvious. This is when the error occurs. I
haven't tried installing using packages (pkg_add?).

Okay, that's completely correct.

When the make install runs, it recognizes atk 1.6.1 and has no problem
with it, but then bails out later saying it can't find 1.0.91.

I think we'll need to see the exact error messages.

Yes, I ran cvsup on all ports, and the system, from cvsup.freebsd.org
(I think that's the correct address). Had no problems doing this.

Okay, so you should be up to date.

I'll check uname -r when I get home and see if there appears to be a
problem there.

Unfortunately, that should be fine.  You had me confused by talking
about packages.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RPC: Timed out

2005-03-29 Thread Lowell Gilbert
Alan Curtis [EMAIL PROTECTED] writes:

 I am trying to find out why I can mount my FreeBSD disk as an NFS
 share on one of my Macs but not the other.
 
 When I ran
 
 
 $ showmount -e
 
 on my FreeBSD machine, I got the expected response
 
 Exports list on localhost:
 /usr   192.168.1.101 192.168.1.102
 
 which includes both the Macs. But when I ran it on my Mac
 
 $ showmount -e 192.168.1.100
 
 I got this error
 
 RPC: Timed out: Can't do Exports rpc
 
 so I went back to the FreeBSD machine and tried again
 
 $ showmount -e localhost
 
 and now get the same error (almost)
 
 RPC: Timed out
 showmount: can't do exports rpc
 
 Any ideas what is wrong?

Which machine works, which doesn't, and are you sure there are no
firewalls involved?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Basic grep isn't working for me

2005-03-29 Thread Lowell Gilbert
Andrew [EMAIL PROTECTED] writes:

 This command has always worked before, but we recently moved to a new
 server and now it isn't.
 
 ---
 
 su-2.05b# /usr/local/bin/keychain | grep -c existing
 
 KeyChain 2.5.1; http://www.gentoo.org/proj/en/keychain/
 Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL
 
 * Found existing ssh-agent (84261)
 
 0
 
 ---
 
 Any help would be much appreciated.

It is printing its output on standard error, not standard output.

In sh, you could do this by redirecting standard error onto standard
output:
 $ keychain 21 |grep exist
 * Found existing ssh-agent (46206)
 $ 

but you can't do that in csh-type shells.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Meaning of repo-copy

2005-03-29 Thread Lowell Gilbert
Danny Pansters [EMAIL PROTECTED] writes:

 Quick question:
 
 Repo copy means that a current port or piece of src is being renamed, 
 probably 
 with other changes or a split-out of parts that become new ports or contribs. 
 Should be seen in the context of CVS.
 
 Do I grasp this correctly?

More or less.

You might be interested in the FAQ entry titled What is a repo-copy?.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5

2005-03-29 Thread Lowell Gilbert
Matt Kosht [EMAIL PROTECTED] writes:

 Is there a simple way to compare the md5 checksum of a file, to a file
 that contains possibly more than one md5 checksum entry in it?  Kind
 of like mdsum -c does?

I've never heard of mdsum, but try mtree(8).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ata driver.

2005-03-30 Thread Lowell Gilbert
Don't top-post, please.

Perttu Laine [EMAIL PROTECTED] writes:

 On Wed, 30 Mar 2005 13:11:24 +0300, Perttu Laine [EMAIL PROTECTED] wrote:
  Could there be problem in FreeBSD 5.x (specially in 5.4) ata driver
  that causes dma timeouts?  mostly those problems in burning dvd-images
  that I was asking yesterday. because in some puter on same drives and
  all same hardware I had no problems on windows xp or linux
  2.4-kernel... asking this because I had dma timeout problems on
  freebsd 5.3 puter too. it works fine with pio mode, but when I turn on
  dma it timeouts all the time.

 Now after more test I found out that I can't even copy large files
 from that drive to another. It hangs on same 3.2GB then too. with dma
 timeout. so it has really nothing to do with dvd-burner drive nor
 atapicam.
 
 but when I set PIO mode it works fine.

Try enabling DMA for ATA but *not* for ATAPI.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error installing openssh-portable

2005-03-30 Thread Lowell Gilbert
Don't top-post, please.

Redmond Militante [EMAIL PROTECTED] writes:

 is /usr/ports/cryptlib the port you're referring to?

No, I'm talking about the crypto distribution in the base system.  I
don't remember when it was folded into the main distribution, but for
a long time it was separate because of concerns about export
regulations and patent issues.

 i've also read that make -DWITHOUT_KERBEROS=yes would also work, but it 
 didn't in my case.
 
 
 
 [Tue, Mar 29, 2005 at 09:14:07AM -0500]
 This one time, at band camp, Lowell Gilbert said:
 
  Redmond Militante [EMAIL PROTECTED] writes:
  
   hi all
   
   i get this installing the openssh-portable port on a 4.8-RELEASE machine
   
   ===  Building for openssh-portable-3.9.0.1,1
   if test ! -z ; then  /usr/bin/perl5 ./fixprogs ssh_prng_cmds ;  fi
   (cd openbsd-compat  make)
   cc -o ssh ssh.o readconf.o clientloop.o sshtty.o  sshconnect.o 
   sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/ -L/usr/lib  
   -rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -lssh -lopenbsd-compat 
   -lcrypto -lutil -lz -lcrypt -lkrb5 -lcrypto -lcom_err -lasn1 -lroken
   /usr/lib/libkrb5.so: undefined reference to `des_is_weak_key'
   /usr/lib/libkrb5.so: undefined reference to `des_pcbc_encrypt'
   /usr/lib/libkrb5.so: undefined reference to `des_cfb64_encrypt'
   /usr/lib/libkrb5.so: undefined reference to `des_cbc_encrypt'
   /usr/lib/libkrb5.so: undefined reference to `des_set_odd_parity'
   /usr/lib/libkrb5.so: undefined reference to `des_read_pw_string'
   /usr/lib/libkrb5.so: undefined reference to `des_set_key'
   /usr/lib/libkrb5.so: undefined reference to `des_ede3_cbc_encrypt'
   /usr/lib/libkrb5.so: undefined reference to `des_cbc_cksum'
   *** Error code 1
   
   Stop in /usr/ports/security/openssh-portable/work/openssh-3.9p1.
   *** Error code 1
   
   Stop in /usr/ports/security/openssh-portable.
   
   
   any ideas on how to fix?  cvsup'ing ports didn't work.
  
  I seem to recall DES being optional back when; you'll need to install
  it to get this linking.  It should be in the crypto library.
  
  Or maybe my memory is just off...
 
 -- 
 Redmond Militante
 Software Engineer / Medill School of Journalism
 FreeBSD 5.2.1-RELEASE-p13 #0: Mon Mar 28 17:07:51 CST 2005 i386
 11:15AM  up 45 mins, 2 users, load averages: 0.00, 0.02, 0.05
 
 

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


Re: ata driver.

2005-03-30 Thread Lowell Gilbert
Perttu Laine [EMAIL PROTECTED] writes:

 On 30 Mar 2005 09:41:55 -0500, Lowell Gilbert 
 
  Try enabling DMA for ATA but *not* for ATAPI.
 
 Don't help. Works only when ATA has DMA disabled.
 Writing to all drivers works with dma on. Reading causes timeouts.

Okay, sounds somewhat familiar.
That code is undergoing extensive development.
Soeren Schmidt has a set of patches for his latest set of upgrades,
but they're not going into the main tree quite yet. http://www.freebsd.dk/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot specify -o with -c or -S and multiple compilations

2005-03-30 Thread Lowell Gilbert
Dick Hoogendijk [EMAIL PROTECTED] writes:

 So let me ask you here on this list: somebody has compiled kdelibs3
 (version 3.4) on a 4.11R system?

The package system did.  
The latest results are for RELENG_4, which isn't all *that* different,
and it built this morning:
http://pointyhat.freebsd.org/errorlogs/i386-4-latest-logs/kdelibs-3.4.0.log

 This week I wiped out my /usr/ports and installed it again.
 Today I installed an extra harddisk and put a fresh freebsd-4.11 on it;
 cvsupped the ports to the latest version and tried to compile kde3.
 Again: the same error.
 
 What could possibly be the reason for this?

Well, I'm pretty sure you've already covered the obvious candidates,
like make.conf (I assume you used an empty one on your freshly
installed system).

The error itself doesn't seem to make much sense.  You can build a
bunch of dependencies before you get to that point, so it does seem to
be specific to KDE...

 ps: unlike anthony I'm willing to experiment. I would like to solve this
 puzzle. Or at least /know/ it's just an error in the kde release.

Well, you could try updating to RELENG_4.

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


Re: problem with Azureus

2005-03-31 Thread Lowell Gilbert
Warren [EMAIL PROTECTED] writes:

 I recently had trouble with Azureus using approx 53% of my mem and 90% of my 
 SWAP so idecided to upgrade my RAM from 512 to 1gig thinking this would solve 
 my problem, but alas i was mistaken.
 
 Is there a way i can instruct it so Azureus only uses a certain %?  As it is 
 when this program is running it pritty well much bogs down my machine making 
 it damn near impossible to do anything else.
 
 It also uses so much it gets to the point where there is no more SWAP left 
 for 
 it to use and ends up closing itself down.

You can always use process limits, but that will just cause the
process to close down sooner.

Azureus is a Java application, and Java does its own memory
management.  One implication of this is that its memory use should not
be able to grow unbounded.

A quick search pointed me at:
http://azureus.aelitis.com/wiki/index.php/MemoryUsage
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System Panic (Trap 12)

2005-03-31 Thread Lowell Gilbert
James Nelson [EMAIL PROTECTED] writes:

 I have posted this message to hackers but have not gotten a response.  I 
 think this is networking related, but I don't know how to solve it?  Any 
 ideas?
   
   I am getting numerous panics.  It seems to be totally random with no 
 bearing on load.  This is a dual proc. AMD 2600, 2 GB Ram.
 
 
 I have included the where results of three seperate core files.
 
 Please advise.

Those aren't debugging kernels, are they?  If they are, you're getting
serious stack corruption.  If not, you really need to follow the
Handbook and FAQ instructions for kernel debugging, because those
traces aren't showing much that's useful.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Some kind of intranet update system for FreeBSD?

2005-04-02 Thread Lowell Gilbert
Andrew P. [EMAIL PROTECTED] writes:

 I know this has been brought up a number of times
 and I doubt that it is the right place to post to
 or even a right subject to raise, but still.
 
 It seems we lack some update system in FreeBSD. I
 have only 2 freebsd boxes, one serving as an
 internet gateway for the other. And whenever I want
 to update the latter one, I think about all the
 traffic that I'm gonna waste and CPU time to build
 and my own time to get some distros from one machine
 to another.
 
 I dream about a server running on my main machine,
 which gets queries from intranet freebsd boxes that
 want to be updated. The server negotiates with each
 client and acts as requested:
   1.1) fetches a binary package, or
   1.2) fetches a source package, or
   1.3) finds a binary/source in its cache, and
   2)   builds a package if needed, and
   3)   gives binary/source to the client
 
 Is that so difficult? C'mon guys, just one step
 forward to perfection :)

Are you able to run NFS?

If you share /usr/ports across all the machines, and build packages on
the main server, everything will work pretty much the way you
described...


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


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Lowell Gilbert
Brian John [EMAIL PROTECTED] writes:

  On Apr 3, 2005 9:12 PM, Anthony Atkielski [EMAIL PROTECTED]
 wrote:
  
   One you've changed resolv.conf, it should stay that way permanently
   across boots, unless you change it again.
  
 
 
  dhclient will overwrite /etc/resolv.conf on boot
 
 How can I keep dhclient from doing this?

Configure it not to: according to man dhclient.conf, a 
prepend domain-name-servers mumble should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining what port owns a file

2005-04-04 Thread Lowell Gilbert
Mac Mason [EMAIL PROTECTED] writes:

 I want to put kghostview on a machine, but I don't want to install too
 much of KDE in the progress.
 
 Given that I have another machine with it already installed, how might I
 go about figuring out which port owns, say, /usr/local/bin/kghostview?

If you have portupgrade installed, then pkg_which(1) will tell you.
Otherwise, pkg_info -La and a bit of searching will do the job.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-06 Thread Lowell Gilbert
Patrick Dung [EMAIL PROTECTED] writes:

 There is no way to decided the user/group and
 permission of the device created. (/etc/devfs.conf can
 be used, but it had to be start after the device is
 created, where it is not created at boot time).

devfs(8) rules should be automatically applied to all devices as
they're created.  Setting up the rules at boot time should be exactly
what you need.  Is this not happening?

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


Re: Removing thousands of files using rm

2004-07-06 Thread Lowell Gilbert
Steve Bertrand [EMAIL PROTECTED] writes:

 I often have the need to remove hundreds or even thousands of files from a
 single directory (very often). Using rm, I usually get:
 
 pearl# rm -rvf *
 /bin/rm: Argument list too long.
 
 Is there any way to work around this instead of having to select a small
 bunch of files at a time to remove?

Not exactly, but find(1) will do the job for you.  
Typically you would use it with xargs(1).

find /path-to-directory -type f -print | xargs rm

You may need to add some options to those commands depending on your
situation.  For example, if you have embedded whitespace characters in
the file names or if you don't want to descend into subdirectories.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tcpdump (/dev/bpf* permission) in FreeBSD-current

2004-07-07 Thread Lowell Gilbert
Patrick Dung [EMAIL PROTECTED] writes:

 Only /dev/bpf0 is there at boot time
 But when I run tcpdump, it automatically create
 /dev/bpf1 (I have multiple NIC).
 Running devfs at boot time cannot set the /dev/bpf1,
 which is not present.

Running devfs(8) at boot time will set rules that will be
automatically applied to bpf1 when it is created.  What do your devfs
rules look like?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network configuration

2004-07-08 Thread Lowell Gilbert
Terrence Koeman [EMAIL PROTECTED] writes:

 Hi,
 
 I have been busy setting up a network the last 3 days, but I cannot get it
 working.
 
 Basically I have no clue what has to be setup etc. and if I need bridging or
 not.
 
 The situation is as follows:
 
 --
 | SDSL Modem |
 |  Bridged   |
 --
|
 --
 |xl0: 217.1.1.155|
 ||
 |Freebsd Box |
 ||
 |   xl1  |
 --
  |
  --
  |---| SWITCH |---|
  |   --   |
  ||   |
 --- --- ---
 | C1: 217.1.1.156 | | C2: 217.1.1.157 | | C3: 217.1.1.158 |
 --- --- ---
 
 
 The FreeBSD box has full internet connectivity and I can also get NAT
 working, but the thing is that I need those non-private IP's bound to the
 clients and I need ipfw between the clients and the modem. Also I need the
 FreeBSD machine to have a non-private IP address. I have no clue as to
 getting the packets from those clients to the internet. I tried bridging xl0
 and xl1 and using 217.1.1.155 as gateway, but that didn't work.

I can't be sure without knowing the netmask, but it sounds like that's
exactly the right idea.  There's no way to tell why it went wrong when
you gave neither the system configuration details or what actually
happened when it didn't work.

You will probably find the FreeBSD Handbook documentation on this
topic useful:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-bridging.html


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


Re: Running processes...

2004-07-16 Thread Lowell Gilbert
[EMAIL PROTECTED] (Uwe Klann) writes:

 in the message Running processes fom Sat Feb 14 08:26:45 PST2004
 it is writen in the artical that IPFILTER sample rule is available.
 I am interested to get a copy. Thank you.

You mean like /usr/share/examples/ipfilter/* ?

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


Re: openoffice install and java JRE on 4.10

2004-07-20 Thread Lowell Gilbert
Peter Ryan [EMAIL PROTECTED] writes:

 HI,
 I have trouble getting my openoffice installation to run 
 on fbsd 4.10.  (subject of previous questions)
 
 I just remembered that I installed it without the java JRE option,
 because I didnt have the slightest idea where to get that
 (or even what it is)
 
 Can someone tell me where to get the java JRE necessary
 for freeBSD to run openoffice ?  (and even what it is 
 called)

I believe most people install all of java/jdk14.

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


Re: FreeBSD 4.8 and Dell RAID

2004-07-20 Thread Lowell Gilbert

  Can someone tell me how to get the FreeBSD 4.8 install CD to recognize my
  Dell RAID array?  It needs the aac driver and it's not enabled on the 4.8
  GENERIC kernel.
 
 You may need to go to the 5.2.1 version.

The aac driver was first introduced in 4.3, but it has come to support
more devices since then.  It definitely *was* enabled on 4.8, so the
original poster definitely needs to look a little more closely.

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


Re: Audio CD burning shouldnt be this difficult!

2004-07-21 Thread Lowell Gilbert
Edd [EMAIL PROTECTED] writes:

 Audio CD burning shouldnt be this difficult! I think I have fundamentally
 gone wrong here!
 
 I have eight raw tracks that I wish to burn to ATAPI cd. I am using
 burncd.
 
 First I did:
 
 burncd -s max audio * fixate
 
 However I got gaps inbetween tracks so i tried:
 
 burncd -s max -d -n audio * fixate
 
 There are now no gaps, but track markers are in the wrong place (perhaps
 4 or 5 seconds out in some cases)
 
 What am i doing wrong? I dont want to have to use a windows box to do
 this.

Have you got a relatively up-to-date version of FreeBSD?
[You didn't mention the version.]

I used to have problems with track markers being too far into the
track, but eventually those problems were fixed.  In the meantime, I
used cdrecord (with ATAPICAM), which didn't exhibit the same issue.

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


Re: SSH Client - OpenSSH dependency problem

2004-07-23 Thread Lowell Gilbert
Danny De Bie [EMAIL PROTECTED] writes:

 Ruben de Groot wrote:
 
 This is craziness! The guy is asking for an ssh client on FreeBSD, which is
  allready on his system (/usr/bin/ssh). There is no need to confuse
  him further by letting him install unnecessary ports.
 
 my 0.02
 
 It depends... I install FreeBSD with the minimal boot cd, so I need to
 install ssh using the ports. And then you have to install openssl
 before installing ssh... (If my memory serves correct.).

Even the minimal install includes openssl and openssh.
That's what base system means in FreeBSD.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding SSH version string

2004-07-23 Thread Lowell Gilbert
Aaron Dalton [EMAIL PROTECTED] writes:

 I've read a number of times that people hide their ssh version string so that 
 attackers don't know what version you are running.  I've read the 
 documentation and can't seem to figure out how to do this.  Can somebody 
 explain to me how this is done?  Thank you so much!

I don't recommend anyone actually do this, because 
 
 a) it serves no purpose (it certainly doesn't make you any more
secure, or even discourage any attackers)

 b) The version string is a part of the protocol itself, required by
the protocol specification

 c) you will be making life harder for auditors, system
administrators, and so 

If you're really determined, though, the strings are defined in
/usr/src/crypto/openssh/version.h 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Third and (maybe) last try: GEOM fails to create ad0

2004-07-24 Thread Lowell Gilbert
Lane [EMAIL PROTECTED] writes:

 Subject: GEOM fails to create ad0
 Date: Thu July 22 2004 05:58 pm
 From: Lane [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 I successfully built a kernel for FreeBSD 5.2.1-RELEASE #1 on my 8Gig ad2 but
 when I boot it my 30Gig ad0 does not appear in /dev/
 
 I boot 4.10-STABLE on my 30 Gig ad0 and am able to mount ad2, but not vice
 versa.
 
 Does anyone have information on how to trouble-shoot GEOM?

There are certainly people who do; the authors.

Also, you may want to try the -CURRENT mailing list.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: De-installing Gnome 2.4.2

2004-07-27 Thread Lowell Gilbert
R. W. [EMAIL PROTECTED] writes:

 I installed both Gnome and KDE  (FreeBSD 5.2.1) and have been keeping both up 
 to date for some time. But I scarcely ever use Gnome, and don't want the 
 hassle of running the 2.6 upgrade script.
 
 How do I de-install Gnome 2.4.2? Will removing the metaport alone suffice? 

The meta-port has many dependencies.  Some may be required by
installed applications, but others may be removable.

 (When I recently portupgraded KDE several GTK based applications stopped 
 working properly, but they were OK after I rebuilt them.)

The -r and -R options to portupgrade help with this problem.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help make crashes

2004-07-29 Thread Lowell Gilbert
Abidoon Nadeem [EMAIL PROTECTED] writes:

 please find my kernel config file attached
 this does fine when i make depend
 but it fails on make 
 please help
 
 i dont understand whats wrong
 
 i get an error code 1
 

The useful error messages were before that, and I don't have a
-CURRENT box at hand, but a quick look showed me a few problems:  you
commented out scbus and da, but left in some other devices that
require those.  Also, you have both sc and vt enabled; I believe they
are mutually exclusive.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: limit login attempts with pam

2004-07-29 Thread Lowell Gilbert
Redmond Militante [EMAIL PROTECTED] writes:

 hello
 
 i'm interested in configuring PAM on my 4x system so that a user is locked out of 
 ignored if trying to log in unsuccessfully via ftp within the space of a minute or 
 so. i'm trying to eliminate brute force attacks...
 
 
 can anyone point me towards some good tutorials on how to do this?

Good tutorials?  I don't know, but there is source for the pam_tally
module included in the tree on my -STABLE machine.  

Think it over carefully before enabling this kind of capability,
though; you may be making brute force attacks somewhat harder, but a
denial-of-service attack on specific users will become trivial.

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


Re: osversion

2004-07-29 Thread Lowell Gilbert
Osmany Guirola Cruz [EMAIL PROTECTED] writes:

 i foun these line in the Makefile of mono
 
 .if ${OSVERSION}  50
 EXTRA_PATCHES=  ${FILESDIR}/extra-patch-signbit
 .elif ${OSVERSION}  502113
 IGNORE= Does not work on 5.X before 502113
 .endif
 
 how can i know if myosversion is greater than 502113

sysctl -n kern.osreldate

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


Re: sendmail and make file ....

2004-08-04 Thread Lowell Gilbert
Vahric MUHTARYAN [EMAIL PROTECTED] writes:

 Hi Everybody , 
  
 I can leave sendmail from base system . First I updated src tree
 then I copyed /etc/default/make.conf under  /etc directory and remove the 
 #   in front of the NO_SENDMAIL = true , then I maked 
  make buildworld
  make buildkernel KERNCONF=KERNELNAME
  make installkernel KERNCONF=KERNELNAME
  make installworld
  mergemaster -cv ( I installed all changed files with using  i   )
  reboot

Okay, so what you did was rebuild all of your system except for
sendmail.  The sendmail that was already in the system is still
there.  

 I did not modify rc.conf for seeing what will be happend if I dont remove '
 # ' in front of sendmail , after reboot I saw that FreeBSD run SENDMAIL
 again and when I wrote whereis sendmail on the command prompt I saw like
 this ... 
 gecetrn# whereis sendmail
 sendmail: /usr/sbin/sendmail /usr/share/man/man8/sendmail.8.gz
 /usr/src/usr.sbin/sendmail /usr/src/contrib/sendmail
 /usr/ports/mail/sendmail
  
 Did  make a mistake ?! How can I remove sendmail from basesystem
 ?! 

Normally, you don't remove sendmail from the system.  Just configure
rc.conf to *not* start sendmail, and you will be fine.  
See man rc.sendmail.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.2 - 5.2 passwd format change?

2004-08-04 Thread Lowell Gilbert
[EMAIL PROTECTED] (Peter N. M. Hansteen) writes:

 I'm in the process of moving users from a 4.2 machine to an updated
 setup using 5.2.1. There appears to have been some changes in the
 password format (as in the users are not able to log in to the test
 system), and the main reference I find is this entry in
 /usr/src/UPDATING:
 
 2928:
 There was a change in the passwd format.  Need more information.
 
 Any pointers appreciated.

I've moved password entries from 4.x to 5.x with no problem.

Did you remember to rebuild the database?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Updating local copy of documentation

2004-08-06 Thread Lowell Gilbert
Tom Munro Glass [EMAIL PROTECTED] writes:

 When you install FreeBSD, lots of useful documentation is installed in the 
 articles and books directories under /usr/share/doc/ including the essential 
 handbook.
 
 Is there a way of automatically updating this documentation - I thought that 
 maybe this was done as a part of cvsup, make buildworld, etc, but apparently 
 not? I realise that I can download the latest version with FTP, but it would 
 be nice if this could be done as part of the normal maintenance tasks.

You can build it from source (see the Documentation Project Handbook),
but it would be a lot less work to just download the prebuilt ones.
It should be a pretty simple matter to do that in a script that you
can add to your normal maintenance tasks.

Note that building the documentation requires you to install quite a
bit of software.  There's a port for it, of course, but if you're not
going to use jadetex (as one obvious example) for anything else, it's
overkill.  Especially if you're not going to try modifying the docs,
but just build them occasionally.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup fails because of xlib connection error

2004-08-06 Thread Lowell Gilbert
chip [EMAIL PROTECTED] writes:

 I just set up a new box using FreeBSD-5.2 and install cvsup. Now when I 
 run cvsup I get this -
 
 chip3# cvsup ports-supfile
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 Xlib: connection to :0.0 refused by server
 Xlib: No protocol specified
 
 Lost the connection to the X server
 
 I have this in my /etc/hosts file (probably more than necessary, but I 
 was just trying to cover all my bases) -
 #
 ::1 localhost localhost.wiegand.org
 127.0.0.1   localhost localhost.wiegand.org
 192.168.0.7 chip3.wiegand.org
 127.0.0.1   chip3   chip3.wiegand.org
 10.0.0.1chip3   chip3.wiegand.org
 #
 
 What have I screwed up and how do I fix it?

Do you *want* the GUI?  If so, what do you have in your DISPLAY
variable?  If not, why not just specify the '-g' option?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: custom bootdisk for installation?

2004-08-10 Thread Lowell Gilbert
Steve Tremblett [EMAIL PROTECTED] writes:

 I'm trying to install 5.2.1 on my Thinkpad T30, but it completely
 freezes when the kernel is booted, specifically at the cardbus driver.
 I guess there is no kernel configuration before booting as it was in
 4.X?

There is, but it works a bit differently, and it doesn't look the
same.  There's a menu that comes up early in the boot process, which
should give you the option of going directly to the loader.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BuildWorld Compile Error

2004-08-11 Thread Lowell Gilbert
Ryan [EMAIL PROTECTED] writes:

 /usr/src/gnu/usr.bin/binutils/libiberty/../../../../contrib/binutils/libiberty/choose-temp.c:68:
  warning: implicit declaration of function `mktemp'

What version of FreeBSD were you running, and how had you updated the
source?  I've built -STABLE this week...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to resolve openldap version conflict

2004-08-11 Thread Lowell Gilbert
Peter Ryan [EMAIL PROTECTED] writes:

 I am trying to install Samba3 from the ports
 collection onto freeBSD 4.10.
 
 The Make terminated because there was an
 earlier version of openldap already 
 installed, and the new one wanted to store
 files in the same directory.
 
 When i tried to pkg_delete the old version,
 it refused, saying that several KDE related 
 items were using it.
 
 I am confused about what to do about this.
 
 (I dont have the version numbers.. after this
 i decided to try and install samba 2, and a
 blue options screen came up that seems to 
 have wiped out the error messages that 
 appeared at the end of the samba 3 make)
 
 Thanks in advance for any pointers.

Sounds like a job for the sysutils/portupgrade port.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/make.conf

2004-08-11 Thread Lowell Gilbert
Henrik W Lund [EMAIL PROTECTED] writes:

 Roberto Nunnari wrote:
 
  Thank you all for your answers.
 
  one more questions...
 
  What is the preferred/advised version for buildWorld and co?
 
 Without knowing for sure, I'd say the base version of perl is the best
 one to use for the whole build* and install* process.

He said he was running 5.2.1, where perl is not present in the base
system.  I thought it wasn't needed for buildworld et. al., but I
can't check at the moment because I can't access my 5.x machine...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/make.conf

2004-08-14 Thread Lowell Gilbert
Roberto Nunnari [EMAIL PROTECTED] writes:

 As announced yesterday..
 
 ..today I finished the upgrade process and all went just fine.
 
 ...have you had the chance to find out whether perl is needed at
 all in 5.2.1?

I'm sorry, but I haven't.

[I just moved to a new house this week and I can't even *find* my
scratch machine yet.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fetchmail/Sendmail rejects

2004-08-14 Thread Lowell Gilbert
Alex de Kruijff [EMAIL PROTECTED] writes:

 On Sat, Aug 14, 2004 at 05:40:58PM +0930, Malcolm Kay wrote:

  Is there some reasonable way of disposing of these messages.
 
 Fetchmail (nor getmail) will do this for you.

Specifically, see the SPAM FILTERING section of the fetchmail(1)
manual, and the --antispam option.  

Figure out what kind of error response sendmail is giving for the
problem messages, and make sure fetchmail knows that it is allowed to
throw those messages away.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error Compiling cyrus-sasl2-saslauthd

2004-08-16 Thread Lowell Gilbert
Please don't top-post. 

Alex Thomas [EMAIL PROTECTED] writes:

 I found my problem. Current version of OpenSSL is 0.9.7d. Downloaded
 package of it off FreeBSD.org. Question now is, Why is my ports list
 so out of date? Just installed system today.

Your ports list has nothing to do with it.

 Alex Thomas wrote:
 
  Trying to complie cyrus-sasl2-saslauthd from ports.  Ports
  collection is up to date.
  ---
   
 
  Dependency warning: used OpenSSL version contains known vulnerabilities
  Please update or define either WITH_OPENSSL_BASE or WITH_OPENSSL_PORT
  *** Error code 1
 
  Stop in /usr/ports/security/cyrus-sasl2-saslauthd.
  ---
   
 
  Checked version of OpenSSL that is installed to /usr/bin/openssl :
 OpenSSL 0.9.7c 30 Sep 2003
 
  The most recent version in ports shows the same version.
  System is FreeBSD 5.2.1 fresh install.


That's your base system.  That *was* the latest version at the time
FreeBSD 5.2.1 was created.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: logins

2004-08-17 Thread Lowell Gilbert
Mark [EMAIL PROTECTED] writes:

 I've beend getting the sshd login attempts, like everyone else so I've been 
 watching the logs close, this is the first time to see this item in 
 /var/log/messages. 
 Aug 14 04:15:00 chillico su: _secure_path: /nonexistent/.login_conf is not owned by 
 uid 65534

The machine doesn't have a '/nonexistent/' directory, does it?  
It is important security-wise that such a directory must *not* exist.

 I've looked in the passwd file and groups, there is not a uid of 65534 listed.

There *should* be; it's nobody.  And it shouldn't be in the wheel group.

 I installed rsync last week to backup some windows computers during the weekend, 
 this would have been
 during one of the backups, but the other five would have triggered the same msg, 
 just thinking outloud here.

Unless /nonexistent got created during the process...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multi-homing and pf; removing user with uid 0

2004-08-17 Thread Lowell Gilbert
Marc Cabanatuan [EMAIL PROTECTED] writes:

 This is somewhat of a multipart question and unrelated question.

Please try putting them in separate messages next time, then.

 Figured I would ask here since the host I have the box on isn't much
 help with anything, and when they do help they want to charge up the
 ass for it. I understand they need to make money too, but they end up
 breaking shit and not helping than anything...So here goes nothing.
 
 Right now I've got a /27 and I am attemtpting to add 5 addresses of
 that adress block (ipv4) to the box as either seperate addreses (not
 aliases to the primary interface) or seperate addresses bound to
 sub-interfaces. So far I have been unsuccessful and the host told me
 to use aliases. I also wish for these settings to stay after (re)boot.
 Not to mention they say my firewall is the problem and they couldn't
 get out to the internet from root console (im using pf and have the
 rule of 'pass out all'.

What actually *happened* when you tried this?  

Did you remember to use all-ones netmasks?
Ref. FAQ: How can I set up Ethernet aliases?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html#ETHERNET-ALIASES 

 Next thing, a second account just 'showed up' on the box with uid 0.
 
 toor:*:0:0:Bourne-again Superuser:/root: - from /etc/master.passwd
 
 I suspect it was techs from the host, but I want it off the machine.
 How do I do this?

It's completely standard, and while you can remove it like any other
account, there's no reason to.
Ref. FAQ: What is this UID 0 toor account? Have I been compromised?
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/security.html#TOOR-ACCOUNT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem

2004-08-19 Thread Lowell Gilbert
Jake Zhen [EMAIL PROTECTED] writes:

 hi.
   after i installed freebsd, i never able to boot in the
 console/terminal. when my pc start to reboot, i see something like the
 following on my screen. the machine reboots until i press the shut
 down button.  Please help me out with this. thank you very much.
 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic =00
 fault virtual address = 0rd22e00a
 fault code= supervisor read, page not present
 instruction pointer  = 0x8:0xc057e0e0
 stack pointer = 0x10:0xcd0cd794c
 frame pointer = 0x10:0xcdcd7b70
 code segment  = base 0x0, limit 0xf, type 0xlb
   DPL 0, pres1 , def32 1, gran1
 processor eflags  = Interrupt enabled, resume, IopL0
 current process   = 42 (cbb2)
 trap number   = 12
 panic: page fault
 cpuid = 0
 sysncing disks, buffers remaining
 done
 uptime: 1s
 shutting down ACPI
 AcP1_cpu0: perforamce states changed
 AcP1_cpu0: perforamce states changed
 Automatic reboot 15 second

Sounds like you're running some kind of 5.x.

It also sounds as though disabling ACPI may help in your case; 
please see the installation notes for whatever version you are trying
to install.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Patch patch-ac failed to apply cleanly.

2004-08-19 Thread Lowell Gilbert
Tyler Parrott [EMAIL PROTECTED] writes:

 I now have a similar problem with openldap.  After installing m4, I
 ran pkgdb -F again, and I downloaded the latest makefile from
 freebsd.org.

Sounds like you updated the makefile without updating the patches in
the port.  You need to update the *entire* port directory tree for
openldap if you're going to update any part of it.  [It is quite
common to use cvsup and do the entire ports tree in one shot...]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MP3 voice recorders and FreeBSD

2004-08-20 Thread Lowell Gilbert
Joe Altman [EMAIL PROTECTED] writes:

 Sometime in September, I plan to purchase a voice recorder capable of
 MP3 recording.
 
 The device here:
 
 http://www.newegg.com/app/viewproductdesc.asp?description=55-603-406DEPA=0
 
 Is similar in nature to what I wish to purchase; it may not be this
 device, but similar.
 
 Does anyone have any experience with any such devices with FreeBSD? I
 don't see any such devices listed in the usual place.

FreeBSD should support just about any such device if the device
supports the umass standard, and few if any that don't.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rollback

2004-08-20 Thread Lowell Gilbert
Jerome Mascari [EMAIL PROTECTED] writes:

 I have a machine that is running freebsd 5.1, I need to go back to
 4.10 because a software manufacturer that I have to do business with
 only supports that release right now. Is there an easy way install
 4.10 over 5.1?

Probably back up, do a fresh install, and restore your files.  Even if
your partitions are UFS1 (4.x doesn't understand UFS2), it's probably
easiest to start clean.

Also note that 4.10 was released *after* 5.1 (by nearly a year).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make installworld error

2004-08-21 Thread Lowell Gilbert
Kevin D. Kinsey, DaleCo, S.P. [EMAIL PROTECTED] writes:

 Yup.  Go back to the top --- I missed where
 in your list of steps you actually *installed*
 the new kernel...

That would be where he said:

  make kernel

which is equivalent to make buildkernel installkernel.

It doesn't explain quite what's happening here, though -- and he
didn't even *hint* at such basic clues as what version he was updating
from or to (there may be extra steps for large updating jumps).

Booting the old kernel is certainly worth a try before starting over,
though; the system is quite likely to be salvageable.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cracking FreeBSD 5.2.1 using windows 98 startup diskette

2004-08-21 Thread Lowell Gilbert
Talgat [EMAIL PROTECTED] writes:

 Dear FreeBSD
 i like FreeBSD and i am working on it now
 last time when i installed FreeBSD 5.2.1 on my computer
 and used it for 1 week
 then i had a project for windows
 so i had to remove FreeBSD from my comp
 i had old win98 startup diskete
 so i used it
 i used command fdisk /mbr
 then restarted my comp
 i removed dikette from floppy drive
 then i saw FreeBSD menu
 entered to the system
 but it didn't asked me for password
 
 will explain me why?

Were you in single-user mode or multi-user?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Is the handbook on buildworld accurate?

2004-08-21 Thread Lowell Gilbert
Clint Olsen [EMAIL PROTECTED] writes:

 The instructions in the handbook:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 say to run 'make installworld' after running 'mergemaster -p'.  I have
 successfully (to my knowledge) run mergemaster, and the master password
 file in /usr/src does have the 'proxy' user.  However, installworld fails
 because user 'proxy' is non-existent.  The manpage for mergemaster says
 that -p is a pre-buildworld switch, but that's not what the handbook says
 to do.
 
 What am I missing?

It sounds like you didn't run mergemaster successfully.  
I'm sure there's no 'proxy' user in your *real* password file.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhcpd MAC filter

2004-08-21 Thread Lowell Gilbert
Don't top-post, please.
[http://catb.org/~esr/jargon/html/T/top-post.html]
[format re-arranged]

Wayne M Barnes [EMAIL PROTECTED] writes:

 On Fri, Aug 20, 2004 at 02:01:26PM -0400, Chuck Swiger wrote:
  Wayne M Barnes wrote:
  Is there a way to allow or disallow certain computers by their
  MAC number?
  
  ipfw 2 supports firewalling by MAC address, so yes.
  
  This ability comes with the software on my wireless access point,
  but I prefer that my FreeBSD system hand out the IP addresses,
  and I cannot find this MAC-filtering ability at man dhcpd.
  
 isc-dhcp3-server-3.0.1.r14_2 is my installed port.
  Is there another dhpcd to try?
  
  You can specify MAC addresses in your DHCP config to reserve specific IP 
  addresses for specific machines.  I'm not sure whether there is a way to 
  tell DHCP not to grant a lease to MAC addresses which are not found, but 
  then, without using a firewall, someone could manually configure a foreign 
  host to use the connection, regardless of whether they can get a DHCP lease.
  
  -- 
  -Chuck
 


 Dear Chuck,
 
Thanks for the tip about ipfw, but I can't seem to write
 an acceptable line for rc.firewall, even after reading man ipfw,
 which does not show a full example.
 
For instance, the following confuses ipfw when I put it
 into rc.firewall:
 
 #from man ipfw: MAC 10:20:30:40:50:60/33 any
 ipfw add drop all from MAC 00:02:2d:2e:04:28 to any
 
 It complains that MAC is an unknown machine.
 
 How should I spell a firewall rule invocation that will
 prevent a certain MAC serial number from getting through or to 
 my FreeBSD machine?
 
 Thank you for any further advice.

Sounds like you're running the original IPFW rather than IPFW2.  As
Chuck Swiger indicated, you need IPFW2 for the MAC keyword.  IPFW2 is
standard on FreeBSD 5.x, but not earlier.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I use netgraph to change packets source address?

2004-08-21 Thread Lowell Gilbert
stan [EMAIL PROTECTED] writes:

 I'm trying to build a vpn from my home network to my work network.
 
 So far I've managed to ge the ppp link (tuneled over ssh through socks)
 between a mchine at work, and a machine at home. I've added routes to the
 work network on the mahcine at home, and added routes back to the ppp
 machine at home from my default router machien for bothe the work network
 numbers, and the (192.168.x.x) addresses of bpth ends of the ppp link. So,
 I can access any machien at home from the machine at work that originates
 the ppp link, and I can access that amchien from any machine on my network
 at home.
 
 So far so good, however the remaining stumbling block is getting beyond
 thta machine at work. The packets it puts on the woek network still have a
 source address of 192.168.x.x. And of course amchiens at work don't have
 nay idea how to get packets back to that network.
 
 I need the machine at work to do something like reverse NAT, thta is I
 need for all the packets that it puts on the work network to have a src
 address of thta machine, and I need it to be able to translate the reply
 packets back to 192,168.x.x.
 
 Can I do this with netgraph or soemthing?

Isn't this exactly what the -nat option of ppp(8) is for?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re: make installworld error))

2004-08-23 Thread Lowell Gilbert
Curtis Vaughan [EMAIL PROTECTED] writes:

 I am now going to try again.  I am installing v. 4.8 on a server.
 This server is to be a Postfix w/Courier IMAP server integrated into a
 Linux-based network, authentication centralized using PAM  LDAP.
 That's about it.
 
 Now, some people might say, don't install 4.8 go straight for 5.x.
 The reason I am doing this, however, is because I want to not only
 know how to perform upgrades, but I want hands on experience.  So,
 hopefully I am not making this too difficult for me.

Upgrades across major-version boundaries are not recommended for
novices.  Furthermore, FreeBSD is currently in the process of moving
the STABLE branch from 4.x to 5.x, so there aren't many updates
going into 5.x right now.

 Finally, while I'm reinstalling 4.8, I would like to know something
 about the following.
 It seems to me that cvsup is actually downloading the entire
 repository of packages for FreeBSD.  Is that really what one has to do
 to perform an upgrade?  It seems like what you would need to do is
 merely upgrade those packages necessary for the latest kernel, then
 upgrade the kernel, then upgrade all installed packages.  (Packages
 meaning ports, right?)

You're using Linux terminology, I think.  To start with, remember,
that FreeBSD is not just a kernel -- it's an entire working operating
system, and you upgrade all of those (base system) parts together.
That's why buildworld, buildkernel, installkernel, and
installworld are all part of the same upgrade procedure (which
includes several other steps as well).

In FreeBSD, a port is a third-party application ported to be built
from source on your system.  A package is a pre-compiled binary of
that port.  Once installed, they are both tracked (and removable) by
the same database, usually referred to as the package database.  See
the FreeBSD Handbook section on Installing Applications: Packages and
Ports for a full explanation.

So you don't update ports or packages in order to update your base
system, but you may need to update them afterwards (usually
/usr/ports/UPDATING will warn you when this sort of thing occurs; it's
quite rare aside from the bleeding edge.

Which brings us to what cvsup actually gets you: a collection of
files.  What those files are depends on which collection you configure
cvsup to get for you, but the two primary collections are: src-all,
which is all of the source files (normally kept under /usr/src) needed
to build the base system; and ports-all, which is the whole
collection of makefiles and local patches (normally kept under
/usr/ports) needed to download the source of, compile, and install the
third-party applications.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: File Manager

2004-08-23 Thread Lowell Gilbert
Paul Schmehl [EMAIL PROTECTED] writes:

 I've always thought it was a bad idea to edit the passwd and groups
 file directly, because the dbs don't get built that way.

There is no database for the groups file, so people worry less about it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re:make installworld error))

2004-08-24 Thread Lowell Gilbert
Charles Ulrich [EMAIL PROTECTED] writes:

 Just out of curiosity, is it incorrect to simply say that ports build
 packages?

No, packages are indeed built from ports.

   That is, once a piece of software is installed with 'make install',
 is it treated the same as any package that was installed from the installation
 CD? 

Not only are they handled the same, but once installed, they are
completely indistinguishable.

 (If not, or if the relationship is really a whole lot more complex than
 that, then my rant below doesn't apply.)

You understand it perfectly, except for the fact that the noun
package is often used to refer to a tar file which can be fed to
pkg_add(1).  

 A lot of new users can't readily tell the difference between a port and
 package and frequently use the two terms interchangably. The handbook gives an
 overview of both ports and package but stops short of clearly spelling out
 this important distinction.

You mean where it says:

   For any given application, the FreeBSD package for that application is a
   single file which you must download. The package contains pre-compiled
   copies of all the commands for the application, as well as any
   configuration files or documentation. A downloaded package file can be
   manipulated with FreeBSD package management commands, such as pkg_add(1),
   pkg_delete(1), pkg_info(1), and so on. Installing a new application can be
   carried out with a single command.

   A FreeBSD port for an application is a collection of files designed to
   automate the process of compiling an application from source code.

That seems pretty clear about the distinction to me.

 But at the same time, it also implies that ports
 and packages are two completely separate ways of installing software when in
 reality they are actually two parts of the same system.

I'd say that they're actually two different ways of accessing the same
database; a slight difference of emphasis...

 The phrase ports
 build packages is a neat and efficient way of rectifying the
 misunderstandings that can occur when trying to give a proper explanation of
 FreeBSD package management.

A quick search on the FAQ and Handbook gives me the impression that
most generic references discuss installing from ports and(/or)
packages rather than one or the other.

If you think you see specific places to improve the documentation,
please write it up and submit it in a Problem Report.  FreeBSD is,
after all, a volunteer project...;2~
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing ports

2004-08-24 Thread Lowell Gilbert
Mark [EMAIL PROTECTED] writes:

  
  
   Hi!
   
   I'm using FreeBSD 5.2.1 and I'm in trouble with installing software
   using the ports collection. After typing make install everything 
   seems to be okay, but in most cases I get a message like this after
   a few minutes:
   
   fetch time out
   
   It seemed to me that the mirror servers are not uptodate or that
   some filenames have changed in the meantime, because fetching data
   from ftp-servers worked a few times. 
   But in nearly all cases I had to copy the files manually in
   /usr/ports/distfiles as make install finally suggested.
   
   So I installed a new ports-collection with sysinstall over ftp but
   things haven't changed. I'm a little confused, because fetching data
   from FreeSD ftp-servers doesn't work too (remember that some fetches
   were successful!).
   
   Please help me,
   Florian
   
   --
   Florian Hengstberger
   [EMAIL PROTECTED]
   http://stud3.tuwien.ac.at/~e0025265
   --
 
 
 Are you behind a proxy?? I had a box behind squid once, 
 had to set fetch to look for the squid server

Or maybe behind a firewall that is messing up FTP?
[Maybe the fetches that succeeded were all via HTTP?]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reinstalling, then upgrading (Was Re: Salvageable? (Was Re:make installworld error))

2004-08-24 Thread Lowell Gilbert
Matthew Seaman [EMAIL PROTECTED] writes:

 That phrase -- ports build packages is just so right on so many
 levels.  Except for the literal description of what actually happens.

It seems that a lot of the supposed confusion of novices comes from
the fact that we don't have a separate word to refer to a port or
package *after* it has been installed.  People make a naive assumption
that the package database has something to do with packages but not
with ports...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD.org website CMS

2004-08-25 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Hoping to implement and learn a website content management system (CMS) myself, I 
 was wondering what software(s) FreeBSD.org uses to manage their vast website?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: installed ATA RAID, now cannot boot - get mountroot prompt

2004-08-25 Thread Lowell Gilbert
DA Forsyth [EMAIL PROTECTED] writes:

 I'm searching the web for answers on this too, but so far nothing 
 useful.  hard to know what question to ask the search engines!

I made a mistake in rc.conf, or another startup file, and now I
cannot edit it because the filesystem is read-only. What should I do?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup with no-ip

2004-08-26 Thread Lowell Gilbert
Olof Andersson [EMAIL PROTECTED] writes:

 Hi!
 
 I have problems getting noip to start automatically at startup. I'm a
 beginner at FreeBSD and Unix and I need help with this. I added some
 info from my system that I hope will be usefull. noip works fine when
 manually started.

[snip[

  su -m noip -c '/usr/local/bin/noip2' 2 /dev/null  /dev/null

I suspect that you wanted:
  su -m noip -c '/usr/local/bin/noip2' 21 /dev/null

but I suggest not running the updater as a daemon at all.

I have the dhcp client run it automatically when the address changes,
by creating /etc/dhclient-exit-hooks as follows:

  #!/bin/sh

  updater_prog = /usr/local/bin/noip2 
  if [ x$reason = xREBOOT ]   ||\
 [ x$old_ip_address = x ] ||\
 [ x$old_ip_address != x$new_ip_address ]; then
  if [ -x $updater_prog ]; then 
  ${updater_prog} -i $new_ip_address
  else
  logger dhclient-exit-hooks cannot find updater $updater_prog
  fi
  fi
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup with no-ip

2004-08-28 Thread Lowell Gilbert
Please don't top-post.
http://catb.org/~esr/jargon/html/T/top-post.html

Olof Andersson [EMAIL PROTECTED] writes:

 Good suggestion. I have created the file /etc/dhclient-exit-hooks but
 do I need to do something else to get the noip to run when the
 ip-address changes? I'm a beginner so i could really need some help
 with the details.

It needs to be executable, but that's about the only other point.
Please see the manual:

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


Re: Swap file errors on 4 GB drive.

2004-09-07 Thread Lowell Gilbert
W. D. [EMAIL PROTECTED] writes:

 At 03:39 9/5/2004, Markie wrote:
 |- Original Message -
 |From: W. D. [EMAIL PROTECTED]
 |To: [EMAIL PROTECTED]
 |Sent: Sunday, September 05, 2004 7:36 AM
 |Subject: Swap file errors on 4 GB drive.
 |
 
 |Hi folks,
 |
 
 Hi
 
 |I tried to install FreeBSD 4.9 on a computer with
 |a 4 GB drive, but it killed the kernel when it
 |got a swap file error.
 |
 
 I have it installed on a 4GB drive.
 
 |I put in an 8 GB drive an everything went smoothly.
 |
 
 Perhaps your 4GB drive had bad sectors?
 
 Well, it tested fine with Hitachi's drive fitness test:
 http://www.HitachiGST.com/hdd/support/download.htm
 
 What other ways are there to test drives? 


That would usually be pretty definitive.
What *was* the error you got from the FreeBSD install?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    7   8   9   10   11   12   13   14   15   16   >