Centrino - Made for Microsoft Windows XP?

2004-06-25 Thread Robert Storey
I recently purchased a new laptop, an IBM X31 ThinkPad, which uses the Centrino 
processor. I had high expectations for this machine.

Alas, my expectations have been shattered. All attempts at installing FreeBSD 5.2.1 
quickly end with a crash. Interestingly, I have an old FBSD 4.8 CD - that installs 
fine. Lest anybody think my 5.2.1 CDR is bad, I went and downloaded it a second time, 
plus I also tried a network install. Failure every time.

Nor is the problem limited to FreeBSD. MEPIS Linux crashes during the install as well. 
Knoppix Linux installed but dmesg was putting out lots of error messages (for example, 
it could not mount a journaled ext3 partition, so it mounted as ext2). In the end, I 
got Knoppix to install and run reliably only by using the older 2.4.26 kernel and by 
disabling APIC.

After doing some Googling and seeing that others were having issues, my suspicion is 
that Centrino's power management features are to blame. But I could be wrong.

So I guess my question is this: Has anybody here gotten FreeBSD 5.2.1 to install on a 
Centrino laptop? If so, did you need to do anything special to make it work? Any tips, 
tricks or hints I should try? Or should I just wait for FreeBSD 5.3 to come out and 
hope it works? Or should I file a PR?

If others are not having problems with the Centrino chip, I might to back to IBM and 
demand that they replace the motherboard, but I tend to think they'll just tell me to 
reinstall Windows XP and all will be well. There is indeed a sticker on the laptop 
saying "Made for Microsoft Windows XP" (well, there was, I ripped the sticker off, but 
I still can't install FreeBSD).

best regards,
Robert

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


Re: Getting FreeBSD

2004-06-25 Thread Beecher Rintoul
On Friday 25 June 2004 08:55 pm, asrul yusuf syahroni wrote:
> i really interested with this OS but i can't get it for free.
> so where i can get freebsd OS for free? in south east asia region?

Go to this link: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.htm

FreeBSD is available from several sources including a net install. You should 
be able to find a mirror close to you. Read the handbook on www.freebsd.org 
especially the sections dealing with getting and installing.

Good luck,

Beech

-- 
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---











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


[no subject]

2004-06-25 Thread asrul yusuf syahroni
i really interested with this OS but i can't get it for free.
so where i can get freebsd OS for free? in south east asia region?



-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Intel Anypoint PCMCIA ethernet card-- adding entry to pccard.conf didn't work

2004-06-25 Thread Adam Wynne
I am trying to get my pcmcia ethernet card working on my laptop.  It is the
"Intel Anypoint" card and I know that it uses the wi driver, which is compiled
into my kernel.  I am running 4.10-PRERELEASE.  

I saw on the list that people have gotten this card to work by adding an entry
for it to the /etc/defaults/pccard.conf file.  I tried adding the following
entry which did not help:

card "Intel" "AnyPoint(TM) Wireless II PC Card"
config  auto "wi" ?
insert  /etc/pccard_ether $device start
remove  /etc/pccard_ether $device stop

I know that the system recognizes that a card has been added.  When I insert
it, the following is reported:

Jun 26 04:33:53 bird /kernel: pccard: card inserted, slot 1

It doesn't mention anything about the card in particluar, which seems weird to
me - I expected it to say that the card was unrecognized or something like
that.  

I don't know if this helps but I got this card to work on the same laptop under
netbsd according to a doc on the netbsd site.  Doing that required adding
entries to 2 or 3 kernel files and recompiling.  I tried mimicing that
procedure but ran into problems since the kernel files are layed out
differently on freebsd.

Please let me know if you have any ideas.  It is possible that I have forgotten
something obvious.

Thanks!

-Adam



__
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
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]"


RE: fsck'ing a Vinum RAID5 volume (and a stale drive)

2004-06-25 Thread Daniel Eriksson
Benjamin P. Keating wrote:

> Is
> this approach correct? does this do anything productive or just forces
> the state label to change and do nothing to the drives? I don't feel
> confident that it did anything and Im having a VERY hard time finding
> documentation on this.

Let me give you an example of a valid setstate use case:

One of my servers has a LOT of discs. For some reason I suffer from
interrupt storms during device probing (started after I added a second
Highpoint RocketRAID 454 to the machine). These storms sometime prevent the
ata code from detecting all the discs. If this happens to be a disc that is
part of a RAID-0 array, then when vinum starts up it detects that one of the
discs have disappeared and (correctly) marks the array as crashed. There is
no "proper" way to recover from a crashed RAID-0 array - your data is
normally lost forever. However, in this specific case I _know_ that nothing
has been written to the discs, so once I get the missing disc back online I
can use setstate to change the array status from crashed to up, confident
that no data has actually been lost.

There are a few other use cases for setstate, but they are all (?) outside
of the normal procedures for using and maintaining RAID arrays.

/Daniel Eriksson


___
[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 Malcolm Kay
On Saturday 26 June 2004 06:51, 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 ?
>

After it is installed you can remove all the .../work directories 
in the ports tree. Or just start by installing from packages.

X itself is not all that big -- but beware the fancy(=bloated) 
window-managers/desktops such as kde and gnome. If you want 
something better than twm while remaing compact then blackbox and 
fluxbox are often mentioned -- I use lesser known ctwm.

Malcolm


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


Does Zoom 3075 PCMCIA modem work on FreeBSD ?

2004-06-25 Thread j . e . drews
Hi:

 I am contemplating buying a Zoom Model 3075 56K V.92 Modem for my FreeBSD laptop.
Have any of you folks used this card? I looked at the FreeBSD laptop compatibility site
but saw no mention of it. The manufacturer says it works in Linux. I wonder if it will 
work
in FreeBSD too?

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


RE: fsck'ing a Vinum RAID5 volume (and a stale drive)

2004-06-25 Thread Daniel Eriksson
Benjamin P. Keating wrote:

> I've found on the net that I can switch the state by doing:
> 
> $ vinum setstate up backup.p0 backup.p0.s3

Ouch, this is a bad move. You just told vinum to start using the stale (=out
of date data) disc as if it was up to date and nothing was wrong with it.
Basically you have trashed your data, possibly beyond repair.

Why was the disc in a stale state? If it developed bad blocks that could not
be remapped, then vinum marked it as stale and continued to use the other
discs in degraded mode (just as it should). Even if the disc did not break
(maybe just connection problems or something), once vinum marked it as stale
any further writing to the array would immediately invalidate the data on
the disc; which means the only way to bring it back up would be to go throug
a proper rebuild of the data.

> I rebooted, the state is "up" so I unmounted the volume to fsck it. Is
> this approach correct? does this do anything productive or just forces
> the state label to change and do nothing to the drives? I don't feel
> confident that it did anything and Im having a VERY hard time finding
> documentation on this.

Your approach is not correct. You should have paid attention to the vinum
manpage which says this about setstate: "This bypasses the usual consistency
mechanism of vinum and should be used only for recovery purposes.  It is
possible to crash the system by incorrect use of this command."

It is unfortunate that the manpage says "for recovery", since people can
misunderstand and think you can recover from a crashed disc. setstate should
not need to be used during normal operation, even if a disc in a RAID-5
array crashes.

> Im assuming I'll want to answer yes to at least some of those. Can I
> say yes to all of them? What errors should I say no to? I have no idea
> whats bad bad and whats correctable.

An fsck of a degraded RAID-5 array should not normally have any errors. The
errors you are seeing is because you have forced out-of-date (stale) data
into the middle of the filesystem, messing up pretty much the entire
filesystem.

> Now. because this is a raid5 volume, are some of these fsck prompts
> false  positives? ie; fsck is giving a error but really it's fine as
> it's raid5?

No, that is not how RAID-5 works. RAID-5 protects the integrity of the
filesystem by ensuring that the stored data can be read/written even if one
disc fails. RAID arrays work at a level below the filesystem, and they
generally don't know anything about the actual filesystem.


Your only hope now is if you haven't actually allowed anything to be written
to the array. If fsck changed things around then you are probably out of
luck. IF nothing has been written, then reset the failed disc to the
"stale/down" state (which should put the array in degraded mode hopefully)
and then try fsck again. If you are lucky you should see no errors at all.

If the disc isn't physically broken, then the proper way to get your array
back to the original "all up" state, you should run a "vinum start
backup.p0.s3". I'm not sure if this will rebuild all the data automatically
(it does for RAID-1 arrays), but if it doesn't then I guess you also need to
run a "vinum rebuildparity backup.p0".

/Daniel Eriksson


___
[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 Malcolm Kay
On Saturday 26 June 2004 04:56, James W. Thompson, II wrote:
> 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
> >
...
>
> 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.

If the OP means which Release, then, as the he seems to be new to Freebsd,
I would suggest a production version 4.9 or 4.10 rather then the developmental
relaeases 5.x.

Malcolm

___
[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 Sergey Zaharchenko
On Fri, Jun 25, 2004 at 01:31:33PM -0600,
 Warren Block probably wrote:
> 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"'

Or just

$ sh -c 'echo $((17*36))'
612

or

$ echo $((17*36))

if you use sh as your interactive shell.

-- 
DoubleF
The first time, it's a KLUDGE!
The second, a trick.
Later, it's a well-established technique!
-- Mike Broido, Intermetrics


pgp0FFui5t4Nb.pgp
Description: PGP signature


fsck'ing a Vinum RAID5 volume (and a stale drive)

2004-06-25 Thread Benjamin P. Keating
This is a good one.

$ uname -a
FreeBSD 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT
2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC 
i386

First I'll explain the stale/degraded issue. Then ask about fsck on a
raid5 vinum. My goal is to have the vinum volume check out OK with
fsck and to do a 'vinum list' and have 'State: up' all the way down
the list. This is a RAID5 holding backup copies of other servers.



$ vinum list
7 drives:
D a State: up   Device /dev/ad4s1f  Avail:
0/114473 MB (0%)
D b State: up   Device /dev/ad6s1f  Avail:
0/114473 MB (0%)
D c State: up   Device /dev/ad8s1f  Avail:
0/114473 MB (0%)
D d State: up   Device /dev/ad10s1f Avail:
0/114473 MB (0%)
D e State: up   Device /dev/ad12s1f Avail:
0/114473 MB (0%)
D f State: up   Device /dev/ad14s1f Avail:
0/114473 MB (0%)
D g State: up   Device /dev/ad16s1f Avail:
0/114473 MB (0%)

1 volumes:
V backupState: up   Plexes:   1 Size:670 GB

1 plexes:
P backup.p0  R5 State: degraded   Subdisks: 7 Size:   
670 GB

7 subdisks:
S backup.p0.s0  State: up   PO:0  B Size:111 GB
S backup.p0.s1  State: up   PO:  384 kB Size:111 GB
S backup.p0.s2  State: up   PO:  768 kB Size:111 GB
S backup.p0.s3  State: stale   PO: 1152 kB Size:111 GB
S backup.p0.s4  State: up   PO: 1536 kB Size:111 GB
S backup.p0.s5  State: up   PO: 1920 kB Size:111 GB
S backup.p0.s6  State: up   PO: 2304 kB Size:111 GB


I've found on the net that I can switch the state by doing:

$ vinum setstate up backup.p0 backup.p0.s3

and it does indeed bring the state back up so then it was recommneded to

$ vinum saveconfig

I rebooted, the state is "up" so I unmounted the volume to fsck it. Is
this approach correct? does this do anything productive or just forces
the state label to change and do nothing to the drives? I don't feel
confident that it did anything and Im having a VERY hard time finding
documentation on this.



the vinum vol is unmounted, so now I do a :

$ fsck -n /dev/vinum/backup 

and get tons of bad news scrolling up the screen. Lots of  this:


%<---

bigbang:root> fsck -n /dev/vinum/backup 
** /dev/vinum/backup (NO WRITE)
** Last Mounted on /backup
** Phase 1 - Check Blocks and Sizes
529516494 BAD I=12
31580655 BAD I=12
-588350257 BAD I=12
1849227449 BAD I=12
490256604 BAD I=12
1896046100 BAD I=12
1065221887 BAD I=12
422657855 BAD I=12
156800 BAD I=12
1663396533 BAD I=12
-13685115 BAD I=12
EXCESSIVE BAD BLKS I=12
CONTINUE? yes

INCORRECT BLOCK COUNT I=12 (80557504 should be 262656)
CORRECT? no

INCORRECT BLOCK COUNT I=76903513 (416 should be 228)
CORRECT? no

PARTIALLY TRUNCATED INODE I=76903514
SALVAGE? no

PARTIALLY TRUNCATED INODE I=76903515
SALVAGE? no

-116589821 BAD I=76903515
-112723056 BAD I=76903515
-98501815 BAD I=76903515
-99813036 BAD I=76903515
-131467519 BAD I=76903515
-168168055 BAD I=76903515
-189794987 BAD I=76903515
-189532554 BAD I=76903515
-169084920 BAD I=76903515
-143787653 BAD I=76903515
-122160433 BAD I=76903515
EXCESSIVE BAD BLKS I=76903515
CONTINUE? yes

INCORRECT BLOCK COUNT I=76903515 (1056 should be 368)
CORRECT? no

PARTIALLY TRUNCATED INODE I=76903516
SALVAGE? no

%<---


Im assuming I'll want to answer yes to at least some of those. Can I
say yes to all of them? What errors should I say no to? I have no idea
whats bad bad and whats correctable.

Now. because this is a raid5 volume, are some of these fsck prompts
false  positives? ie; fsck is giving a error but really it's fine as
it's raid5?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can not make ltmdm ports

2004-06-25 Thread pirat
hi sirs,

my laptop is dell inspiron 1100 with Conexant D480 MDC modem controller.
i tried to compile ltmdm from ports but strange enough, it failed.  i spent
about 2 months in looking or searching from internet if there were
any one else can use that modem in that machin with freebsd.

finally, i have to come back to my box and decide to make from ports.
as mentioned above,  make failed.  can any one please helps me or explains me
why do make failed ?

other informations about dell inspiron 1100 are attached.
thanks in advanced fro any helps and hints.


-- 
with best regards,
psr

http://www.thai-aec.org
http://www.thai.net/makham
>From [EMAIL PROTECTED] Sat Jun 26 08:13:35 2004
Return-Path: <[EMAIL PROTECTED]>
Received: from inspiron.thai-aec.org (inspiron.thai-aec.org [192.168.1.70])
by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1DZmA022143
for <[EMAIL PROTECTED]>; Sat, 26 Jun 2004 08:13:35 +0700 (ICT)
(envelope-from [EMAIL PROTECTED])
Received: from inspiron.thai-aec.org (localhost [127.0.0.1])
by inspiron.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q17ZHP001148
for <[EMAIL PROTECTED]>; Sat, 26 Jun 2004 08:07:35 +0700 (ICT)
(envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED])
by inspiron.thai-aec.org (8.12.11/8.12.11/Submit) id i5Q17Y9b001147
for [EMAIL PROTECTED]; Sat, 26 Jun 2004 08:07:34 +0700 (ICT)
(envelope-from root)
Date: Sat, 26 Jun 2004 08:07:34 +0700 (ICT)
From: Charlie Root <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Status: RO
Content-Length: 2910
Lines: 64

[EMAIL PROTECTED]:0:0:  class=0x06 card=0x chip=0x25608086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE DRAM Controller / Host-Hub I/F Bridge'
class= bridge
subclass = HOST-PCI
[EMAIL PROTECTED]:2:0:  class=0x03 card=0x01491028 chip=0x25628086 rev=0x03 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82845G/GL/GV/GE/PE Integrated Graphics Device'
class= display
subclass = VGA
[EMAIL PROTECTED]:29:0: class=0x0c0300 card=0x24c08086 chip=0x24c28086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #1'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:1: class=0x0c0300 card=0x24c08086 chip=0x24c48086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #2'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:2: class=0x0c0300 card=0x24c08086 chip=0x24c78086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB UHCI Controller #3'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:29:7: class=0x0c0320 card=0x24c08086 chip=0x24cd8086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) USB EHCI Controller'
class= serial bus
subclass = USB
[EMAIL PROTECTED]:30:0: class=0x060400 card=0x chip=0x244e8086 rev=0x82 
hdr=0x01
vendor   = 'Intel Corporation'
device   = '82801BA/CA/DB/EB/ER (ICH2/3/4/5/5R) Hub Interface to PCI Bridge'
class= bridge
subclass = PCI-PCI
[EMAIL PROTECTED]:31:0: class=0x060100 card=0x chip=0x24c08086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) LPC Interface Bridge'
class= bridge
subclass = PCI-ISA
[EMAIL PROTECTED]:31:1: class=0x01018a card=0x24c08086 chip=0x24cb8086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB (ICH4) UltraATA/100 EIDE Controller'
class= mass storage
subclass = ATA
[EMAIL PROTECTED]:31:5: class=0x040100 card=0x01491028 chip=0x24c58086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) AC'97 Audio Controller'
class= multimedia
subclass = audio

[EMAIL PROTECTED]:31:6: class=0x070300 card=0x542214f1 chip=0x24c68086 rev=0x02 
hdr=0x00
vendor   = 'Intel Corporation'
device   = '82801DB/DBM (ICH4/M) AC'97 Modem Controller'
class= simple comms

[EMAIL PROTECTED]:1:0:  class=0x02 card=0x10284401 chip=0x440114e4 rev=0x01 
hdr=0x00
vendor   = 'Broadcom Corporation'
device   = 'BCM440x 10/100 Integrated Ethernet Controller'
class= network
subclass = ethernet
[EMAIL PROTECTED]:4:0:  class=0x060700 card=0x01491028 chip=0xac56104c rev=0x00 
hdr=0x02
vendor   = 'Texas Instruments (TI)'
device   = 'PCI1510 PC card CardBus Controller'
class= bridge
subclass = PCI-CardBus

>From [EMAIL PROTECTED] Sat Jun 26 08:17:43 2004
Return-Path: <[EMAIL PROTECTED]>
Received: from inspiron.thai-aec.org (inspiron.thai-aec.org [192.168.1.70])
by firak.thai-aec.org (8.12.11/8.12.11) with ESMTP id i5Q1HhTK022167
for <[EMAIL PROTECTED]>; Sat, 26 Jun 2004 08:17:43 +0700 (ICT)
(envelope-from [EMAIL PROTECTED

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

2004-06-25 Thread Danny Pansters
On Saturday 26 June 2004 02:19, Bill Moran wrote:
> 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.

That's true. But it supported building my kernels. 5.1 was not unstable or 
broken. It was less broken than 5.2-REL. Building kernel from cd src should 
always be supported. This is probably user error.

> > "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

No. If you have a release from CD with src-sys installed and haven't cvsup'ed 
anything or don't have src-all fully installed than this *is* the proper way 
to build a kernel. In fact, it's the only way. There is no such thing as an 
"old" or a "new" way. These have IMHO unfortunately become the de facto terms 
but they're not accurate.

On my -CURRENT box, when not updating world but merely rebuilding kernel, I 
normally use the "old" way because it's more straightforward then, starting 
from editing the conf file. Using make kernel would in that case produce the 
same of course.

> 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

Yes. Without the actual output all we can do is guess.

> > 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?

With the output we might be able to see if its a warning or an error.

> > 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.

I don't see anything wrong with it. How about if you load GENERIC and then 
kldload your NIC and 137x drivers, does everything work then? 

It's worth while to note that FreeBSD 5.x generally much more encourages the 
use of modules rather than compiling in drivers. 

> > Hope you can help me.

Reinstalling to 5.2.1 is a good idea anyhow in the longer run. 

> > Greetings  Karim

Cheers,

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


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]"


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]"


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]"


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: 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]"


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: 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]"


Re: Boot0 configuration question...

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

 

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 (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]"


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: can't mount 300G USB drive that's FAT32

2004-06-25 Thread Bill Moran
Dan Finn <[EMAIL PROTECTED]> 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?

Unfortunately, none that I know of.  If you want to maintain Windows
support, you're pretty much stuck with either NTFS or FAT, as Windows
is pretty stupid and doesn't understand many filesystems.

Otherwise, you could use UFS or ext2, which work on both FreeBSD and
Linux.

> 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:
> > > >  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]"


-- 
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: A few X questions (small X load for small drive needed)

2004-06-25 Thread Alex de Kruijff
On Fri, Jun 25, 2004 at 02:21:57PM -0700, 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 ?
> 
> Any general comments on making a smaller/faster/more
> efficient X for an old laptop are greatly appreciated.

You are better off installing X with precompiled packages instead. You
then don't lose any space to the temp compile files.

-- 
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: 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:  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]"


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 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:
> > >  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 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:
> >  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: 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:  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: 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 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:  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]"


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: 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]"


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:  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: Re-arranging disk slice allocation

2004-06-25 Thread Bill Moran
Bruce Hunter <[EMAIL PROTECTED]> wrote:

> Hey all,
> 
> I have a headless server running and when I first setup the system I
> messed up the disk slice allocations. I would like to know how it is
> possible to take allocations from one and give it to another?
> 
> 
> > FilesystemSize   Used  Avail Capacity  Mounted on
> > /dev/ad0s1a   508M57M   410M12%/
> > devfs 1.0K   1.0K 0B   100%/dev
> > /dev/ad0s1g11G   6.1G   4.3G59%/home
> > /dev/ad0s1d  1037M12K   954M 0%/tmp
> > /dev/ad0s1f   7.3G   1.5G   5.2G22%/usr
> > /dev/ad0s1e12G31M11G 0%/var
> 
> for some reason I did a bo bo and gave /var 12G of space! I want
> to give it to /home, b/c that's where I have my NFS folder. How would
> I got about doing this?

You partitions appear to be ordered on the disk thusly:
/, swap, /tmp, /var, /usr, /home

Because of this, you can't repartition /var and /home without also
repartitioning /usr.  At that point, you're almost reinstalling.
What you'd have to do is back up /var, /usr, and /home, then repartition
those three, and then restore to the new /var, /usr, /home.

You could always symlink the directory in /home to some location on
/var to get most of what you want.  See 'man ln'.

-- 
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: 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]"


Re-arranging disk slice allocation

2004-06-25 Thread Bruce Hunter
Hey all,

I have a headless server running and when I first setup the system I
messed up the disk slice allocations. I would like to know how it is
possible to take allocations from one and give it to another?


> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s1a   508M57M   410M12%/
> devfs 1.0K   1.0K 0B   100%/dev
> /dev/ad0s1g11G   6.1G   4.3G59%/home
> /dev/ad0s1d  1037M12K   954M 0%/tmp
> /dev/ad0s1f   7.3G   1.5G   5.2G22%/usr
> /dev/ad0s1e12G31M11G 0%/var

for some reason I did a bo bo and gave /var 12G of space! I want
to give it to /home, b/c that's where I have my NFS folder. How would
I got about doing this?

Bruce

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


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: 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]"


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]"


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]"


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]"


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 , 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


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]"


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: Boot0 configuration question...

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

 

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 (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]"


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


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]"


"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]"


How to get best results from FreeBSD-questions

2004-06-25 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the "newcomers"), and also those who answer the
questions (the "hackers").

   Note that the term "hacker" has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is "cracker", but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to "[EMAIL PROTECTED]" with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey <[EMAIL PROTECTED]>

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send "how to" questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies l

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]"


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]"


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]"


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]"


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


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: 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: 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: 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'71"W 42°19'42"N
___
[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 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 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]"


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: 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]"


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]"


[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: 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]"


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]"


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]"


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=exact&Acronym=timtowtdi&Find=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]"


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  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=8843 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=0x383f9ff
...
fxp0:  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:  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:  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:  at device 13.0 on pci0
pci2:  on pcib2
pcib3:  at device 15.0 on pci2
pci3:  on pcib3
fxp3:  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:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp4:  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:  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]"


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: 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=exact&Acronym=timtowtdi&Find=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]"


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 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]"


3Com Card

2004-06-25 Thread Pedro G. Jaime
 
 
    

 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    

 

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


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]"


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


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: 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
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: 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 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 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 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: 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: 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: 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 (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 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


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]"


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]"


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]"


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]"


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: 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]"


  1   2   >