Complaints on X startup about knonsole_grantpty

2002-11-21 Thread Cliff Sarginson
Having brought my X-Installation completely up to date (or so I think)
to X 3... I know see this in the X messages...

konsole: chownpty failed for device /dev/ptyp2::/dev/ttyp2.
   : This means the session can be eavesdroped.
   : Make sure konsole_grantpty is installed in
   : /usr/local/bin/ and setuid root.

whereis reveals

konsole_grantpty: /usr/local/bin/konsole_grantpty

ls reveals

-rwsr-xr-x  1 root  wheel  5380 Nov 19 02:09 /usr/local/bin/konsole_grantpty

And echo $PATH reveals

PATH is 

/local/bin:/bin:/usr/bin:/usr/local/bin:/home/cls/bin:.:/usr/X11R6/bin:/usr/games

ls also reveals

crw-rw-rw-  1 root  wheel6,   2 Nov 21 07:33 /dev/ptyp2
   ^^
crw-rw-rw-  1 root  wheel5,   2 Nov 21 09:03 /dev/ttyp2
   ^^

Clues ?

Thu Nov 21 09:05:14 CET 2002

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Portsupgrade -uU

2002-11-21 Thread Kris Kennaway
On Thu, Nov 21, 2002 at 01:28:45PM +0700, Roger Merritt wrote:
 At 02:04 AM 11/21/02, you wrote:
 On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
 
  When running portsupgrade -uU I get the output below.  How can I fix 
 these
  malformed entries, non-existent entries and incomplete dependencies?
  Running pkgdb -F shows everything to be fine.
 
 If you're running portsdb -Uu, you *don't*. It's up to port
 maintainers to fix the problem with the port entries. Most of the
 output are just warnings (intended for maintainers).

INDEX builds shouldn't have any warnings if you perform them in a
clean environment.  Either your ports collection is out of date
(i.e. in an inconsistent state) or the index build is picking up
things from the host environment like installed ports,
WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
portupgrade..someone should investigate and report it to the author.

Kris



msg09576/pgp0.pgp
Description: PGP signature


Re: Confirmation: ext2fs requires kernel rebuild?

2002-11-21 Thread Kris Kennaway
On Thu, Nov 21, 2002 at 08:25:56AM +0100, Cliff Sarginson wrote:
 On Wed, Nov 20, 2002 at 11:12:12PM -0500, Chris Pepper wrote:
  At 7:50 PM -0800 2002/11/20, David Schultz wrote:
  Thus spake Chris Pepper [EMAIL PROTECTED]:
 snip
  LINT says:
  #
  # Add support for the EXT2FS filesystem of Linux fame.  Be a bit
  # careful with this - the ext2fs code has a tendency to lag behind
  # changes and not be exercised very much, so mounting read/write could
  # be dangerous (and even mounting read only could result in panics.)
  #
  options EXT2FS
  
 This message has been in LINT since the dawn of time and is extremely
 mystifying. Be a bit careful .. meaning what ? You either mount it or
 don't mount it, use it or don't use it. What exactly are you supposed to
 be careful of :) Saying Boo!.

Data corruption.

Kris



msg09577/pgp0.pgp
Description: PGP signature


Re: Bash programming; Was: connecting to SCSI drive

2002-11-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-21 02:17:13 -0500:
 Following the suggestions that were posted, I now have a working 
 script that checks for a connection to the DVD-RAM drive. The 
 following works, but returns the 'Device not configured' error 
 if there's no disk in the drive.
 
 elif !(sudo mount -t ufs -o rw /dev/cd0a $montering_punkt)
 then
 
 Currently, I'm suppressing the error message (2/dev/null), but I'd 
 rather capture sterr in a variable and replace it with a custom 
 message if the error is 'Device not configured'. (The devise is 
 configured, but I forgot to put a disk in the drive, so the system 
 error message is confusing.) I've tried read and redirection, but I 
 can't seem to capture the error message in a variable. Does 
 anyone know how to do this?

tested in zsh (should work in bash):

MSG=$(sudo mount ... 21)
if [ $? -ne 0 -a $MSG == Device not configured ]; then
echo My custom error message
fi

a dumbed-down version that'll work in /bin/sh (most portable):

MSG=`sudo mount /floppy 21`
if [ $? -ne 0 -a x$MSG = xDevice not configured ]; then
echo My custom error message.
fi

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Sendmail not relaying to localhost (4.6 and 4.7 RELEASE)

2002-11-21 Thread AlistairP
Hi all,

I had a weird problem a while ago that after installing
FreeBSD 4.6 RELEASE sendmail was not accepting local mail
for delivery.

After looking at mail -v user I saw that sendmail was
not accepting relaying for the localhost.  Now I could 
telnet to localhost on port 25 and that worked so SMTP
itself was running.

The problem turned out to be that in /etc/hosts the following
was missing:

::1 localhost

Now I thought that maybe that was an isolated problem with
FBSD4.6 but I install 4.7 last night (Mini ISO) and had the
exact same problem.  The /etc/hosts file did not have ::1

I have been told that the ::1 is a IPV6 loopback?  Is that
correct?  Why would it seem to be missing from the install?

Regards,
Alistair.

---
Alistair Phillips
POS Development 
The Foschini Group

E-Mail - [EMAIL PROTECTED]
Tel  - +27(0)21 938 1146
Fax  - +27(0)21 930 3599
Cell - +27(0)82 480 8851

Information contained in this e-mail is intended for the use of the person
to whom it was addressed. If you are not the addressee, you may not copy,
forward, disclose or deliver this  message or any part of it to anyone else.
If you received this e-mail in error, please reply to the sender of this
message, and delete the mail. Any views expressed in this message are those
of the individual sender, except where the sender specifically states them
to be those of The Foschini Group of Companies, to whom no liability shall
attach whatsoever. The Foschini Group disclaim all liability for any loss,
damage or expense however caused, arising from the use of or reliance upon
the information provided through this service. Any recipient of an
unacceptable communication, a chain letter or offensive material of any
nature is requested to report this to email address: [EMAIL PROTECTED]


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



Re: Sendmail not relaying to localhost (4.6 and 4.7 RELEASE)

2002-11-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-21 11:30:30 +0200:
 I had a weird problem a while ago that after installing
 FreeBSD 4.6 RELEASE sendmail was not accepting local mail
 for delivery.
 
 After looking at mail -v user I saw that sendmail was
 not accepting relaying for the localhost.  Now I could 
 telnet to localhost on port 25 and that worked so SMTP
 itself was running.

that's not the same thing. mail(1) doesn't talk SMTP AFAIK.
 
 The problem turned out to be that in /etc/hosts the following
 was missing:
 
   ::1 localhost

 Now I thought that maybe that was an isolated problem with
 FBSD4.6 but I install 4.7 last night (Mini ISO) and had the
 exact same problem.  The /etc/hosts file did not have ::1

do you use IPv6? if not (and you're not, or you wouldn't be asking
the question below), it's meaningless.
 
 I have been told that the ::1 is a IPV6 loopback?  Is that
 correct?

yes, it's the IPv6 loopback.

 Why would it seem to be missing from the install?

*probably* because it's irrelevant in 99.5% cases?

show us your /etc/rc.conf, and your sendmail configuration.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



RE: Sendmail not relaying to localhost (4.6 and 4.7 RELEASE)

2002-11-21 Thread AlistairP
 # [EMAIL PROTECTED] / 2002-11-21 11:30:30 +0200:
  I had a weird problem a while ago that after installing
  FreeBSD 4.6 RELEASE sendmail was not accepting local mail
  for delivery.
  
  After looking at mail -v user I saw that sendmail was
  not accepting relaying for the localhost.  Now I could 
  telnet to localhost on port 25 and that worked so SMTP
  itself was running.
 
 that's not the same thing. mail(1) doesn't talk SMTP AFAIK.

I am sure it did when I tried it last night.  My BSD box is at
home so I will give it a try tonight and then see what happens.

  
  The problem turned out to be that in /etc/hosts the following
  was missing:
  
  ::1 localhost
 
  Now I thought that maybe that was an isolated problem with
  FBSD4.6 but I install 4.7 last night (Mini ISO) and had the
  exact same problem.  The /etc/hosts file did not have ::1
 
 do you use IPv6? if not (and you're not, or you wouldn't be asking
 the question below), it's meaningless.

Well I did not install IPv6 by default.  When I setup the network
card during the install it prompted me if I wanted to config via IPv6
or DHCP and I said no.

  
  I have been told that the ::1 is a IPV6 loopback?  Is that
  correct?
 
 yes, it's the IPv6 loopback.
 
  Why would it seem to be missing from the install?
 
 *probably* because it's irrelevant in 99.5% cases?
 
 show us your /etc/rc.conf, and your sendmail configuration.

Shall get that tonight and then pass it along.

 
 -- 
 If you cc me or remove the list(s) completely I'll most likely ignore
 your message.see http://www.eyrie.org./~eagle/faqs/questions.html
 

Information contained in this e-mail is intended for the use of the person
to whom it was addressed. If you are not the addressee, you may not copy,
forward, disclose or deliver this  message or any part of it to anyone else.
If you received this e-mail in error, please reply to the sender of this
message, and delete the mail. Any views expressed in this message are those
of the individual sender, except where the sender specifically states them
to be those of The Foschini Group of Companies, to whom no liability shall
attach whatsoever. The Foschini Group disclaim all liability for any loss,
damage or expense however caused, arising from the use of or reliance upon
the information provided through this service. Any recipient of an
unacceptable communication, a chain letter or offensive material of any
nature is requested to report this to email address: [EMAIL PROTECTED]


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



backing up to cd

2002-11-21 Thread Jon Reynolds
What is the best way to backup to an atapi cdr? is it mkisofs or burncd
or cdrecord? I would like to be able to have this automated where I will
create a cron job that uses tar and gzip to compare the files in the
directory and if there is a change in the file it will make a new backup
then send it to be burned. 

But I am having a tough time trying to figure out which would be the
smoothest way to back it up and then recover the files from the cd. I
would like to be able to mount the cdrom and simply 'cp' the files to a
directory. Can anyone one tell me what they think would work best?

Jon


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



Re: Confirmation: ext2fs requires kernel rebuild?

2002-11-21 Thread Giorgos Keramidas
On 2002-11-20 19:50, David Schultz [EMAIL PROTECTED] wrote:
 Thus spake Chris Pepper [EMAIL PROTECTED]:
  I know they're distinct, but it's silly for a discussion of Linux
  applications to ignore the possibility of those apps residing on a
  Linux filesystem. I couldn't find ext2fs documented anywhere,
  which is the first issue. The second is adding a link  comment to
  the LABI chapter.

 Hmm...I think you're right.  I don't see any documentation for the
 option.  I would just as soon hook the module up to the default
 build like all the other modules, but maybe the license is an issue.

The license *is* an issue.  Distributing kernels that by default
include GPL'ed code can have many complications for people who make
commercial applications based on FreeBSD source.


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



Re: backing up to cd

2002-11-21 Thread Denis N. Peplin
mkisofs + burncd for IDE, mkisofs + cdrecord for SCSI
read manuals or handbook for details.
On Thursday 21 November 2002 13:40, Jon Reynolds wrote:
 What is the best way to backup to an atapi cdr? is it mkisofs or burncd
 or cdrecord? I would like to be able to have this automated where I will
 create a cron job that uses tar and gzip to compare the files in the
 directory and if there is a change in the file it will make a new backup
 then send it to be burned.

 But I am having a tough time trying to figure out which would be the
 smoothest way to back it up and then recover the files from the cd. I
 would like to be able to mount the cdrom and simply 'cp' the files to a
 directory. Can anyone one tell me what they think would work best?

 Jon


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


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



Re: Dual-Boot Windows 2000 and FreeBSD 4.6

2002-11-21 Thread Martin Moeller
* Visotheary Riviere-Ung [EMAIL PROTECTED] [21.11.02 11:00]:
 I have only one hard disk and I want to make a dual-boot Windows 2K and 
 FreeBSD. How can I do it?
 My first attempt had erased W2K. Is there a fix for this?

Salut, Visotheary!

Have you  re-partitioned your  harddrive before installing  FreeBSD or
just installed BSD *over* and *into* your Windows partition? While you
install FreeBSD, the  sysinstall program lets you choose  to install a
boot manager.

Please refer to the FreeBSD handbook for more details:

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

-- 
Martin Möller mm at bsdsi.com   http://bsdsi.homeunix.com/
GPG Key ID: 0x3C979285ICQ # 82221572
I do not accept unsolicited commercial mail. Do not spam me!



msg09588/pgp0.pgp
Description: PGP signature


mpd

2002-11-21 Thread Marcin M. Jessa
Howdy

I have tried to install a server with VPN over pptp using mpd from ports.
It starts fine but I cannot connect to it and nothing goes to /var/log/ppp.log
The VPN box is my firewall. I am trying to connect to it from Windows2K with static 
inet IP creating connection directly to the outside inet IP of my VPN FreeBSD firewall.
I have also this rule in my firewall script:
ipfw add allow tcp from any to $oip1 1723 keep-state 
I have this entry in my syslog.conf
!ppp
*.* /var/log/ppp.log

mpd is started with mpd -b option.
sockstat -l4 doesnt show mpd either, i donno if it should tho...

Any idea why it fails? 

The config files are following:
/usr/local/etc/mpd/mpd.conf :

vpn:   
 
load pptp  
 
   
 
pptp:  
 
new -i ng0 pptp pptp   
 
set iface disable on-demand
 
set iface idle 1800
 
set bundle enable multilink
 
set link yes acfcomp protocomp 
 
set link no pap chap   
 
set link enable chap   
 
set link keep-alive 10 60  
 
set link mtu 1460  
 
set ipcp yes vjcomp
#   set ipcp ranges 0.0.0.0/0  
   
set ipcp ranges 192.168.64.10/32 192.168.1.250/32 
set ipcp dns 192.168.64.5  
set ipcp nbns 192.168.64.3
#  
 
# The five lines below enable Microsoft Point-to-Point encryption  
 
# (MPPE) using the ng_mppc(8) netgraph node type.  
 
#  
 
set bundle enable compression  
 
set ccp yes mppc   
 
set ccp yes mpp-e40 
#   set ccp no  mpp-e40
set ccp yes mpp-e128   

set ccp yes mpp-stateless   


/usr/local/etc/mpd/mpd.links:

vpn:
set link type pptp
set pptp self 192.168.64.2
set pptp peer 11.223.34.56
set pptp enable originate incoming outcall

and

/usr/local/etc/mpd/mpd.secret :

yazzy  xxxyyyzzz

-- 










Marcin M. Jessa
Software developer/System Administrator
Wireless Reading Systems ASA
 Skreddervn 9
 N-1537 Moss
 Phone: +47 69 27 96 88
 Cellular: +47 988 505 44




Just because it works does not make it right.

Uptime: 
11:27AM  up 3 days, 19:04, 2 users, load averages: 0.06, 0.03, 0.00

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



Re: Ang LinuxForum

2002-11-21 Thread Rafter Man
- Original Message -
From: Poul-Henning Kamp [EMAIL PROTECTED] 
Der er heller ikke mange *BSD
folk som har meldt sig til at holde en BoF / foredrag på Linuxforum (er
dog lige kommet 2 stks til)

Som sædvanlig stiller jeg gerne op hvis det ønskes, men jeg aner
lige så sædvanligt ikke hvad folk i givet fald ville høre fra mig...

Meget gerne noget med FreeBSD kernen i FreeBSD 5.0, samt hvad der mere er af nye ting 
i 5.0.

mvh
rafter
-- 
__
http://www.linuxmail.org/
Now with POP3/IMAP access for only US$19.95/yr

Powered by Outblaze

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



Re: yahoo IM crashing for anyone else?

2002-11-21 Thread Anand Buddhdev
On Wed, Nov 20, 2002 at 09:18:50PM -0800, Jim Arnold wrote:

 About three days again Gaim started crashing on me
 with  a vengeance with a signal 6. It appears to be
 related to Yahoo. As a test I installed ymessanger and
 it too is crashing just as often.

Gaim had a bug that was causing a segfault with yahoo. It was fixed in
the latest version, so upgrade to 0.59.6. I can't explain why ymessenger
was crashing.

-- 
Anand Buddhdev
http://anand.org

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



Dual-Boot Windows 2000 and FreeBSD 4.6

2002-11-21 Thread Visotheary Riviere-Ung


Hi,

I have only one hard disk and I want to make a dual-boot Windows 2K and 
FreeBSD. How can I do it?
My first attempt had erased W2K. Is there a fix for this?
Thanks for your help



--
Visotheary RIVIERE-UNG
CNRS UMR 7625
Fonctionnements et Evolution
des Systèmes écologiques
(Bâtiment A, 7ème étage)
7 Quai Saint-Bernard
75252 Paris Cedex 05
Tel: 01 44 27 25 70
Email: [EMAIL PROTECTED]
--


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


Re: does ucom0 work?

2002-11-21 Thread Dan Pelleg
David Banning [EMAIL PROTECTED] writes:

 I have been getting the error;
 
 Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00,
 +addr 2
 Oct 28 11:51:53 ada /kernel: ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00,
 +addr 2
 Oct 28 11:51:53 ada /kernel: ucom0: init failed, STALLED
 Oct 28 11:51:53 ada /kernel: device_probe_and_attach: ucom0 attach returned 6
 
 in the log when I attach and hit the hotsync on my palm device.
 
 one of the developers at pilot-link had mentioned this as an unfixed 
 error on getting pilot-link working with FreeBSD's USB port.
 
 Is this error a FreeBSD error? Is there FreeBSD'ers using ucom0 successfully?
 

ucom with uvisor certainly works for me. Look in the archives of the
freebsd-stable list for a message I sent a few weeks ago that has a few
tips and gotchas in it.

-- 

  Dan Pelleg

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



Ðóñïîñò - áóìàæíîå ïèñüìî ÷åðåç èíòåðíåò

2002-11-21 Thread Ruspost
www.ruspost.ru - îòïðàâü áóìàæíîå ïèñüìî ðîäíûì è äðóçüÿì, íå îòõîäÿ îò êîìïüþòåðà! 
Êèáåðïèñüìî - äåøåâëå òåëåãðàììû, áûñòðåå îáû÷íîé ïî÷òû! 

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



Performance degration of moving FFS hdd from a slow to a fast pc.

2002-11-21 Thread BigBrother (BigB3)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



I have a question about FFS filesystem.

According to a paper about the design of UFS filesystem[1], if you create
the FFS filesystem on a slow cpu and then move it to a fast cpu with a
fast controller, theh the FFS wont perform efficient.

This is justified because when the UFS is created having in mind the
speed of the system, in order to create the cyllinder group summary
information with optimal rotationally blocks [see page 7 of the paper].
If somebody takes the hdd of the slow pc and put it on a much faster pc,
then it is reported that the throughput will drop significantly because of
lost disk revolutions.

I would like to know if this is true. Can I move my hdd of my old slow pc
[intel 486] to a  pentium III  600Mhz machine without performance
penatly, or its better to re-create the filesystem?

Thank you very much...





References:

 [1] http://citeseer.nj.nec.com/mckusick84fast.html




- ---
We are being monitored..but there is a solution...
Use PGP for signing and encrypting emails
Download my public key at http://www.us.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE93M3XGe/V3CxAyHoRAtCKAJsFEPJAEgYOzE8NkszHO5jUBETrnwCfTC+V
vLYTHw2fXGYPIwfuzA3TitM=
=/4V2
-END PGP SIGNATURE-


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



Find abandoned packages

2002-11-21 Thread Pascal Giannakakis
Lo folks, 
 
how do you find installed ports / packages on your system, that are not
required by 
others? 
 
Thanx. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: Arp and Route Commands

2002-11-21 Thread Andrey Simonenko
On Sun, 17 Nov 2002 20:56:55 + (UTC) in lucky.freebsd.questions, Karl Timmermann 
wrote:
 Hello,
 
 I'm new to the list and was hoping maybe someone could help me. These 
 commands work in Linux (and in this order), but not in FreeBSD/Mac OS X 
 as the arp and route commands are different:
 
 arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1
 arp -s 10.10.10.0 00:00:ca:13:4b:54 -i eth1

arp -s 10.10.10.0 00:00:ca:13:4b:54
arp -s 10.10.10.0 00:00:ca:13:4b:54

 route add -net 10.10.10.0 netmask 255.255.255.0 dev eth1

route add -net 10.10.10.0 -netmask 255.255.255.0 -interface eth1

 route add default gw 10.10.10.0 dev eth1

route add default 10.10.10.0 -interface eth1

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



RE: Find abandoned packages

2002-11-21 Thread Liquid
If you check out /var/db/pkg it lists what ports are installed
essentially.  I don't know how to tell whether or not it’s a dependency
though, so maybe someone else can answer that.  I'd like to know that
too come to think of it.

-SM

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED]] On Behalf Of Pascal Giannakakis
 Sent: November 21, 2002 8:00 AM
 To: [EMAIL PROTECTED]
 Subject: Find abandoned packages
 
 Lo folks,
 
 how do you find installed ports / packages on your system, that are
 not
 required by
 others?
 
 Thanx.
 
 
 --
 +++ GMX - Mail, Messaging  more  http://www.gmx.net +++
 NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


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



RE: Find abandoned packages

2002-11-21 Thread Pascal Giannakakis
 If you check out /var/db/pkg it lists what ports are installed 
 essentially.  I don't know how to tell whether or not it’s a  
 dependency 
 though, so maybe someone else can answer that.  I'd like to know that 
 too come to think of it. 
 
pkg_info or pkg_version - would be quite the same in this situation. What i
need is an 
intelligent programm that finds old stuff, and best even offers a yes / no
dialog to 
uninstall it. 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: PLS GET BACK TO ME.

2002-11-21 Thread Stephen Hovey

I apologize to the list - I thought I can cleared the cc: - didnt realise
it went out on the list.  Its what I get for gettin pissed off too late at
nite.

On Wed, 20 Nov 2002, Gary D Kline wrote:

 On Wed, Nov 20, 2002 at 09:07:57PM -0500, Stephen Hovey wrote:
  Oh bite me already
  
   man, that was worth a laugh!  the endless reams of this spam
   make me think of pt barnum.
 
 
 -- 
Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix
 
 


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



Re: Dual-Boot Windows 2000 and FreeBSD 4.6

2002-11-21 Thread Martin Moeller
* Visotheary Riviere-Ung [EMAIL PROTECTED] [21.11.02 13:26]:
 Of course, I have re-partitioned my hard disk.
 In the handbook, they indicate that you must delete a partition (the second 
 one) to install FreeBSD, so did I but it doesn't work.

You don't  have to actually delete  and reassign it. You  can also use
the T-key to  change the partition's type from  whatever to UFS. But
ok: Deleting and creating it again with sysinstall does the same! :-)

-- 
Martin Möller mm at bsdsi.com   http://bsdsi.homeunix.com/
GPG Key ID: 0x3C979285ICQ # 82221572
I do not accept unsolicited commercial mail. Do not spam me!



msg09602/pgp0.pgp
Description: PGP signature


Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Giorgos Keramidas
On 2002-11-21 08:44, Stephen Hovey [EMAIL PROTECTED] wrote:
 On Wed, 20 Nov 2002, Gary D Kline wrote:
  On Wed, Nov 20, 2002 at 09:07:57PM -0500, Stephen Hovey wrote:
   Oh bite me already
 
  man, that was worth a laugh!  the endless reams of this spam
  make me think of pt barnum.

 I apologize to the list - I thought I can cleared the cc: - didnt
 realise it went out on the list.  Its what I get for gettin pissed
 off too late at nite.

The best thing to do is take a look at the spam headers and post a
notice to [EMAIL PROTECTED] since the originator of the message is easy
to find by looking at the following:

: Received: from mail.FreeBSD.org (node-c-173f.a2000.nl [62.194.23.63])
:   by mx1.FreeBSD.org (Postfix) with SMTP id 4845643E9E
:   for [EMAIL PROTECTED]; Wed, 20 Nov 2002 04:55:36 -0800 (PST)
:   (envelope-from [EMAIL PROTECTED])

That's what I did.  More than once.  Signing my messages with PGP too.

This very spammer has hit the lists more than once, and every time I
mailed {abuse|postmaster} at a2000.nl.  If they receive a few hundred
messages for each spam message they let through they will certainly
start acting fast :-)

So instead of replying to the lists, let abuse@ know.

Many times!


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



Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Yann Golanski
Quoth Giorgos Keramidas on Thu, Nov 21, 2002 at 15:58:03 +0200
 This very spammer has hit the lists more than once, and every time I
 mailed {abuse|postmaster} at a2000.nl.  If they receive a few hundred
 messages for each spam message they let through they will certainly
 start acting fast :-)

Would it be possible for the owners of the lsit to install something
like SpamAssassin so that those messages actually don't get to us? 

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



msg09604/pgp0.pgp
Description: PGP signature


Re: perl version in -STABLE build

2002-11-21 Thread Jonathan Arnold
branch.  Note, however, that on 4.x there's no problem with keeping
5.8 installed from ports, and the default system perl in its usual
place. There's a nice mechanism installed for choosing between them 
at will. 

And that would be ... ?

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Amazing Developments   http://www.buddydog.org

Health nuts are going to feel stupid someday, lying in
hospitals dying of nothing. -- Redd Foxx


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



rxvt slow startup after installing xfstt

2002-11-21 Thread Nils Nordén
I need help with a bug that occurs
when xfstt (truetype fontserver) is installed.
I'm using rxvt 2.6.4_1 and it's working great...
until I install xfstt 1.1_1. Then it takes about
1 minute to startup an rxvt window. Is this
a known problem and is there a cure?

I'm using Freebsd 4.7-release on XFree86 4.2.1.

-Nils N


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



Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (11.21.2002 @ 0600 PST): Yann Golanski said, in 1.3K: 
 Would it be possible for the owners of the lsit to install something
 like SpamAssassin so that those messages actually don't get to us? 
 end of Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO 
ME.] from Yann Golanski 

FreeBSD can't use any restrictive level of filtering. SpamAssassin on my
server nukes some peoples' emails to this list at times.

The answer to the question of why doesn't FreeBSD... is why don't
you?

# Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE93O+Mo8KM2ULHQ/0RAupnAJ4jrosN8STUbKFUHCoQNMWFK6B5PwCfRa/u
CQZUHn3SrVtJXQts0hf1wi4=
=ht6x
-END PGP SIGNATURE-

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



Re: FreeBSD gateway

2002-11-21 Thread Thomas Heien

I am having almost the same exact problem. I've followed the guides on 
freebsddiary, in the handbook, and instructions here in the list, but I 
still can't ping out to the internet from my xp box. I can however ping the 
external NIC's IP address though. Maybe someone can post a simplified 
rc.firewall just for gateways?





From: Constantine [EMAIL PROTECTED]
To: Marc Perisa [EMAIL PROTECTED]
CC: Derrick Ryalls 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: FreeBSD gateway
Date: Wed, 20 Nov 2002 18:18:01 -0500

Marc Perisa wrote:
Derrick Ryalls wrote:


Hello!
I have installed FreeBSD 4.7 recently, and it seems it does not want to 
work as a gateway. I have two network cards in my FreeBSD computer, fxp0 
for LAN and sis0 for the cable modem. I am new to FreeBSD, so I am 
confused what the difference between gateways and routers is (I was 
thinking they link to the same thing). I can ping my FreeBSD box from 
winxp, I can ping internet from remote session to FreeBSD, but I cannot 
ping internet from my winxp.
My winxp has ip 192.168.0.1, netmask 255.255.255.0, and gateway 
192.168.0.18 settings. Now FreeBSD /etc/rc.conf follows:

gateway_enable=YES
kern_securelevel_enable=NO
nfs_reserved_port_only=YES
ifconfig_sis0=DHCP
ifconfig_fxp0=inet 192.168.0.18  netmask 255.255.255.0 
#router_enable=YES # from handbook gateway_enable=YES 
firewall_enable=YES firewall_type=OPEN natd_enable=YES 
natd_interface=sis0


 natd_flags= #/ handbook




Are your ip's reversed?  I think the gateway should have the .1 address
and the xp box should use the .18



Nope. He set his FreeBSD box to the IP 192.168.0.18 and his Windows XP box 
to 192.168.0.1 . All is ok with that. It is only uncommon to do. Normally 
you would give the defaultgateway for a network x.y.z.1 or x.y.z.254 . But 
it is not forbidden to set it to any IP in that subnet.


Are you using the default kernel?  If so, you will need to add a couple
lines are recompile.

options IPFIREWALL  #firewall
options IPDIVERT#divert sockets

as for the difference between a router and a gateway, a gateway is a
machine to deal with going from one network (lan) to another network
(wan), I think.



 From your point of view (as needed for this problem) routers and 
gateways are the same. In this case the FreeBSD box is acting as a router 
for your internal net to the Internet. A simple router would do the same. 
But for more complex routing you have to either setup gated (or similar 
software) or add all rules (if they are static) by hand.
A gateway is the simplest form of a router.

The last two lines from dmesg:
IP packet filtering initialized, divert disabled, rule-based forwarding 
enabled, default to deny, logging disabled
ip_fw_ctl: invalid command



That hints to a problem with the /etc/rc.firewall script (which is called 
when you add to /etc/rc.conf firewall_enable=YES).

Please provide us with the output of ipfw list. (You have to do that as 
root of course). I think your firewall ruleset is not tuned for a gateway 
situation.

Hope that helps

Marc



# ipfw show
001000   0 allow ip from any to any via lo0
002000   0 deny ip from any to 127.0.0.0/8
003000   0 deny ip from 127.0.0.0/8 to any
65000 8102 5158330 allow ip from any to any
655351  60 deny ip from any to any

I want FreeBSD to act as a simple gateway for my LAN, but for some reason 
it does not want to work that way, though I have confirmed to the 
installation programme that I want FreeBSD to function as a gateway. What 
are the simplest steps I need to follow to make FreeBSD act as a gateway? 
(I have a fresh 4.7R installation)

Thanks.

Constantine


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


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


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


Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Kirk Strauser

At 2002-11-21T14:00:56Z, Yann Golanski [EMAIL PROTECTED] writes:

 Would it be possible for the owners of the lsit to install something
 like SpamAssassin so that those messages actually don't get to us? 

Erm, I'm roughly 99.999% against that idea.  What if someone's writing to
ask how to secure their FreeBSD box that's currently being used as a spam
relay (and is on many blackhole lists)?

For what it's worth, I run SpamAssassin locally, and use it to *mark*
possible spams, but never drop them.  Then I configured my client to filter
based on the `X-Spam-Status' header into a spam folder that I periodically
check.  Once a month or so, I find a piece of mail that *should* have passed
but was marked, so I have to adjust my rules and/or whitelist accordingly.
-- 
Kirk Strauser
In Googlis non est, ergo non est.

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



How do I block spam locally? (WAS: Re: Reacting to spam targettedto freebsd.org [was: Re: PLS GET BACK TO ME.])

2002-11-21 Thread Matt Smith
I agree, but how do I run spam filtering locally?  
As an average desktop user, I simply use a client to POP mail from a
server -- are there client plugins that filter for spam?  I currently
use Evolution, but am willing to change if there a spam filter plugins
for other clients.

As a slightly-more-than-average desktop user, I just figured out
fetchmail to fetch a POP3 account to my local sendmail (base system,
default install, set for local deliver only).  Is SpamAssassin the
best way to go?  Is it a plugin for Sendmail?  If I'm going to start
messin' with my local MTA, should I try something besides Sendmail?  The
config options of Sendmail are somewhat daunting -- it seems like an
SMTP handler should be simpler.

Thoughts?

Thanks all,

-Matt
On Thu, 2002-11-21 at 09:47, Kirk Strauser wrote:
 At 2002-11-21T14:00:56Z, Yann Golanski [EMAIL PROTECTED] writes:
 
  Would it be possible for the owners of the lsit to install something
  like SpamAssassin so that those messages actually don't get to us? 
 
 Erm, I'm roughly 99.999% against that idea.  What if someone's writing to
 ask how to secure their FreeBSD box that's currently being used as a spam
 relay (and is on many blackhole lists)?
 
 For what it's worth, I run SpamAssassin locally, and use it to *mark*
 possible spams, but never drop them.  Then I configured my client to filter
 based on the `X-Spam-Status' header into a spam folder that I periodically
 check.  Once a month or so, I find a piece of mail that *should* have passed
 but was marked, so I have to adjust my rules and/or whitelist accordingly.
-- 
Matt Smith [EMAIL PROTECTED]


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



Re: yahoo IM crashing for anyone else?

2002-11-21 Thread Jim Arnold
On Wed, Nov 20, 2002 at 09:18:50PM -0800, Jim Arnold wrote:


 About three days again Gaim started crashing on me
 with  a vengeance with a signal 6. It appears to be
 related to Yahoo. As a test I installed ymessanger and
 it too is crashing just as often.


Gaim had a bug that was causing a segfault with yahoo. It was fixed in
the latest version, so upgrade to 0.59.6. I can't explain why ymessenger
was crashing.


I am already running 0.59.6. Sorry, I should have posted that.

Jim



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



Hard drive woes.. (itronix)

2002-11-21 Thread Paul Halliday
I am trying to install free on this machine, as I have no
floppy/cdrom for this box I am restricted to installing via another laptop
then swapping the drive back.

Boot goes fine until:
ata0-master: no status, reselecting device
ata0-master: timeout sending command=ec s=ff e=00
ata0-master: ata identify failed

For fun I tried NetBSD and the machine boots fine. For reference under

FreeBSD the drive appears as:

wdc0 at isa0 port 0x1f0-0x1f7 irq14
wd0 at wdc0 channel 0 drive 0:(IBM-DDLA-21620)
wd0: drive supports 16 sector PIO transfers, LBA addressing
wd0: 1551MB, 3152 cyl, 16 heads, 63 sec, 512 bytes/sect x 3177216 sectors
wd0: drive supports PIO mode 4, DMA mode 2

NetBSD sees it as:

wdc0 at isa0 port 0x1f0-0x1f7 irq 14
wd0 at wdc0 channel 0 drive 0: IBM-DBCA-204860
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 4645 MB, 10068 cyl, 15 head, 63 sec, 512 bytes/sect x 9514260 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)

(i have installed it on a bigger drive recently, the errors were still
the same when i tried FreeBSD on both drives)

What is it that is restricting Free from booting while allowing netbsd
and openbsd to boot properly?

As much as I love NetBSD (shudder), I would really prefer to have
Free running on this machine.
Any ideas would be greatly appreciated.

Note: the bios on this machine, although updated is very limited to drive
specific configuration options so anything I do modify must be on the OS
end.

Paul Halliday.
http://dp.penix.org
---
And so your god bungled his work deliberately, in order to tempt or test
his creature - did he then not know, did he then not doubt what the result
would be?



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



Re: Dual-Boot Windows 2000 and FreeBSD 4.6

2002-11-21 Thread Jerry McAllister
 Hi,
 
 I have only one hard disk and I want to make a dual-boot Windows 2K and 
 FreeBSD. How can I do it?
 My first attempt had erased W2K. Is there a fix for this?
 Thanks for your help

Well, if you installed the FreeBSD over the top of the W2K slice, then
it is gone.  You will have to reinstall it.

To do a dual boot, you need at least two primary slices - one for
the W2k and one for FreeBSD.   

Then, you want to have the Microsloth stuff installed first - if you try 
to install it second, it will almost certainly ignore what you have already
installed and clobber it.   So, reinstall W2K if it has been wiped.

Now, you take the system with W2k installed and use a utility to shrink 
the W2k slice (MS stuff calls them partitions) and make room for a FreeBSD 
slice.  Then use the utility or the FreeBSD install utility (/stand/sysinstall 
which is what is running when you install from FreeBSD CD or install floppies) 
or use fdisk(8) to turn that freed up space in to a slice and install FreeBSD
on it.

The utility for shrinking W2K and other slice/partition management that
I am familier with is Partition Magic.  It works and isn't too expensive.
There are others, some even cheaper.  There are also freeware utilities
but the free ones I have seen can't handle NTFS type files systems and
that is probably what your W2k is using.   Partition Magic has pretty
good instructions with it, but it uses all MS terminology, so slices
become partitions and it doesn't know about UNIX partitions.

Now, if you did properly create a slice for FreeBSD and installed FreeBSD
in it and didn't wipe out the W2K, then maybe you only messed up the
slice table.  You might be able to use either Partition Magic or one
of the other utilities that manage disk slices/partitions to remake
the slice table without reinstalling anything.  

Good luck,

jerry

 
 --
 Visotheary RIVIERE-UNG
 CNRS UMR 7625
 Fonctionnements et Evolution
 des Systèmes écologiques
 (Bâtiment A, 7ème étage)
 7 Quai Saint-Bernard
 75252 Paris Cedex 05
 Tel: 01 44 27 25 70
 Email: [EMAIL PROTECTED]
 --

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



dhclient too verbose in /var/log/messages

2002-11-21 Thread David Kelly
For the last year or so something changed in dhclient and/or my ISP
resulting in dhclient being way too chatty with syslog and flooding
/var/log/messages with this about every 75 minutes, when my DHCP lease
is renewed:

Nov 21 05:43:00 Frisket dhclient: New Network Number: 24.214.110.0
Nov 21 05:43:00 Frisket dhclient: New Broadcast Address: 24.214.110.255

I don't see any ready way to configure dhclient to mute this output.

Placing a sed filter in /etc/syslog.conf would be one way to stifle the
chattyness but that should be the avenue of last resort. How might I
convince dhclient to be quiet and/or log elsewhere?

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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



Re: Dual-Boot Windows 2000 and FreeBSD 4.6

2002-11-21 Thread Kenzo
this is what I did.
created 2 partitions.
install win2k on the first partition
install freebsd on second partition
use freebsd boot manager
works great.

This is not the only way of doing it I believe.

- Original Message -
From: Visotheary Riviere-Ung [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 21, 2002 4:02 AM
Subject: Dual-Boot Windows 2000 and FreeBSD 4.6




Hi,

I have only one hard disk and I want to make a dual-boot Windows 2K and
FreeBSD. How can I do it?
My first attempt had erased W2K. Is there a fix for this?
Thanks for your help



--
Visotheary RIVIERE-UNG
CNRS UMR 7625
Fonctionnements et Evolution
des Systèmes écologiques
(Bâtiment A, 7ème étage)
7 Quai Saint-Bernard
75252 Paris Cedex 05
Tel: 01 44 27 25 70
Email: [EMAIL PROTECTED]
--


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


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



Re: perl version in -STABLE build

2002-11-21 Thread Lowell Gilbert
John Von Essen [EMAIL PROTECTED] writes:

 What system scripts cant't run under 5.8?

I don't know specifically, but *all* perl dependencies 
have been removed in FreeBSD 5.x.

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



Re: perl version in -STABLE build

2002-11-21 Thread Stijn Hoop
On Thu, Nov 21, 2002 at 09:04:10AM -0500, Jonathan Arnold wrote:
 branch.  Note, however, that on 4.x there's no problem with keeping
 5.8 installed from ports, and the default system perl in its usual
 place. There's a nice mechanism installed for choosing between them 
 at will. 
 
 And that would be ... ?

See /usr/ports/lang/perl5.8/pkg-message.

HTH,

--Stijn

-- 
What if everything you see is more than what you see -- the person next to
you is a warrior and the space that appears empty is a secret door to another
world? What if something appears that shouldn't? You either dismiss it, or you
accept that there is much more to the world than you think. Perhaps it really
is a doorway, and if you choose to go inside, you'll find many unexpected
things.
-- Shigeru Miyamoto



msg09617/pgp0.pgp
Description: PGP signature


Re: perl version in -STABLE build

2002-11-21 Thread Lowell Gilbert
Jonathan Arnold [EMAIL PROTECTED] writes:

  branch.  Note, however, that on 4.x there's no problem with keeping
  5.8 installed from ports, and the default system perl in its usual
  place. There's a nice mechanism installed for choosing between them
  at will.
 
 And that would be ... ?

use.perl.  
When you install the port, you get a message about it.

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



FreeBSD ISO Images

2002-11-21 Thread Odhiambo Washington


I must have missed this. Or simply dump. period.

It looks like there is no more ISO image to burn to a CD since 4.6.2??
Why are there 2 disk images? I burnt a 4.7-disc1.iso and it fails to
boot - no kernel...




-r--r--r--   1 3usit 582746112 Nov 17 00:23 5.0-DP2-disc1.iso
-r--r--r--   1 3usit 312606720 Nov 17 00:21 5.0-DP2-disc2.iso
-r--r--r--   1 3usit  118 Nov 17 00:35 CHECKSUM.MD5

-r--r--r--   1 3usit 27192 Apr  7  2002 5.0-DP1-disc2.iso
-r--r--r--   1 3usit 675971072 Apr  7  2002 5.0-DP1-install.iso
-r--r--r--   1 3usit  180 Aug 15 03:55 CHECKSUM.MD5



-r--r--r--   1 3usit 657457152 Aug 15 16:32 4.6.2-disc1.iso
-r--r--r--   1 3usit 234094592 Aug 15 03:24 4.6.2-disc2.iso
-r--r--r--   1 3usit  114 Aug 15 17:57 CHECKSUM.MD5




-Wash

-- 
Odhiambo Washington   [EMAIL PROTECTED]  The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com  Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922 so I installed FreeBSD.   
GSM: +254 72 743223   +254 733 744121   This sig is McQ!  :-)


Psychiatrists say that one out of four people are mentally ill.  Check
three friends.  If they're OK, you're it.

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



How to monitor user commands

2002-11-21 Thread Olivier
Hello,

Here is my problem : I have a FreeBSD box with a couple shell accounts, 
accessible through ssh. I would like to be able to monitor the commands some 
users are issuing, and be noticed about when they log, how long and what they
do, e.g by mail. I know 'w','last','lastcomm', etc.. but those don't exactly
suit my needs. I could examine those users' .bash_history files but this is
easy to overcome, they could 'export HISTFILE=/dev/null' whenever they login.
So I need something more reliable...
Is there any tool in the ports that could do that? Or has anybody done 
any script or something that would help me?
Thanks a lot for any ideas

Olivier
~ 

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



Adding new disk as the primary.

2002-11-21 Thread Ihsan Junaidi Ibrahim
Hello all,

My disk is getting full and I'm thinking of getting bigger and faster disk to 
accomodate my installation. I do not want to do reinstallation and prefer to 
export previous settings in the present disk. There's too many of them that I 
have to customize and I hate to redo it all. The present disk will serve as  
/usr/ports partition and the rest will be placed on the upcoming disk. 

Is there a way to do this or do I have to do a reinstallation?

Thank you in advance.
__
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com

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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Andrew Y Ng

On Wed, 2002-11-20 at 23:13, Andy Sparrow wrote:
  yeah, i have BIOS in AUTO, I was able to boot to the harddrive with a
  cdrom by using 0:da(0,a)/kernel, but the harddrive's boot0 booter
  couldn't boot it on its own.
  
  Since I can boot to it, the BIOS should have correct setting for the
  drive right?
 
 IME, it's entirely possible for FreeBSD to have a bogus idea of the 
 geometry which prevents booting from the drive (the last 5-6 large 
 drives I've set up on machines with old BIOS'es have done this if I 
 don't create an M$DOS partition from M$ FDISK first - you can even 
 delete it in 'sysinstall', it just forces the correct geometry when the 
 disk is read in 'sysinstall', IIUC), but you can load the boot stuff 
 just fine from (e.g.) CD-ROM and then boot the kernel off the drive...
 
 I presume that this is because the BIOS can boot the CD, and the 
 CD-loaded boot stuff has the same bogus idea of the geometry, and can 
 then load the kernel

That makes sense.

 
 However, if you have /ever/ booted FreeBSD directly from this HDD, then 
 this probably isn't what happened (the geometry shouldn't change, and it 
 was valid once).

and Yes, before I swapped drives, I was able to boot FreeBSD without any
problems.

 For some reason, some part of the boot stuff got lunched, and you 
 probably just need to re-write it. My firewall box did this once after a 
 power-cycle, I have no idea why.

Right, I think the power management stuff might've screwed up the MBR. I
tried rewriting it with boot0cfg per suggestions by Giorgos Keramidas,
but no luck.

 I don't recall what I did to get around this now, it was either
  
   disklabel -B da0s1 auto
 
 or
   boot0cfg -d 0x80
 
 or something like that... 'man boot' would be a good place to start. :-)
 
 Disclaimer: it's your disk, not mine. Take appropriate precautions, 
 including treating the above advice with some caution (I think I was on 
 4.4-STABLE when I did the above, but it *was* some time ago)...
 
 In particular, if I were in your position, I think I'd be inclined to 
 wait and see if someone chimes in with a response of 
 NN! to the above advice :-

Yeah, I booted it off with a CDROM, and I dont reboot my laptop very
often, so it's not that bad (not like it's a server or anything). I
hoping one of you guys would know what to do.

I'm wondering if I can just get rid of the booter, I only have one OS on
my FreeBSD drive, so it doesn't really make sense to have a booter with
only one option, I don't know, but when I had NetBSD I didn't even have
a booter. How do I get right of boot0?

-- 
andrew y ng  [EMAIL PROTECTED]  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





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


Re: FreeBSD ISO Images

2002-11-21 Thread Anand Buddhdev
On Thu, Nov 21, 2002 at 06:48:28PM +0300, Odhiambo Washington wrote:

 I must have missed this. Or simply dump. period.
 
 It looks like there is no more ISO image to burn to a CD since 4.6.2??

Sure there is. Which server were you looking at, and which directory?

 Why are there 2 disk images? I burnt a 4.7-disc1.iso and it fails to
 boot - no kernel...

The image you burnt must be bad. And you only need the first CD; the
rest of the CDs contain extra packages, but you can install FreeBSD 4.7
from just the first CD.

-- 
Anand Buddhdev
http://anand.org

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



jumpy optic mouse

2002-11-21 Thread Dave McCammon
 
 

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: How do I block spam locally? (WAS: Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.])

2002-11-21 Thread Roman Neuhauser
don't top-post please.

# [EMAIL PROTECTED] / 2002-11-21 10:00:43 -0500:
 I agree, but how do I run spam filtering locally?  
 As an average desktop user, I simply use a client to POP mail from a
 server -- are there client plugins that filter for spam?  I currently
 use Evolution, but am willing to change if there a spam filter plugins
 for other clients.

Unless Evolution can't grok usual mail formats (mbox, Maildir),
you'll want to do something like:

POP3 client - spam filter - disk - MUA

(note that you use Evolution to do both sides of the graph)

you don't need to change your MUA.
 
 As a slightly-more-than-average desktop user, I just figured out
 fetchmail to fetch a POP3 account to my local sendmail (base system,
 default install, set for local deliver only).  Is SpamAssassin the
 best way to go?  Is it a plugin for Sendmail?  If I'm going to start
 messin' with my local MTA, should I try something besides Sendmail?  The
 config options of Sendmail are somewhat daunting -- it seems like an
 SMTP handler should be simpler.

you don't need fetchmail to reinject the messages to sendmail just
to get them stored on the disk.

sorry for being this terse, i'm short on time.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Matthew Seaman
On Thu, Nov 21, 2002 at 10:23:40AM -0600, Andrew Y Ng wrote:

 I'm wondering if I can just get rid of the booter, I only have one OS on
 my FreeBSD drive, so it doesn't really make sense to have a booter with
 only one option, I don't know, but when I had NetBSD I didn't even have
 a booter. How do I get right of boot0?

fdisk -B -b /boot/mbr ad0

(or da0 if you've got a SCSI hard drive).  Do make sure you make a
note of the output of 'fdisk -v' before you begin, in case of
accidents.

Cheers,

Matthew

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

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



jumpy optic mouse

2002-11-21 Thread Dave McCammon
Anyone got a fix for a jumpy optic mouse in X
It is a PS/2 Labtec Optical Mouse.

Works fine in Win2k. Generic PS/2 worked fine before 
I switched.
probed at boot as:
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model 4D+ Mouse, device ID 8

Freebsd 5.0-current Nov 19.
Latest Xfree4 from ports
(in Xfree config under Mouse0)
Option  Protocol Auto
Option  Device /dev/psm0
have tried sysmouse as protocol--didnt' work
have tried PS/2 as protocol--didn't work.
have tried /dev/sysmouse as device--didn't work
have tried above both (sysmouse,
/dev/sysmouse)together--didn't work
have tried above with moused_enable=YES in rc.conf
which didn't work


Thanks.

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev
 Works fine in Win2k. Generic PS/2 worked fine before 
 I switched.
 Option  Protocol Auto
 Option  Device /dev/psm0

There are two XFree86Config files. Maybe you are modifying the wrong one.
Just a guess...




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



How to Start the Random Number Generator

2002-11-21 Thread Martin McCormick
I need to run the application dnssec-keygen which uses
/dev/random to generate keys for signing domain name server
transactions.

If I run it on any of the FreeBSD systems I have set up
which are all running Version 4.5 or 4.7, this application hangs
due to lack of entropy, or at least that is one reason.

I was directed to use rndcontrol to turn on various
interrupts in the random number generator such as the keyboard
and IDE controller interrupts and
the system would start to build an entropy pool.  Rndcontrol
showed me that there were no interrupts being sampled right now
so I told it to look at IRQS 3, 14 and 15.

the man page in section 4 for random mentions a seed to
get everything started, but I can't seem to find any other
information to cause /dev/random to spit out data yet.  The
dnssec-keygen application still hangs so I am obviously missing
some step.

/dev/random does exist on the systems in question and
seems to return a null which is not what it is supposed to be
doing.

What else should I look at?

Thank you.

Martin McCormick

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



Re: jumpy optic mouse

2002-11-21 Thread Dave McCammon

--- Kliment Andreev [EMAIL PROTECTED] wrote:
  Works fine in Win2k. Generic PS/2 worked fine
 before 
  I switched.
  Option  Protocol Auto
  Option  Device /dev/psm0
 
 There are two XFree86Config files. Maybe you are
 modifying the wrong one.
 Just a guess...

With one modification to /etc/X11/XF86Config I had
created a bigger problem(X died completely) so I
presumed that was the place.
Where is the other file?

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: [OT] Spare mailservers

2002-11-21 Thread Len Conrad


We are now adding a second mailserver (20 MX) to our configuration,
which will forward mail to the main mailserver (10 MX) through
mailertable. A third one will be added as soon as we grow as we now
expect. To avoid having to edit all the DNS zones again then


why do that? are you running MS DNS?

If you're running BIND, use $INCLUDE, aggressively, in all your zone files.

Len


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



Re: Adding new disk as the primary.

2002-11-21 Thread Ruben de Groot
On Thu, Nov 21, 2002 at 11:59:27PM +0800, Ihsan Junaidi Ibrahim typed:
 Hello all,
 
 My disk is getting full and I'm thinking of getting bigger and faster disk to 
 accomodate my installation. I do not want to do reinstallation and prefer to 
 export previous settings in the present disk. There's too many of them that I 
 have to customize and I hate to redo it all. The present disk will serve as  
 /usr/ports partition and the rest will be placed on the upcoming disk. 
 
 Is there a way to do this or do I have to do a reinstallation?

You don't have to reinstall. 

1) Boot the system with the new disk as a secundary disk, eg. ad2
2) use /stand/sysinstall to partition the new disk and put a bootmanager on it
3) newfs the partitions (this can also be done from sysinstall)
4) Use dump/restore to copy the content of your old disk to the newer; eg:
# mount /dev/ad2s1a /mnt
# cd /mnt
# /sbin/dump -0af - / | /sbin/restore -rf -
(repeat for other partitions)
5) remove old disk, replacing with new disk.

 
 Thank you in advance.
 __
 Do You Yahoo!?
 Sign up for SBC Yahoo! Dial - First Month Free
 http://sbc.yahoo.com
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 

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



Re: [OT] Spare mailservers

2002-11-21 Thread Marc Schneiders
On Thu, 21 Nov 2002, at 16:53 [=GMT+0100], Len Conrad wrote:

 We are now adding a second mailserver (20 MX) to our configuration,
 which will forward mail to the main mailserver (10 MX) through
 mailertable. A third one will be added as soon as we grow as we now
 expect. To avoid having to edit all the DNS zones again then

 why do that? are you running MS DNS?

No, but the people I am working for right now, have a primary running
NT. And editing remotely is a pain in the ass. So slw.



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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev
 With one modification to /etc/X11/XF86Config I had
 created a bigger problem(X died completely) so I
 presumed that was the place.
 Where is the other file?

/usr/X11R6/lib/X11/XF86Config 


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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Andy Sparrow

 I'm wondering if I can just get rid of the booter, I only have one OS on
 my FreeBSD drive, so it doesn't really make sense to have a booter with
 only one option, I don't know, but when I had NetBSD I didn't even have
 a booter. How do I get right of boot0?

Well, you could overwrite boot0 with the plain MBR that just boots the 
first partition on the machine. That's what this laptop does...

I know which option that is in 'sysinstall' :)

Looks to me like you'd use boot0cfg or diskinstall with /boot/mbr as the 
boot0 file instead of boot0.

However, if you're seeing the 'F1' message, that /is/ boot0. I'd guess 
that it's boot1 or something later in the sequence that isn't working 
for you.

HTH.

Regards,

AS



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



DHCP Question

2002-11-21 Thread Thomas M. Skeren III
I don't know if this is the palce to go for help, but here goes.

I have freeb running on a machine with 3 NICS-fxp0, dc0, rl0.  I want to 
run DHCP on fxp0 and dc0-the LAN side of the network.  I wrote the conf 
file, and it works for fxp0, but I get an odd error message when I try 
to bring up dhcpd on dc0.  The message is dc0 exceeds max (255) for 
precision .
Anyone have any ideas what might cause this error?

Any help would be appreciated.

Thanks
TMS III





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


Pptpd , HDCP and LDAP or SQL authentication

2002-11-21 Thread Marcin M. Jessa
Hi guys.

Finally I managed to successfully setup mpd allowing me to access the other side of 
the VPN link. Thanks a lot for your suggestions.
I have three remining questions before I will make a HowTo out of my experience.
1. How can I enable access to the whole LAN on the other side of my VPN link allowing 
users to browse it.
2. How to run DHCP over mpd's tunnel?
3. Do you know if there is a way to authenticate pptpd users with LDAP or SQL instead 
of the mpd.secret text file?

Any suggestions and comments are welcome.

Cheers.
YazzY













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



Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Miguel Mendez
On 21 Nov 2002 08:47:40 -0600
Kirk Strauser [EMAIL PROTECTED] wrote:

Hi,

 Erm, I'm roughly 99.999% against that idea.  What if someone's writing
 to

What about the other 0.001 percent? :)

 ask how to secure their FreeBSD box that's currently being used as a
 spam relay (and is on many blackhole lists)?

It's not that a bad idea, honestly, just don't use the default 5
theshold, but a higher one.
 
 For what it's worth, I run SpamAssassin locally, and use it to *mark*
 possible spams, but never drop them.  Then I configured my client to
 filter based on the `X-Spam-Status' header into a spam folder that I
 periodically check.  Once a month or so, I find a piece of mail that
 *should* have passed but was marked, so I have to adjust my rules
 and/or whitelist accordingly.-- 

I also have postfix hand mail to spamassassin before it's delivered to
cyrus. However, I found it even better to permban several (useless for
me) TLDs at the firewall level (*.es *.kr *.cn *.tw and several
southamerican countries) I'm aware you can't do that on a server like
FreeBSD's, but found it extremely useful on my own one. I, personally,
have never recieved a legit mail from any of those countries.

The spam problem is a touchy one, but I'm sure some meassures are taken
at the server level for the mailing lists. I once heard a SPAM attempt
hits the FreeBSD mail servers once a second.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!

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



Re: Portsupgrade -uU

2002-11-21 Thread Kent Stewart


Kris Kennaway wrote:

On Thu, Nov 21, 2002 at 01:28:45PM +0700, Roger Merritt wrote:


At 02:04 AM 11/21/02, you wrote:


On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:


When running portsupgrade -uU I get the output below.  How can I fix 

these


malformed entries, non-existent entries and incomplete dependencies?
Running pkgdb -F shows everything to be fine.


If you're running portsdb -Uu, you *don't*. It's up to port
maintainers to fix the problem with the port entries. Most of the
output are just warnings (intended for maintainers).




INDEX builds shouldn't have any warnings if you perform them in a
clean environment.  Either your ports collection is out of date
(i.e. in an inconsistent state) or the index build is picking up
things from the host environment like installed ports,
WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
portupgrade..someone should investigate and report it to the author.


I thought that I have a clean environment. There are no 
WITH_*/WITHOU_* variables in my /etc/make.conf. I just finished doing 
a portupgrade -aufp and still get them.

About the only time I don't see them, is right before a release and 
you are building iso's. The messages are real. For example, I see 
messages like

p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete
p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete

and the INDEX that is built has no r-deps. The Makefile sets r-deps to
RUN_DEPENDS=${BUILD_DEPENDS}
but I have a b-deps with entries and a R-deps: with no entry.

One thing I have noticed is that most of them have a PKGNAMEPREFIX= 
p5- syntax.

I have thought about hiding them but considered that similar to 
redirecting my buildworld to  /dev/null and then doing an installworld.

Kent

--
Kent Stewart
Richland, WA

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


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


passwords in /etc/group

2002-11-21 Thread Sergey Matveychuk
Hello.

How can I use password in /etc/group?
If I can't, why man groups keep silence about it?


Sem.


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



please help: how do I replace words

2002-11-21 Thread adrian kok
Hi all

I have problem to replace words 
from 192.168.0.1 to 172.16.0.1 in file abc.com

file content:
abc.com   192.168.0.1
localhost.abc.com 127.0.0.1

I tried:

sed -n 's/192.168.0.1/172.16.0.1/w abc.com.tmp'
abc.com

file abc.com.tmp
only shows l line
abc.com   172.16.0.1
and missing localhost.abc.com 127.0.0.1



I tried and it is same!
sed -n 's/192.168.0.1/172.16.0.1/gw abc.com.tmp'
abc.com

I can't use perl because the sed is within shell
script

TIA















___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Chris Dillon
On Wed, 20 Nov 2002, Andrew Y Ng wrote:

 Hi all, I shutdown FreeBSD and changed my harddrive and booted up
 Win2K this morning (needed Windoze for something real quick). I put
 the FreeBSD harddrive back and it wouldn't boot, it got stuck at the
 F1 boot0 prompt.  Like it couldn't find the MBR or something. How do
 I get it to boot again?

 This is weird. Maybe I didn't shut it down correctly this morning.

I encountered the same kind of weirdness when I was trying to build a
FreeBSD-based firewall for somebody and un-plugged my normal drive(s)
which have Windows XP and FreeBSD installed on them and then proceeded
to do a fresh FreeBSD 4.7 installation on a new lone disk.  Once
finished, it wouldn't boot.  I would get Operating system missing
with the standard boot sector installed, and with the boot manager
installed, it would hang after F1.  Using the install CD boot-loader,
I could unload the CD kernel and load /kernel off of the newly
installed drive and start to boot it, but it would hang immediately
after issuing 'boot'.  So, I try a completely different hard drive (a
little bigger and newer, but only a 10GB drive), do a 4.7 installation
on it, and it worked.  Then I re-installed on the same drive, and it
DIDN'T work.  Nothing changed in the BIOS or hardware, just a
re-install.  I tried re-installing over and over again with different
boot options and different ways of partitioning it.  I tried with both
4.6 and 4.7 releases, thinking maybe there was some kind of bootloader
breakage in 4.7.  No go.

What type of IDE controller are you using?  I was using a Promise 133
TX2 add-on card.  I tried the on-board ATA33 (PIIX4) controller on my
system, and encountered the same problem, though I never actually
completely removed the add-on card.  It is possible the Promise BIOS
was causing problems even though it claimed it didn't load since I
didn't have any devices attached to the card.  I racked my brain with
that problem for hours and finally gave up.  Luckily when I plugged my
regular drives back in XP and FreeBSD booted up just fine on those.

One thing I probably should have tried was to dd a bunch of zeroes
over the first few MB of the drive so that I'd be starting with a
fresh drive before installation.

--
 Chris Dillon - cdillon(at)wolves.k12.mo.us
 FreeBSD: The fastest and most stable server OS on the planet
 - Available for IA32 (Intel x86) and Alpha architectures
 - IA64, PowerPC, UltraSPARC, ARM, and S/390 under development
 - http://www.freebsd.org

No trees were harmed in the composition of this message, although some
electrons were mildly inconvenienced.



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



Re: jumpy optic mouse

2002-11-21 Thread Dave McCammon
In the /usr/X11R6/lib/X11/ directory, I only have
example config files. One is XF86Config.98 and the
other is XF86Config.eg.

--- Kliment Andreev [EMAIL PROTECTED] wrote:
  With one modification to /etc/X11/XF86Config I had
  created a bigger problem(X died completely) so I
  presumed that was the place.
  Where is the other file?
 
 /usr/X11R6/lib/X11/XF86Config 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of
 the message


__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Re: please help: how do I replace words

2002-11-21 Thread Norbert Koch
adrian kok [EMAIL PROTECTED] writes:

 I tried:

 sed -n 's/192.168.0.1/172.16.0.1/w abc.com.tmp'
 abc.com

 file abc.com.tmp
 only shows l line
 abc.com   172.16.0.1
 and missing localhost.abc.com 127.0.0.1

sed 's/192.168.0.1/172.16.0.1/' abc.com  abc.com.tmp

norbert.

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



Re: Performance degration of moving FFS hdd from a slow to a fast pc.

2002-11-21 Thread Dan Nelson
In the last episode (Nov 21), BigBrother (BigB3) said:
 I have a question about FFS filesystem.
 
 According to a paper about the design of UFS filesystem[1], if you
 create the FFS filesystem on a slow cpu and then move it to a fast
 cpu with a fast controller, theh the FFS wont perform efficient.
 
 This is justified because when the UFS is created having in mind the
 speed of the system, in order to create the cyllinder group summary
 information with optimal rotationally blocks [see page 7 of the
 paper]. If somebody takes the hdd of the slow pc and put it on a much
 faster pc, then it is reported that the throughput will drop
 significantly because of lost disk revolutions.
 
 I would like to know if this is true. Can I move my hdd of my old
 slow pc [intel 486] to a pentium III 600Mhz machine without
 performance penatly, or its better to re-create the filesystem?

Those optimizations were long since removed from the FFS code.  The old
C/H/S style of disk layout hasn't been used in 10 years (which means
that FFS's logical cylinder groups do not correspond with the physical
sylinders on the hard drive anymore), and CPUs are so fast that there
is no need to compensate for a slow CPU anymore.

You can put the disk in a faster PC and it will work optimally.

-- 
Dan Nelson
[EMAIL PROTECTED]

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



Re: please help: how do I replace words

2002-11-21 Thread John Von Essen
Use the following with the -e option, not the -n option:

sed -e 's/192.168.0.1/172.16.0.1/g' in-file  out-file

With in-file containing:
abc.com   192.168.0.1
localhost.abc.com 127.0.0.1

And resulting out-file containing:
abc.com   172.16.0.1
localhost.abc.com 127.0.0.1



-John Von Essen


On Thursday, November 21, 2002, at 02:23 PM, adrian kok wrote:


Hi all

I have problem to replace words
from 192.168.0.1 to 172.16.0.1 in file abc.com

file content:
abc.com   192.168.0.1
localhost.abc.com 127.0.0.1

I tried:

sed -n 's/192.168.0.1/172.16.0.1/w abc.com.tmp'
abc.com

file abc.com.tmp
only shows l line
abc.com   172.16.0.1
and missing localhost.abc.com 127.0.0.1



I tried and it is same!
sed -n 's/192.168.0.1/172.16.0.1/gw abc.com.tmp'
abc.com

I can't use perl because the sed is within shell
script

TIA















___
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk

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


Do:




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



Re: jumpy optic mouse

2002-11-21 Thread Kliment Andreev

 In the /usr/X11R6/lib/X11/ directory, I only have
 example config files. One is XF86Config.98 and the
 other is XF86Config.eg.

So you have one XF86Config file. Check this also, it might help.

http://www.xfree86.org/4.0.1/XF86Config.5.html



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



Re: jumpy optic mouse

2002-11-21 Thread Dave McCammon

--- Kliment Andreev [EMAIL PROTECTED] wrote:
 
  In the /usr/X11R6/lib/X11/ directory, I only have
  example config files. One is XF86Config.98 and the
  other is XF86Config.eg.
 
 So you have one XF86Config file. Check this also, it
 might help.
 
 http://www.xfree86.org/4.0.1/XF86Config.5.html
 
This worked but a little bit of a hassle.
With X running-plugged in a working PS/2 scroll mouse-
hit the CTL-ALT-BKSP to restart X.
The mouse worked fine. Unplugged working PS/2 scroll
mouse-plugged in PS/2 optic mouse-hit the CTL-ALT-BKSP
and now optic mouse works fine.
hm. Any suggestion why?

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



artsd ogle

2002-11-21 Thread Peter J. Blok
Hi,

I am trying to make ogle work, but it bails out /dev/dsp being busy. Turns out 
that artsd has it still open. When I kill artsd, ogle works fine.

It used to work very well, but (I think) since I did a portupgrade from 
arts-1.0.3 to arts-1.0.4_1 it stopped working.

My question: does artsd need to keep /dev/dsp open all the time? Should ogle 
be able to open /dev/dsp at the same time and not get an error while opening 
it?

I am not a member of this list, so please reply to me as well.

Peter

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



Re: Confirmation: ext2fs requires kernel rebuild?

2002-11-21 Thread David Schultz
Thus spake Chris Pepper [EMAIL PROTECTED]:
  even into GENERIC.  To do the latter, the module must exist;
  it will be created if you make the kernel with -DWANT_EXT2FS_MODULE.
  It is also installed by sysinstall, IIRC.
 
[...]
 
 Hmm...I think you're right.  I don't see any documentation for the
 option.  I would just as soon hook the module up to the default
 build like all the other modules, but maybe the license is an issue.
 
   I think it's off by default for stability, but would like to 
 submit a patch to the LABI Handbook chapter  linking to a discussion 
 of the FS module. Unfortunately, I haven't yet found a URL that 
 describes it.

Thus spake Giorgos Keramidas [EMAIL PROTECTED]:
 The license *is* an issue.  Distributing kernels that by default
 include GPL'ed code can have many complications for people who make
 commercial applications based on FreeBSD source.

I'm not talking about linking ext2fs support into the kernel by
default, I'm talking about just *creating* the module by default.
See previous discussion.  Stability isn't an issue, except for
people who explicitly load the module.  I'm aware of the problems
with linking GPL'd code into the kernel, but that's not what is
being discussed here.  The license would only be a problem if
there are legal or religious reasons against people building
binaries that *could* be linked into the kernel.

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



Re: jumpy optic mouse

2002-11-21 Thread david
On Thursday 21 November 2002 15:08, Dave McCammon wrote:
 --- Kliment Andreev [EMAIL PROTECTED] wrote:
   In the /usr/X11R6/lib/X11/ directory, I only have
   example config files. One is XF86Config.98 and the
   other is XF86Config.eg.
 
  So you have one XF86Config file. Check this also, it
  might help.
 
  http://www.xfree86.org/4.0.1/XF86Config.5.html

 This worked but a little bit of a hassle.
 With X running-plugged in a working PS/2 scroll mouse-
 hit the CTL-ALT-BKSP to restart X.
 The mouse worked fine. Unplugged working PS/2 scroll
 mouse-plugged in PS/2 optic mouse-hit the CTL-ALT-BKSP
 and now optic mouse works fine.
 hm. Any suggestion why?

Mine did this too. If I didn't unplug it, plug it back in then start X it was 
horribly messed. I just got a different mouse. :/


 __
 Do you Yahoo!?
 Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com

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


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



Re: rxvt slow startup after installing xfstt

2002-11-21 Thread parv
in message 000b01c29160$7c5c8000$[EMAIL PROTECTED],
wrote Nils Nordén thusly...

 I'm using rxvt 2.6.4_1 and it's working great...
 until I install xfstt 1.1_1.
...
 I'm using Freebsd 4.7-release on XFree86 4.2.1.

just curious: isn't xfs support built in XFree86 4.2.1 enough (so
that you see the need of using xfstt)?


  - parv

-- 


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



Re: Find abandoned packages

2002-11-21 Thread Gary W. Swearingen
Liquid [EMAIL PROTECTED] writes:

 If you check out /var/db/pkg it lists what ports are installed
 essentially.  I don't know how to tell whether or not it?s a dependency
 though, so maybe someone else can answer that.  I'd like to know that
 too come to think of it.

Please keep non-ASCII characters out of list mail; we're not all
MSFT-compliant, yet.  (The ? above was a byte valued 222, octal.)
From more info: http://www.cs.tut.fi/%7Ejkorpela/www/windows-chars.html

Back to the question:  The following is from my ports notes.  It doesn't
solve the problem, but should provide some clues.  Try just pkg_tree -v.

-- To make list of ports listed from most-dependent to not dependent 
(best make order).

pkg_tree -v | sed -e 's/\\__/   /' | tr '|' ' ' | sort -u | tr -d ' ' |/tmp/pkgup

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



Re: Portsupgrade -uU

2002-11-21 Thread Kent Stewart


Kent Stewart wrote:



Kris Kennaway wrote:


On Thu, Nov 21, 2002 at 01:28:45PM +0700, Roger Merritt wrote:


At 02:04 AM 11/21/02, you wrote:


On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:


When running portsupgrade -uU I get the output below.  How can I fix 


these


malformed entries, non-existent entries and incomplete dependencies?
Running pkgdb -F shows everything to be fine.



If you're running portsdb -Uu, you *don't*. It's up to port
maintainers to fix the problem with the port entries. Most of the
output are just warnings (intended for maintainers).





INDEX builds shouldn't have any warnings if you perform them in a
clean environment.  Either your ports collection is out of date
(i.e. in an inconsistent state) or the index build is picking up
things from the host environment like installed ports,
WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
portupgrade..someone should investigate and report it to the author.



I thought that I have a clean environment. There are no WITH_*/WITHOU_* 
variables in my /etc/make.conf. I just finished doing a portupgrade 
-aufp and still get them.

About the only time I don't see them, is right before a release and you 
are building iso's. The messages are real. For example, I see messages like

p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete
p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete

and the INDEX that is built has no r-deps. The Makefile sets r-deps to
RUN_DEPENDS=${BUILD_DEPENDS}
but I have a b-deps with entries and a R-deps: with no entry.

One thing I have noticed is that most of them have a PKGNAMEPREFIX= 
p5- syntax.

I have thought about hiding them but considered that similar to 
redirecting my buildworld to  /dev/null and then doing an installworld.

I have done some experimenting and what I see using net-ssh-perl for 
the test is the following:

portsdb -uU
make search name=Net-SSH-Perl
Port:   p5-Net-SSH-Perl-1.23
Path:   /usr/ports/net/p5-Net-SSH-Perl
Info:   Perl5 module implements both the SSH1 and SSH2 protocols
Maint:  [EMAIL PROTECTED]
Index:  net perl5
B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
p5-Crypt-Random-1.11 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
p5-Digest-SHA1-2.01 p5-MIME-Base64-2.12 p5-Math-Pari-2.010201
R-deps:

make index  portsdb -u
make search name=Net-SSH-Perl
Port:   p5-Net-SSH-Perl-1.23
Path:   /usr/ports/net/p5-Net-SSH-Perl
Info:   Perl5 module implements both the SSH1 and SSH2 protocols
Maint:  [EMAIL PROTECTED]
Index:  net perl5
B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 
p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 
p5-Math-Pari-2.010201 p5-String-CRC32-1.2
R-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 
p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 
p5-Math-Pari-2.010201 p5-String-CRC32-1.2

The only thing make index complained about was
Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0

Something is seriously wrong with the INDEX that portsdb -U generates.

Kent

--
Kent Stewart
Richland, WA

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


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


Re: nVidia drivers w/ 4.7-RELEASE

2002-11-21 Thread lewiz
On Thu, Nov 21, 2002 at 08:25:39AM +0530, Gautham Ganapathy wrote:
 Will the nvidia drivers work with 4.7-RELEASE? 4.7-STABLE won't have
 ISOs, right?

You need 4.7-STABLE to get the NVidia drivers working.  I don't know
exactly what -RELEASE is missing but I'm quite sure.  There are still
problems with them (they hang my machine all the time) so be prepared
for trouble.

-lewiz.

-- 
There's no future in time travel.

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg09657/pgp0.pgp
Description: PGP signature


Re: Portsupgrade -uU

2002-11-21 Thread Kris Kennaway
On Thu, Nov 21, 2002 at 12:58:44PM -0800, Kent Stewart wrote:

 INDEX builds shouldn't have any warnings if you perform them in a
 clean environment.  Either your ports collection is out of date
 (i.e. in an inconsistent state) or the index build is picking up
 things from the host environment like installed ports,
 WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
 portupgrade..someone should investigate and report it to the author.
 
 
 I thought that I have a clean environment. There are no WITH_*/WITHOU_* 
 variables in my /etc/make.conf. I just finished doing a portupgrade 
 -aufp and still get them.
 
 About the only time I don't see them, is right before a release and you 
 are building iso's. The messages are real. For example, I see messages like
 
 p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete
 p5-Net-SSH-Perl-1.23: non-existent -- dependency list incomplete
 
 and the INDEX that is built has no r-deps. The Makefile sets r-deps to
 RUN_DEPENDS=${BUILD_DEPENDS}
 but I have a b-deps with entries and a R-deps: with no entry.
 
 One thing I have noticed is that most of them have a PKGNAMEPREFIX= 
 p5- syntax.
 
 I have thought about hiding them but considered that similar to 
 redirecting my buildworld to  /dev/null and then doing an installworld.
 
 I have done some experimenting and what I see using net-ssh-perl for 
 the test is the following:
 
 portsdb -uU
 make search name=Net-SSH-Perl
 Port:   p5-Net-SSH-Perl-1.23
 Path:   /usr/ports/net/p5-Net-SSH-Perl
 Info:   Perl5 module implements both the SSH1 and SSH2 protocols
 Maint:  [EMAIL PROTECTED]
 Index:  net perl5
 B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
 p5-Crypt-Random-1.11 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
 p5-Digest-SHA1-2.01 p5-MIME-Base64-2.12 p5-Math-Pari-2.010201
 R-deps:
 
 make index  portsdb -u
 make search name=Net-SSH-Perl
 Port:   p5-Net-SSH-Perl-1.23
 Path:   /usr/ports/net/p5-Net-SSH-Perl
 Info:   Perl5 module implements both the SSH1 and SSH2 protocols
 Maint:  [EMAIL PROTECTED]
 Index:  net perl5
 B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
 p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 
 p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
 p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 
 p5-Math-Pari-2.010201 p5-String-CRC32-1.2
 R-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 
 p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 
 p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 
 p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 
 p5-Math-Pari-2.010201 p5-String-CRC32-1.2
 
 The only thing make index complained about was
 Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0

This one is because you have imlib installed, and freeciv auto-detects
this (unless you set WITHOUT_IMLIB or change PREFIX/X11BASE/LOCALBASE
to something bogus) and changes its package name (and configure
behaviour).  The duplicate comes because the freeciv-gtk port does the
same thing.

I use the /usr/ports/Tools/portbuild/scripts/makeindex script on bento
that takes care of everything to generate a clean INDEX..I probably
should fold this back into 'make index' itself.

 Something is seriously wrong with the INDEX that portsdb -U generates.

Yes, it appears so.  I've CC'ed knu@

Kris



msg09658/pgp0.pgp
Description: PGP signature


Re: Advantages over GNU/Linux?

2002-11-21 Thread lewiz
On Sat, Nov 16, 2002 at 07:45:21PM -0500, Lee Nelson wrote:
 P.S. if you need a virus scanner on FreeBSD check out
  VirusScan from Network Associates.  They have a
  command line scanner that integrates with Amavis
  and is very simple to install and update.
  Not affliated, just impressed.

This sounds interesting - can you provide any more details?

-lewiz.

-- 
What is wanted is not the will to believe, but the will to find out,
which is the exact opposite.
-- Bertrand Russell, Skeptical_Essays, 1928

--|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



msg09659/pgp0.pgp
Description: PGP signature


Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread Kris Kennaway
On Thu, Nov 21, 2002 at 02:00:56PM +, Yann Golanski wrote:
 Quoth Giorgos Keramidas on Thu, Nov 21, 2002 at 15:58:03 +0200
  This very spammer has hit the lists more than once, and every time I
  mailed {abuse|postmaster} at a2000.nl.  If they receive a few hundred
  messages for each spam message they let through they will certainly
  start acting fast :-)
 
 Would it be possible for the owners of the lsit to install something
 like SpamAssassin so that those messages actually don't get to us? 

The FreeBSD mail server ALREADY does a huge amount of spam filtering.
You're only seeing less than 1% of the spam that comes in.  The mail
server rejects about one spam *per second* to freebsd mailing lists.

Kris



msg09660/pgp0.pgp
Description: PGP signature


Re: How to Start the Random Number Generator

2002-11-21 Thread Kris Kennaway
On Thu, Nov 21, 2002 at 10:54:33AM -0600, Martin McCormick wrote:

   the man page in section 4 for random mentions a seed to
 get everything started, but I can't seem to find any other
 information to cause /dev/random to spit out data yet.  The
 dnssec-keygen application still hangs so I am obviously missing
 some step.

I can't see anything in the manpage that indicates this.  Certainly
you don't need to manually seed /dev/random for it to work correctly.

   /dev/random does exist on the systems in question and
 seems to return a null which is not what it is supposed to be
 doing.

Please run the following commands for me:

ls -l /dev/*random
rndcontrol
dd if=/dev/random bs=64 count=1 | od

Kris



msg09661/pgp0.pgp
Description: PGP signature


Re: passwords in /etc/group

2002-11-21 Thread Cliff Sarginson
On Thu, Nov 21, 2002 at 10:20:32PM +0300, Sergey Matveychuk wrote:
 Hello.
 
 How can I use password in /etc/group?
 If I can't, why man groups keep silence about it?
 
Probably because no-one uses them :)
What purpose do they serve ?
A System Manager can put the users in the appropriate groups
for their work.
I have never seen them used on any Unix system I have worked on,
and I seem to recall from some ancient documentation that they
are more trouble than they are worth.

-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: jumpy optic mouse

2002-11-21 Thread Dave McCammon

--- Gary W. Swearingen [EMAIL PROTECTED] wrote:
 Dave McCammon [EMAIL PROTECTED] writes:
 
  Anyone got a fix for a jumpy optic mouse in X
  It is a PS/2 Labtec Optical Mouse.
 
 How jumpy?  Do you just need to play with the mouse
 settings of xset?
Mouse will move normally, then, all of the sudden,
jump to left of screen or bottom left of screen.

 Mouse setup is fairly well documented.  I think most
 people configure
 moused to run the mouse and then tell X to use
 /dev/sysmouse instead
 of /dev/psm0.  Maybe you've got the two mouse
 drivers both going after
 /dev/psm0 or something.

Using moused and pointing X to sysmouse protocol and
/dev/sysmouse didn't work at all. Mouse became
extremely eratic.
Regular PS/2 mouse worked fine with same setup as I
have now. Optic PS/2 mouse has to be plugged in after
X is started with the regular PS/2 mouse.

__
Do you Yahoo!?
Yahoo! Mail Plus – Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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



Changing to/from user within script

2002-11-21 Thread Jeff Penn
Possibly a trivial question.

I want to run a cron job as a user on my system.  Once the job has
completed I need root privileges to power the system down.  I don't 
mind if the script has to run as a root cron job, but running the 
processing as a user will prevent against filling a partition. 

Can this be done without running two different cron jobs?.

thanks
Jeff

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



smc wireless adhoc

2002-11-21 Thread Bognr, Attila
Hello,

I have an smc2632w, smc2602w and asus spacelink wl-100 wireless
network cards. But I can't manage to get all three of them to
work together.

The configuration is following:
- 1 PC with smc2602w PCI card, freebsd 4.6 (gateway)
- 1 notebook with smc2632w PCMCIA card, win98
- 1 notebook with asus wl-100 PCMCIA card, winxp pro

What is working:

1. The ASUS card with access point

2. The ASUS card with an avaya card in adhoc mode

3. The ASUS card with an eagletec card in adhoc mode

4. The ASUS card with the smc2632w card in 802.11 adhoc mode
   (in the win98 utility, there is a simple adhoc mode, too)

5. The smc2632w card in adhoc mode with the smc2602w card
   configured with ifconfig ... mediaopt adhoc

What is not working:

1. The ASUS card with the smc2602w card (one time i could
   manage to make it work, but could not reproduce it)

2. The smc2602w card (configured with ifconfig ... mediaopt adhoc)
   with the smc2632w card configured in 802.11 adhoc mode
   in the provided win98 utility

3. The three cards together.


I think if I could configure the smc2602w card to 802.11 adhoc
mode, it could work (what is the difference between 802.11 adhoc and
adhoc mode?).

What other suggestions do you have?


thank you very much,

attila bognr




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



Re: nVidia drivers w/ 4.7-RELEASE

2002-11-21 Thread Kenneth Culver
I had them working just fine on -RELEASE.

Ken

On Thu, 21 Nov 2002, lewiz wrote:

 On Thu, Nov 21, 2002 at 08:25:39AM +0530, Gautham Ganapathy wrote:
  Will the nvidia drivers work with 4.7-RELEASE? 4.7-STABLE won't have
  ISOs, right?

 You need 4.7-STABLE to get the NVidia drivers working.  I don't know
 exactly what -RELEASE is missing but I'm quite sure.  There are still
 problems with them (they hang my machine all the time) so be prepared
 for trouble.

 -lewiz.

 --
 There's no future in time travel.
 
 --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||--



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



Re: artsd ogle

2002-11-21 Thread Lauri Watts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 21 November 2002 21.14, Peter J. Blok wrote:

 My question: does artsd need to keep /dev/dsp open all the time? Should
 ogle be able to open /dev/dsp at the same time and not get an error while
 opening it?

No, you can tell it to exit when idle, arts aware applications will restart it 
if they want it.

More useful, configure arts to not just exit when idle, but to also use a 
different device than /dev/dsp when it's on.

http://freebsd.kde.org/faq.shtml (Question 11, and it's answer)

Regards,
- -- 
Lauri Watts
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE93V0A/gUyA7PWnacRAjcmAKCG4RUSUFbE9Ld8M91b3LlmyyHevACfb42d
pdwT1Uh8YLKmgZJFNHSUm4Y=
=ANPe
-END PGP SIGNATURE-


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



What minimum version to support broadcom 5703?

2002-11-21 Thread Michael Scheidell
What minimum version of FBSD to I need to support the Broadcom 5703X? gig
card?

I did notice that 4.5 supports earlier ones, and found a patch to stable
for the 5702.

I applied that patch to my 4.5 sources, and volia!  fbsd boots and sees
the devices! (but with a bogus mac addy and it really didn't work)

so, I copied ~current/src/sys/dev/bge to my 4.5 sources and, well, it
doesn't even compile.

so, do I have to go to 4.7 to get it to work
-- 
Michael Scheidell, CEO
SECNAP Network Security, LLC 
Sales: 866-SECNAPNET / (1-866-732-6276)
Main: 561-368-9561 / www.secnap.net
Looking for a career in Internet security?
http://www.secnap.net/employment/

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



disk-to-disk backup of root/bootable filesystem (?)

2002-11-21 Thread Ronald F. Guilmette


I have an x86 system here that contains an 18GB SCSI drive and also
a 20GB IDE drive.

The 18GB SCSI drive contains a complete FreeBSD system that has been
installed and then tailored to my personal preferences.  It also
contains a lot of my personal working files.

The SCSI drive contains only a single defined BIOS partition.  That
BISO partition, in turn, has been sub-partitioned into one (1) FreeBSD
root partition and also a smallish FreeBSD swap partition.

I want to make a full, complete, and _bootable_ backup of everything
that is on the SCSI drive onto the IDE drive.  Ideally, I want to end
up in a situation where I can remove the SCSI drive, and then boot
from the IDE drive and then just carry on working as if nothing had
happened.

I prefer not to waste time copying empty disk space (e.g. using dd).

Assuming that I am am able to make the necessary receiving partitions
on the IDE drive, and assuming that I make suitable ufs file system on
the IDE drive, and assuming that I then use `cpio -p' to copy all
of the files from the one ufs filesystem on the SCSI drive to the
(new) corresponding ufs partition on the IDE drive, what else will
I need to do in order to make sure that I can then boot from the new
(copy) partition on the IDE drive?

I assume that I'll have to set up some sort of a MBR on the IDE drive.
I would appreciate exact instructions for doing that.

I also assume that I'll have to diddle the /etc/fstab file on the 
IDE drive, after copying files, so as to have it make reference to
the IDE drive partitions, rather than to the original SCSI drive
partitions.  (I think that I can handle this part.)

So anyway, what else might I need to do in order to make this work?


P.S.  The system in question has a reasonably modern Aware BIOS that
allows me to specify whether the system should try to boot from SCSI
or from IDE first.  Of course, once I get all of the files over onto
the IDE drive, I will toggle that from its current setting (SCSI) to
its new setting (IDE).

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



Re: Changing to/from user within script

2002-11-21 Thread Paul A. Scott


 I want to run a cron job as a user on my system.  Once the job has
 completed I need root privileges to power the system down.  I don't
 mind if the script has to run as a root cron job, but running the
 processing as a user will prevent against filling a partition.
 
 Can this be done without running two different cron jobs?.

Not sure if I understand the problem, but it seems to me that you can run
script as root from cron, and resource limits can be controlled with the
shell's 'ulimit' (sh) or 'limit' (csh) commands.

-- 
Paul A. Scott
mailto:[EMAIL PROTECTED]
http://skycoast.us/pscott/


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



Disk copying

2002-11-21 Thread ertank
Hello, 

I want to backup my disk with all of its contents. Exactly, I want to copy 
it completely to another disk. 

I have only one freebsd partition and several slices on my disk. I want to 
copy all the data to another bigger disk preserving my user and group 
settings. 

Is it possible to use cp? In this way I supposed to create my partitions 
before and mount them under some partition and just cp -Rp / /newdisk but 

Won't it start to copy the data recursively when copying reachs /newdisk? 

Just curious. 

Regards, 

--
Ertan Kucukoglu
[EMAIL PROTECTED]

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


Re: Portsupgrade -uU

2002-11-21 Thread Cliff Sarginson
On Thu, Nov 21, 2002 at 12:21:30AM -0800, Kris Kennaway wrote:
 On Thu, Nov 21, 2002 at 01:28:45PM +0700, Roger Merritt wrote:
  At 02:04 AM 11/21/02, you wrote:
  On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:
  
   When running portsupgrade -uU I get the output below.  How can I fix 
  these
   malformed entries, non-existent entries and incomplete dependencies?
   Running pkgdb -F shows everything to be fine.
  
  If you're running portsdb -Uu, you *don't*. It's up to port
  maintainers to fix the problem with the port entries. Most of the
  output are just warnings (intended for maintainers).
 
 INDEX builds shouldn't have any warnings if you perform them in a
 clean environment.  Either your ports collection is out of date
 (i.e. in an inconsistent state) or the index build is picking up
 things from the host environment like installed ports,
 WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
 portupgrade..someone should investigate and report it to the author.
 
Mmm..the dependency list warnings hit with me with complaints about
things not found in japanese. Since I have a refuse file that excludes
all the non-English languages, and the ports directory for them do not
exist I am a bit puzzled. I get the odd one for chinese, but none for 
any of the other languages I don't install. Co-incidentally I have
literally just run make index, afre a cvsup a few hours ago, and it
still whines about missing japanese dependencies.


-- 
Regards
   Cliff Sarginson 
   The Netherlands

[ This mail has been checked as virus-free ]

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



Re: Disk copying

2002-11-21 Thread Jerry McAllister
 
 Hello, 
 
 I want to backup my disk with all of its contents. Exactly, I want to copy 
 it completely to another disk. 
 
 I have only one freebsd partition and several slices on my disk. I want to 
 copy all the data to another bigger disk preserving my user and group 
 settings. 
 
 Is it possible to use cp? In this way I supposed to create my partitions 
 before and mount them under some partition and just cp -Rp / /newdisk but 
 
 Won't it start to copy the data recursively when copying reachs /newdisk? 

You are better off using dump(8)/restore(8) to make the
copies.   Alternatively, you could use tar.

None of dump/restore, tar or cp will make a bootable disk.  You have
to do that outside of the process (before tranferring files).  If you
use dd or some other image copy utilities, you can make it bootable,
but it ain't the easiest way.

jerry

 
 Just curious. 
 
 Regards, 
 
  --
 Ertan Kucukoglu
 [EMAIL PROTECTED]
 

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



Re: Confirmation: ext2fs requires kernel rebuild?

2002-11-21 Thread David Schultz
Thus spake Cliff Sarginson [EMAIL PROTECTED]:
  LINT says:
  #
  # Add support for the EXT2FS filesystem of Linux fame.  Be a bit
  # careful with this - the ext2fs code has a tendency to lag behind
  # changes and not be exercised very much, so mounting read/write could
  # be dangerous (and even mounting read only could result in panics.)
  #
  options EXT2FS
  
 This message has been in LINT since the dawn of time and is extremely
 mystifying. Be a bit careful .. meaning what ? You either mount it or
 don't mount it, use it or don't use it. What exactly are you supposed to
 be careful of :) Saying Boo!.

FreeBSD support for ext2fs is a specific instance of the more
general problem that features that very few people care about tend
not to get maintained.  FreeBSD already has a filesystem that is
more complete and faster than ext2fs,[1] so the only people using
both UFS and ext2fs are also running Linux.  If you mount an
ext2fs filesystem r/w, consider yourself a beta tester.


[1] The designers of ext2 basically took FFS and removed the parts
they didn't care for or were hard to implement.

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



Multiple questions...

2002-11-21 Thread Chris P
Hello all,
  I have a couple of simple questions, and 1 tough one..

First the easy ones..

Whats an easy way to check if people are using my machine in the
backround.. IE doing an ftp?  Is there something other then checking
processes?  like maybe a netstat command or something?  I'm asking this
mostly because of problem #2 which I'll get to in a sec.. But I need to
fully shot off my machine sometimes, and a wall command wont do it for
some people using my machine, meaning they wont see it.  So I like to just
do a quick check to see if someone is doing stuff.. people using my web,
well too bad, apache will be back soon enough, ssh users, I can talk
request them.. FTP is a bit harder though..

OK, and the next question.. My setup is like this.. wireless in (an0)
NAT/DHCP (false addresses) out on sis0 to the house network.

Once in a while sis0 seems to die.. I think maybe the network card is
flaky or something.  Basically all the house machines loose connectivity
to the FreeBSD box.  Cant ping it, nothing.  From the FreeBSD box a
netstat -rn shows nothing.. all PC's have dropped.. DHCP shows nothing
being used, etc.. However.. ifconfig sis0 shows up.  And I cannot down
it.. So, the only fix I know of so far is a complete shut OFF and turn
back on.  Reboot doesnt cut it.  Its needs power off.. Thats why I think
its a bad card..   Anyone else have troubles like this? Anyone have
suggestions short of replacing the card yet?  Trying to save $.. been
unemployed almost a year now..

Thanks everyone!

C.



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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread David Schultz
Thus spake Andrew Y Ng [EMAIL PROTECTED]:
 Hi all, I shutdown FreeBSD and changed my harddrive and
 booted up Win2K this morning (needed Windoze for something
 real quick). I put the FreeBSD harddrive back and it wouldn't
 boot, it got stuck at the F1 boot0 prompt.  Like it couldn't
 find the MBR or something. How do I get it to boot again?

Make sure you've got boot0 on the primary master (assuming IDE) or
da0 (SCSI) and on no other drives.  Booting from one boot manager
on the BIOS boot disk to boot0 on another drive hasn't worked well
in my experience.

Also, make sure FreeBSD's idea of your drive geometry matches what
the BIOS thinks.  Posting disklabel and 'fdisk -s' output might
help.  (The fixit CD is your friend here.)

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



Re: Reacting to spam targetted to freebsd.org [was: Re: PLS GET BACK TO ME.]

2002-11-21 Thread David Schultz
Thus spake Yann Golanski [EMAIL PROTECTED]:
 Quoth Giorgos Keramidas on Thu, Nov 21, 2002 at 15:58:03 +0200
  This very spammer has hit the lists more than once, and every time I
  mailed {abuse|postmaster} at a2000.nl.  If they receive a few hundred
  messages for each spam message they let through they will certainly
  start acting fast :-)
 
 Would it be possible for the owners of the lsit to install something
 like SpamAssassin so that those messages actually don't get to us? 

Just add a SPAM filter at your end.  By the way, this works far
better if people don't *reply* to the SPAM, circumventing your
filters.  ;-)

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



Re: Disk copying

2002-11-21 Thread Mark
- Original Message -
From: David Schultz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, November 22, 2002 12:44 AM
Subject: Re: Disk copying


 Are the disks the same size/geometry?  If so:

 dd if=/dev/olddisk of=/dev/newdisk bs=32k

Can dd also be used to copy to/fro my RAID disks (40G), to a single 40G
disk? The latter is of a different brand, but has the same size. In other
words: how identical does the geometry need to be?

If I can use dd here, I think I will use dd to create a core system; and
then use additional dumps to backup individual slices.

Thanks!

- Mark


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



Re: Boot stuck at F1 after swapping drives

2002-11-21 Thread Andrew Y Ng
I actually only have one partition and a swap partition, here are fdisk
and disklabel outputs, and it's an IDE drive. thanks!

ayn@aynlaptop:~fdisk -s
/dev/ad0: 1836 cyl 255 hd 63 sec
PartStartSize Type Flags
   1:  6329495277 0xa5 0x80

ayn@aynlaptop:~disklabel /dev/ad0
# /dev/ad0:
type: unknown
disk: amnesiac
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1836
sectors/unit: 29498112
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 294981120unused0 0 # (Cyl.0 -
1836*)


On Thu, 2002-11-21 at 17:36, David Schultz wrote:
Thus spake Andrew Y Ng [EMAIL PROTECTED]:
 Hi all, I shutdown FreeBSD and changed my harddrive and
 booted up Win2K this morning (needed Windoze for something
 real quick). I put the FreeBSD harddrive back and it wouldn't
 boot, it got stuck at the F1 boot0 prompt.  Like it couldn't
 find the MBR or something. How do I get it to boot again?

Make sure you've got boot0 on the primary master (assuming IDE) or
da0 (SCSI) and on no other drives.  Booting from one boot manager
on the BIOS boot disk to boot0 on another drive hasn't worked well
in my experience.

Also, make sure FreeBSD's idea of your drive geometry matches what
the BIOS thinks.  Posting disklabel and 'fdisk -s' output might
help.  (The fixit CD is your friend here.)
-- 

andrew y ng  [EMAIL PROTECTED]  http://andrewng.com

fingerprint :
46a1 29ff 893a 0381 dc81  1e1e bed8 e882 9bfc 594c





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


[no subject]

2002-11-21 Thread Eric Dedrick


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



  1   2   >