Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread Gary W. Swearingen
William Manley [EMAIL PROTECTED] writes:

 I am a new FreeBSD user and I have an installation that has gone bad. My 
 problems started when I enabled XDM for a
 graphical logon into Gnome. When I logged in as root the system just looped 
 back to the logon screen. I then assumed I
 had configured my .xinitrc file wrong so I booted the install cdrom into 
 Fixit mode and tried to mount the root
 filesystem on the hardisk which the operating system would not let me do. The 
 following are the commands I typed with
 the output.

I don't use gnome or kde, but I'd think you'd want to use gdm for a
gnome desktop or kdm for a kde desktop and if you want to use xdm,
be prepared to do some reading and configuration to make it give you
a Manley desktop.

BTW, one usually tries to run as little software as possible as root
mostly to limit damage caused by buggy (or I suppose infected)
software or operator error.  After you get your desktop running as
a non-root user, some graphical programs will do needed things as
root and/or you'll start up a terminal emulator like xterm with the
shell run by root.  KDE, at least, offers a root terminal, but
you can switch from normal to root with the su command.

 mount /dev/ad0s1a /mnt
 operation not permitted

Not sure, but I wonder if /mnt is already in use. Try
mkdir /ad0s1a;  mount /dev/ad0s1a /ad0s1a

 disklabel -r ad0
 no valid label found

That -r is obsolete, but someone else explained the real problem.

 Does the warning tell me that my bios is not set up properly for FreeBSD to 
 work with the hardisk setup. The handbook
 says to set up your bios to select hardisk's naturally. Before starting the 
 install I looked at the bios and was not
 sure what to configure. Should I go to the basic page and set the hardisk as 
 uninstalled? Any help in getting back into
 my system will be appreciated. If I have to reinstall I'll do it.

If your install seemed to go OK and you've got a graphical login
screen, you're probably in fair shape.  You might want to try the
install again and not use xdm.  Or:

You might need to tell us more about what you see at login.  Try
logging in as a normal user.  Probably won't work any better.  If the
screen offers some other stuff, like a safe mode or single user
mode, try that.  Or try to interrupt the boot before you get to the
graphical screen by tapping the space bar as soon as you see major
changes in the kind of boot messages (eg, from BIOS to FreeBSD).  If
you can get the thing to give you a prompt, try help or ? and
check that out and then try boot -s to get into single-user mode as
root.  If you manage to do that, or get things mounted from the CD or
floppy fixit mode, you want to disable XDM, but I'm sorry I forget
how that's done.  Look it up on the net or ask.  I think your goal is
to get a normal non-graphical login prompt; log in as root and then
read manual pages (or use web from another OS) until you figure out
how to configure your Gnome setup using gdm.  BTW, I know many insist
on having a graphical login, but some of us have been using graphical
desktops for 10 years and more and still log into a normal text
terminal first and start the graphics with a command, maybe because we
don't log in often and when we're logging in a lot it's usually
because we're having problems and we don't want X then anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


i8xx drm support

2005-08-10 Thread Jean-Francois
why the hell dont FreeBSD have drm suopport for the intel graphic
cards ???. its been in linux for a long time. cant you guys port it.

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


Re: icewmtray error

2005-08-10 Thread Roberto Pulver
On Mon, 8 Aug 2005 20:12:30 -0300
Roberto [EMAIL PROTECTED] wrote:

 Hello,
 
 I have the following problem with icewmtray: it runs on icewm-session
 startup and when I launch Skype and Gaim they place their icons in
 tray.
 
 Operation is OK for maximizing or minimizing to tray but when I
 close (exit) any program that places a tray icon (Skype or Gaim) then
 icewmtray exits unexpectedly with the following error message (it also
 closes any other programs that have icons in the tray):
 
 % icewmtray
 icewmtray: using /home/rgp/.icewm for private configuration files
 X Error of failed request:  BadWindow (invalid Window parameter)
   Major opcode of failed request:  2 (X_ChangeWindowAttributes)
   Resource id in failed request:  0xa00021
   Serial number of failed request:  181
   Current serial number in output stream:  183
 
 I am using FreeBSD 5.4 (with upgraded ports).
 
 These are the versions of the relevant packages:
 
 icewm-1.2.22
 gaim-1.4.0
 skype-1.1.0.20_1
 
 I've tried with my home configuration files and with defaults, the
 error is the same.

Hello, I've fixed it: seems that icewmtray needs the IMLIB option
enabled to work OK.

When comparing with a similar machine (where icewmtray works) I
noticed that Gnome was installed and Imlib also. So the icewm port
detected imlib and automatically enabled the imlib support (even if
the option was unmarked) when compiling.

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


Re: very busy ftpd

2005-08-10 Thread Maxim Konovalov
On Tue, 9 Aug 2005, 15:49-0400, Mikhail Teterin wrote:

 Hi!

 I just noticed, that uploading a file over a LANG (at around
 5.7Mb/s) resulted in around 25% CPU consumption by the ftpd.

 I think, that's unusual for a Pentium4 -- what is the process doing?

Check the client does not use ascii mode when uploading (getc() vs
read()).

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


cannot open /proc/360/mem

2005-08-10 Thread JD

I started to get messages like this:

: cannot open /proc/360/mem
0âH: cannot open /proc/360/mem
Þ: cannot open /proc/360/mem
º: cannot open /proc/360/mem
P(ÈY(¨ä¿¿~Ò((þHx¼J: cannot open /proc/360/mem

What is this error?

The messages seem to be associated with a cron job (mailed at the same
time), which runs pflogstats on the day's Postfix log. These messages
started to appear after I have upgraded apache-2.0.54 to apache-2.0.54_2
(not suggesting that there is a cusal relationship - or is there?)

This machine runs FreeBSD 5.4-STABLE.

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread O. Hartmann

Chuck Swiger wrote:


O. Hartmann wrote:
[ ... ]

One of  my SATA disks, the SAMSUNG SP2004C seems to show errors 
during operation (and also showd under 5.4-RELEASE-p3).

Sometimes I get this error:
ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599
while the machine still keeps working.
Other days the box crashes completely.

Is this a operating system bug or is this message an evidence of 
defective hardware?


You can also run a dd if=/dev/ad10 of=/dev/null bs=8192 to do a full 
read test under FreeBSD, and see how many CRC errors show up.



I did so and I ran into a crash of the system ...

I changed the cabling, did it again and until now nothing happend ... 
hope it was only a cabling issue. The first time I use ATA/SATA and now 
these experiences ... When is SCSI back for desktops?

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


AC97 audio not working

2005-08-10 Thread ananth_g

hi ,
 i have an on board ac97 sound. but its not working with 5.3 stable. 
what kernel module should i

load for using ac97 audio?

kind regrds,
ananth g.
** DISCLAIMER **
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail  notify us 
immediately at [EMAIL PROTECTED]

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


sorry for the idiot question, but....

2005-08-10 Thread Gary Kline
Folks, 

*Which* ports do I need to install to get Gnome and KDE
working?  On my laptop (w/ omly 12G of disk) I may not have
nough room; but on my main server I should have plenty.

I have installed the x11/gnome2 and the x11/kde uberportscripts;
no joy.  What gives?

tia,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: How to limit the nat's stream speed?

2005-08-10 Thread Adi Pircalabu
On Wed, 10 Aug 2005 13:31:28 +0800
he ccjj [EMAIL PROTECTED] wrote:

 I use freebsd5.4+ipfw+natd to setup a box for sharing internet,it's
 work fine.But i have a very serious problem:
 Some computer of my inner user was attacked by virus,they make very
 big volume of stream to internet,so the natd will occupy almost all
 the cpu,the others can't visit internet at all !! Is there a solution
 to limit the natd's cpu occupancy or limit every user's stream speed?

You may take a look at ipfw(8) manpage and search for dummynet
configuration.
For example, if you know the offending IP, you can try something like
this:

kldload dummynet
ipfw pipe ${pipe-num} config bw ${max-bw}
ipfw add ${rule-num} pipe ${pipe-num} ip from ${offending-IP} to any

It's a very simple example, take it as a starting point.
Bye

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: sorry for the idiot question, but....

2005-08-10 Thread Stijn Hoop
On Tue, Aug 09, 2005 at 11:29:20PM -0700, Gary Kline wrote:
   Folks, 
 
   *Which* ports do I need to install to get Gnome and KDE
   working?  On my laptop (w/ omly 12G of disk) I may not have
   nough room; but on my main server I should have plenty.
 
   I have installed the x11/gnome2 and the x11/kde uberportscripts;
   no joy.  What gives?

Well that should be enough; I don't know about KDE but as for GNOME
you can simply turn on the knob

gdm_enable=YES

in /etc/rc.conf and then execute

/usr/X11R6/etc/rc.d/gdm.sh start

Note: only do this after you configured X to work right; GDM starts X
as part of a graphical login screen.

There is a way to start gnome using the 'startx' method but I don't
know it.

HTH,

--Stijn

-- 
A No uttered from deepest conviction is better and greater than a
Yes merely uttered to please, or what is worse, to avoid trouble.
-- Mahatma Ghandi


pgpSkENYcJ653.pgp
Description: PGP signature


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Joel Rees


On 平成 17/08/10, at 7:36, O. Hartmann wrote:


[...] When is SCSI back for desktops?


I vote for that.

In my opinion, ATA is primarily for home media systems, if that.

Joel Rees   [EMAIL PROTECTED]
digitcom, inc.   株式会社デジコム
Kobe, Japan   +81-78-672-8800
** http://www.ddcom.co.jp **




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


Re: very busy ftpd

2005-08-10 Thread Maxim Konovalov
On Wed, 10 Aug 2005, 00:40-0400, Mikhail Teterin wrote:

   I just noticed, that uploading a file over a LANG (at around
   5.7Mb/s) resulted in around 25% CPU consumption by the ftpd.
  
   I think, that's unusual for a Pentium4 -- what is the process doing?
 
  Check the client does not use ascii mode when uploading (getc() vs
  read()).

 That's quite possible, indeed. I wouldn't put it past some users --
 some still use the ancient ftp-clients, which default to text-mode
 transfers.

 Is there any way to disable this mode on the server, perhaps? Even
 if it violates the protocol :-/

A dirty hack:

Index: ftpcmd.y
===
RCS file: /home/ncvs/src/libexec/ftpd/ftpcmd.y,v
retrieving revision 1.64
diff -u -r1.64 ftpcmd.y
--- ftpcmd.y18 Nov 2004 13:46:29 -  1.64
+++ ftpcmd.y10 Aug 2005 08:23:09 -
@@ -379,6 +379,9 @@
switch (cmd_type) {

case TYPE_A:
+   reply(504, Type A not implemented.);
+   break;
+#if 0
if (cmd_form == FORM_N) {
reply(200, Type set to A.);
type = cmd_type;
@@ -386,7 +389,7 @@
} else
reply(504, Form must be N.);
break;
-
+#endif
case TYPE_E:
reply(504, Type E not implemented.);
break;
%%%

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


kqueue/kevent model with real-time OS

2005-08-10 Thread Bsderss
Hi,

Can anyone please tell me is kqueue/kevent model in
FreeBSD 5.x a real-time event model?

Thanks
Sam

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


RTCoreBSD

2005-08-10 Thread Bsderss
Hi,

I found this real-time OS based on BSD:
http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd

I m wondering what technology they used to make
FreeBSD as a real-time OS. I thought kqueue/kevent is
a key component? any comment?

Thanks
Sam


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


Re: freebsd for RS/6000 43p

2005-08-10 Thread Igor Robul

Ömer TELLİ wrote:


Dear sir,

We have  IBM server that included  RS/6000 43P model. At same time, this system 
have  AIX 4.3.2.. We want to set up FREE BSD, is it possible. İf it's possible, 
which one should  we set up? (for example: ppc; Alpha ?)


 


I think, that FreeBSD does not work on this computer. You can try NetBSD.
Maybe this:


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


Re: How to tell if /usr/obj is up to date?

2005-08-10 Thread Björn König

Joel Hatton wrote:


Is there any way to use make in /usr/src to tell if my object tree is up
to date? 

Situation: 


I cvsup my sources and do the make buildworld / buildkernel / installkernel
/ installworld steps. Later, I cvsup again to update for a vul that doesn't
require world to be rebuilt (such as FreeBSD-SA-05:16.zlib) and install.
[...]


First of all the security advisory gives detailed instructions to patch 
your system without rebuilding the whole world.


To build the world without clearing /usr/obj you need to use

  make -DNO_CLEAN buildworld

See also make.conf(5).


Regards Björn


--
Björn König ([EMAIL PROTECTED])
student at the Technische Universität Berlin
http://bkoenig.alpha-tierchen.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: RTCoreBSD

2005-08-10 Thread Norbert Koch
 Hi,
 
 I found this real-time OS based on BSD:
 http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd
 
 I m wondering what technology they used to make
 FreeBSD as a real-time OS. I thought kqueue/kevent is
 a key component? any comment?
 
 Thanks
 Sam

I think it's just that *old* rtlinux concept of
having a hard real time kernel and running the
operating system as some kind of an idle task
above that. As far as I remember FSMLabs earlier
press information talked about using NetBSD for that.

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


ipnat and MAC filter

2005-08-10 Thread vladone
I run for a while ipfw with natd. Now i work with ipfw and ipnat, but
i dont count any traffic by MAC address.

This is an example:
000300   0 count ip from any to any MAC any any via fxp0
00050  378  274434 allow ip from 192.168.101.0/24 to 192.168.101.0/24 
via fxp0

It's like i dont see any MAC address. What is wrong?

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


pptp on freebsd

2005-08-10 Thread vladone
Hi!
I have an gateway freebsd that make nat with ipnat and traffic shaping
with ipfw + dummynet. I want to require for my users authentication to
access the internet via my gateway. I want to use pptp because is
supported by most version of windows operating systems.
My questions is about traffic flow. How is traffic flow using pptp?
This implement an virtual interface, or how?
How i can filter traffic when use pptp?

For example, now i can traffic shaping very easy with this rule in
ipfw:

ipfw pipe 1 config bw 128kbits/s mask dts-ip 0xff
ipfw add 100 pipe 1 ip from any to any out via $private_interface

If someone have experience with this, please!


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


RE: RTCoreBSD

2005-08-10 Thread Bsderss


--- Norbert Koch [EMAIL PROTECTED] wrote:

  Hi,
  
  I found this real-time OS based on BSD:
 

http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd
  
  I m wondering what technology they used to make
  FreeBSD as a real-time OS. I thought kqueue/kevent
 is
  a key component? any comment?
  
  Thanks
  Sam
 
 I think it's just that *old* rtlinux concept of
 having a hard real time kernel and running the
 operating system as some kind of an idle task
 above that. As far as I remember FSMLabs earlier
 press information talked about using NetBSD for
 that.
 
Does current version of FreeBSD uses real-time
scheduler at the kernel? If it does, which part of the
code (in /usr/src) contains those code?

Sam.

 Norbert





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Unix

Joel Rees wrote:



On 平成 17/08/10, at 7:36, O. Hartmann wrote:


[...] When is SCSI back for desktops?



I vote for that.

In my opinion, ATA is primarily for home media systems, if that.

Joel Rees   [EMAIL PROTECTED]
digitcom, inc.   株式会社デジコム
Kobe, Japan   +81-78-672-8800
** http://www.ddcom.co.jp **




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

I thought the WD Raptors were supposed to replace the SCSI for that 
purpose. I used to run one in a Powermac and performance wise it behaved 
very well, unfortunately I haven't had the chance to test the 30 or 70 
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7 
or server use anyway, they die after a while, in my case, two 80gb 
seagate drives after 1.5 yrs with proper cooling...thing is that SCSI 
drives are not affordable to the regular home server user...if they 
were, I bet more people would use them so that's why the current 
alternatives are ATA and SATA and SATA Raptors.

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


Re: about VPN solution

2005-08-10 Thread vladone
Thanks all for reply.
I read some about openvpn. Look good but, if i understand corectly,
this not support pptp (that is default for VPN connections under
Windows OS) and need an client aplication tu be installed on
client machine. This is suported only on Win2000 and XP. I have an
clients with Win98 and for this is not possibil to use openvpn.

I read about authpf, look very good :). But this work with pf. I use
ipfw with dummynet for traffic shaping and ipnat for nat. This require
IPFW and IPFILTER. I think is not very good to enable three firewalls
(with PF).
Another problem, is that need for client to be authenticate via ssh. For
2-3 clients is ok, but for 100 is not very acceptable.

I see for win possibil to use pppoe (for all version). Is possibil to
build an solution with this? Hoe i can build an pppoe server?
Or another solution?

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


xmms, stupid question

2005-08-10 Thread slack _usr
Hi everyone,

I'm new to FreeBSD, so I'm using DesktopBSD. But I think, it uses
FreeBSD ports collection. So, question is, where I can find only xmms
(plain player). I can find MANY MANY plugins and etc, but I can't find
simple xmms. Please, help me If someone can.

And sorry for the stupid question.

Thanks.
-- 
Slack is GOOD (maybe FreeBSD better).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question about compile options

2005-08-10 Thread David Baird
On 8/10/05, Glenn Dawson [EMAIL PROTECTED] wrote:
 At 06:05 PM 8/9/2005, David Banning wrote:
 I am wondering how to know what compile options are available for
 a given ports package. 
 
 from ports(7) man page:
 
 TARGETS
   Some of the targets work recursively through subdirectories.  This lets
   you, for example, install all of the ``biology'' ports.  The targets 
 that
   do this are build, checksum, clean, configure, depends, extract, fetch,
   install, and package.
 
   The following targets will be run automatically by each proceeding 
 target
   in order.  That is, build will be run (if necessary) by install, and so
   on all the way to fetch.  Usually, you will only use the install target.
 
 config Configure OPTIONS for this port using dialog(1).
 

I have wondered about this as well. make config only deals with
interactive options, AFAIK. make configure seems to give a bit more
information, but that seems to depend on the port. For instance,
apache gives lots of information about loading modules.

Is it just a case of hunting down the documentation for a particular
package, or is there a generic way to list available compile options?

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


Re: xmms, stupid question

2005-08-10 Thread Glenn Dawson

At 02:46 AM 8/10/2005, slack _usr wrote:

Hi everyone,

I'm new to FreeBSD, so I'm using DesktopBSD. But I think, it uses
FreeBSD ports collection. So, question is, where I can find only xmms
(plain player). I can find MANY MANY plugins and etc, but I can't find
simple xmms. Please, help me If someone can.

And sorry for the stupid question.


it's usually in /usr/ports/multimedia/xmms

-Glenn



Thanks.
--
Slack is GOOD (maybe FreeBSD better).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Encrypted filesystem cgd

2005-08-10 Thread vittorio
I've been reading with interest in Dru Lavigne's BSD Hacks of an encrypted 
filesystem named cgd which at the time of her writing was included in NetBSD 
only.

has cgd  been ported in FreeBSD (doesn't seem to me)?

OR

Is there anything similar in FreeBSD?

Ciao
Vittorio

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Dmitry Mityugov
On 8/10/05, Unix [EMAIL PROTECTED] wrote:
...
 I thought the WD Raptors were supposed to replace the SCSI for that
 purpose. I used to run one in a Powermac and performance wise it behaved
 very well, unfortunately I haven't had the chance to test the 30 or 70
 GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
 or server use anyway
...

There are Maxtor MaXLine II and III, and perhaps several other models,
that are supposed to work 24/7.

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Unix

Dmitry Mityugov wrote:


On 8/10/05, Unix [EMAIL PROTECTED] wrote:
...
 


I thought the WD Raptors were supposed to replace the SCSI for that
purpose. I used to run one in a Powermac and performance wise it behaved
very well, unfortunately I haven't had the chance to test the 30 or 70
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
or server use anyway
   


...

There are Maxtor MaXLine II and III, and perhaps several other models,
that are supposed to work 24/7.

 

Yes, but I don't like Maxtor drives, the ones I've used always failed 
after a year or less than a year...

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


samba 3 and local wheel group membership

2005-08-10 Thread T. Kornack
Hello Tom,


just came across your message when trying to find a solution for another
problem... 

As far as I know 'net groupmap' never makes group members to show up in
/etc/group. It just does a group mapping from UNIX world to SMB world. And
this is what is mainly covered in the Samba docs.

What you need imho is the other way around - somehow mapping SMB-groups into
UNIX-groups. Here is my suggestion:

1. Map the group 'wheel' to a _local_ SMB-group using 'net groupmap ...' as
you already tried.

2. Create a _global_ group in your NT domain containing your intended
'wheel' members.

3. Make the global group from step 2.) become a member of the local group
from step in 1.) using 'net group ADD ...'. Don't worry what old Samba docs
say, from a certain version on (tested it with v3.0.13) encapsulated group
membership works.

4. Make sure winbindd is running on your Samba machine. This daemon is
responsible for the group mapping.

Explanation: The users also don't show up in /etc/group but the group
membership is solved on the fly by winbindd. I found the details in the
recent Samba-3-Howto on samba.org.

Kind regards

Thomas

E-Mail: [EMAIL PROTECTED]
Web:http://www.tkc-online.de

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


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Dmitry Mityugov
On 8/10/05, Unix [EMAIL PROTECTED] wrote:
 Dmitry Mityugov wrote:
 
 On 8/10/05, Unix [EMAIL PROTECTED] wrote:
 ...
 
 
 I thought the WD Raptors were supposed to replace the SCSI for that
 purpose. I used to run one in a Powermac and performance wise it behaved
 very well, unfortunately I haven't had the chance to test the 30 or 70
 GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
 or server use anyway
 
 
 ...
 
 There are Maxtor MaXLine II and III, and perhaps several other models,
 that are supposed to work 24/7.
 
 
 
 Yes, but I don't like Maxtor drives, the ones I've used always failed
 after a year or less than a year...

Western Digital produces similar drives as well - from
http://store.westerndigital.com/product.asp?sku=2700729: ...24x7 100%
duty cycle–the highest available reliability rating on high capacity
drives...

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=11441599

2005-08-10 Thread Unix

Dmitry Mityugov wrote:


On 8/10/05, Unix [EMAIL PROTECTED] wrote:
 


Dmitry Mityugov wrote:

   


On 8/10/05, Unix [EMAIL PROTECTED] wrote:
...


 


I thought the WD Raptors were supposed to replace the SCSI for that
purpose. I used to run one in a Powermac and performance wise it behaved
very well, unfortunately I haven't had the chance to test the 30 or 70
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
or server use anyway


   


...

There are Maxtor MaXLine II and III, and perhaps several other models,
that are supposed to work 24/7.



 


Yes, but I don't like Maxtor drives, the ones I've used always failed
after a year or less than a year...
   



Western Digital produces similar drives as well - from
http://store.westerndigital.com/product.asp?sku=2700729: ...24x7 100%
duty cycle–the highest available reliability rating on high capacity
drives...

 


thanks, I need to get some new drives anyway...and WD was on my list...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ad10: WARNING - READ_DMA UDMA ICRC error (retrying request)LBA=11441599

2005-08-10 Thread Mathijs Brands
On 8/10/05, Unix [EMAIL PROTECTED] wrote:

I thought the WD Raptors were supposed to replace the SCSI for that
purpose. I used to run one in a Powermac and performance wise it behaved
very well, unfortunately I haven't had the chance to test the 30 or 70
GB WD Raptor SATA in FreeBSD..S/ATA drives should never be used for 24/7
or server use anyway

I have a FreeBSD 6.0-BETA2 machine that's using a WD Raptor 36 GB using
the on-board controller (VIA 8237) of the Asus A7V880 motherboard and it
works perfectly. The most taxing thing it runs is the occasional
buildworld or (re)build of KDE3 though...

Cheers,

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


Re: sorry for the idiot question, but....

2005-08-10 Thread [EMAIL PROTECTED]
On Wed, 10 Aug 2005 09:07:20 +0200
Stijn Hoop [EMAIL PROTECTED] wrote:

 There is a way to start gnome using the 'startx' method but I don't
 know it.

echo gnome-session  ~/.xinitrc

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


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread [EMAIL PROTECTED]
On Tue, 09 Aug 2005 21:11:53 -0400
William Manley [EMAIL PROTECTED] wrote:

 I am a new FreeBSD user and I have an installation that has gone bad.
 My  problems started when I enabled XDM for a graphical logon into
 Gnome.  When I logged in as root the system just looped back to the
 logon  screen. I then assumed I had configured my .xinitrc file wrong

xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
.Xsession or .xsession file), .xinitrc is only used with the command
startx

 so I  booted the install cdrom into Fixit mode and tried to mount the
 root  filesystem on the hardisk which the operating system would not
 let me  do. The following are the commands I typed with the output.
 
 mount /dev/ad0s1a /mnt
 operation not permitted

you could instead boot from harddisc in single mode (sp?), then remove
xdm or configure xdm properly or use gdm or use gnome-session in your
.xinitrc

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


Re: Encrypted filesystem cgd

2005-08-10 Thread Svein Halvor Halvorsen

* vittorio [2005-08-10 12:26 +0200]
  Is there anything similar in FreeBSD?

As far as I know, there is no encrypted filesystem support in FreeBSD. 
However, there are a couple of disk encryption systems in FreeBSD, GEOM 
and GELI. Both act between the disk and the filesystem layer, translating 
a disk into a (slightly smaller, but encrypted) disk, ontop of which you 
could put any supported filesystem.

And by disk, I actually mean disk, partition, file or anything else you 
could put a filesystem on.

GELI is quite new, and I'm not sure if it's in any releases yet. GEOM 
should be there though. Search the archives and the internet and manpages 
for more info.



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


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread Nikolas Britton
On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 On Tue, 09 Aug 2005 21:11:53 -0400
 William Manley [EMAIL PROTECTED] wrote:
 
  I am a new FreeBSD user and I have an installation that has gone bad.
  My  problems started when I enabled XDM for a graphical logon into
  Gnome.  When I logged in as root the system just looped back to the
  logon  screen. I then assumed I had configured my .xinitrc file wrong
 
 xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
 .Xsession or .xsession file), .xinitrc is only used with the command
 startx
 
  so I  booted the install cdrom into Fixit mode and tried to mount the
  root  filesystem on the hardisk which the operating system would not
  let me  do. The following are the commands I typed with the output.
 
  mount /dev/ad0s1a /mnt
  operation not permitted
 
 you could instead boot from harddisc in single mode (sp?), then remove
 xdm or configure xdm properly or use gdm or use gnome-session in your
 .xinitrc

Single user mode. You can get to it at the boot menu, think it's
option 6, or you can exsacpe to the boot loader and type in boot -s
and hit enter. Once your in single user mode you will need to mount
your partitions, mount /dev/ad0s1f /usr, if your disk is dirty you
will need to run fsck and then remount the root partition in
read/write mode before you can edit your config files. I'm not sure
how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first.
if a xdm startup script is in there rename to something like
xdm.sh-disabled. then type exit to boot into multi user mode and login
as root.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sorry for the idiot question, but....

2005-08-10 Thread Nikolas Britton
On 8/10/05, Gary Kline [EMAIL PROTECTED] wrote:
 Folks,
 
 *Which* ports do I need to install to get Gnome and KDE
 working?  On my laptop (w/ omly 12G of disk) I may not have
 nough room; but on my main server I should have plenty.
 
 I have installed the x11/gnome2 and the x11/kde uberportscripts;
 no joy.  What gives?
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread Nikolas Britton
On 8/10/05, Nikolas Britton [EMAIL PROTECTED] wrote:
 On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Tue, 09 Aug 2005 21:11:53 -0400
  William Manley [EMAIL PROTECTED] wrote:
 
   I am a new FreeBSD user and I have an installation that has gone bad.
   My  problems started when I enabled XDM for a graphical logon into
   Gnome.  When I logged in as root the system just looped back to the
   logon  screen. I then assumed I had configured my .xinitrc file wrong
 
  xdm,gdm,kdm,wdm do not use your .xinitrc (but they can use your
  .Xsession or .xsession file), .xinitrc is only used with the command
  startx
 
   so I  booted the install cdrom into Fixit mode and tried to mount the
   root  filesystem on the hardisk which the operating system would not
   let me  do. The following are the commands I typed with the output.
  
   mount /dev/ad0s1a /mnt
   operation not permitted
 
  you could instead boot from harddisc in single mode (sp?), then remove
  xdm or configure xdm properly or use gdm or use gnome-session in your
  .xinitrc
 
 Single user mode. You can get to it at the boot menu, think it's
 option 6, or you can exsacpe to the boot loader and type in boot -s
 and hit enter. Once your in single user mode you will need to mount
 your partitions, mount /dev/ad0s1f /usr, if your disk is dirty you
 will need to run fsck and then remount the root partition in
 read/write mode before you can edit your config files. I'm not sure
 how XDM etc. is started but I would try in /usr/local/etc/rc.d/ first.
 if a xdm startup script is in there rename to something like
 xdm.sh-disabled. then type exit to boot into multi user mode and login
 as root.
 

It's in the handbook, XDM, here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sendmail relaying from network

2005-08-10 Thread Gerard Seibert
I have three computers networked together - one Freebsd 5.4 and two
WinXP boxes.

I cannot get Sendmail to relay messages from the two WinXP boxes. I
continue to receive an error message that relaying is not allowed. The
only way I can get it to work is to use the FEATURE(`promiscuous_relay')
directive. That is risky, and therefore I do not want to use it.

The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
'gerard.seibercom.net'. What sort of directive should I be using to
allow the WinXP box to send mail through Sendmail and still have a
secure system?


-- 
Gerard E. Seibert
[EMAIL PROTECTED]

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


Re: Encrypted filesystem cgd

2005-08-10 Thread Benjamin Lutz
It's GBDE, not GEOM. GEOM is the system of abstracting disk access, and
GBDE is a GEOM class (as is GELI).

Cheers
Benjamin


signature.asc
Description: OpenPGP digital signature


Re: sorry for the idiot question, but....

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 09:07, Stijn Hoop [EMAIL PROTECTED] wrote:
 There is a way to start gnome using the 'startx' method but I don't
 know it.

1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
   sure it's executable by at least you, the owner of the file.

2. Replace the final commands (that spawn a few useful programs) with:

exec gnome-session

3. Done

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


Re: FreeBSD 5.4 install problem. Newbee needs help.

2005-08-10 Thread RW
On Wednesday 10 August 2005 02:11, William Manley wrote:
 I am a new FreeBSD user and I have an installation that has gone bad. My
 problems started when I enabled XDM for a graphical logon into Gnome.
 When I logged in as root the system just looped back to the logon
 screen. I then assumed I had configured my .xinitrc file wrong so I
 booted the install cdrom into Fixit mode and tried to mount the root
 filesystem on the hardisk which the operating system would not let me
 do. The following are the commands I typed with the output.

If you have a problem with a graphical login-manager, all you need do is hit 
control +alt+ Fn  (Fn being any function key up to 8), and login.

There is no need for single-user mode or the fixit disk.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: RTCoreBSD

2005-08-10 Thread Norbert Koch

   Hi,
   
   I found this real-time OS based on BSD:
  
 
 http://www.sdcsystems.com/realtime-linux.htm#rtcorebsd
   
   I m wondering what technology they used to make
   FreeBSD as a real-time OS. I thought kqueue/kevent
  is
   a key component? any comment?
   
   Thanks
   Sam
  
  I think it's just that *old* rtlinux concept of
  having a hard real time kernel and running the
  operating system as some kind of an idle task
  above that. As far as I remember FSMLabs earlier
  press information talked about using NetBSD for
  that.
  
 Does current version of FreeBSD uses real-time
 scheduler at the kernel? If it does, which part of the
 code (in /usr/src) contains those code?

Depends on what you mean.
FreeBSD is no rtos, but has rtprio(1).
It allows to have fixed process priorities
in contrast to the usual 'varying' unix priorites.
But it is still possible for a high priority process
to be blocked by a lower priority process entering a
system call for a non-deterministic amount of time.
This is at least so for 4.X, but may be less true
for 6.X whith the kernel becoming more and more
preemptable.

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


Panic

2005-08-10 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.

-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iQEVAwUBQvnRILXBHi2y3jwfAQroqQgAg8Fg/N6QLeDgCr553EsVa94M/sXenDqw
zqRtZWYuPOrUv3RqnCNRvIOp1cHtaJl81wafKbCxXmt8OIGdpngegT9m3zP4OGgF
QzEQJ2aKNYOEisQrcx0Su/PfTYnM9MWEt42CO514UbHnFcMopUqyMe+l1UvhqM6O
rAj2UgNZAxvcwGyhqL0YUdZ0mm2jSdgoNjGSqyMj/b5s8oXrCC969ko7EWinPzDM
mELsOBkVnQC40rBXLTlN1SquGbNvLL0tK1MOiqG4waoSaB0q1UC/guG4nIqa0sSF
oVKtSKUhgRKOPmlzW2i6rqU+MU8kLlDA2mmRD5vDlCF0t2yHgG9J9A==
=bTHk
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xmms, stupid question

2005-08-10 Thread RW
On Wednesday 10 August 2005 10:46, slack _usr wrote:
 Hi everyone,

 I'm new to FreeBSD, so I'm using DesktopBSD. But I think, it uses
 FreeBSD ports collection. So, question is, where I can find only xmms
 (plain player). I can find MANY MANY plugins and etc, but I can't find
 simple xmms. Please, help me If someone can.

 And sorry for the stupid question.

 Thanks.

See 'man ports' for how to search for a port
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Panic

2005-08-10 Thread Michael Louie Loria
What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.




Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Panic

2005-08-10 Thread Michael Louie Loria
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

What's this message that I'm receiving

panic: lockmgr: locking against myself
Uptime: 1m31s
Cannot dump: No dump device defined
Automatic reboot in 15 seconds
~ - press a key on the consol to abort


I was just installing KDE when this message appeared. And everytime
I boot into FreeBSD 5.4 using root account, I received that message.

-BEGIN PGP SIGNATURE-
Comment: Public Key: https://www.biglumber.com/x/web?qs=0x4A256EC8
Comment: Public Key: http://www.lorztech.com/GPG.txt
Comment: Yahoo ID: michaellouieloria

iQEVAwUBQvnQQbXBHi2y3jwfAQrufggAjaIuLwtV1UN6K+CuTdG1k00ruPNAeoKj
7kG90ma4MdB+qPm3UMaH2ODIhJMomXSR9lY35QwgOLBfHN9N8twJWQhb7Z6m+990
RMgd5ttQAote3iRyEauITRKtqOQQ5TMN7fmMF7Yscq6nmpehqZWDuMgocCDX9JsU
j/dO8a2VDN5MiLjQl0NM6vOjcy/lR02/7+jl7YBUBLHccsGSYG3tiAs6bfay0Hkw
Ge5HMjfxrR4wGgcvGTptcghf/OTr6WDdchpbuIfF3ew8cDPDo5lgzt2Q22wtJ06v
bQd/wvqYDqg4lF/Y4SsM4YzZas53uta2EGGH3lgH16GHtJuDY/C3Hw==
=prJP
-END PGP SIGNATURE-


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005





Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Long Uptime

2005-08-10 Thread Bjoern A. Zeeb
On Tue, 9 Aug 2005, Bob Bomar wrote:

 I have a machine that is about to turn 700 days
 uptime, and I have no plans on rebooting it any
 time soon.  I just wanted to see if there was
 any infomation from the machine that anybody
 wanted.

Well, I think there are enough people around with nnn days uptime (for
nnn  500).
I myself can think of a handfull of internal machines with such an uptime.

In case you are interested in FreeBSD uptimes see for example:
http://lists.freebsd.org/pipermail/freebsd-advocacy/2003-August/000225.html


PS:
In case this thread will continue please consider freebsd-chat or
freebsd-advocacy.

-- 
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Long Uptime

2005-08-10 Thread Dave Horsfall
On Tue, 9 Aug 2005, Bob Bomar wrote:

 I have a machine that is about to turn 700 days uptime, and I have no 
 plans on rebooting it any time soon.  I just wanted to see if there was 
 any infomation from the machine that anybody wanted.

Its IP address would be a good start :-)

Two years of patches not applied, eh?

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


xorg crashing with kde

2005-08-10 Thread RW
Since the kde update went into ports about a week ago, I've been having a 
problem with xorg crashing.

The problem occurs when a kde session is left in the background by a switch 
to either another x-server or to a virtual terminal, and it's left there long 
enough for the monitor standby timer to expire. The crash actually happens on 
switching back to the kde session.

According to the system console the crash follows a stray irq13, and the xorg 
log indicates it died with signal 8. I cant find any other relevent logging. 
I installed xscreensaver  to see if it could be reproduced under xfce, and it 
couldn't. I can work around the problem  by turning off display power 
management in kde.

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


fdisk maximum partition size

2005-08-10 Thread Valerio daelli
Hi all
does anyone know any maximum limit to the slice size in freebsd?
We would like to create a filesystem of 2.2T.
Is there any limit in fdisk and bsdlabel?
Thanks a lot

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


Re: Sendmail relaying from network

2005-08-10 Thread Lisa Casey
Hi,

  I have three computers networked together - one Freebsd 5.4 and two
  WinXP boxes.

  I cannot get Sendmail to relay messages from the two WinXP boxes. I
  continue to receive an error message that relaying is not allowed. The
  only way I can get it to work is to use the FEATURE(`promiscuous_relay')
  directive. That is risky, and therefore I do not want to use it.

  The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
  FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
  'gerard.seibercom.net'. What sort of directive should I be using to
  allow the WinXP box to send mail through Sendmail and still have a
  secure system?   



  Add the IP addresses of the WinXP boxes to /etc/mail/relay-domains

  See http://www.sendmail.org/faq/section3.html#3.27 in the Sendmail FAQ

  Lisa Casey
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.4/66 - Release Date: 8/9/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Stranges with ARP

2005-08-10 Thread Steve Langdon
Hello all.

Help me to solve a strange conduct.
I want to have permanent bundle with IP-MAC for users in our network to have 
some security. So, once my user's MAC doesn't appear in my ARP table, I have to 
block by ``arp -S ..' his IP with MAC generated by my script with prefix 
d1:fa:28.

One day I have a phone talk with my user, he make complaints against slow speed 
in Internet. When I have checked his IP I feel a terrible :)

tcpdump: listening on rl0
18:48:11.339543 213.238.62.65.80  192.168.57.90.1072: . 
2091947455:2091948915(1460) ack 140637902 win 7441 (DF) [tos 0x60] 
^C
561 packets received by filter
0 packets dropped by kernel

Traffic comes to that user!

[EMAIL PROTECTED]:~ % arp -a | grep -w 192.168.57.90
? (192.168.57.90) at d1:fa:28:ec:87:98 on rl0 permanent [ethernet]
[EMAIL PROTECTED]:~ %

While user is blocked by _our_ generated MAC! Btw, could anyone advice me how 
to block user IP block without touching ipfw (I think to use route + 
``-blackhole' to that user that have no his MAC in my ARP table), any ideas?


[EMAIL PROTECTED]:~ % arping 192.168.57.90
ARPING 192.168.57.90
60 bytes from 00:00:f0:87:4b:ca (192.168.57.90): index=0 time=2.724 msec
60 bytes from 00:00:f0:87:4b:ca (192.168.57.90): index=1 time=9.966 msec
^C
--- 192.168.57.90 statistics ---
2 packets transmitted, 2 packets received,   0% unanswered
[EMAIL PROTECTED]:~ %

His real MAC is 00:00:f0:87:4b:ca. I can't belave this could be. Whats wrong?
As I think all traffic must transmit to d1:fa:28:ec:87:98, NOT to 
00:00:f0:87:4b:ca and user's NIC must ignore that packet unless his interface 
in PROMISC mode. Or I'm wrong?

[EMAIL PROTECTED]:~ % ifconfig rl0 | grep flags
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
[EMAIL PROTECTED]:~ %

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


Re: Encrypted filesystem cgd

2005-08-10 Thread Svein Halvor Halvorsen

* Benjamin Lutz [2005-08-10 14:01 +0200]
  It's GBDE, not GEOM. GEOM is the system of abstracting disk access, and
  GBDE is a GEOM class (as is GELI).

Off course! I was typing a bit fast there!
GEOM Based Disk Encryption


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


RAID Advice

2005-08-10 Thread Graham Bentley
Hello All,

I am setting up FreeBSD 5.4 on a Dell SC1420 server. It has an Adaptec
39320 SCSI Card which will do RAID 1 Hosting. I have Control-A and
enterd the SCSI BIOS and created a RAID Pair from the two 73 GB SCSI
Discs. When I came to install FreeBSD I only used the first disc it
had detected [da0] There was a lot of disc activity and the install
went ok (if not a bit slower than usual) but if I try and mount
/dev/da1 (the second disc) I get no such file or directory - I am
using ;

mount -t ufs /dev/sd1 /mnt

How do I check that the data is mirrored and should I be able to
access this disc if all is correct ?

Also, should I enable write cache on the host card ?

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


Re[2]: Stranges with ARP

2005-08-10 Thread Steve Langdon
Sten, thanks for helping me.

Another question: ``route -blackhole' is the same thing like ``arp -S [IP] 
00:00:00:00:00'? So packet will ignore on router. Or not?

-Original Message-
From: Sten Daniel SЬrsdal [EMAIL PROTECTED]
To: Steve Langdon [EMAIL PROTECTED]
Date: Wed, 10 Aug 2005 15:35:17 +0200
Subject: Re: Stranges with ARP
[snip]
 Using static arp is a very VERY bad idea.
 Consider an flood attack against this IP. All packets will be sent to
 ALL clients and you would have a hard time tracking down the problem.
 
 Just use -blackhole or firewall instead.



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


device driver questions

2005-08-10 Thread m . ehinger
Hi,

i try to write an device driver for Accelerometer in the Thinkpad T series. 
There is an Linux driver already which i ported to
FreeBSD.

So far i got a working version which returns some useful information.

What i want to know is which is the correct way to allocate io ports? I saw 
some drivers using bus_alloc_resource and some use
bus_space_map.

What is the safest way to read/write to an io port? Simply inb/outb or 
bus_space_write_N/bus_space_read_N ?

Any help would be appreciated

Thanks

Maik

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


Re: RAID Advice

2005-08-10 Thread Joachim Dagerot

Your RAID system is only reported as one single device to the OS. To see status 
of your RAID arrays you'll need to use the RAID mgmt software that Adaptec 
probably provides.


On 2005-08-10 Graham Bentley  wrote:

Hello All,

I am setting up FreeBSD 5.4 on a Dell SC1420 server. It has an Adaptec
39320 SCSI Card which will do RAID 1 Hosting. I have Control-A and
enterd the SCSI BIOS and created a RAID Pair from the two 73 GB SCSI
Discs. When I came to install FreeBSD I only used the first disc it
had detected [da0] There was a lot of disc activity and the install
went ok (if not a bit slower than usual) but if I try and mount
/dev/da1 (the second disc) I get no such file or directory - I am
using ;

mount -t ufs /dev/sd1 /mnt

How do I check that the data is mirrored and should I be able to
access this disc if all is correct ?

Also, should I enable write cache on the host card ?

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




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


Re: AC97 audio not working

2005-08-10 Thread Bob Johnson
On 8/10/05, ananth_g [EMAIL PROTECTED] wrote:
 hi ,
   i have an on board ac97 sound. but its not working with 5.3 stable. 
 what kernel module should i
 load for using ac97 audio?
 

Have you seen 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html
?

If the instructions there don't work, perhaps kldload
/boot/kernel/snd_*.ko will get a working driver loaded, then cat
/dev/sndstat will tell you which one it is.

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


Switching left and right sound channels

2005-08-10 Thread John Oxley
Hi,

I am running FreeBSD 5.4-RELEASE-p2.  I have a CMI sound card, 
04:01.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev
10)

I think either my headphones are dodgy, or the sound card is
misconfigured, and sound is coming out the wrong speakers.  How do I
swap the channels in software.

TIA,

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


Re: fdisk maximum partition size

2005-08-10 Thread dpk
On Wed, 10 Aug 2005, Valerio daelli wrote:

 Hi all
 does anyone know any maximum limit to the slice size in freebsd?
 We would like to create a filesystem of 2.2T.
 Is there any limit in fdisk and bsdlabel?
 Thanks a lot

fdisk does not support 2TB partitions -- at least, I've been unable to
get it to work, just gives me zeros. From the advice I've read, what you'd
be best off doing is skipping fdisk and labeling and just run newfs
against the drive itself. IE:

newfs /dev/da0

Of course, this means you will not be able to boot off of the large
device. That's the price we pay for being on the cutting edge.

There are still several utilities that do not yet handle large partitions
-- the project page is available here:

http://www.freebsd.org/projects/bigdisk/

Another option for you is available if you're using the 3Ware cards: you
can enable auto-carving in its BIOS, to split the device into 2TB
chunks. FreeBSD 5.4-RELEASE can only read the first of these chunks, but
if you update to 5.4-STABLE, with its new twa driver, you can access the
other chunks. (* There may be a better term than chunks, but slices
and partitions are already used interchangably (and non-interchangably),
so I'm going with chunks.) This works out pretty well in practice except
for having to divide files between mount points by hand.

If you run into any panics or bugs about this please open PRs. There only
seems to be a few of us FreeBSD users with multi-terabyte partitions and
there are still some bugs to be worked out. You may not be able to get a
kernel dump (I wasn't, even with 5.4-R and 1TB partitions (had to put the
server into production before I could report this bug unfortunately))
but you could still get a backtrace for the developers to use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread Ted Mittelstaedt

See

http://www.testdrive.hp.com/

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of lars
Sent: Tuesday, August 09, 2005 2:49 PM
To: freebsd-questions@freebsd.org
Subject: Anyone successfully running FreeBSD on a HP Proliant DL385?


Hi all,

I've just been to the FreeBSD Proliant website
http://people.freebsd.org/~jcagle/

I also checked the [EMAIL PROTECTED] archive,
apart from John Cagle's welcome message it's empty.

Before I ask him I want to turn to this list.

Judging by the variety of tools available on the site
it doesn't look that bad for FreeBSD on these machines.



But I'm still interested whether anyone's already running
FreeBSD STABLE on a DL385,
maybe even with
~3GB RAM,
an Opteron CPU,
~4 SCSI disks in a RAID-5 array hosted by the onboard Smart 
Array 6i chip,
a hot-swappable DAT72 tape drive,
and iLO.

Are all devices working well, are the HDDs and the tape drive 
hot-swappable,
is the iLO working as it should?

Any issues?

I'd really like to drive this machine with FreeBSD,
but I can't afford to waste more than 3 days testing functionality
before it has to be productive.
So I'd be really thankful for any information on this combination.

Kind regards,
Lars.

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

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


able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Kenny
Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.

Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
following command:
mount -t ntfs /dev/ad0s1 /mnt

However, when I tried to mount ad0s3 using the same command, it does
never work. The error message is just as this:
Kenny# mount -t ntfs /dev/ad0s3/ /mnt
ntfs: /dev/ad0s3: Invalid argument


It seemed no use for me to get help from the handbook. What is wrong?
Oh, I am quite puzzled.
Waiting for your help, thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread lars
Ted Mittelstaedt wrote:
 See
 
 http://www.testdrive.hp.com/
Ah, right.

Should have thought about that.

Thanks, I'll check it out.

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


named -n paramter

2005-08-10 Thread Mipam
Hi,

With threads disabled in bind9, is it still 
usefull to give
-n 2 for example if you got a system with 2 cpu's?
The man page only mentioned worker threads...
Bye,

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


kernel debugger

2005-08-10 Thread Sergey Lapin
Hi!
We have some networking problem, with PF and route-to, actually,
system locks and
sends junk to net. But I'm able to enter debugger. Is it possible to
localize problem using it?
I have acess to console and get do debugger prompt. I'd like to make
proper report using debugger to send to freebsd-pf list.

Thanks a lot!

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


Re: Sendmail relaying from network

2005-08-10 Thread Chuck Swiger

Gerard Seibert wrote:
[ ... ]

The two WinXP boxes are 192.168.0.3 and 192.168.0.2 respectively. The
FreeBSD box is names 'ges.seibercom.net' and the main WinXP box is
'gerard.seibercom.net'. What sort of directive should I be using to
allow the WinXP box to send mail through Sendmail and still have a
secure system?


cd /etc/mail/
echo 192.168.0 RELAY  access
make all restart

--
-Chuck

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


Re: able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Jerry McAllister
 
 Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.
 
 Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
 following command:
 mount -t ntfs /dev/ad0s1 /mnt
 
 However, when I tried to mount ad0s3 using the same command, it does
 never work. The error message is just as this:
 Kenny# mount -t ntfs /dev/ad0s3/ /mnt
 ntfs: /dev/ad0s3: Invalid argument
 

Was /dev/ad0s1 still mounted?
You would need a different mount point.

The only other difference I can see is the trailing / in the second one.

jerry

 It seemed no use for me to get help from the handbook. What is wrong?
 Oh, I am quite puzzled.
 Waiting for your help, thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

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


It is possible? Emails - backups.

2005-08-10 Thread Carstea Catalin
How can i configure 2 server of mail :
1. One to serve my users on LAN (pop3 , smtp);
2. the second serverer is the backup of mail boxes of first server and 
more: 
 - if first server is down this server gets emails for my lan users? 
  Ex: [internet]-[first mail server]-[second mail server 
- with same mailboxes as first]-[LAN]
 3. I want to run postfix.
...
It is possible?
.
tks!

-- 

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


Simple question of dns?

2005-08-10 Thread Carstea Catalin
I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com http://www.mail.mydomain.com
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/home on a separate slice on cloned system

2005-08-10 Thread Ewald Jenisch

Hi,

I'm currently in the process of cloning
FreeBSD-installations. Machines are (almost) identical - only HD-sizes
are different.

So I installed the master-system as follows:

I set up two slices on the HD. The first slice contains /, swap, /var,
/tmp, and /usr; the second slice only contains /home. During
installation I installed the FreeBSD boot manager. Everything's
running perfect on the master machine (besides the small issue that
the FreeBSD boot manager lets me choose between two (!) installations
- I assume this comes because I've got two slices).

The next step was cloning: On the target machine (slave) I set up
two FreeBSD partitions (i.e. slices in BSD-lingo: the first one
exactly equal to the first slice on the master machine, the second one
a little smaller. The cloning process itself went OK without problems
- I cloned the first slice from the master- to the slave-machine.

After copying over the data I only had to boot with the FreeBSD
Install-CD on the slave-system one time in order to write the boot
manager and the machine booted without problems.

Now for the problem: Upon boot the slave machine says it can't find
the /home-partition, i.e. hda2d, and goes into single-user mode. Sure
enough once I comment out the respective entry in /etc/fstab the box
runs without problems.

In order to get /dev/hda2d mounted as root I've already tried writing
the partition table (sysinstall - Index - Partition - w) and I've
also labelled the disk (Sysinstall - Index - Label) but that didn't
solve my problem either.


So my question: How do I prepare the second slice /dev/hda2d on the
slave machine in order to get mounted as /home?

Thanks much in advance for any clue,
-ewald



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


Re: /home on a separate slice on cloned system

2005-08-10 Thread Garrett Cooper

Ewald Jenisch wrote:


Hi,

I'm currently in the process of cloning
FreeBSD-installations. Machines are (almost) identical - only HD-sizes
are different.

So I installed the master-system as follows:

I set up two slices on the HD. The first slice contains /, swap, /var,
/tmp, and /usr; the second slice only contains /home. During
installation I installed the FreeBSD boot manager. Everything's
running perfect on the master machine (besides the small issue that
the FreeBSD boot manager lets me choose between two (!) installations
- I assume this comes because I've got two slices).

The next step was cloning: On the target machine (slave) I set up
two FreeBSD partitions (i.e. slices in BSD-lingo: the first one
exactly equal to the first slice on the master machine, the second one
a little smaller. The cloning process itself went OK without problems
- I cloned the first slice from the master- to the slave-machine.

After copying over the data I only had to boot with the FreeBSD
Install-CD on the slave-system one time in order to write the boot
manager and the machine booted without problems.

Now for the problem: Upon boot the slave machine says it can't find
the /home-partition, i.e. hda2d, and goes into single-user mode. Sure
enough once I comment out the respective entry in /etc/fstab the box
runs without problems.

In order to get /dev/hda2d mounted as root I've already tried writing
the partition table (sysinstall - Index - Partition - w) and I've
also labelled the disk (Sysinstall - Index - Label) but that didn't
solve my problem either.


So my question: How do I prepare the second slice /dev/hda2d on the
slave machine in order to get mounted as /home?

Thanks much in advance for any clue,
-ewald
 

   Where exactly is the /home directory you want to mount on your slave 
machine? If it's located on your 'master' machine, you can use NFS to 
share the directory and just create a reference in fstab to the location 
of the NFS mounted drive on your 'slave' machine.

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


Re: able to mount ad0s1, but unable to mount ad0s3!

2005-08-10 Thread Garrett Cooper

Jerry McAllister wrote:


Well, my FreeBSD reside in ad0s2. While  ad0s1 and ad0s3 is for Windows.

Both ad0s1 and ad0s3 are NTFS. I can easily mount ad0s1 by typing the
following command:
mount -t ntfs /dev/ad0s1 /mnt

However, when I tried to mount ad0s3 using the same command, it does
never work. The error message is just as this:
Kenny# mount -t ntfs /dev/ad0s3/ /mnt
ntfs: /dev/ad0s3: Invalid argument

  



Was /dev/ad0s1 still mounted?
You would need a different mount point.

The only other difference I can see is the trailing / in the second one.

jerry
 

That trailing '/' would be the cause of the issue since the nodes for 
disk paritions/slices are seen by the FS as flat files in FreeBSD and 
not directories.

-Garrett

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


Re: /home on a separate slice on cloned system

2005-08-10 Thread Ewald Jenisch

Where exactly is the /home directory you want to mount on your slave 
 machine? If it's located on your 'master' machine, you can use NFS to 
 share the directory and just create a reference in fstab to the location 
 of the NFS mounted drive on your 'slave' machine.

Hi Garrett,

Sorry for not making that clear in the first place: I want to have an
*empty* /home on the slave machine, just a partition that can be
mounted under /home. My /home on the slave machine is /dev/hda2d like
on the slave machine albeit with a different size.

(The reason is I want to clone installations having an empty /home on
the slave machines that can be populated later on)

So my problem is on how to set up a partition, say /dev/hda2d on the
slave machine in order to be able to mount it as /home.

-ewald


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


(also 5.4) re: Abort Trap for cron-jobs in 5.3

2005-08-10 Thread Chad Leigh -- Shire . Net LLC

a few months ago the following appeared  in -stable


In the last episode (Mar 15), Niklas Saers said:
 On Tue, 15 Mar 2005, Niklas Saers wrote:
  I've got four servers that all have the same problem: when jobs get
  started from Cron, they die after some time with an Abort trap.
  Jobs that are dying are:
 
  /usr/libexec/atrun  /var/log/cron 21 /usr/bin/nice -10 /usr/ 
local/bin/zsh /root/bin/sendBarkMail.sh  /dev/null 21

 
  I also get this on virtually every shell-script that uses tar,  
leaving my

  filesystem littered with bsdtar.core files.
 
  Running these jobs from the command prompt works fine. Any  
suggestions on
  what may be causing them to die from cron? sendBarkMail.sh  
simply moves

  mails from one folder to another periodically

 Note to self: ask the question. ;-)

 What I'm wondering about is: what could be causing the Abort Trap's?

 World and kernel are a recent RELENG_5_3 compiled like described in
 src/UPDATING.

What's the stack trace from one of those cores?

Also, try not redirecting stdout and stderr to /dev/null; you are
probably discarding a valuable error message.

--
Dan Nelson
dnelson at allantgroup.com


I saw the same thing in 5.3 and newly upgraded to 5.4 and it is still  
happening.  It seems to happen randomly.  There is no output or error  
redirection  and nothing useful in the output/error stream that I can  
see.  Mostly inside of jails.





To: [EMAIL PROTECTED]
From: Cron Daemon [EMAIL PROTECTED]
Date: Wed, 10 Aug 2005 11:55:04 -0400
Subject: Cron [EMAIL PROTECTED] /usr/libexec/atrun

Abort trap



Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re: /home on a separate slice on cloned system

2005-08-10 Thread Garrett Cooper

Ewald Jenisch wrote:

  Where exactly is the /home directory you want to mount on your slave 
machine? If it's located on your 'master' machine, you can use NFS to 
share the directory and just create a reference in fstab to the location 
of the NFS mounted drive on your 'slave' machine.
   



Hi Garrett,

Sorry for not making that clear in the first place: I want to have an
*empty* /home on the slave machine, just a partition that can be
mounted under /home. My /home on the slave machine is /dev/hda2d like
on the slave machine albeit with a different size.

(The reason is I want to clone installations having an empty /home on
the slave machines that can be populated later on)

So my problem is on how to set up a partition, say /dev/hda2d on the
slave machine in order to be able to mount it as /home.

-ewald
 

Oh, that's simple then. Just run mkfs_ufs (or something like that) 
/dev/hda2d (that is if the slice exists... run sysinstall and modify 
where necessary to add the slice). Then on your next reboot everything 
should work just fine if you formatted the slice. Otherwise if you 
already have a slice formatted and ready to go, just use that slice in 
fstab.

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


Script - Tentation! ( for experts )

2005-08-10 Thread Carstea Catalin
I want to make a script but i don't know how. Please help me! 
 1.I want one script that put MAC address automaticaly to my ruleset of ipfw 
and restart at the end of script ipfw - service .
2.In this script ipfw has rules to permit only some MAC addresses and deny 
others.
 *Ex: /etc/firewall.sh -add 00:23:f3:23:a0:e4 -name WS1*
 In this script ( /etc/firewall.sh ) are my rules to permit only MAC address 
of my LAN users specified with this inputs (*-add 00:23:f3:23:a0:e4 -name 
WS1)*
..
To make this script a must verify if exist -add and if exist i must verify 
if exist  02:23 (the MAC) and after if exist -name and ws#

.after i must add this MAC adress to ipfw command in the 
/etc/firewall.sh
..
 If exist one expert that can helpe me please give me the script! Tks!
 
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: It is possible? Emails - backups.

2005-08-10 Thread Dan Nelson
In the last episode (Aug 10), Carstea Catalin said:
 How can i configure 2 server of mail :
 1. One to serve my users on LAN (pop3 , smtp);
 2. the second serverer is the backup of mail boxes of first server and 
 more: 
  - if first server is down this server gets emails for my lan users? 
   Ex: [internet]-[first mail server]-[second mail server 
 - with same mailboxes as first]-[LAN]
  3. I want to run postfix.

For SMTP traffic, it's easy: just edit your DNS and add two MX records
tor mydomain.com, one pointing to each server.  Incoming emails will
deliver to one and try the other if the first fails.

Clustering the actual stored messages is a lot harder.  I don't have
any suggestions there.

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


Re: Script - Tentation! ( for experts )

2005-08-10 Thread Garrett Cooper

Carstea Catalin wrote:

I want to make a script but i don't know how. Please help me! 
1.I want one script that put MAC address automaticaly to my ruleset of ipfw 
and restart at the end of script ipfw - service .
2.In this script ipfw has rules to permit only some MAC addresses and deny 
others.

*Ex: /etc/firewall.sh -add 00:23:f3:23:a0:e4 -name WS1*
In this script ( /etc/firewall.sh ) are my rules to permit only MAC address 
of my LAN users specified with this inputs (*-add 00:23:f3:23:a0:e4 -name 
WS1)*

..
To make this script a must verify if exist -add and if exist i must verify 
if exist  02:23 (the MAC) and after if exist -name and ws#


.after i must add this MAC adress to ipfw command in the 
/etc/firewall.sh

..
If exist one expert that can helpe me please give me the script! Tks!

Carstea Catalin
 

Based on all of your emails lately, it sounds like you need a consultant 
more than just answers to some questions :).

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


Re: Simple question of dns?

2005-08-10 Thread Hornet
On 8/10/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
  http://www.mail.mydomain.com http://www.mail.mydomain.com
  to
  http://mail.mydomain.com
  Many users do first request and my server respond only al the second url.
  Tks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

DNS will not do redirects, that's a function of a web server.
You can do an aliases. The format would be like this in the zone file.

www.mail   IN   CNAMEmail.domain.com.

So going to www.mail.domain.com is the same as using mail.domain.com.
The only time it is not good to do the above, is when your web server
is doing name based virtual hosting.

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


Re: Simple question of dns?

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 10:01, Carstea Catalin [EMAIL PROTECTED] wrote:
 I want to configure my dns to redirect all request from :
 http://www.mail.mydomain.com http://www.mail.mydomain.com
 to
 http://mail.mydomain.com
 Many users do first request and my server respond only al the second url.
 Tks!

1. Add a DNS entry that points to the same IP address.
2. Configure your web server to respond to both names (ala virtual hosting).

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


Re: Simple question of dns?

2005-08-10 Thread Micheal Patterson



- Original Message - 
From: Carstea Catalin [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Wednesday, August 10, 2005 12:01 PM
Subject: Simple question of dns?


I want to configure my dns to redirect all request from :
http://www.mail.mydomain.com http://www.mail.mydomain.com
to
http://mail.mydomain.com
Many users do first request and my server respond only al the second url.
Tks!


If you have access to your dns zone file, add a cname entry:

www.mail  CNAME   mail.mydomain.com.


--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain 
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended 
recipient, please contact the sender by reply e-mail and destroy all 
copies of the original message.


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


Re: 5.4-rel Bootloader Wedgie on Supermicro 5013C-MT

2005-08-10 Thread Joe Hamelin
http://www.freebsd.org/cgi/query-pr.cgi?pr=84717


On 8/9/05, Joe Hamelin [EMAIL PROTECTED] wrote:
 NM: I RTFWP and submitted a bug.  I'll let you guys know how it turns out.
 
 
 On 8/9/05, Joe Hamelin [EMAIL PROTECTED] wrote:
   
What happens when you boot from floppies?
   
   The box doesn't come with a floppy drive.  The space where the floppy
   would be has two usb ports and a serial port.  The box does support
   bios serial booting.  I did do a standard install on another box and
   then moved the drive to the supermicro box... it hung at the daemond
   screen.
  
  So, does anyone have any ideas?  Does someone need a Supermicro
  5013C-MT to play with?  Who should I submit a bug report to?
 

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


Re: i8xx drm support

2005-08-10 Thread Robert Marella

Jean-Francois wrote:


why the hell dont FreeBSD have drm suopport for the intel graphic
cards ???. its been in linux for a long time. cant you guys port it.

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

 


If it is important to you then it should be worth some effort on your part.

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

Thank you in advance for your contribution.

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


using Linux aaccli in a cron job

2005-08-10 Thread Chad Leigh -- Shire.Net LLC

Hi

I have a 5.4-R system with an Adaptec 2200S.  I also have Linux  
emulation running and the aac_linux kernel module installed and I can  
run the aaccli program successfully in a terminal window and use it  
to check status of the RAID controller.  However, if I do it from a  
cron job (same script as I run in a terminal) I get no output.   
aaccli uses terminal control commands and I suspect it is detecting  
that it is not connected to a terminal and hence not running.   
However, I so-far have not been able to get the Cron output to check  
for errors due to the fact that the mail server rejects it for not  
having a valid From/Sender and cron does not seem to set a From on  
its mail or something.


Any ideas on how to get this aaccli program to run in a cron job?

Adaptec really took a step backwards when they went to this aaccli  
from the earlier raidutils used with asr devices.  The output is  
cryptic and a pita to work with.


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


Re: RAID Advice

2005-08-10 Thread Jörg Reisenweber

Hi,

Am 10.08.2005 um 15:45 schrieb Graham Bentley:


I am setting up FreeBSD 5.4 on a Dell SC1420 server.


I don't know if the afacli works with your controller, but you might  
want to check out /usr/ports/sysutils/linux-afaapps and http:// 
ftp1.us.dell.com/scsi-raid/.


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


Re: using Linux aaccli in a cron job

2005-08-10 Thread Dan Nelson
In the last episode (Aug 10), Chad Leigh -- Shire.Net LLC said:
 I have a 5.4-R system with an Adaptec 2200S.  I also have Linux
 emulation running and the aac_linux kernel module installed and I can
 run the aaccli program successfully in a terminal window and use it
 to check status of the RAID controller.  However, if I do it from a
 cron job (same script as I run in a terminal) I get no output. 
 aaccli uses terminal control commands and I suspect it is detecting
 that it is not connected to a terminal and hence not running. 
 However, I so-far have not been able to get the Cron output to check
 for errors due to the fact that the mail server rejects it for not
 having a valid From/Sender and cron does not seem to set a From on
 its mail or something.

Cron should always set From, To, and Subject:

fprintf(mail, From: %s (Cron Daemon)\n, usernm);
fprintf(mail, To: %s\n, mailto);
fprintf(mail, Subject: Cron [EMAIL PROTECTED] %s\n,
usernm, first_word(hostname, .),
e-cmd);

 
 Any ideas on how to get this aaccli program to run in a cron job?
 
 Adaptec really took a step backwards when they went to this aaccli
 from the earlier raidutils used with asr devices.  The output is
 cryptic and a pita to work with.

It seems to work for me on a PowerEdge 2550 and a PERC 3/Di card. 
Putting something like this in cron:

/usr/local/bin/aaccli open /readonly aac0 : enclosure show status : disk show 
smart : container list /full : diagnostic show text

gives me a whole lot of info back in the email.

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


Re: sorry for the idiot question, but....

2005-08-10 Thread Gary Kline
On Wed, Aug 10, 2005 at 09:07:20AM +0200, Stijn Hoop wrote:
 On Tue, Aug 09, 2005 at 11:29:20PM -0700, Gary Kline wrote:
  Folks, 
  
  *Which* ports do I need to install to get Gnome and KDE
  working?  On my laptop (w/ omly 12G of disk) I may not have
  nough room; but on my main server I should have plenty.
  
  I have installed the x11/gnome2 and the x11/kde uberportscripts;
  no joy.  What gives?
 
 Well that should be enough; I don't know about KDE but as for GNOME
 you can simply turn on the knob
 
 gdm_enable=YES
 
 in /etc/rc.conf and then execute
 
 /usr/X11R6/etc/rc.d/gdm.sh start
 
 Note: only do this after you configured X to work right; GDM starts X
 as part of a graphical login screen.
 
 There is a way to start gnome using the 'startx' method but I don't
 know it.
 

I didn't know about the entry in rc.conf; thanks much!
Generally, I use xdm to get into X and ctwm.

Without exiting ctwm, I exec'd the gdm.sh script.
It looked like Gnome was going to work; then everything
died and I was back to my root login (no X).

I'll try gdm (from scratch!) and see what happens.  Thanks
for the clue.

gary


script is (probably) the Gnome equivalent.  Do I need
gdm rathr than xdm or will xdm let me 



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Can't install php5-apache20 combination

2005-08-10 Thread bob self
I have a new installation of 5.4-RELEASE and am trying to get apache2 
with php5 support installed.

No luck so far. In what order should I do this? I've tried this:

*portupgrade -vN php5*
   These are the options that I selected

   APACHE2(yes. I changed this from 'no')
   DEBUG(no)
   MULTIBYTE(no)
   IPV6(yes. It was the default)

*portupgrade -vN php5-extensions*
   I selected the following additional options (I've used gd, imagick, 
etc in the past with php, so I'll be wanting these.
   Does it hurt to just select all options in case you might need them 
later?)


   BZ2
   CALENDAR
   CURL
   GD
   IMAGICK
   MYSQL
   NCURSES
   PDF
   READLINE
   ZIP
   ZLIB


That seemed go ok, but my phpinfo() does not show anything about mysql, 
which is the main php support that I'm trying to get.

Then I tried this:

*portupgrade -vN apache20*

But I get an error message No such installed package or port: 
apache20, which exists in /usr/ports/www/apache20.



I uninstalled php5 to start over.

So, how can I install apache2 with php5 and the necessary extensions? Is 
there a way just install apache20 and make the

installation install whatever you need, including php5 in the right order?

thanks,
Bob



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


Re: Can't install php5-apache20 combination

2005-08-10 Thread Beecher Rintoul
On Wednesday 10 August 2005 12:09 pm, bob self wrote:
 I have a new installation of 5.4-RELEASE and am trying to get apache2
 with php5 support installed.
 No luck so far. In what order should I do this? I've tried this:

 *portupgrade -vN php5*
 These are the options that I selected

 APACHE2(yes. I changed this from 'no')
 DEBUG(no)
 MULTIBYTE(no)
 IPV6(yes. It was the default)

 *portupgrade -vN php5-extensions*
 I selected the following additional options (I've used gd, imagick,
 etc in the past with php, so I'll be wanting these.
 Does it hurt to just select all options in case you might need them
 later?)

 BZ2
 CALENDAR
 CURL
 GD
 IMAGICK
 MYSQL
 NCURSES
 PDF
 READLINE
 ZIP
 ZLIB


 That seemed go ok, but my phpinfo() does not show anything about mysql,
 which is the main php support that I'm trying to get.
 Then I tried this:

 *portupgrade -vN apache20*

 But I get an error message No such installed package or port:
 apache20, which exists in /usr/ports/www/apache20.


 I uninstalled php5 to start over.

 So, how can I install apache2 with php5 and the necessary extensions? Is
 there a way just install apache20 and make the
 installation install whatever you need, including php5 in the right order?

 thanks,
 Bob


Since you have apache installed, install /usr/ports/www/mod_php5

That will do what you want.

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











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


Re: sorry for the idiot question, but....

2005-08-10 Thread Giorgos Keramidas
On 2005-08-10 13:06, Gary Kline [EMAIL PROTECTED] wrote:
On Wed, Aug 10, 2005 at 03:04:43PM +0300, Giorgos Keramidas wrote:
 On 2005-08-10 09:07, Stijn Hoop [EMAIL PROTECTED] wrote:
  There is a way to start gnome using the 'startx' method but I don't
  know it.

 1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
sure it's executable by at least you, the owner of the file.

 2. Replace the final commands (that spawn a few useful programs) with:

  exec gnome-session

 3. Done

 I should've read all responces evidently!  Giorgos, can I (dare I,
 can/should I) put my miscellanous commands into .xinitrc, or are these
 simply ignored by the parser?

The .xinitrc file is a shell script that is executed by startx.  All the
commands you put in there will be run, but watch out for one thing: you
are not allowed to start commands or programs that may block for any
amount of time.  The commands of the .xinitrc shell script are executed
by a /bin/sh instance in the order they appear, so if you use:

xterm
fluxbox

then fluxbox will only start *after* xterm finishes.

The solution to this minor problem is to start everything but the last
command in the background:

xterm 
fluxbox

To emphasize one more important aspect (that after the last command
exits, then the X session terminates too), I frequently prefix the last
command with exec, as in:

xterm 
exec fluxbox

just as a tip to myself that when the last command exits X will exit too.

 Also: can I use .xsession instead of .xinitrc?  --I have several
 non-Gnome apps placed at various X+Y locations...

The .xsession script is used by login managers, like XDM, GDM or KDM
instead of .xinitrc.  Only one of the two will run at any time.

- Giorgos

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


nocona/prescott

2005-08-10 Thread Michael Conlen
I saw in bsd.cpu.mk that it converts CPUTYPE from prescott to nocona  
if you're on an AMD processor and a nocona to prescott if you're on  
an i386 processor. Isn't a nocona an Intel processor?


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


Re: sorry for the idiot question, but....

2005-08-10 Thread Gary Kline
On Wed, Aug 10, 2005 at 11:30:55PM +0300, Giorgos Keramidas wrote:
 On 2005-08-10 13:06, Gary Kline [EMAIL PROTECTED] wrote:
 On Wed, Aug 10, 2005 at 03:04:43PM +0300, Giorgos Keramidas wrote:
  On 2005-08-10 09:07, Stijn Hoop [EMAIL PROTECTED] wrote:
   There is a way to start gnome using the 'startx' method but I don't
   know it.
 
  1. Copy over /usr/X11R6/lib/X11/xinit/xinitrc to ~/.xinitrc and make
 sure it's executable by at least you, the owner of the file.
 
  2. Replace the final commands (that spawn a few useful programs) with:
 
 exec gnome-session
 
  3. Done
 
  I should've read all responces evidently!  Giorgos, can I (dare I,
  can/should I) put my miscellanous commands into .xinitrc, or are these
  simply ignored by the parser?
 
 The .xinitrc file is a shell script that is executed by startx.  All the
 commands you put in there will be run, but watch out for one thing: you
 are not allowed to start commands or programs that may block for any
 amount of time.  The commands of the .xinitrc shell script are executed
 by a /bin/sh instance in the order they appear, so if you use:
 
   xterm
   fluxbox
 
 then fluxbox will only start *after* xterm finishes.
 
 The solution to this minor problem is to start everything but the last
 command in the background:
 
   xterm 
   fluxbox
 
 To emphasize one more important aspect (that after the last command
 exits, then the X session terminates too), I frequently prefix the last
 command with exec, as in:
 
   xterm 
   exec fluxbox
 
 just as a tip to myself that when the last command exits X will exit too.
 
  Also: can I use .xsession instead of .xinitrc?  --I have several
  non-Gnome apps placed at various X+Y locations...
 
 The .xsession script is used by login managers, like XDM, GDM or KDM
 instead of .xinitrc.  Only one of the two will run at any time.
 

Outstanding.

thanks,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Sound Blaster SB0410 vs. 5.4

2005-08-10 Thread hal

Just bought a Creative Labs Sound Blaster SB0410 sound card.

It uses the EMU10K1 chipset.

The hardware notes imply that this card will work with FreeBSD 5.4.

I am using the card in a SuperMicro X5DP8-G2 motherboard PCI-X slot.

Here is what I have tried.

From the snd_emu10k1(4) man page:

In the kernel configuration file:

devicesound
devicesnd_emu10k1

From the sound(4) man page:

In the /boot/device.hints file:

hint.pcm.0.at=isa
hint.pcm.0.irq=5
hint.pcm.0.drq=1
hint.pcm.0.flags=0x0

In the /boot/loader.conf file:

snd_emu10k1_load=YES

I have tried all the above alone and in various combinations.

cat /dev/sndstat reports no installed devices.

Does anyone know how to make this thing work with FreeBSD 5.4?

hal

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


Re: using Linux aaccli in a cron job

2005-08-10 Thread Chad Leigh -- Shire.Net LLC


On Aug 10, 2005, at 1:23 PM, Dan Nelson wrote:


In the last episode (Aug 10), Chad Leigh -- Shire.Net LLC said:


I have a 5.4-R system with an Adaptec 2200S.  I also have Linux
emulation running and the aac_linux kernel module installed and I can
run the aaccli program successfully in a terminal window and use it
to check status of the RAID controller.  However, if I do it from a
cron job (same script as I run in a terminal) I get no output.
aaccli uses terminal control commands and I suspect it is detecting
that it is not connected to a terminal and hence not running.
However, I so-far have not been able to get the Cron output to check
for errors due to the fact that the mail server rejects it for not
having a valid From/Sender and cron does not seem to set a From on
its mail or something.



Cron should always set From, To, and Subject:

fprintf(mail, From: %s (Cron Daemon)\n, usernm);
fprintf(mail, To: %s\n, mailto);
fprintf(mail, Subject: Cron [EMAIL PROTECTED] %s\n,
usernm, first_word(hostname, .),
e-cmd);


maybe ssmtp is doing something with it then since mail I send from  
inside my script (the script calls sendmail to email me -- not the  
cron output) works but the cron generated mail fails on the mail  
server with an unable to find a valid sender in any header (checks  
done on Sender, From:,  Reply-To)







Any ideas on how to get this aaccli program to run in a cron job?

Adaptec really took a step backwards when they went to this aaccli
from the earlier raidutils used with asr devices.  The output is
cryptic and a pita to work with.



It seems to work for me on a PowerEdge 2550 and a PERC 3/Di card.
Putting something like this in cron:

/usr/local/bin/aaccli open /readonly aac0 : enclosure show status :  
disk show smart : container list /full : diagnostic show text


That works better than what I was doing.  I have a script I feed to  
aaccli, which work in a terminal but not in cron.  Thanks!  The  
script idea (./aaccli  script) was recommended to me from an Adaptec  
person...


Thanks
Chad



gives me a whole lot of info back in the email.

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




---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


mDNS inside of a jail or not

2005-08-10 Thread Chad Leigh -- Shire.Net LLC

On an i386 machine with 5.4-R p1 and p6

I want to run some mDNS services inside a jail.  I am using testing  
programs from Apple from http://developer.apple.com/darwin/projects/ 
bonjour/


Inside the jail the various apps that build when you build the Apple  
project run but they don't seem to talk to each other.


I run them outside of the jail and they die with unknown  
error (actually with code -65537 but that is unknown_error according  
to the source).


Has anyone gotten any mDNS type services running on FreeBSD inside or  
outside of a jail?


Thanks
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[EMAIL PROTECTED]


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


problems with uscanner and HP ScanJet 4300C

2005-08-10 Thread P.U.Kruppa

Hi,

I am trying to set up my HP ScanJet 4300C on FreeBSD 6.0-BETA2
as described in
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/scanners.html

When I attach the scanner to an USB port, dmesg shows this

---
uscanner1: vendor 0x03f0 product 0x0305, rev 1.00/0.00, addr 2
uscanner1: setting config no failed
device_attach: uscanner1 attach returned 6
uhub0: port 1, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 1
uscanner2: vendor 0x03f0 product 0x0305, rev 1.00/0.00, addr 2
uscanner2: setting config no failed
device_attach: uscanner2 attach returned 6
uhub0: port 1, set config at addr 2 failed
uhub0: device problem (STALLED), disabling port 1
-

Of course
  # sane-find-scanner
now won't find anything.

Can anybody help me with this?

Thanks,

Uli.


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


Re: Anyone successfully running FreeBSD on a HP Proliant DL385?

2005-08-10 Thread lars
Ted Mittelstaedt wrote:
 See
 
 http://www.testdrive.hp.com/

Unfortunately only these machines are setup for FreeBSD:

Integrity rx16202 Itanium II, 1.6 GHz   spe150.testdrive.hp.com 
AlphaStation XP1000 1 EV67, 667 MHz spe149.testdrive.hp.com 
ProLiant DL360 G2   2 Pentium III, 1.4 GHz  spe152.testdrive.hp.com

And I can't really test much on them.

So I'm still interested what experience people have had on a Proliant DL385.

Kind regards,
Lars.

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


Re: xorg crashing with kde

2005-08-10 Thread Ian Moore
On Wednesday 10 August 2005 22:25, RW wrote:
 Since the kde update went into ports about a week ago, I've been having a
 problem with xorg crashing.

 The problem occurs when a kde session is left in the background by a
 switch to either another x-server or to a virtual terminal, and it's left
 there long enough for the monitor standby timer to expire. The crash
 actually happens on switching back to the kde session.

 According to the system console the crash follows a stray irq13, and the
 xorg log indicates it died with signal 8. I cant find any other relevent
 logging. I installed xscreensaver  to see if it could be reproduced under
 xfce, and it couldn't. I can work around the problem  by turning off
 display power management in kde.

This is a bit of a stab in the dark, but perhaps re-building your xorg-server 
port might fix it. When I update my xserver, I have to rebuild my nvidia 
driver or x will crash when any opengl app runs.
So in your case, it may be some part of X causeing the crash.
I'm running kde  haven't had that problem though.
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpSxw37AcQj4.pgp
Description: PGP signature


Problem w/ PAM…

2005-08-10 Thread Sean P. Malone



…and the problem is evidently me!

Okay.  I was messing around with pam_radius in and attempt to 
authenticate POP requests off of our existing Active Directory. 
Although I was able to get SSH to authenticate off of AD, I never could 
get POP.  Today I finally realized that our checkpasswd program can ONLY 
valid off of the local user DB – we use qmail.  That made sense so I 
decided to ditch pam_radius.


In my eagerness to get rid of it and move on, I believe that I’ve delete 
a file(s) from /user/lib.  Namely, pam_radius.s0 and pam_radius.s02 
(from memory).  If it is true that the absence of these original files 
is causing my problem, I really need to somehow restore PAM.  It seems 
that I have a “fail open” situation here.  I can ssh to the host and get 
a shell without entering a password.  Luckily, one cannot ssh in as 
root, but one can first ssh in as them self (w/o being asked a password) 
and then su right into root – yes, w/o a password!


I’m novice enough to blame myself right off the bat for moving to fast. 
 Thus, I’ve pulled the system off the network and am hoping that I can 
somehow restore PAM w/o a reinstall.  The system is still non-production 
so, sigh, there is no backup. :(


Does anyone know if I can fix PAM?  FreeBSD v5.3

Thanks!

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


  1   2   >