Re: pcm isn't working using 4.8

2003-06-29 Thread Michael
OK, I figured it out guys/gals so no one needs to respond to my request.

For some reason the symbolics didn't get connected when building 4.8.

I'm not sure exactly why this is occuring with 4.8 (a bug maybe?), but 
suffice it to say, all that was needed was to:

#cd /dev
#sh MAKEDEV snd0
All is well now.

Thanks again,

Michael

Michael wrote:

Hello everyone,

Is there anyone here on this list that can tell me what I need to do to
get pcm sound working using 4.8 Release?
This use to work properly on 4.7 Release but for some unknown reason (at
least to me anyway) upon building 4.8, pcm sound is no longer working.
I've built a custom kernel and added device pcm, which has always
provided me sound for KDE.
I have no sound whatsoever using KDE windows manager with 4.8 however.
I take that back, I have one thing that works (I can't tell you why
though) KsCD seems to know how to allow sound through through my
speakers when playing a music CD, beyond that, sound is non existant.
Here is my setup:

Dell Precision 530 2.2 Ghz
1 Gig of RAM
No sound card. (only the built in sound on the motherboard)
I get the following message when logging into KDE which usually has
disappeared after building a new kernel with 'device pcm' enabled.
Sound Server informational message:

Error while initializing the sound driver:

device /dev/dsp can't be opened (Device busy)

The sound server will continue, using the null output device.

Can anyone please tell me how to correct this problem?

If you can, please send me a mail directly if you know what's causing
this or how I can correct it. I'm not a member of this list, so I'd
greatly appreciate it. My e-mail is [EMAIL PROTECTED]
Thanks a lot,

--
Michael
Oregon Real Estate Solutions LLC
http://www.realestatesllc.com/
Need To Sell A Home Call:
503-345-WINN (9466)
Need To Buy or Rent To Own A Home Call:
503-345-WINS (9467)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2003-06-08 - 2003-06-28

2003-06-29 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: hard disk error , run fsck manually

2003-06-29 Thread manee
hi sirs,

thanks for your time indeed.

--- David Wolfskill [EMAIL PROTECTED] wrote:
 Reboot your system.
 
 During the 10-second spinning propeller
 count-down, press the space
 bar once.  You should see the prompt
 
 boot
 
 
 At that point, type
 
   boot -s
 
 and press Enter.  This will enable you to boot
 into single-user mode.
 
 The machine should show the usual device probes, but
 instead of mounting
 filesystems and starting daemons, you will get a
 prompt like:
 
 Enter full pathname of shell or RETURN for /bin/sh: 
 
 
 At that point, press Enter.  The prompt should
 read
 
 # 
 
 This means that you are in single-user mode; you are
 running as root.
 
 At this point, I would (first) try
 
   fsck -p  reboot
 
 That is, do the fsck in preen mode; if that
 works OK, just reboot.
 If that does not automatically reboot, you have
 problems that fsck -p
 cannot fix easily.  In that case, try

as  expected, i need to run fsck

 
   fsck
 
 and answer the questions as best you can.  If you
 are (finally!) able
 to get through that OK, try


i got , after running fsck -p

THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED
INCONSISTENCY:

   /dev/ad0s2g (/home)

so that i ran fsck and the following messages come

Phase 1
ad0s2g: hard error reading fsbn 98971950 of
21364912-21365023( ad0s2 nb 98971950; cn 6160 tn 183
sn 21) status=59 error=40;

CAN NOT READ: BLK 21364912
continue? [yn]

i had to hit y and a few messages simila to the above
popped up and before Phase 2 started, i got

FILE SYSTEM STILL DIRTY
PLEASE RERUN fsck MANULLY.

at this ponit i had to edit /etc/fstab and put /home
as read only in order to bring system up and running.

   reboot
 
 and see how far you ge.
 
 Peace,
 david
 -- 
 David H. Wolfskill[EMAIL PROTECTED]
 Based on what I have seen to date, the use of
 Microsoft products is not
 consistent with reliability.  I recommend FreeBSD
 for reliable systems.

once again please cc to me

with best regards,


=
ÁÒ¹Õ
http://www.thai-aec.org

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


setting up ports mirror

2003-06-29 Thread Rus Foster
Hi All,
Looking for the voice of expierence. What is the best way of setting up a
local ports mirror? Any particular programs or fancy scripts?

Trying to above nvftp -r ftp://ftp.freebsd.org/

Thanks

Rus

--
www: http://www.65535.net   | Hosting - Shell Accounts
MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | 10% Donation on every FreeBSD product
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's this mean?

2003-06-29 Thread budsz
On Sat, Jun 28, 2003 at 02:36:28PM -0400, Bill Moran wrote:
in_chksum is a routine that validates the checksum of recieved network data.
As far as I can tell from the code, that error means that the packet of data
was three bytes shorter than it should have been.  One way or the other it's
a network problem.  Could be crappy NIC or other hardware.  Could be some 
sort
of attack using invalid packets.  I'm not familiar enough with that corner 
of
the code to say for sure.
Is this happening frequently?  If you only saw the message once, you can
probably ignore it as a network glitch, but if it's showing up often, you'd
do well to track down the source and fix it.

Thanks Bill for explanation. I assume if I under attack with invalid
packet of data maybe you've any advice to prevent this problem?.

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


Re: cvsup tag for 4.8-STABLE?

2003-06-29 Thread Matthew Seaman
On Sun, Jun 29, 2003 at 12:57:15AM +0200, Frank Reppin wrote:
 On Sat, 28 Jun 2003, Gregory Norman wrote:

  On the same note, will *default release=cvs tag=RELENG_4_8 work to
  update from 4.4 Release to 4.8 Stable?

 yup, it will do the job - involving the required commands
 ofcourse (buildworld, buildkernel, installkernel and so on).
 Read through /usr/src/UPDATING if any special requirements
 have to be satisfied before)

Errr... tag=RELENG_4_8 will get you 4.8-RELEASE.  If you want
4.8-STABLE, use tag=RELENG_4

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


cdrom-drive opens @ will

2003-06-29 Thread Marko Leer
Hi all,

I'm running this 1U server with a cd-RW-rom-drive.
Every now and then the drive opens. Unfortunately it's a laptop
sort of drive because it's in a 1U server, so it won't close by
itself.

I was wondering if there's any standard proces running on FreeBSD that
opens it; I haven't monitored it's behaviour closely because I don't
have permanent access to the box.

There's no -eject option in any of my cdrecord cmds.

I'm running FreeBSD 4.8 with a cd0: Slimtype COMBO LSC-24081M 3M35
Removable CD-ROM SCSI-0 device. McAfee is installed (for MailScanner).

I suppose it should be possible to lock the drive; the supportteam at
CW where the box is hosted are getting a bit annoyed [they're
considering superglue at this point].

Any suggestions as to why it opens and how this could be prevented
[other than the Cable and Wireless-solution =:0] greatly appreciated!

Cheers,

Marko

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


crontab : exec, permission denied

2003-06-29 Thread ico
I added to /etc/crontab this line:

*/5 *   *   *   *   user1/usr/local/bin/getmail \
-r /usr/home/user1/.getmail/getmailrc


I wanted getmail to pick-up mail for user user1. Result is error:
exec: :permission denied

$ls -l /usr/local/bin/getmail
r-xr-xr-x  1 root  wheel  328 Jun 22 07:41 /usr/local/bin/getmail*

I also tried to create user1's crontab ( su user1; crontab -e ) . Result is the
same. What's wrong?

-- 
*ico beke*
ico(at)beke.info

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


solvde - Re: IP aliases not working...Any ideas welcome!

2003-06-29 Thread Keith Spencer
Someone said I only look stupid...but hey maybe that's
why I am stupid! OOPS! I goofed again. Thanks and
sorry
Keith
 

--- Kevin Stevens [EMAIL PROTECTED]
wrote:  
 On Saturday, Jun 28, 2003, at 21:00 US/Pacific,
 Keith Spencer wrote:
 
  Hi all,
  I seek to add 30 or so aliases to an extrenal NIC
  But a ping and and ifconfig -a
  only shows the first 2 IPs bound to the NIC the
 rest
  of the 210.15.203.xxx ips are ignored...
  I am sure it is something obvious but what?
  Thanks
  Keith
 
 The correct netmask for a second alias within a
 subnet is 
 255.255.255.255.  I don't make the news, I just
 report it.
 
 KeS
 
 ___
 [EMAIL PROTECTED] mailing list

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

http://mobile.yahoo.com.au - Yahoo! Mobile
- Check  compose your email via SMS on your Telstra or Vodafone mobile.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting up ports mirror

2003-06-29 Thread Matthew Seaman
On Sun, Jun 29, 2003 at 08:22:44AM +0100, Rus Foster wrote:
 Hi All,
 Looking for the voice of expierence. What is the best way of setting up a
 local ports mirror? Any particular programs or fancy scripts?
 
 Trying to above nvftp -r ftp://ftp.freebsd.org/

Do you mean ports or packages?  ports is the directory tree of
Makefiles etc. that you can use to download, compile and install
getting on for 9000 different freely available software packages.
packages is the pre-compiled result of doing that for about 8000 of
those ports (the rest either have licensing restrictions that mean
they can't be released that way, or there's some other problem with
the port or it's dependencies that prevents it being automatically
built).

The ports tree is currently about 137Mb. packages will be several Gb
--- certainly more than fits on two CD Roms.

You can maintain an up-to-date copy of ports on your machine using
cvsup(1) -- look at /usr/share/examples/cvsup/ports-supfile for
inspiration. (And beware the classic pitfall: you can't use tags like
'tag=RELENG_4' with ports as you would for the system sources --
'tag=.'  is the only viable option.)

If you're really after maintaining a copy of large chunks of the
FreeBSD ftp site, then you need read and follow the instructions in

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/index.html

and you'll probably want to join the [EMAIL PROTECTED] mailing
list.  You won't be permitted to mirror directly from
[EMAIL PROTECTED], but you should be able to come to an
arrangement with the admins of a FreeBSD mirror closer to you.

OTOH ftp.uk.freebsd.org and ftp2.uk.freebsd.org are both
well-connected, fast sites. (ftp2.uk.freebsd.org is an alias for the
UK Academic Mirror Service -- http://www.mirror.ac.uk/ which is a huge
service, mirroring just about everything you ever heard of on a
cluster of at least 9 machines spread over sites at the University of
Lancaster and the University of Kent.  Start with
http://www.mirror.ac.uk/sites/ftp.freebsd.org/pub/FreeBSD/%5Bpeek%5D )

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: NVIDIA, GEForce4, TV-OUT.

2003-06-29 Thread Nakal
On Sunday 29 June 2003 00:07, Joachim Dagerot wrote:

 Has anyone one been lucky trying to get the tv-out on a geForce4 card
 working with the nvidia card?

Yes.

 I'm running latest 5.1 of freeBSD and could need some samples from
 the X86Free config file on how to get the TV-out working.

I will paste the important sections here, but remember that I am using 
the nvidia driver and not the unaccelarated nv driver (because I 
like to play Unreal Tournament) :)

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option DigitalVibrance   # i
#Option PageFlip  # [bool]
#Option Dac8Bit   # [bool]
Option NoLogo True  # [bool]
Option Overlay True # [bool]
#Option UBB   # [bool]
#Option Stereo# i
#Option WindowFlip# [bool]
#Option SWcursor  # [bool]
Option HWcursor True# [bool]
#Option VideoKey  # i
#Option NvAGP # i
#Option PixmapCacheLines  # i
Option IgnoreEDID Yes   # [bool]
#Option NoDDC # [bool]
Option ConnectedMonitor Monitor,TV  # str
#Option ConnectedMonitors Monitor,TV# str
Option TVStandard PAL-G # str
Option TVOutFormat SVIDEO   # str
#Option NoRenderAccel # [bool]
Option CursorShadow True# [bool]
#Option CursorShadowAlpha # i
#Option CursorShadowXOffset   # i
#Option CursorShadowYOffset   # i
Option UseEdidFreqs False   # [bool]
#Option FlatPanelProperties   # str
Option TwinView Yes# [bool]
Option TwinViewOrientation Clone # str
Option SecondMonitorHorizSync 30-50 # str
Option SecondMonitorVertRefresh 60  # str
Option MetaModes 800x600,800x600;640x480,640x480 # str
#Option UseInt10Module# [bool]
#Option SwapReady # [bool]
#Option NoTwinViewXineramaInfo# [bool]
#Option NoRenderExtension # [bool]
#Option UseClipIDs# [bool]
Identifier  Card0
Driver  nvidia
VendorName  nVidia Corporation
BoardName   NV25 [GeForce4 Ti 4200]
#BusID   PCI:1:0:0
EndSection

This should enable TV output for Germany, when using the S-Video cable. 
If you need TV settings from another coutries try googling for them 
(enter: TVStandard TVOutFormat nvidia).

Martin

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


WIN2000 FreeBSD

2003-06-29 Thread Alex Zivenko
How can I install WIN2000 and FreeBSD on one machine. The reason is in this: the 
FreeBSD loader cannot see WIN2000 fs, and WIN 2000 loader can't see FreEBSD fs. If you 
can, send me your reply in russian :)

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


Re: WIN2000 FreeBSD

2003-06-29 Thread Quinn Ellis
At 11:06 PM 28/06/2003 +0400, you wrote:
How can I install WIN2000 and FreeBSD on one machine. The reason is in 
this: the FreeBSD loader cannot see WIN2000 fs, and WIN 2000 loader can't 
see FreEBSD fs. If you can, send me your reply in russian :)
Firstly, freebsd can see NTFS, but not write to it.

You need to partition up your hard drive, 1 for windows, and several for 
FreeBSD (Read more in the Handbook).

I have them on two seperate hard disks, and use the 'gag' bootloader on my 
primary drive, with windows 2000, which will reconises both partitions and 
loads the appropriate one.

Q. 

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


Re: WIN2000 FreeBSD

2003-06-29 Thread P. U. Kruppa
On Sun, 29 Jun 2003, Quinn Ellis wrote:

 At 11:06 PM 28/06/2003 +0400, you wrote:
 How can I install WIN2000 and FreeBSD on one machine. The reason is in
 this: the FreeBSD loader cannot see WIN2000 fs, and WIN 2000 loader can't
 see FreEBSD fs. If you can, send me your reply in russian :)

 Firstly, freebsd can see NTFS, but not write to it.

 You need to partition up your hard drive, 1 for windows, and several for
 FreeBSD (Read more in the Handbook).

 I have them on two seperate hard disks, and use the 'gag' bootloader on my
 primary drive, with windows 2000, which will reconises both partitions and
 loads the appropriate one.
FreeBSD's bootmanager can boot both win2000 and FreeBSD.
You only have to install in on the master boot record (MBR) - the
installation menu will ask for it.

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]


NFS mount problem - can't get net id for host

2003-06-29 Thread Rod Person
I'm trying to setup a nfs share on my server. I'm trying to connect from
a laptop to that share. The laptops ip address is assigned via dhcp.

I try to connect to the share with the command
mount -v servername:/mountpoint /mnt

and get the error: nfs: can't get net id for host

/etc/exports

/data_drive/public  -alldirs

/etc/hosts.allow I have even added

portmap : ALL : allow

in attempt to mount the share, but I still get this error.

Any hints or tips?

-- 
Rod

@home therefore no cool signature


Home Of Open Source Beef
http://opensourcebeef.bsd.st/index.html

FreeBSD User since 1999

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


cvsupd : TreeComp failed: Network write failure: Connection closed

2003-06-29 Thread Dan Langille
I am seeing this message frequently in /var/log/cvsupd.log:

Jun 14 00:10:10 cvsup cvsupd[60286]: +801 [EMAIL PROTECTED] 
[SNAP_16_1e/17.0]
Jun 14 00:24:44 cvsup cvsupd[60286]: =801 [2968Kin+1243Kout] src-
all/cvs
cvsup cvsupd[60286]: -801 [2968Kin+1243Kout] TreeComp failed: Network 
write failure: Connection closed

It does not occur on all client connection, but regularly enough for 
me to be concerned.  Any idea?
-- 
Dan Langille : http://www.langille.org/

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


Re: NFS mount problem - can't get net id for host

2003-06-29 Thread Matthew Seaman
On Sun, Jun 29, 2003 at 08:22:53AM -0400, Rod Person wrote:
 I'm trying to setup a nfs share on my server. I'm trying to connect from
 a laptop to that share. The laptops ip address is assigned via dhcp.
 
 I try to connect to the share with the command
 mount -v servername:/mountpoint /mnt
 
 and get the error: nfs: can't get net id for host

This error occurs when mount_nfs(8) has attempted to look up your
server's hostname and resolve it into one or more IP numbers first via
inet_addr(3) and failing that then via gethostbyname(3), and still
hasn't managed to get an IP number.

Try putting the hostname and IP number of your server into /etc/hosts
on your client machine, or configure your client machine to use a DNS
machine that knows about your server.

Cheers,

Matthew


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


pgp0.pgp
Description: PGP signature


remote X on 5.1-RELEASE

2003-06-29 Thread Terry Todd

How do you get remote X to work with 5.1-RELEASE?

Here is an attempt with some fields blanked out.

$ xhost +
access control disabled, clients can connect from any host
$ telnet __
Trying ___.___.__.___...


[EMAIL PROTECTED] xterm
_X11TransSocketINETConnect: Can't connect: errno = 61
_X11TransSocketINETConnect: Can't connect: errno = 61
_X11TransSocketINETConnect: Can't connect: errno = 61
_X11TransSocketINETConnect: Can't connect: errno = 61
_X11TransSocketINETConnect: Can't connect: errno = 61
_X11TransSocketINETConnect: Can't connect: errno = 61
xterm Xt error: Can't open display: __.__.___:0.0
[EMAIL PROTECTED] 

The errno man page says errno 61 is connection refused.  There is no
firewall or anything on the laptop running 5.1-RELEASE on a local subnet.
It is a fairly generic install except I had to recompile with OLDCARD.

TIA
Terry Todd

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


Silly KDE question

2003-06-29 Thread Matthew Ryan
Hi there,

I recently installed XWindows and KDE.

In a fit of enthusiasm I set about playing with, and heavily 
customising my new desktop environment whilst still logged on as Root 
(DOH!)

In order to save personalising KDE again: -

Can I copy the .kderc and .kde files from one home directory to another?
Are there any other files I will need to copy.
Or do I have to start over.
Thanks

Matthew Ryan

[EMAIL PROTECTED]

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


Re: What's this mean?

2003-06-29 Thread Bill Moran
budsz wrote:
On Sat, Jun 28, 2003 at 02:36:28PM -0400, Bill Moran wrote:

in_chksum is a routine that validates the checksum of recieved network data.
As far as I can tell from the code, that error means that the packet of data
was three bytes shorter than it should have been.  One way or the other it's
a network problem.  Could be crappy NIC or other hardware.  Could be some 
sort
of attack using invalid packets.  I'm not familiar enough with that corner 
of
the code to say for sure.
Is this happening frequently?  If you only saw the message once, you can
probably ignore it as a network glitch, but if it's showing up often, you'd
do well to track down the source and fix it.
Thanks Bill for explanation. I assume if I under attack with invalid
packet of data maybe you've any advice to prevent this problem?.
I'm guessing the problem is continuous.

Start monitoring your network traffic with tcpdump or ethereal or whatever
seems easiest for you.  Search the Internet for information on short packet
attacks or anything else that seems to be similar to your problem.  Lock
down your firewall rules in general.
As I said before, I'm not expert enough to give you any specific advice on
this particular issue, but standard security techniques still apply.
--
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: What's this mean?

2003-06-29 Thread budsz
On Sun, Jun 29, 2003 at 09:58:25AM -0400, Bill Moran wrote:
I'm guessing the problem is continuous.

Start monitoring your network traffic with tcpdump or ethereal or whatever
seems easiest for you.  Search the Internet for information on short packet
attacks or anything else that seems to be similar to your problem.  Lock
down your firewall rules in general.

As I said before, I'm not expert enough to give you any specific advice on
this particular issue, but standard security techniques still apply.

OK, this's clear Bill, I think this's like hardware error. I was check
it, the kernel's message has repeat only four times. I don't know in the
next time. Thanks for your reply. 

-- 
budsz


pgp0.pgp
Description: PGP signature


Re: cvsup tag for 4.8-STABLE?

2003-06-29 Thread Lowell Gilbert
Matthew Seaman [EMAIL PROTECTED] writes:

 On Sun, Jun 29, 2003 at 12:57:15AM +0200, Frank Reppin wrote:
  On Sat, 28 Jun 2003, Gregory Norman wrote:
 
   On the same note, will *default release=cvs tag=RELENG_4_8 work to
   update from 4.4 Release to 4.8 Stable?
 
  yup, it will do the job - involving the required commands
  ofcourse (buildworld, buildkernel, installkernel and so on).
  Read through /usr/src/UPDATING if any special requirements
  have to be satisfied before)
 
 Errr... tag=RELENG_4_8 will get you 4.8-RELEASE.  If you want
 4.8-STABLE, use tag=RELENG_4

Not quite.

To quote the handbook:

   RELENG_4_8

   The release branch for FreeBSD-4.8, used only for security
   advisories and other seriously critical fixes.

and 

   RELENG_4_8_0_RELEASE

   FreeBSD 4.8

[i.e., the latter is the actual release, and the former is the
release branch, which continues to get updated -- but only for
essential changes -- after the actual release.]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Silly KDE question

2003-06-29 Thread Rod Person
On Sun, 29 Jun 2003 14:54:02 +0100
Matthew Ryan [EMAIL PROTECTED] wrote:
 Can I copy the .kderc and .kde files from one home directory to
 another? Are there any other files I will need to copy.
 Or do I have to start over.

You can most likely do this. I've done similar things. You'll need to
chown the all files to the user your copying them too. I have KDE 3.1
and there is .kde2 that you may need.

-- 
Rod

Home Of Open Source Beef
http://opensourcebeef.bsd.st/osb/Index.html

FreeBSD User since 1999

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


NFS - Problem 2 today, NFSPROC_NULL error

2003-06-29 Thread Rod Person
ok,

when trying to make a nfs connect to the server, I get the following
error.

NFSPROC_NULL: RPC: Unable to receive; errno = Connection refused

Nothing is written in /var/messages on the server. So I'm not sure what
to do.

I tried starting nfsiod on the client and still the same error. I'm
assuming this is a client problem and not a server problem.

Googling this error return nothing of use. So I'm stuck at what to look
at now.

The Client is a FreeBSD 4.8-stable laptop and the Server is 4.7.


-- 
Rod

@home therefore no cool signature


Home Of Open Source Beef
http://opensourcebeef.bsd.st/index.html

FreeBSD User since 1999

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


Stability problems (bktr).

2003-06-29 Thread Zeo Smeijsters
Hi all,

My /dev/bktr device is not working stable, sometimes it works fine but most 
of the time I receive this message

dmesg:

pci0: multimedia, video at device 6.0 (no driver attached)
pci0: multimedia at device 6.1 (no driver attached)
Other times it's :

bktr0: BrookTree 878 at device 10.0 on pci0
bktr0: could not map memory
device_probe_and_attach: bktr0 attach returned 6
Again other times my unit fezes during the kernel load (not execute, 
directly after the countdown).

Exceptional everything works fine and I have to run XFree86 and FXTV 
directly after boot to initialize the card for stable performance like 
described in http://www.freebsd.org/cgi/query-pr.cgi?pr=48279

My kernel add for this device:

# Hauppage WinTV/PCI Add by Zeo 25/06/2003
device  bktr
device  iicbus
device  iicbb
device  smbus
My system board is a MSI-KT3Ultra2-R attached the output from dmesg in a 
txt file with latest BIOS flashed in the memory.
Try a other PCI slot and setting the IRQ to 11 in the BIOS, but this didn't 
solved the issue.
I'm using FreeBSD 5.0-RELEASE.

More info on my system are on http://www.zaleo.homeunix.net/ (phpSysInfo).

I need to have this card running for testing/debugging the new version of 
the bktr2jpeg-2.0a9 tool under FreeBSD. (the release version will have a 
other name because more devices are sported). A very nice demon to capture 
your webcam and host it with a built in http demon. 
http://core.de/~coto/projects/bktr2jpeg/

Thanks for reading this mail, hoping on a hind about how to solve this issue.
Kind regards, Zeo Smeijsters.Copyright (c) 1992-2003 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 5.0-RELEASE #2: Sun Jun 29 17:19:06 CEST 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/ZALEO
Preloaded elf kernel /boot/kernel/kernel at 0xc0761000.
Preloaded elf module /boot/kernel/splash_bmp.ko at 0xc07610a8.
Preloaded elf module /boot/kernel/vesa.ko at 0xc0761158.
Preloaded splash_image_data /boot/splash.bmp at 0xc0761204.
Preloaded elf module /boot/kernel/linux.ko at 0xc0761254.
Preloaded elf module /boot/kernel/nvidia.ko at 0xc0761300.
Preloaded elf module /boot/kernel/acpi.ko at 0xc07613ac.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1733404364 Hz
CPU: AMD Athlon(tm) XP 2100+ (1733.40-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc040AMIE,DSP,3DNow!
real memory  = 536805376 (511 MB)
avail memory = 513916928 (490 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0584c22 (122)
VESA: NVidia
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: AMIINT VIA_K7   on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 11 entries at 0xc00f7f20
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA Generic host to PCI bridge mem 0xe000-0xe3ff at device 0.0 on pci0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
nvidia0: GeForce2 Ti mem 0xd000-0xd7ff,0xde00-0xdeff irq 11 at 
device 0.0 on pci1
pcm0: Creative EMU10K1 port 0xd400-0xd41f irq 11 at device 5.0 on pci0
pci0: multimedia, video at device 6.0 (no driver attached)
pci0: multimedia at device 6.1 (no driver attached)
xl0: 3Com 3c905C-TX Fast Etherlink XL port 0xd000-0xd07f mem 0xdfff7f80-0xdfff7fff 
irq 5 at device 7.0 on pci0
xl0: Ethernet address: 00:04:75:98:d6:bd
miibus0: MII bus on xl0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: RealTek 8139 10/100BaseTX port 0xcc00-0xccff mem 0xdfff7e00-0xdfff7eff irq 10 
at device 8.0 on pci0
rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
rl0: Ethernet address: 00:48:54:56:9b:fa
miibus1: MII bus on rl0
rlphy0: RealTek internal media interface on miibus1
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci0: Promise TX2 ATA133 controller port 
0xd800-0xd80f,0xdc00-0xdc03,0xe000-0xe007,0xe400-0xe403,0xe800-0xe807 mem 
0xdfffc000-0xdfff irq 10 at device 12.0 on pci0
ata2: at 0xe800 on atapci0
ata3: at 0xe000 on atapci0
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
atapci1: VIA 8235 ATA133 controller port 0xfc00-0xfc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
acpi_button1: Sleep Button on acpi0
fdc0: cmd 3 failed at out byte 1 of 3

Deleting Symlink

2003-06-29 Thread Bryan Cassidy
Hello everyone. I'm using FreeBSD 5.1 and I am trying to delete a symlink from one 
file to another

(/usr/local/www/data to data-dist and /usr/local/www/cgi-bin to cgi-bin-dist)

I was told when I use portupgrade it will delete my files If I don't delete the 
symlinks so could
someone help me out here
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Silly KDE question

2003-06-29 Thread dick hoogendijk
On 29 Jun Rod Person wrote:
 On Sun, 29 Jun 2003 14:54:02 +0100
 Matthew Ryan [EMAIL PROTECTED] wrote:
  Can I copy the .kderc and .kde files from one home directory to
  another? Are there any other files I will need to copy.
  Or do I have to start over.
 
 You can most likely do this. I've done similar things. You'll need to
 chown the all files to the user your copying them too. I have KDE 3.1
 and there is .kde2 that you may need.

Furthermore, you _have_ to check these files for personal settings. Some
of the rc files store paths (/root ; /home/user) Kmail i.e.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Deleting Symlink

2003-06-29 Thread Adam
On Sun, 2003-06-29 at 12:15, Bryan Cassidy wrote:
 Hello everyone. I'm using FreeBSD 5.1 and I am trying to delete a symlink from one 
 file to another
 
 (/usr/local/www/data to data-dist and /usr/local/www/cgi-bin to cgi-bin-dist)
 
 I was told when I use portupgrade it will delete my files If I don't delete the 
 symlinks so could
 someone help me out here

I've never heard of it DELETING files, but I have heard of it changing
permissions, and occasionally failing (eg, if there files/folders with
spaces in the name).

Anyhow, removing a symlink is just like removing a file (with rm). You
can restore the symlink later, if necessary, using 'ln -s'

man 1 rm
man 1 ln

-- 
Adam [EMAIL PROTECTED]

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


Spanish KDE

2003-06-29 Thread Monah Baki
Hi all,

I'm running kde 3.1 (english verion) on my FreeBSD 4.8. I would like to test the 
spanish version of KDE. I downloaded from kde the 11MB file kde-i18n-es.
Configure runs with no error, however make starts generating these error:

/usr/local/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
*** Error code 1

Stop in /home/user/kde-il8n-030628/es/docs/kdenonbeta/kgeo
*** Error code 1

Stop in /home/user/kde-il8n-030628/es/docs/kdenonbeta
***

then a lot of error messages:

index.docbook:81: validity error: no declaration for element para

index.docbook:90: error: entity 'kgeo' not defined

index.docbook: error: validity error: no declaration for element mail


I get tons of the following error message.


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


Re: cvsupd : TreeComp failed: Network write failure: Connectionclosed

2003-06-29 Thread Christian Weisgerber
Dan Langille [EMAIL PROTECTED] wrote:

 cvsup cvsupd[60286]: -801 [2968Kin+1243Kout] TreeComp failed: Network 
 write failure: Connection closed

At face value, this means that the network connection failed (which
then causes the tree comparison layer to abort).  You probably need
to talk to the client users to learn what the situation looked like
at their end.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]

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


aoi (Art of Illusion)

2003-06-29 Thread P. U. Kruppa
Hi!

I tried the aoi port. Construction of 3D-Objects works nicely,
but I have problems rendering textures.
Uniform seems to be ok, but I don't get any Procedural 3D .

Do I have to read more manuals or is this a problem with the
FreeBSD port?

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]


mount_msdos /dev/da0s1 /mnt/usb -dev not configured

2003-06-29 Thread Lars
Hi all,

Hardware:
IBM TP R40;
SONY 256 MB USB2 Microvault
(works flawlessly on other sytems and on same system under WinXP);

OS is FBSD 4.8;

Kernel:
device  scbus
device  da
device  uhci
device  ohci
device  usb
device  ugen
device  uhid
device  umass
are enabled;

/var/run/dmesg.boot:
uhci0: Intel 82801DB (ICH4) USB Controller USB-A port ...
well, it get's recognised;

I noticed that all PCI and USB hardware is on IRQ 11, 
may that be the cause?

So, dear list, what am I doing wrong?

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


Re: mount_msdos /dev/da0s1 /mnt/usb -dev not configured

2003-06-29 Thread Gary Jennejohn

Lars writes:
 I noticed that all PCI and USB hardware is on IRQ 11, 
 may that be the cause?
 

I don't think it should matter. At least the USB devices have an IRQ.

 So, dear list, what am I doing wrong?
 

What does the kernel emit when you plug it in? My kernel emits the
following whne I plug in my Archos Jukebox Recorder:

Jun 29 20:03:54 peedub kernel: umass0: ARCHOS ARCHOS USB2.0 (P4a), rev 2.00/11.01, 
addr 2
Jun 29 20:03:54 peedub kernel: umass0: SCSI over Bulk-Only; quirks = 0x
Jun 29 20:03:54 peedub kernel: umass0:2:0:-1: Attached to scbus2
Jun 29 20:04:04 peedub kernel: umass0: BBB reset failed, TIMEOUT
Jun 29 20:04:07 peedub kernel: da5 at umass-sim0 bus 0 target 0 lun 0
Jun 29 20:04:07 peedub kernel: da5: IC25N040 ATCS05-0 CS4O Fixed Direct Access 
SCSI-0 device 
Jun 29 20:04:07 peedub kernel: da5: 1.000MB/s transfers
Jun 29 20:04:07 peedub kernel: da5: 38154MB (78140160 512 byte sectors: 255H 63S/T 
4864C)

And this, when I plug in my USB stick:

Jun 29 20:53:33 peedub kernel: umass0: USB Solid state disk, rev 1.10/1.00, addr 2
Jun 29 20:53:33 peedub kernel: umass0: SCSI over Bulk-Only; quirks = 0x
Jun 29 20:53:33 peedub kernel: umass0:2:0:-1: Attached to scbus2
Jun 29 20:53:34 peedub kernel: da5 at umass-sim0 bus 0 target 0 lun 0
Jun 29 20:53:34 peedub kernel: da5: JetFlash 64MB 1.11 Removable Direct Access 
SCSI-2 device 
Jun 29 20:53:34 peedub kernel: da5: 1.000MB/s transfers
Jun 29 20:53:34 peedub kernel: da5: 63MB (129024 512 byte sectors: 64H 32S/T 63C)

---
Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de

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


Re: WIN2000 FreeBSD

2003-06-29 Thread Jerry McAllister
Hi, 

Just a point of clarification here before it causes more confusion.

 On Sun, 29 Jun 2003, Quinn Ellis wrote:
 
  At 11:06 PM 28/06/2003 +0400, you wrote:
  How can I install WIN2000 and FreeBSD on one machine. The reason is in
  this: the FreeBSD loader cannot see WIN2000 fs, and WIN 2000 loader can't
  see FreEBSD fs. If you can, send me your reply in russian :)
 
  Firstly, freebsd can see NTFS, but not write to it.
 
  You need to partition up your hard drive, 1 for windows, and several for
  FreeBSD (Read more in the Handbook).

Here there seems to be some confusion on the use of the word partition.
FreeBSD uses the term slice to mean the major division of the disk
that Microsloth uses the term partition for.   You need only two of
these slices (MS partitions) - one for Windows and one for FreeBSD
although you can have as many as 4.   Those slices are identified in
FreeBSD land as s1..s4 (ad0s1..ad0s4 for IDE disk one for example) and
as a letter drive in the MS netherworld (typically drive c, d, etc)
These major divisions called slices are created by fdisk.

Then, you further divide the FreeBSD slice in to partitions using disklabel
which are named a..h.FreeBSD calls these sub divisions 'partitions'.
You create filesystems on these FreeBSD partitions and mount them.  
There are conventions and expectations for some of these.  Usually 'a' is
used for the root (/) file system, 'b' is used for swap, 'c' us unused
and set up to refer to the whole slice by a few things, 'd' seems to be 
unused, but I don't know the reason.  The remainder (e-h) have any use
although often 'e' is used for /tmp 'f' is often used for /usr or /var
or sometimes /home depending on how you choose to spread out and manage
your disk space.  

Often second and and subsequent extra disks are assigned to one whole
use and in that case it is common to use either 'a' or 'e' or 'f' to
be its name.  Some times a chunk of each extra disk is used to add to
swap space and typically the name 'b' is used for each of those regardless
of which other letter names are used for the rest of the disk.

So, for example, if you have a machine with 3 IDE disks, split the first
to be boot disks for MSwin and FreeBSD, dedicate the second to MSwin and
use the third to add to swap and work space, you might have disks addressed
as follows:   (Size choices are up to you, but remember, you always want more)

 ad0s2a  mounted as /(eg root)
 ad0s2b  swap
 ad0s2c  a comment describing the whole ad0s2 slice
 ad0s2e  mounted as /tmp
 ad0s2f  mounted as /usr
 ad0s2g  mounted as /var
 ad0s2h  mounted as /home

 ad2s1b  swap
 ad2s1f  mounted as /work
 
 ad1s1   cal also be msdos mounted as something if you like.

Note:  You will need to install the boot loader on each disk that will have
bootable systems on it.In this example, that is only ad0.   And you will 
need to put a Master Boot Record on the first boot disk (from the BIOS point
of view) - ad0 in this example.  If you choose to make all of the first
disk (ad0) be dedicated to MSwin and the second disk (ad1) dedicated to
FreeBSD, for example, you would need to write a boot loader on both ad0 
and ad1 and the FreeBSD MBR on the first disk (ad0) even though you don't
put any other FreeBSD stuff on that disk.  That is because the BIOS starts
with that first disk to figure out how to boot and then the MBR takes over
from there.   And, at least up to WinXP the Microsloth MBRs could not boot
a UNIX OS - but FreeBSD could do either.   I have heard tell that now the
MBR that comes with XP can do both, but haven't tried it.

Although the descriptions of fdisk and disklabel in the man pages can
at first be rather confusing, after a while they begin to make sense and
are relatively easy to use.

But, you can also use the sysinstall, either from an install CD or
by invoking /stand/sysinstall and it will also do all your calculations
for you in a minimal GUI interface.   Sysinstall will also make it write
the boot loader and MBR if you want.

MS doesn't have anything exactly the same as those sub-partition divisions 
of the slice (tho it does have something else vaguely similar called an 
extended partition that is not compatible).

So, this was a bigger comment than I had planned, but we seem to go over
and over this same confusion so often.

Sorry for no Russion.  I took it about 39 years ago, but remember
almost none.

jerry

 
  I have them on two seperate hard disks, and use the 'gag' bootloader on my
  primary drive, with windows 2000, which will reconises both partitions and
  loads the appropriate one.
 FreeBSD's bootmanager can boot both win2000 and FreeBSD.
 You only have to install in on the master boot record (MBR) - the
 installation menu will ask for it.
 
 Uli.
 +---+
 |Peter Ulrich Kruppa|
 |  -  

Re: cdrom-drive opens @ will

2003-06-29 Thread Shantanu Mahajan
+-- Marko Leer [freebsd] [29-06-03 09:51 +0200]:
| Hi all,
| 
| I'm running this 1U server with a cd-RW-rom-drive.
| Every now and then the drive opens. Unfortunately it's a laptop
| sort of drive because it's in a 1U server, so it won't close by
| itself.
| 
| I was wondering if there's any standard proces running on FreeBSD that
| opens it; I haven't monitored it's behaviour closely because I don't
| have permanent access to the box.
| 
| There's no -eject option in any of my cdrecord cmds.
| 
| I'm running FreeBSD 4.8 with a cd0: Slimtype COMBO LSC-24081M 3M35
| Removable CD-ROM SCSI-0 device. McAfee is installed (for MailScanner).
| 
| I suppose it should be possible to lock the drive; the supportteam at
| CW where the box is hosted are getting a bit annoyed [they're
| considering superglue at this point].
| 
| Any suggestions as to why it opens and how this could be prevented
| [other than the Cable and Wireless-solution =:0] greatly appreciated!
| 
| Cheers,
| 
| Marko
| 
| 
| --
I had the similar prob. with my Creative IDE CDROM
drive. It was due to improper power supply to CDROM. The
connector attached to CDROM was faulty. I replaced SMPS
and it solved my problem.

Regards,
Shantanu

-- 
Want to see how much virtual memory you're using? Just type swapinfo to
be shown information about the usage of your swap partitions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Serial Line Communications

2003-06-29 Thread Bryan W. Maxwell
Hi guys im back. Well i think i have taken care of the routing and such. I 
setup the local rl0(ethernet card) to 192.168.2.1 and in the hosts file i 
setup a slip-gateway as 192.168.2.2. This allowed me to use the command 
arp -s slip-gateway auto pub. This allowed me to ping the 192.168.2.2 side 
of my slip-gateway which is setup like this. slattach -h -l -s 
19200 /dev/cuaa0   ifconfig 192.168.2.2 192.168.2.3 up This is a serial 
line connection to a pic micro controller. Ive run the TD and RD through an 
oscilloscope and dont seem to be getting anything out of them when i try to 
ping 192.168.2.3. Anyone have some good hardware/software tests i can try. 
I have two computers with bsd so i was thinkin maybe a serial line between 
them, any ideas on how to set that up? Thanks in advance, i know this is a 
huge open question to answer but any help would be much appreciated. Thank 
you.
Bryan

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


attention: quinn ellis :: multiboot help

2003-06-29 Thread Sundar Subramanian
http://geodsoft.com/howto/dualboot/
good tutorial on multiboot systems
regards
~s

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


Re: WIN2000 FreeBSD

2003-06-29 Thread Adam
On Sun, 2003-06-29 at 16:12, Jerry McAllister wrote:
 Here there seems to be some confusion on the use of the word partition.
 FreeBSD uses the term slice to mean the major division of the disk
 that Microsloth uses the term partition for.   You need only two of
 these slices (MS partitions) - one for Windows and one for FreeBSD
 although you can have as many as 4.   Those slices are identified in
 FreeBSD land as s1..s4 (ad0s1..ad0s4 for IDE disk one for example) and
 as a letter drive in the MS netherworld (typically drive c, d, etc)
 These major divisions called slices are created by fdisk.
 
 Then, you further divide the FreeBSD slice in to partitions using disklabel
 which are named a..h.FreeBSD calls these sub divisions 'partitions'.
 You create filesystems on these FreeBSD partitions and mount them.  
 There are conventions and expectations for some of these.  Usually 'a' is
 used for the root (/) file system, 'b' is used for swap, 'c' us unused
 and set up to refer to the whole slice by a few things, 'd' seems to be 
 unused, but I don't know the reason.  The remainder (e-h) have any use
 although often 'e' is used for /tmp 'f' is often used for /usr or /var
 or sometimes /home depending on how you choose to spread out and manage
 your disk space.  
 
 Often second and and subsequent extra disks are assigned to one whole
 use and in that case it is common to use either 'a' or 'e' or 'f' to
 be its name.  Some times a chunk of each extra disk is used to add to
 swap space and typically the name 'b' is used for each of those regardless
 of which other letter names are used for the rest of the disk.
 
 So, for example, if you have a machine with 3 IDE disks, split the first
 to be boot disks for MSwin and FreeBSD, dedicate the second to MSwin and
 use the third to add to swap and work space, you might have disks addressed
 as follows:   (Size choices are up to you, but remember, you always want more)
 
  ad0s2a  mounted as /(eg root)
  ad0s2b  swap
  ad0s2c  a comment describing the whole ad0s2 slice
  ad0s2e  mounted as /tmp
  ad0s2f  mounted as /usr
  ad0s2g  mounted as /var
  ad0s2h  mounted as /home
 
  ad2s1b  swap
  ad2s1f  mounted as /work
  
  ad1s1   cal also be msdos mounted as something if you like.
 
 Note:  You will need to install the boot loader on each disk that will have
 bootable systems on it.In this example, that is only ad0.   And you will 
 need to put a Master Boot Record on the first boot disk (from the BIOS point
 of view) - ad0 in this example.  If you choose to make all of the first
 disk (ad0) be dedicated to MSwin and the second disk (ad1) dedicated to
 FreeBSD, for example, you would need to write a boot loader on both ad0 
 and ad1 and the FreeBSD MBR on the first disk (ad0) even though you don't
 put any other FreeBSD stuff on that disk.  That is because the BIOS starts
 with that first disk to figure out how to boot and then the MBR takes over
 from there.   And, at least up to WinXP the Microsloth MBRs could not boot
 a UNIX OS - but FreeBSD could do either.   I have heard tell that now the
 MBR that comes with XP can do both, but haven't tried it.
 
 Although the descriptions of fdisk and disklabel in the man pages can
 at first be rather confusing, after a while they begin to make sense and
 are relatively easy to use.
 
 But, you can also use the sysinstall, either from an install CD or
 by invoking /stand/sysinstall and it will also do all your calculations
 for you in a minimal GUI interface.   Sysinstall will also make it write
 the boot loader and MBR if you want.
 
 MS doesn't have anything exactly the same as those sub-partition divisions 
 of the slice (tho it does have something else vaguely similar called an 
 extended partition that is not compatible).
 
 So, this was a bigger comment than I had planned, but we seem to go over
 and over this same confusion so often.

Thanks Jerry! This is one of the most informative posts I have seen in a
long time. All newbies should read this post very closely!

-- 
Adam [EMAIL PROTECTED]

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


Re: NFS - Problem 2 today, NFSPROC_NULL error

2003-06-29 Thread Bill Moran
Rod Person wrote:
ok,

when trying to make a nfs connect to the server, I get the following
error.
	NFSPROC_NULL: RPC: Unable to receive; errno = Connection refused

Nothing is written in /var/messages on the server. So I'm not sure what
to do.
I tried starting nfsiod on the client and still the same error. I'm
assuming this is a client problem and not a server problem.
Googling this error return nothing of use. So I'm stuck at what to look
at now.
The Client is a FreeBSD 4.8-stable laptop and the Server is 4.7.
IPFW rules on the server?  Is the /etc/exports file on the server configured
to deny certain hosts?
Try running nmap from the client to see if it sees ports 111, 1022, 1023
open.  If not, it's a packet filter somewhere or the required services aren't
running.
--
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]


[no subject]

2003-06-29 Thread esayer1
FreeBSD-
If i buy a UATA133 Bare Hard Drive, do i have to buy a disk controller.  If
i have to and i buy a PCI one does in connect to the hard drive via jumpers
or does the mother board just connect it to the hard drive.  Also is there
any compadibility issues with certain hard drives as far as SCSI and IDE go,
like which type of disk controller you have to use.  And if i have to buy
one which protocol do you reccommend, and what is a good compadible
controller for FreeBSD?E-mail me back

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


Re: New hard drive (was: )

2003-06-29 Thread Ryan Thompson

[Tip: Your message did not contain a subject. Choose an appropriate
  subject line for your questions in the future, please ]

[EMAIL PROTECTED] wrote to [EMAIL PROTECTED]:

   FreeBSD-
   If i buy a UATA133 Bare Hard Drive, do i have to buy a disk controller.

Not likely, unless you're on really old or really obscure hardware.
Anything newer than the second-generation Pentium-I should have an
on-board dual-channel IDE controller built in. If you are using fairly
old hardware, though, beware that several Pentium-I BIOSes can not
support drives over 8GB, although if it was a good motherboard at the
time, your vendor may have published an upgrade. These are getting hard
to find, though. If your hardware is much newer than that, I don't think
you'll have much to worry about.

 If i have to and i buy a PCI one does in connect to the hard drive via
 jumpers

40- or 80-pin ribbon cable, yes. Jumpers on the drive control the mode
of the drive (slave, master/single drive, cable select). Assuming your
motherboard has an on-board controller, you'd connect the drive directly
to the motherboard.

 or does the mother board just connect it to the hard drive.  Also is
 there any compadibility issues with certain hard drives as far as SCSI
 and IDE go, like which type of disk controller you have to use.  And
 if i have to buy one which protocol do you reccommend, and what is a
 good compadible controller for FreeBSD?E-mail me back

SCSI is very expensive, and requires more experience to set up. SCSI is
suitable for more high-end applications. It sounds like you're just
getting your feet wet with this stuff, so I hope you aren't strapped
with the responsibility of building a heavy production server. Thus, I'd
recommend you go with IDE, for cost and simplicity.

Hope this helps,
- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America

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


Re: question regarding quotas

2003-06-29 Thread Josh Brooks

Hi Dan,

On Sat, 28 Jun 2003, Dan Nelson wrote:

 Quotas are per-user, not per-directory.  Any files those users create,
 anywhere in that filesystem, will contribute to their quota.  Files
 created by other userids but placed in those directories will count
 against the other user's quota.

 Basically what happens with per-directory quotas is that the users
 learn not to put files in their homedir :)  They end up finding
 someplace that they can write to outside their homedir and put files
 there instead.


Thank you.  Do per-directory quotas exist (in any fashion) in FreeBSD ?  I
am looking for a way to do per-directory, even if it is a hack of some
kind...

thanks.

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


How to Start Courier-Imap?

2003-06-29 Thread Tomlinson, Drew
I've installed courier-imap 1.7.1 using portupgrade on my 4.8 system but I
can't figure out how to start it.  I'm familiar with /usr/local/etc/rc.d and
see links to start scripts there but when I run them, I get errors about
being unable to find files.  Here's and example:

blacklamb# ./courier-imap-imapd.sh.sample start
.: Can't open /usr/local/etc/courier-imap/imapd-ssl: No such file or
directory

I assume this has to do with the files not being installed where the scripts
expect to find them.  Next I try a 'whereis' to find the file:

blacklamb# whereis imapd
Warning: couldn't stat file /usr/X11R6/man!
imapd: /usr/local/bin/imapd /usr/local/man/man8/imapd.8.gz

So I edit /usr/local/libexec/courier-imap/imapd.rc to reflect this and run
again but no luck.  Is there something simple I am missing?  I have to
assume it's me as the ports are normally right.

Any ideas?  Please cc me on any response as I am not subscribed yet.  I will
once I get this working.  :)

Thanks,

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


RE: How to Start Courier-Imap?

2003-06-29 Thread Tomlinson, Drew
 -Original Message-
 From: Jon Reynolds [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, June 29, 2003 4:10 PM
 To: Tomlinson, Drew
 
 
 On Sun, 2003-06-29 at 15:02, Tomlinson, Drew wrote:
  I've installed courier-imap 1.7.1 using portupgrade on my 
 4.8 system 
  but I can't figure out how to start it.  I'm familiar with 
  /usr/local/etc/rc.d and see links to start scripts there but when I 
  run them, I get errors about being unable to find files.  
 Here's and 
  example:
  
  blacklamb# ./courier-imap-imapd.sh.sample start
  .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No 
 such file or 
  directory
  
  I assume this has to do with the files not being installed 
 where the 
  scripts expect to find them.  Next I try a 'whereis' to 
 find the file:
  
  blacklamb# whereis imapd
  Warning: couldn't stat file /usr/X11R6/man!
  imapd: /usr/local/bin/imapd /usr/local/man/man8/imapd.8.gz
  
  So I edit /usr/local/libexec/courier-imap/imapd.rc to 
 reflect this and 
  run again but no luck.  Is there something simple I am missing?  I 
  have to assume it's me as the ports are normally right.
  
  Any ideas?  Please cc me on any response as I am not 
 subscribed yet.  
  I will once I get this working.  :)
  
  Thanks,
  
  Drew
 Hi Drew,
 
   '/usr/lib/courier-imap/libexec/imapd.r start'
 
 That is what I use to start imapd on my system. I thinnk in 
 the same directory will be the imapd.ssl.rc.

Thanks for the quick response but I don't have that dir on my system.  I do
have this which is where the symlinks in rc.d point:

blacklamb# pwd
/usr/local/libexec/courier-imap
blacklamb# ll
total 67
drwxr-xr-x  2 root  wheel512 Jun 29 15:12 authlib
-r-xr-xr-x  1 root  wheel   3920 Jun 29 15:12 courierlogger
-r-xr-xr-x  1 root  wheel  48432 Jun 29 15:12 couriertcpd
-rwxr-xr-x  1 root  wheel   1586 Jun 29 15:12 imapd-ssl.rc
-rwxr-xr-x  1 root  wheel   1583 Jun 29 15:58 imapd.rc
-r-xr-xr-x  1 root  wheel   5848 Jun 29 15:12 makedatprog
-rwxr-xr-x  1 root  wheel   1572 Jun 29 15:12 pop3d-ssl.rc
-rwxr-xr-x  1 root  wheel   1460 Jun 29 15:12 pop3d.rc

Unfortunately running a './imapd.rc start' in this dir as root makes the
same error I describe above.

Thanks,

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


Re: PPP troubles

2003-06-29 Thread Jonathan Chen
On Sun, Jun 29, 2003 at 03:55:36PM -0700, RexFelis wrote:
 Hello all,
 
 A while back I wrote in about this problem, but
 then got swamped with life and had to quit
 working on it.  Now I have some time, and I have
 recently had to rebuild all of the operating
 systems on my computer - Win2k Pro, Linux
 Mandrake 9.1 and FreeBSD 4.7.
 
 Here's the problem.  I have installed FreeBSD 4.7
 on my computer and the installation goes fine.  I
 have dial up access, and that configures fine
 also.  Connection goes through.  But once the
 connection is up - nothing.  I have connectivity
 through Win2k and Linux Mandrake 9.1.

Please attach your ppp.conf, /var/log/ppp.log and the output of

netstat -rn

once your connection is up.
-- 
Jonathan Chen [EMAIL PROTECTED]Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Permission denied messages from named

2003-06-29 Thread Jonathan Chen
On Sun, Jun 29, 2003 at 07:02:02PM -0400, Tom Parquette wrote:

[...]
 Messages from all.log:
 Jun 29 18:02:30 Atlas named[301]: fopen() of 2.168.192.in-addr.arpa.dumptmp failed: 
 Permission denied

[...]

 ld -l of /etc/namedb:
 -rw---  1 root  wheel   610 Mar 27 18:14 2.168.192.in-addr.arpa

[...]
 Results of ps axl:
53   301 1   0  96  0  2788 2076 select Is??0:00.53 /usr/sbin/named 
 -d 1 -u bind -g bind


Your named process is running as the bind user; which has no
permission to read 2.168.192.in-addr.arpa. The fix is to:

chmod a+r 2.168.192.in-addr.arpa

-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Do not take life too seriously.
   You will never get out of it alive.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPP troubles

2003-06-29 Thread Nathaniel Nigro
im having the same problem, exept ive narrowed my problem down, but i can't 
figure out why its doing it .. for some reason once its up, its adding 
nameserver 255.255.255.255 in my /etc/resolv so its not resolving any 
addresses. seems to work fine in linux. 
www.angelfire.com/linux/natedogg/ppp.zip

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

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


what kernel does freebsd use?

2003-06-29 Thread Andrew Roland
Hello,

I've read that there are multiple kernels for BSD. What does FreeBSD use? Can I swap 
it out for other kernels? Or am I mistaken?

Thanks


Andrew
-- 
__
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

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


Re: How to Start Courier-Imap?

2003-06-29 Thread Kirk Strauser
At 2003-06-29T23:02:18Z, Tomlinson, Drew [EMAIL PROTECTED] writes:

 blacklamb# ./courier-imap-imapd.sh.sample start
 .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No such file or
 directory

Without being an expert in Courier, might I suggest that you configure it
first?  It seems to be complaining that it's missing a config file, namely
imapd-ssl.  Many FreeBSD ports ship with sample config files, typically
named something like imapd-ssl.example.
-- 
Kirk Strauser
In Googlis non est, ergo non est.


pgp0.pgp
Description: PGP signature


adduser question

2003-06-29 Thread Marvin J. Kosmal

Hi 

New to FreeBSD

Currently using Libranet trying to switch my main box
to FreeBSD..

MY current problem is adduser

I think is is corrupted.

When I type adduser

I get the regular first three lines.

Check /etc/shells
Check /etc/master.pwd
Check /etc/group

Usernames must match regulare expression: [mkosmal]:

That last line must come from an aborted prior attempt.
It just gets worse after that.

In /usr/sbin
the adduser script is in part

Copyright 1995-1996 Wolfram Schneider etc. yada. yada.. yada..


I am using a disk that came with Teach  Yourself FreeBSD in 24 hours..



I tried editing the following files by had

/etc/passwd.
/etc/master.pwd
/etc/group

I couldn't find the password file.  

This didn't work either..

TIA


Marvin


-- 
Marvin J. Kosmal
Linux Activist
Registered User # 88512
Brought to by Libranet 2.7

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


Re: How to Start Courier-Imap?

2003-06-29 Thread David Kelly
On Sunday 29 June 2003 06:02 pm, Tomlinson, Drew wrote:
 I've installed courier-imap 1.7.1 using portupgrade on my 4.8 system
 but I can't figure out how to start it.  I'm familiar with
 /usr/local/etc/rc.d and see links to start scripts there but when I
 run them, I get errors about being unable to find files.  Here's and
 example:

 blacklamb# ./courier-imap-imapd.sh.sample start
 .: Can't open /usr/local/etc/courier-imap/imapd-ssl: No such file or
 directory

 I assume this has to do with the files not being installed where the
 scripts expect to find them.  Next I try a 'whereis' to find the
 file:

The courier-imap port is not as friendly as many other ports. It stumped 
me for a while too. Finally I saw and actually read the last message 
the make process emitted (from the tail end of 
/usr/ports/mail/courier-imap/Makefile):

@${ECHO_MSG} 
@${ECHO_MSG} You will have to run ${DATADIR}/mkimapdcert to create
@${ECHO_MSG} a self-signed certificate if you want to use imapd-ssl.
@${ECHO_MSG} And you will have to copy and edit the *.dist files to *
@${ECHO_MSG} in ${CONFDIR}.
@${ECHO_MSG} 

Believe this will get you going:

% su
# cd /usr/local/etc/courier-imap
# cp -p imapd-ssl.dist imapd-ssl
# cp -p imapd.dist imapd
# cp -p authdaemonrc.dist authdaemonrc

After copying the following I edited it for my location just in case I 
ever used x509 certificates:
# cp -p imapd.cnf.dist imapd.cnf

and for POP3 (I don't use):

# cp -p pop3d.dist pop3d
# cp -p pop3d.cnf.dist pop3d.cnf
# cp -p pop3d-ssl.dist pop3d-ssl

and finally:
# cd /usr/local/etc/rc.d
# cp -p courier-imap-imapd.sh.sample courier-imap-imapd.sh
# sh courier-imap-imapd.sh start

The final thing which stumped me was Apple's Mail.app connecting to 
courier-imapd ran an infinite loop of repeating connects because 
~/Maildir was only a directory and did not contain cur/ new/ and tmp/ 
directories. See maildirmake(1). Unless you are using quotas it doesn't 
appear to be any different than ( umask 77; mkdir -p ~/Maildir/cur 
~/Maildir/new ~/Maildir/tmp )

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what kernel does freebsd use?

2003-06-29 Thread Nathaniel Nigro



From: Andrew Roland [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: what kernel does freebsd use?
Date: Sun, 29 Jun 2003 18:45:02 -0600
Hello,

I've read that there are multiple kernels for BSD. What does FreeBSD use? 
Can I swap it out for other kernels? Or am I mistaken?

Thanks

Andrew
--
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html

-Nate

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: what kernel does freebsd use?

2003-06-29 Thread Erik Trulsson
On Sun, Jun 29, 2003 at 06:45:02PM -0600, Andrew Roland wrote:
 Hello,
 
 I've read that there are multiple kernels for BSD. What does FreeBSD
 use? Can I swap it out for other kernels? Or am I mistaken?

Each BSD variant uses its own kernel. FreeBSD uses the FreeBSD kernel
(no, there is no specific name for it) just as NetBSD uses the NetBSD
kernel and so on.   
You can't swap it out for another kernel (not without lots of work
anyway) and if you did it would no longer really be FreeBSD but some
new system.

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


Re: question regarding quotas

2003-06-29 Thread Josh Brooks

Hello.

On 29 Jun 2003, Lowell Gilbert wrote:

 Dan Nelson [EMAIL PROTECTED] writes:


  The only thing I can think of that might work: if you didn't mind a
  whole lot of filesystems, you could create a filesystem per directory
  you wanted to control.  Then the filessytem size itself would be the
  quota.

 I'm not following this suggestion.

 Quotas are per-user, *per-filesystem*, as you said the first time.  So
 it's not necessary to put each user's critical space on a different
 filesystem.  In fact, what quotas do is protect users from each other
 on a given filesystem.


What he is saying is, if I want to control the size of a directory, but
there will be file creations in that directory from more than one user, I
need to do something besides quotas, since quotas only count how much that
user has created, NOT how much is in the directory total.

So my question was, is there a way to control how big a directory can
grow, regardless of who is putting what files in that directory.

So far, his answer was that I could just make each directory its own
filesystem, which would definitiely work, but I wondering if perhaps there
is a more elegant way to do this ?

Again, I am just trying to take an arbitrary directory, say:

/export/data7/homes/jerry

and place a configurable limit on how big that directory can get, without
mounting it as its own filesystem...

thanks.

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


Setting sendmail to auto block repeated denied sender?

2003-06-29 Thread Dragoncrest
	HI all.  Shot in the dark here, but I was just wondering if there was a 
way to get sendmail to automatically block or discard any messages 
(preferably discard) any messages from a particular email address that are 
repeatedly rejected due to unresolvable domain names.  About every day I'll 
get a spam message that has an invalid email addy on it that won't resolve, 
so when fetchmail tries to deliver it, it gets rejected and fetchmail 
doesn't delete it off the server.  I'd like to eliminate that of 
possible.  I would like sendmail to automatically just set that particular 
rejected email address to auto discard after 10 consecutive rejections for 
a period of 24 hours so that fetchmail doesn't allow a ton of mail to pile 
up on the remote server because the local sendmail instance is rejecting 
its delivery.

	If this is possible, let me know how to do it.  Thanks.

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


Re: question regarding quotas

2003-06-29 Thread Chuck Swiger
Josh Brooks wrote:
[ ... ]
Again, I am just trying to take an arbitrary directory, say:

/export/data7/homes/jerry

and place a configurable limit on how big that directory can get, without
mounting it as its own filesystem...
FreeBSD doesn't have a filesystem with per-directory quota support.

For a top-level mount point like /export/data7, a per-filesystem quota should do 
just fine, but if that isn't good enough for your needs, okay: so be it.  I 
guess you'll have to find another OS which fits your requirements better.

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


Re: what kernel does freebsd use?

2003-06-29 Thread Joel Rees
 You can't swap it out for another kernel (not without lots of work
 anyway) and if you did it would no longer really be FreeBSD but some
 new system.

Ergo, Darwin ...


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


Re: adduser question

2003-06-29 Thread Jez Hancock
On Sun, Jun 29, 2003 at 05:52:53PM -0700, Marvin J. Kosmal wrote:
 When I type adduser
 
 I get the regular first three lines.
 
 Check /etc/shells
 Check /etc/master.pwd
 Check /etc/group
 
 Usernames must match regulare expression: [mkosmal]:
iirc, the first time you run adduser it prompts you to enter the default
settings you want it to use in future (here you've chosen to allow only
usernames that contain the characters mkosmal - probably not what you
wanted).  The best thing to do would be to do:

mv /etc/adduser.conf /etc/adduser.conf.bak

and then run adduser as root again.allow only usernames that contain the
characters mkosmal - probably not what you wanted).  The best thing to
do would be to do:

mv /etc/adduser.conf /etc/adduser.conf.bak

and then run adduser as root again, but this time run it as:

adduser -silent

This will stop adduser from asking you for defaults and instead will
work it out from it's default settings.


 That last line must come from an aborted prior attempt.
Yes, perhaps you thought it was prompting you for the username of the
user you wanted to add to the system (which ends up being taken as the
regular expression to describe what valid usernames should be).

 It just gets worse after that.
 
 In /usr/sbin
 the adduser script is in part
 
 Copyright 1995-1996 Wolfram Schneider etc. yada. yada.. yada..
If you mean you edited the file /usr/sbin/adduser, that's because the
adduser program is a perl script!  If you read through it you can work
out how adduser works :)

 
 
 I am using a disk that came with Teach  Yourself FreeBSD in 24 hours..
 
 
 
 I tried editing the following files by had
 
 /etc/passwd.
 /etc/master.pwd
 /etc/group
Not a good idea unless you know what you're doing.  After editing
/etc/master.passwd by hand (NOT /etc/passwd) you then need to run 
another utility, pwd_mkdb, to rebuild the system password database.

Read the man pages thoroughly before attempting that, try:

man -k passwd

to see a list of relevant manpages.


A better password management system is 'pw' - make sure you type 

pw add -D

first to setup your defaults.

To add a user do:

pw adduser youruser -m

which creates 'youruser' and a set of skeleton files in their home
directory (/home by default).

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


Re: what kernel does freebsd use?

2003-06-29 Thread Kris Kennaway
On Sun, Jun 29, 2003 at 06:45:02PM -0600, Andrew Roland wrote:
 Hello,
 
 I've read that there are multiple kernels for BSD. What does FreeBSD
 use? Can I swap it out for other kernels? Or am I mistaken?

It uses the FreeBSD kernel :-)

(Yes, you're mistaken)

Kris

P.S. Please wrap your emails at 70 characters so they can be easily read.

pgp0.pgp
Description: PGP signature


PPP troubles SOLVED!!!

2003-06-29 Thread RexFelis
Yah!  Boy does it feel good to track down and
solve this problem on my own!!!

Here's what I did.  I copied the contents of
/etc/ppp from my Linux partition to my Windows
partition and then compared each corresponding
file to it's freebsd counterpart.  And what I
found was that my resolv.conf files were
different - the DNS nameserver address had been
changed under Linux!

When I plugged in the new number, voila, FreeBSD
connectivity problem solved.  

I am so appreciative for the help, even though I
managed to solve it on my own.  I googled it at a
friend's suggestion and discovered a website
giving the info to add, and that brought me to
the idea to do what I did.

Now to cvsup.  :)

Shannon

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: TODO list?

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-28 10:32:43 -0700:
 On Sat, Jun 28, 2003 at 11:57:41AM -0500 or thereabouts, Dan Nelson wrote:
  In the last episode (Jun 28), Joshua Oreman said:
   Is there like a search for PRs with no Fix:?
  
  If you cvsup the gnats repository, you can do your own arbitrary
  searches.  Note that grep -rL Fix . won't work because empty sections
  still have their header stored in the PR.
 
 Ah, thanks! I think grep -rL +++. would find unified diffs.

Actually, it would not. You'd want

grep -rl +++
or better
grep -Erl '^\+\+\+ ' .

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! I killed my rc.conf and cant boot correctly!

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-28 16:04:58 +1000:
  --- Adam [EMAIL PROTECTED] wrote:  On Fri,
 2003-06-27 at 23:57, Keith Spencer wrote:
   Want to hear a tale of stupidity and woe.  I screwed up fbsd 4.7
   system rc.conf and can only seem to boot into a basic session.
   Cant edit or save to /etc files.  What to do and you guessed
   it...noboot disk was made although I have another 4.7 fbsd machine
   nearby.  Tell me it's not fatal guys!
  
  I don't see why you wouldn't be able to boot into single-user mode,
  edit the rc.conf, then reboot. What exactly is the problem editing
  the files in /etc from SU mode?
 
 When the machine boots it drops straight into (I guess) single user
 mode. The /usr/sbin /usr/bin cant be cd-ed to and the /etc dir says it
 is read only file system! So I can't save to it.  I have a Schlacter
 tute fireall setup on it. With whatever security it entails.  Any
 clue? Can I interupt the boot and do something?
 This is a mission critical machine darn it...Oh dear!

mount -u /
mount -a -t ufs
swapon -a
/usr/bin/vi /etc/rc.conf

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question regarding quotas

2003-06-29 Thread Ryan Thompson
Josh Brooks wrote to Lowell Gilbert:

 Again, I am just trying to take an arbitrary directory, say:

 /export/data7/homes/jerry

 and place a configurable limit on how big that directory can get,
 without mounting it as its own filesystem...

FreeBSD doesn't support any filesystems that do this proactively. From
an OS point of view, it doesn't really make sense. However, I can see a
few scenarios where this would be helpful, and it is more than possible
to enforce directory size limits reactively. For example:

#!/bin/sh

if [ $# -ne 1 ]; then
echo usage: $0 pathname 12
exit 2
fi

QUOTA=102400; # Max. usage, kilobytes
SIZE=`du -xd 0 $1 | cut -f 1`
echo Directory size is $SIZE

if [ $SIZE -gt $QUOTA ]; then
echo $1 is over quota;# Take appropriate action, here...
else
echo $1 is OK;
fi

That's an illustrative example; it'll be easy to extend that to loop
over an arbitrary list of users (or all system users). You can then run
it periodically from cron(8) to check disk usage at the interval of your
choosing, and react accordingly.

As others have mentioned, users may find other directories and
filesystems to store files, thereby circumventing your quota check. So,
it's up to you to harden your system to mitigate that. Also, as this is
a reactive approach, your users still have the ability to fill up your
disk, but at least you can react appropriately (and possibly
automatically). Though, I think I've at least answered your question.
:-)

Hope this helps,
- Ryan

-- 
  Ryan Thompson [EMAIL PROTECTED]

  SaskNow Technologies - http://www.sasknow.com
  901-1st Avenue North - Saskatoon, SK - S7K 1Y4

Tel: 306-664-3600   Fax: 306-244-7037   Saskatoon
  Toll-Free: 877-727-5669 (877-SASKNOW) North America


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


Re: Deleting Symlink

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-29 12:28:39 -0400:
 On Sun, 2003-06-29 at 12:15, Bryan Cassidy wrote:
  Hello everyone. I'm using FreeBSD 5.1 and I am trying to delete a symlink from one 
  file to another
  
  (/usr/local/www/data to data-dist and /usr/local/www/cgi-bin to cgi-bin-dist)
  
  I was told when I use portupgrade it will delete my files If I don't delete the 
  symlinks so could
  someone help me out here
 
 I've never heard of it DELETING files, but I have heard of it changing
 permissions, and occasionally failing (eg, if there files/folders with
 spaces in the name).

s/delete/rewrite/

I've had this happen with the Postfix port smashing my config, and
remember complaints here about Apache doing similar thing to
people's websites.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re:hard disk error , run fsck manually

2003-06-29 Thread manee

--- Alex Zivenko [EMAIL PROTECTED] wrote:
 You need just run fsck. See the man page. I had this
 problem too. Only yesterday. All was fixed with
 fsck, I just gived root password and logged in in
 single user mode. Then I just runned fsck with some
 params.
 

thank you for your time.  but in my case,  fsck can
not help.  i also try

fsck -p -y

i still got

FILE SYSTEM STILL DIRTY
PLEASE RERUN fsck MANUALLY.

what i did was simply put that partion or file system
in read only mode and exit single user mode in order
to bring the system up and running.

anyway, thanks so much for your helps.

with best regards,

=
ÁÒ¹Õ
http://www.thai-aec.org

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysctl uptime

2003-06-29 Thread Remington L.
Is there a sysctl string that can tell me my uptime?


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


Re: How do i uninstall Jdk1.3 or any jdk version fron freebsd .

2003-06-29 Thread Shrikant Mhatre
Thanks for the reply , i tried this things as explained in the documnetation 
on www.freeBSD.org   but  it did not remove the folders /usr/local/jdk1.3.1  
altough i did installed them from ports as described on the freebsd site

I had to remove this folders manually ...


Shrikant Mhatre


On Saturday 28 June 2003 08:04 pm, you wrote:
 Assuming you installed them from the ports (or packages) system,
  # pkg_delete jdk*
 should do it.

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


Re: Sysctl uptime

2003-06-29 Thread Joshua Oreman
On Mon, Jun 30, 2003 at 09:17:54PM -0700 or thereabouts, Remington L. wrote:
 Is there a sysctl string that can tell me my uptime?

No, but kern.boottime is the boot time of the kernel, so subtract that from
`date +%s` and you have uptime in seconds. Note that sysctl's output for this
field will need some parsing.

I found this out from the source code for `w', btw. Use the Source, Luke!

-- Josh

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


Welcome to CGT-VB

2003-06-29 Thread CGT-VB Moderator

Hello,

Welcome to the CGT-VB group at Yahoo! Groups, a 
free, easy-to-use email group service. Please 
take a moment to review this message.

To learn more about the CGT-VB group, please visit
http://groups.yahoo.com/group/CGT-VB

To start sending messages to members of this group, simply 
send email to
[EMAIL PROTECTED]

If you do not wish to belong to CGT-VB, you may 
unsubscribe by sending an email to 
[EMAIL PROTECTED]

To see and modify all of your groups, go to
http://groups.yahoo.com/mygroups


Regards,

Moderator, CGT-VB

 


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

 



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


Re: question regarding quotas

2003-06-29 Thread Sergey \DoubleF\ Zaharchenko
Josh Brooks wrote:
So my question was, is there a way to control how big a directory can
grow, regardless of who is putting what files in that directory.
So you are going to make a directory N Mbytes large...
Make a file N Mbytes large, vnconfig it, disklabel it, newfs it and 
mount to your directory. You should be solved then.

man vnconfig for details.

HTH,
DoubleF


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


Re: remote X on 5.1-RELEASE

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-29 08:07:45 -0500:
 How do you get remote X to work with 5.1-RELEASE?
 
 Here is an attempt with some fields blanked out.
 
 $ xhost +
 access control disabled, clients can connect from any host
 $ telnet __
 Trying ___.___.__.___...
 
 
 [EMAIL PROTECTED] xterm
 _X11TransSocketINETConnect: Can't connect: errno = 61
 _X11TransSocketINETConnect: Can't connect: errno = 61
 _X11TransSocketINETConnect: Can't connect: errno = 61
 _X11TransSocketINETConnect: Can't connect: errno = 61
 _X11TransSocketINETConnect: Can't connect: errno = 61
 _X11TransSocketINETConnect: Can't connect: errno = 61
 xterm Xt error: Can't open display: __.__.___:0.0
 [EMAIL PROTECTED] 
 
 The errno man page says errno 61 is connection refused.  There is no
 firewall or anything on the laptop running 5.1-RELEASE on a local subnet.
 It is a fairly generic install except I had to recompile with OLDCARD.

is the X server actually listening to remote connections? see
startx(1).

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PPP troubles SOLVED!!!

2003-06-29 Thread Robert Storey
On Sun, 29 Jun 2003 19:49:20 -0700 (PDT)
RexFelis [EMAIL PROTECTED] wrote:


 Here's what I did.  I copied the contents of
 /etc/ppp from my Linux partition to my Windows
 partition and then compared each corresponding
 file to it's freebsd counterpart.  And what I
 found was that my resolv.conf files were
 different - the DNS nameserver address had been
 changed under Linux!

Although using a Windows FAT32 partition is one way to share data
between Linux and FBSD, if you're recompiling your FBSD kernel you might
consider adding support for the Linux ext2 filesystem. You need a line
like this in your kernel source:

  options   EXT2FS

You'll get a quaint warning about how you are about to contaminate
your kernel with GPL code. Nevertheless, it will compile fine, and after
installing the new kernel you'll be able to mount ext2 and ext3
partitions from FBSD. The advantages of not using FAT32 includes, among
other things, allowing you to preserve permissions when moving files
between FBSD and Linux.

regards,
Robert

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


Re: question regarding quotas

2003-06-29 Thread Josh Brooks

Hi,

On Mon, 30 Jun 2003, Sergey DoubleF Zaharchenko wrote:

 Josh Brooks wrote:
  So my question was, is there a way to control how big a directory can
  grow, regardless of who is putting what files in that directory.

 So you are going to make a directory N Mbytes large...
 Make a file N Mbytes large, vnconfig it, disklabel it, newfs it and
 mount to your directory. You should be solved then.

Yes, I am familiar with this way of solving the problem, its just that I
would like to try to avoid having all those partitions mounted (even if
they are just vn-partitions) because then it is very hard to increase or
decrease those quota sizes - you have to dump, dd a bigger file,
re-vnconfig, then restore ... very time consuming.

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


Re: ethernet

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-28 13:06:25 -0700:
 I wrote details which are the OS says in my first mail.The release 5.1. I didn't 
 detect anything just i can't use it. 
 explained with ifconfig pciconf and dmesg. 
 
 Lowell Gilbert [EMAIL PROTECTED] wrote:
 Yunus E. Kose writes:
 
  I set up FreeBSD 5.1 . But i can't use ethernet card which is 
  SURECOM lan EP-320X-R.
 
 How is it detected (if at all) in a production release, like 4.8?

I think Lowell understood your mail just fine. He wanted to know
what you see in 4.x for comparison to your description of 5.1
behavior.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailing List Problem

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-26 08:52:48 -0700:
 Hello, I am using Sylpheed 0.9.2 as my mail client and
 when I try to send a e-mail to ANY of the FREEBSD
 mailing lists using Sylpheed it will never send. I can
 send e-mails to other mailing lists (non-freebsd ones)
 just fine but not any of the FBSD ones and the FreeBSD
 mailing lists is the main ones I care about. Hope
 someone could help me out here.

Is this still your old problem, or is the problem limited to
Sylpheed?

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: software packages

2003-06-29 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-06-26 22:12:50 +0100:
 On Thu, Jun 26, 2003 at 04:34:33PM -0400, david wrote:
  Hi, I'm using freebsd 5.0 Jan 2003 series
  
  Since all files are downloaded to the /usr/ports/distfiles,
  I would like to know which software packages belong 
  to what program. For example, I install mplayer and it
  downloaded mplayer and other files for it. Is it possible 
  to know which of these files are for mplayer. 
 
 You can see what source code tarballs and other distfiles would be
 downloaded for each port by changing to the port directory and running
 'make -V DISTFILES':
 
 /usr/ports:% cd multimedia/mplayer
 ...ports/multimedia/mplayer:% make -V DISTFILES
 MPlayer-0.90.tar.bz2

The value of this variable may be influenced by options you compiled
the port with, though.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question regarding quotas

2003-06-29 Thread Dan Nelson
In the last episode (Jun 29), Josh Brooks said:
 On Mon, 30 Jun 2003, Sergey DoubleF Zaharchenko wrote:
  So you are going to make a directory N Mbytes large... Make a file
  N Mbytes large, vnconfig it, disklabel it, newfs it and mount to
  your directory. You should be solved then.
 
 Yes, I am familiar with this way of solving the problem, its just
 that I would like to try to avoid having all those partitions mounted
 (even if they are just vn-partitions) because then it is very hard to
 increase or decrease those quota sizes - you have to dump, dd a
 bigger file, re-vnconfig, then restore ... very time consuming.

If you're adventurous, you could use growfs :)

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


nagios on FreeBSD 4.8 Stable problem..

2003-06-29 Thread kinux
Take a look with this link please..

http://www.freebsdforums.org/forums/showthread.php?s=threadid=11502
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[no subject]

2003-06-29 Thread kc copling
hello i just installed freebsd and i installed all the packages and everything but 
when i hit startx in the terminal it wont log me into the graphical interface what 
could be wrong and how can i fix it
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question regarding quotas

2003-06-29 Thread Joshua Oreman
On Mon, Jun 30, 2003 at 12:25:45AM -0500 or thereabouts, Dan Nelson wrote:
 In the last episode (Jun 29), Josh Brooks said:
  On Mon, 30 Jun 2003, Sergey DoubleF Zaharchenko wrote:
   So you are going to make a directory N Mbytes large... Make a file
   N Mbytes large, vnconfig it, disklabel it, newfs it and mount to
   your directory. You should be solved then.
  
  Yes, I am familiar with this way of solving the problem, its just
  that I would like to try to avoid having all those partitions mounted
  (even if they are just vn-partitions) because then it is very hard to
  increase or decrease those quota sizes - you have to dump, dd a
  bigger file, re-vnconfig, then restore ... very time consuming.
 
 If you're adventurous, you could use growfs :)

For example, to enlarge the quota by 100 MBytes:
# umount /the/quota/dir
# dd if=/dev/zero bs=1m count=100  /the/vn/file
# growfs /dev/vn?c
Did you make backups? yes
...
# mount /dev/vn?c /the/quota/dir

Alas, no way to shrink it :(

-- Josh

 
 -- 
   Dan Nelson
   [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]