Re: two questions

2004-06-25 Thread Jeremy Faulkner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[EMAIL PROTECTED] wrote:
| On Thu, 24 Jun 2004 21:37:32 -0700
| Hemal Pandya [EMAIL PROTECTED] wrote:
|
|
|On Thu, 24 Jun 2004 23:51:09 -0400, epilogue [EMAIL PROTECTED]
|wrote:
|
|On Thu, 24 Jun 2004 20:29:35 -0700
|Hemal Pandya [EMAIL PROTECTED] wrote:
|
|
|On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp
|[EMAIL PROTECTED] wrote:
|
|I'm having a brain freeze tonight and apparently forgot some
|basic UNIX commands..
|
|what is the command to remove the file --directory
|
|rm *directory* = nope
|rm *directory* = nope
|rm \-\-\directory = nope
|rm -i * = nope and dosent even see the file
|
|rm ./-directory
|
|funny, though i tried these on a test directory...
|
|rm ./-test
|rm -- --test
|
|...neither worked for me.
|
|Thats very surprising. The fist option above has worked for ever and
|the second at least for a decade or so. Can you post some output?
|
|
|
| as requested...(standard shell and standard user)
|
| ~ mkdir test
| ~ rm ./-test
| rm: ./-test: No such file or directory
No surprise here. You don't have a file or directory named '-test', you
have one named 'test'.
| ~ rm -- --test
| rm: --test: No such file or directory
Ditto.
| ~ rm -r test
| remove test? y
| ~ mkdir test
| ~ rm -rf test
| ~
mkdir -- -test
rm -r -- -test
For my next trick, I will pull a rabbit out of the mailing list (hats
are over rated).
- --
Jeremy Faulkner http://www.gldis.ca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA28Ojfb0Lle2MIEIRAj07AJ9o1fd6h/hhicObseb5JHoI0FtrjwCgwpRn
RbnHzPzw4iNG/+e0wHR5Q3s=
=U72R
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange php/apache/bsd behavior with file uploads

2004-06-25 Thread Robert Potts
I actually do not have root access to the server in question, so my 
ability to give details is very limited. The server in question is a BSD 
webserver which has php installed as both a module of apache, and 
available as a cgi process.  The behavior normally is that image uploads 
to /home/user/public_html/images/ are uploaded via the php copy() 
function and placed in this images directory with mode 755. This 
particular functionality has performed without fail for 3 years ot more.

Now, suddenly (the ISP who runs the server claims absolutely no 
configuration changes)
the images are being placed in the directory with mode 600.

The php script, in this case, is run as a cgi process so that the file 
is uploaded by the owner, and thus is allowed ability to place an 
image in this directory. Historically this functionality did not work 
using php as an apache module because the apache server's userid does 
not have permission to do this.

This is the only cryptic clue I got from the ISP:
We believe that error causes running under cgiwrap, with a umask of 022 
to halt and anything
happening after that point will be running under straight php which is 
to say www, which has a
umask of 177 (because it comes from root's umask), which is exactly what 
you were seeing. 

I used the php chmod() function to successfully work around the problem, 
but I want to know *why* this suddenly happened?  I think it could 
possibly be either a bug or a security issue, something to do with 
suexec or the cgi php config?

Update: last night suddenly everything started working again, that is 
images uploaded using php copy() and *not* using php chmod() uploaded 
images with 755 mode. So I wrote and asked them how they fixed the 
problem.  This was their response:

Because of a system security problem, a patch was applied and all our 
BSD systems rebuilt at midnight Tuesday.
As we said before, we found no problem with the system, and its 
configuration has not been changed.
It is our opinion that permissions on files created under php, are not 
defined unless either the umask or the chmod command is employed to 
specifically set them.

If you are having a problem related to our systems, please let us know. 
It seems like these guys don't really know what they are talking about. 
Can anyone hazard some theories on what might have happened and why the 
security patch they applied with a reboot fixed it?

thank you in advance for any light you can shed on this, despite the 
lack of information I can give about the system in question.
-Robert

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


Re: two questions

2004-06-25 Thread Hemal Pandya
On Fri, 25 Jun 2004 01:24:50 -0400, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
 
[snip]
On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp
[EMAIL PROTECTED] wrote:

[snip]

 what is the command to remove the file --directory

[snip]
 
 actually, *i* suggested using -r.  what i don't get is the dashes.  it
 works just fine without. ...at least for me. please see my last message.

-r is necessary if -directory is a _directory_. But OP said its a
_file_, in which case it is niether necessary nor harmful.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Maximum Storage

2004-06-25 Thread Dew Ediho
I have a FreeBSD 4.8 running on a proliant server. My box currently
has 60GB space and I plan to add a Network Storage of up to 1000 GB (1
Terrabyte).

Is there any known limitations to doing this? If so please what is the
work around?

Are there any recommended solutions?

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


sshd problem(s)

2004-06-25 Thread Marc Cabanatuan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alright, I've been at this all day and searching all over the place
and have been unable to find an acceptable answer for this. Whenever
ssh'ing to or from my fbsd box i receive the following error:
ssh_exchange_identification: Connection closed by remote host
===
So in light of this, I did some research as far as my use of pf,
portsentry, and hosts.allow/deny go. I double and triple checked,
including using tcpdmatch and there are no rules for block of ssh(d)
traffic on port 22. /var/log/auth.log only shows this:
Jun 24 14:06:57 atari sshd[47710]: refused connect from nintendo
(192.168.0.3), or whereever else ssh connections are coming from.
uname -a: FreeBSD atari.hwnet.ath.cx 5.1-RELEASE-p17 FreeBSD
5.1-RELEASE-p17 #5: Fri Jun 11 10:01:20 CDT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ATARI  i386

ssh -V: OpenSSH_3.6.1p1 FreeBSD-20030924, SSH protocols 1.5/2.0,
OpenSSL 0x0090701f
pfctl -sr:
scrub in all fragment reassemble
pass out all
pass quick on lo0 all
block drop in log all
pass in on sis0 inet6 proto tcp from any to fe80::230:95ff:fe00:8be4
port = ssh
pass in on sis0 inet proto tcp from any to 192.168.0.4 port = ssh
pass in on sis0 inet proto tcp from any to 192.168.7.34 port = ssh
pass out on sis0 proto tcp all keep state
pass out on sis0 proto udp all keep state
pass in on sis0 proto tcp from any to foo port = http keep state
pass in on sis0 proto udp from any to foo port = http keep state
pass in on sis0 proto tcp from any to foo port = 3292 keep state
block drop in on sis0 inet proto tcp from 66.159.250.0/24 to any
block drop in on sis0 inet proto udp from 66.159.250.0/24 to any
pass in on sis0 proto tcp from any to foo port = https
pass in on sis0 inet proto tcp from 192.168.0.0/24 to any
pass in on sis0 inet proto udp from 192.168.0.0/24 to any
if there is any other info i can provide please let me know. i
apologize for the lengthy outputs, but i figured it would be best for
assistance in fixing this problem. the only change that im aware of as
far as the network goes is i had the modem replaced today, but that
did not affect internal network activity whatsoever.
Thanks,
Marc
- --
Marc Cabanatuan [EMAIL PROTECTED]
Network and Systems Administrator
A+, Net+, Linux+, CCNA, MCP
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA28ZAQXmDWC9ByjIRAuS1AJ942op9+vBWbhJLmkJC0GImhk3ddQCgtr63
/eG3UJu7QU9xJbXHTN7NB48=
=PX0D
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two questions

2004-06-25 Thread Hemal Pandya
On Fri, 25 Jun 2004 01:22:05 -0400, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

[]

 as requested...(standard shell and standard user)

 ~ mkdir test

Don't forget the leading hyphen. Try
~ mkdir -test
which will, of course, give you an error. then try
~ mkdir ./-test
and proceed as below...

 ~ rm ./-test
 rm: ./-test: No such file or directory
 ~ rm -- --test
 rm: --test: No such file or directory
 ~ rm -r test
 remove test? y
 ~ mkdir test
 ~ rm -rf test
[]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Configure ssh to behave like rsh. How?

2004-06-25 Thread Rob
Hi,
I have a cluster of PCs, on which the 'slaves' used to only allow rsh
connections, to execute commands, but no logins.
I have removed the r-commands, and want to use the ssh command family
instead. Although 'ssh slaveN command' works fine, this also allows login
to the slave PC, simply by typing 'ssh slaveN'.
How can I configure sshd, so that it will allow remote command execution,
but will refuse logins?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting portmap and fam on startup

2004-06-25 Thread Gareth Bailey
Thanks Joey, i saw that after posting. In the future i'll
make sure i read the pkg messages ;-)

Ciao

On Thu, 24 Jun 2004 13:37:25 -0300
 Joey Mingrone [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Gareth,
 
 /usr/ports/devel/fam/pkg-message says:
 


 
 1. In order to run this port, please add the following
 line to /etc/rpc if
 it is not already there:
 

==8888888888==
 sgi_fam 391002

==8888888888==
 
 2. To run fam from inetd (the recommended method), then
 please add the
 following lines to /etc/inetd.conf if they are not
 already there:
 

==8888888888==
 # FAM: File Alteration Monitor [devel/fam]
 sgi_fam/1-2 stream rpc/tcp wait root /usr/local/bin/fam
  fam

==8888888888==
 
 After modifying /etc/inetd.conf, you must (as root) run:
 
killall -HUP inetd
 
 Fam also requires that portmapper is running.  Add the
 appropriate
 entry to /etc/rc.conf:
 
 For 4.x:
 Add portmap_enable=YES and either reboot or run
 /usr/sbin/portmap.
 
 For 5.x:
 Add rpcbind_enable=YES and either reboot or run
 /usr/sbin/rpcbind.
 


 
 Joey
 
 On June 24, 2004 04:49, Gareth Bailey wrote:
  Hi there,
 
  I have realised that courier-imap needs fam to be
 running
  to be happy. Fam, in turn needs portmap. I know that
  portmap can be started at boot time by using
  portmap_enable=YES in rc.conf, but how might one start
 fam
  at boot time?
 
  Regards,
  Gareth
 

_
  For super low premiums ,click here
 http://www.dialdirect.co.za/quote
  ___
  [EMAIL PROTECTED] mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (FreeBSD)
 

iD8DBQFA2wNM0NQPEWppBZsRAjWcAJ4w0ux8Ci9YS95FakH2n/IAloUaVQCfYtpb
 Bv752swV57KpzK7JDN5gnJw=
 =jXzf
 -END PGP SIGNATURE-


_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: important text

2004-06-25 Thread info
Thank you,
we've received your email already.
#3586;#3629;#3610;#3588;#3640;#3603;#3588;#3619;#3633;#3610; 
#3648;#3619;#3634;#3652;#3604;#3657;#3619;#3633;#3610; 
#3629;#3637;#3648;#3617;#3621;#3621;#3660;#3586;#3629;#3591;#3588;#3640;#3603;#3648;#3619;#3637;#3618;#3610;#3619;#3657;#3629;#3618;#3649;#3621;#3657;#3623;

Art
 Original Message 

 Your document.
 
 


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


Re: What's the best possible email failover solution

2004-06-25 Thread Volker Kindermann
Hi Bill,


 I know how to set up failover with a backup MX.  That's not what I'm
 looking for.  We have a cyrus-imap server with lots of users
 connecting via IMAP, while everything gets backed up, this only
 happens once a night.  Thus, if the server were to go up in smoke
 right before the backup occurred, we'd lose something like 23 hours
 worth of emails.

have you thought of using distributed filesystems like afs or
intermezzo? I did some research on this a few years ago and at that time
they were way off from using in a production environment.

But they improved certainly and perhaps it's exactly what you're looking
for.


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


Re: Maximum Storage

2004-06-25 Thread Mike Woods
Dew Ediho wrote:
I have a FreeBSD 4.8 running on a proliant server. My box currently
has 60GB space and I plan to add a Network Storage of up to 1000 GB (1
Terrabyte)
 

1tb should be a problem (although for the record 1tb=1024gb not 1000gb :D).

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


Re: Coping and Pasting from console

2004-06-25 Thread Gerard Seibert
On Thursday, June 24, 2004 10:21:54 PM JJB [EMAIL PROTECTED] wrote:

|
|What Dan posted is correct for 3 button serial mouse.
|
|If you have 2 button mouse add this statement to what Dan posted for
|rc.conf
|
|
|moused_flags=-m 2=3   # config for 2 button mouse
|
|
|If you have USB mouse I have info on how to set that up also.


** Reply Separator **
Friday, June 25, 2004 5:16:40 AM

I have a a Compaq USB Wireless Optical Mouse. It actually has five
buttons, but I doubt that, that matters. I would be interested in your
setup routine.

Thanks!

Gerard Seibert
[EMAIL PROTECTED]

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


Re: commercial X server?

2004-06-25 Thread Karel J. Bosschaart
On Thu, Jun 24, 2004 at 12:04:44PM -0500, Kirk Strauser wrote:
 On Thursday 2004-06-24 06:35 am, Karel J. Bosschaart wrote:
 
  I'm looking for a commercial X server (for -current with Intel 845G)
  but Xi graphics (www.xig.com) no longer has standard FreeBSD support
  (only custom/OEM) and www.metrolink.com seems to be down while I couldn't
  find a cached version of the site on Google.
 
 Is there any particular reason you specifically want to pay for it rather 
 than installing, say, the x11/xorg port?

In the first place stability, and as a bonus maybe some speed-up. I'm 
currently using the XFree86-4 port, and X screws up so often (daily) and
badly (no console, ctrl-alt-backspace useless) that I'd like to try
alternatives. 

I'm also looking into other ways to improve performance: because hangs
happened almost exclusively while running OpenOffice I recompiled this
thingie. It seems to help until now but I haven't run it enough yet to be
sure. 

BTW, if it were my own PC and not the PC of my employer I would simply
put in another video card and disable the onboard 845G. Anyway I wouldn't
have bought this stock Dell machine in the first place :-/. 

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


Boot0 configuration question...

2004-06-25 Thread Henrik W Lund
Greetings, list!
I have a question regarding my boot0 setup. First, let me lay out my 
harddrive topology:

Onboard Serial ATA RAID controller -- 1 HDD, 120 GB all in one slice. 
FreeBSD resides on this.
Onboard Secondary IDE controller -- 1 HDD, 20 GB all in one slice. Home 
of WinXP.

On the 120 GB disk, I have installed the boot0 bootmanager. It provides 
the following output on startup:

F1 FreeBSD
F5 Drive 1
Now, the thing is, regardless of whether I press F1 or F5, it always 
ends up booting the FreeBSD drive (the one on the Serial ATA 
controller). What can I do to make it boot from the other one? Can I at 
all? The alternatives are entering the BIOS and manually changing the 
disks' boot priorities - which is kinda awkward - or installing a 
different bootmanager. Both alternatives are not tempting, both because 
I like simplicity, and because I don't know what complications (if any) 
my running FreeBSD/amd64 might introduce into the installation of 
another bootmanager.

Any and all help will be appreciated.
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting xterm font from the command line

2004-06-25 Thread Michael A. Smith
Parv wrote:
It works for me now, too. When I was testing every (sic) 
combination last night, I wasn't always using xterm. Sometimes I 
used xfterm4 (the XFCE wrapper for xterm) and it DOES barf whether 
I escape, quote or whatever.
If you don't mind ...  Does the xterm start w/ the given font string?
Which type of font syntax -- string enclosed in single quotes or only
the quotation of white space -- worked?
I did not use single quotes and I backslashed the spaces:
xterm -sl 3000 -fs 8 \
 -fa -bitstream-bitstream\ vera\ sans\ mono-medium-r-*-*-*-*-*-*-*-*-*-*
I wasn't able to properly set the font size (using -fs 8) with the -fn 
option. I switched to -fa (and -fb) and it works like a charm.

Thanks for all your help!
--
Michael A. Smith [EMAIL PROTECTED]
($do || !$do)  undef($try); # Master of Perl, Yoda is. H?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


segfaults during make world

2004-06-25 Thread dave
Hello,
I've got a 5.2.1 box that i'm trying to implement jails on. I've
cvsupped my source tree and am running the command:
make world DESTDIR=/usr/jail
I keep getting Internal compiler error. Segmentation fault. This occurs at
different points during the make process, i restart make and it'll do the
same thing a little later. Any help appreciated.
Thanks.
Dave.

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


rc.conf

2004-06-25 Thread Chris limina
I'm running bsd 5.2.1
 
there is a syntax error in my rc.conf
 
what course of action do i take to repair it without having to re-install.
 
There should be a way to easily fix this. but none of the boot options allow me to edit
that file.
 
elighten me please.


-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: segfaults during make world

2004-06-25 Thread Bill Moran
dave [EMAIL PROTECTED] wrote:
 Hello,
 I've got a 5.2.1 box that i'm trying to implement jails on. I've
 cvsupped my source tree and am running the command:
 make world DESTDIR=/usr/jail
 I keep getting Internal compiler error. Segmentation fault. This occurs at
 different points during the make process, i restart make and it'll do the
 same thing a little later. Any help appreciated.

Sounds like hardware problems.  Test your RAM (I recommend memtest86) and
ensure that you've got enough cooling for the CPU.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rc.conf

2004-06-25 Thread Bill Moran
Chris limina [EMAIL PROTECTED] wrote:

 I'm running bsd 5.2.1
  
 there is a syntax error in my rc.conf
  
 what course of action do i take to repair it without having to re-install.
  
 There should be a way to easily fix this. but none of the boot options allow
 me to edit that file.

I'm guessing it's throwing you into single-user mode?

Do:
fsck
mount -a
ee /etc/rc.conf

Fix the error and reboot.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rc.conf

2004-06-25 Thread Kathy Quinlan
Chris limina wrote:
I'm running bsd 5.2.1
 
there is a syntax error in my rc.conf
 
what course of action do i take to repair it without having to re-install.
 
There should be a way to easily fix this. but none of the boot options allow me to edit
that file.
 
elighten me please.
Read the handbook, it details how to boot into single mode, check the 
disks and then mout them RW so you can edit rc.conf

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


RE: Coping and Pasting from console

2004-06-25 Thread JJB
Enabling USB 2 button mouse copy/paste function
ee /etc/rc.conf

Add these statements rc.conf

usbd_enable=YES
allscreens_flags=-m on # -m enable mouse curser on


The /etc/usbd.conf file is where the USB 2 button mouse is specified
at.

ee /etc/usbd.conf

Scroll to the bottom of the file until you find this statement.

attach /usr/sbin/moused -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid

You are going to change this line by adding the -m 2=3 option in
front of the -p option so it looks like this

attach /usr/sbin/moused -m 2=3 -p /dev/${DEVNAME} -I
/var/run/moused.${DEVNAME}.pid

Save the changed file and 'reboot' your system for your edit changes
to take effect.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gerard
Seibert
Sent: Friday, June 25, 2004 5:22 AM
To: [EMAIL PROTECTED]
Subject: Re: Coping and Pasting from console

On Thursday, June 24, 2004 10:21:54 PM JJB [EMAIL PROTECTED]
wrote:

|
|What Dan posted is correct for 3 button serial mouse.
|
|If you have 2 button mouse add this statement to what Dan posted
for
|rc.conf
|
|
|moused_flags=-m 2=3   # config for 2 button mouse
|
|
|If you have USB mouse I have info on how to set that up also.


** Reply Separator **
Friday, June 25, 2004 5:16:40 AM

I have a a Compaq USB Wireless Optical Mouse. It actually has five
buttons, but I doubt that, that matters. I would be interested in
your
setup routine.

Thanks!

Gerard Seibert
[EMAIL PROTECTED]

___
[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]


newuser

2004-06-25 Thread James Bell
 
I have BSD UNIX.
 
What commands should I use from the root to create a new user.
 
Thanks.
 
Jamie Bell
[EMAIL PROTECTED]
 
 
 
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange Files Created, FSCK problems: how to deal without single user mode (/unmounting disc)?

2004-06-25 Thread Bigbrother


Dear all,

 Today I found out (due to my backup process failure) that 
 some strange files were created on a users dir.

 Specifically:

 --wx--s-wx  16217 1062905872  13116693781061708166 Jan  1  1970
.irssi
 b---rwx--x  16240 rootwheel   174, 0x3f590067 Jan  1  1970
.mc


These entries were supposed to be directories, but somehow they changed
to something else.

I tried to remove them:

rm .irssi
override -wx--s-wx  1062905872/1311669378 sappnd,arch,schg,uappnd,opaque
for .irssi? y
rm: .irssi: Operation not permitted

 rm .mc
override ---rwx--x  root/wheel schg,uappnd,nodump for .mc? y
rm: .mc: Operation not permitted


Without success!




 I fscked the disc (note that his is an active disc with many users) and
the report is located at the end of this email. Because 
 the disc is read-write active changed are not written on the disc.


 My questions:

 1) Have you got any clue how a healthy IDE disc can cause and corrupt
files on the file system?

 2) How can I fix the problem WITHOUT rebooting or without UNMOUNTING
the discs? If I fsck and
 instruct to actually fix the errors, will they be fixed, or it
might crash corrupt the whole file system?

 3) How serious is this problem? Should I start worrying, even though
nothing else strange exist?





Thanks in advance,

BB








ATTACHED FSCK output:


UNKNOWN FILE TYPE I=87227
UNEXPECTED SOFT UPDATE INCONSISTENCY
UNKNOWN FILE TYPE I=87231
UNEXPECTED SOFT UPDATE INCONSISTENCY
DUP/BAD FILE=/home/fallen/.mc

UNEXPECTED SOFT UPDATE INCONSISTENCY
BAD TYPE VALUE FILE=/home/fallen/.mc

UNEXPECTED SOFT UPDATE INCONSISTENCY
DUP/BAD FILE=/home/fallen/.irssi

UNEXPECTED SOFT UPDATE INCONSISTENCY
BAD TYPE VALUE FILE=/home/fallen/.irssi

UNEXPECTED SOFT UPDATE INCONSISTENCY
UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF
FILE UNREF FILE UNREF FILE U
NREF FILE UNREF FILE LINK COUNT DIRLINK COUNT DIRUNREF FILE UNREF FILE
UNREF FILE UNREF FILE UNREF F
ILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE
UNREF FILE UNREF FILE UNREF FI
LE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE UNREF FILE
UNREF FILE UNREF FILE UNREF FIL
E UNREF FILE LINK COUNT FILEUNREF FILE UNREF FILE UNREF FILE LINK COUNT
FILELINK COUNT DIRFREE BLK C
OUNT(S) WRONG IN SUPERBLKSUMMARY INFORMATION BADBLK(S) MISSING IN BIT
MAPS8852 files, 295095 used, 2
20964 free ** /dev/ad0s1h (NO WRITE)
** Last Mounted on /diskless
** Phase 1 - Check Blocks and Sizes

CLEAR? no


CLEAR? no

** Phase 2 - Check Pathnames
 I=87227  OWNER=root MODE=60071
SIZE=0 MTIME=Jan  1 02:00 1970

REMOVE? no

 I=87227  OWNER=root MODE=60071
SIZE=0 MTIME=Jan  1 02:00 1970

FIX? No

 I=87231  OWNER=1062905872 MODE=102313
SIZE=1061708166 MTIME=Jan  1 02:00 1970

REMOVE? no

 I=87231  OWNER=1062905872 MODE=102313
SIZE=1061708166 MTIME=Jan  1 02:00 1970

FIX? no

 I=87202  OWNER=root MODE=0
SIZE=0 MTIME=Oct 18 23:29 2003

REMOVE? no

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
 I=21963  OWNER=bigbrother MODE=100644
SIZE=0 MTIME=Jun 10 17:16 2004
RECONNECT? no


CLEAR? no

 I=21965  OWNER=bigbrother MODE=100644
SIZE=5376392 MTIME=Jun  9 01:33 2004
RECONNECT? no


CLEAR? no

 I=21973  OWNER=bigbrother MODE=100644
SIZE=4016799 MTIME=Jun  9 01:37 2004
RECONNECT? no


CLEAR? no

 I=21974  OWNER=bigbrother MODE=100644
SIZE=7213486 MTIME=Jun  9 01:38 2004
RECONNECT? No



(snip.this list continues for 2-3 pages)






---
Give a man fire, and he'll be warm for a day; set a man on fire, and
he'll be warm for the rest of his life 

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


Ipmon security log rotation

2004-06-25 Thread Gareth Bailey
I start ipmon at boot time with /sbin/ipmon -D
/var/log/security. Ipmon works fine but seems to stop
logging entries to the security logfile when it is rotated.

newsyslog.conf sets mode to 700, which should be fine since
ipmon is run as root (i think?)

How could i correct this?

Thanks
Gareth
_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newuser

2004-06-25 Thread Matthew Seaman
On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
  
 I have BSD UNIX.
  
 What commands should I use from the root to create a new user.

Essentially:

# pw useradd -n name -m
# passwd name

I suggest that you immediately read the pw(8) man page and the
appropriate section of the Handbook:

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

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


pgpEI6h53XPNc.pgp
Description: PGP signature


Re: Boot0 configuration question...

2004-06-25 Thread Jud

On Fri, 25 Jun 2004 12:06:44 -0700, Henrik W Lund
[EMAIL PROTECTED] said:
 Greetings, list!
 
 I have a question regarding my boot0 setup. First, let me lay out my 
 harddrive topology:
 
 Onboard Serial ATA RAID controller -- 1 HDD, 120 GB all in one slice. 
 FreeBSD resides on this.
 Onboard Secondary IDE controller -- 1 HDD, 20 GB all in one slice. Home 
 of WinXP.
 
 On the 120 GB disk, I have installed the boot0 bootmanager. It provides 
 the following output on startup:
 
 F1 FreeBSD
 F5 Drive 1
 
 Now, the thing is, regardless of whether I press F1 or F5, it always 
 ends up booting the FreeBSD drive (the one on the Serial ATA 
 controller). What can I do to make it boot from the other one? Can I at 
 all? The alternatives are entering the BIOS and manually changing the 
 disks' boot priorities - which is kinda awkward - or installing a 
 different bootmanager. Both alternatives are not tempting, both because 
 I like simplicity, and because I don't know what complications (if any) 
 my running FreeBSD/amd64 might introduce into the installation of 
 another bootmanager.

The FreeBSD bootloader should be installed on *both* hard drives.  This
will boot WinXP, but will show it in the boot menu as ???  If you
prefer a boot manager that allows you to easily enter the names of the
OSs you are booting, you might try GAG (URL:
http://gag.sourceforge.net/).

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


Re: newuser

2004-06-25 Thread Bill Moran
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
   
  I have BSD UNIX.
   
  What commands should I use from the root to create a new user.
 
 Essentially:
 
 # pw useradd -n name -m
 # passwd name
 
 I suggest that you immediately read the pw(8) man page and the
 appropriate section of the Handbook:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html

Um ... no offense, Matt, but isn't that a bit overly difficult for a new
user?

Try adduser ... the manpage is pretty informative.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange Files Created, FSCK problems: how to deal without single user mode (/unmounting disc)?

2004-06-25 Thread Bill Moran
Bigbrother [EMAIL PROTECTED] wrote:
 
 Dear all,
 
  Today I found out (due to my backup process failure) that 
  some strange files were created on a users dir.
 
  Specifically:
 
  --wx--s-wx  16217 1062905872  13116693781061708166 Jan  1  1970
 .irssi
  b---rwx--x  16240 rootwheel   174, 0x3f590067 Jan  1  1970
 .mc
 
 These entries were supposed to be directories, but somehow they changed
 to something else.
 
 I tried to remove them:
 
 rm .irssi
 override -wx--s-wx  1062905872/1311669378 sappnd,arch,schg,uappnd,opaque
 for .irssi? y
 rm: .irssi: Operation not permitted
 
  rm .mc
 override ---rwx--x  root/wheel schg,uappnd,nodump for .mc? y
 rm: .mc: Operation not permitted

You might want to try removing some of those flags ... see 'man chflags'

  I fscked the disc (note that his is an active disc with many users) and
 the report is located at the end of this email. Because 
  the disc is read-write active changed are not written on the disc.
 
 
  My questions:
 
  1) Have you got any clue how a healthy IDE disc can cause and corrupt
 files on the file system?

Lots of ways.  Misc hardware glitches would be the most common.  Folks
with admin rights doing things they shouldn't also occurs.  I've seen NFS
leave files in weird states on occasion, but I've never been able to
reproduce the problem.

  2) How can I fix the problem WITHOUT rebooting or without UNMOUNTING
 the discs?

a) You can't unless you're using 5.x and can run background fsck.
b) Since you ran fsck while the disk was mounted, those might not even
   be real errors, but just inconsistencies due to the filesystem being
   in use during the fsck.

 If I fsck and
  instruct to actually fix the errors, will they be fixed, or it
 might crash corrupt the whole file system?

Don't run fsck on a mounted filesystem.  (Exception, you can run background
fsck).  If you run fsck on a mounted filesystem, all bets are off.

  3) How serious is this problem? Should I start worrying, even though
 nothing else strange exist?

Last time I had a problem like this, I unmounted the fs, took 15 minutes to
fsck it, remounted it and went back to work ... I'm still using that
filesystem today (many months and many gigs later).  YMMV.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ipmon security log rotation

2004-06-25 Thread Alex de Kruijff
On Fri, Jun 25, 2004 at 02:15:50PM +0200, Gareth Bailey wrote:
 I start ipmon at boot time with /sbin/ipmon -D
 /var/log/security. Ipmon works fine but seems to stop
 logging entries to the security logfile when it is rotated.
 
 newsyslog.conf sets mode to 700, which should be fine since
 ipmon is run as root (i think?)

The file doesn't have to be executed so it should be 600.

Cron runs newsyslog. It send the output by mail (root accound by
default). What does the output say?

 How could i correct this?

This is my line:
/var/log/security   600  3 100  * Z

I don't run ipmon, so it could be that you need to give the pid file
afther it.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: newuser

2004-06-25 Thread Matthew Seaman
On Fri, Jun 25, 2004 at 08:30:25AM -0400, Bill Moran wrote:
 Matthew Seaman [EMAIL PROTECTED] wrote:
 
  On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:

   I have BSD UNIX.

   What commands should I use from the root to create a new user.
  
  Essentially:
  
  # pw useradd -n name -m
  # passwd name
  
  I suggest that you immediately read the pw(8) man page and the
  appropriate section of the Handbook:
  
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html
 
 Um ... no offense, Matt, but isn't that a bit overly difficult for a new
 user?

I think that's an unreasonably pessimistic view of the capabilities of
new users.  pw(8) is not (IMHO) particularly difficult to use.  Yes,
there are a lot of different options for doing various things, but if
you adopt the principle of not fiddling with the bits you don't (yet)
understand, pw(8) basically does the right thing.  pw(8) also has a
very nifty feature where you can just stick 'help' into the command
line and it tells you what options are available.
 
 Try adduser ... the manpage is pretty informative.

TIMTOWTDI.

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


pgpQ2vOFHzpPG.pgp
Description: PGP signature


RE: Ipmon security log rotation

2004-06-25 Thread JJB
If you are saying that you have /sbin/ipmon -D /var/log/security
on the rc.conf statement, then you are telling it to do 2
conflicting things. The /var/log/security part needs to be removed.
It's telling ipmon to use manual log file after you tell with -d to
use syslog log function.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gareth
Bailey
Sent: Friday, June 25, 2004 8:16 AM
To: [EMAIL PROTECTED]
Subject: Ipmon  security log rotation

I start ipmon at boot time with /sbin/ipmon -D
/var/log/security. Ipmon works fine but seems to stop
logging entries to the security logfile when it is rotated.

newsyslog.conf sets mode to 700, which should be fine since
ipmon is run as root (i think?)

How could i correct this?

Thanks
Gareth

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[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: newuser

2004-06-25 Thread Bill Moran
Matthew Seaman [EMAIL PROTECTED] wrote:

 On Fri, Jun 25, 2004 at 08:30:25AM -0400, Bill Moran wrote:
  Matthew Seaman [EMAIL PROTECTED] wrote:
  
   On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
 
I have BSD UNIX.
 
What commands should I use from the root to create a new user.
   
   Essentially:
   
   # pw useradd -n name -m
   # passwd name
   
   I suggest that you immediately read the pw(8) man page and the
   appropriate section of the Handbook:
   
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html
  
  Um ... no offense, Matt, but isn't that a bit overly difficult for a new
  user?
 
 I think that's an unreasonably pessimistic view of the capabilities of
 new users.

Not what I intended.

 pw(8) is not (IMHO) particularly difficult to use.

Agreed.

 Yes,
 there are a lot of different options for doing various things, but if
 you adopt the principle of not fiddling with the bits you don't (yet)
 understand, pw(8) basically does the right thing.  pw(8) also has a
 very nifty feature where you can just stick 'help' into the command
 line and it tells you what options are available.

My point was that adduser walks you through all the steps required to
create a user (such as entering the GECOS stuff, and picking a shell,
creating a home directory (although you handled that with -m))

Personally, I understand pw, and yet I find adduser to simply be more
convenient.  I guess that was my real point.  The difficulty in user
managemet on a Unix system (to a new user) is not the commands themselves,
but all the various steps required to actually create a useful user
account.  adduser puts those all together in a wizard fashon, while
pw gives you lots of opportunities to forget steps.

  Try adduser ... the manpage is pretty informative.
 
 TIMTOWTDI.

OK, you're going to have to enlighten me by letting me know what that
abbreviation stands for.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ipmon security log rotation

2004-06-25 Thread Gareth Bailey
The -D flag tells it to run as daemon. Starting ipmon with
ipmon_flags=-D /var/log/security in rc.conf works fine.
It logs to security as required. The problem comes in when
the /var/log/security file is rotated by newsyslog. After
this occurs, logging stop all together even though ipmon is
still running!

Thanks
Gareth

On Fri, 25 Jun 2004 08:52:40 -0400
 JJB [EMAIL PROTECTED] wrote:
 If you are saying that you have /sbin/ipmon -D
 /var/log/security
 on the rc.conf statement, then you are telling it to do 2
 conflicting things. The /var/log/security part needs to
 be removed.
 It's telling ipmon to use manual log file after you tell
 with -d to
 use syslog log function.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 Gareth
 Bailey
 Sent: Friday, June 25, 2004 8:16 AM
 To: [EMAIL PROTECTED]
 Subject: Ipmon  security log rotation
 
 I start ipmon at boot time with /sbin/ipmon -D
 /var/log/security. Ipmon works fine but seems to stop
 logging entries to the security logfile when it is
 rotated.
 
 newsyslog.conf sets mode to 700, which should be fine
 since
 ipmon is run as root (i think?)
 
 How could i correct this?
 
 Thanks
 Gareth


 _
 For super low premiums ,click here
 http://www.dialdirect.co.za/quote
 ___
 [EMAIL PROTECTED] mailing list

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

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ipmon security log rotation

2004-06-25 Thread Dick Davies
You need to either tell newsyslog the pidfile, so it can HUP
ipmon, or just get it to use syslog (in which case newsyslog
doesn't need to HUP it at all).

* Gareth Bailey [EMAIL PROTECTED] [0616 14:16]:
 The -D flag tells it to run as daemon. Starting ipmon with
 ipmon_flags=-D /var/log/security in rc.conf works fine.
 It logs to security as required. The problem comes in when
 the /var/log/security file is rotated by newsyslog. After
 this occurs, logging stop all together even though ipmon is
 still running!
 
 Thanks
 Gareth
 
 On Fri, 25 Jun 2004 08:52:40 -0400
  JJB [EMAIL PROTECTED] wrote:
  If you are saying that you have /sbin/ipmon -D
  /var/log/security
  on the rc.conf statement, then you are telling it to do 2
  conflicting things. The /var/log/security part needs to
  be removed.
  It's telling ipmon to use manual log file after you tell
  with -d to
  use syslog log function.
  
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of
  Gareth
  Bailey
  Sent: Friday, June 25, 2004 8:16 AM
  To: [EMAIL PROTECTED]
  Subject: Ipmon  security log rotation
  
  I start ipmon at boot time with /sbin/ipmon -D
  /var/log/security. Ipmon works fine but seems to stop
  logging entries to the security logfile when it is
  rotated.
  
  newsyslog.conf sets mode to 700, which should be fine
  since
  ipmon is run as root (i think?)
  
  How could i correct this?
  
  Thanks
  Gareth
 
 
  _
  For super low premiums ,click here
  http://www.dialdirect.co.za/quote
  ___
  [EMAIL PROTECTED] mailing list
 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
  
 
 _
 For super low premiums ,click here http://www.dialdirect.co.za/quote
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
A straw vote only shows which way the hot air blows.
-- O'Henry
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: Ipmon security log rotation

2004-06-25 Thread Gareth Bailey
Thanks Dick,

Giving ipmon -Ds flags and directing messages to the
security file using local0.* seems to be the answer.
Specifying a pid file in newsyslog.conf gave errors about
not being able to HUP ipmon.

Cheers,
Gareth

On Fri, 25 Jun 2004 14:24:41 +0100
 Dick Davies [EMAIL PROTECTED] wrote:
 You need to either tell newsyslog the pidfile, so it can
 HUP
 ipmon, or just get it to use syslog (in which case
 newsyslog
 doesn't need to HUP it at all).
 
 * Gareth Bailey [EMAIL PROTECTED] [0616 14:16]:
  The -D flag tells it to run as daemon. Starting ipmon
 with
  ipmon_flags=-D /var/log/security in rc.conf works
 fine.
  It logs to security as required. The problem comes in
 when
  the /var/log/security file is rotated by newsyslog.
 After
  this occurs, logging stop all together even though
 ipmon is
  still running!
  
  Thanks
  Gareth
  
  On Fri, 25 Jun 2004 08:52:40 -0400
   JJB [EMAIL PROTECTED] wrote:
   If you are saying that you have /sbin/ipmon -D
   /var/log/security
   on the rc.conf statement, then you are telling it to
 do 2
   conflicting things. The /var/log/security part needs
 to
   be removed.
   It's telling ipmon to use manual log file after you
 tell
   with -d to
   use syslog log function.
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf
 Of
   Gareth
   Bailey
   Sent: Friday, June 25, 2004 8:16 AM
   To: [EMAIL PROTECTED]
   Subject: Ipmon  security log rotation
   
   I start ipmon at boot time with /sbin/ipmon -D
   /var/log/security. Ipmon works fine but seems to
 stop
   logging entries to the security logfile when it is
   rotated.
   
   newsyslog.conf sets mode to 700, which should be fine
   since
   ipmon is run as root (i think?)
   
   How could i correct this?
   
   Thanks
   Gareth
  
 


   _
   For super low premiums ,click here
   http://www.dialdirect.co.za/quote
   ___
   [EMAIL PROTECTED] mailing list
  
 

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

_
  For super low premiums ,click here
 http://www.dialdirect.co.za/quote
  ___
  [EMAIL PROTECTED] mailing list
 

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
 -- 
 A straw vote only shows which way the hot air blows.
   -- O'Henry
 Rasputin :: Jack of All Trades - Master of Nuns

_
For super low premiums ,click here http://www.dialdirect.co.za/quote
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: commercial X server?

2004-06-25 Thread Kirk Strauser
On Friday 2004-06-25 04:54 am, Karel J. Bosschaart wrote:

 In the first place stability, and as a bonus maybe some speed-up. I'm
 currently using the XFree86-4 port, and X screws up so often (daily) and
 badly (no console, ctrl-alt-backspace useless) that I'd like to try
 alternatives.

From http://freedesktop.org/~xorg/X11R6.7.0/doc/RELNOTES3.html#8 :

3.3. Video Driver Enhancements

Several stability issues with the support for the Intel 830M, 845G,
852GM, 855GM and 865G integrated graphics chipsets have been fixed.

This might be an excellent time to upgrade to the X.org distribution.
-- 
Kirk Strauser


pgpxNC7EDi7Ty.pgp
Description: signature


ARP / Cisco Router Wierdness

2004-06-25 Thread Peter Pauly
This morning while attempting to replace a server with a new machine
(same IP address, the old machine was unplugged), The Cisco 2600
router's arp table continued to point to the old DNS server's MAC
address.

Even after rebooting the new server (Freebsd 5.2.1), the MAC address
remained unchanged in the router. The router continued to point to the
old machine's MAC address.

I updated the entry manually in the router and all was well. But I am
concerned that Freebsd is not announcing it's MAC address when the
machine or interface comes up. Any ideas?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_delete multimedia/mplayer doesn't work

2004-06-25 Thread jobse
Hay
On Thu, 2004-06-24 at 22:20, [EMAIL PROTECTED] wrote:

 though cd to the mplayer ports dir followed by make deinstall 'should'
 have solved the problem, i just noticed another detail worth mentioning.
 
 you're using pkg_delete here.  i do not believe that it accepts shell
 globs (like * or ?).  you might have better luck with pkg_deinstall -- part
 of the tools installed by /sysutils/portupgrade, which i *highly*
 recommend.

Thanx for the tip.
I just deleted all I could find with rm. I dont know if that   
was a good move however. pkgdb -F now tells me off.

I've just been solving one problem about how to set up my graphics and
sound modules but am gradually realising there is more to come.

jobse




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


Re: ARP / Cisco Router Wierdness

2004-06-25 Thread Bill Moran
Peter Pauly [EMAIL PROTECTED] wrote:

 This morning while attempting to replace a server with a new machine
 (same IP address, the old machine was unplugged), The Cisco 2600
 router's arp table continued to point to the old DNS server's MAC
 address.
 
 Even after rebooting the new server (Freebsd 5.2.1), the MAC address
 remained unchanged in the router. The router continued to point to the
 old machine's MAC address.
 
 I updated the entry manually in the router and all was well. But I am
 concerned that Freebsd is not announcing it's MAC address when the
 machine or interface comes up. Any ideas?

I'm not an ARP expert, but isn't it the job of the device maintaining an
ARP table to properly time out and refresh the entries in that table?

I.e.  shouldn't you be posting this question to a Cisco mailing list,
asking why the 2600 didn't automatically pick up the new MAC address?

Corrections are welcome if I'm wrong on this count.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


3Com Card

2004-06-25 Thread Pedro G. Jaime
 
 
  http://www.rednetwork.com.br/barra.jpg  

 Hello, 
 
Please, could you tell me if there is any network interface
cards that are incompatible with the free BSD system? The card i am
heaving problems with is a 3Com 3C2000-T.
 
Thanks,
Pedro Jaime 
Técnico
Fone: 11 - 5504-1493
Fax:   11 - 5504-9399
www.rednetwork.com.br http://www.rednetwork.com.br/   

 

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


Re: newuser

2004-06-25 Thread Peter Ulrich Kruppa
On Fri, 25 Jun 2004, Bill Moran wrote:
Matthew Seaman [EMAIL PROTECTED] wrote:
On Fri, Jun 25, 2004 at 08:30:25AM -0400, Bill Moran wrote:
Matthew Seaman [EMAIL PROTECTED] wrote:
On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
I have BSD UNIX.
What commands should I use from the root to create a new user.
If you just whish to set up 1 or 5 users for your private 
workstation you can use the very simple graphical interface at
# /stand/sysinstall
  -- Configure -- User Management

If you need to put up 500 user accounts via some script you 
should use
# pw

Regards,
Uli.
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configure ssh to behave like rsh. How?

2004-06-25 Thread Jorn Argelo
Rob wrote:
Hi,
I have a cluster of PCs, on which the 'slaves' used to only allow rsh
connections, to execute commands, but no logins.
I have removed the r-commands, and want to use the ssh command family
instead. Although 'ssh slaveN command' works fine, this also allows login
to the slave PC, simply by typing 'ssh slaveN'.
How can I configure sshd, so that it will allow remote command execution,
but will refuse logins?
Thanks,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

I guess the folks at OpenSSH know it better then we do. Why don't you 
ask it on their mailing list?

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


Re: newuser

2004-06-25 Thread epilogue
On Fri, 25 Jun 2004 09:00:19 -0400
Bill Moran [EMAIL PROTECTED] wrote:

 Matthew Seaman [EMAIL PROTECTED] wrote:
 
  On Fri, Jun 25, 2004 at 08:30:25AM -0400, Bill Moran wrote:
   Matthew Seaman [EMAIL PROTECTED] wrote:
   
On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
  
 I have BSD UNIX.
  
 What commands should I use from the root to create a new user.

Essentially:

# pw useradd -n name -m
# passwd name

I suggest that you immediately read the pw(8) man page and the
appropriate section of the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html
   
   Um ... no offense, Matt, but isn't that a bit overly difficult for a
   new user?
  
  I think that's an unreasonably pessimistic view of the capabilities of
  new users.
 
 Not what I intended.
 
  pw(8) is not (IMHO) particularly difficult to use.
 
 Agreed.
 
  Yes,
  there are a lot of different options for doing various things, but if
  you adopt the principle of not fiddling with the bits you don't (yet)
  understand, pw(8) basically does the right thing.  pw(8) also has a
  very nifty feature where you can just stick 'help' into the command
  line and it tells you what options are available.
 
 My point was that adduser walks you through all the steps required to
 create a user (such as entering the GECOS stuff, and picking a shell,
 creating a home directory (although you handled that with -m))
 
 Personally, I understand pw, and yet I find adduser to simply be more
 convenient.  I guess that was my real point.  The difficulty in user
 managemet on a Unix system (to a new user) is not the commands
 themselves, but all the various steps required to actually create a
 useful user account.  adduser puts those all together in a wizard
 fashon, while pw gives you lots of opportunities to forget steps.
 
   Try adduser ... the manpage is pretty informative.
  
  TIMTOWTDI.
 
 OK, you're going to have to enlighten me by letting me know what that
 abbreviation stands for.
 

heya bill,

http://www.acronymfinder.com/af-query.asp?String=exactAcronym=timtowtdiFind=Find

a handy resource to bookmark (or, if you use opera, integrate into your
browser via search.ini -- not sure about how firefox/moz deals with this)


cheers,
epi

 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 ___
 [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]


pkg_delete multimedia/mplayer doesn't work

2004-06-25 Thread jobse
Thanx,
Epi,
Ch Hiris,
Erik Trulsson.
I appreciate your answers.
It seems to have come back to normal again and mplayer
is definitely gone! chers.
/jobse

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


Re: Intel Ethernet card not being detected

2004-06-25 Thread Richard P. Williamson
Simon, All:

At 15:30 01/06/2004. Simon Barner had this to say:
I just had a look at that older post of yours, and I saw that you are
still running FreeBSD 4.8. Could you consider upgrading to 4.10-RELEASE or
-STABLE?
...
IMO there's a really good chance that upgrading will make your onboard
NICs work properly.

Sadly, no joy.

To refresh, I'm using an adlink ebc-2000 (supplied by Ecrin
Systems in France).  It has 3 on-board NICs that are identified
as Intel 82559 Pro/100 Ethernet by the kernel during boot
(which agrees with adlink's datasheet for this device).

The devices do not come up under the miibus device, however,
and run in 'cripple-mode'.  They work, but at 10Mb.  If I try
to change that by using ifconfig fxp0 media commands, I get:

ifconfig: SIOCSIFMEDIA: Device not configured

ifconfig fxp0 reports:
fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet x.y.z.188 netmask 0x broadcast x.y.z.255
ether 00:30:64:gh:ij:kl
media: Ethernet manual

Additionally, there are two other fxp devices on a PCI plug-in
card, and they come up happy.

dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE #1: Fri Jun 25 13:06:22 GMT 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/MINI
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1266716809 Hz
CPU: Intel(R) Pentium(R) III CPU family  1266MHz (1266.72-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6b1  Stepping = 1
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
...
fxp0: Intel 82559 Pro/100 Ethernet port 0xd400-0xd43f mem 
0xe720-0xe72f,0xe7302000-0xe7302fff irq 11 at device 8.0 on pci0
fxp0: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
fxp1: Intel 82559 Pro/100 Ethernet port 0xd800-0xd83f mem 
0xe700-0xe70f,0xe7301000-0xe7301fff irq 5 at device 9.0 on pci0
fxp1: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
fxp2: Intel 82559 Pro/100 Ethernet port 0xdc00-0xdc3f mem 
0xe710-0xe71f,0xe730-0xe7300fff irq 12 at device 10.0 on pci0
fxp2: Ethernet address 00:30:64:gh:ij:kl, 10Mbps
pcib2: DEC 21152 PCI-PCI bridge at device 13.0 on pci0
pci2: PCI bus on pcib2
pcib3: PCI to PCI bridge (vendor=8086 device=b154) at device 15.0 on pci2
pci3: PCI bus on pcib3
fxp3: Intel 82559 Pro/100 Ethernet port 0xc000-0xc03f mem 
0xe600-0xe60f,0xe6201000-0xe6201fff irq 10 at device 12.0 on pci3
fxp3: Ethernet address 00:30:64:gh:ij:kl
inphy0: i82555 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp4: Intel 82559 Pro/100 Ethernet port 0xc400-0xc43f mem 
0xe610-0xe61f,0xe620-0xe6200fff irq 11 at device 13.0 on pci3
fxp4: Ethernet address 00:30:64:gh:ij:kl
inphy1: i82555 10/100 media interface on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
...

pciconf -l reports:
[EMAIL PROTECTED]:8:0:  class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00
[EMAIL PROTECTED]:9:0:  class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00
[EMAIL PROTECTED]:10:0: class=0x02 card=0x chip=0x12298086 rev=0x08 
hdr=0x00

(note the card=0x.  Hm.)

So, if you've read this far,

1) It says 'Ethernet manual'.  Does that mean that there will be 
a method (ioctl or similar) in the driver that allows me to make
explicit calls to the devices to configure 100Mb full duplex, for
example, or even Auto if it is supported.  Before you say 'look 
at the code yourself', assume that I'm doing so as you read this :

2) Am I SOL, short of doing it myself in the fxp driver?

TIA,
rip
-- 
Richard Williamson

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


NR: Re: newuser

2004-06-25 Thread Richard P. Williamson
At 15:47 25/06/2004, [EMAIL PROTECTED] wrote:
  TIMTOWTDI.
 
 OK, you're going to have to enlighten me by letting me know what that
 abbreviation stands for.

heya bill,

http://www.acronymfinder.com/af-query.asp?String=exactAcronym=timtowtdiFind=Find

a handy resource to bookmark (or, if you use opera, integrate into your
browser via search.ini -- not sure about how firefox/moz deals with this)

Oh, I'm sure there's more than one way to do it.

rip 

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


Serial Port Boot Configuration

2004-06-25 Thread Mark Teel
I am trying to remotely debug a FreeBSD kernel, and it appears that the 
baud rate and other stty settings are being modified during system 
boot.  I have modified the /dev/ttyid0 device and the /dev/ttyld0 
device, yet their settings are being reset somewhere during reboot as 
well.  I have looked at the handbook, which states that initial settings 
are found in /etc/rc.serial, but there is no such file and no reference 
to it in man rc.serial.

Where are boot serial parameters configured and by what are they set?
I need to set my ttyd0 port up to allow brkint, 115200 baud etc.
TIA,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using sendmail

2004-06-25 Thread antenneX
- Original Message - 
From: Giorgos Keramidas [EMAIL PROTECTED]
To: antenneX [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, June 24, 2004 2:08 PM
Subject: Re: Using sendmail


 [-- Format recovered from broken Outlook wrapping --]

 On 2004-06-24 13:18, antenneX [EMAIL PROTECTED] wrote:
  Giorgos Keramidas [EMAIL PROTECTED] wrote:
   On 2004-06-24 11:33, antenneX [EMAIL PROTECTED] wrote:
oops! I should have said please send any config examples
needed to do this...??
  
   Look at the file /usr/share/sendmail/cf/README near line 794:
  
   : mailertable Include a mailer table which can be used to
override
   : [snip]
  
   You might also want to check out the rest of this file, [...]
 
  Okay, I know I still have messed it up. Tried the setup below, but
something
  is wrong because of the errors shown and is not delivered to server
#2.
 
  Server #1 - IP 200.200.200.101
  - DNS for mail.server2.net points here (was to 200.200.200.102 and
OK on
  normal delivery)

 I hope you don't mean that the name mail.server2.net now points to
 200.200.200.101.  Only the MX records for server2.net need to point to
 the first host, so that mail for the domain is delivered to this host.

  - mail.server2.net in local-host-names

 IIRC, this isn't right.  You should only list mail.server2.net in the
 local-host-names of 200.200.200.102.

  - In mailertable = mail.server2.net esmtp:mail.server2.net

 This seems ok.

  Server #2 - IP 200.200.200.102
  - has sendmail  pop3
  - mail.server2.net in local-host-names
  - has user william

 This seems ok too.

  Send test mail: [EMAIL PROTECTED]
  get error:
  SYSERR(root): mail.server2.net. config error: mail loops back to me
(MX
  problem?)

 That's because mail.server2.net points to the address 200.200.200.101.
 When sendmail on that host tries to deliver the message as per the
 instructions of your mailertable, it discovers that the message is
sent
 back to itself!  A loop...

 - Giorgos

Giorgos: Thanks for your review of my setup  I did change the IP for
server2 back to 200.200.200.102 -- however, now the emails go straight
though the firewall port on server1 to sendmail on server2 and
apparently bypasses sendmail on server1. If it bypasses sendmail on
server1, I cannot use greylisting to filter the emails before being sent
over to server2.

I'm still missing something here.

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


Re: Configure ssh to behave like rsh. How?

2004-06-25 Thread Hemal Pandya
I was interested in this for a slightly different reason --- I would
like to allow some users to ssh into my machine so they can port
forward but not allow them to actually login to the machine.
I found 
http://groups.google.com/groups?selm=200206210808.g5L88SJ15420_splat.grant.org%40ns.sol.net
to work.

On Fri, 25 Jun 2004 15:45:24 +0900, Rob [EMAIL PROTECTED] wrote:
 
 
 Hi,
 
 I have a cluster of PCs, on which the 'slaves' used to only allow rsh
 connections, to execute commands, but no logins.
 
 I have removed the r-commands, and want to use the ssh command family
 instead. Although 'ssh slaveN command' works fine, this also allows login
 to the slave PC, simply by typing 'ssh slaveN'.
 
 How can I configure sshd, so that it will allow remote command execution,
 but will refuse logins?
 
 Thanks,
 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]


[OT] Apache2 mod_sudo or something?

2004-06-25 Thread Jorn Argelo
Hi folks,
Sorry for the off-topic post, but I was too lazy to find the Apache 
mailing list, so I reckoned I could learn from all of your excellent and 
skilled knowledge *grin*

I recall seeing somewhere a mod_sudo or mod_su for Apache 2, is that 
right or am I wrong about it? I need it so I can let Apache run a script 
which invokes adduser.

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


Re: Maximum Storage

2004-06-25 Thread CD Baby
 I have a FreeBSD 4.8 running on a proliant server. My box currently
 has 60GB space and I plan to add a Network Storage of up to 1000 GB (1
 Terrabyte)
 
 1tb should be a problem


Did you really mean should NOT be a problem?

We have a big fileserver system with 35 FreeBSD PCs, with 1.3
terabytes EACH (over 45 terabytes), all shared at once using NFS on
one central FreeBSD box - access to all 45 terabytes at once, with no
problem.

Or maybe Network Storage is a brand name you're referring to.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ARP / Cisco Router Wierdness

2004-06-25 Thread Joe O
This behavior is consistent with most IOS based routers I've worked
around, they typically hold onto an ARP entry for about 20 minutes before
expiring it.  On linux I've used a network utility called send_arp that
can shoot a user specified gratuitous arp packet at another host on the
same layer2 network.  I'm sure there are other tools available to do the
same from freebsd (if you don't have administrative access to the cisco to
clear the arp cache).  I'm not sure if I like cisco routers by default
being willing to accept an arp response that it didn't request, but that's
a different issue.

On Fri, 25 Jun 2004, Peter Pauly wrote:

 This morning while attempting to replace a server with a new machine
 (same IP address, the old machine was unplugged), The Cisco 2600
 router's arp table continued to point to the old DNS server's MAC
 address.

 Even after rebooting the new server (Freebsd 5.2.1), the MAC address
 remained unchanged in the router. The router continued to point to the
 old machine's MAC address.

 I updated the entry manually in the router and all was well. But I am
 concerned that Freebsd is not announcing it's MAC address when the
 machine or interface comes up. Any ideas?
 ___
 [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]


command-line calculator?

2004-06-25 Thread CD Baby
What simple built-in command-line tools are available if I want to
just do some simple math on the command line?

If I'm there in a shell, and need to know what 17 times 36 equals?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command-line calculator?

2004-06-25 Thread Aaron
CD Baby wrote:
What simple built-in command-line tools are available if I want to
just do some simple math on the command line?
If I'm there in a shell, and need to know what 17 times 36 equals?
$ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
17*36
612
^D
--
Aaron
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: command-line calculator?

2004-06-25 Thread Barry Byrne

 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?


man bc

 - Barry

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


Re: command-line calculator?

2004-06-25 Thread Norbert Koch
CD Baby [EMAIL PROTECTED] writes:

 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?

 If I'm there in a shell, and need to know what 17 times 36 equals?

echo 17 * 36 | bc

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


Re: command-line calculator?

2004-06-25 Thread Paul Bissex
On Fri, 25 Jun 2004 08:41:02 -0700, CD Baby [EMAIL PROTECTED] wrote:
 
 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?

Here are two possibilities:

:~ man -k calculator
bc(1)- An arbitrary precision calculator language
dc(1)- an arbitrary precision calculator
  
  
  
  
~ bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'. 
17 * 36
612
  
  
  
  
~ dc
17 36 * p
612


-- 
paul bissex, e-scribe.com -- database-driven web development
413.585.8095
69.55.225.29
01061-0847
72°39'71W 42°19'42N
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command-line calculator?

2004-06-25 Thread Hemal Pandya
man expr
man bc


On Fri, 25 Jun 2004 08:41:02 -0700, CD Baby [EMAIL PROTECTED] wrote:
 
 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?
 
 If I'm there in a shell, and need to know what 17 times 36 equals?
 ___
 [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: Intel Ethernet card not being detected

2004-06-25 Thread Simon Barner
Richard P. Williamson wrote:

[...]

Here another thing you could try: I once had a problem with a 3Com NIC
not being detected properly when the driver was compiled statically into
the kernel.

Removing it and using the module instead made it work...

[...]

 1) It says 'Ethernet manual'.  Does that mean that there will be 
 a method (ioctl or similar) in the driver that allows me to make
 explicit calls to the devices to configure 100Mb full duplex, for
 example, or even Auto if it is supported.  Before you say 'look 
 at the code yourself', assume that I'm doing so as you read this :
 
 2) Am I SOL, short of doing it myself in the fxp driver?

You may want to ask on the freebsd-stable@ mailing list, but if you can
up with a patch there, that would be even better, of course ;-)

Simon


signature.asc
Description: Digital signature


Re: newuser

2004-06-25 Thread Jerry McAllister
 
 On Fri, Jun 25, 2004 at 08:30:25AM -0400, Bill Moran wrote:
  Matthew Seaman [EMAIL PROTECTED] wrote:
 =20
   On Thu, Jun 24, 2004 at 11:58:41PM -0400, James Bell wrote:
=20
I have BSD UNIX.
=20
What commands should I use from the root to create a new user.
  =20
   Essentially:
  =20
   # pw useradd -n name -m
   # passwd name
  =20
   I suggest that you immediately read the pw(8) man page and the
   appropriate section of the Handbook:
  =20
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html
 =20
  Um ... no offense, Matt, but isn't that a bit overly difficult for a new
  user?
 
 I think that's an unreasonably pessimistic view of the capabilities of
 new users.  pw(8) is not (IMHO) particularly difficult to use.  Yes,
 there are a lot of different options for doing various things, but if
 you adopt the principle of not fiddling with the bits you don't (yet)
 understand, pw(8) basically does the right thing.  

A little ST here (Side Track, cousin of OT):

I like that - maybe that sort of phrase should be a standard piece 
of boiler plate in a lot of man pages and various other parts  of 
documentation, eg

   but if
 you adopt the principle of not fiddling with the bits you don't (yet)
 understand, XX  basically does the right thing.

jerry

pw(8) also has a
 very nifty feature where you can just stick 'help' into the command
 line and it tells you what options are available.
  Try adduser ... the manpage is pretty informative.
 
 TIMTOWTDI.
 
   Cheers,
 
   Matthew
 
 --=20
 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
 
 --IiVenqGWf+H9Y6IX
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQFA3B9miD657aJF7eIRAnKaAKCJl+uMUIyqNwNjyRvTIfpk9oqiMwCdHtuF
 fQ7BlMKPZRLa5cAkIkhJKGE=
 =3ZYV
 -END PGP SIGNATURE-
 
 --IiVenqGWf+H9Y6IX--
 

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


Re: [OT] Apache2 mod_sudo or something?

2004-06-25 Thread Matthew Seaman
On Fri, Jun 25, 2004 at 05:17:20PM +0200, Jorn Argelo wrote:

 Sorry for the off-topic post, but I was too lazy to find the Apache 
 mailing list, so I reckoned I could learn from all of your excellent and 
 skilled knowledge *grin*
 
 I recall seeing somewhere a mod_sudo or mod_su for Apache 2, is that 
 right or am I wrong about it? I need it so I can let Apache run a script 
 which invokes adduser.

For enlightenment, read /usr/ports/www/apache2/Makefile.modules

Sorry, but I'm feeling too lazy to give you a direct answer...

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


pgpYWRFc86wL3.pgp
Description: PGP signature


strange pw behaviour

2004-06-25 Thread Jonas Sonntag
Hi questions-list,

I'm experiencing some strange behaviour when using pw on a 4.9-STABLE system 
to add and modify a group within a virtual server running inside a jail as 
described in the jail man-page.

I'm running these commands from a script:

pw groupadd newgroup -g 1010 -V /path/to/jail/etc/
pw groupmod newgroup -m www -V /path/to/jail/etc/
chroot /path/to/jail/ apachectl graceful

Just like I'm expecting, I get a new entry in /etc/group within the jail 
looking like this:
newgroup:*:1010:www

and httpd gracefully restarted from apachectl.

Now I would expect that apache should be able to access directories owned by 
group newgroup with chmod 750 set. This is not the case. Investigating 
further, I used vipw to give a shell to user www and used su to become www. 
When I try to enter the directory in question I get Permission denied.

Now for the funny part: Back as user root I'm using vi to edit /etc/group by 
hand and simply move the new entry to another line within the group file, 
have apache do another graceful restart and everything works fine! su'ing to 
user www and cd'ing to the directory in question also works as expected.

What am I getting wrong here? Why do I need to modify the /etc/group file by 
hand before this works?


Any hints would be appreciated.
Thanks and best regards,

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


Must ask

2004-06-25 Thread TINO ROZZO
Your web site gives everything but the Acronym for
BSD.
What is BSD?

Thanks
Tino




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.2.1 Install Problems

2004-06-25 Thread Tom Moyer
I am trying to install FreeBSD 5.2.1 on a new computer.  The motherboard is an Asus 
P4P800-E with a P4 2.4 GHz.  If i boot with ACPI it gets to the point where it says 
Writing partition information to drive ... and just hangs no messages or anything.  
If I disable ACPI it panics during hardware probing.  Anybody use this MB and have any 
clue what might be wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Must ask

2004-06-25 Thread David Fuchs
TINO ROZZO wrote:
Your web site gives everything but the Acronym for
BSD.
What is BSD?
It's in the FAQ, under 'What does BSD mean?'
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#DEFINE-BSD
--
Thanks,
-David Fuchs BCIS ([EMAIL PROTECTED])
 WWW:  http://www.davidfuchs.ca/
Blog:  http://blog.davidfuchs.ca/
 MSN:  [EMAIL PROTECTED]
 PGP:  http://www.davidfuchs.ca/aboutme/433EEC91.pgp
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The Complete FreeBSD: errata and addenda

2004-06-25 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Quake 3 server breakage

2004-06-25 Thread Michael Sharp
I havent investigated this issue in depth enough to know which updated
port might have changed this, or if its a ld issue, but I now see that
many of the libs quake3 server uses in /usr/compat/linux/lib/ are now
symlinked to the new version 2.2.4.so and quake refuses to run.
Specifically, the files are:

ld-linux.so.2  ld-2.2.4.so
libc.so.6 - libc-2.2.4.so
libdl.so.2 - libdl-2.2.4.so
libm.so.6 - libm-2.2.4.so

by making the path /compat/linux/lib/ and copying the above *.so.6 files
from  /usr/compat/linux/lib/ to /compat/linux/lib will unbreak quake until
this issue is addressed.

Michael

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


Re: ARP / Cisco Router Wierdness

2004-06-25 Thread Stacey Roberts
Hi,

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: To Peter Pauly
Date: Fri, 25 Jun, 2004 15:21 BST
Subject: Re: ARP / Cisco Router Wierdness

 Peter Pauly [EMAIL PROTECTED] wrote:
 
  This morning while attempting to replace a server with a new machine
  (same IP address, the old machine was unplugged), The Cisco 2600
  router's arp table continued to point to the old DNS server's MAC
  address.
  
  Even after rebooting the new server (Freebsd 5.2.1), the MAC address
  remained unchanged in the router. The router continued to point to the
  old machine's MAC address.
  
  I updated the entry manually in the router and all was well. But I am
  concerned that Freebsd is not announcing it's MAC address when the
  machine or interface comes up. Any ideas?

Cisco routers (depending on IOS version) will cache arp entries for at least 20 mins. 
To force an update, simply run clear arp on the router and any Cisco IOS-based 
switches as well.

Regards,

Stacey

 
 I'm not an ARP expert, but isn't it the job of the device maintaining an
 ARP table to properly time out and refresh the entries in that table?
 
 I.e.  shouldn't you be posting this question to a Cisco mailing list,
 asking why the 2600 didn't automatically pick up the new MAC address?
 
 Corrections are welcome if I'm wrong on this count.
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


pgppCYlhJxF1b.pgp
Description: PGP signature


Re: Boot0 configuration question...

2004-06-25 Thread Henrik W Lund
Jud wrote:
snip
 

The FreeBSD bootloader should be installed on *both* hard drives.  This
will boot WinXP, but will show it in the boot menu as ???  If you
prefer a boot manager that allows you to easily enter the names of the
OSs you are booting, you might try GAG (URL:
http://gag.sourceforge.net/).
Jud
 

So, a quick ´boot0cfg -B ad2´ (where ad2 is my WinXP drive) should do it 
then? How come I didn't think of that? ;-)

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


LAN Internet

2004-06-25 Thread sd sdfg
Hello,
 
I'm a newbie and please excuse for my poor language.
I have FreeBSD 4.9 and my computer is in LAN with other people. One of our friends is 
the host of the internet. I have all the data required to connect to the internet, but 
I do not know how. My network interface card is correctly installed, I can ping the 
IPs in the LAN. But when I try to access some web adress with the web browser 
Konqueror, I fail.
 
Can you please tell what should I set up in order to have internet or give me some 
link that may be helpful. I've searched in tha handbook, but couldn't find.
 
Thank you!


-
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command-line calculator?

2004-06-25 Thread Parv
in message [EMAIL PROTECTED],
wrote CD Baby thusly...

 What simple built-in command-line tools are available if I want to
 just do some simple math on the command line?
 
 If I'm there in a shell, and need to know what 17 times 36 equals?

In addition to [bd]c(1) ...

  Perl:
perl -e 'print +(17 * 36)'

  awk:
echo |awk '{print 17 * 36}'


  - Parv

-- 

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


Re: LAN Internet

2004-06-25 Thread Andreas Kohn
On Fri, 2004-06-25 at 20:23, sd sdfg wrote:
 Hello,
  
 I'm a newbie and please excuse for my poor language.
 I have FreeBSD 4.9 and my computer is in LAN with other people. 
 One of our friends is the host of the internet. I have all the data 
 required to connect to the internet, but I do not know how. My 
 network interface card is correctly installed, I can ping the 
 IPs in the LAN. But when I try to access some web adress with 
 the web browser Konqueror, I fail.
  
 Can you please tell what should I set up in order to have internet 
 or give me some link that may be helpful. I've searched in tha handbook, but 
 couldn't find.
  
 Thank you!
 
Hi,

you are most probably missing one or more of the following:

- Nameserver (set it up in /etc/resolv.conf, see man resolv.conf)
- Default Gateway (set it up using route add default gateway-ip, see
man route)
- Proxy (your friend may should have told you so then)

HTH,
Andreas


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


BSD ?

2004-06-25 Thread Gill Elmgren
I have a Kayak XU800 dual processor computer and I'm confused as to which version of 
FreeBSD I sould download for installation on this machine. Thanks


Best Regards
Gill


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.708 / Virus Database: 464 - Release Date: 6/18/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


4.10 and Plesk 7

2004-06-25 Thread James W. Thompson, II
I was curious if anyone here has had any experience using Plesk 7.x on
FreeBSD 4.10. SW-Soft recommends 4.9 and I am fine with that but would
like to use 4.10 if there are no issues.


Thank!

-- 
James W. Thompson, II (New Orleans, LA)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: LAN Internet

2004-06-25 Thread Hauan, David


 -Original Message-
 From: sd sdfg [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 25, 2004 11:24 AM
 To: [EMAIL PROTECTED]
 Subject: LAN Internet
 
 
 Hello,
  
 I'm a newbie and please excuse for my poor language.
 I have FreeBSD 4.9 and my computer is in LAN with other 
 people. One of our friends is the host of the internet. I 
 have all the data required to connect to the internet, but I 
 do not know how. My network interface card is correctly 
 installed, I can ping the IPs in the LAN. But when I try to 
 access some web adress with the web browser Konqueror, I fail.
  
 Can you please tell what should I set up in order to have 
 internet or give me some link that may be helpful. I've 
 searched in tha handbook, but couldn't find.
  
 Thank you!
 

Sounds as though you need to edit your 
/etc/resolv.conf file to reflect your 
primary and secondary name-servers.

dave

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


Re: command-line calculator?

2004-06-25 Thread Warren Block
On Fri, 25 Jun 2004, Parv wrote:
 Perl:
   perl -e 'print +(17 * 36)'
Or just
 perl -e 'print 17 * 36'
but for neatness
 perl -e 'print 17 * 36, \n'
-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]


Weird upload performance problems with proftpd

2004-06-25 Thread Bill Moran
I'm having some really weird performance problems with proftpd-1.2.10 on
FreeBSD 4.10 (in a jail) that I just can't seem to figure out.

My uplink here maxes out at about 35k/sec.  If I scp to the machine in question
I get about 30k/sec (which is expected) but when I ftp, I never get anything
better than 15k/sec, and occasionally as low as 8k/sec.

Using a server colocated at another facility, I can ftp at about 45k/sec, and
scp at about 60k/sec.

Downloads are all as expected ... scp and ftp downloads seem to be in about
the same range, and it's a number I would expect.

I tried running the ftp daemon that ships with FreeBSD, and it exhibited the
same performance issues.

Most settings on this machine are at their defaults.  I've tried tweaking
send/recv sizes, as well as toggling delayed_ack.  None of these have
made any difference so far.

Suggestions?

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LAN Internet

2004-06-25 Thread Andrew L. Gould
On Friday 25 June 2004 01:23 pm, sd sdfg wrote:
 Hello,

 I'm a newbie and please excuse for my poor language.
 I have FreeBSD 4.9 and my computer is in LAN with other people. One
 of our friends is the host of the internet. I have all the data
 required to connect to the internet, but I do not know how. My
 network interface card is correctly installed, I can ping the IPs in
 the LAN. But when I try to access some web adress with the web
 browser Konqueror, I fail.

 Can you please tell what should I set up in order to have internet or
 give me some link that may be helpful. I've searched in tha handbook,
 but couldn't find.

 Thank you!

Since you can ping the other computers on the LAN, we can assume your 
computer is configured for the LAN, and is just missing the information 
needed to send and receive packets to/from the internet.  This assumes 
that your computer isn't blocked by a firewall.

If your computer receives a dynamic IP address, talk to the person who 
administers the DHCP server.  dhclient should receive all the 
information it needs to configure your network automatically.

If your computer has a static IP address on the LAN, you need to 
manually designate the gateway computer and nameservers.

If the gateway computer's IP address is 192.168.0.1, you can execute the 
following on the command line as root:

route add default 192.168.0.1

Add the following to /etc/rc.conf to establish the gateway at bootup:

defaultrouter=192.168.0.1

Nameserver information is stored in /etc/resolv.conf.  I don't 
think /etc/resolv.conf exists when the system is initially installed, 
so you'll need to create it:

touch /etc/resolv.conf

Then add the search domain and nameserver IP address to the file.  My 
file looks like this:

search cablelynx.com
nameserver 24.204.0.4 24.204.0.5

You'll need to use information that is specific to your ISP.

Best of luck,

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


Re: BSD ?

2004-06-25 Thread James W. Thompson, II
On Fri, 25 Jun 2004 12:18:57 -0700, Gill Elmgren [EMAIL PROTECTED] wrote:
 
 I have a Kayak XU800 dual processor computer and I'm confused as to which version of 
 FreeBSD I sould download for installation on this machine. Thanks
 
 Best Regards
 Gill
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.708 / Virus Database: 464 - Release Date: 6/18/2004
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Somebody else can tell me if I'm wrong, but I believe that you would
just use the x86 version from what I have googled it looks like it is
a Pentium class machine so the x86 version should do the trick.


-- 
James W. Thompson, II (New Orleans, LA)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't mount 300G USB drive that's FAT32

2004-06-25 Thread Dan Finn
the system sees the disk:
Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2
Jun 24 15:37:30 stewie kernel: umass0: Get Max Lun not supported (STALLED)
Jun 24 15:37:31 stewie kernel: GEOM: create disk da0 dp=0xc2d85050
Jun 24 15:37:31 stewie kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Jun 24 15:37:31 stewie kernel: da0: Maxtor OneTouch 0201 Fixed
Direct Access SCSI-0 device
Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s transfers
Jun 24 15:37:31 stewie kernel: da0: 286103MB (585938944 512 byte
sectors: 255H 63S/T 36473C)

this is a Maxtor 300G USB drive.  A backup was written to it via a
linux 2.4 server and now I would like to mount it on my FBSD laptop to
read it and work with the files.

When trying to mount it using mount_msdos I get the following:
[ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1 /mnt/usb1/
mount_msdosfs: /dev/da0s1: Invalid argument

and in /var/log/messages I get the following:
Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big, sorry

when trying to use ntfs to mount it I get :
[ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
mount_ntfs: /dev/da0s1: Invalid argument
and nothing in any log file.

One of the taks I need to accomplish here is to copy all of the data
on this 300G USB drive onto an identical 300G USB drive.  I was going
to mount both and just copy from one to the other.  After reading
about the limited writing capabilities in the man page of mount_ntfs
I'm wondering if I would be better off doing this on a linux box.  The
linux box that created the origional backup onto the USB drive had no
problem creating the Fat32 filesystem and writing to it.

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


Re: Weird upload performance problems with proftpd [update]

2004-06-25 Thread Bill Moran
Bill Moran [EMAIL PROTECTED] wrote:
 I'm having some really weird performance problems with proftpd-1.2.10 on
 FreeBSD 4.10 (in a jail) that I just can't seem to figure out.
 
 My uplink here maxes out at about 35k/sec.  If I scp to the machine in
 question I get about 30k/sec (which is expected) but when I ftp, I never
 get anything better than 15k/sec, and occasionally as low as 8k/sec.
 
 Using a server colocated at another facility, I can ftp at about 45k/sec, and
 scp at about 60k/sec.
 
 Downloads are all as expected ... scp and ftp downloads seem to be in about
 the same range, and it's a number I would expect.
 
 I tried running the ftp daemon that ships with FreeBSD, and it exhibited the
 same performance issues.
 
 Most settings on this machine are at their defaults.  I've tried tweaking
 send/recv sizes, as well as toggling delayed_ack.  None of these have
 made any difference so far.

Update: I get the same unexplainable performance if I run ftp outside the
jail, so it doesn't appear to have anything to do with FTP running inside
the jail ... it appears to be a general problem with FreeBSD's performance
running as an FTP server ... which really surprises me!

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: Cable management

2004-06-25 Thread Bill Sawyer
Hey all,

I need to come up with a good solution for managing cables.  Basically, I've got a 
$500 budget, and about 26 systems to deal with.  I have ten wires that I'll be dealing 
with.  The PC sits on top of the desktop, and cables are fed through a hole in the 
desk to a power strip on the ground.  All the peripherals are also on the desk, and 
those wires are haphazardly spilling out behind the computer.

I know my verbal description won't necessarily help too much when it comes to picking 
a solution, but I'd like to hear what products and solutions any of you use.  Any 
ideas will be helpful.

Thanks,

Bill Sawyer
Information Systems
Six Flags St. Louis
(636) 938-5300 x. 231

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


Re: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Matt Emmerton

- Original Message - 
From: Dan Finn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 25, 2004 4:31 PM
Subject: can't mount 300G USB drive that's FAT32


 the system sees the disk:
 Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev 2.00/2.00,
addr 2
 Jun 24 15:37:30 stewie kernel: umass0: Get Max Lun not supported (STALLED)
 Jun 24 15:37:31 stewie kernel: GEOM: create disk da0 dp=0xc2d85050
 Jun 24 15:37:31 stewie kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Jun 24 15:37:31 stewie kernel: da0: Maxtor OneTouch 0201 Fixed
 Direct Access SCSI-0 device
 Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s transfers
 Jun 24 15:37:31 stewie kernel: da0: 286103MB (585938944 512 byte
 sectors: 255H 63S/T 36473C)

 this is a Maxtor 300G USB drive.  A backup was written to it via a
 linux 2.4 server and now I would like to mount it on my FBSD laptop to
 read it and work with the files.

 When trying to mount it using mount_msdos I get the following:
 [ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1 /mnt/usb1/
 mount_msdosfs: /dev/da0s1: Invalid argument

 and in /var/log/messages I get the following:
 Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big, sorry

 when trying to use ntfs to mount it I get :
 [ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
 mount_ntfs: /dev/da0s1: Invalid argument
 and nothing in any log file.

 One of the taks I need to accomplish here is to copy all of the data
 on this 300G USB drive onto an identical 300G USB drive.  I was going
 to mount both and just copy from one to the other.  After reading
 about the limited writing capabilities in the man page of mount_ntfs
 I'm wondering if I would be better off doing this on a linux box.  The
 linux box that created the origional backup onto the USB drive had no
 problem creating the Fat32 filesystem and writing to it.

FAT32 = msdosfs.  This is totally different than NTFS, so put all ideas of
using mount_ntfs out of your mind since it won't help.

The FAT32 support in FreeBSD currently doesn't support large disks.
I don't know the specific value of large, but there is some comments in
the code that point at certain calculations that break for large disks.

--
Matt Emmerton

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


Re: hushlogin?

2004-06-25 Thread Giorgos Keramidas
[-- Moved to freebsd-questions from freebsd-bugs --]

On 2004-06-21 10:30, Alex Mitchell [EMAIL PROTECTED] wrote:

 I currently have FreeBSD 5.2.1 installed on an IBM xSeries 235.
 I have HHP Dolphin scanners that dial into a radius server (modem
 pool) which uses rlogin to transfer the scanner upload files to the
 IBM server.  I am using .hushlogin to suppress motd, but am still
 having issues with the 'Last login:...' appearing.

The Last login: message should not appear if you follo the
instructions in the manpage of login(1).

I just tested it and nothing gets printed:

[EMAIL PROTECTED]:42]/home/giorgos$ ssh -l giorgos localhost
Password: 
Last login: Fri Jun 25 23:42:09 2004 from gothmog
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California.  All rights reserved.

FreeBSD 5.2-CURRENT (CELERON) #2: Thu Jun 24 22:18:29 EEST 2004

[EMAIL PROTECTED]:42]/home/giorgos$ touch .hushlogin
[EMAIL PROTECTED]:42]/home/giorgos$ exit
logout
Connection to gothmog closed.
[EMAIL PROTECTED]:42]/home/giorgos$ ssh -l giorgos localhost
Password:
[EMAIL PROTECTED]:42]/home/giorgos$

Note that this was tested with ssh(1).  The rsh(1) output doesn't
contain Last login:  messages, even if .hushlogin does not exist:

[EMAIL PROTECTED]:02]/home/giorgos$ cat .rhosts
127.0.0.1 giorgos
[EMAIL PROTECTED]:03]/home/giorgos$ ls -ld .hushlogin
ls: .hushlogin: No such file or directory
[EMAIL PROTECTED]:03]/home/giorgos$ rsh localhost ls -ld .rhosts
-rw---  1 giorgos  giorgos  18 Jun 26 00:01 .rhosts
[EMAIL PROTECTED]:04]/home/giorgos$

BTW, this is not a bug and does not belong in freebsd-bugs.
Try posting to freebsd-questions the next time :-)

- Giorgos

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


Re: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Bill Moran
[I copied Tom on this because I know he was working on FAT filesystem
code at some point ... Don't know if he's still trying to do anything
there or not.]

Dan Finn [EMAIL PROTECTED] wrote:
 the system sees the disk:
 Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev 2.00/2.00, addr 2
 Jun 24 15:37:30 stewie kernel: umass0: Get Max Lun not supported (STALLED)
 Jun 24 15:37:31 stewie kernel: GEOM: create disk da0 dp=0xc2d85050
 Jun 24 15:37:31 stewie kernel: da0 at umass-sim0 bus 0 target 0 lun 0
 Jun 24 15:37:31 stewie kernel: da0: Maxtor OneTouch 0201 Fixed
 Direct Access SCSI-0 device
 Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s transfers
 Jun 24 15:37:31 stewie kernel: da0: 286103MB (585938944 512 byte
 sectors: 255H 63S/T 36473C)
 
 this is a Maxtor 300G USB drive.  A backup was written to it via a
 linux 2.4 server and now I would like to mount it on my FBSD laptop to
 read it and work with the files.
 
 When trying to mount it using mount_msdos I get the following:
 [ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1 /mnt/usb1/
 mount_msdosfs: /dev/da0s1: Invalid argument
 
 and in /var/log/messages I get the following:
 Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big, sorry

The source tells the story:

From msdosfs_vfsops.c
...
/*
 * We cannot deal currently with this size of disk
 * due to fileid limitations (see msdosfs_getattr and
 * msdosfs_readdir)
 */
...

This section of code exists even in -CURRENT, so it has not
yet been improved in FreeBSD.

 when trying to use ntfs to mount it I get :
 [ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
 mount_ntfs: /dev/da0s1: Invalid argument
 and nothing in any log file.

Don't know what's going on there.

 One of the taks I need to accomplish here is to copy all of the data
 on this 300G USB drive onto an identical 300G USB drive.  I was going
 to mount both and just copy from one to the other.  After reading
 about the limited writing capabilities in the man page of mount_ntfs
 I'm wondering if I would be better off doing this on a linux box.

If you ask me, you'd be better off using UFS, which doesn't have any
of the weirdnesses or limitations of FAT _or_ NTFS.

 The
 linux box that created the origional backup onto the USB drive had no
 problem creating the Fat32 filesystem and writing to it.

Horay for Linux.

If you really need to put FAT filesystems on these drives, you're not
going to be able to use FreeBSD until the limitation is fixed.

You should file a PR on this ... it doesn't appear as if one is currently
open that addresses this issue:
http://www.freebsd.org/send-pr.html

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Kent Stewart
On Friday 25 June 2004 02:11 pm, Bill Moran wrote:
 [I copied Tom on this because I know he was working on FAT filesystem
 code at some point ... Don't know if he's still trying to do anything
 there or not.]

 Dan Finn [EMAIL PROTECTED] wrote:
  the system sees the disk:
  Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev
  2.00/2.00, addr 2 Jun 24 15:37:30 stewie kernel: umass0: Get Max
  Lun not supported (STALLED) Jun 24 15:37:31 stewie kernel: GEOM:
  create disk da0 dp=0xc2d85050 Jun 24 15:37:31 stewie kernel: da0 at
  umass-sim0 bus 0 target 0 lun 0 Jun 24 15:37:31 stewie kernel: da0:
  Maxtor OneTouch 0201 Fixed Direct Access SCSI-0 device
  Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s transfers
  Jun 24 15:37:31 stewie kernel: da0: 286103MB (585938944 512 byte
  sectors: 255H 63S/T 36473C)
 
  this is a Maxtor 300G USB drive.  A backup was written to it via a
  linux 2.4 server and now I would like to mount it on my FBSD laptop
  to read it and work with the files.
 
  When trying to mount it using mount_msdos I get the following:
  [ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1 /mnt/usb1/
  mount_msdosfs: /dev/da0s1: Invalid argument
 
  and in /var/log/messages I get the following:
  Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big, sorry

 The source tells the story:
 From msdosfs_vfsops.c

 ...
 /*
  * We cannot deal currently with this size of disk
  * due to fileid limitations (see msdosfs_getattr and
  * msdosfs_readdir)
  */
 ...

 This section of code exists even in -CURRENT, so it has not
 yet been improved in FreeBSD.

  when trying to use ntfs to mount it I get :
  [ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
  mount_ntfs: /dev/da0s1: Invalid argument
  and nothing in any log file.

 Don't know what's going on there.

  One of the taks I need to accomplish here is to copy all of the
  data on this 300G USB drive onto an identical 300G USB drive.  I
  was going to mount both and just copy from one to the other.  After
  reading about the limited writing capabilities in the man page of
  mount_ntfs I'm wondering if I would be better off doing this on a
  linux box.

 If you ask me, you'd be better off using UFS, which doesn't have any
 of the weirdnesses or limitations of FAT _or_ NTFS.

  The
  linux box that created the origional backup onto the USB drive had
  no problem creating the Fat32 filesystem and writing to it.

 Horay for Linux.

 If you really need to put FAT filesystems on these drives, you're not
 going to be able to use FreeBSD until the limitation is fixed.

The other thing is that the cluster size must be huge. Fat32 was 
supposed to start being inefficient around 8GB and this is well beyond 
that :).

Kent


 You should file a PR on this ... it doesn't appear as if one is
 currently open that addresses this issue:
 http://www.freebsd.org/send-pr.html

-- 
Kent Stewart
Richland, WA

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


A few X questions (small X load for small drive needed)

2004-06-25 Thread Joe Schmoe
Hi,

I just loaded XFree86-4 from the ports tree on my
laptop, running 5.2.1-RELEASE.

It took about 2.5 gigs of space to compile and add it
all.

Let's say I have a small hard drive in an old laptop,
and let's also assume that I am just loading X to just
have a simple GUI to run opera and terminal windows
on, and don't need a big fancy X server or whatever
...

What are some options I can add to the standard `make
install` command for that port to significantly reduce
the size of X ?

Any general comments on making a smaller/faster/more
efficient X for an old laptop are greatly appreciated.

thanks.

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


Re: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Dan Finn
FAT32 wasn't my choice.  They needed to be writen to by a linux server
but they want to be able to take these and just plug them into a
windows server if need be.  We knew that linux writing ntfs wasn't a
good choice so we decided on FAT32.  Is there a better solution?

On Fri, 25 Jun 2004 14:17:50 -0700, Kent Stewart [EMAIL PROTECTED] wrote:
 
 
 On Friday 25 June 2004 02:11 pm, Bill Moran wrote:
  [I copied Tom on this because I know he was working on FAT filesystem
  code at some point ... Don't know if he's still trying to do anything
  there or not.]
 
  Dan Finn [EMAIL PROTECTED] wrote:
   the system sees the disk:
   Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev
   2.00/2.00, addr 2 Jun 24 15:37:30 stewie kernel: umass0: Get Max
   Lun not supported (STALLED) Jun 24 15:37:31 stewie kernel: GEOM:
   create disk da0 dp=0xc2d85050 Jun 24 15:37:31 stewie kernel: da0 at
   umass-sim0 bus 0 target 0 lun 0 Jun 24 15:37:31 stewie kernel: da0:
   Maxtor OneTouch 0201 Fixed Direct Access SCSI-0 device
   Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s transfers
   Jun 24 15:37:31 stewie kernel: da0: 286103MB (585938944 512 byte
   sectors: 255H 63S/T 36473C)
  
   this is a Maxtor 300G USB drive.  A backup was written to it via a
   linux 2.4 server and now I would like to mount it on my FBSD laptop
   to read it and work with the files.
  
   When trying to mount it using mount_msdos I get the following:
   [ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1 /mnt/usb1/
   mount_msdosfs: /dev/da0s1: Invalid argument
  
   and in /var/log/messages I get the following:
   Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big, sorry
 
  The source tells the story:
  From msdosfs_vfsops.c
 
  ...
  /*
   * We cannot deal currently with this size of disk
   * due to fileid limitations (see msdosfs_getattr and
   * msdosfs_readdir)
   */
  ...
 
  This section of code exists even in -CURRENT, so it has not
  yet been improved in FreeBSD.
 
   when trying to use ntfs to mount it I get :
   [ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
   mount_ntfs: /dev/da0s1: Invalid argument
   and nothing in any log file.
 
  Don't know what's going on there.
 
   One of the taks I need to accomplish here is to copy all of the
   data on this 300G USB drive onto an identical 300G USB drive.  I
   was going to mount both and just copy from one to the other.  After
   reading about the limited writing capabilities in the man page of
   mount_ntfs I'm wondering if I would be better off doing this on a
   linux box.
 
  If you ask me, you'd be better off using UFS, which doesn't have any
  of the weirdnesses or limitations of FAT _or_ NTFS.
 
   The
   linux box that created the origional backup onto the USB drive had
   no problem creating the Fat32 filesystem and writing to it.
 
  Horay for Linux.
 
  If you really need to put FAT filesystems on these drives, you're not
  going to be able to use FreeBSD until the limitation is fixed.
 
 The other thing is that the cluster size must be huge. Fat32 was
 supposed to start being inefficient around 8GB and this is well beyond
 that :).
 
 Kent
 
 
  You should file a PR on this ... it doesn't appear as if one is
  currently open that addresses this issue:
  http://www.freebsd.org/send-pr.html
 
 -- 
 Kent Stewart
 Richland, WA
 
 http://users.owt.com/kstewart/index.html

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


Re: A few X questions (small X load for small drive needed)

2004-06-25 Thread Peter Ulrich Kruppa
On Fri, 25 Jun 2004, Joe Schmoe wrote:
Hi,
I just loaded XFree86-4 from the ports tree on my
laptop, running 5.2.1-RELEASE.
It took about 2.5 gigs of space to compile and add it
all.
Let's say I have a small hard drive in an old laptop,
and let's also assume that I am just loading X to just
have a simple GUI to run opera and terminal windows
on, and don't need a big fancy X server or whatever
...
What are some options I can add to the standard `make
install` command for that port to significantly reduce
the size of X ?
Did you do a
# make clean
in your /usr/ports/x11/XFree86-4 directory after installation? 
This should reduce dik space significntly.

Regards,
Uli.
Any general comments on making a smaller/faster/more
efficient X for an old laptop are greatly appreciated.
thanks.
__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Kent Stewart
On Friday 25 June 2004 02:26 pm, Dan Finn wrote:
 FAT32 wasn't my choice.  They needed to be writen to by a linux
 server but they want to be able to take these and just plug them into
 a windows server if need be.  We knew that linux writing ntfs wasn't
 a good choice so we decided on FAT32.  Is there a better solution?

Not that you apparently use but my experience is limited on the FreeBSD 
end. NTFS was designed to support larger drives that were real problems 
with the FAT design. NTFS used something like a Unix FS and that 
eliminated the dependancy on FAT. It also introduced real security to 
their file system but that doesn't matter because we can't write to 
NTFS.

Kent


 On Fri, 25 Jun 2004 14:17:50 -0700, Kent Stewart [EMAIL PROTECTED] 
wrote:
  On Friday 25 June 2004 02:11 pm, Bill Moran wrote:
   [I copied Tom on this because I know he was working on FAT
   filesystem code at some point ... Don't know if he's still trying
   to do anything there or not.]
  
   Dan Finn [EMAIL PROTECTED] wrote:
the system sees the disk:
Jun 24 15:37:30 stewie kernel: umass0: Maxtor OneTouch, rev
2.00/2.00, addr 2 Jun 24 15:37:30 stewie kernel: umass0: Get
Max Lun not supported (STALLED) Jun 24 15:37:31 stewie kernel:
GEOM: create disk da0 dp=0xc2d85050 Jun 24 15:37:31 stewie
kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jun 24 15:37:31
stewie kernel: da0: Maxtor OneTouch 0201 Fixed Direct Access
SCSI-0 device Jun 24 15:37:31 stewie kernel: da0: 1.000MB/s
transfers Jun 24 15:37:31 stewie kernel: da0: 286103MB
(585938944 512 byte sectors: 255H 63S/T 36473C)
   
this is a Maxtor 300G USB drive.  A backup was written to it
via a linux 2.4 server and now I would like to mount it on my
FBSD laptop to read it and work with the files.
   
When trying to mount it using mount_msdos I get the following:
[ root @ stewie : ~] : mount_msdosfs -o rw /dev/da0s1
/mnt/usb1/ mount_msdosfs: /dev/da0s1: Invalid argument
   
and in /var/log/messages I get the following:
Jun 24 15:43:52 stewie kernel: mountmsdosfs(): disk too big,
sorry
  
   The source tells the story:
   From msdosfs_vfsops.c
  
   ...
   /*
* We cannot deal currently with this size of disk
* due to fileid limitations (see msdosfs_getattr and
* msdosfs_readdir)
*/
   ...
  
   This section of code exists even in -CURRENT, so it has not
   yet been improved in FreeBSD.
  
when trying to use ntfs to mount it I get :
[ root @ stewie : ~] : mount_ntfs /dev/da0s1 /mnt/usb1/
mount_ntfs: /dev/da0s1: Invalid argument
and nothing in any log file.
  
   Don't know what's going on there.
  
One of the taks I need to accomplish here is to copy all of the
data on this 300G USB drive onto an identical 300G USB drive. 
I was going to mount both and just copy from one to the other. 
After reading about the limited writing capabilities in the man
page of mount_ntfs I'm wondering if I would be better off doing
this on a linux box.
  
   If you ask me, you'd be better off using UFS, which doesn't have
   any of the weirdnesses or limitations of FAT _or_ NTFS.
  
The
linux box that created the origional backup onto the USB drive
had no problem creating the Fat32 filesystem and writing to it.
  
   Horay for Linux.
  
   If you really need to put FAT filesystems on these drives, you're
   not going to be able to use FreeBSD until the limitation is
   fixed.
 
  The other thing is that the cluster size must be huge. Fat32 was
  supposed to start being inefficient around 8GB and this is well
  beyond that :).
 
  Kent
 
   You should file a PR on this ... it doesn't appear as if one is
   currently open that addresses this issue:
   http://www.freebsd.org/send-pr.html
 
  --
  Kent Stewart
  Richland, WA
 
  http://users.owt.com/kstewart/index.html

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

-- 
Kent Stewart
Richland, WA

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


2. Try Kernel compiling..makefile stops because of some warnings

2004-06-25 Thread Karim Forsthofer

Hello

I tried to compile a new kernel from my 5.1 bsd cd.
Config and make depend worked well, but make stops and
print out some warnings about unused functions in npx.c (or something else).
I searched in the newsgroup and found some similar postings to this
subject
It seems to me, that the problem appears when the RealTek pci NIC
device is included in the config file. Someone wrote in the newsgroup,
that gcc works with the wrong compiler flags, that means that the
compiler stops at warnings, but he didn`t mention how the solve this
problem or how to change the flags.
Any suggestions?

My Hardware is a d-link nic and the ensoniq 1370 soundcard, the other stuff is 
very common.

The MYKERNEL configfile is attached to this email. 

Hope you can help me. 

Greetings  Karim 


---
***Protect your PC from local E-Mail Application security holes***
***Maintain your Privacy - MS Passport Free***
***Anti SPAM Whitelist feature***

http://www.xmail.net Web E-Mail, accessible anywhere, 128 bit SSL Secure

Voice Messages, Voice Calls (VoIP), Video Conferencing, Live Chat, 
XMail Messenger, Personal Web Hosting, Private Disk Storage,  
Calendar, Bookmarks, Forwarding, Virtual Mail Map Aliasing

XMail Premium: 20 - 250MB Storage, 20MB Messages, SMTP, POP3, Ad Free
Starting at $9.95 per year
---
Anonymous Web Surfing http://www.snoopblocker.com
Search http://www.teradex.com

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


Re: Boot0 configuration question...

2004-06-25 Thread Henrik W Lund
Henrik W Lund wrote:
Jud wrote:
snip
 

The FreeBSD bootloader should be installed on *both* hard drives.  This
will boot WinXP, but will show it in the boot menu as ???  If you
prefer a boot manager that allows you to easily enter the names of the
OSs you are booting, you might try GAG (URL:
http://gag.sourceforge.net/).
Jud
 

So, a quick ´boot0cfg -B ad2´ (where ad2 is my WinXP drive) should do 
it then? How come I didn't think of that? ;-)

Thanks!
-Henrik W Lund

Just following up here. The above works, albeit in a weird kinda way. 
After installing the boot0 boot manager on the other drive as well, I 
get the prompt one more time when I select to boot from the other drive 
- which is what I'd expect.

Now, what I did not expect is that if I set the FreeBSD drive as drive 0 
in the BIOS, I am still unable to boot WinXP. The boot manager comes up, 
I select Drive 1, it prompts me again and I select the '???' entry 
(WinXP) - and the machine reboots. Selecting FreeBSD at the first 
invocation of boot0 gets me into FreeBSD alright.

However, setting the WinXP drive as drive 0 in the BIOS things work 
flawlessly. At the first invocation of boot0, WinXP boots up if I select 
'???'. If I select Drive 1, and the second invocation of boot0 appears 
and I select 'FreeBSD' - it boots FreeBSD!!

Is this some weirdness of the BIOS? That the onboard IDE controllers are 
somehow inherently preferred, and that weirdness occurs if drives on any 
other controller are set to drive 0? It beats me, maybe one of you guys 
know. Please let me know if you do, as this befuddles me.

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


Re: A few X questions (small X load for small drive needed)

2004-06-25 Thread Charles Swiger
On Jun 25, 2004, at 5:21 PM, Joe Schmoe wrote:
What are some options I can add to the standard `make
install` command for that port to significantly reduce
the size of X ?
Any general comments on making a smaller/faster/more
efficient X for an old laptop are greatly appreciated.
X11 doesn't really fit the criteria of small and efficient, I'm afraid. 
 This being said, you can try to install just x11/XFree86-4-libraries 
and the specific X11 client apps you want to run...

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


FreeBSD Port: mozilla-1.6_4,2

2004-06-25 Thread Arend P. van der Veen
Hi,
I have a general question about how to configure mozilla.  I personally 
like to use a window manager like ion.  GNOME is very beautiful but I 
usually do not need all of the additional applications and overhead.   I 
usually install X, ion and Mozilla.   The big problem that I am having 
(and why I am making this post) is that when I configure the system in 
this fashion Mozilla does not look very good.  If I install GNOME 
everything looks great.  I can even run mozilla from ion and it looks 
great.

I have played around with fonts, etc. but it has never had any big 
impact.   I  have found that installing the bitstream-vera fonts help.

Does anybody have an explanation of what is going on here ?  Are there 
some key libraries from GNOME that I need to compile mozilla with ?  I 
would be very interested in any feedback.

I am running FreeBSD 5.2.1, Mozilla 1.6_4.2 and GNOME2-2.6.1.
Thanks in advance,
Arend van der Veen
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 2. Try Kernel compiling..makefile stops because of some warnings

2004-06-25 Thread Bill Moran
Karim Forsthofer [EMAIL PROTECTED] wrote:
 Hello
 
 I tried to compile a new kernel from my 5.1 bsd cd.

5.1 is an obsolete, experimental version.  If you're new to FreeBSD, you
should be using 4.10.  If you want to experiment with the 5.x branch, you
should be using 5.2.1.  Many problems that existed in 5.1 have been fixed in
5.2.1.  You're unlikely to get any support for 5.1.

 Config and make depend worked well, but make stops and
 print out some warnings about unused functions in npx.c (or something else).

This is the old way of building a kernel.  You should use make buildkernel
as described in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html

For future reference, it's very difficult to help when problems are
described as print out some warnings about unused functions in npx.c
(or something else).  If you have questions in the future, you'll get
more helpful answers if you provide the exact error messages.  This
document describes how to ask good questions:
http://www.lemis.com/questions.html

 I searched in the newsgroup and found some similar postings to this
 subject
 It seems to me, that the problem appears when the RealTek pci NIC
 device is included in the config file. Someone wrote in the newsgroup,
 that gcc works with the wrong compiler flags, that means that the
 compiler stops at warnings, but he didn`t mention how the solve this
 problem or how to change the flags.
 Any suggestions?
 
 My Hardware is a d-link nic and the ensoniq 1370 soundcard, the other stuff is 
 very common.
 
 The MYKERNEL configfile is attached to this email. 
 
 Hope you can help me. 
 
 Greetings  Karim 


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot0 configuration question...

2004-06-25 Thread Giorgos Keramidas
On 2004-06-26 00:59, Henrik W Lund [EMAIL PROTECTED] wrote:

 Now, what I did not expect is that if I set the FreeBSD drive as drive
 0 in the BIOS, I am still unable to boot WinXP. The boot manager comes
 up, I select Drive 1, it prompts me again and I select the '???' entry
 (WinXP) - and the machine reboots. Selecting FreeBSD at the first
 invocation of boot0 gets me into FreeBSD alright.

 However, setting the WinXP drive as drive 0 in the BIOS things work
 flawlessly. At the first invocation of boot0, WinXP boots up if I
 select '???'. If I select Drive 1, and the second invocation of boot0
 appears and I select 'FreeBSD' - it boots FreeBSD!!

 Is this some weirdness of the BIOS? That the onboard IDE controllers
 are somehow inherently preferred, and that weirdness occurs if drives
 on any other controller are set to drive 0? It beats me, maybe one of
 you guys know. Please let me know if you do, as this befuddles me.

AFAIK it's not a weirdness of the BIOS but of the Windows XP loader,
which expects that it will be fired up from the first (and only) active
partition of the first disk.

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


Re: command-line calculator?

2004-06-25 Thread Parv
in message [EMAIL PROTECTED],
wrote Parv thusly...

   Perl:
 perl -e 'print +(17 * 36)'
 
   awk:
 echo |awk '{print 17 * 36}'

Oh, in Rexx...

  echo 'say 17 * 36 ' | rexx

  ...or...

  rexx  #  Interpreter
  say 17 * 36
  ^D  # Ctrl-D


Just wondering out loud ... Is it not possible either in rexx-imc or
-regina to have something like the perl functionality (make rexx to
execute a string as if it were a valid statement/expression) ?


  - Parv

-- 

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


setting a disk read only

2004-06-25 Thread MICSKO Viktor
Hi,

Is it possible to setting a *whole* disk read only? I mean the way linux
does it with hdparm -r 1 device. So adding an -o ro parameter to mount
isn't enough, I want to be sure that the disk is unmodified.

(I have to access an existing raid of 8 disks using vinum without any
modified bit, because of the highly sensitive data. Any idea doing this
absolutely securely is welcome too)

Thanks,
Viktor.


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


Sendmail permission problems

2004-06-25 Thread Jamie LaPointe
I am having problems with a Perl based application (Bugzilla 2.16.5) that
uses Sendmail.  I recently upgraded from Sendmail version 8.9.3 to 8.12.10
and am using FreeBSD 5.2.1-Release.  I installed this version of Sendmail
from the Ports collection from the FreeBSD FTP site.  Ever since I upgraded
to this new version I have been having the following problem when attempting
to send an email via Bugzilla (the following error is from the mailog):

Jun 25 17:11:42 srv-linbsd01 sm-mta[539]: starting daemon (8.12.10):
SMTP+queuei

[EMAIL PROTECTED]:30:00

Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[542]: starting daemon (8.12.10):
queue

[EMAIL PROTECTED]:30:00

Jun 25 17:11:42 srv-linbsd01 sm-msp-queue[547]: starting daemon (8.12.10):
queue

[EMAIL PROTECTED]:30:00

Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: SYSERR(apache):
coll

ect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25):
Permission de

nied

Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: from=apache,
size=46

8, class=0, nrcpts=0, [EMAIL PROTECTED]

Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fA000630: i5Q0C4fB000630:
DSN:

 collect: Cannot write ./dfi5Q0C4fA000630 (bfcommit, uid=1003, gid=25):
Permissi

on denied

Jun 25 17:12:04 srv-linbsd01 sendmail[630]: i5Q0C4fB000630: SYSERR(apache):
queu

eup: cannot create queue file ./qfi5Q0C4fB000630, euid=1003: Permission
denied

Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: SYSERR(apache):
coll

ect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25):
Permission de

nied

Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: from=apache,
size=45

9, class=0, nrcpts=0, [EMAIL PROTECTED]

Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K8000631: i5Q0C4K9000631:
DSN:

 collect: Cannot write ./dfi5Q0C4K8000631 (bfcommit, uid=1003, gid=25):
Permissi

on denied

Jun 25 17:12:04 srv-linbsd01 sendmail[631]: i5Q0C4K9000631: SYSERR(apache):
queu

eup: cannot create queue file ./qfi5Q0C4K9000631, euid=1003: Permission
denied

 

It sure appears that something is screwed up with Permissions, yet
/var/spool/clientmqueue has the following permission:

-bash-2.05b# ls -l

total 32

drwxrwx---   2 smmsp  smmsp 512 Jun 25 12:09 clientmqueue

drwxr-xr-x   3 root   daemon512 Apr  6 08:53 cups

drwxrwxr-x   2 uucp   dialer512 Jun 25 17:11 lock

drwxr-xr-x   2 root   daemon512 Feb 23 12:41 lpd

drwxr-xr-x   3 root   daemon  16384 Jun 25 15:17 mqueue

drwx--   2 root   daemon512 Feb 23 12:41 opielocks

drwxr-xr-x   3 root   daemon512 Feb 23 12:41 output

drwxr-xr-x  15 root   wheel 512 Jun 25 11:48 postfix

drwxrwxrwt   2 root   wheel 512 Apr  6 08:53 samba

 

From everything that I have read this is correct.  I also checked the
permission for the sendmail binary and it has the following permission:

-bash-2.05b# ls -l /usr/libexec/sendmail/sendmail

-r-xr-sr-x  1 root  smmsp  635864 Feb 23 12:42 sendmail

 

I even attempted to comment out most of the items in the sendmail.mc
configuration file (with the obvious make and restart of the sendmail
daemon).  I would appreciate any help on this matter.

 

Thank you very much,

 

Jamie LaPointe

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


Re: command-line calculator?

2004-06-25 Thread Bill Schoolcraft
At Fri, 25 Jun 2004 it looks like Aaron composed:

 CD Baby wrote:
  What simple built-in command-line tools are available if I want to
  just do some simple math on the command line?
 
  If I'm there in a shell, and need to know what 17 times 36 equals?

 $ bc
 bc 1.06
 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
 This is free software with ABSOLUTELY NO WARRANTY.
 For details type `warranty'.
 17*36
 612
 ^D

I usually try this.

echo 17*36 | bc

Then you don't have to start and stop bc.


--
Bill Schoolcraft
PO Box 210076 -o)
San Francisco CA 94121 /\
UNIX, A Way Of Life._\_v

http://billschoolcraft.com

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


  1   2   >