Re: nvraid setup

2005-04-07 Thread jason henson
Lucas Holt wrote:
I recently purchased a msi motherboard with an nforce 2 chipset.  It 
has nvraid support.  Is it possible to use it in freebsd?  If so, can 
it be used as a boot volume?

I've attempted a boot with a 5.3 release cd and found that it detects 
the two drives individually.  i'm trying to do raid 0 across 2 SATA 
disks.

My goal is to setup a home file/print server.  I'd even consider using 
software raid if i can't get the nvraid to work.  Is it possible to 
create a bootable software raid setup in freebsd?

I do have an old 10 gig drive i could through in for a root partition 
in a pinch but i'd like to stick to the new sata disks if possible.

Thanks.
Please CC me as i'm not on the list.
Lucas Holt
[EMAIL PROTECTED]

IIRC, there is no support fo the nvraid.  You would just use vinum.  It 
is in the base system, check man vinum or 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: What's the definition of the stale port?

2005-04-07 Thread Chuck Swiger
Sergei Gnezdov wrote:
On 2005-04-07, Kris Kennaway [EMAIL PROTECTED] wrote:
[ ... ]
How do I end up having stale ports?
As time marches on :-)
I am guessing, that port becomes stale after running cvsup.
When a new version of a port is committed, anyone running the older version 
has a stale version.  Whether you run cvsup or not doesn't affect whether a 
new version is available, but you are a lot more likely to notice dependency 
issues after running cvsup.

So, what exactly are we supposed to accomplish in respect to stale
ports, when we run pkgdb -F (deinstall, some kind of fix, simple
ignore)?
pkgdb tries to update the dependencies when new versions of a port appear. 
Running pkgdb by itself is not especially useful, although you can check and 
rebuild updated ports by hand.  Consider portupgrade instead

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


ath(4) sysctl tuneables

2005-04-07 Thread FreeBSD Deamon
dear list,
I own a ath(4) card and would be interested in information about the the 
meaning of these ath sysctl tueables.
Which can be changed? Which values can these changeable tuneables take?

hw.ath.hal.dma_brt: 2
hw.ath.hal.sw_brt: 10
hw.ath.hal.swba_backoff: 0
hw.ath.dwell: 200
hw.ath.calibrate: 30
hw.ath.outdoor: 1
hw.ath.countrycode: 0
hw.ath.regdomain: 0
hw.ath.debug: 0
hw.ath.dump:
If hw.ath.debug is set then here do the debug messages go?
TIA
zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Copying files off Samba Server - freezes/very slow

2005-04-07 Thread Gareth Bailey
Hi Ed,

What version of FreeBSD are you running ?
I'm running the i386 4.11 stable release 

What are you hardware specs?
Gigabyte K8VM800M MB, 512 DDR 400 Memory, AMD Sempron Socket 754
2600+,  3com managed NIC (uses xl0 driver)

What version of windows is running on your clients?
Win XP SP2

do you use dynamic dns and or wins?
Ok.. i'm not too clued up with this response, but i have nothing fancy
going on here - std settings (..let me know if you need more info!)

Thanks for your help,

Regards,
Gareth

On Apr 7, 2005 2:38 AM, Ed Stover [EMAIL PROTECTED] wrote:
 I don't see any thing that would cause the slowness you described
 earlier. What version of FreeBSD are you running ? What are you hardware
 specs? What version of windows is running on your clients? do you use
 dynamic dns and or wins?
 On Wed, 2005-04-06 at 09:41 +0200, Gareth Bailey wrote:
  Hi Ed,
 
  My smb.conf file follows:
 
  Please let me know if you see anything that could be causing this
  behaviour. I'm running 4.11 release and samba-2.2.8a_2
 
  Cheers.
 
  # start
 
  # This is the main Samba configuration file. You should read the
  # smb.conf(5) manual page in order to understand the options listed
  # here. Samba has a huge number of configurable options (perhaps too
  # many!) most of which are not shown in this example
  #
  # Any line which starts with a ; (semi-colon) or a # (hash)
  # is a comment and is ignored. In this example we will use a #
  # for commentry and a ; for parts of the config file that you
  # may wish to enable
  #
  # NOTE: Whenever you modify this file you should run the command testparm
  # to check that you have not many any basic syntactic errors.
  #
  #=== Global Settings 
  =
  [global]
 
  # workgroup = NT-Domain-Name or Workgroup-Name, eg: REDHAT4
 workgroup = GREENHOUSE
 
  log level = 10
 
  # server string is the equivalent of the NT Description field
 server string = UberBSD Server
 
  # This option is important for security. It allows you to restrict
  # connections to machines which are on your local network. The
  # following example restricts access to two C class networks and
  # the loopback interface. For more examples of the syntax see
  # the smb.conf man page
 hosts allow = 192.168.0. 127.
 
  # If you want to automatically load your printer list rather
  # than setting them up individually then you'll need this
 load printers = no
 
  # you may wish to override the location of the printcap file
  ;   printcap name = /etc/printcap
 
  # on SystemV system setting printcap name to lpstat should allow
  # you to automatically obtain a printer list from the SystemV spool
  # system
  ;   printcap name = lpstat
 
  # It should not be necessary to specify the print system type unless
  # it is non-standard. Currently supported print systems include:
  # bsd, sysv, plp, lprng, aix, hpux, qnx
  ;   printing = bsd
 
  # Uncomment this if you want a guest account, you must add this to 
  /etc/passwd
  # otherwise the user nobody is used
  ;  guest account = pcguest
 
  # this tells Samba to use a separate log file for each machine
  # that connects
 log file = /var/log/log.%m
 
  # Put a capping on the size of the log files (in Kb).
 max log size = 50
 
  # Security mode. Most people will want user level security. See
  # security_level.txt for details.
 security = user
 
  # Use password server option only with security = server
  # The argument list may include:
  #   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
  # or to auto-locate the domain controller/s
  #   password server = *
  ;   password server = NT-Server-Name
 
  # Note: Do NOT use the now deprecated option of domain controller
  # This option is no longer implemented.
 
  # You may wish to use password encryption. Please read
  # ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
  # Do not enable this option unless you have read those documents
encrypt passwords = yes
  #  null passwords = true
 
  # Using the following line enables you to customise your configuration
  # on a per machine basis. The %m gets replaced with the netbios name
  # of the machine that is connecting
  ;   include = /usr/local/etc/smb.conf.%m
 
  # Most people will find that this option gives better performance.
  # See speed.txt and the manual pages for details
  # You may want to add the following on a Linux system:
  # SO_RCVBUF=8192 SO_SNDBUF=8192
 socket options = TCP_NODELAY
 
  # Configure Samba to use multiple interfaces
  # If you have multiple network interfaces then you must list them
  # here. See the man page for details.
  ;   interfaces = 192.168.12.2/24 192.168.13.2/24
 
  # Browser Control Options:
  # set local master to no if you don't want Samba to become a master
  # browser on your network. Otherwise the normal election rules apply
 local master = yes
  # i turned this on
 
  # OS Level 

Help: Streaming media capture

2005-04-07 Thread Mangesh Bhalerao



Hi everybody,

I got a question, if i would like to download a file
on my hdd , such as

rtsp://folder.something.com/blablabla.rm

how to get it download and let me know you i am working
behind a webonly firewall which blocks all udp connections
as well as i need to have a poxy connecton to access internet.

I have tried mplayer ( mplayerhq.hu ) but was not successful because of i
guess, the proxy config in mplayer.

If you know any other utility and how to use it, please let me know.

TIA.

Regards


Mangesh Bhalerao
M.Tech. (II nd Sem)
DA-IICT ,(www.da-iict.org)
Gandhinagar - 382009

Ph#. 9426366185
--




Mangesh Bhalerao
M.Tech. (II nd Sem)
DA-IICT ,(www.da-iict.org)
Gandhinagar - 382009

Ph#. 9426366185
--




Mangesh Bhalerao
M.Tech. (II nd Sem)
DA-IICT ,(www.da-iict.org)
Gandhinagar - 382009

Ph#. 9426366185
--

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


how to enable PHP on Apache?

2005-04-07 Thread Matthias F. Brandstetter
Hi all,

I did a make install clean to compile and install phpmyadmin, which 
installed PHP4 as well. Then I added these lines into my httpd.conf:

-
...
LoadModule php4_modulelibexec/apache/libphp4.so
...
AddModule mod_php4.c
...
IfModule mod_dir.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html
/IfModule
/IfModule
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.html
/IfModule
/IfModule
/IfModule
...
IfModule mod_php3.c
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
/IfModule
IfModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
/IfModule
...
Alias /phpmyadmin /usr/local/www/phpMyAdmin
...
-

But when I now point my browser to domain/phpmyadmin, Firefox tells me, 
it wants to download a PHTML file. And when I point it to 
domain/phpmyadmin/index.php, I get a .php file, which Firefox wants to 
download as well.

So, how can I setup Apache/PHP to interpret my php files, instead of 
sending them 1:1 to the client? Do I miss a configuration here (see 
above)?

Greetings and TIA, Matthias

-- 
And thank you most of all for nuclear power, which is yet to cause a
single proven fatality, at least in this country.

  -- Homer Simpson
 Oh Brother, Where Art Thou?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows XP Partition Magic

2005-04-07 Thread Manuel Burki
 Can FreeBSD be installed if I use Partition Magic.  I am currently running on
 Windows XP environment.  (That is the only primary partition) ..If  so how..I 
 keep getting error messages Could not find Primary Descriptor..when 
 installing
 FreeBSD from CD. Am I partitioning wrong, or is XP not compatable?

If you're going to run FreeBSD you don't need Windows XP anymore. So the
CD installation is quite easy. Just boot from the CD, delete all paritions and 
choose
use entire disk.

Besides that, the install procedure is quite well explained in the 
documentations.

regards, 

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


Serial console connection problem

2005-04-07 Thread Jani Luukkanen
Hi!
I have an issue with serial console connection with two FreeBSD machines 
(Both with Intel SE7210TP1-E motherboard, other configured as host 
from bios and other has ordinary com ports which are connected with 
normal tested serial cable).

Host machine is running FreeBSD 5.3 and the client one 4.10.
Problem is that when trying to open the serial connection with tip, 
error occurs as;

/[EMAIL PROTECTED] root # tip com1
tip: /dev/cuaa0: Device busy
link down
/
/etc/remote file has entry:
/sio0|com1:dv=/dev/cuaa0:br#9600:pa=none:/
/var/run/dmesg.boot:
/sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
/
So I assume that the com port generally should be configured properly?
Main question is that how to get access first to the com1 port generally 
and second to get ahold of the remote screen on the other end of the 
serial cable?

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


dump question

2005-04-07 Thread dick hoogendijk
Hi,

Need some reassurance on this:

# dump -h0 -0f - /usr | gzip  /filelocation/filename.dump.gz

Will this produce a good dumpfile of /usr ? I mean, witghout gzip it
would have probably be something like dump -h0 -0f
/filelocation/filename.dump /tmp am I right?

Because I am a little short on space I want to use gzip though.
Thanks.
-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New user questions :)

2005-04-07 Thread Graham Bentley

Graham Bentley [EMAIL PROTECTED] wrote:
I also wondered if there is a project based on FreeBSD that
achieves similar goals to SME Server (ie all in one LAN server
with Web config) or similar to Trustix (ie minimal config with
series of scripts to configure server services.

Not that I know of, but it sure would be a nice project, huh?
definitely a nice one.
hmm...what would be the best way to go about it?
 - add an option to sysinstall SME (well, whatever that would be named 
of course)
 - add a port that 'depends' / installs all the other ports needed
- with questions and answer to start setting up your system...or 
some kind of UI for it (ugh)
 - same as with ports, but prec-compiled packages.

hmm...must download SME to test and see how they went about it.
Hi Guys, Iw as wondering how I would even go about starting a project 
like this using FreeBSD as I know even less than I do about Linux (not 
much) but I really rate SME and would love to see a FreeBSD version as
FreeBSD seems even more suited to this type of thing (ie a stable distro 
to base a good project on:)

Did you get round to checking out SME ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM eServer 346 ServeRaid is too slow

2005-04-07 Thread Brian Behlendorf
On Thu, 7 Apr 2005, Carl Makin wrote:
I'd say you are seeing the same as I am with the same card in a Dell 1855. 
There is something wrong with the mpt driver and the disks when they are 
setup in a raid0 set.  If you split the disks and use them as individual 
drives then you will get full performance.
It's also a known problem, though not being tracked very well.
http://lists.freebsd.org/pipermail/freebsd-scsi/2004-December/001577.html
http://lists.freebsd.org/pipermail/freebsd-scsi/2004-December/001578.html
Doesn't look like (from viewcvs.cgi) there's been any recent work on 
this.

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


Re: dump question

2005-04-07 Thread Martin Petraschek
On Thu, 7 Apr 2005 10:47:59 +0200, dick hoogendijk wrote:

# dump -h0 -0f - /usr | gzip  /filelocation/filename.dump.gz

Will this produce a good dumpfile of /usr ? I mean, witghout gzip it
would have probably be something like dump -h0 -0f
/filelocation/filename.dump /tmp am I right?

Because I am a little short on space I want to use gzip though.
Thanks.

This should be OK. You can even interactively (!) restore from that file 
using a command like:

gunzip /filelocation/filename.dump.gz -c |restore -if -

For a full restore of all files in the dumpfile use:

cd restoredir
gunzip /filelocation/filename.dump.gz -c |restore -rf -

Martin



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


[no subject]

2005-04-07 Thread John Meing
Hi All,

I'm trying to create customized freebsd 4.11 installation CD, it is almost
done but I found some problem with customized install.cfg for sysinstall.

Here is my install.cfg

# install.cfg for sranOS v.0.1-1

# Turn on extra debugging.
debug=yes
noConfirm=YES
noWarn=NO

tcpMenuSelect

# select media to install
mediaSetCDROM
dists= bin doc manpages catpages proflibs dict info ports ssecure sbase
scontrib sgnu setc sinclude slib slibexec srelease sbin ssbin sshare ssys
subin susbin
distSetCustom

# partition
disk=ad0
partition=all
bootManager=standard
diskPartitionEditor

# disklabel
ad0s1-1=swap 1048576 none
ad0s1-2=ufs 0 /
# Let's do it!
diskLabelEditor

# everything set, do it
installCommit

command=echo rc_conf_files=/etc/rc.conf /etc/rc.conf.local 
/etc/rc.conf system
command=echo sshd_enable=YES  /etc/rc.conf system
command=echo sendmail_enable=NONE  /etc/rc.conf system
command=passwd root system
shutdown

Most of processes for sysinstall works fine except process for the lines
begin with command does not work, I don't know why, Could someone help
me ?


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


Re: Hi please help

2005-04-07 Thread samuel kirk
Hi dear jerry
one question is what do u mean intel clone and second  mine is a sempron 
2200 on a msi board i just would liek if u can tell me if it is supported 
sinc eimn having trouble finding it and third i was wondering if u can tell 
me and i dont knwo much about the i386 stuff going on but i think im sure ad 
sempron 2200 will be using i386 please reply soon thank-you


From: Jerold McAllister [EMAIL PROTECTED]
To: zhane H [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],  [EMAIL PROTECTED]
Subject: Re: Hi please help
Date: Tue, 05 Apr 2005 10:34:56 -0400
zhane H writes:
Hi dear staff at freebsd
NOTE:  FreeBSD does not have a staff.   Everyone is a volunteer.
But people understand what you mean by your greeting.
How may i check whether the hardware in my pc is supporte by freebsd
5.3
If you look on the FreeBSD web site at:  http://www.freebsd.org/
you will see two releases listed over on the right hand side of the page.
Under each there is a link called 'Hardware Notes' which will take you
to a page that lists types of CPU.  Click on one of those and you
will get a list of hardware categories.  Click on those to get specific
lists of hardware devices.   If you can find your hardware in those lists,
you should have no problem.   The difficult thing comes up when you have
an item such as a sound card which uses the same chip as listed in one
of the devices but it doesn't list your specific device model.  Most of the
time, it will also work, but no-one has tested it so they don't know for
sure.
 and also i would liek to ask whcih one of freebsd do i install as i
dont understand if i ahve to do i386 or some other one im instaling it
on a msi board amd sempron 2200 with samsung cd-rw and a 10 gig
seagate hdd
If your CPU is an Intel type (including AMD 'clone') then choose i386
type.   Only if you know your CPU is one of the others such as Alpha
or sparc64 should you install for those.   All regular PCs are the i386
type.
NOTE, by the way, that FreeBSD 5.4 is scheduled to come out at the end
of this month.   It will have many improvements over 5.3.  You may not
want to wait to start hands on learning, but you may want to just install
and experiment for now and then completely reinstall when 5.4 is released.
Good luck,
jerry
Please contact me back as soon possible as im in very urgent need of help!
Sincerely Zhan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




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


Re: Hi please help

2005-04-07 Thread Joel
On Thu, 07 Apr 2005 05:30:07 -0400
(B"samuel kirk" [EMAIL PROTECTED] wrote
(B
(B Hi dear jerry
(B one question is what do u mean intel clone and second  mine is a sempron 
(B 2200 on a msi board i just would liek if u can tell me if it is supported 
(B sinc eimn having trouble finding it and third i was wondering if u can tell 
(B me and i dont knwo much about the i386 stuff going on but i think im sure ad 
(B sempron 2200 will be using i386 please reply soon thank-you
(B
(BTry searching:
(B
(Bhttp://www.google.co.jp/search?q=msi+sempron+freebsd
(B
(BFor example,
(B
(Bhttp://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-03/0003.html
(B
(Bbut MSI which?
(B
(BMy sempron 2200 runs fine.
(B
(B--
(BJoel Rees   [EMAIL PROTECTED]
(Bdigitcom, inc.   $B3t<02q

rtc question

2005-04-07 Thread dick hoogendijk
I decided to remove polling and hz=1200 from my kernel. The system was
slower. Things run pretty smooth now (duron-800/512Mb) with the default
HZ=100, /but/ :

Now vmware3 is complaining about the rtc : timing error, please
increase...
The virtual machine itself runs just fine. If it does no harm I want to
stick to the HZ=100. What does this rtc message mean and what are the
consequenses? An unstable system?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11 ++ FreeBSD 5.3
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound Help

2005-04-07 Thread Xian
On Thursday 07 April 2005 05:16, Warren wrote:
 I upgraded my ports/src/kernel yesterday and after i rebooted i no longer
 have any sound installed.

 Being as i have onboard sound and honestly have no idea the chipset the
 sound uses etc .. i was wondering if someone could give me a guide to how
 to get my sound back and working?

I have a ASUS A7V600-X motherboard, and sound came out the mic (pink) socket 
until I used this patch:
http://www.essenz.com/support/lists/hackers/20041231/51.html


-- 

/Xian

What is Pi?
Mathematician: Pi is the number expressing the relationship between the 
circumference of a circle and its diameter. Physicist: Pi is 3.14159267 plus 
or minus 0.5. Engineer: Pi is about 3.
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help: Streaming media capture

2005-04-07 Thread Xian
On Thursday 07 April 2005 08:02, Mangesh Bhalerao wrote:
 Hi everybody,

 I got a question, if i would like to download a file
 on my hdd , such as

 rtsp://folder.something.com/blablabla.rm

 how to get it download and let me know you i am working
 behind a webonly firewall which blocks all udp connections
 as well as i need to have a poxy connecton to access internet.

 I have tried mplayer ( mplayerhq.hu ) but was not successful because of i
 guess, the proxy config in mplayer.

 If you know any other utility and how to use it, please let me know.

 TIA.

 Regards

 
 Mangesh Bhalerao
 M.Tech. (II nd Sem)
 DA-IICT ,(www.da-iict.org)
 Gandhinagar - 382009

 Ph#. 9426366185
 --

ssh port forwarding might get you round the firewall. For actually getting the 
stream onto disk, mplayer is very good.

-- 

/Xian

C lets you shoot yourself in the foot rather easily. C++ allows you to blow 
your whole leg off
unknown author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with partitioning

2005-04-07 Thread [EMAIL PROTECTED]
Dear all,
I have been trying to install FreeBSD 5.3, and having problems with partitions.
My HD configuration was as follows:
- one IBM 30 GB HD (seen as ad0 by FreeBSD booted from CD, and as /dev/hde by
Linux) with a FAT32 partition (WinME), a Ext3 partition (Mandrake Linux 8.1) and
a Linux Swap partition
- one Maxtor 200 GB HD (seen as ad1 by FreeBSD and as /dev/hdg by Linux) with a
FAT32 partition (no OS on it), a Ext3 partition (Slackware Linux 10.1) and 100
GB free space.
The OSes are booted by Lilo installed on the MBR of the first disk.
I made a 30GB partition for FreeBSD and installed the system on it, leaving the
MBRs untouched. It did give me a warning about wrong disk geometry, but
otherwise the installation seemed OK.
Now what happens is:
- WinME can't see the FAT32 partition on the Maxtor disk (let alone the other 
ones);
- Mandrake Linux and Lilo can't see any partition on the Maxtor disk (so I can't
boot the OSes on this disks);
- Knoppix 3.7 (a live Linux CD) can see the partitions on the Maxtor disk (even
the sub-partitions in the FreeBSD partitions - let me apologize here for not
using the proper FreeBSD terminology) but it can't mount them properly;
- FreeBSD (booted from CD) can see and mount everything properly.
A couple more notes:
- I made the partitions on the Maxtor CD with Slackware's fdisk;
- When I boot from the FreeBSD cd (or Freesbie) I need to choose safe mode, or
it will hang after detecting the Maxtor disk (maybe I should have taken this in
more account...).
Any idea on what went wrong and how to fix it? The data already on the Maxtor
disk are not critical, but I would prefer to recover them.
Thanks,
Marco




Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. 
Scegli Libero Adsl Flat senza limiti su http://www.libero.it


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


RE: Windows XP Partition Magic

2005-04-07 Thread Bjorn Konig
Andrew  Alissa Wyderka:

 Can FreeBSD be installed if I use Partition Magic.  I am 
 currently running on Windows XP environment.  (That is the

 only primary partition) ..If  so how..I keep getting error

 messages Could not find Primary Descriptor..when
installing 
 FreeBSD from CD. Am I partitioning wrong, or is XP not
compatable?

In general FreeBSD works with Windows XP side by side. Do
you get this error message while booting from CD, during
preparation of partitions or installation or at the first
boot of an installed system? What's the role of Partition
Magic? If you made room for FreeBSD with Partition Magic
then you don't need it anymore and it might be totally
unrelated to your problem.

Bjorn

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


Re:

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 05:16 am, John Meing wrote:
 Hi All,

 I'm trying to create customized freebsd 4.11 installation CD,
 it is almost done but I found some problem with customized
 install.cfg for sysinstall.

 Here is my install.cfg

[snip]

 command=echo rc_conf_files=/etc/rc.conf /etc/rc.conf.local
  /etc/rc.conf system
 command=echo sshd_enable=YES  /etc/rc.conf system
 command=echo sendmail_enable=NONE  /etc/rc.conf system
 command=passwd root system
 shutdown

 Most of processes for sysinstall works fine except process for
 the lines begin with command does not work, I don't know why,
 Could someone help me ?


 Best Regards,
 John Meing

I can imagine it would.  If there was a command= (could be, but 
I'm relatively new to doing the automated install stuff), it's 
not mentioned in the example install.cfgs I've seen.  Besides, 
even if it is an option, think about how it would carry out...  
it makes about as much sense as telling your shell to:

echo hello=hola

... syntax is kinda sucky.

HTH,

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


DNS Names resolution in ipfw+nat ?

2005-04-07 Thread faisal gillani
Well i read couple of  how,to artical on the internet
regarding setting up a ipfw firewall with nat to allow
your private network client to setup internet access ,
but their isnt one thing clear to me , which was not
present in any of the articals , which is how there
internal clients gona resolve internet hosts names ? 

will this be autoconfigured ?

thanks 


*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
God is the Greatest


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


RE:

2005-04-07 Thread Mick Walker
-Original Message-
From: wizlayer [mailto:[EMAIL PROTECTED] 
Sent: 07 April 2005 12:17
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re:


On Thursday 07 April 2005 05:16 am, John Meing wrote:
 Hi All,

 I'm trying to create customized freebsd 4.11 installation CD, it is 
 almost done but I found some problem with customized install.cfg for 
 sysinstall.

 Here is my install.cfg

[snip]

 command=echo rc_conf_files=/etc/rc.conf /etc/rc.conf.local
  /etc/rc.conf system
 command=echo sshd_enable=YES  /etc/rc.conf system command=echo 
 sendmail_enable=NONE  /etc/rc.conf system command=passwd root 
 system shutdown

 Most of processes for sysinstall works fine except process for the 
 lines begin with command does not work, I don't know why, Could 
 someone help me ?


 Best Regards,
 John Meing

I can imagine it would.  If there was a command= (could be, but 
I'm relatively new to doing the automated install stuff), it's 
not mentioned in the example install.cfgs I've seen.  Besides, 
even if it is an option, think about how it would carry out...  
it makes about as much sense as telling your shell to:

echo hello=hola

... syntax is kinda sucky.

HTH,

Mike


Pardon my ignorance, but is there a section in the handbook/man pages
relating to creating custom install images?
I would find this really useful TBH. However from work I do not have
access to the internet, or the handbook installed locally to check.

Thanks
Mick Walker 
IMPORTANT NOTICE: 
This email is confidential. It must not be read, copied disclosed or used by 
any person other than the named recipient. Unauthorised use, disclosure or 
copying is strictly prohibited and may be unlawful. The views expressed in this 
mail are the views of the author and may not be the views of the company. If 
you have received this email in error, please contact the sender immediatly. 
There may be attachments to this email which may contain viruses which could 
damage your own computer system. BodyCare International has taken every 
reasonable precaution to minimise the risk, but cannot accept liability for any 
damage which you may sustain as a result of software viruses. You should carry 
out your own virus checks before opening attachments. 
  
BodyCare International 
BodyCare House, Blackett Road, Darlington, Co. Durham, DL1 2BJ 
Tel: 01325 360900 
Fax: 01325 363922 
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows XP Partition Magic

2005-04-07 Thread Alex Zbyslaw
Andrew  Alissa Wyderka wrote:
Can FreeBSD be installed if I use Partition Magic.  I am currently running on Windows XP environment.  (That is the only primary partition) ..If  so how..I keep getting error messages Could not find Primary Descriptor..when installing FreeBSD from CD. Am I partitioning wrong, or is XP not compatable?
 

I used PM to split my XP disk in two before installing FreeBSD.  What did you do with PM? 
 From memory, the new partition you create should be of type unused since PM 
doesn't know about FreeBSD partition types.
Without more information it will be hard to help you.  But what you are trying 
to do can be done.
--Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE:

2005-04-07 Thread John Meing
Dear Mike

Here are few guides i used to create this install.cfg.

http://mypage.bluewin.ch/dazdaz/freebsd_sysinstall.html
http://www.freebsd.org/cgi/man.cgi?query=sysinstallapropos=0sektion=0manpath=FreeBSD+4.11-RELEASEformat=html

I also try command line version of sysinstall like
# /stand/sysinstall command=passwd root system

and it was works, but I don't know why it doesn't work with install.cfg

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


Re: install.cfg (was RE: No Subject)

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 07:38 am, John Meing wrote:
 Dear Mike

 Here are few guides i used to create this install.cfg.

 http://mypage.bluewin.ch/dazdaz/freebsd_sysinstall.html
 http://www.freebsd.org/cgi/man.cgi?query=sysinstallapropos=0s
ektion=0manpath=FreeBSD+4.11-RELEASEformat=html

 I also try command line version of sysinstall like
 # /stand/sysinstall command=passwd root system

 and it was works, but I don't know why it doesn't work with
 install.cfg

 John Meing

Open mouth, insert foot...  There is a command!  :)

Okay, but that still doesn't work for the syntax...  Going back to 
your original post:

 command=echo sendmail_enable=NONE  /etc/rc.conf system

would at best cause mismatching quote errors (which is what I'm 
assuming you're getting?)

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


ps2pdf and ps2epsi behaving strange

2005-04-07 Thread Andreas Davour
After using these tools, installing the epsmegre port (and some others) 
and then removing the latter again, the former have stopped working!

bash-2.05b$ ps2pdf elcFront.ps
Unknown device: pdfwrite
bash-2.05b$ ps2epsi elcFront.ps
Unknown device: bit
bash-2.05b$
How come those devices they ask for have dissapeared, or why have they 
suddenly developed a need for them?

Oddly enough, ps2epsi seems to produce the correct output, regardless of 
the error - ps2pdf not so.

I have reinstalled ghostscript-gnu, but it didn't solve the problem.
Are there some port around that messed with them in a way that didn't 
showed up untill I pkg_delete'd those ports?

/Andreas
--
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: install.cfg (was RE: No Subject)

2005-04-07 Thread wizlayer
On Thursday 07 April 2005 08:05 am, wizlayer wrote:


 Okay, but that still doesn't work for the syntax...  Going back
 to

 your original post:
  command=echo sendmail_enable=NONE  /etc/rc.conf system

 would at best cause mismatching quote errors (which is what I'm
 assuming you're getting?)

 Mike

I meant to ps before I sent this...

Why not just create the rc.conf you want and introduce it after 
the install?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to enable PHP on Apache?

2005-04-07 Thread Yoann Le Bihan
Hello ! :-)

You just need to install mod_php port. It's located into
/usr/ports/www (there are a mod_php4/ and a mod_php5/ directories).
Just make install clean from one or two of these directories and it
must be installed. Because I think it's not installed (even if it's
mentionned in httpd.conf... it's strange by the way :-).

Don't forget to make a /usr/local/sbin/apachectl restart after (if
it's not already done from the port's installation).

Best regards,

YLB.
[EMAIL PROTECTED]


On Apr 7, 2005 9:41 AM, Matthias F. Brandstetter [EMAIL PROTECTED] wrote:
 Hi all,
 
 I did a make install clean to compile and install phpmyadmin, which
 installed PHP4 as well. Then I added these lines into my httpd.conf:
 
 -
 ...
 LoadModule php4_modulelibexec/apache/libphp4.so
 ...
 AddModule mod_php4.c
 ...
 IfModule mod_dir.c
 IfModule mod_php3.c
 IfModule mod_php4.c
 DirectoryIndex index.php index.php3 index.html
 /IfModule
 IfModule !mod_php4.c
 DirectoryIndex index.php3 index.html
 /IfModule
 /IfModule
 IfModule !mod_php3.c
 IfModule mod_php4.c
 DirectoryIndex index.php index.html
 /IfModule
 IfModule !mod_php4.c
 DirectoryIndex index.html
 /IfModule
 /IfModule
 /IfModule
 ...
 IfModule mod_php3.c
 AddType application/x-httpd-php3 .php3
 AddType application/x-httpd-php3-source .php3s
 /IfModule
 IfModule mod_php4.c
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source .phps
 /IfModule
 ...
 Alias /phpmyadmin /usr/local/www/phpMyAdmin
 ...
 -
 
 But when I now point my browser to domain/phpmyadmin, Firefox tells me,
 it wants to download a PHTML file. And when I point it to
 domain/phpmyadmin/index.php, I get a .php file, which Firefox wants to
 download as well.
 
 So, how can I setup Apache/PHP to interpret my php files, instead of
 sending them 1:1 to the client? Do I miss a configuration here (see
 above)?
 
 Greetings and TIA, Matthias
 
 --
 And thank you most of all for nuclear power, which is yet to cause a
 single proven fatality, at least in this country.
 
   -- Homer Simpson
  Oh Brother, Where Art Thou?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DNS Names resolution in ipfw+nat ?

2005-04-07 Thread Eric McCoy
faisal gillani wrote:
Well i read couple of  how,to artical on the internet
regarding setting up a ipfw firewall with nat to allow
your private network client to setup internet access ,
but their isnt one thing clear to me , which was not
present in any of the articals , which is how there
internal clients gona resolve internet hosts names ? 
Generally speaking, a program looking to resolve a hostname to an IP 
will first consult /etc/hosts, which is a simple text file you can 
examine or edit as you wish.  If the hostname which needs to be resolved 
isn't present in that file, the program will consult DNS via the 
network.  DNS uses port 53 and it can use either TCP or UDP, though in 
practice a client will never use TCP.  (TCP is used mainly for zone 
transfers and the like, which are server-to-server.)

The rule of thumb for Unix is not to use hostnames in startup scripts, 
because it's possible that DNS will not be available when they are run. 
  It can take over a minute for a DNS query to time out.  Besides, it 
also makes you vulnerable to DNS hijacking.  Instead, use IPs or put an 
entry in /etc/hosts if you must.

Incidentally, the firewall rules to allow DNS would be
ipfw add allow tcp from me to any 53 setup keep-state
ipfw add allow udp from me to any 53 keep-state
As a technical aside, the name resolution path I described above is not 
the way it has to work, just the way it is configured by default.

will this be autoconfigured ?
No, though the above rules should be in the sample ipfw script which 
comes with FreeBSD.

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


Re: multiprocessors

2005-04-07 Thread Eric McCoy
Bill wrote:
On Wed, 2005-04-06 at 21:16, FreeBSD Deamon wrote:
Bill wrote:

Is there a comand to use so as to see if freebsd is using both
processors?
sysctl hw.ncpu, I think.
You can also look at /var/run/dmesg.boot and look for:
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
BSP stands for bootstrap processor and AP for application processor. 
The BSP is the one used to load the system until this message comes up:

SMP: AP CPU #1 Launched!
which will happen right before the kernel launches init.
try top(1)
the output of top should contain a C column. if this column contains 
0s and 1s both your CPUs are used

There is a line for cpu put it only shows one. Im used to linux and when
I do a top in Linux I see two lines for my cpus.
You are looking in the wrong place.  A C *column*, not a CPU *row*. 
FreeBSD will only ever show the total CPU time on the CPU row.  This is 
something like what you will see on an SMP system:

  PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
89704 emccoy960  2484K  1660K CPU1   0   0:00  0.51%  0.05% top
97005 root  960  3092K  1248K select 1  29:28  0.00%  0.00% ntpd
First, note the state for top: it's CPU1.  Second, the C column is 0 
for top, 1 for ntpd.  The C column is the last CPU the process ran on.

The WCPU and CPU columns, by the way, are both *per-CPU*, as you can see 
here:

CPU states:  2.7% user,  0.0% nice, 47.5% system,  0.8% interrupt, 49.0% 
idle
89739 emccoy   1100  1324K   684K CPU0   0   0:43 99.00% 87.50% cat

So another way to tell if SMP is working is if the summary row says 50% 
idle but you've got a process which shows 100% active.

Is the stock kernel that gets installed when doing a new install smp
enabled?
No.
Do i need to rebuild my kernel for smp?
Yes.  The good news is that it's very easy.  The Handbook has 
information on how to do it.  Basically all you need to do is add 
options SMP and make sure device apic is enabled (it is by default I 
believe, even for the GENERIC kernel).

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


Re: dhclient oddness?

2005-04-07 Thread Lowell Gilbert
Mark Cullen [EMAIL PROTECTED] writes:

 Right, I have this weird annoying issue with my modem which I have
 finally got around to looking in to. Basically, it's all good and
 works fine (obviously, otherwise I wouldn't be here!), except when I
 reboot the internet computer the IP will change, the connection
 DOESN'T drop, but the IP does change. I have just now narrowed this
 down to some sort of problem with dhcp I think.
 
 The modem has a dhcpd server built in, which sends out the internet IP
 address to the computers network card. It seems, whenever the dhcp
 client, dhclient in this case, gets restarted it'll get the old ip
 address (the first chunk of the quote below, before the freeze),
 natd will update itself, but then the connection will just stall until
 dhclient does the next DHCPREQUEST thing (47 seconds in this case?)
 .. then the modem sends back a DHCPNAK and I get a different IP
 address. Any ideas why this might be happening?

Your modem is clearly the source of the problem, and it seems
unlikely that anything on the FreeBSD side could help, aside from
maybe forcing a lease free before starting dhclient on startup.

I'd try looking at the configuration for that modem device, or
possibly for a firmware upgrade for it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


x11 help

2005-04-07 Thread Dennis Olvany
I'm attempting to run the Doom 3 Linux binary on FreeBSD 5.3. I really have no 
idea how to get x11/Doom 3 started. I've tested my x11 configuration with [Xorg 
-config xorg.conf.new] and it seems to work well. I'm sure Doom 3 expects x11 
to already be running in the form of KDE or Gnome, but I would like to run Doom 
3 directly from the command line. I have no idea how to get x11 started and 
then launch Doom 3.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv6 ICMP multicast response

2005-04-07 Thread Lowell Gilbert
Martin Petraschek [EMAIL PROTECTED] writes:

 By default, FreeBSD does not reply to ICMP multicast echo requests. For IPv4 
 this behaviour 
 can be changed with
 
 sysctl  net.inet.icmp.bmcastecho=0|1
 
 Is there a similar control for IPv6?

No.  That would violate RFC 2463, section 2.4(e.2).
As well as being a bad idea.

If you need it for some custom application that won't be 
connected to the Internet, you can hack the source.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.3 and 5.4RC1 both fail with CD upon installation(5.1 did not)

2005-04-07 Thread Joshua Kampmeier
Here is the error I get when booting with(any) of the 5.3/5.4 discs:

acd0: CDRW QSI CD-RW/DVD-ROM SBW-241/VX08 at ata1-master UDMA33
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0

then it starts sysinstall except when I try to start the installation it fails 
at mounting the CD-ROM. I can install in safe mode.. but then any time there is 
a cd in the drive upon boot-up.. i get errors again.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multiprocessors

2005-04-07 Thread Tom Trelvik
Eric McCoy wrote:
You are looking in the wrong place.  A C *column*, not a CPU *row*. 
FreeBSD will only ever show the total CPU time on the CPU row.  This is 
something like what you will see on an SMP system:

  PID USERNAME PRI NICE   SIZERES STATE  C   TIME   WCPUCPU COMMAND
89704 emccoy960  2484K  1660K CPU1   0   0:00  0.51%  0.05% top
97005 root  960  3092K  1248K select 1  29:28  0.00%  0.00% ntpd
	Except that that column isn't present by default when it's not running 
SMP, even if there are two processors.  Here's the output from a fresh 
install (yesterday) on a dual Opteron without SMP enabled yet:

  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  240 root  960  3268K  1776K select   0:07  0.00%  0.00% dhclient
  408 root  960  9468K  3572K select   0:00  0.00%  0.00% sendmail
  425 root   80  3620K  1264K nanslp   0:00  0.00%  0.00% cron
Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Maintaining a Minimal Installation for a Small HDD

2005-04-07 Thread Lowell Gilbert
Pat Maddox [EMAIL PROTECTED] writes:

 Yep, that's pretty much right.  Use one of the systems to build
 everything as packages, and then install all those packages onto your
 other machines.

Or share them (e.g., by NFS), and build them on the individual machines.

Or share them (e.g., by NFS), and build them on the master machine,
then install on the other machines (just make sure you don't build
them with optimizations that will break the other machines -- of
course, this caveat also applies to building packages for those other
machines). 

 You'll still need to compile the kernel and source on each individual machine.

Or you could build the kernel and source on the master machine and
share them (e.g., by NFS) to install on the other machines.  Or use
FreeBSD Update or something similar (e.g., you could put a simple
version together with rsync).  Or build your own releases on the
master machine and let the other machines update to them via anonymous
FTP.  There are a huge number of possibilities, limited only by the
amount of effort you're willing to put into them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT

2005-04-07 Thread Xin LI
Hi, Didier,

 2005-04-06 13:39 +0200Didier Wiroth
 Is there a patch available for the rc.d mouse script?

I don't have a patch that is good enough to warrant a commit at present.
You may want to try the patch attached, but I can not promise that it
will work for every case.

Thanks for your testing!

Cheers,
-- 
Xin LI delphij delphij net  http://www.delphij.net/
Index: jail
===
RCS file: /home/ncvs/src/etc/rc.d/jail,v
retrieving revision 1.21
diff -u -r1.21 jail
--- jail	16 Jan 2005 03:12:03 -	1.21
+++ jail	1 Feb 2005 07:21:57 -
@@ -59,6 +59,14 @@
 	eval jail_procfs=\\$jail_${_j}_procfs_enable\
 	[ -z ${jail_procfs} ]  jail_procfs=NO
 
+	# Default settings for skel jail
+	eval jail_skel_enable=\\$jail_${_j}_skel_enable\
+	[ -z ${jail_skel_enable} ]  jail_skel_enable=NO
+	eval jail_skel_root=\\$jail_${_j}_skel_root\
+	[ -z ${jail_skel_root} ]  jail_skel_root=/
+	eval jail_skel_romounts=\\$jail_${_j}_skel_romounts\
+	[ -z ${jail_skel_romounts} ]  jail_skel_romounts=bin sbin lib libexec usr/bin usr/sbin usr/include usr/lib usr/libdata usr/libexec usr/sbin usr/share
+
 	eval jail_mount=\\$jail_${_j}_mount_enable\
 	[ -z ${jail_mount} ]  jail_mount=NO
 	# /etc/fstab.${_j} will be used for {,u}mount(8) if none is specified.
@@ -81,6 +89,9 @@
 	debug $_j fstab: $jail_fstab
 	debug $_j exec start: $jail_exec_start
 	debug $_j exec stop: $jail_exec_stop
+	debug $_j skel enable: $jail_skel_enable
+	debug $_j skel mount-readonly: $jail_skel_romounts
+	debug $_j skel mount-readonly from: $jail_skel_root
 }
 
 # set_sysctl rc_knob mib msg
@@ -136,6 +147,14 @@
 		[ -f ${jail_fstab} ] || warn ${jail_fstab} does not exist
 		umount -a -F ${jail_fstab} /dev/null 21
 	fi
+	if checkyesno jail_skel_enable; then
+		for _mntpt in $jail_skel_romounts
+		do
+			if [ -d ${jail_rootdir}/${_mntpt} ] ; then
+umount -f ${jail_rootdir}/${_mntpt}  /dev/null 21
+			fi
+		done
+	fi
 }
 
 jail_start()
@@ -155,6 +174,13 @@
 	for _jail in ${jail_list}
 	do
 		init_variables $_jail
+		if checkyesno jail_skel_enable; then
+			info Mounting skeleton for jail ${_jail} from ${jail_skel_root}
+			for _mntpt in $jail_skel_romounts
+			do
+mount_nullfs -ordonly ${jail_skel_root}/${_mntpt} ${jail_rootdir}/${_mntpt}  /dev/null 21
+			done
+		fi
 		if checkyesno jail_mount; then
 			info Mounting fstab for jail ${_jail} (${jail_fstab})
 			if [ ! -f ${jail_fstab} ]; then
Index: moused
===
RCS file: /home/ncvs/src/etc/rc.d/moused,v
retrieving revision 1.9
diff -u -r1.9 moused
--- moused	16 Jan 2005 03:12:03 -	1.9
+++ moused	7 Apr 2005 13:41:45 -
@@ -10,10 +10,16 @@
 
 . /etc/rc.subr
 
+# stdin must be redirected because it might be a serial console
+#
+ttyv=/dev/ttyv0
+
 name=moused
 rcvar=`set_rcvar`
 command=/usr/sbin/${name}
+required_files=${ttyv}
 start_cmd=moused_start
+stop_postcmd=moused_postcmd
 _pidprefix=/var/run/moused
 pidfile=${_pidprefix}.pid
 _pidarg=
@@ -66,10 +72,13 @@
 		;;
 	esac
 
-	for ttyv in /dev/ttyv* ; do
-		vidcontrol  ${ttyv} ${_mousechar_arg} -m on
-	done
+	vidcontrol  ${ttyv} ${_mousechar_arg} -m on
 	echo '.'
 }
 
+moused_postcmd()
+{
+	vidcontrol  ${ttyv} -m off
+}
+
 run_rc_command $*


signature.asc
Description: This is a digitally signed message part


Re: ad* read errors

2005-04-07 Thread Lowell Gilbert
Warren [EMAIL PROTECTED] writes:

 since i updated the ports/src/kernel 2 days ago i have had the followings 
 error splague me .. are these related or am i looking at hdd failure ?
 
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1519103
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=5266559
 ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=5266559
 ad0: FAILURE - READ_DMA timed out
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=15383527
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1484415
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=25769279
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=5126031
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=25089095
 ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=26332807
 ad0: TIMEOUT - READ_DMA retrying (1 retry left) LBA=26332807
 ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=115046303
 ad1: TIMEOUT - READ_DMA retrying (2 retries left) LBA=189786975

It could well be disk failure, but check a couple of simpler things
first.  Number 1, make sure that you have turned on automatic sector
remapping on that disk.  How you do that can vary by disk
manufacturer, but see the FAQ entry on bad block remapping.  Number 2
is to get a new disk cable; cable problems are at least as common as
disk failures in my experience, and it's *really* annoying to replace
a disk and find that the problem wasn't the disk in the first place.

-- 
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: suspending login

2005-04-07 Thread Eric McCoy
Ean Kingston wrote:
If you change the password entry then, when you want
to enable the user again, the user has to enter a new password. This way,
the user keeps his/her old password. Note, the question asked for suspend,
not remove. I read suspend as implying that the account may be used again.
No, you don't replace the password, you just insert an invalid character 
- one which can never be the result of crypt().  That invalid character 
is typically an asterisk.  To unlock the account, you remove the 
asterisk.  It's how pw usermod -L and -U work.

For the OP, it's important to use all three approaches if your victim is 
untrustworthy.  If you change the password but nothing else he can still 
get in via SSH; if you change the shell but nothing else he can still 
get in via FTP (possibly); if you change the home directory but nothing 
else he can still get in via SSH (and mess with /tmp or /var/tmp).  So 
if you are locking out the user to preserve evidence of some misdeed, be 
sure to do all three.

If this is just a real-life buddy who's welching on some money he owes 
you, though, doing only one will probably be sufficient.  (Well, doing 
one and saying things to him like I bought a .45 last week and It 
turns out that if you do enough cocaine most juries won't convict you of 
murder.)

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


Re: Re : Re: [PATCH TO TEST] VESA [1024x768] mode support for FreeBSD-CURRENT

2005-04-07 Thread Xin LI
Hi, Michal,

 2005-04-05 22:07 +0200Michal Mertl
 Didier Wiroth wrote:
  Hello,
  Thank you very much for replying.
  
   cd /usr/src/usr.sbin/vidcontrol
   patch /path/vidcontrol.diff.20050215
  
  I'm using the RELENG_5 sources from today.
 
  The syscons.diff.20050215 works but the vidcontrol.diff.20050215 gives
  some errors.
 
 The diff is against the sources from -CURRENT where it applies and
 compiles cleanly. You should be ok using the current vidcontrol sources
 on -STABLE. The only difference is just some code purity fixes by Xin Li
 - probably in preparation for integrating the changes we speak about.

I went into some problem when using the patch on my own laptop, which
indicates that USB based mouse can play something nasty with the
patchset :-(  It does not affect the functionality seriously, but is
really annoying.  I would appreciate if someone can fix the issue.

Cheers,
-- 
Xin LI delphij delphij net  http://www.delphij.net/


signature.asc
Description: This is a digitally signed message part


Sendmail + No Response from Port 25

2005-04-07 Thread JP
Hey Gang--
 
I need some advice, I am running FreeBSD 5.3 and am having problems getting 
sendmail to be accessable from outside the LAN.  If I am on the LAN and perform 
a telnet 192.168.1.254 25 sendmail responds.  But anywhere outside of the LAN 
I cannot get sendmail to respond.  I can telnet to it just fine remotely as 
well as Ftp.  I am using PPP since I have a PPPoE connection.
 
Any advice?
 
Thanks,
JP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Debug tags in FreeBSD

2005-04-07 Thread O. Hartmann
Dear Sirs.
Sometimes I watch compiling 'world' or 'kernel' and recognize some '-g' 
options while compiling, especially when doing so with a FreeBSD 
5.X-STABLE branch.
Are all pre-releases of FreeBSD due to development and bug tracking 
'tagged' with debugger options and do they go away with a 'RELEASE' (or 
is this simply a stupid rumor that all STABLE versions are still tagged 
to be debugged)?

The reason why I ask is simple. I need my FreeBSD box for scientific 
researches and would like to squeeze out as much power as possible and 
therefor debugging options are meant to slow down code.

I'm not a development thug, so if this question sound stupid, I would 
regret bothering you. Hope someone will answer.

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


Using ppp/tun0 manually, how to trigger 'pf' automaticaly

2005-04-07 Thread O. Hartmann
Hello.
I use the ppp utility to configure and setup a line (at the moment no 
other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf'
after the line has been setup to make pf working with the tun0 assigned IP?

Or are there other way doing so?
Thanks,
Oliver
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Debug tags in FreeBSD

2005-04-07 Thread Erik Trulsson
On Thu, Apr 07, 2005 at 04:07:46PM +0200, O. Hartmann wrote:
 Dear Sirs.
 Sometimes I watch compiling 'world' or 'kernel' and recognize some '-g' 
 options while compiling, especially when doing so with a FreeBSD 
 5.X-STABLE branch.
 Are all pre-releases of FreeBSD due to development and bug tracking 
 'tagged' with debugger options and do they go away with a 'RELEASE' (or 
 is this simply a stupid rumor that all STABLE versions are still tagged 
 to be debugged)?

The default compile options for FreeBSD (including -STABLE, -CURRENT as
well as releases) do not include any debug flags.

 
 The reason why I ask is simple. I need my FreeBSD box for scientific 
 researches and would like to squeeze out as much power as possible and 
 therefor debugging options are meant to slow down code.

Even if you do compile with '-g' it will not slow down the code at all.
The only drawback will be that the extra debug info will take up extra
space on the disk.

 
 I'm not a development thug, so if this question sound stupid, I would 
 regret bothering you. Hope someone will answer.




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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Martin Petraschek
On 07 Apr 2005 09:30:29 -0400, Lowell Gilbert wrote:

Martin Petraschek [EMAIL PROTECTED] writes:

 By default, FreeBSD does not reply to ICMP multicast echo 
requests. For IPv4 this behaviour  can be changed with
 
 sysctl  net.inet.icmp.bmcastecho=0|1
 
 Is there a similar control for IPv6?

No.  That would violate RFC 2463, section 2.4(e.2).
As well as being a bad idea.

The section you are referencing in RFC 2463 is concerning ICMP 
ERROR messages. Echo requests/responses are informational 
messages, therefore this section does not apply.

The same RFC 2463, section 4.2 states:

   An Echo Reply SHOULD be sent in response to an Echo 
   Request message sent to an IPv6 multicast address.  The 
   source address of the reply MUST be a unicast address 
   belonging to the interface on which the multicast Echo Request 
   message was received.

Therefore, the OS _should_ respond to a multicast echo request!

Martin



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


Re: x11 help

2005-04-07 Thread Andreas Rudisch
On Thu, 2005-04-07 at 08:30 -0500, Dennis Olvany wrote:
 I'm attempting to run the Doom 3 Linux binary on FreeBSD 5.3. I really have 
 no idea how to get x11/Doom 3 started. I've tested my x11 configuration with 
 [Xorg -config xorg.conf.new] and it seems to work well. I'm sure Doom 3 
 expects x11 to already be running in the form of KDE or Gnome, but I would 
 like to run Doom 3 directly from the command line. I have no idea how to get 
 x11 started and then launch Doom 3.

Make sure you have a nvidia graphiccard. install the nvidia drivers from
the ports. fetch the linux installer for Doom3:

ftp://ftp.idsoftware.com/idstuff/doom3/linux/doom3-linux-1.1.1286.x86.run

Install Doom3 and play.

Have fun,
 Andreas

-- 
GnuPG key  : 0xD25FCC81  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: D182 6F22 7EEC DD4C 0F6E  564C 691B 0372 D25F CC81





signature.asc
Description: This is a digitally signed message part


Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Christopher Lane
Hi,
I've installed FreeBSD 5.3 using the minimum install option, and would 
like to immediately install the ports collection.  What I've done in the 
past is sysinstall via ftp and then CVSup to update.  Is that insane? 
Can I just CVSup and forget about the sysinstall?  Is one method quicker 
than the other?  Maybe there's a better method altogether...

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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Lowell Gilbert
Martin Petraschek [EMAIL PROTECTED] writes:

 The section you are referencing in RFC 2463 is concerning ICMP 
 ERROR messages. Echo requests/responses are informational 
 messages, therefore this section does not apply.

Ah.  You're right; I was thinking about error handling because that's
the code I happened to be working with this morning.  I was looking at
the error handling code, as well, so when I said it was impossible I
may have been wrong also.  [The ICMP6_ECHO_REQUEST handling in
icmp6_input() doesn't do any special handling for multicast at all, so
I don't see why it doesn't Just Work.]

Sorry for not paying enough attention to the question.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using ppp/tun0 manually, how to trigger 'pf' automaticaly

2005-04-07 Thread Daniel Hartmeier
On Thu, Apr 07, 2005 at 04:11:12PM +0200, O. Hartmann wrote:

 I use the ppp utility to configure and setup a line (at the moment no 
 other way possible). How can I trigger 'pfctl -F all -f /etc/pf.conf'
 after the line has been setup to make pf working with the tun0 assigned IP?
 
 Or are there other way doing so?

You can use 'from (tun0)', where the interface name is put in
parentheses, and pf will automatically note when that interface changes
its IP address, without the need to reload the ruleset.

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


puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter

2005-04-07 Thread David Taylor
Hi,

I've got an amd64 box with 1 built-in parallel port, which works fine.

I also bought an add-on parallel port adapter card (a MosChip
SemiConductors Nm9805 chip).  After discovering puc, I enabled
device puc and the card is now detected by puc, but doesn't
appear to be picked up by the ppc driver.

I'm running -STABLE from about 24 hours ago.

In dmesg:
puc0: NetMos NM9805 1284 Printer port port
0xd000-0xd00f,0xd400-0xd407,0xd800-0xd807,
0xdc00-0xdc07,0xe000-0xe007,0xe400-0xe407
irq 19 at device 8.0 on pci0
puc: name: NetMos NM9805 1284 Printer port
puc0: Reserved 0x8 bytes for rid 0x10 type 4
at 0xe400 port rid 16 bst 0, start e400, end e407
puc: Using ppc0
puc: type 2, bar 10, offset 0

In pciconf -lv:
[EMAIL PROTECTED]:8:0:  class=0x078000 card=0x00101000
chip=0x98059710 rev=0x01 hdr=0x00
vendor   = 'MosChip Semiconductors (Was: Netmos Technology)'
device   = 'Nm9805 Parallel Port Adapter'
class= simple comms

However, despite the 'using ppc0' line, ppc0 is never mentioned again.

The on-board parallel port is allocated to ppc1:
ppc1: ECP parallel printer port
port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc1: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc1: FIFO with 16/16/9 bytes threshold
ppbus0: Parallel port bus on ppc1
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: HEWLETT-PACKARD DESKJET 610C MLC,PCL,PML
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port

However, ppc doesnt appear to exist:
# sysctl dev.ppc.0
sysctl: unknown oid 'dev.ppc.0'

Since the card is detected, and the puc driver claims to be 'using ppc0',
I'm not really sure what to try now.  Any one have any ideas?

P.S. Please CC me on any replies, as I am not subscribed to this list.

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


Re: puc, ppc and MosChip SemiConductors Nm9805 Parallel Port Adapter

2005-04-07 Thread David Taylor
On Thu, 07 Apr 2005, David Taylor wrote:

Oops, sorry for the double post.  I couldn't find the previous one
on the archives, and thought it had got lost due to the DNS problems.
Apparantly it was just delayed though.

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


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Nick Pavlica
Chris,
  I alway install the ports that I want during my initial installation
so I'm not sure what the best post installation method is.  I would
venture to say that cvsup would be you best bet.

--Nick



On Apr 7, 2005 8:22 AM, Christopher Lane [EMAIL PROTECTED] wrote:
 Hi,
 
 I've installed FreeBSD 5.3 using the minimum install option, and would
 like to immediately install the ports collection.  What I've done in the
 past is sysinstall via ftp and then CVSup to update.  Is that insane?
 Can I just CVSup and forget about the sysinstall?  Is one method quicker
 than the other?  Maybe there's a better method altogether...
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Christopher Lane
Nick Pavlica wrote:
Chris,
  I alway install the ports that I want during my initial installation
so I'm not sure what the best post installation method is.  I would
venture to say that cvsup would be you best bet.
--Nick
My goal is to have the latest ports, regardless of which ones I actually
want to install.  I guess my question is more can I CVSup without first
installing the ports collection, and if I do so, does that save time or
take longer?
- Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: more problems with 5.3 and TIMEOUT - WRITE_DMA [SOLOTION]

2005-04-07 Thread Mike Daemon
On Mar 27, 2005 11:47 PM, Mike Daemon [EMAIL PROTECTED] wrote:
 On Sun, 27 Mar 2005 13:32:43 -0800, Thomas Foster [EMAIL PROTECTED] wrote:
  I had this same issue
 
 I´ll have seen some more posts on the list with about the same problem
 therefore, I hope some bright one will take alook at the code.. and
 post something smart.. I´m very much stuck, hopeing any new snapshot
 will work..
 
  on an older AMD Nforce board.  5.2.1 seemed to install
  and run.. but moving to 5.3 gave me issues.  I tinkered with the DMA
  settings in the BIOS.. to no avail.  The Geometry seemed to be off on the
  drive I noticed (IBM deskstar) when I newfs'd it.. so I changed out drives..
  but never got it working..  I eventually just dropped Gentoo on it.
 
  What chipset, drive controller hard drive are you using on this system?
 
 http://www.freebsd.org/cgi/man.cgi?query=atasektion=4manpath=FreeBSD+5.3-RELEASE
 
 I´ll notised that my idecontroller IS supported by the ata-driver,
 witch makes it even stranger.. (I think I will check on my cabling
 once more, even if it´s a newly installed _rounded_ 32 pin cable..)
 
 My atacontroller: SiS 5513
 My HDD: Seagate 200 GB
 
 
 
  T
 
  - Original Message -
  From: Mike Daemon [EMAIL PROTECTED]
  To: FreeBSD Questions freebsd-questions@freebsd.org
  Sent: Sunday, March 27, 2005 1:15 PM
  Subject: more problems with 5.3 and TIMEOUT - WRITE_DMA
 
  I got this annoying problem when upgradeing to 5.3, the miniinst iso
  blurps out TIMEOUT - WRITE_DMA when it starts writing base to my
  disk. And when I tried to first install 5.2.1 and upgrade (cvsup, make
  buildworld etc.. ) to 5.3 that way everything seems fine until I
  reboot to single-user-mode, as soon as Im starting to write anything
  to the disk it´s blurping out those errors.. I have diagnosticed my
  disk, checked my cabling and fixed my PSU (installed a brand new one).
  No difference. I noticed that my ide-controller was supported in 4.11,
  but not? in 5.3, is that realy true? seems very strange...
 
  Sence I duel boot with Wintendo/Lunix and don´t see this problem with
  those oses I´m very confused of what to do next..
 
  I´ll tried some snapshots to but no luck...
 
  / Mike
 
  ps My dmesg goes in the attachment, in hope for a patch/solution to
  this problem. ds
 
  
 
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
  
 

I (with a little help from a good friend ) figured out an solution to
the problem, in switching my brand new ata133 ide-cable to an old
school ata33 ide-cable FreeBSD sets my drives to UDMA3 and boots up
alright..

key commands here:

atacontrol list
and
atacontrol mode channel number

( my buddy had come across some message telling about how SiS had
created an new SiS 5513 chipset with the same tag.. unfortunal he
didn't remember where that message were. But it would make sense why
FreeBSD tryies  to use UDMA5 on my UDMA3 only atachipset.. )
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Lost depend?

2005-04-07 Thread Tarc

/usr/ports/www/oops make
===   oops-1.5.24_1 depends on executable: gawk - found
===   oops-1.5.24_1 depends on file: /usr/local/bin/autoconf259 - found
===   oops-1.5.24_1 depends on shared library: gigabase_r.2 - found
===  Configuring for oops-1.5.24_1
/usr/local/bin/autoheader259: not found
*** Error code 127

Stop in /usr/ports/www/oops.
*** Error code 1

Stop in /usr/ports/www/oops.

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


Re: New user questions :)

2005-04-07 Thread Nick Pavlica
On Apr 7, 2005 2:58 AM, Graham Bentley [EMAIL PROTECTED] wrote:
 
  Graham Bentley [EMAIL PROTECTED] wrote:
  I also wondered if there is a project based on FreeBSD that
  achieves similar goals to SME Server (ie all in one LAN server
  with Web config) or similar to Trustix (ie minimal config with
  series of scripts to configure server services.
 
  Not that I know of, but it sure would be a nice project, huh?
 
  definitely a nice one.
 
  hmm...what would be the best way to go about it?
   - add an option to sysinstall SME (well, whatever that would be named
  of course)
   - add a port that 'depends' / installs all the other ports needed
  - with questions and answer to start setting up your system...or
  some kind of UI for it (ugh)
   - same as with ports, but prec-compiled packages.
 
  hmm...must download SME to test and see how they went about it.
 
 Hi Guys, Iw as wondering how I would even go about starting a project
 like this using FreeBSD as I know even less than I do about Linux (not
 much) but I really rate SME and would love to see a FreeBSD version as
 FreeBSD seems even more suited to this type of thing (ie a stable distro
 to base a good project on:)
 
 Did you get round to checking out SME ?
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Graham,
  After taking a quick look at SME I can see it's appeal.  I'm not
sure if there is an equivalent for FreeBSD, but it would be a nice
addition.  Webmin does allot of this functionality as well if you
haven't taken a look at that.  To start a project like SME all you
need to do is start hacking, and provide a web based community for it
so that others are aware of it and possibly start helping out. 
Because they are both *nix based operating systems you may be able to
start by porting the web manager from SME to FreeBSD 5.4 +.

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


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Nick Pavlica
On Apr 7, 2005 9:12 AM, Christopher Lane [EMAIL PROTECTED] wrote:
 Nick Pavlica wrote:
  Chris,
I alway install the ports that I want during my initial installation
  so I'm not sure what the best post installation method is.  I would
  venture to say that cvsup would be you best bet.
 
  --Nick
 
 
 My goal is to have the latest ports, regardless of which ones I actually
 want to install.  I guess my question is more can I CVSup without first
 installing the ports collection, and if I do so, does that save time or
 take longer?
 
 - Chris


Using cvsup is the way to go for getting the latest ports.  I believe
that you can use cvsup without installing the ports collection from
cd.  I would suggest configuring the ports-supfile and running cvsup
(cvsup -g -L 2 ports-supfile).  You should also update your base with
cvsup and make buildworld as described in the handbook.

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


[OT] is there a ThinkPad clone?

2005-04-07 Thread Gary Kline
People,

Apologies up front if anybody thinks this is *too* far OT,
but if the 8 months I've been using FreeBSD on my TP 600E
(400MHz, 288M, 12G). it has become my favorite computer.
__Not__ having that std mouse-pad thing where you scratch
or drag or tap your fingers lets me rest the heel of my left
hand dead-center and type away.  The tiny mouse-stick and the
three cut/paste bars work well too.  

When I upgrade, I'd like another laptop with the same 
layout.  The few other laptops I've looked at all have 
that mouse-pad.  Anybody know if there is anything like
a ThinkPad clone??

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: IPv6 ICMP multicast response

2005-04-07 Thread Martin Petraschek
On 07 Apr 2005 10:29:07 -0400, Lowell Gilbert wrote:

Martin Petraschek [EMAIL PROTECTED] writes:

 The section you are referencing in RFC 2463 is concerning ICMP 
 ERROR messages. Echo requests/responses are informational 
 messages, therefore this section does not apply.

Ah.  You're right; I was thinking about error handling because that's
the code I happened to be working with this morning.  I was looking at
the error handling code, as well, so when I said it was impossible I
may have been wrong also.  [The ICMP6_ECHO_REQUEST handling in
icmp6_input() doesn't do any special handling for multicast at all, so
I don't see why it doesn't Just Work.]

Sorry for not paying enough attention to the question.

No problem.

Anyway, because of your reply I double checked my setup and found out 
that FreeBSD does indeed answer to multicast ping requests. There just 
does not seem to be a sysctl switch to turn off this behaviour (as there is for 
IPv4).

Thank you,

Martin



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


RE: [OT] is there a ThinkPad clone?

2005-04-07 Thread Andrew Heyn


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gary Kline
Sent: Thursday, April 07, 2005 9:01 AM
To: FreeBSD Mailing List
Subject: [OT] is there a ThinkPad clone?


People,

Apologies up front if anybody thinks this is *too* far OT,
but if the 8 months I've been using FreeBSD on my TP 600E
(400MHz, 288M, 12G). it has become my favorite computer.
__Not__ having that std mouse-pad thing where you scratch
or drag or tap your fingers lets me rest the heel of my left
hand dead-center and type away.  The tiny mouse-stick and the
three cut/paste bars work well too.

When I upgrade, I'd like another laptop with the same
layout.  The few other laptops I've looked at all have
that mouse-pad.  Anybody know if there is anything like
a ThinkPad clone??

gary


--
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service
Unix


---

Gary,

Your typing habits disturb me greatly.
Please consider this document:
http://www3.gov.ab.ca/hre/whs/publications/pdf/erg029.pdf
Save yourself!


Thanks,
Andrew

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


ipfw + pipe and icmp

2005-04-07 Thread aksis
Hi,

I want to allow *all* icmp traffic on the firewall, but I don't want 
*incoming* traffic to be able to over whelm my connection, so I am going to 
use ipfw pipe.

I just wanted to double check and make sure what I am going to do will work 
the way I think it will:

... snip ...
cmd=ipfw add
oif=tun0
skip=skipto 6
ks=keep-state

#  ping -s 56 -c 10 
# 56 translates into 64 ICMP data bytes when combined with 
# the 8 bytes of ICMP header data, thus for the pipe:
ipfw pipe 1 config bw 640bits/s -- will this and queue need a rule number?
$cmd add queue 1 icmp from any to any in via $oif $ks --  rule number? 
... snip ...
$cmd 100 divert natd ip from any to any in via $pif
$cmd 101 check-state
... snip ...
$cmd 200 add queue 1 icmp from any to any in via $oif $ks
$cmd 201 $skip icmp from any to any out via $pif $ks
$cmd 202 $skip add allow log icmp from any to any $ks
... snip ...
$cmd 5 deny all from any to any
$cmd 6 divert natd ip from any to any out via $pif
$cmd 60010 allow ip from any to any
... snip ...

I belive this will limit all incoming icmp traffic to 640bits/s but not any 
outgoing, or, replys to outgoing thus making icmp flooding imposable. Please 
correct me if I am wrong, (did i form the rules correctly?), or if I should 
go about this another way.

Also, how much bandwidth does a single default sized ping packet consume? 
Should I raise or lower the limit, (I don't want the replies to be false or 
give to much slack)? This is a part that I'm not clear on at all. I don't 
belive more then 10 pings should be considered.

Also, if I start using rules with pipes, will I need to rewrite all the rules 
to use pipes or will only the rules with pipes be limited and everything else 
will operate on default?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Freebsd Foundation and Java Binary Support/Licenses

2005-04-07 Thread Jeff Mohney
Hello.
I have two questions:

1. When will the freebsdfoundation site be up and running again, it
appears that the sub-pages are still not avail and the website says:
snip
 March 11, 2005 - www.FreeBSDFoundation.org temporarily unavailable
due to hardware failure.
Due to a hardware failure, the FreeBSD Foundation web site is
temporarily unavailable. The full site will be restored within a few
days.
/snip

2. My understanding is that jdk/jre support in 5.x is only available
via linux emulation and or linux emulation to get a build to get to a
FBSD binary version - ick.

If I understood correctly 4.x has the binary version w/out all the
downloading from sun and what not.  I heard at one point that the
Foundation was renegotiating w/ sun so that 5.x could have the same -
Is there any news on this? (I would check the foundation site for it
but it is down as previously mentioned).

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


Re: sending mail between local computers

2005-04-07 Thread Xian
On Thursday 07 April 2005 02:19, Chris Hill wrote:
 On Thu, 7 Apr 2005, Xian wrote:
  I have two FreeBSD boxes running sendmail, how would make it so mail
  can be sent from one box to the other?

 Assuming they are both on your local network, as suggested in the
 subject... You shouldn't have to do anything with sendmail. Just
 configure the machines so each hostnames resolves, from the perspective
 of the other machine. You could either create an /etc/hosts file on each
 machine, or run DNS locally. Probably other ways as well. Let's say that
 their hostnames are foo and bar - make it so that from foo you can 'ping
 bar', and vice versa.

 Once that works, you ought to be able to log in to foo and send mail via
 your favorite MUA to '[EMAIL PROTECTED]' - note, that's just bar, not bar.com 
 or
 anything. Likewise you ought to be able to log in to bar and send mail
 via your favorite MUA to '[EMAIL PROTECTED]'. Assuming the user exists on both
 machines, of course.

 I'm doing something like this with my internal mail at home, and it
 works fine.

  http://www.clanger9.org.uk/computer/explain.html

 Cute.

 --
 Chris Hill   [EMAIL PROTECTED]
 ** [ Busy Expunging | ]

That's exactly what I'm doing except the hosts are named hercules and pandora. 
A little exploring and I find that hercules can't telnet to pandora port 25 
and the other way too. This looks like the mail Sendmail + No Response from 
Port 25 I just spotted on the list.

-- 

/Xian

Windows has detected that your mouse has moved. Reboot now for changes to 
take effect?
Unknown Author
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.3 and 5.4RC1 both fail with CD upon installation(5.1 did not)

2005-04-07 Thread Kris Kennaway
On Thu, Apr 07, 2005 at 08:32:37AM -0500, Joshua Kampmeier wrote:
 Here is the error I get when booting with(any) of the 5.3/5.4 discs:
 
 acd0: CDRW QSI CD-RW/DVD-ROM SBW-241/VX08 at ata1-master UDMA33
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x00 ascq=0x00 error=0
 
 then it starts sysinstall except when I try to start the installation it 
 fails at mounting the CD-ROM. I can install in safe mode.. but then any time 
 there is a cd in the drive upon boot-up.. i get errors again.

I think this is due to using DMA for ATAPI (i.e. accessing the CDROM),
which many drives do not support properly.  This was recently
disabled, so the next RC should work.  If not, send mail to stable@
instead of questions@

Kris


pgpJN84XO0aX6.pgp
Description: PGP signature


Re: automount usb flash drive?

2005-04-07 Thread Todd Shirk
Seems like the only thing that will work for me is to make a one-line
shell script.  I tried the various things you mentioned.  I have yet
to look at how to use amd(8).  Setting vfs.usermount=1 and changing
the ownership to the user name in question allows me to mount the
usbkey without su'ing.  I still can't get the usbd.conf to run an
attach command on the umass* action.  Thanks for your help.

On Apr 6, 2005 4:01 PM, Roland Smith [EMAIL PROTECTED] wrote:
 On Wed, Apr 06, 2005 at 03:32:14PM -0400, Todd Shirk wrote:
  I was trying to figure out how to have a usb flash drive automount
  when I plug it in.  I currently have the following line in /etc/fstab
 
  /dev/da0s1  /mnt/usbkey  msdos  rw,-m700,noauto  0  0
 
  and the following in /etc/devfs.conf
 
  perm  da0s1  0666
 
 devfs.conf only works for devices available at boot time. For devices
 you can plug in at runtime you should use /etc/devfs.rules:
 
 [foobar=10]
 add path 'da*s*' mode 0666
 
 And you should have the following in /etc/rc.conf:
 
 devfs_system_ruleset=foobar
 
 The contents of devfs.rules are fed to devfs(8), so see it's manual page.
 
  when I do the following command line command the usb flash drive mount fine
 
  # mount /mnt/usbkey
 
  But, when I'm in KDE viewing media:/  Removable Device (da0s1) is
  shown is unmounted.
 
  At the user level command line and in KDE, I receive /dev/da0s1:
  Operation not permitted.
 
 For a user to be able to use a filesystem, there are a couple of things
 that need to be done:
 - The sysctl variable vfs.usermount must be set to 1 (in /etc/sysctl.conf).
 - The user in question must own the mount point.
 
  I'm not sure if part of the issue is permissions or if I'm missing a
  piece for the auto-mounting to happen.
 
 I think the latter. Normally usbd(8) is notified of USB events, but in
 this case it seems to get events for the umass* device, not the da*s*
 device that you'll want to use. There have been people who've used a
 shell-script called by usbd to figure out the connection between
 umass-da from dmesg output and then mount the filesystem, but that
 doesn't do umounts. It's also complicated if you want it to work for
 multiple users, unless you give it 777 permissions. You could also give
 amd(8) a try.
 
 I found that making a one-line shell script to do the mounting is much
 less hassle.
 
 Roland
 --
 R.F. Smith   /\ASCII Ribbon Campaign
 r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
 http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
 public key: http://www.keyserver.net / \Respect for open standards
 
 

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


Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \Maverick\ Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I want to keep my ports up to date. in 5.3-release (i386)

So I copied a sample ports-supfile and edit as follows (just changed
my host)

However I got this message and I cannot figure out what Release
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as cvs.


su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile ports-supfile
Release not specified for collection host=cvsup.jp.FreeBSD.org

What am I doing wrong?

Thanks in advance!!

- -my ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
06:23:15 cjc Exp $
#
# This file contains all of the CVSup collections that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
host=cvsup.jp.FreeBSD.org
#   This specifies the server host which will supply the
#   file updates.  You must change it to one of the CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's -h host option.
#
base=/var/db
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of /var/db will generate this information in
#   /var/db/sup.  Even if you are CVSupping a large number of
#   collections, you will be hard pressed to generate more
than
#   ~1MB of data in this directory.  You can override the
#   base setting on the command line with cvsup's -b base
#   option.  This directory must exist in order to run CVSup.
#
prefix=/usr
#   This specifies where to place the requested files.  A
#   setting of /usr will place all of the files requested
#   in /usr/ports (e.g., /usr/ports/devel,
/usr/ports/lang).
#   The prefix directory must exist in order to run CVSup.

# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

src-all

# If you seem to be limited by CPU rather than network or disk
bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast
enough
# that you want to run compression.)
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the ports-all
# mega-collection.  It includes all of the individual ports-*
# collections,
ports-all
#(after this, all are commented out)
- -

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
+bVZ1ipsSH1h+/yD0haAp7Q=
=Xsbt
-END PGP SIGNATURE-


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


Issue compiling JDK15

2005-04-07 Thread Todd Shirk
Hi,

I've been attempting to compile JDK15 on my AMD64 laptop.  I have
linux redhat 8 installed for linux compatibility and the
linux-sun-jdk1.4.2 installed so that the /usr/ports/java/jdk15 would
use the appropriate javac compiler to compile JDK15 natively.  I reach
a point where I receive the following message.

execv(): Bad address
Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac.
Check if file exists and permissions are set correctly.
gmake[3]: *** [.compile.classlist] Error 1
gmake[3]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1] *** [all] Error 1
gmake[1]: Leaving directory '/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.

I've checked and /usr/local/linux-sun-jdk1.4.2/bin/javac exists and
permissions appear adequate.  For giggles I chmod 777 on the file with
the same results.  Any thoughts?

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


Re: Sysinstall + CVSup or just CVSup?

2005-04-07 Thread Lowell Gilbert
Christopher Lane [EMAIL PROTECTED] writes:

 My goal is to have the latest ports, regardless of which ones I actually
 want to install.  I guess my question is more can I CVSup without first
 installing the ports collection, and if I do so, does that save time or
 take longer?

The short answer is that you can do it, and it will probably cost you
some time.  The slightly longer answer is that how much time you save
(by downloading the ports tree before doing a cvsup on it) depends on
a number of factors, most notably your network bandwidth.  There also
are a few possible gotchas to keep in mind if you adopt an
existing tree this way: see the CVSUP FAQ at
http://www.cvsup.org/faq.html
and particularly the questions in the Recipes section.

-- 
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: Cannot use cvsup with 5.3-release

2005-04-07 Thread Todd Shirk
I ran into a problem like that when I did an upgrade to 5.4-prelease. 
I found for me, that for port updates it seems to look at your release
level in your options.  I went into root and ran sysinstall.  I
selected Options.  At the bottom of the left hand column is the option
Release Name.  I changed it to 5.3-RELEASE.  I'd probably check there,
another thing I'll do is try a couple other cvsup sites.

On Apr 7, 2005 1:58 PM, Tetsuji Maverick Rai [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I want to keep my ports up to date. in 5.3-release (i386)
 
 So I copied a sample ports-supfile and edit as follows (just changed
 my host)
 
 However I got this message and I cannot figure out what Release
 means.   In
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
 Release is defined as cvs.
 
 
 su-3.00# cvsup -g -L 2  ports-suprile
 Parsing supfile ports-supfile
 Release not specified for collection host=cvsup.jp.FreeBSD.org
 
 What am I doing wrong?
 
 Thanks in advance!!
 
 - -my ports-supfile
 # $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
 06:23:15 cjc Exp $
 #
 # This file contains all of the CVSup collections that make up the
 # FreeBSD-current ports collection.
 #
 # CVSup (CVS Update Protocol) allows you to download the latest CVS
 # tree (or any branch of development therefrom) to your system easily
 # and efficiently (far more so than with sup, which CVSup is aimed
 # at replacing).  If you're running CVSup interactively, and are
 # currently using an X display server, you should run CVSup as follows
 # to keep your CVS tree up-to-date:
 #
 #   cvsup ports-supfile
 #
 # If not running X, or invoking cvsup from a non-interactive script, then
 # run it as follows:
 #
 #   cvsup -g -L 2 ports-supfile
 #
 # You may wish to change some of the settings in this file to better
 # suit your system:
 #
 host=cvsup.jp.FreeBSD.org
 #   This specifies the server host which will supply the
 #   file updates.  You must change it to one of the CVSup
 #   mirror sites listed in the FreeBSD Handbook at
 #   http://www.freebsd.org/doc/handbook/mirrors.html.
 #   You can override this setting on the command line
 #   with cvsup's -h host option.
 #
 base=/var/db
 #   This specifies the root where CVSup will store
 information
 #   about the collections you have transferred to your
 system.
 #   A setting of /var/db will generate this information in
 #   /var/db/sup.  Even if you are CVSupping a large number of
 #   collections, you will be hard pressed to generate more
 than
 #   ~1MB of data in this directory.  You can override the
 #   base setting on the command line with cvsup's -b base
 #   option.  This directory must exist in order to run CVSup.
 #
 prefix=/usr
 #   This specifies where to place the requested files.  A
 #   setting of /usr will place all of the files requested
 #   in /usr/ports (e.g., /usr/ports/devel,
 /usr/ports/lang).
 #   The prefix directory must exist in order to run CVSup.
 
 # Defaults that apply to all the collections
 #
 # IMPORTANT: Change the next line to use one of the CVSup mirror sites
 # listed at http://www.freebsd.org/doc/handbook/mirrors.html.
 *default host=cvsup.jp.FreeBSD.org
 *default base=/var/db
 *default prefix=/usr
 *default release=cvs tag=.
 *default delete use-rel-suffix
 
 src-all
 
 # If you seem to be limited by CPU rather than network or disk
 bandwidth, try
 # commenting out the following line.  (Normally, today's CPUs are fast
 enough
 # that you want to run compression.)
 *default compress
 
 ## Ports Collection.
 #
 # The easiest way to get the ports tree is to use the ports-all
 # mega-collection.  It includes all of the individual ports-*
 # collections,
 ports-all
 #(after this, all are commented out)
 - -
 
 - --
 Tetsuji 'Maverick' Rai
 PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
 gpg fingerprint
 Aviation Jokes: http://www.geocities.com/tetsuji_rai/
 Profile http://maverick.ns1.name/
 http://maverick.IsASecret.com/
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.5 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
 +bVZ1ipsSH1h+/yD0haAp7Q=
 =Xsbt
 -END PGP SIGNATURE-
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what Release
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as cvs.

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile ports-supfile
Release not specified for collection host=cvsup.jp.FreeBSD.org

What am I doing wrong?
Thanks in advance!!
- -my ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.32 2004/05/24
06:23:15 cjc Exp $
#
# This file contains all of the CVSup collections that make up the
# FreeBSD-current ports collection.
#
# CVSup (CVS Update Protocol) allows you to download the latest CVS
# tree (or any branch of development therefrom) to your system easily
# and efficiently (far more so than with sup, which CVSup is aimed
# at replacing).  If you're running CVSup interactively, and are
# currently using an X display server, you should run CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup ports-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 ports-supfile
#
# You may wish to change some of the settings in this file to better
# suit your system:
#
host=cvsup.jp.FreeBSD.org
#   This specifies the server host which will supply the
#   file updates.  You must change it to one of the CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's -h host option.
#
base=/var/db
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of /var/db will generate this information in
#   /var/db/sup.  Even if you are CVSupping a large number of
#   collections, you will be hard pressed to generate more
than
#   ~1MB of data in this directory.  You can override the
#   base setting on the command line with cvsup's -b base
#   option.  This directory must exist in order to run CVSup.
#
prefix=/usr
#   This specifies where to place the requested files.  A
#   setting of /usr will place all of the files requested
#   in /usr/ports (e.g., /usr/ports/devel,
/usr/ports/lang).
#   The prefix directory must exist in order to run CVSup.
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
# If you seem to be limited by CPU rather than network or disk
bandwidth, try
# commenting out the following line.  (Normally, today's CPUs are fast
enough
# that you want to run compression.)
*default compress
## Ports Collection.
#
# The easiest way to get the ports tree is to use the ports-all
# mega-collection.  It includes all of the individual ports-*
# collections,
ports-all
#(after this, all are commented out)
- -
- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCVXTO9NrwTveEO4URAuEXAJ9t41/Ffs17D29HGXOiuk+1W9sXIgCeJQ9a
+bVZ1ipsSH1h+/yD0haAp7Q=
=Xsbt
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Best regards,
Chris
Anything good in life is either illegal, immoral
or fattening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what Release
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as cvs.

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile ports-supfile
Release not specified for collection host=cvsup.jp.FreeBSD.org

What am I doing wrong?
Thanks in advance!!
Sorry about that last one. Anyways, your ports-supfile should have nothing 
more then this:

*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Chris wrote:
On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just changed
my host)
However I got this message and I cannot figure out what Release
means.   In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS
Release is defined as cvs.

su-3.00# cvsup -g -L 2  ports-suprile
Parsing supfile ports-supfile
Release not specified for collection host=cvsup.jp.FreeBSD.org

What am I doing wrong?
Thanks in advance!!
Sorry about that last one. Anyways, your ports-supfile should have nothing 
more then this:

*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Sorry again - properly formated...
*default host=cvsup3.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete
use-rel-suffix
ports-all

Best regards,
Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How can I log every login via telnet?

2005-04-07 Thread Anthony Atkielski
Is there a way to log every login via telnet?

-- 
Anthony


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \Maverick\ Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris wrote:

 On Thu, 7 Apr 2005, Chris wrote:

 On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:

 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1


 I want to keep my ports up to date. in 5.3-release (i386)

 So I copied a sample ports-supfile and edit as follows (just
 changed my host)

 However I got this message and I cannot figure out what
 Release means. In

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS


 Release is defined as cvs.

  su-3.00# cvsup -g -L 2 ports-suprile Parsing supfile
 ports-supfile Release not specified for collection
 host=cvsup.jp.FreeBSD.org  What am I doing wrong?

 Thanks in advance!!


 Sorry about that last one. Anyways, your ports-supfile should
 have nothing more then this:

 *default host=cvsup3.FreeBSD.org *default base=/var/db *default
 prefix=/usr *default release=cvs tag=. *default delete
 use-rel-suffix ports-all

 I seen you had something that relates to src. Take that out.


 Best regards, Chris

 To know yourself is the ultimate form of aggression.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to
 [EMAIL PROTECTED]


 Sorry again - properly formated...

 *default host=cvsup3.FreeBSD.org *default base=/var/db *default
 prefix=/usr *default release=cvs tag=. *default delete
 use-rel-suffix ports-all




 Best regards, Chris

 To know yourself is the ultimate form of aggression.

I removed src-all but getting the same error message Release not
specified for collectionI seem not to have specified release.
But in this ports-supfile, release is set to cvswhat's wrong?

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVX/x9NrwTveEO4URAgFYAJ9W6GjImjenhZnJZdcUScgTSNlv3QCbB2IW
9WRgAULy/DdZS03ohYgfYsk=
=ytsW
-END PGP SIGNATURE-


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris wrote:
On Thu, 7 Apr 2005, Chris wrote:
On Fri, 8 Apr 2005, Tetsuji Maverick Rai wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1
I want to keep my ports up to date. in 5.3-release (i386)
So I copied a sample ports-supfile and edit as follows (just
changed my host)
However I got this message and I cannot figure out what
Release means. In
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html#CVSUP-CONFIG-VERS

Release is defined as cvs.
 su-3.00# cvsup -g -L 2 ports-suprile Parsing supfile
ports-supfile Release not specified for collection
host=cvsup.jp.FreeBSD.org  What am I doing wrong?
Thanks in advance!!

Sorry about that last one. Anyways, your ports-supfile should
have nothing more then this:
*default host=cvsup3.FreeBSD.org *default base=/var/db *default
prefix=/usr *default release=cvs tag=. *default delete
use-rel-suffix ports-all
I seen you had something that relates to src. Take that out.
Best regards, Chris
To know yourself is the ultimate form of aggression.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
unsubscribe, send any mail to
[EMAIL PROTECTED]
Sorry again - properly formated...
*default host=cvsup3.FreeBSD.org *default base=/var/db *default
prefix=/usr *default release=cvs tag=. *default delete
use-rel-suffix ports-all

Best regards, Chris
To know yourself is the ultimate form of aggression.
I removed src-all but getting the same error message Release not
specified for collectionI seem not to have specified release.
But in this ports-supfile, release is set to cvswhat's wrong?
- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFCVX/x9NrwTveEO4URAgFYAJ9W6GjImjenhZnJZdcUScgTSNlv3QCbB2IW
9WRgAULy/DdZS03ohYgfYsk=
=ytsW
-END PGP SIGNATURE-

Does it say:
release=cvs tag=.
Read mine again, ensure it's verbatim.
Best regards,
Chris
If an item is advertised as under $50, you can bet
it's not $19.95.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tom Trelvik
Tetsuji Maverick Rai wrote:
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
	I don't think you want tag=. as the default.  That would put you the 
most current sources for the OS, which may have plenty of transient 
issues you don't want to have to deal with.

	I use the following supfile regularly.  You can see that I set the 
default tag to RELENG_5_3 which is basically the original release of 5.3 
plus security updates 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html). 
 I do that because these are servers that I try to keep as stable as 
possible.  For a personal system, you may prefer to use RELENG_5 to get 
something more up to date, without being the bleeding edge of CVS 
updates.  You can also see that I specify a different tag to grab for 
ports, so that I can get the updates on them.

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
Good luck,
Tom
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: suspending login

2005-04-07 Thread Ean Kingston

 Ean Kingston wrote:
 If you change the password entry then, when you want
 to enable the user again, the user has to enter a new password. This
 way,
 the user keeps his/her old password. Note, the question asked for
 suspend,
 not remove. I read suspend as implying that the account may be used
 again.

 No, you don't replace the password, you just insert an invalid character
 - one which can never be the result of crypt().  That invalid character
 is typically an asterisk.  To unlock the account, you remove the
 asterisk.  It's how pw usermod -L and -U work.

I hadn't considered that. I will be doing that from now on. Thanks.

 For the OP, it's important to use all three approaches if your victim is
 untrustworthy.  If you change the password but nothing else he can still
 get in via SSH; if you change the shell but nothing else he can still
 get in via FTP (possibly); if you change the home directory but nothing
 else he can still get in via SSH (and mess with /tmp or /var/tmp).  So
 if you are locking out the user to preserve evidence of some misdeed, be
 sure to do all three.

 If this is just a real-life buddy who's welching on some money he owes
 you, though, doing only one will probably be sufficient.  (Well, doing
 one and saying things to him like I bought a .45 last week and It
 turns out that if you do enough cocaine most juries won't convict you of
 murder.)

I hadn't thought of that either.

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \Maverick\ Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tom Trelvik wrote:

 Tetsuji Maverick Rai wrote:

 *default host=cvsup.jp.FreeBSD.org *default base=/var/db *default
 prefix=/usr *default release=cvs tag=. *default delete
 use-rel-suffix

 src-all


 I don't think you want tag=. as the default.  That would put you
 the most current sources for the OS, which may have plenty of
 transient issues you don't want to have to deal with.

 I use the following supfile regularly.  You can see that I set the
 default tag to RELENG_5_3 which is basically the original release
 of 5.3 plus security updates
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).
  I do that because these are servers that I try to keep as stable
 as possible.  For a personal system, you may prefer to use RELENG_5
 to get something more up to date, without being the bleeding edge
 of CVS updates.  You can also see that I specify a different tag to
  grab for ports, so that I can get the updates on them.

 *default host=cvsup12.freebsd.org *default base=/var/db *default
 prefix=/usr *default release=cvs tag=RELENG_5_3 *default delete
 use-rel-suffix *default compress src-all ports-all tag=.

 Good luck,

 Tom 

Thanks all.   It's simpler than I expected!!  I got it to work!!!

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17  B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCVYfS9NrwTveEO4URAgk/AJ9E2Vb2sVj4I1R/YywbMBTFiP4JsQCgg0pI
78D//IeSb3/DtXUEIiz3ujg=
=RufJ
-END PGP SIGNATURE-


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


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Tom Trelvik wrote:
Tetsuji Maverick Rai wrote:
*default host=cvsup.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
src-all
	I don't think you want tag=. as the default.  That would put you 
the most current sources for the OS, which may have plenty of transient 
issues you don't want to have to deal with.

	I use the following supfile regularly.  You can see that I set the 
default tag to RELENG_5_3 which is basically the original release of 5.3 plus 
security updates 
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).  I 
do that because these are servers that I try to keep as stable as possible. 
For a personal system, you may prefer to use RELENG_5 to get something more 
up to date, without being the bleeding edge of CVS updates.  You can also see 
that I specify a different tag to grab for ports, so that I can get the 
updates on them.

*default host=cvsup12.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_5_3
*default delete use-rel-suffix
*default compress
src-all
ports-all tag=.
Good luck,
If I'm not mistaken, he did mention the ports supfile. What I gave him 
(assuming he only wants one supfile for ports, and one for src) is simply 
that.

It's a very basic, to the point supfile. He needs nothing more then what I 
posted. The above reflects (to me atleast) the makings of a supfile for 
gathering the src tree.

Perhaps I read him wrong, perhaps I took for granted he only wanted a 
ports supfile. If I'm right, then what I gave him is all he needs. He does 
not need to be muddied with thigs that have zero to do with supping the 
ports tree.

Best regards,
Chris
The night before the english history mid-term, your
biology instructor will assign 200 pages on planaria.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
--
Anthony
Anthony,
	have a look at /etc/syslog.conf In addition, see the man page 
also. It's pretty to the point.

Best regards,
Chris
It is better for civilization to be going down the drain,
than to be coming up it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005, Chris wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
--
Anthony
Anthony,
	have a look at /etc/syslog.conf In addition, see the man page also. 
It's pretty to the point.
Actually, man 8 syslogd
Best regards,
Chris
It is better for civilization to be going down the drain,
than to be coming up it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Serial console connection problem

2005-04-07 Thread Jonathan Chen
On Thu, Apr 07, 2005 at 11:23:33AM +0300, Jani Luukkanen wrote:
 Hi!
 
 I have an issue with serial console connection with two FreeBSD machines 
 (Both with Intel SE7210TP1-E motherboard, other configured as host 
 from bios and other has ordinary com ports which are connected with 
 normal tested serial cable).
 
 Host machine is running FreeBSD 5.3 and the client one 4.10.
 
 Problem is that when trying to open the serial connection with tip, 
 error occurs as;
 
 /[EMAIL PROTECTED] root # tip com1
 tip: /dev/cuaa0: Device busy
 link down

Try running fstat(1) against /dev/cuaa0 to try to find out what's
holding the device. If I understand you correctly, you're doing this
on the 4.10 machine.

 
 Main question is that how to get access first to the com1 port generally 
 and second to get ahold of the remote screen on the other end of the 
 serial cable?

Make sure that you haven't got a getty running at the same time on
both sides, and that you've got a null-modem connection between the two
hosts instead of a straight thru'.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I log every login via telnet?

2005-04-07 Thread LukeD
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only ones 
you're interested in.
If you're wanting to build your own log then I don't know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot use cvsup with 5.3-release

2005-04-07 Thread Tetsuji \Maverick\ Rai
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris wrote:

 On Thu, 7 Apr 2005, Tom Trelvik wrote:

 Tetsuji Maverick Rai wrote:

 *default host=cvsup.jp.FreeBSD.org *default base=/var/db
 *default prefix=/usr *default release=cvs tag=. *default delete
 use-rel-suffix

 src-all


 I don't think you want tag=. as the default. That would put
 you the most current sources for the OS, which may have plenty of
 transient issues you don't want to have to deal with.

 I use the following supfile regularly. You can see that I set
 the default tag to RELENG_5_3 which is basically the original
 release of 5.3 plus security updates
 (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html).
 I do that because these are servers that I try to keep as stable
 as possible. For a personal system, you may prefer to use
 RELENG_5 to get something more up to date, without being the
 bleeding edge of CVS updates. You can also see that I specify a
 different tag to grab for ports, so that I can get the updates on
 them.

 *default host=cvsup12.freebsd.org *default base=/var/db *default
 prefix=/usr *default release=cvs tag=RELENG_5_3 *default delete
 use-rel-suffix *default compress src-all ports-all tag=.

 Good luck,


 If I'm not mistaken, he did mention the ports supfile. What I gave
 him (assuming he only wants one supfile for ports, and one for src)
 is simply that.

 It's a very basic, to the point supfile. He needs nothing more then
 what I posted. The above reflects (to me atleast) the makings of a
 supfile for gathering the src tree.

 Perhaps I read him wrong, perhaps I took for granted he only wanted
 a ports supfile. If I'm right, then what I gave him is all he
 needs. He does not need to be muddied with thigs that have zero to
 do with supping the ports tree.


 Best regards, Chris

 The night before the english history mid-term, your biology
 instructor will assign 200 pages on planaria.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to
 [EMAIL PROTECTED]

Don't mind, I made independent supfiles for ports and src. It's much
easier than I expected..I wonder why I coundn't find a solution with
google.

- --
Tetsuji 'Maverick' Rai
PGP Key fingerprint = 2021 6BF9 CEA3 73DE FF17 B326 F4DA F04E F784 3B85
gpg fingerprint
Aviation Jokes: http://www.geocities.com/tetsuji_rai/
Profile http://maverick.ns1.name/
http://maverick.IsASecret.com/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFCVYyj9NrwTveEO4URAtZ8AJwJLw7+/60GEa2HdpwVUBnJqhJUxQCYrhRb
HYY1SryI2yuuwVNZC+qXkg==
=GO/g
-END PGP SIGNATURE-


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


RE: Your note to SunBeta@Prometric.com

2005-04-07 Thread SunBeta,
Thank you for contacting [EMAIL PROTECTED]  Currently, there are no SUN Beta 
exams being offered.
 
If you are inquiring about your beta test results, please note the dates listed 
below.
 
SCJP 5.0 beta exam
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/25/2005
You should receive your hard copy score report by mail by approximately 
5/16/2005
 
SCSA 10 part 1
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/27/2005
You should receive your hard copy score report by mail by approximately 
5/18/2005
 
SCSA 10 part 2
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 4/29/2005
You should receive your hard copy score report by mail by approximately 
5/20/2005
 
SCNA 10
Test results are expected to be posted to the i7 
http://i7lp.integral7.com/sun database by approximately 5/2/2005
You should receive your hard copy score report by mail by approximately 
5/23/2005
 
If your question is not covered by the above information, we will reply to your 
email within 2-3 business days.
 
Sincerely,
 
SunBeta@ mailto:[EMAIL PROTECTED] Prometric.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How can I log every login via telnet?

2005-04-07 Thread Chris
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?
The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only ones 
you're interested in.
If you're wanting to build your own log then I don't know.
something like this in /etc/syslog.conf
!telnetd
*.* /var/log/telnet.log
Best regards,
Chris
Some come to the fountain of knowledge to drink,
some prefer to just gargle.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL client only

2005-04-07 Thread Irina
Hello at FreeBSD list.

I am having a problem with MySQL on a server.  When I access MySQL server
4.1.10 from a C program (or on the command line), I have this
ERROR 1043: Bad handshake

It says I should upgrade my client on this server.  Trying to do so by doing

Updated ports/database collection
# cd /usr/ports/databases/mysql41-client
# make

 Attempting to fetch from
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch:
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mysql-4.1.11.tar.gz: File
unavailable (e.g., file not found, no access)
 Couldn't fetch it - please try to retrieve this
 port manually into /usr/ports/distfiles/ and try again.
*** Error code 1
Stop in /usr/ports/databases/mysql41-client.
*** Error code 1
Stop in /usr/ports/databases/mysql41-client.


Not sure what to do.

Or, may be my mistake was that I CVSUPed only ports/databases?


Thank you for your help in advance.

Irina


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


Re: MySQL client only

2005-04-07 Thread Subhro
Irina wrote:
snip
Not sure what to do.
Or, may be my mistake was that I CVSUPed only ports/databases?
 

Partial updates are never a good idea. However in this case it seems to 
me as if your link is givig you problems. Can you access other things on 
the internet?

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


Re: How can I log every login via telnet?

2005-04-07 Thread Bob Ababurko
Chris wrote:
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote:
On Thu, 7 Apr 2005, Anthony Atkielski wrote:
Is there a way to log every login via telnet?

The system already records all logins in /var/log/auth.log.
You could pull out the telnet entries with grep if those are the only 
ones you're interested in.
If you're wanting to build your own log then I don't know.

something like this in /etc/syslog.conf
!telnetd
*.* /var/log/telnet.log
Best regards,
Chris
Some come to the fountain of knowledge to drink,
some prefer to just gargle.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

Could I do something similar for logging scponly?  I have scponly 
installed and would like to log everyones logins and all files that get 
transferred.  I cannot fins any features in the program itself to do the 
logging so I think that syslog is the choice.

Is that all there is to implementing syslog logging or do i need to make 
sure that scponly spits out info that can be logged?

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


beastie 5.X boot menu

2005-04-07 Thread bob
The boot menu has changed between 4.x and 5.x releases. I have
searched the handbook and can not find any written documentation
about the new beastie boot options, what they are and when each one
is intended to be used. I see a lot of posts about the beastie
figure but nothing about what the options mean.  If it's written
somewhere can someone point me to it and if not can I get an
explanation?



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


Re: Sendmail + No Response from Port 25

2005-04-07 Thread Volodymyr Kostyrko
JP wrote:
I need some advice, I am running FreeBSD 5.3 and am having problems getting sendmail to be accessable from outside the LAN.  If I am on the LAN and perform a telnet 192.168.1.254 25 sendmail responds.  But anywhere outside of the LAN I cannot get sendmail to respond.  I can telnet to it just fine remotely as well as Ftp.  I am using PPP since I have a PPPoE connection.
  First, what are your sendmail related variables in /etc/rc.conf?
  Second. Is your computer configured to be a firewall? Does it permits 
anyone to connect to port 25 from outside?

--
[WBR], Arcade. [SAT Astronomy/Think to survive!]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread Travis Poppe
I would also love to see these patches committed and ready to use in a
future release. I've been wanting to see this functionality since I
started using FreeBSD five or so years ago.

Myself and a friend have used these patches for quite some time now
with no known stability issues. They work just fine. There is a minor
problem with audio and scrolling (the audio breaks up and becomes
distorted), but this is a problem I have had with audio in many other
every day scenarios as well. Search the -CURRENT mailing lists and you
should find a few posts I've written about this audio problem, as well
as posts by many others.

At least three people ask me on a regular basis if these have been
committed, as I keep a close eye on them. It would be highly
appreciated by many if this functionality were included.

Thanks,

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


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread Julian Elischer
point me at the patches again?
Travis Poppe wrote:
I would also love to see these patches committed and ready to use in a
future release. I've been wanting to see this functionality since I
started using FreeBSD five or so years ago.
Myself and a friend have used these patches for quite some time now
with no known stability issues. They work just fine. There is a minor
problem with audio and scrolling (the audio breaks up and becomes
distorted), but this is a problem I have had with audio in many other
every day scenarios as well. Search the -CURRENT mailing lists and you
should find a few posts I've written about this audio problem, as well
as posts by many others.
At least three people ask me on a regular basis if these have been
committed, as I keep a close eye on them. It would be highly
appreciated by many if this functionality were included.
Thanks,
-Travis Poppe
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re: beastie 5.X boot menu

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

 The boot menu has changed between 4.x and 5.x releases. I have
 searched the handbook and can not find any written documentation
 about the new beastie boot options, what they are and when each one
 is intended to be used. I see a lot of posts about the beastie
 figure but nothing about what the options mean.  If it's written
 somewhere can someone point me to it and if not can I get an
 explanation?

Seriously?

Well, let's see.

ACPI:  see man acpi for a start.
Safe Mode: configures the system to avoid all possible hardware
compatibility problems, at a severe cost in performance.
single user mode: see the Handbook.
verbose logging: many informational messages will be logged (by the
kernel) to the console in the process of booting.
Escape to loader prompt:  see man loader.
USB keyboard: take your computer to your nearest computer store and
ask them whether you have a USB keyboard or not.

Generally, default will be the right answer unless you know you need
something else.

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


usb console

2005-04-07 Thread Gert Cuykens
Is it possible to do the console thingie not with a null modem serial
cable but with a usb cable ?

When you do the serial console, it means that you have a screen like
it was the other pc's screen, right ? With boot messages and
everything, able to do whatever you want like your keybord and screen
was connected to the serial server itself right ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


finger not working, service very slow with ldap

2005-04-07 Thread Matt Juszczak
Howdy,
Finger is working for some of my system accounts, and not others.  A check 
of the log displays the following:

Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND 
dn=cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net method=128
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 BIND 
dn=cn=pamclient,ou=SystemAccounts,dc=mydomain,dc=net mech=SIMPLE ssf=0
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=0 RESULT tag=97 err=0 text=
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH 
base=ou=People,dc=mydomain,dc=net scope=1 deref=0 
filter=(objectClass=posixAccount)
Apr  7 16:50:29 uranus slapd[57684]: conn=85 op=1 SRCH attr=uid userPassword 
uidNumber gidNumber cn homeDirectory loginShell gecos description objectClass
Apr  7 16:50:30 uranus slapd[57684]: conn=85 op=1 SEARCH RESULT tag=101 err=4 
nentries=500 text=
Apr  7 16:50:30 uranus slapd[57684]: conn=85 fd=19 closed

and it returns user mjuszczak not found.  Whats funny is that it returns 500 
entries, even though there is only one mjuszczak user.  This could also be the 
reason that logging into the server is taking absolutely forever.  A login 
takes about a minute, and the tail -f of ldap.log with loglevel 128 shows it 
searching every single user, all 7000 ... for some reason.  Could my indexes in 
slapd.conf possibly be off, or is this something I messed up in freebsd's 
pam.d?

Here is the index list btw for slapd.conf, but of course if this is an 
ldap problem I will be contacting that email list anyway.

index   objectClass eq
index   sudoUserpres,eq
index   uid pres,eq

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


gpg-agent help

2005-04-07 Thread Damian Gerow
I'm trying to get gpg-agent to work with mutt, with very little success.  I
start up the agent in ~/.xinitrc:

eval `/usr/local/bin/gpg-agent --daemon -s`

Have gnupg configured to use the agent in .gnupg/gpg.conf:

use-agent

And use what seems to be a pretty standard agent configuration:

pinentry-program /usr/local/bin/pinentry-qt
no-grab
default-cache-ttl 1800

The problem is that GnuPG doesn't seem to want to actually /use/ the agent.
When I try to sign something, pinentry-qt launches, I enter my passphrase,
and the file is successfully signed.  Every time.  There's no passphrase
caching (which is what gpg-agent does, correct?).  The only thing that might
be weird is that my signing key is actually a /secondary/ key, but I
wouldn't have thought that would cause issues.

gpg throws no errors.  Nothing about gpg-agent not being available.  It just
plain doesn't seem to want to work for me, nor tell me why:

% gpg -v -as test.txt 
gpg: using secondary key 9C22B029 instead of primary key C2889CC9

You need a passphrase to unlock the secret key for
user: Damian Gerow [EMAIL PROTECTED]
gpg: using secondary key 9C22B029 instead of primary key C2889CC9
1024-bit DSA key, ID 9C22B029, created 2004-04-10 (main key ID C2889CC9)

gpg: writing to `test.txt.asc'
gpg: DSA/SHA1 signature from: 9C22B029 Damian Gerow
[EMAIL PROTECTED]

%

Any help?  Please Cc: me, as I'm not on the list...

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


Re: How can I log every login via telnet?

2005-04-07 Thread Sandy Rutherford
 On Thu, 7 Apr 2005 20:42:25 +0200, 
 Anthony Atkielski [EMAIL PROTECTED] said:

  Is there a way to log every login via telnet?

Check /var/log/auth.log.  They should be logged there by default.  You
could also use tcpwrappers for better control over access and
logging.  See /etc/hosts.allow and man 5 hosts_options.

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


Re: vesa 1024x768 mode in future version? to the freebsd community

2005-04-07 Thread David Xu
In long run, I really want KGI to be in kernel rather than this footshot 
hack,
give me full framebuffer support.

David Xu
Didier Wiroth wrote:
Dear FreeBSD Team,
Dear FreeBSD Users,
I was wondering if the patches  (see link below) have any chances to make their 
ways into a future release version or may be in the ports collection?
Here are the patches I'm talking about:
http://people.freebsd.org/~delphij/vesa
Actually the vidcontrol.diff patch failed for me so I used these patches:
http://www.nbritton.org/uploads/current-vesa_patch.tar.gz
 

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


  1   2   >