Re: jumping mouse in X

2004-04-14 Thread Vulpes Velox
On Tue, 13 Apr 2004 20:55:08 -0400 (EDT)
[EMAIL PROTECTED] wrote:

 ...
 something I found in XFree86log file:
 (**) Option Protocol auto
 (**) Mouse0: Protocol: auto
 (**) Option CorePointer
 (**) Mouse0: Core Pointer
 (**) Option Device /dev/psm0
 (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
 (==) Mouse0: Buttons: 3
 (II) Keyboard Keyboard0 handled by legacy driver
 (II) XINPUT: Adding extended input device Mouse0 (type: MOUSE)
 (II) Mouse0: SetupAuto: hw.iftype is 3, hw.model is 0
 (II) Mouse0: SetupAuto: protocol is SysMouse
 (WW) fcntl(6, O_ASYNC): Inappropriate ioctl for device
 
 is this causing the trouble?
 ---
 
 Hi freebsd-er, I recently upgraded my m/board and finally get
 x-window to work again but my mouse is all very jumpy, I seem to
 lose control over it and very hard to make it stay on one position.
 I have been trying to see what people have to say on the internet.
 Something I came across is that the driver for vedio card might
 affect it. My cedio chip is ProSavageDDR K4M266, I can't run x-win
 when using original FBSD driver, but after installing a 3-rd party
 driver, I was able to get it up, and everything looked the way I
 wanted it! But just this mouse, it went crazy. It's a 2-button ps/2
 mouse, I tried auto or ps/2 protocol in X config, nothing
 changed, I tried to put some moused related stuff in /etc/rc.conf,
 then I get a nice working mouse in my console, but my x-win won't
 start up because the mouse device is busy. Any help! thanks!


No clue if that would cuase it. Try asking around on the X mailing
list.

The only time I've had this problem has been a crappy mouse, but given
it works works on console now, I think that can be ruled out. Try
setting the device as /dev/sysmouse. That iirc is the device that
moused kicks stuff out to or something like that.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PCI Graphic card install

2004-04-14 Thread Vulpes Velox
On Wed, 14 Apr 2004 12:36:21 +0930
Jeffrey P. Toth [EMAIL PROTECTED] wrote:

 Where can I find some information about how to install a graphics
 card on FreeBSD? I had no problem finding the information and
 installing the sound card but cannot find anything about how to
 install the graphics card.

Look under the handbook about X. It contians a nice intro to it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Will FreeBSD work on my hardware?

2004-04-14 Thread Vulpes Velox
On Tue, 13 Apr 2004 22:16:08 -0600
[EMAIL PROTECTED] wrote:

 I'd like to try FreeBSD, but I have some problem hardware that I'm
 having trouble getting Linux on.  It's an AMD64 with an NForce
 ethernet, and an external Iomega Zip Drive plugged into the USB
 port.  Also, I want to dual-boot with Window XP, and I want read
 access to the NTFS partition.  Is it doable? 

Read up on what hardware is supported on freebsd.org and the handbook.

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


Re: have i been hacked?

2004-04-14 Thread Kris Kennaway
On Wed, Apr 14, 2004 at 12:51:06AM -0400, dave wrote:
 Hello,
 Wondering if a system on my network has been hacked? At approx 12:30
 this evening the hard disk went crazy, i have been out of town lately and
 have not checked any of the machines, when i did the CPU usage was at 15%
 which on this machine it never gets above 1 maybe 1.5. So i looked, and i
 had nearly 150 processes on the box, 9 running. When i got the daily run
 output i noticed the setuid files have changed. Wondering if this box got
 hacked and if so where to look to confirm this? And if so, what to do?
 Thanks.
 Dave.

This is what you'd expect if someone did a 'make world' on that box -
are you sure there were no other admins online who might have rebuilt
or updated it?  If so, then something stranger is going on.

Kris


pgp0.pgp
Description: PGP signature


Re: Problems (Still) Mounting CDROM

2004-04-14 Thread Rishi Chopra
Chuck McManis wrote:
At 02:04 AM 3/6/2004, Rishi Chopra wrote:

What if the drive is recognized by the BIOS?


Then you know its cabled correctly. It can still be misjumpered or bad. 
FBSD doesn't use the bios functions to talk to the drive.

--Chuck



Drive was cabled as master, jumpered as slave.  Drive has since been
cabled and jumpered properly, no problems now =)
(This message was also posted through the Google Groups interface, which 
does not send to the freebsd mailing list)

--
Rishi Chopra
http://www.ocf.berkeley.edu/~rchopra
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: port redirection with pf

2004-04-14 Thread Remko Lodder
pf.conf:2: syntax error
pfctl: Syntax error in config file: pf rules not loaded
rdr on $nic proto tcp from any to $my_ext port $portext - $int_host 
port $portint

Your rdr rule however seems ok. Try using my version and report back..
Note that he example is a real-working rule on my firewall (OpenBSD with 
pf).

cheers

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating ports and pkgdb

2004-04-14 Thread Matthew Seaman
On Wed, Apr 14, 2004 at 10:42:57AM +0930, [EMAIL PROTECTED] wrote:

 Unfortunately, pkgdb -u does NOT rebuild from scratch, but simply refreshes
 itself from the directories in /var/pkg/db.
 Is there a way I could delete all those directories and make pkgdb go look and
 rebuild the db/directories from what it finds?

Errr... pkgdb builds a summary of the package data found in
/var/pkg/db.  That is the authoritative source of information on what
packages are installed on your system, which files belong to those
packages, and the dependencies between those packages.

If your complaint is that the package database pkgdb creates needs to
be rebuilt from nothing, then you can try:

# pkgdb -fu

but that is very rarely needed, unless pkgdb.db is actually corrupted.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: have i been hacked?

2004-04-14 Thread dave
Hi,
Sorry i should have specified, that's a 4.9 box, with the latest patches
and ports.
Thanks.
Dave.

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


ufs HDD on the MS Windows ?

2004-04-14 Thread vasilkin
Hello !

How it is possible to connect a disk with FreeBSD ufs file system to a
computer with OS MS Windows?
Is it special driver?

I think, it can be made using a Vmware...
How to make easier? What variants exist?

Thanks.

PS: sorry for my bad english
-- 
Best regards,
 Vladimir Vasilkin  mailto:[EMAIL PROTECTED]

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


nis with blowfish

2004-04-14 Thread michael johnson
Hi,
	I have nis setup and I've been using it for quite a while and I have 
blowfish as the default passwd_format and it works
on every box I have, but it only works locally, if I change a password 
remotely with on any computer the password is md5 and now blowfish
but if I change a password locally (nis server or nis client  NOT 
using nis) it uses blowfish
I have the following on every box.

bacon:/etc root$ grep blf *
auth.conf:crypt_default =   blf md5 des
login.conf: :passwd_format=blf:\
Binary file login.conf.db match
Am I missing anything? or does yppasswd just not support blowfish? 
which is kind of weird since ypserver and ypbind both work with it.

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


postfix + sasl2

2004-04-14 Thread Arek Czereszewski
Hello,

I have some strange thinks in my log files (maillog)

...
warning: SASL authentication failure: no user in db
warning: SASL authentication failure: no user in db
client=arek.wup-katowice.pl[213.216.67.82], sasl_method=PLAIN, \
sasl_username=arek
...

I'm use postfix2.0.18,1 + sasl2.1.18 + saslauthd2.1.18 from ports on fbsd 
5.2.1p4

users is added to /usr/local/etc/sasldb2.db via command:
# saslpasswd2 -c -u wup-katowice.pl arek

User exist:
# sasldblistuser2 | grep arek
[EMAIL PROTECTED]: userPassword

And i don't know what is wrong :(
Is anybody can help me?

Arek

P.S.
I'm sorry about my english.

-- 
Arkadiusz Czereszewski  |  gg: 1349941
arek(at)wup-katowice.pl | jid: [EMAIL PROTECTED]
*NIX is like wigwam - no windows, no gates
 and apache inside.
 


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


Help !! lol

2004-04-14 Thread Xavier Mell
Hello !!

I want to centralize log of server on another
server(FreeBSD) !
I think I can use syslog but on the server which
collects log I don't know how manage the server to
listen a specific port in order to receive logs of all
server

I have found in a how-to that it's necessary to add
the -r option in /etc/rc.d/syslogd but where in this
file 

Thanks!!

XaV

PS: I am French Yes my english is bad!!!






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ufs HDD on the MS Windows ?

2004-04-14 Thread Benjamin Meade
[EMAIL PROTECTED] wrote:

Hello !

How it is possible to connect a disk with FreeBSD ufs file system to a
computer with OS MS Windows?
Is it special driver?
I think, it can be made using a Vmware...
How to make easier? What variants exist?
If you're talking about getting windows to actually read the hard disk, then 
your out of luck. About the only way I can think of doing it is to share the 
disk over a network.

--
Benjamin Meade
System Administrator
LanWest Pty Ltd
Ph:  +61 (8) 9440 3033
Fax: +61 (8) 9440 3370
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help !! lol

2004-04-14 Thread Remko Lodder
Xavier Mell wrote:
Hello !!

I want to centralize log of server on another
server(FreeBSD) !
I think I can use syslog but on the server which
collects log I don't know how manage the server to
listen a specific port in order to receive logs of all
server
I have found in a how-to that it's necessary to add
the -r option in /etc/rc.d/syslogd but where in this
file 
That's probably Linux

in rc.conf define this:
syslogd_flags=
That way it does not get started with -s (secure mode, does not recieve 
stuff).

On the other machines specify your loghost as reciever
like
*.* @ipofyourloghost
or whatever you'd wish to log there.
It uses port 514 UDP. (That's generic for syslog)
Also don't forget any firewalling thingy's you use.. You must allow the 
traffic ;-)

Cheers

Thanks!!

XaV

PS: I am French Yes my english is bad!!!


--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: boot easy

2004-04-14 Thread Dan Strick
On Tue, 13 Apr 2004 14:51:42 -0500, Brian Henning wrote:

 I am trying to rebuild the boot easy boot loader code. 
 Is it located in the following dir?
 /usr/src/sys/boot/i386/boot0


Technically no.  This is not the BOOTEASY program,
but it is the program you want.

The actual BOOTEASY program, which is *not* the bootstrap program
you want to use, may be found in the tools subdirectory of any recent
FreeBSD release: .../X.X-RELEASE/tools/srcs/bteasy.

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


Re: timestamp in 4.8?

2004-04-14 Thread Richard P. Williamson
At 16:14 13/04/2004, Dan Nelson wrote:
In the last episode (Apr 13), Richard P. Williamson said:
 Is there a reasonable timestamp (that uses a struct timeval
 to return data by preference) in 4.8R?

 TSTMP (option KERN_TIMESTAMP) writes the rdtsc clock
 value to debug.timestamps in sysctl-space.  That does
 not suit my purposes (need to timestamp the creation
 of objects which are passed about).

Why not use gettimeofday()?  If you need more precision than
microseconds, you probably can bump up HZ and use clock_gettime().

Ok, clock_gettime works for me.  

Thanks!

rip


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


Re: Serial ATA questions

2004-04-14 Thread anubis
On Wed, 14 Apr 2004 12:32 am, mark wrote:
 Hi

 Big question, I need to set up a FreeBSD server with serial ATA
 hardware raid.

 What serial raid controller, or what motherboard with a supported
 serial raid controller is recommended?

 I was thinking of staying with 4.9-STABLE or should I rather move
 to 5.2.1-RELEASE ?


To see what is supported look at man 4 ata.  Also look at the hardware 
notes for each version
http://www.au.freebsd.org/releases/5.2.1R/hardware-i386.html#AEN65
and
http://www.au.freebsd.org/releases/4.9R/hardware-i386.html#AEN33

When you pick a controller or board search the mail archives to see if 
anyone has had a problem with it.
http://www.au.freebsd.org/search/search.html#mailinglists
and of course google

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


Re: have i been hacked?

2004-04-14 Thread Dan Strick

...
 When i got the daily run
 output i noticed the setuid files have changed. Wondering if this box got
 hacked and if so where to look to confirm this?
...

  Checking setuid files and devices:
  ls: Terminated
  : No such file or directory

  guardian.davemehler.net setuid diffs:
  1,52d0
   94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
...


The ls command the security script uses to discover all of the setuid
files on your system failed for some unspecified reason and this caused the
script to think that all the setuid files discovered during the previous
run of this security script had gone away.  The next time this script
runs it may well report that these files have reappeared.

This is probably not evidence that your system was hacked.

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


Re: have i been hacked?

2004-04-14 Thread Remko Lodder
Dan Strick wrote:
  ...
When i got the daily run
output i noticed the setuid files have changed. Wondering if this box got
hacked and if so where to look to confirm this?
  ...
Checking setuid files and devices:
ls: Terminated
: No such file or directory
guardian.davemehler.net setuid diffs:
1,52d0
 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
  ...
The ls command the security script uses to discover all of the setuid
files on your system failed for some unspecified reason and this caused the
script to think that all the setuid files discovered during the previous
run of this security script had gone away.  The next time this script
runs it may well report that these files have reappeared.
This is probably not evidence that your system was hacked.
Then what does it tell you that happened? When a file appears that is 
rather strange, also notice the size of /bin/rcp

which differs from:

aragorn# ls -l /bin/rcp
-r-sr-xr-x  1 root  wheel  18392 Feb 23 20:41 /bin/rcp
(notice the size!, someone mentioned that already on the list..)

So obviously something weird happened.

I dont do the assumption that you are not hacked, lets assume you are 
hacked.

Take out the harddisk and make a backup of it. Then seal the original 
disk so that you cannot mess that one up.

Do some forensics on the backupped harddisk (not the original!)
For example install chrootkit, to see whether it has a rootkit 
installed, check if you mis anything else. Are there files that you did 
not notice before? What network connections are being made when the host 
reboots. etc. etc.

I Certainly think that it's really weird that a file increased that much 
in size (while my 5.2.1-p4 systems are up2date). I also think that the 
file the security output misses, is strange, i assume that this isn't 
the first day the host is running.

Hope this helps a bit,

Also note that this is my consideration, and may or may not be backupped 
by other persons ;-)

Dan Strick
[EMAIL PROTECTED]
--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gimp 2 does not come with help?

2004-04-14 Thread Rob


Hi,

I have gimp, version 2.0.0, with WITH_HTML_HELP_BROWSER=yes
installed. When I click on Help-Help, I get an empty browser,
but also a message pop-up, that says
 'Could not open '/usr/X11R6/share/gimp/help/en/gimp-help.xml'
 for reading: No such file or directory.
Is this gimp install incomplete, or do I need another port
for the help XML pages of gimp?
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gimp 2 does not come with help?

2004-04-14 Thread Michael E. Mercer
I noticed a number of ports are installing directories with permissions
700. You may need to chmod those to 755 to get applications to work.

HTH
Michael


On Wed, 2004-04-14 at 05:59, Rob wrote:
 Hi,
 
 I have gimp, version 2.0.0, with WITH_HTML_HELP_BROWSER=yes
 installed. When I click on Help-Help, I get an empty browser,
 but also a message pop-up, that says
 
   'Could not open '/usr/X11R6/share/gimp/help/en/gimp-help.xml'
   for reading: No such file or directory.
 
 Is this gimp install incomplete, or do I need another port
 for the help XML pages of gimp?
 
 Regards,
 Rob.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Telnet Operation Timed Out

2004-04-14 Thread Holtor
Hello All,

How can I change the default telnet timeout value when connecting to remote hosts?

For example:

# time telnet -N 1.2.3.4
Trying 1.2.3.4...
telnet: connect to address 1.2.3.4: Operation timed out
telnet: Unable to connect to remote host
0.000u 0.008s 1:15.01 0.0%  0+0k 1+0io 6pf+0w

The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I have been 
searching
google to no avail but did get hints that this might be a TCP default of somekind.

If anyone has any idea please do e-mail back but include my in the reply as I'm not 
yet subscribed
to the list.

Thanks,

Holt G.





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: have i been hacked?

2004-04-14 Thread Bart Silverstrim
On Apr 14, 2004, at 1:47 AM, Luke Kearney wrote:

On Wed, 14 Apr 2004 00:51:06 -0400
dave [EMAIL PROTECTED] granted us these pearls of wisdom:
Hello,
Wondering if a system on my network has been hacked? At approx 
12:30
this evening the hard disk went crazy, i have been out of town lately 
and
have not checked any of the machines, when i did the CPU usage was at 
15%
snip

What about output from chkrootkit, to check to see whether any rootkit 
programs have been installed?

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


/etc/hosts ::1, bind 9, rncd

2004-04-14 Thread Eduardo Viruena Silva


Hello, FreeBSD Gurus!

I have a very strange question for you.

I have two FreeBSD-5.2.1-p4  boxes, i386  sparc64.

I installed bind-9.3.2 in both computers, configured
my /etc/rc.conf as follows:

named_enable=YES
named_flags=-u bind
named_program=/usr/local/sbin/named

it worked perfectly in my i386 box, particularly rndc worked fine.

Now, in the sparc64 box, I tried:

sparc64:/home/mrspock# rndc reload
rndc: connect failed: connection refused

WHY?   I asked myself, in my i386 box it works fine.

Then I tried:


sparc64:/home/mrspock# rndc -V reload
create memory context

... a lot of useful information, and then, this:

using server localhost (::1#953)
create socket
connect
rndc: connect failed: connection refused


in my i386 box, the things were different:


i386:/home/mrspock# # rndc -V reload
create memory context

... a lot of useful information, and then, this:

using server localhost (127.0.0.1#953)
create socket
connect
create message
render message
schedule recv
send message
parse message
create message
render message
schedule recv
send message
parse message


Now, the problem seemed to be that my i386 opened
communication with 127.0.0.1#953, and my sparc64
tried:  ::1#953

Then I remembered that my rndc.conf file  referred
to localhost.  The i386 converted it to 127.0.0.1
and the sparc64 to ::1.

And finally, I found that, in /etc/hosts there were
two lines saying:

::1 localhost
127.0.0.1   localhost

and here I am... driving myself crazy...

WHY DID NOT MY SPARC TAKE THE FIRST LINE
OF localhost IN  /etc/hosts/  AS MY
I386 DID?

To fix it, I just exchange those lines.

Incredible, isn't it?
What happened here?
Should I report this as a bug??

Hope you can give relief by sending me an answer.

Thanks in advance.

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


Re: Telnet Operation Timed Out

2004-04-14 Thread Nikos Vassiliadis
You can change the non-established-connection-timeout
using sysctl net.inet.tcp.keepinit=value. The default is
75000, at least on FreeBSD-4.9, which is probably a lot.

Cheers, NikV

On Wednesday 14 April 2004 14:36, Holtor wrote:
 Hello All,

 How can I change the default telnet timeout value when connecting to remote
 hosts?

 For example:

 # time telnet -N 1.2.3.4
 Trying 1.2.3.4...
 telnet: connect to address 1.2.3.4: Operation timed out
 telnet: Unable to connect to remote host
 0.000u 0.008s 1:15.01 0.0%  0+0k 1+0io 6pf+0w

 The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I
 have been searching google to no avail but did get hints that this might be
 a TCP default of somekind.

 If anyone has any idea please do e-mail back but include my in the reply as
 I'm not yet subscribed to the list.

 Thanks,

 Holt G.





 __
 Do you Yahoo!?
 Yahoo! Tax Center - File online by April 15th
 http://taxes.yahoo.com/filing.html
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Re: Telnet Operation Timed Out

2004-04-14 Thread Remko Lodder
The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I have been 
searching
google to no avail but did get hints that this might be a TCP default of somekind.
IMHO it's TCP, nothing to do with telnet itself,

Perhaps you can use a sysctl command to extend the tcp timeout value. (I 
just looked but i could not find one that should do the job.)
but that might also tell one that tcp values are default, a timeout 
always occurs in x seconds (where x is staticly defined).

HTH,

If anyone has any idea please do e-mail back but include my in the reply as I'm 
not yet subscribed
to the list.
Subscribe and learn :-)

Thanks,

Holt G.

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I shrink an existing slice

2004-04-14 Thread Jonathan Arnold
Tadimeti Keshav wrote:
I know this might not be possible; but can I shrink a
freeBSD slice to make room for linux?
There's lots of partitioning utilities that will do this
for you. Most run under Windows. I've often used Powerquest's
(now Symantec, I guess) Partition Magic. There's even a few
freeware ones out there, but that's a little scarey for me!
--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
http://freebsd.amazingdev.com/blog/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FTP client config File

2004-04-14 Thread António Amaral
Dear All,
 
Can you please tell me where can I configure the FTP shell client for
use a proxy? I want to install ports packages but I can’t because I am
behind of a proxy.
 
Thanks in advance
Regards
 
António Amaral
 

   António Manuel Nunes C. Amaral  
   IT - Pólo de Aveiro  
   Campus Universitário
   3810-193 AVEIRO - PORTUGAL
   Telef. 234 - 377900
   Fax. 234 - 377901
   e-mail: [EMAIL PROTECTED]
   Telef. directo. 234 - 377906   
- 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


My mp3 player

2004-04-14 Thread ilich
Hi, all!!
I'd like to make mp3 player for konsole and I don't know, what mp3 library 

(C or C++) should I use for this. Help me, please. Where Can I get more 

information about this?
Thanks all!!
IvaN from RUSSIA 
mailto: [EMAIL PROTECTED] 

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


Driver

2004-04-14 Thread Isabel Pérez
Dear Sr. 
Perhaps you can help.
I have a LOGITEC CSS/USB -RW 
Model LCWT1610BSU
And I do not have the correct diiver software to install it.

Can you hel with this

Thanks

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


Re: Gimp 2 does not come with help?

2004-04-14 Thread Rob
Michael E. Mercer wrote:
I noticed a number of ports are installing directories with permissions
700. You may need to chmod those to 755 to get applications to work.
But the required file, /usr/X11R6/share/gimp/help/en/gimp-help.xml,
is not there! The gimp-message box, that tells me this, also says:
  Please check your installation.
So there's something missing after installing the package, isn't it?
Rob.

On Wed, 2004-04-14 at 05:59, Rob wrote:

Hi,

I have gimp, version 2.0.0, with WITH_HTML_HELP_BROWSER=yes
installed. When I click on Help-Help, I get an empty browser,
but also a message pop-up, that says
 'Could not open '/usr/X11R6/share/gimp/help/en/gimp-help.xml'
 for reading: No such file or directory.
Is this gimp install incomplete, or do I need another port
for the help XML pages of gimp?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FTP client config File

2004-04-14 Thread Matthew Seaman
On Tue, Apr 13, 2004 at 04:01:19PM +0100, António Amaral wrote:

 Can you please tell me where can I configure the FTP shell client for
 use a proxy? I want to install ports packages but I can’t because I am
 behind of a proxy.

You need to set some variables -- either in the environment, or if
you're installing via ports you can use /etc/make.conf and if you're
using portupgrade(1) you can use either /etc/make.conf or
/usr/local/etc/pkgtools.conf.  See fetch(3) for details on the
variables.  Note that since both ftp(1) and fetch(1) use the same
underlying library to implement FTP transport, these variable will
affect both of those programs.

To make ftp/fetch work via a proxy:

FTP_PROXY= ftp://username:[EMAIL PROTECTED]:portnum/

HTTP_PROXY= http-proxy.example.com

You don't need to fill in all of those parts of the URL -- reasonable
defaults will be substituted, so typically you'ld set something more
like the second example.

To set those in the environment, edit your ~/.login (if you use
tcsh(1) or csh(1) as your shell), ~/.profile (sh) or ~/.bash_profile
(bash) and put in the correct style of setting the variable:

   setenv FTP_PROXY ftp-proxy.example.com (csh -like shells)

   FTP_PROXY=ftp-proxy.example.com ; export FTP_PROXY (sh -like shells)

For /etc/make.conf -- see /etc/defaults/make.conf (or
/usr/share/examples/make/defaults (I think) on 5.x) and look for the
FETCH_ENV setting.  You can set both FTP_PROXY and HTTP_PROXY
variables in one go by:

   FETCH_ENV= FTP_PROXY=ftp://ftp-proxy.example.com/ 
HTTP_PROXY=http://http-proxy.example.com/;

and for pkgtools.conf, add the settingd to the Environment Variables
section. eg:

   ENV['FTP_PROXY'] = 'ftp-proxy.example.com'

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: Vim and NFS and ipfilter(strange problem)

2004-04-14 Thread Vincent Vandalon
hi all,

i discovered what the problem was/is. I just want to post it here, 
because i think it is rather strange(and hopefully help other people who 
have the same problem). It did not only happen with vim, but with some 
other program's also(feh,nview). BTW i forgot to mention this, i use 
FreeBSD version 5.1

To find the problem i started with a new ruleset allowing everything on 
all devices. I then added the standard dangerous packages options(short, 
ipopts), and i noticed that NFS died when i added the short option.

I switched back to the original config and commented that one out, and 
it worked fine. I only have to guess where the short packages are coming 
from :S They shouldn't be there I think.(BTW i have a realtech nic so 
maybee...)

Sugestions are welcome,

Cheers

Vincent Vandalon wrote:

Hi all,

i've set up a firewall with ipfilter. Since i use the deny stance, i 
needed to jump trough some hoops to get NFS working.
I am currently just manually mapping the ports mountd is using. But it 
seems to work... for 99%

I am able to do with the mounted nfs disk what i want, i can create 
new files( 'touch newfile' and vi 'newfile2' and i can write content 
in the file with vi) i can delete, read.
But(...) when i use viM it will hangs it self. I can't manually kill 
it(exit-status doesn't matter, it won't die). And i don't get an 
error, so i have no clue what's wrong. My guess is that it is still 
busy, looped or something...

So i removed(==recompiled kernel) ipfilter and vim worked fine on the 
nfs mount. Recompiled my kernel again with ipfilter and vim hang 
itself again. So it is vim+ipfilter

I think it is still something with my configuration fo ipfilter, i 
have a basic rules set. I am still in the learning/finetuning phase, 
but i coulnd't find anything about this on google, onlamp, 
freebsddiary etc.

Can anybody point me in the right direction?

Regards Vincent

=config file (sorry comments are in dutch, but still 
reable in english i guess)===

#een regel om kleine packages te blokken
block in log quick on rl0 from any to any with short
#Alle tcp blokken
block in log proto tcp all flags S/SA
#webserver laten zien
pass in quick proto tcp from any to any port = www keep state
#ssh door laten
pass in quick proto tcp from any to any port = ssh keep state
pass in quick proto udp from any to any port = ssh keep state
#pop door laten
pass in quick proto tcp from any to any port = pop3 keep state
#imap doorlaten
pass in quick proto tcp from any to any port = 143 keep state
pass in quick proto udp from any to any port = 143 keep state
#smtp ook maar doolaten, in en uit
pass in quick proto tcp from any to any port = 25 keep state
pass out quick proto tcp from any to any port = 25 keep state
#nfs pass in quick proto tcp/udp from any to any port = 2049 keep state
pass out quick proto tcp/udp from any to any port = 2049 keep state
pass in quick proto tcp/udp from any to any port = 111 keep state
pass out quick proto tcp/udp from any to any port = 111 keep state
#hack voor mountd
pass in quick proto tcp/udp from any to any port = 1021 keep state
pass in quick proto tcp/udp from any to any port = 1023 keep state
#samba doorlaten pass in quick on rl0 proto udp from any to any port = 
137 keep state
pass in quick on rl0 proto udp from any to any port = 138 keep state
pass in quick on rl0 proto tcp from any to any port = 139 keep state

#printer pass in quick on rl0 proto tcp/udp from any to any port = 515 
keep state

#dns server
pass out quick on rl0 proto tcp/udp from any to any port = 53 keep state
#eigen verbindingen toestaan
pass out quick on rl0 proto tcp all keep state
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


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


postfix and nis

2004-04-14 Thread Lutz Kittler
Hi,

I generated postfix from postfix-current and want to use
nis - aliases.
But postconf -m doesnt show nis and so I cant use it.
Where have I to configure nis ?
Theres no choice at package building for nis.

 Thanks , Lutz

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


Fw: problems reconfiguring kernel for sound

2004-04-14 Thread Peter Kurpis
Sorry about the duplicate and cross post, but I am really stuck and have had no 
responses.

The probe of my sound device on my laptop doesn't work -- it picks up the wrong device 
(the USB bus controller).  Can anyone point me in the right direction, at least?

I don't mind reading through source code, but I don't know where to start...  Thanks!

- Original Message - 
From: Peter Kurpis 
To: [EMAIL PROTECTED] 
Sent: Thursday, April 08, 2004 10:20 PM
Subject: problems reconfiguring kernel for sound


I have a strange problem installing 4.7 on my Toshiba 1135 laptop.  (I need 4.7 for 
compatibility reasons.)

To add support for my Avance AC97 audio hardware, I added the following lines:

device pcm
device sbc0 at isa? irq 17 port 0x18C0 flags 0
options PNPBIOS

(and tried various other permutations).  The irq and port are from Windows, flags is 0 
because there is apparently no DMA.

When I reboot, it seems that my USB controller has taken over /dev/pcm !  

dmesg | pcm 
pcm0: Intel 82801DB (ICH4) port 0x18c0-0x18ff,0x1c00-0x1cff mem 
0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 10 at device 31.5 on pci0

Note that the IO port and memory addresses are right, but the IRQ is wrong (should be 
17).  I don't know what device 31.5 is, and don't know how to look it up.  ?

After  cd /dev; sh MAKEDEV snd0 , if I try cat someAudioFile.au  /dev/audio, it 
prints gibberish on the screen, and I can't recover control.

What's even weirder is that when I comment out all the USB support lines (as well as 
the smbus, ichsmb, and smb device lines I added for the 82801) in the configuration 
file, and rebuild the kernel, the devices uhci0 through uhci2 and usb0 through usb2 
*still* show up on bootup (and in dmesg)!

Can anyone help with ideas of what could be wrong, or where to start troubleshooting?  
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fw: problems reconfiguring kernel for sound

2004-04-14 Thread Chris
On Wednesday 14 April 2004 08:22 am, Peter Kurpis wrote:
 Sorry about the duplicate and cross post, but I am really stuck and have
 had no responses.

 The probe of my sound device on my laptop doesn't work -- it picks up the
 wrong device (the USB bus controller).  Can anyone point me in the right
 direction, at least?

What's worked for me in the past is simply 2 lines in the kernel.

device  pcm
options PNPBIOS

That's it.

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


Re: have i been hacked?

2004-04-14 Thread Clint Gilders
dave wrote:
Hello,
Wondering if a system on my network has been hacked? At approx 12:30
this evening the hard disk went crazy, i have been out of town lately and
have not checked any of the machines, when i did the CPU usage was at 15%
which on this machine it never gets above 1 maybe 1.5. So i looked, and i
had nearly 150 processes on the box, 9 running. When i got the daily run
output i noticed the setuid files have changed. Wondering if this box got
hacked and if so where to look to confirm this? And if so, what to do?
Thanks.
Dave.
Checking setuid files and devices:
ls: Terminated
: No such file or directory
guardian.davemehler.net setuid diffs:
1,52d0
 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
 117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003
/sbin/mksnap_ffs
 117826 -r-sr-xr-x  1 root  wheel 451668 Jun  4 21:55:43 2003
I had someone get into one of my machines when I stupidly left telnet 
running and an email from the system much like yours was what first 
alerted me to it.   The kiddie had installed a new ls which didn't allow 
any switches.  I imagine '-l' is needed for the suid check, so it fails 
and reports all the files as changing.   I ran chkrootkit and it turned 
up nothing.   The kiddie had also replaced several other programs (login 
and ps were among them) and turned off syslog.I'm lucky to have 
several other systems, so i was able to copy over known original 
versions of the system tools that were changed and get the machine 
secured before moving all the accounts and reinstalling.

--
Clint Gilders [EMAIL PROTECTED]
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: jumping mouse in X

2004-04-14 Thread John Mills
Tsu-Fan Cheng -

On Tue, 13 Apr 2004 [EMAIL PROTECTED] wrote:

 ...
 something I found in XFree86log file:
 (**) Option Protocol auto
 (**) Mouse0: Protocol: auto
 (**) Option CorePointer
 (**) Mouse0: Core Pointer
 (**) Option Device /dev/psm0
   ^^^
 Do you know this is correct?

 (**) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
 (==) Mouse0: Buttons: 3
 (II) Keyboard Keyboard0 handled by legacy driver
 (II) XINPUT: Adding extended input device Mouse0 (type: MOUSE)
 (II) Mouse0: SetupAuto: hw.iftype is 3, hw.model is 0
 (II) Mouse0: SetupAuto: protocol is SysMouse
 (WW) fcntl(6, O_ASYNC): Inappropriate ioctl for device
 
 is this causing the trouble?
 ---
 
 Hi freebsd-er, I recently upgraded my m/board and finally get x-window to
 work again but my mouse is all very jumpy, I seem to lose control over it
 and very hard to make it stay on one position.

This has happened to me when I had chosen the wrong mouse protocol ('mm', 
'logitech', etc.) in 'XF86Config'

You may want to try reconfiguring that part of X11. If it acts no 
differently, perhaps you have the wrong interface (note above). If it is 
different, but not correct, try another protocol.

DISCLAIMER - my experience here is Linux, but the problem was in the XF86 
configuration, which should be nearly the same..

 I have been trying to see
 what people have to say on the internet. Something I came across is that
 the driver for vedio card might affect it. My cedio chip is ProSavageDDR
 K4M266, I can't run x-win when using original FBSD driver, but after
 installing a 3-rd party driver, I was able to get it up, and everything
 looked the way I wanted it! But just this mouse, it went crazy. It's a
 2-button ps/2 mouse, I tried auto or ps/2 protocol in X config,
 nothing changed, I tried to put some moused related stuff in /etc/rc.conf,
 then I get a nice working mouse in my console, but my x-win won't start up
 because the mouse device is busy. Any help! thanks!

That sounds like the wrong 'device' selection, but I don't have any way to 
check.

 - John Mills
   [EMAIL PROTECTED]

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


Re: have i been hacked?

2004-04-14 Thread Remko Lodder
Clint Gilders wrote:
dave wrote:

Hello,
Wondering if a system on my network has been hacked? At approx 12:30
this evening the hard disk went crazy, i have been out of town lately and
have not checked any of the machines, when i did the CPU usage was at 15%
which on this machine it never gets above 1 maybe 1.5. So i looked, and i
had nearly 150 processes on the box, 9 running. When i got the daily run
output i noticed the setuid files have changed. Wondering if this box got
hacked and if so where to look to confirm this? And if so, what to do?
Thanks.
Dave.
Checking setuid files and devices:
ls: Terminated
: No such file or directory
guardian.davemehler.net setuid diffs:
1,52d0
 94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 
/bin/rcp
 117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003
/sbin/mksnap_ffs
 117826 -r-sr-xr-x  1 root  wheel 451668 Jun  4 21:55:43 2003


I had someone get into one of my machines when I stupidly left telnet 
running and an email from the system much like yours was what first 
alerted me to it.   The kiddie had installed a new ls which didn't allow 
any switches.  I imagine '-l' is needed for the suid check, so it fails 
and reports all the files as changing.   I ran chkrootkit and it turned 
up nothing.   The kiddie had also replaced several other programs (login 
and ps were among them) and turned off syslog.I'm lucky to have 
several other systems, so i was able to copy over known original 
versions of the system tools that were changed and get the machine 
secured before moving all the accounts and reinstalling.

Bad move, backup important data and reinstall your host, you cannot tell 
which applications are affected or not (just spotted the obvious ones).

If you intend to keep it running, well thats a security incident imho.

Please consider it.

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: have i been hacked?

2004-04-14 Thread Clint Gilders

I had someone get into one of my machines when I stupidly left telnet 
running and an email from the system much like yours was what first 
alerted me to it.   The kiddie had installed a new ls which didn't 
allow any switches.  I imagine '-l' is needed for the suid check, so 
it fails and reports all the files as changing.   I ran chkrootkit and 
it turned up nothing.   The kiddie had also replaced several other 
programs (login and ps were among them) and turned off syslog.I'm 
lucky to have several other systems, so i was able to copy over known 
original versions of the system tools that were changed and get the 
machine secured before moving all the accounts and reinstalling.

Bad move, backup important data and reinstall your host, you cannot tell 
which applications are affected or not (just spotted the obvious ones).

If you intend to keep it running, well thats a security incident imho.

Please consider it.
I think you misread my message.  Did moving all the accounts and 
reinstalling  imply that I didn't do a reinstall?  I simply copied over 
known original programs so I could make my backup and do some postmortem 
before reinstalling the system.   As you say, who knows what other 
program were changed.  I wanted to use known good binaries.

--
Clint Gilders [EMAIL PROTECTED]
Director of Technology Services
OnlineHobbyist.com, Inc.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[solved]Re: port redirection with pf

2004-04-14 Thread UBM
On Wed, 14 Apr 2004 10:03:50 +0200
Remko Lodder [EMAIL PROTECTED] wrote:

  
  pf.conf:2: syntax error
  pfctl: Syntax error in config file: pf rules not loaded
  
 
 rdr on $nic proto tcp from any to $my_ext port $portext - $int_host 
 port $portint
 
 Your rdr rule however seems ok. Try using my version and report back..
 Note that he example is a real-working rule on my firewall (OpenBSD
 with pf).
 
 cheers

Ok, I solved it.

The interface I do the redirection for needs to be the same as the
interface the traffic is going to.

For example:

rdr on tun0 proto tcp from any to tun0 port 21 - 192.168.0.200 port 21


Thanks for your help, Remko and BSD Neophyte ;-)

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


building modules

2004-04-14 Thread Brian Henning
I am trying to build the ntfs module and i get the following error.
Any thoughts?

Thanks,
Brian

[EMAIL PROTECTED] /usr/src/sys/modules/ntfs make
Warning: Object directory not changed from original /usr/src/sys/modules/ntfs
@ - /usr/src/sys
ln: @: Operation not supported
*** Error code 1

Stop in /usr/src/sys/modules/ntfs.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: have i been hacked?

2004-04-14 Thread Remko Lodder
Clint,
I think you misread my message.  Did moving all the accounts and 
reinstalling  imply that I didn't do a reinstall?  I simply copied over 
known original programs so I could make my backup and do some postmortem 
before reinstalling the system.   As you say, who knows what other 
program were changed.  I wanted to use known good binaries.
My apologies, i indeed misread that part.
I read it as Overwritten the binary's with versions from other systems 
before i wanted to reinstall with me that implied that you did not 
reinstall.

Again, my apologies,

Good job to reinstall (:




--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: building modules

2004-04-14 Thread Remko Lodder
Brian Henning wrote:
I am trying to build the ntfs module and i get the following error.
Any thoughts?
Thanks,
Brian
[EMAIL PROTECTED] /usr/src/sys/modules/ntfs make
Warning: Object directory not changed from original /usr/src/sys/modules/ntfs
@ - /usr/src/sys
ln: @: Operation not supported
*** Error code 1
Stop in /usr/src/sys/modules/ntfs.
Perhaps the modules can only be created when building a new kernel.

why do you need to make it anyway? with me it is listed in 
/boot/kernel(/ntfs.ko)

cheers (:

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ppp problems : Modem connection issues on FreeBSD 5.2.1

2004-04-14 Thread Niraj Kumar
Niraj Kumar wrote:

JJB wrote:

First of all you are using an development version of Freebsd which
snip


I did a bit of tweaking to compile this program (which was for openbsd) .
snip

I will post ppp.conf in next mail .(I  am  currently away from that 
machine) .
For me ,the problem appears to be in ppp  program and not in eciadsl .
Here is ppp.conf :

#
# PPP  Sample Configuration File to use with the Speedtouch USB
# Written by Francois Rogler [EMAIL PROTECTED]
#
# You will have to fill in :
# - login
# - password
# - VPI.VCI as defined by your provider.
#   Check the file vpivci for some commom values.
# `adsl' profile is for the default PPPoA mode
# `pppoe' profile is for the bridged PPPoE mode
#
#   $Id: ppp.conf.sample,v 1.5 2003/07/23 03:36:41 rogler Exp $
#
default:
ident user-ppp VERSION (built COMPILATIONDATE)
set log Phase Chat IPCP CCP tun command
set ifaddr 10.0.0.1/0 10.0.0.2/0
disable pred1 deflate lqr# compression features
denypred1 deflate lqr# line quality reporting
disable ipv6 # turn off ipv6 challenge
adsl:
set authname **
set authkey **
set openmode active 3
set device !/root/eciadsl/eciadsl-usermode-bsd-0.10/pppoeci -v 1 -f 
/var/log/pppoeci.log -alt 4 -mode LLC_RFC2364
accept chap
set speed sync
set timeout 0
set redial 15 1
set dial 
add default HISADDR
enable dns

pppoe:
set authname [EMAIL PROTECTED]
set authkey motihari123
set device PPPoE:tap0
set speed sync
set timeout 0
set redial 15 1
set dial
set login
add default HISADDR
enable dns



Try adding this to your ppp.conf
disable pred1 deflate lqr# compression features
denypred1 deflate lqr# line quality reporting
disable ipv6 # turn off ipv6 challenge
Will try this and let you know the results. 
I am getting the same error even after adding these options .

I am posting eciadsl.conf below :

VID1=0f70
PID1=0001
VID2=0915
PID2=0002
MODE=LLC_RFC2364
VCI=32
VPI=1
FIRMWARE=/etc/eciadsl/firmware00.bin
SYNCH=/etc/eciadsl/synch07.bin
PPPD_USER=*
PPPD_PASSWD=***
USE_DHCP=no
USE_STATICIP=no
STATICIP=
GATEWAY=
MODEM=Other
PROVIDER=Other
DNS1=202.56.250.5
DNS2=


As an guide, I would plug an ms/windows box into your DSL modem and
see what it says to verify you really need PPPoA.
I know this for sure because as I said in my first mail , I am using 
the same
program on Linux  (on the same box with same modem ) to successfully 
connect
to the provider.

FreeBSD 'user ppp' also has pppoa and pppoe options. Most DSL modems
work with pppoe. Read man ppp and the official handbook at
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoa.html


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Niraj Kumar
Sent: Tuesday, April 13, 2004 2:57 AM
To: [EMAIL PROTECTED]
Subject: ppp problems : Modem connection issues on FreeBSD 5.2.1
 Hi,

I have a DSL modem with Globespan chipset.
I am trying to use eciadsl usemode program
 ( http://eciadsl.flashtux.org/download.php?lang=en )
on FreeBSD 5.2.1 (AMD Athlon 2600 , A7N8X-VM  motherboard).
However , I am getting the following error and
ppp connect failed . See the copy/paste from the terminal below :
# ppp -background adsl
Working in background mode
Using interface: tun0
Child failed (errdead)
After  some more digging , I was able to enable logging . (See log
below)
From whatever I see in the log , I guess the culprit is the line
which
says :
Too many LCP NAKs sent - abandoning negotiation .  But I don't
know
how to address this problem .
Could anybody please help me on this .
NOTE  that I am able to connect to my provider using the 0.8 version
of
usermode eciadsl program on Linux , on the same machine .
Also , is there any other program which can be used on FreeBSD for
this
purpose ? FYI , I have to use *ppp over ATM ( PPPoA* == RFC2364 )
for this connection .
If you need any more info , please let me know.
thanks
Niraj
-ppp.log ---

Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: Connected!
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: opening - dial
Apr  8 20:00:53  ppp[638]: tun0: Chat: deflink: Dial attempt 1 of
1
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: dial - carrier
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: carrier - login
Apr  8 20:00:53  ppp[638]: tun0: Phase: deflink: login - lcp
Apr  8 20:00:58  ppp[638]: tun0: Phase: deflink: Too many LCP NAKs
sent
- abandoning negotiation
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Disconnected!
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: lcp - logout
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: logout - hangup
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Disconnected!
Apr  8 20:00:59  ppp[638]: tun0: Phase: deflink: Connect time: 6
secs:
1106 octets in, 558 octets out
Apr  8 20:00:59  ppp[638]: tun0: 

Re: have i been hacked?

2004-04-14 Thread Daniela
On Wednesday 14 April 2004 09:48, Remko Lodder wrote:
 Dan Strick wrote:
...
 When i got the daily run
 output i noticed the setuid files have changed. Wondering if this box got
 hacked and if so where to look to confirm this?
...
 
  Checking setuid files and devices:
  ls: Terminated
 
  : No such file or directory
 
  guardian.davemehler.net setuid diffs:
  1,52d0
   94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003
  /bin/rcp ...

[...]

 aragorn# ls -l /bin/rcp
 -r-sr-xr-x  1 root  wheel  18392 Feb 23 20:41 /bin/rcp

 (notice the size!, someone mentioned that already on the list..)

 So obviously something weird happened.

That needn't be the case. Mine is 932532 bytes long (and it was already that 
size after a fresh reinstall).
And why? Debug symbols. I love to have them everywhere.
Try to strip the file, and it will be much shorter.

Daniela


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


/dev/sa0 DSS-4 drive help

2004-04-14 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,

I am currently trying to get a DSS-4 type drive working on a 5.2.1
RELEASE system but am haveing no joy at all. From dmesg at boot the
device if found as
sa0 at ahc0 bus 0 target 6 lun 0
sa0: ARCHIVE Python 06408-XXX 8130 Removable Sequential Access SCSI-3
device
sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
	'mt status' gives the following (first 2 lines)

Mode  Density  Blocksize  bpi  Compression
Current:  0x26:DDS-4   1024 bytes 97000DCLZ
I have also tried setting blocksize to variable without any success (mt
blocksize 0).
Now when i try to use dump or tar the system will just sit there untill
i get a kernel:  Dump Card State Ends 
message which then locks out the tape drive untill.
For an example the command 'tar -cf /dev/sa0 /root/*-supfile' gave the
following dump...
For reference ls -l /root/*-supfile returns...

- -r--r--r--  1 root  wheel  2761 Apr  9 17:23 /root/doc-supfile
- -r--r--r--  1 root  wheel  3831 Apr  9 17:22 /root/ports-supfile
- -r--r--r--  1 root  wheel  3957 Apr  9 17:22 /root/stable-supfile
| Dump Card State Begins 
ahc0: Dumping Card State while idle, at SEQADDR 0x9
Card was paused
ACCUM = 0x0, SINDEX = 0x14, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x1e
SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE)
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0]
SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP)
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
STACK: 0x0 0x163 0x109 0x3
SCB count = 40
Kernel NEXTQSCB = 32
Card NEXTQSCB = 32
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 1:7
QOUTFIFO entries:
Sequencer Free SCB List: 30 20 14 12 23 28 26 18 11 16 25 0 29 24 17 5
21 22 27 15 6 2 3 31 19 4 13 10 7 9 8
Sequencer SCB Info:
~  0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x67]
SCB_LUN[0x0] SCB_TAG[0x7]
~  2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  5 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 20 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 26 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 27 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 28 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 29 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 30 

Re: have i been hacked?

2004-04-14 Thread Dick Davies
* Luke Kearney [EMAIL PROTECTED] [0459 06:59]:
 
 On Wed, 14 Apr 2004 00:51:06 -0400
 dave [EMAIL PROTECTED] granted us these pearls of wisdom:
 
  Hello,
  Wondering if a system on my network has been hacked?
  ls: Terminated
  : No such file or directory
 
  guardian.davemehler.net setuid diffs:
  1,52d0
   94240 -r-sr-xr-x  1 root  wheel 448384 Jun  4 21:54:47 2003 /bin/rcp
   117807 -r-sr-x---  1 root  operator  421832 Jun  4 21:55:39 2003
  /sbin/mksnap_ffs
   117826 -r-sr-xr-x  1 root  wheel 451668 Jun  4 21:55:43 2003
  /sbin/ping
   117827 -r-sr-xr-x  1 root  wheel 463444 Jun  4 21:55:43 2003
  /sbin/ping6

 My first suggestion is to have a look at what services are running that
 shouldn't be. A hacked box is not much use to anyone if they cannot use
 it.  Try sockstat -4 and see if there are unusual ( unusual for this box )
 services running such as iirc related services. Take a look at your mail
 logs and see if there is unusual mail traffic.

If the box has been taken, you can't trust the binaries any more.
 
 If the attacker is still logged in ( probably unlikely ) you might get a
 hint from netstat -NA |grep ESTABLISHED 

-- 
Menu, n.:
A list of dishes which the restaurant has just run out of.
Rasputin :: Jack of All Trades - Master of Nuns
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unusual login requirement

2004-04-14 Thread Carlos A. Carnero Delgado
Hello,

you could also use the user's crontab. Check the manpage and you'll see 
that you can run commands at login time (and from a script you can 
easily log the user out).

Regards,
Carlos.

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


Re: have i been hacked?

2004-04-14 Thread dave
Hello everyone,
Ok, i am almost certain i've been hacked now. I just checked the system
for some strange accounts or things i didn't recognize. I didn't see
anything in /etc/passwd, /etc/group, /etc/master.passwd, and so forth. I
however ran chkrootkit and got two very disturbing errors, firstly it was
going along reporting items as uninfected, then when it hit sniffer, the
first of several files it died with the error:
Abort Trap
I'm going to take this machine down, back it all up, and do a reinstall.
Also, an nmap scan of the machine from another box showed no unidentified
open services.
Keep the suggestions coming.
Thanks.
Dave.

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


Re: SOLVED: Re: openssl port not over-writing the base

2004-04-14 Thread Uwe Doering
Jamie wrote:
On Mon, 12 Apr 2004, Jamie wrote:
   Tried upgrading openssl this morning on a 4.9REL machine with ports.

  I went into /usr/ports/security/openssl and ran:

  make -DOPENSSL_OVERWRITE_BASE=yes install

 When it was through building, it didn't over-write the /usr/bin/openssl
binary, but it did install the new openssl in /usr/local/bin.
 What am I missing here? The makefile has this line in it:

.if defined(OPENSSL_OVERWRITE_BASE)

 I can't understand why it would put it in /usr/local.
   I was able to get it built correctly without the =yes appended to the
option.
The correct syntax for assigning a value to a make variable would be

  make OPENSSL_OVERWRITE_BASE=yes install

This can be important in cases where just defining the variable with 
'-D' is not enough.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/dev/sa0 DSS-4 drive help

2004-04-14 Thread William Bailey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi All,

I am currently trying to get a DSS-4 type drive working on a 5.2.1
RELEASE system but am haveing no joy at all. From dmesg at boot the
device if found as
sa0 at ahc0 bus 0 target 6 lun 0
sa0: ARCHIVE Python 06408-XXX 8130 Removable Sequential Access SCSI-3
device
sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
	'mt status' gives the following (first 2 lines)

Mode  Density  Blocksize  bpi  Compression
Current:  0x26:DDS-4   1024 bytes 97000DCLZ
I have also tried setting blocksize to variable without any success (mt
blocksize 0).
Now when i try to use dump or tar the system will just sit there untill
i get a kernel:  Dump Card State Ends 
message which then locks out the tape drive untill.
For an example the command 'tar -cf /dev/sa0 /root/*-supfile' gave the
following dump...
For reference ls -l /root/*-supfile returns...

- -r--r--r--  1 root  wheel  2761 Apr  9 17:23 /root/doc-supfile
- -r--r--r--  1 root  wheel  3831 Apr  9 17:22 /root/ports-supfile
- -r--r--r--  1 root  wheel  3957 Apr  9 17:22 /root/stable-supfile
| Dump Card State Begins 
ahc0: Dumping Card State while idle, at SEQADDR 0x9
Card was paused
ACCUM = 0x0, SINDEX = 0x14, DINDEX = 0xe4, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x1e
SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE)
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0]
SSTAT1[0x8]:(BUSFREE) SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP)
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
STACK: 0x0 0x163 0x109 0x3
SCB count = 40
Kernel NEXTQSCB = 32
Card NEXTQSCB = 32
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 1:7
QOUTFIFO entries:
Sequencer Free SCB List: 30 20 14 12 23 28 26 18 11 16 25 0 29 24 17 5
21 22 27 15 6 2 3 31 19 4 13 10 7 9 8
Sequencer SCB Info:
~  0 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  1 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x67]
SCB_LUN[0x0] SCB_TAG[0x7]
~  2 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  3 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  4 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  5 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  6 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  7 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  8 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~  9 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 10 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 11 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 12 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 13 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 14 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 15 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 16 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 17 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 18 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 19 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 20 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 21 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 22 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 23 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 24 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 25 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 26 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 27 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 28 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 29 SCB_CONTROL[0xe0]:(TAG_ENB|DISCENB|TARGET_SCB) SCB_SCSIID[0x27]
SCB_LUN[0x0] SCB_TAG[0xff]
~ 30 

Re: have i been hacked?

2004-04-14 Thread Matthew Seaman
On Wed, Apr 14, 2004 at 04:08:08PM +, Daniela wrote:

[ size of the /bin/rcp executable ]

 That needn't be the case. Mine is 932532 bytes long (and it was already that 
 size after a fresh reinstall).
 And why? Debug symbols. I love to have them everywhere.
 Try to strip the file, and it will be much shorter.

Installed binaries should already be stripped if they're part of the
base system.  You have to make a special effort setting things in
/etc/make.conf to prevent binaries being stripped on installation.
The reason that rcp is so large on 4.x is that it's statically linked:

% ls -la /bin/rcp
-r-sr-xr-x  1 root  wheel  251572 Feb  7 12:43 /bin/rcp*
% file /bin/rcp
/bin/rcp: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for 
FreeBSD 4.9, statically linked, stripped

On recent 5.x, rcp will be linked against the shared libc and
consequently rather smaller in size.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


OpenLDAP on FreeBSD5.2.1

2004-04-14 Thread Ben H.
Dear helpful people,
 
  I am attempting to get OpenCA installed on a FreeBSD 5.2.1 box and I am at the point 
where I would like to get OpenLDAP installed and configured.
 
I am having problems with the installation.  I have installed OpenLDAP from the ports.
 
I ran CVSUP and updated the ports prior to any ports based installs.
 
login as: c11058 Sent username c11058
--- password:
Last login: Tue Apr 13 12:33:05 2004 from dhcp-xxx-xx-xx-
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.
FreeBSD 5.2.1-RELEASE (GENERIC) #0: Mon Feb 23 20:45:55 GMT 2004
Welcome to FreeBSD!
 
USER$ pkg_info
XFree86-libraries-4.3.0_6 XFree86-4 libraries and headers
apache+mod_ssl-1.3.29+2.8.16_1 The Apache 1.3 webserver with SSL/TLS functionality
cvsup-without-gui-16.1h General network file distribution system optimized for CVS
db42-4.2.52_2   The Berkeley DB package, revision 4.2
openldap-client-2.2.7_3 Open source LDAP client implementation
openldap-server-2.2.7_2 Open source LDAP server implementation
openssl-0.9.7d  SSL and crypto library
p5-Authen-PAM-0.14  A Perl interface to the PAM library
p5-Net-SSLeay-1.23  Perl5 interface to SSL
perl-5.6.1_15   Practical Extraction and Report Language
samba-2.2.8a_1  A free SMB and CIFS client and server for UNIX
webmin-1.130_11 Web-based interface for system administration for Unix
...among others...
 
=== === === === === The following command yields:
USER$ ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base  with scope base
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=bae-test-ca3,dc=lab
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
=== === === === ===
 
=== === === === === then an add...
User$ ldapadd -x -D cn=Manager,dc=bae-test-ca3,dc=lab -W -f test.ldif
Enter LDAP Password:
adding new entry dc=bae-test-ca3,dc=lab
=== === === === ===
 
=== === === === === then check...  WHAT... Failed!   Help!
User$ ldapsearch -x -b 'dc=bae-test-ca3,dc=lab' '(objectclass=*)'
# extended LDIF
#
# LDAPv3
# base dc=bae-test-ca3,dc=lab with scope sub
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
=== === === === ===
 
I don't know where to look.  Everything I did was based upon the OpenLDAP 2.2 Admin 
Guide.  I would appreciate any help I can get.
 
I haven't even gotten to Schemas yet!
 
Thanks!
 






Ben Hacker, Jr.
Sr. Security Analyst 
  2461 S. Clark Street 
  Arlington, VA 22202 
  [EMAIL PROTECTED] 
  703.418.8004 (w)
-- -- --
  http://www.hackerweb.net/bthacker ...remembering...

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


Re: Telnet Operation Timed Out

2004-04-14 Thread Holtor
Nikos,

Thank you so much! The value is not in seconds but in milliseconds (wierd?). I set it 
to 1 ms
which gave me a 10 second timeout however this is system-wide and I dont want to break 
things.

Does anyone know how to do it for just this specific telnet session? Perhaps there's a 
keepinit
rule in ipfw. Any ideas? Tia

Holt

--- Nikos Vassiliadis [EMAIL PROTECTED] wrote:
 You can change the non-established-connection-timeout
 using sysctl net.inet.tcp.keepinit=value. The default is
 75000, at least on FreeBSD-4.9, which is probably a lot.
 
 Cheers, NikV
 
 On Wednesday 14 April 2004 14:36, Holtor wrote:
  Hello All,
 
  How can I change the default telnet timeout value when connecting to remote
  hosts?
 
  For example:
 
  # time telnet -N 1.2.3.4
  Trying 1.2.3.4...
  telnet: connect to address 1.2.3.4: Operation timed out
  telnet: Unable to connect to remote host
  0.000u 0.008s 1:15.01 0.0%  0+0k 1+0io 6pf+0w
 
  The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I
  have been searching google to no avail but did get hints that this might be
  a TCP default of somekind.
 
  If anyone has any idea please do e-mail back but include my in the reply as
  I'm not yet subscribed to the list.
 
  Thanks,
 
  Holt G.
 
 
 
 
 
  __
  Do you Yahoo!?
  Yahoo! Tax Center - File online by April 15th
  http://taxes.yahoo.com/filing.html
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portaudit

2004-04-14 Thread RJ45

hi,
actually I have many fetchaudit daily script running from previous days:

root1310  0.0  0.1  1088  536  ??  I 6Apr04   0:00.02 /bin/sh
/usr/local/etc/periodic/daily/330.fetchaudit
root   68392  0.0  0.1  1088  536  ??  I 7Apr04   0:00.02 /bin/sh
/usr/local/etc/periodic/daily/330.fetchaudit
root   75805  0.0  0.1  1088  536  ??  IFri03AM   0:00.02 /bin/sh
/usr/local/etc/periodic/daily/330.fetchaudit
root   30120  0.0  0.1  1088  536  ??  ISat03AM   0:00.02 /bin/sh
/usr/local/etc/periodic/daily/330.fetchaudit
root   84915  0.0  0.1  1088  536  ??  ISun03AM   0:00.02 /bin/sh
/usr/local/etc/periodic/daily/330.fetchaudit

looks liek the traffic is due to this because I Stopped hte processes and
the traffic stopped as well...

thanks

Rick


On Tue, 13 Apr 2004, Ion-Mihai Tetcu wrote:

 On Tue, 13 Apr 2004 14:04:04 -0600 (MDT)
 RJ45 [EMAIL PROTECTED] wrote:
 
  
  Hello,
  I installed portaudit.
  Since I installed it I noticed there are always ESTABLISHED connections to
  some ftp servers:
  
  tcp4   0 20  venus.51739freebsd.utcluj.r.ftp
  ESTABLISHED
  tcp4   0 20  venus.49718gort.ludd.ltu.se.ftp
  ESTABLISHED
  tcp4   0  6  venus.49706www.freebsd.cz.ftp
  ESTABLISHED
  tcp4   0  6  venus.49688gort.ludd.ltu.se.ftp
  ESTABLISHED
  tcp4   0 20  venus.49682ftp.jpix.ad.jp.ftp
  ESTABLISHED
  
  and I noticed I have a constant traffic rate on my ADSL link of about
  20 Kb/sec inbound and 20 Kb/sec outbound, always day and night.
  is it normal?
 
 No. Edit /usr/local/etc/portaudit.conf and add something like:
 FETCH_BEFORE_ARGS=-vvv
 
 after that do a ps and kill -9 the fetchaudit (or portaudit) process.
 
 Watch your daily mail and send the output and the content of
 portaudit.conf.
 
 But I doubt the the output traffic is portaudit fault.
 
 -- 
 IOnut
 Unregistered ;) FreeBSD user
 
 

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


Re: portaudit

2004-04-14 Thread RJ45

this is the problem:

fetch: ftp://ftp.cz.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz: 
Syntax
error, command unrecognized

I have my mailbox full of error like these over half gigs for each cron
report and this is generating traffic 

thanks

Rick


On Tue, 13 Apr 2004, Ion-Mihai Tetcu wrote:

 On Tue, 13 Apr 2004 14:04:04 -0600 (MDT)
 RJ45 [EMAIL PROTECTED] wrote:
 
  
  Hello,
  I installed portaudit.
  Since I installed it I noticed there are always ESTABLISHED connections to
  some ftp servers:
  
  tcp4   0 20  venus.51739freebsd.utcluj.r.ftp
  ESTABLISHED
  tcp4   0 20  venus.49718gort.ludd.ltu.se.ftp
  ESTABLISHED
  tcp4   0  6  venus.49706www.freebsd.cz.ftp
  ESTABLISHED
  tcp4   0  6  venus.49688gort.ludd.ltu.se.ftp
  ESTABLISHED
  tcp4   0 20  venus.49682ftp.jpix.ad.jp.ftp
  ESTABLISHED
  
  and I noticed I have a constant traffic rate on my ADSL link of about
  20 Kb/sec inbound and 20 Kb/sec outbound, always day and night.
  is it normal?
 
 No. Edit /usr/local/etc/portaudit.conf and add something like:
 FETCH_BEFORE_ARGS=-vvv
 
 after that do a ps and kill -9 the fetchaudit (or portaudit) process.
 
 Watch your daily mail and send the output and the content of
 portaudit.conf.
 
 But I doubt the the output traffic is portaudit fault.
 
 -- 
 IOnut
 Unregistered ;) FreeBSD user
 
 

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


PCI-X support in FreeBSD

2004-04-14 Thread Dwayne MacKinnon
Hello,

	I was wondering if there were any plans to support the PCI-X bus in 
FreeBSD. The hardware release notes for both 4.9 and 5.2.1 only mention 
PCI. I know that all PCI-X slots support standard PCI cards, but I'm 
interested in the performance boost that PCI-X gives.

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


lament about freebsd sacrifices

2004-04-14 Thread Peter Leftwich
I thought I would post this as something of a warning.  Using
FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
partial list of sacrifices, as compared to Microsoft Windows XP:

* webcam ball
* flatbed scanner
* color printer
* digital cameras
* firewire devices
* several USB 1 and 2 devices
* IM software features such as voice and video chat
* websites that use ActiveX (Windows) controls
* MP3 devices

Any major sacrifices I've forgotten?  :-\

--
Peter Leftwich, President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com



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


Re: [SDBUG] lament about freebsd sacrifices

2004-04-14 Thread Andrew R. Reiter

On Wed, 14 Apr 2004, Peter Leftwich wrote:

:I thought I would post this as something of a warning.  Using
:FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
:partial list of sacrifices, as compared to Microsoft Windows XP:
:
:* webcam ball
:* flatbed scanner
:* color printer
:* digital cameras
:* firewire devices
:* several USB 1 and 2 devices
:* IM software features such as voice and video chat
:* websites that use ActiveX (Windows) controls
:* MP3 devices
:
:Any major sacrifices I've forgotten?  :-\
:

After everyone lists what they believe they are sacrificing by using
FreeBSD (or another BSD) instead of Winderz, it might be worthwhile going
through that list, ensuring they are in fact unavailable (or not at the
state you'd like to see) and generating an email to the apropos OS
development mailing lists.

Willing to head up that task?

Cheers,
Andrew

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


how to tell how much of shared memory is used?

2004-04-14 Thread Aditya
ipcs -a tells me how much shared memory has been allocated to a process, but
is there a way to tell how much of that allocated space is being used?

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Dan Nelson
In the last episode (Apr 14), Peter Leftwich said:
 I thought I would post this as something of a warning.  Using FreeBSD
 as a primary, non-dual-boot OS means sacrificing.  Here is a partial
 list of sacrifices, as compared to Microsoft Windows XP:
 
 * webcam ball
 * flatbed scanner

ports/graphics/sane-* ?

 * color printer

Does it not talk postscript?  Does ghostscript have a driver for it?

 * digital cameras

The ones I have used are just umass devices, msdosfs-formatted.

 * firewire devices
 * several USB 1 and 2 devices
 * IM software features such as voice and video chat
 * websites that use ActiveX (Windows) controls
 * MP3 devices

ports/audio/{gnupod,gtkpod,rio,rio50,rioutil,snowstar} ?

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


read/write disk bandwidth monitoring?

2004-04-14 Thread Aditya
iostat can provide an aggregate number for transactions per second and Bytes
per transaction for a given device, but if it is a block device, is there a
counter accessible from iostat or elsewhere that I can see how much is read
transactions versus write transactions?

 iostat -K -d -I 1
 ad0  ad2  da0pass0
  KB/t xfrs   MB   KB/t xfrs   MB   KB/t xfrs   MB   KB/t xfrs   MB
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  7.50   8  0.06   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
  0.00   0  0.00   0.00   0  0.00   0.00   0  0.00   0.00   0  0.00
^C

tells me transactions per device, but not divided into reads versus writes...

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Andrew Elmore
On Wed, Apr 14, 2004 at 11:36:05AM -0700, Peter Leftwich wrote:
 I thought I would post this as something of a warning.  Using
 FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
 partial list of sacrifices, as compared to Microsoft Windows XP:

snip

 * websites that use ActiveX (Windows) controls

I count this as a net gain.  ;-)

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Josh Paetzel
On Wed, Apr 14, 2004 at 11:36:05AM -0700, Peter Leftwich wrote:
 I thought I would post this as something of a warning.  Using
 FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
 partial list of sacrifices, as compared to Microsoft Windows XP:

People that use FreeBSD as a primary desktop are usually the sorts of people 
that buy hardware that works fine in FreeBSD.

In order to avoid escalation I will not mention the many sacrifices a 
typical Windows user has made

 
 * webcam ball
 * flatbed scanner
 * color printer
 * digital cameras
 * firewire devices
 * several USB 1 and 2 devices
 * IM software features such as voice and video chat
 * websites that use ActiveX (Windows) controls
 * MP3 devices
 
 Any major sacrifices I've forgotten?  :-\
 

Not that I can think of, but you've included some devices on that list that 
work fine for me in FBSD.


 --
 Peter Leftwich, President  Founder
 Video2Video Services
 Box 13692, La Jolla, CA, 92039, USA
 http://Www.Video2Video.Com

Assuming you aren't a troll, this sort of discussion belongs on -chat.

Josh Paetzel

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


Re: lament about freebsd sacrifices

2004-04-14 Thread MikeM
On 4/14/2004 at 11:36 AM Peter Leftwich wrote:

|I thought I would post this as something of a warning.  Using
|FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
|partial list of sacrifices, as compared to Microsoft Windows XP:
|
|* webcam ball
|* flatbed scanner
|* color printer
|* digital cameras
|* firewire devices
|* several USB 1 and 2 devices
|* IM software features such as voice and video chat
|* websites that use ActiveX (Windows) controls
|* MP3 devices
|
|Any major sacrifices I've forgotten?  :-\
|
 =


I consider lack of Active-X a feature.  I use Opera on Windows for that
very reason.

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


Best way to do network printing with parallel inkjet printer?

2004-04-14 Thread Nicholas Jackson
I have an Epson inkjet printer (Stylus Color 740) that I have working 
with apsfilter.

However, I have not been able to get it working as a network printer 
(as well as local) with Ghostscript yet.

Where is the best description of a good way to get this working? The 
cups, documentation, for example, is not very intuitive...

Thank you everyone..

Nicholas

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


Re: [SDBUG] lament about freebsd sacrifices

2004-04-14 Thread Jeremiah Gowdy
What you're basically complaining about is lack of OEM hardware device
drivers and lack of open source drivers for devices whose specs aren't open.
These are obvious sacrifices in any non-Windows operating system.  Even the
Macintosh platform has occasionally seen hardware which lacks proper drivers
for MacOS.  However, you'll notice that major manufacturers are starting to
provide FreeBSD drivers.  Since we lack the mainstream popularity of Windows
and Linux, it is likely that we will fall just after Linux when it comes to
receiving OEM hardware device drivers.  In the mean time, hard working
people are attempting to reverse engineer devices that they are interested
in seeing supported.  If you are interested in seeing certain devices
supported, either learn how to write device drivers and start reverse
engineering the devices you want to support, or privately contract someone
to write the driver, or donate to the FreeBSD Foundation or individual
developers of FreeBSD.

However, having enumerated a very non-specific list of devices in your
lamentation against sacrifices made when running FreeBSD instead of
Windows XP, may I recommend you do what the rest of those of us who need
those devices do: run Windows XP or limit your hardware purchases to
supported devices.

Thanks for yet another post of drivel to the San Diego BSD Users Group
(cross-posted to -questions too, nice question!).



- Original Message - 
From: Peter Leftwich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 10:36 AM
Subject: [SDBUG] lament about freebsd sacrifices


I thought I would post this as something of a warning.  Using
FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
partial list of sacrifices, as compared to Microsoft Windows XP:

* webcam ball
* flatbed scanner
* color printer
* digital cameras
* firewire devices
* several USB 1 and 2 devices
* IM software features such as voice and video chat
* websites that use ActiveX (Windows) controls
* MP3 devices

Any major sacrifices I've forgotten?  :-\

--
Peter Leftwich, President  Founder
Video2Video Services
Box 13692, La Jolla, CA, 92039, USA
http://Www.Video2Video.Com



___
San Diego's BSD Users Group
http://www.sdbug.org
[EMAIL PROTECTED]
http://www.sdbug.org/mailman/listinfo/sdbug

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


False positives from chkrootkit? or hacked test server?

2004-04-14 Thread Mike
Greetings:

My test system:
FreeBSD 4.9-stable
Pentium III 800
I read an earlier post about using chkrootkit to check for root kits 
(intrusions).  I'm still learning about FreeBSD so I thought I would run 
this too.

Well... I installed and ran chkrootkit. And the output shows that:

Checking `chfn'... INFECTED
Checking `chsh'... INFECTED
Checking `date'... INFECTED
Checking `ls'... INFECTED
Checking `ps'... INFECTED
No rootkits were found.

This FreeBSD system is a test server running Postfix, Samba, Apache, 
PHP4, MySql, and akpop3. For a firewall I run IPFW.

This computer sits behind a NAT router (linksys BEFSR41).  The Linksys 
router forwards a few ports (25, 110, 80) to a different server (a 
Redhat-9 system). However, NO PORTS are forwarded to this FreeBSD system.

My Redhat-9 server that runs Apache, Mysql, php4, and postfix.

Question: Does chkrootkit ever generate false positives?

This system has just few test websites on it (test data) and nothing 
else.  But if this system has been compromised, then how?  Given that 
any public services (forwarded from the router) coming across ports 25, 
110, 80, 22 are sent to a different server altogether?

I would appreciate any hints or pointers.  Thank you.

Michael Chinn



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


Re: portaudit

2004-04-14 Thread Ion-Mihai Tetcu
On Wed, 14 Apr 2004 12:30:58 -0600 (MDT)
RJ45 [EMAIL PROTECTED] wrote:

 
 this is the problem:
 
 fetch: ftp://ftp.cz.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/eik/auditfile.tbz: 
 Syntax
 error, command unrecognized
 
 I have my mailbox full of error like these over half gigs for each cron
 report and this is generating traffic 

See my other mail. Give what I asked for. I cannot guess what is
happening.

Give the output of:
# portaudit -Vd  env FETCH_CMD='fetch -vvvp' portaudit -F -d



 
 thanks
 
 Rick
 

-- 
IOnut
Unregistered ;) FreeBSD user

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


RE: Gimp 2 does not come with help?

2004-04-14 Thread mark rowlands
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Rob
 Sent: Wednesday, April 14, 2004 2:39 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Gimp 2 does not come with help?
try 

cd /usr/ports/graphics/gimp-manual-html
make install clean
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lament about freebsd sacrifices

2004-04-14 Thread Andrew L. Gould
On Wednesday 14 April 2004 01:55 pm, Dan Nelson wrote:
 In the last episode (Apr 14), Peter Leftwich said:
  I thought I would post this as something of a warning.  Using FreeBSD
  as a primary, non-dual-boot OS means sacrificing.  Here is a partial
  list of sacrifices, as compared to Microsoft Windows XP:
 
  * webcam ball
See video camera and video chat below.

  * flatbed scanner

 ports/graphics/sane-* ?

  * color printer

Epson C82 using apsfilter and gnomeprint.


 Does it not talk postscript?  Does ghostscript have a driver for it?

  * digital cameras
I use Sony Cybershot DSC-P92:
1. Plug camera into computer using usb, check dmesg for umass device and mount 
memory card file system; or
2. plug camera (AV out) into brooktree device (AV in).


 The ones I have used are just umass devices, msdosfs-formatted.

  * firewire devices

My Maxtor firewire harddrive works fine.

  * several USB 1 and 2 devices

Agreed.  (sigh)

  * IM software features such as voice and video chat

/usr/ports/net/gnomemeeting
Plug microphone into sound card.
Plug camera AV out into brooktree device.  Camera should be in movie mode.  
Any camera/camcorder with AV out should work.

(I've never tried sending a cable tv show over gnomemeeting.  hmm...)

  * websites that use ActiveX (Windows) controls
  * MP3 devices

 ports/audio/{gnupod,gtkpod,rio,rio50,rioutil,snowstar} ?

Study before you shop, then shop for hardware interface flexibility and be 
creative.  This isn't as easy as shopping for Macs or Windows; but it's part 
of the price for running a lean, mean operating system.

Let it be fun.

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Jerry McAllister
 
 I thought I would post this as something of a warning.  Using
 FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
 partial list of sacrifices, as compared to Microsoft Windows XP:
 
 * webcam ball
 * flatbed scanner
 * color printer
 * digital cameras
 * firewire devices
 * several USB 1 and 2 devices
 * IM software features such as voice and video chat
 * websites that use ActiveX (Windows) controls
 * MP3 devices
 
 Any major sacrifices I've forgotten?  :-\

What are you wasting our (your) time about here??

Most of this stuff in your list works fine on FreeBSD
and why would anyone in their right mind want Activex?

jerry

 
 --
 Peter Leftwich, President  Founder
 Video2Video Services
 Box 13692, La Jolla, CA, 92039, USA
 http://Www.Video2Video.Com
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lament about freebsd sacrifices

2004-04-14 Thread brian-freebsd-001
On 14 April, 2004, at 14:55 (-0500)
Andrew L. Gould [EMAIL PROTECTED] wrote:

   * digital cameras
 I use Sony Cybershot DSC-P92:
 1. Plug camera into computer using usb, check dmesg for umass device and mount
 memory card file system; or

Even better, have usbd do it for you. Add this line to /etc/usbd.conf:

# Sony Digital Camera
device Digital Camera
vendor 0x054c
product 0x0010
release 0x0450
attach sleep 2; /sbin/mount /mnt/camera
detach /sbin/umount /mnt/camera

Then, add the following to /etc/fstab:

/dev/da0s1/mnt/camera msdos   ro,noauto   0   0

I have the same camera. The above works great for me, on FreeBSD 4.7. Plug
the USB cable into the camera, turn the camera on, and a few seconds later,
the memory stick is mounted on your FreeBSD system. I've been using the
above configuration for about 9 months now, with no difficulty at all.

Obviously, YMMV, depending on the camera you have.

Brian Clapper, http://www.clapper.org/bmc/
Failing to get them to do it your way might mean they're stupid, but it also
means you failed to get them to do it your way.
-- Cal Keegan

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


pure-ftpd

2004-04-14 Thread dave
Hello,
Sorry if this is a repost, but i am having some email difficulties. I am
getting a startup error message: Can not find the ftp account when
atempting to start pure-ftpd. I'm using this on a 5.x machine, and i've
created a pure-ftpd user, but i don't see a facility to specify user and
group the server should run as.
I've got a diff of changes i made to the pure-ftpd.conf file which i
copied from pure-ftpd.conf.sample and would appreciate any suggestions.
Thanks.
Dave.

My diff command was:
diff pure-ftpd.conf pure-ftpd.conf.sample pureftpd
which is here
65c65
 DisplayDotFiles no
---
 DisplayDotFiles yes
104c104
 MaxIdleTime 5
---
 MaxIdleTime 15
126c126
  PureDB/usr/local/etc/pureftpd.pdb
---
 # PureDB/etc/pureftpd.pdb
180c180
  PassivePortRange  3 5
---
 # PassivePortRange  3 5
214c214
  Bind  127.0.0.1,21
---
 # Bind  127.0.0.1,21
227c227
  UserBandwidth 8
---
 # UserBandwidth 8
324c324
 NoChmod yes
---
 #NoChmod yes
336c336
 CreateHomeDir   yes
---
 #CreateHomeDir   yes
351c351
 PIDFile /var/run/pure-ftpd.pid
---
 #PIDFile /var/run/pure-ftpd.pid
429c429
  IPV4Only yes
---
 # IPV4Only yes

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


Re: False positives from chkrootkit? or hacked test server?

2004-04-14 Thread Bob Collins
On Wed, Apr 14, 2004, Mike clacked the keyboard to produce:
 Greetings:
 
 My test system:
 FreeBSD 4.9-stable
 Pentium III 800
 
 I read an earlier post about using chkrootkit to check for root kits 
 (intrusions).  I'm still learning about FreeBSD so I thought I would run 
 this too.
 
 Well... I installed and ran chkrootkit. And the output shows that:
 
 Checking `chfn'... INFECTED
 Checking `chsh'... INFECTED
 Checking `date'... INFECTED
 Checking `ls'... INFECTED
 Checking `ps'... INFECTED
 
 No rootkits were found.
 
 This FreeBSD system is a test server running Postfix, Samba, Apache, 
 PHP4, MySql, and akpop3. For a firewall I run IPFW.
 
 This computer sits behind a NAT router (linksys BEFSR41).  The Linksys 
 router forwards a few ports (25, 110, 80) to a different server (a 
 Redhat-9 system). However, NO PORTS are forwarded to this FreeBSD system.
 
 My Redhat-9 server that runs Apache, Mysql, php4, and postfix.
 
 Question: Does chkrootkit ever generate false positives?
 

Michael, I cannot answer your question, but rather throw in my false
positive question as well.

I am running FBSD 5.0 release with named, Apache, MySQL, and Samba too.
I receieved the exact same positives from my system. Everything else is
fine.

In Googling I found a question as such and the only reply was FAQ and
read the archives, to wit, some joker has a name of chkrootkit and you
get a zillion of his mails, yet nothing helpful otherwise. Looking
forward to hearing something too.

-- 
Bob

Play is the work of children. It's very serious stuff. And if it's
properly structured in a developmental program, children can blossom.
-Bob Keeshan aka `Captain Kangaroo'
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quick queston

2004-04-14 Thread Brian Henning
Where on the freebsd website can i find info on the difference between FBSD 4.10
and FBSD 4.9?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lament about freebsd sacrifices

2004-04-14 Thread Andrew L. Gould
On Wednesday 14 April 2004 03:33 pm, [EMAIL PROTECTED] wrote:
 On 14 April, 2004, at 14:55 (-0500)

 Andrew L. Gould [EMAIL PROTECTED] wrote:
* digital cameras
 
  I use Sony Cybershot DSC-P92:
  1. Plug camera into computer using usb, check dmesg for umass device and
  mount memory card file system; or

 Even better, have usbd do it for you. Add this line to /etc/usbd.conf:

 # Sony Digital Camera
 device Digital Camera
 vendor 0x054c
 product 0x0010
 release 0x0450
 attach sleep 2; /sbin/mount /mnt/camera
 detach /sbin/umount /mnt/camera

 Then, add the following to /etc/fstab:

 /dev/da0s1/mnt/camera msdos   ro,noauto   0   0

 I have the same camera. The above works great for me, on FreeBSD 4.7. Plug
 the USB cable into the camera, turn the camera on, and a few seconds later,
 the memory stick is mounted on your FreeBSD system. I've been using the
 above configuration for about 9 months now, with no difficulty at all.

 Obviously, YMMV, depending on the camera you have.

 Brian Clapper, http://www.clapper.org/bmc/
 Failing to get them to do it your way might mean they're stupid, but it
 also means you failed to get them to do it your way.
 -- Cal Keegan

Thanks!

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


Virus Alert

2004-04-14 Thread administrator
The mail message (file: your_file.pif) you sent to [EMAIL PROTECTED] contains a virus. 
(on mail.sahara.co.in)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Beginning C++ in FreeBSD

2004-04-14 Thread Me
Hi,
I've learn shell scripting and java on my freebsd box
since I migrated from winblows 98 a while back. now
i'm ready to move to a more sophisticated language. I
have decided to go with C++. Is there any bigginer
guides online that you may have run a cross that would
help me get started?


Joe


 Dont let the bugs in, close the Windows 




__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: False positives from chkrootkit? or hacked test server? [SOLVED]

2004-04-14 Thread Mike
Jeff Maxwell wrote:

upgrade your ports. The chkrootkit that ships with 4.9 gives false 
positives

Jeff:

Thanks for the tip.

I deinstalled the chkrootkit (v-4.1) that came with 4.9.  I then 
downloaded and installed the most recent version (v-4.3) from the 
chkrootkit.org site.

I re-ran chkrootkit and found NO infected files and NO rootkits.

Michael Chinn


On Apr 14, 2004, at 3:29 PM, Mike wrote:

Greetings:

My test system:
FreeBSD 4.9-stable
Pentium III 800
I read an earlier post about using chkrootkit to check for root kits 
(intrusions).  I'm still learning about FreeBSD so I thought I would 
run this too.

Well... I installed and ran chkrootkit. And the output shows that:

Checking `chfn'... INFECTED
Checking `chsh'... INFECTED
Checking `date'... INFECTED
Checking `ls'... INFECTED
Checking `ps'... INFECTED
No rootkits were found.

This FreeBSD system is a test server running Postfix, Samba, Apache, 
PHP4, MySql, and akpop3. For a firewall I run IPFW.

This computer sits behind a NAT router (linksys BEFSR41).  The Linksys 
router forwards a few ports (25, 110, 80) to a different server (a 
Redhat-9 system). However, NO PORTS are forwarded to this FreeBSD system.

My Redhat-9 server that runs Apache, Mysql, php4, and postfix.

Question: Does chkrootkit ever generate false positives?

This system has just few test websites on it (test data) and nothing 
else.  But if this system has been compromised, then how?  Given that 
any public services (forwarded from the router) coming across ports 
25, 110, 80, 22 are sent to a different server altogether?

I would appreciate any hints or pointers.  Thank you.

Michael Chinn



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


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


Re: quick queston

2004-04-14 Thread Charles Swiger
On Apr 14, 2004, at 4:48 PM, Brian Henning wrote:
Where on the freebsd website can i find info on the difference between 
FBSD 4.10 and FBSD 4.9?
Until 4.10 is officially released, the information you ask for may 
not be completely available, but 
http://www.freebsd.org/releases/4.10R/relnotes.html will be the place 
to look when it is.

[ Replace the .10 with a .9, and you'll see what the changes between 
4.8 and 4.9 were, for instance. ]

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


NFSD v3 (CFSD?)

2004-04-14 Thread Stephan Riberi
Hello Group,

I have problems with nfsd. I want to use nfs v3 instead of v2.

When I try to mount a dir for the use of cfsd I get this error:
-bash-2.05b# mount -o port=3049,intr,nfsv3 localhost:/crypt_data/crypt/ /crypt/
localhost:/crypt_data/crypt: NFSPROC_NULL: RPC: Program/version mismatch; low version 
= 2, high version = 2

but if I let away the port=3049 option it gets mountet but the
/crypt/ dir is empty:
-bash-2.05b# mount -o intr,nfsv3 localhost:/crypt_data/crypt/ /crypt/
-bash-2.05b# cattach /crypt_data/data/
Key:
-bash-2.05b# ls /crypt
-bash-2.05b#

using nfs v2, everything works fine:
-bash-2.05b# mount -o port=3049,intr,nfsv2 localhost:/crypt_data/crypt/ /crypt/
-bash-2.05b# cattach /crypt_data/data/
Key:
-bash-2.05b# ls /crypt
data
-bash-2.05b#


I want to use nfs v3 to be able to handle big files.

Here are some details of my system:

-bash-2.05b# uname -a
FreeBSD server.group 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003  
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
-bash-2.05b# rpcinfo -p
   program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
132   udp   2049  nfs
133   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
10928305672   udp   3049
1000241   udp991  status
1000241   tcp   1021  status
153   udp956  mountd
153   tcp   1013  mountd
151   udp956  mountd
151   tcp   1013  mountd

Any Thoughts?

Best regards,
Stephan

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Kirk Strauser
At 2004-04-14T20:33:09Z, [EMAIL PROTECTED] writes:

 Even better, have usbd do it for you. Add this line to /etc/usbd.conf:

While we're on the subject, that's *not* a recommended way of unmounting USB
memory sticks though, correct?  After all, the filesystem wouldn't be
unmounted until the stick had been removed, at which point it's too late to
sync the filesystem.
-- 
Kirk Strauser

94 outdated ports on the box,
 94 outdated ports.
 Portupgrade one, an hour 'til done,
 82 outdated ports on the box.


pgp0.pgp
Description: PGP signature


Re: have i been hacked?

2004-04-14 Thread albi
On Wed, 14 Apr 2004 16:08:08 +
Daniela [EMAIL PROTECTED] wrote:

  aragorn# ls -l /bin/rcp
  -r-sr-xr-x  1 root  wheel  18392 Feb 23 20:41 /bin/rcp
 
  (notice the size!, someone mentioned that already on the list..)
 
  So obviously something weird happened.
 
 That needn't be the case. Mine is 932532 bytes long (and it was already that 
 size after a fresh reinstall).
 And why? Debug symbols. I love to have them everywhere.
 Try to strip the file, and it will be much shorter.

apart from that, does one really need rcp at all ? i recommend to delete as 
much as possible your setuid-apps, use jails for your services and read security-howtos
and if you really think your box is cracked, reinstall from scratch (and you'll sleep
better at night :)

when it comes to rootkits, try also : rkhunter from http://www.rootkit.nl

HTH,GL!

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


Re: lament about freebsd sacrifices

2004-04-14 Thread Radek Kozlowski
On 2004.04.14 22:33, [EMAIL PROTECTED] wrote:
On 14 April, 2004, at 14:55 (-0500)
Andrew L. Gould [EMAIL PROTECTED] wrote:

* digital cameras
I use Sony Cybershot DSC-P92:
1. Plug camera into computer using usb, check dmesg for umass device and mount
memory card file system; or


Even better, have usbd do it for you. Add this line to /etc/usbd.conf:
Just out of curiosity, you guys know about graphics/gphoto2 port?

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


Re: False positives from chkrootkit? or hacked test server?

2004-04-14 Thread Martin Hudec
Hello all,

On Wed, Apr 14, 2004 at 02:11:34PM -0700 or thereabouts, Mike wrote:
 Jeff Maxwell wrote:
 
 upgrade your ports. The chkrootkit that ships with 4.9 gives false 
 positives
 


I'm using chrootkit from fresh ports update (v4.3). Results are as:

System 1 on 4.9-STABLE:
nothing found

System 2 on 4.10-BETA:
chfn, chsh, date infected

System 3 on 5.2.1-RELEASE-p4:
date infected, stops (freezes) at checking 'lkm'

strace shows:
wait4(-1, Process 610 attached - interrupt to quit

Systems are behind two firewalls, with only ssh allowed (5.x) or
ftp, ssh, smtp, www, pop3 and https allowed (4.x).


-- 
Martin Hudec| corwin at aeternal.net
| corwin at web.markiza.sk
http://www.aeternal.net | cell +421 907 303 393

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


Re: Gimp 2 does not come with help?

2004-04-14 Thread Rob
mark rowlands wrote:
 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Sent: Wednesday, April 14, 2004 2:39 PM
To: [EMAIL PROTECTED]
Subject: Re: Gimp 2 does not come with help?
try 

cd /usr/ports/graphics/gimp-manual-html
make install clean
No, that doesn't help. This port installs .html files.

As I explained earlier in this thread, gimp (version 2.0.0) help
complains about not finding help files that have .xml extension.
And it says Check your installation. So I bet the gimp port is
not complete.
Rob
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lament about freebsd sacrifices

2004-04-14 Thread Andrew L. Gould
On Wednesday 14 April 2004 04:33 pm, Radek Kozlowski wrote:
 On 2004.04.14 22:33, [EMAIL PROTECTED] wrote:
  On 14 April, 2004, at 14:55 (-0500)
 
  Andrew L. Gould [EMAIL PROTECTED] wrote:
 * digital cameras
 
 I use Sony Cybershot DSC-P92:
 1. Plug camera into computer using usb, check dmesg for umass device and
  mount memory card file system; or
 
  Even better, have usbd do it for you. Add this line to /etc/usbd.conf:

 Just out of curiosity, you guys know about graphics/gphoto2 port?

 -Radek

Yes.  I tried it; but couldn't get it to recognize the camera.  Once I figured 
out that I could mount the memory card, I stopped trying to get gphoto to 
work.  Mount/umount give me good functionality without an extra port.

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


Re: Odd delay waiting for X after installing NFS

2004-04-14 Thread Jonathon McKitrick
On Wed, Apr 14, 2004 at 12:03:13AM +0800, Eugene Grosbein wrote:
: On Tue, Apr 13, 2004 at 02:33:38PM +0100, Jonathon McKitrick wrote:
: 
:  Now, when I start X, it delays for a while and Ctrl-T says xauthority is
:  waiting on kqueue.  I hit Ctrl-C and start again, and it is fine.  When I
:  shut down X, I don't get the prompt back until I hit Ctrl-C.
:  This can't be right.  What could be the issue?
: 
: That is resolver. Make sure that all of your interfaces are either is DNS
: reverse zone or in /etc/hosts.


I don't remember seeing this before I set up my wireless network.  As soon
as PPP is enabled, it comes up quickly.  My host IS in the /etc/hosts file,
so what else can I do to make sure X comes up more quickly when PPP is NOT
running?


jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Vinum: How to safely remove a volume/drive from the configuration

2004-04-14 Thread Peter Schuller
Hello,

so I had set up a rudimentary vinum configuration. I eventually rebooted the 
machine to make sure everything came up again correctly. It did, but it also 
picked up a couple of old drives and volumes that I had previously used for 
testing. vinum l now yields:

3 drives:
D alpha State: up   /dev/da0a   A: 17244/488 MB 
(3532%)
D backup_a_1State: up   /dev/ad1s1b A: 31/19531 MB (0%)
D backup_a_2State: up   /dev/ad0s1a A: 39/19539 MB (0%)
D beta  State: referenced   unknown A: 0/0 MB

3 volumes:
V test  State: up   Plexes:   2 Size: 10 MB
V test3 State: up   Plexes:   1 Size: 20 MB
V backup_a  State: up   Plexes:   2 Size: 19 GB

5 plexes:
P test.p0 C State: up   Subdisks: 1 Size: 10 MB
P test.p1 C State: faulty   Subdisks: 1 Size: 10 MB
P test3.p0C State: up   Subdisks: 1 Size: 20 MB
P backup_a.p0 C State: up   Subdisks: 1 Size: 19 GB
P backup_a.p1 C State: up   Subdisks: 1 Size: 19 GB

5 subdisks:
S test2.p0.s0   State: up   D: alphaSize: 10 MB
S test2.p1.s0   State: crashed  D: beta Size: 10 MB
S test3.p0.s0   State: up   D: alphaSize: 20 MB
S backup_a.p0.s0State: up   D: backup_a_1   Size: 19 GB
S backup_a.p1.s0State: up   D: backup_a_2   Size: 19 GB

The drives 'alpha' and 'beta', along with volumes 'test' and 'test3' are old 
remnants. The question now is - how do I correctly and safely purge them from 
my vinum configuration?

I tried:

   scode-whitestar# vinum stop test
   scode-whitestar# vinum stop test3
   scode-whitestar# vinum rm -r test
   Can't remove test: Device busy (16)

As I interpret the manpage, the use of '-f' should not be required. And 
indeed, I assume that '-f' should never be needed unless in extreme cases?

In any case. At the moment my vinum configuration *is* expendable since I have 
not stored any data on any of the volumes yet, however I want to know how to 
do this correctly so that I can do it on a live system in the future.

Btw, after 'vinum stop', the volumes state show as 'down'. But after an 
attempted rm -r, they go back to state 'up' (both test and test3, even though 
I only try to remove test).

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Vinum: How to safely remove a volume/drive from the configuration

2004-04-14 Thread Greg 'groggy' Lehey
On Thursday, 15 April 2004 at  1:21:02 +0200, Peter Schuller wrote:
 I tried:

scode-whitestar# vinum stop test
scode-whitestar# vinum stop test3
scode-whitestar# vinum rm -r test
Can't remove test: Device busy (16)

 As I interpret the manpage, the use of '-f' should not be required. And
 indeed, I assume that '-f' should never be needed unless in extreme cases?

In this case, you need the -f flag.  The documentation is a bit fuzzy.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Best way to do network printing with parallel inkjet printer?

2004-04-14 Thread Warren Block
On Wed, 14 Apr 2004, Nicholas Jackson wrote:

 I have an Epson inkjet printer (Stylus Color 740) that I have working
 with apsfilter.

 However, I have not been able to get it working as a network printer
 (as well as local) with Ghostscript yet.

 Where is the best description of a good way to get this working? The
 cups, documentation, for example, is not very intuitive...

Generally, you set up the client computers to send to lpd on the print
server computer by adding an entry to /etc/printcap on each client:

netprinter:\
:lp=:\
:sh:\
:mx#0:\
:rm=myprintserver:\
:rp=myprintqueuename:\
:sd=/var/spool/output/lpd/netprinter:\
:lf=/var/log/lpd-errs:

netprinter is the name of the printer as the client will refer to it.
myprintserver is the hostname or IP address of the print server
computer, and myprintqueue is the name of the queue from the print
server's /etc/printcap.

You also need the hostnames of the clients in /etc/hosts.lpd.

Note that you should not use print filtering software on the clients
(for example, apsfilter on the clients as well as on the server).
Converting client output for a printer, and then sending it to the
network print server where it is converted again, is bad in several
ways.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lament about freebsd sacrifices

2004-04-14 Thread Greg 'groggy' Lehey
On Wednesday, 14 April 2004 at 11:36:05 -0700, Peter Leftwich wrote:
 I thought I would post this as something of a warning.  Using
 FreeBSD as a primary, non-dual-boot OS means sacrificing.  Here is a
 partial list of sacrifices, as compared to Microsoft Windows XP:

 * webcam ball
 * flatbed scanner
 * color printer
 * digital cameras
 * firewire devices
 * several USB 1 and 2 devices
 * IM software features such as voice and video chat
 * websites that use ActiveX (Windows) controls
 * MP3 devices

 Any major sacrifices I've forgotten?  :-\

Who knows?  I don't even understand what you're talking about.  Of
these,  I use on FreeBSD:

 * color printer
 * digital cameras
 * firewire devices
 * several USB 1 and 2 devices
 * MP3 devices

About the rest:

 * webcam ball

What's that?  Webcams work.

 * flatbed scanner

Scanners are supported.

 * IM software features such as voice and video chat

Are you talking about Instant Messenger?  I don't know why you'd
want to use it, but there's support for it in the Ports Collection.

 * websites that use ActiveX (Windows) controls

I don't know what that is, but if web sites use non-standard
extensions, they're not standards compliant.  That's their issue, not
FreeBSD's.

Of course, I can't tell you that everything in FreeBSD is better.  I
only know (and so do the people who have to listen to me bitching on
IRC) that Microsoft XP is one of the most frustrating environments I
have ever tried to use.  I'd sacrifice a lot to avoid having to use
it.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Beginning C++ in FreeBSD

2004-04-14 Thread Simon Barner
Me wrote:
 Hi,
 I've learn shell scripting and java on my freebsd box
 since I migrated from winblows 98 a while back. now
 i'm ready to move to a more sophisticated language. I
 have decided to go with C++. Is there any bigginer
 guides online that you may have run a cross that would
 help me get started?

Don't know about a guide, but here's what I'd suggest (these suggestions
are - like the question - not specific to FreeBSD at all, but should
apply to any (modern) *nix platform) (modulo paths and package names, of
course).

If you are on FreeBSD 4.x, install the lang/gcc33 port, and use
/usr/local/bin/g++33 as your c++ compiler, since the base system's gcc
(v. 2.95.4) lacks quite a lot of modern C++ features, is less standard
compliant, etc.

Choose your favourite editor. XEmacs, vim and the other usual suspects
come to my mind, but there are also IDE's in the ports collection, like
kdevelop (KDE), and probably others.

Google for book suggestions. Get some from your local library, and
consider to buy your favourite one(s).

Good online resources are (IMO):

http://www.sgi.com/tech/stl/
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html

Now: Start your first project ;-) If you think, you are ready for GUI
programming, I'd recommend http://www.wxwidgets.org/ (formerly known as
wxWindows).

Happy programming,
 Simon


signature.asc
Description: Digital signature


What happened after gnome upgrade??

2004-04-14 Thread R. M. Los
Hi there,
  Something strange has happened.  In gnome-2.4 I had the
CPU/Memory/Network monitors setup on my bottom bar, as well as my
battery meter, etc.  Now with Gnome-2.6 upgraded (mostly OK, crashed
towards the VERY end...), all my things don't work right anymore.  All
apps like GnomeMeeting, the battery meter, etc appear to be completely
messed up.  For the most part, they run, but none of the words, etc are
there!  The battery meter, when I click on it, only shows the Do Not
Enter ERROR box, no text and nothing else visible - again, no words,
etc.  The same goes for GnomeMeeting.  Also when I try to run the
proccess display applet, nothing shows up, just the line graph of CPU
usage, but nothing such as process names, descriptions, etc or menu
items along the top shows up anymore.  HOW do I fix this?!

This is driving me crazy - help is appreciated.

Regards,
-- 
Mr. R M Los - Information Security Consultant
Ralph (at) boundariez (dot) com

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


Question about the Linksys EG1032V2

2004-04-14 Thread John Barbieri
Hello there list.

 

I was wondering if anyone has found a driver or knows a way of getting the
Linksys EG1032V2 gigabit Ethernet card to work under FreeBSD 4.9RC-2

 

I bought this card because it said it was supported, but luck be have it, I
got the 2nd version of the card, which changed chipsets.

 

If anyone knows how to get this card to work that would be awesome.

 

Thanks and have a good day.

 

 

John

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


Heimdal with LDAP backend

2004-04-14 Thread Robert Fitzpatrick
On FreeBSD 5.2.1, I see a new Heimdal port with LDAP backend options.
After install, I am getting this error and wondering if it may be I have
to run OpenLDAP 2.2.8, now running 2.1.29 port install. If so, should
the 2.1.29 be removed first or just set my VER in make.conf to 22 and
portupgrade? 

kadmin init WEBTENT.NET
kadmin: hdb_open: ldap_sasl_bind_s: Can't contact LDAP server
kadmin list *
kadmin: opening database: ldap_sasl_bind_s: Can't contact LDAP server
kadmin: kadm5_get_principals: Wrong database version

-- 
Robert

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


Nvidia Drivers

2004-04-14 Thread Mateusz Rajca
Hi,
 
I have Nvidia Ge Force 4 MX 440. How should I install drivers for Nvidia Ge Force on 
FreeBSD 5.1 because FreeBSD won't work untill I install them?
 
Thanks
 
Zdzislaws


-
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Beginning C++ in FreeBSD

2004-04-14 Thread jason
Me wrote:

Hi,
I've learn shell scripting and java on my freebsd box
since I migrated from winblows 98 a while back. now
i'm ready to move to a more sophisticated language. I
have decided to go with C++. Is there any bigginer
guides online that you may have run a cross that would
help me get started?
Joe

 Dont let the bugs in, close the Windows 



__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

I would suggest C before C++.  I took a C class after tring C++ on my 
own.  I tought C++ was newer and better.  Actually I found it was only 
newer.  It has new features and such, just not better because it was an 
extension or expansion to C.  I don't use C++ so I am sure there are 
those that would say C++ is better, but I think it is only better if it 
suits the job better.  I was told by a friend java is very close to C++ 
so it maybe a smart move, but anyone coming in fresh I would always 
recommend C first. 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >