Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Soheil Hassas Yeganeh
Hi,

I start an X server on my FreeBSD box. I want to run some remote X
applications from my fedora core 2.
So, I have ssh to the fedora box and typed gedit.
But it says :
   (gedit:12438): Gtk-WARNING **: cannot open display:

After I had export  DISPLAY=freebsdboxip:0.0
it says again:
   (gedit:12438): Gtk-WARNING **: cannot open display:

But I can run freebsd application from my fedora core 2.
What is the problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The FreeBSD Diary: 2005-03-27 - 2005-04-16

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

These are the articles posted during this period:

12-Apr : BSDCan 2005 - you are going?
 BSDCan 2005 - The Technical BSD Conference 
 http://freebsddiary.org/bsdcan-2005.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Limiting process memory consumption with rsetlimit and limit. . .

2005-04-17 Thread David Grochowski
Hey all,

I'm currently working on a project where I need to limit the amount of
physical memory a process uses.  I've tried the rsetlimit function and the
limit shell command to do so, but I have had no luck (though I was able to
limit the virtual memory and cause it to segfault).  Neither seems to have
any effect on the physical memory available to the process.  If anyone
could enlighten me on how to limit the physical memory available to a
process, it would be greatly appreciated.

My goal is to make the program have page faults, but I haven't had much
luck yet.

Thanks,
Dave Grochowski

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


Re: KDE not starting. Cannot start kdeinit

2005-04-17 Thread Jan Grant
On Sat, 16 Apr 2005, Danny Pansters wrote:

 IIRC exec used to be needed for some reason, but that's been a while, merely 
 startkde (which is just a shell script) will do.

The reasoning is in the man page for startx(1):

[[
The .xinitrc is typically a shell script which starts many clients 
according to the user's preference.  When this shell script exits, 
startx kills the server and performs any other session shutdown needed. 
Most of the clients started by .xinitrc should be run in the back- 
ground.  The last client should run in the foreground; when it exits, 
the session will exit.  People often choose a session manager, window
manager, or xterm as the ''magic'' client.
]]

Since the session stops when the .xinitrc process dies, you can either 
launch startkde from within the shell script (in which case the .xinitrc 
script waits until startkde exits, then exits), or you can use exec 
startkde to replace the .xinitrc process with the startkde one. In 
either case the only difference is that leaving out the exec means 
you've got one additional shell process hanging around until you quit X.

-- 
jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
Tel +44 (0)117 9287088 (with luck)   http://ioctl.org/jan/
I like oranges more than apples!? - that's like comparing apples and oranges!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Suggestions for post rm -rf /etc/*

2005-04-17 Thread Glen Smith
Anyone have a suggestion for fixing  a machine three states away after
you rm -rf * dir/* inside of /etc or am I just screwed. I even had zsh
ask me if that's what I really want to do. ::sob:: 

Sincerely,

Glen Smith 
--
IT/Network Administrator
Smith's PC Repair  Consulting
http://www.spcrepair.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.4: vinum not starting at boot gvinum lacking functionality

2005-04-17 Thread Jukka A. Ukkonen
Hi,
Is there any chance we could get either vinum or gvinum to the
reliability levels that vinum has had on 4.x before 5.4 gets out?
Now vinum does not start at boot time. Gvinum is still very
much promise-ware while missing resetconfig, etc. tools for
managing spindle configurations. Even gvinum man pages and
other gvinum documents are still missing.
It is making plain and relatively straight forward OS version
upgrades awfully hard, if people have to start rebuilding their
whole volume management environments as a part of the process.
Currently the only alternative seems to be taking the effort
to go over to using e.g. gmirror, etc.
Environments that have been using vinum for volume management
are now stuck with 4.11 for which support is busily degrading.
(= New drivers are not coming in. Ports support is becoming
sloppy, because ports administrators do not run 4.x themselves
any more.)
// jau
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Richard Danter
Soheil Hassas Yeganeh wrote:
Hi,
I start an X server on my FreeBSD box. I want to run some remote X
applications from my fedora core 2.
So, I have ssh to the fedora box and typed gedit.
But it says :
   (gedit:12438): Gtk-WARNING **: cannot open display:
After I had export  DISPLAY=freebsdboxip:0.0
it says again:
   (gedit:12438): Gtk-WARNING **: cannot open display:
But I can run freebsd application from my fedora core 2.
What is the problem?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Try 'xhost +' on your FreeBSD box, then ssh to your FC2 box. Does that help?
Rich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD system update killing PostFix links?

2005-04-17 Thread Mike Woods
Tim Hogan wrote:
I have recently done a system update to address some security issues and
discovered that during the update the soft links in my /usr/sbin
directory were re-written back to the system defaults.  I believe that I
have changed the mailq, sendmail, and newaliases soft links back to what
they should be, but is there a way to verify the postfix installation?
Is there a way to keep FreeBSD from doing this during a build world?
As the installation messages would have said you need to edit your 
make.conf and add the line NO_SENDMAIL=TRUE to stop the system 
building sendmail when you do a build world.

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


Re: Tar chunks

2005-04-17 Thread Roland Smith
On Sat, Apr 16, 2005 at 06:41:26PM -0500, Chris wrote:
 Can tar of some other compression util be set to archive a directory in
 chunks of say, 650 meg?
 

Something like

tar cjf - /dir/to/backup |split -b 650m - bkupname-

should do the trick. Note that using a pipe saves s lot of space. This
will produce backups in the form of bkupname-aa, bkupname-ab etc.

Restoring the backup would be something like:

cd /parent/of/backupdir; cat /path/to/bkup/bkupname-* |tar xjf -

Note that you need to have all backup files on a disk for this to work
properly.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpTHfg9kNPMo.pgp
Description: PGP signature


Re: FreeBSD system update killing PostFix links?

2005-04-17 Thread Giorgos Keramidas
On 2005-04-16 21:10, Tim Hogan [EMAIL PROTECTED] wrote:
 I have recently done a system update to address some security issues and
 discovered that during the update the soft links in my /usr/sbin directory
 were re-written back to the system defaults.  I believe that I have changed
 the mailq, sendmail, and newaliases soft links back to what they should be,
 but is there a way to verify the postfix installation?  Is there a way to
 keep FreeBSD from doing this during a build world?

What you are trying to accomplish with those soft links can be done in a very
easier manner if you use mailer.conf(5).  Let those soft links be as they
should *really* be (the way installworld sets them up), and edit your
/etc/mail/mailer.conf file to invoke Postfix.

Alternatively, if you are truly convinced that mailer.conf(5) is not good for
you, you may find a look at the description of NO_SENDMAIL and NO_MAILWRAPPER
in make.conf(5) very interesting :-)

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


aiuto per far funzionare xf86config

2005-04-17 Thread angelo
Non so se mi potete aiutare ma  ho il seguente problema:

 

volevo installare freebsd 4.11 su un portatile ibm tinkpad 1200 sono
riuscito ad installare vari sistemi sempre e senza problemi

 

ora con l'installazione di freebsd 4.11 tutto fila liscio  ma mi crea dei
problemi con la configurazione di xf86config 

 

se dopo essermi abilitato lancio com root il 

startx

 

mi esce il seguente errore

 

(==) log file:/var/log/XFree86.0.logtime:sun apr 17 09:50 2005-04-17

(==) Using config file :  /etc/X11/XF86config

(EE) Screen (s) found, but none have a usable configuration.

 

Fatal server error :

No screen found

 

When repoting a problem related to a server crash,please send the full
server output,not just the last messages

 

 

X connection to : 0.0 broken (explicit kill or server shutdown).

Xauth: (argv):1 bad display name :0 in remove command

Xauth: (argv):1: bad display name :0 in remove command 

 

 

Vi sarei molto grato se qualche d'uno piu' pratico di me mi aiutasse

O perlomeno si sapesse indirizzare dove poter trovare aiuto

 

Grazie e di nuovo scusate

 

[EMAIL PROTECTED]

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


Enable SHMEM inside a jail?

2005-04-17 Thread Fafa Diliha Romanova
Hello all!

I'm root inside a FreeBSD 4.11-RELEASE jail, and I need to enable
SHMEM. I cannot recompile the kernel, because I cannot reboot the server.

Would anyone happen to have any suggestions?

Thank you,
-- Fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

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


Re: play video streaming in freebsd/kde desktop

2005-04-17 Thread exp
On Sun, Apr 17, 2005 at 02:21:39PM +0800, Edwin D. Vinas wrote:
 hi,
 
 how can i view streaming sites in FreeBSD? what applications do i need
 to install?
 
 thanks!
 -edwin
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
If you use mplayer, you can install mplayerplug-in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


messages from dhclient

2005-04-17 Thread Joost van Dijk
Hello, 

I have installed dhcp to get my FreeBSD system on line, a machine which I am 
trying to set up as a web server. I used sysinstall and it seems to work 
correctly (this e-mail is coming from my Linux workstation). However, when 
working on the FreeBSD machine I keep getting the following message: 
date  time dhclient: send_packet: permission denied.
What does this mean? I cannot find a reference to it in the man files.
It is a nuisance. When I am editing a config file with vi, this message get 
written into the file, and over cofig file lines. How can I turn it off. 

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


Re: Suggestions for post rm -rf /etc/*

2005-04-17 Thread Ruben de Groot
On Sun, Apr 17, 2005 at 02:52:41AM -0500, Glen Smith typed:
 Anyone have a suggestion for fixing  a machine three states away after
 you rm -rf * dir/* inside of /etc or am I just screwed. I even had zsh
 ask me if that's what I really want to do. ::sob:: 

Well, asuming you don't have any backups (shame on you!) and you have the
sources installed, you could do

cd /usr/src/etc
make distribution

this will give you back all default files in /etc. Copies of your 
original master.passwd, aliases and group files can be found in 
/var/backups

Ruben

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


ssh terminates connection

2005-04-17 Thread Dino Vliet
Hi all,

when using ssh I encounter the following situation
after a short moment of inactivity:

write failed: permission denied

Then I'm logged out and have to re-login.
The problem is anoying because whenever I let
postgresql for instance start a script, I can't walk
away. 

I'm using openSSH 3.5p1 (from the ports tree) on my
freebsd 4.10 system.

Can anyone advise me what to do to stop this?

Brgds
Dino Vliet



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messages from dhclient

2005-04-17 Thread Rob
Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system
 on line, a machine which I am trying to set up as
 a web server. I used sysinstall and it seems to
 work correctly (this e-mail is coming from my Linux
 workstation). However, when working on the FreeBSD
 machine I keep getting the following message: 
 date  time dhclient: send_packet: permission
denied.
 What does this mean? I cannot find a reference to
 it in the man files.

Is there a firewall rule that blocks dhclient ?

Do a search on the dhclient message, and you'll
find some clues as of what's going wrong.

Rob.



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: messages from dhclient

2005-04-17 Thread Roland Smith
On Sun, Apr 17, 2005 at 01:04:48PM +0200, Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system on line, a machine which I am 
 trying to set up as a web server. I used sysinstall and it seems to work 
 correctly (this e-mail is coming from my Linux workstation). 

 However, when working on the FreeBSD machine I keep getting the
 following message: date  time dhclient: send_packet: permission
 denied.  What does this mean?

It looks to me like you're not running dhclient with sufficient
permissions (i.e. not as root), or you have a firewall that doesn't let the
traffic through.

 I cannot find a reference to it in the man files.
 It is a nuisance. When I am editing a config file with vi, this message get 
 written into the file, and over cofig file lines. How can I turn it off. 

The message is written on your terminal, but should not be written into
the file. Does pressing crtl+l help restore the screen?

You could redirect the standard error stream for dhclient to /dev/null
when you start it up: dhclient 2/dev/null. Or kill dhclient while
you're editing.

Alternatively, you could keep a copy of the FreeBSD servers
configuration files (/etc and /usr/local/etc) on your workstation
(e.g. in ~/setup/server/) where you can edit them at your leisure and
keep them under revision control. After making changes you could can
synchronize with rsync, provided you have rsync running as a daemon on
the server.

Roland
-- 
R.F. Smith   /\ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l  \ /No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail
public key: http://www.keyserver.net / \Respect for open standards


pgpdSaymtynHA.pgp
Description: PGP signature


Re: FreeBSD system update killing PostFix links?

2005-04-17 Thread Tim Hogan
Mike Woods wrote:
Tim Hogan wrote:
I have recently done a system update to address some security issues and
discovered that during the update the soft links in my /usr/sbin
directory were re-written back to the system defaults.  I believe that I
have changed the mailq, sendmail, and newaliases soft links back to what
they should be, but is there a way to verify the postfix installation?
Is there a way to keep FreeBSD from doing this during a build world?

As the installation messages would have said you need to edit your 
make.conf and add the line NO_SENDMAIL=TRUE to stop the system 
building sendmail when you do a build world.

-
Mike Woods
Systems Administrator

Thanks, must have missed that one.  AS soon as the next advisory come 
out I'll get to test it :)

Tim


smime.p7s
Description: S/MIME Cryptographic Signature


Re: messages from dhclient

2005-04-17 Thread Bob Hall
On Sun, Apr 17, 2005 at 01:04:48PM +0200, Joost van Dijk wrote:
 Hello, 
 
 I have installed dhcp to get my FreeBSD system on line, a machine which I am 
 trying to set up as a web server. I used sysinstall and it seems to work 
 correctly (this e-mail is coming from my Linux workstation). However, when 
 working on the FreeBSD machine I keep getting the following message: 
 date  time dhclient: send_packet: permission denied.
 What does this mean? I cannot find a reference to it in the man files.
 It is a nuisance. When I am editing a config file with vi, this message get 
 written into the file, and over cofig file lines. How can I turn it off. 

I vaguely recall that this can have more than one cause, and therefore
more than one solution. That's just a vague recollection. In my case, it
was caused by interaction between dhc protocol and my firewall. YMMV. My
Internet connection worked fine for months at a time, aside from a flood
of send_packet: permission denied messages. Then I would have a day or
two of periodic outages, and then I'd lose the connection completely and
have to reboot the cable modem.  When the connection was reestablished,
I'd have a new IP address.

My solution is in the archives, here:
http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-January/071412.html
Again, I can't promise that it will solve your problem.

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


Re: FreeBSD system update killing PostFix links?

2005-04-17 Thread Tim Hogan
Giorgos Keramidas wrote:
On 2005-04-16 21:10, Tim Hogan [EMAIL PROTECTED] wrote:
 

I have recently done a system update to address some security issues and
discovered that during the update the soft links in my /usr/sbin directory
were re-written back to the system defaults.  I believe that I have changed
the mailq, sendmail, and newaliases soft links back to what they should be,
but is there a way to verify the postfix installation?  Is there a way to
keep FreeBSD from doing this during a build world?
   

What you are trying to accomplish with those soft links can be done in a 
very
easier manner if you use mailer.conf(5).  Let those soft links be as they
should *really* be (the way installworld sets them up), and edit your
/etc/mail/mailer.conf file to invoke Postfix.
Alternatively, if you are truly convinced that mailer.conf(5) is not good for
you, you may find a look at the description of NO_SENDMAIL and NO_MAILWRAPPER
in make.conf(5) very interesting :-)
 

I edited the /etc/mail/mailer.conf before I did the last update and it 
did not seem to work.  I think that I will try the NO_SENDMAIL option in 
the make.conf file and see what happens.  One question though, the 
NO_MAILWRAPPER option will keep the system from building the mail 
wrapping application but do I need to worry about that since I am using 
the NO_SENDMAIL option?  Will it still try to make softlinks?

Regards,
Tim


smime.p7s
Description: S/MIME Cryptographic Signature


FreeBSD Culture

2005-04-17 Thread Stine Madsen
FreeBSD Culture

We are four undergraduate students (1st year) who have chosen Organizational
Culture and FreeBSD as the subject for our major written project. The
underlying assumption for our project is that the FreeBSD community can be
viewed and described within the framework of the theory for Organizational
behavior and culture - that is; as a 'virtual' organization. To investigate
and clarify this, we would like to confer with participants of the FreeBSD
community who are well-informed of the how's and why's of FreeBSD. 

 

The following non-exhausting list holds examples of questions we would like
to clarify:

 

- Does there exist myths, 'legends' and stories concerning FreeBSD,
which are common knowledge in the community.

- How does one get to be a member of '-core'? Or more accurately,
how does a member advance in the FreeBSD community?

- Is the language described in the 'jargon file' used and understood
by all members of the community?

- What motivates people to join the FreeBSD community and to
contribute to the common course?

- Is it possible to improve the structure of the FreeBSD community?

 

We are not sure where to post questions like these - and if freebsd.org as a
suitable forum for those kind of questions. Suggestions and thoughts about
this will be much appreciated.

 

All communication will be by mail, and all participants will be anonymous
should the prefer so. 

 

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


Re: ELF type 3 not known

2005-04-17 Thread Loren M. Lang
On Wed, Apr 13, 2005 at 01:28:27PM -0400, Steven Friedrich wrote:
 I got this error on one of two 4.11 boxes.

is linux.ko loaded?  That's the module responsible for reconizing elf
type 3 if I'm not mistaken.

 
 The other box seems to have upgraded without incident.
 
 I use gnome_upgrade.sh
 
 
 ---  Installing the new version via the port with make flags: BATCH=yes 
 GNOME_UPGRADE_SH_VER=2.10-3
 DISABLE_VULNERABILITIES=1
 ===  Installing for linux-gtk2-2.2.1_3
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/X11R6/lib/libX11.so.6 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libglib-2.0.so.0 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libatk-1.0.so.0 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libjpeg.so.62 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libpng12.so.0.1.2.7 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libtiff.so.3.6.1 - found
 ===   linux-gtk2-2.2.1_3 depends on file: 
 /compat/linux/usr/lib/libpango-1.0.so.0.200.1 - found
 ===   linux-gtk2-2.2.1_3 depends on executable: rpm - found
 ===   Generating temporary packing list
 ===  Checking if x11-toolkits/linux-gtk2 already installed
 gtk2-2.2.1-4.i386.rpm
 ELF binary type 3 not known.
 Abort trap
 *** Error code 134
 
 
 Steven Friedrich
 5112 Mount Holyoke Drive
 Louisville, KY  40216
 502-447-7730
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 


pgpSmgCLwYDB2.pgp
Description: PGP signature


Re: India had no FreeBSD mirror sites ?!?

2005-04-17 Thread Anthony Atkielski
Well, for what it's worth, I was doing some inverse traceroutes
yesterday, and it does appear that Indian ISPs take quite a tortuous
route from point to point. A traceroute from one Indian ISP (Net4India,
the only one I could even reach, which is already a bit worrisome) went
from India to Singapore to Tokyo to San Jose to New York to Paris, with
a cumulative delay of 418 ms. It actually nearly went around the world:

 1  gw-mum (202.71.136.62)  1.439 ms  0.658 ms  0.820 ms
 2  61.95.151.1 (61.95.151.1)  4.370 ms  2.937 ms  3.521 ms
 3  61.95.150.34 (61.95.150.34)  3.681 ms  7.069 ms  7.438 ms
 4  61.95.150.21 (61.95.150.21)  4.079 ms  6.854 ms  5.343 ms
 5  203.101.100.41 (203.101.100.41)  27.754 ms  26.166 ms  27.516 ms
 6  61.95.180.18 (61.95.180.18)  25.200 ms  24.482 ms  26.841 ms
 7  203.208.146.49 (203.208.146.49)  58.020 ms  58.099 ms  60.815 ms
 8  ge-3-0-0.sngc3-cr1.ix.singtel.com (203.208.172.157)  60.545 ms 
ge-2-0-0.sngc3-cr2.ix.singtel.com (203.208.172.165)  58.701 ms 
ge-3-0-0.sngc3-cr1.ix.singtel.com (203.208.172.157)  58.281 ms
 9  p1-0.sngtp-cr2.ix.singtel.com (203.208.172.129)  56.361 ms  92.429 ms 
p4-0.sngtp-cr3.ix.singtel.com (203.208.172.125)  60.439 ms
10  so-0-1-2.toknf-cr2.ix.singtel.com (203.208.173.94)  151.952 ms 
203.208.172.230 (203.208.172.230)  146.167 ms  219.727 ms
11  p1-0-0.toknf-cr1.ix.singtel.com (203.208.173.21)  155.577 ms  147.855 ms  
157.366 ms
12  P3-0.TKYBB1.Tokyo.opentransit.net (193.251.254.29)  157.024 ms  148.086 ms  
153.658 ms
13  P1-2.SJOCR1.San-jose.opentransit.net (193.251.242.206)  246.231 ms  247.064 
ms  257.645 ms
14  P14-0.NYKCR2.New-york.opentransit.net (193.251.242.1)  330.534 ms  348.584 
ms  344.785 ms
15  P1-0.AUVCR2.Aubervilliers.opentransit.net (193.251.241.137)  423.633 ms  
422.628 ms  414.842 ms
16  pos9-0.nraub303.Aubervilliers.francetelecom.net (193.251.126.9)  415.860 ms 
 428.651 ms  417.621 ms
17  pos0-0-0-0.ncidf303.Aubervilliers.francetelecom.net (193.252.103.169)  
425.146 ms  431.029 ms  423.044 ms
18  80.10.215.202 (80.10.215.202)  424.796 ms  417.172 ms  418.653 ms

A trace from Japan went through Dallas, Atlanta, and Oakhill, but I
guess that isn't too bad, although it's hardly a straight line.  A trace
from Russia was amazingly direct.  Spain reached my machine in just 39
ms, via London.  But the most impressive was CERN in Switzerland, which
reached my machine in eight hops and 8 ms.

This doesn't necessarily mean that Indian ISPs route domestic traffic
outside the country, but I noticed that happening for other countries
that should have better infrastructures, so certainly it would not
surprise me.

-- 
Anthony


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


Re: FreeBSD system update killing PostFix links?

2005-04-17 Thread Giorgos Keramidas
On 2005-04-17 06:19, Tim Hogan [EMAIL PROTECTED] wrote:
 I edited the /etc/mail/mailer.conf before I did the last update and it
 did not seem to work.  I think that I will try the NO_SENDMAIL option
 in the make.conf file and see what happens.  One question though, the
 NO_MAILWRAPPER option will keep the system from building the mail
 wrapping application but do I need to worry about that since I am
 using the NO_SENDMAIL option?  Will it still try to make softlinks?

The symlinks will be made if one of these two options is missing.
You need _BOTH_ options to avoid the creation of the symlinks.

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


Re: Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Chris Hodgins
On 4/17/05, Soheil Hassas Yeganeh [EMAIL PROTECTED] wrote:
 Hi,
 
 I start an X server on my FreeBSD box. I want to run some remote X
 applications from my fedora core 2.
 So, I have ssh to the fedora box and typed gedit.
 But it says :
(gedit:12438): Gtk-WARNING **: cannot open display:
 
 After I had export  DISPLAY=freebsdboxip:0.0
 it says again:
(gedit:12438): Gtk-WARNING **: cannot open display:
 
 But I can run freebsd application from my fedora core 2.
 What is the problem?

If you are using ssh anyway, you can tell ssh to do X11 forwarding. 
Read the man page first as there is some slight security risks
involved depending on the way your machine is used.  Try this:

---
$ ssh -X [EMAIL PROTECTED]
Password: enter password
hostname$ xterm
---

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


autoconf259 question

2005-04-17 Thread artifex maximus
Hello!

I try to make a working configure.in but I have the following problem.

I write this:
AC_CHECK_HEADERS([netinet/in_systm.h])
AC_CHECK_HEADERS([netinet/in.h])
AC_CHECK_HEADERS([netinet/ip.h],,, [code to insert])

I run autoheader259 to make config.h.in. Thereafter I run configure
that doesn't found netinet/ip.h and doesn't define HAVE_NETINET_IP_H.

checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for netinet/ip.h... no

File is exist:
# ls -l /usr/include/netinet/ip.h
-r--r--r--  1 root  wheel  6790 Mar 24 08:50 /usr/include/netinet/ip.h

My system:
FreeBSD * 5.4-STABLE FreeBSD 5.4-STABLE #0: Thu Apr  7 00:27:04 CEST
2005 [EMAIL PROTECTED]  i386

What is the problem? Any idea?

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


Heartbeat

2005-04-17 Thread Robert Slade
Hi,

I'm trying to get heartbeat going. I have a problem though with the
udpport setting. The default is 694, but heartbeat won't start and say
that it cannot bind to that port something else is listening on it.
Using netstat dosn't show anything (the only thing running on the system
is ssh and samba). 

I note 694 is not listed in services, should I add it? or is there
anything else I should do?

Rob 

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


System wide setting for OpenSSL CAfile / system certificates?

2005-04-17 Thread Peter Wood
Good Afternoon,
I've spent the past three hours playing with openssl.cnf and surfing 
google, and so far I've been unable to find an answer to this question.

So I thought I'd ask here :). The background is that I've finally got 
around to getting a wildcard SSL certificate for my personal server, all 
daemons are using this, Firefox/IE/Thunderbird are all happy with the 
certificate and see it signed by ChainedSSL signed by Equifax and all is 
good.

However when I use the FreeBSD server to connect to it's self, in 
several programs I get asked to confirm the certificate. So I assumed 
this was because there was no central root certificate store.

So I installed security/ca-roots from ports, and that put the certs.pem 
file in /usr/local/share/certs and a symlink to it in /etc. However as I 
found this simply installs it.

Using openssl s_cleint I was able to run some tests, if I didn't provide 
a cafile then I got the following.

[nebula:~]# openssl s_client -connect localhost:imaps
CONNECTED(0003)
depth=1 /C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 
s:/C=GB/O=*.alastria.net/OU=https://services.choicepoint.net/get.jsp?GT45161984/OU=See 
www.freessl.com/cps (c)04/OU=Domain Control Validated - 
ChainedSSL(TM)/CN=*.alastria.net
   i:/C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
 1 s:/C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
   i:/C=US/O=Equifax Secure Inc./CN=Equifax Secure eBusiness CA-1
---

If I provided a cafile, all was good and got this:
[nebula:~]# openssl s_client -connect localhost:imaps -CAfile 
/etc/ssl/cert.pem
CONNECTED(0003)
depth=2 /C=US/O=Equifax Secure Inc./CN=Equifax Secure eBusiness CA-1
verify return:1
depth=1 /C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
verify return:1
depth=0 
/C=GB/O=*.alastria.net/OU=https://services.choicepoint.net/get.jsp?GT45161984/OU=See 
www.freessl.com/cps (c)04/OU=Domain Control Validated - 
ChainedSSL(TM)/CN=*.alastria.net
verify return:1
---
Certificate chain
 0 
s:/C=GB/O=*.alastria.net/OU=https://services.choicepoint.net/get.jsp?GT45161984/OU=See 
www.freessl.com/cps (c)04/OU=Domain Control Validated - 
ChainedSSL(TM)/CN=*.alastria.net
   i:/C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
 1 s:/C=US/O=ChainedSSL/CN=ChainedSSL Certificate Authority
   i:/C=US/O=Equifax Secure Inc./CN=Equifax Secure eBusiness CA-1
---

I have tried various settings in openssl.cnf, but I can not get CAfile 
to be defaulted to anything. My basic question is can I do this, and if 
so, how?

I'm expecting once this works (maybe stupidly) for it to propagate down 
to applications that use the openssl library. Although for some programs 
(like Mutt) I'll be required to set a property to allow mutt to trust 
the system certs (ssl_usesystemcerts).

I hope someone out there knows, I've been playing and running truss and 
all sorts for the past three hours trying to get this to work.

Any advice would be greatly appreciated.
Cheers,
Pete.
--
Peter Wood BSc (Hons) :: [EMAIL PROTECTED] :: Tel +44 7974 799440
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


newbie question

2005-04-17 Thread SuDaNym
Hello
 
Can anyone give me a very rough estimate on how much time is required on an  
ongoing basis, after a server is set up with FreeBSD and Apache, to maintain  
everything.  By everything I am referring to everything required to keep  the 
server up, and host about 100 domains.  Thank you in advance and I  apologize 
if this question is not appropriate for this list.
 
Sue
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: src out of sync or buildworld broken?

2005-04-17 Thread Lowell Gilbert
Gary Lum [EMAIL PROTECTED] writes:

 Afternoon everyone.
 
 I track RELENG_5 using cvsup that runs nightly. Today I've been trying
 to buildworld and keep running into problems with missing directories
 and files.
First, build world was complaing that the /usr/src/sys/dev/ieee488
 dir was missing. Couldn't find anything on google pertaining to the
 error. I cd'd to the dev dir and it wasn't there so I created it. I
 then ran again and ran into the same thing with
 /usr/src/sys/geom/shsec dir missing, so I created that.
Now I'm getting an error message:
 
 In file included from
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/sha/sha_locl.h:133,
   from
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/sha/sha_dgst.c:70:
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md32_common.h:132:26:
 openssl/fips.h: No such file or directory
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/secure/lib/libcrypto.
 *** Error code 1
 
 find can't find fips.h nor fips
 
 Any suggestions? How can I resynch my source? I've cvsup'ed twice just
 to be sure

You were missing a directory (ieee488) that hasn't changed in a fairly
long time (the last change of *any* file in there was over a week
earlier than you started having problems), so there are definitely
problems on your end.  

I would suggest shutting down and forcing a full fsck of the partition
with your source tree on it.  Filesystem problems are rare, but they
do happen.  If that doesn't seem to be the problem, cvsup may be
confused on your system for some reason; removing its state files
might help it recover, albeit with a time cost on your next cvsup.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about hpoj

2005-04-17 Thread Andrea Riela
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've already installed cups-base.
That's ok?
Normally hpoj is installed with cups support:
.if !defined(WITHOUT_CUPS)
WITH_CUPS=  yes
.endif
Then what I've to do?
Could you send me and example of lpr config?
Thanks for your support
Regards
Andrea
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCYp6oMakHrsrHP9wRAsewAJsHIP/YaDLtTPMWRGyMHpEO8CfbmgCeNgpf
KJR3FAq016jVitfJc5rM3J0=
=W1Q2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enable SHMEM inside a jail?

2005-04-17 Thread Kris Kennaway
On Sun, Apr 17, 2005 at 05:22:26AM -0500, Fafa Diliha Romanova wrote:
 Hello all!
 
 I'm root inside a FreeBSD 4.11-RELEASE jail, and I need to enable
 SHMEM. I cannot recompile the kernel, because I cannot reboot the server.
 
 Would anyone happen to have any suggestions?

In 4.x you cannot load this support dynamically, so you have to
recompile the kernel.  If you already have support in the kernel and
you question is really 'how do I allow access to it inside the jail',
there is a sysctl to do this (see the jail manpage).  I think that in
5.x and above you can load sysv shmem support as a kld, but this
obviously won't help you.

Kris


pgp2ueYMVEDrT.pgp
Description: PGP signature


Re: Attaching to a Windows peer-to-peer network without a domain

2005-04-17 Thread Glen Smith
Hi freebsd-questions

On Sun, 17 Apr 2005, Glen Smith wrote:

 Hi Ahost
 
 On Sun, 17 Apr 2005, Ahost Isco wrote:
 
  Hello:
  
  Could someone tell me the steps necessary to connect freeBSD as a guest to 
  a Microsoft Windows peer-to-peer network that is running without a domain? 
  Windows has a network connectivity that doesn't require a domain 
  controller, DNS, or any of the normal network stuff. It uses a workgroup, 
  and an 'announce' to the group. All computers in the group see all the 
  other computers in the group. Computers can be added to the network by 
  simply attaching and powering on, and removed by simply disconnecting. It 
  is used practically exclusively for home networks behind a firewall, with 
  IP addresses that are not shared with the WAN.
  
  I would like to connect my freeBSD computer to such a network TEMPORARILY, 
  so I don't want to change their existing network configuration. The network 
  setting I'm wanting to connect to uses a TCP/IP protocol. Such networks are 
  limited in what they can do, but I don't want my freeBSD computer to end up 
  being a controller in such an environment. I seem to be having some 
  difficulty in setting this up.
  
  Samba is already installed. Can someone provide me with a command sequence 
  that would allow the connection to such a network as a guest, with the 
  ability to view the shared files / folders on this network?
  
 Check out the security directive in your smb.conf. security = user
 will set up a workgroup.

I told you wrong.I was thinking one thing and wrote another. It's
security = share for a workgroup. Set the security directive and then
set make sure to also set netbios name = mabox and workgroup =
winderzworkgroup. That should be all you need to browse another
workgroup I would think.  

Sincerely,

Glen Smith 
--
IT/Network Administrator
Smith's PC Repair  Consulting
http://www.spcrepair.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Which driver for SIS sound controller ?

2005-04-17 Thread edward
Hi all,
I have installed 5.3 release and KDE 3.3 on a NEC machine (i386) with an
integrated sound chip. When I start KDE, i get the following error message :
Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (No such file or directory)
The sound server will continue, using the null output device

I assume I need to load a kernel module (handbook wise). The integrated
sound chip on my motherboard is labeled Silicon Integrated Systems (SIS)
sound controller and, under Linux, the driver is snd-intel8x0
It doesn't seem to appear in the hardware compatibility list for 5.3
release, although it seems to be a rather common component.
Does anyone know which FreeBSD driver I should use and if I'm on the right
track ?
Thanks,
Edward


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


Re: Which driver for SIS sound controller ?

2005-04-17 Thread Chris
edward wrote:
 Hi all,
 I have installed 5.3 release and KDE 3.3 on a NEC machine (i386) with an
 integrated sound chip. When I start KDE, i get the following error message :
 Sound server informational message:
 Error while initializing the sound driver:
 device /dev/dsp can't be opened (No such file or directory)
 The sound server will continue, using the null output device
 
 I assume I need to load a kernel module (handbook wise). The integrated
 sound chip on my motherboard is labeled Silicon Integrated Systems (SIS)
 sound controller and, under Linux, the driver is snd-intel8x0
 It doesn't seem to appear in the hardware compatibility list for 5.3
 release, although it seems to be a rather common component.
 Does anyone know which FreeBSD driver I should use and if I'm on the right
 track ?
 Thanks,
 Edward

Ha a look at /boot/defaults/loader.conf
Look for:  ###  Sound modules  ###

There you will find some things you might use.
Worse case, in /boot/loader.conf add this:

sound_load=YES
snd_driver_load=YES

This will load ALL sound drivers - and ought to let you know if your
sound card will work. If so, you can then weed out the drivers that are
not needed until you have the one you need.

It's crude, but it starts you out.



-- 
Best regards,
Chris

There is always more dirty laundry then clean laundry.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Heartbeat

2005-04-17 Thread Dan Nelson
In the last episode (Apr 17), Robert Slade said:
 I'm trying to get heartbeat going. I have a problem though with the
 udpport setting. The default is 694, but heartbeat won't start and
 say that it cannot bind to that port something else is listening on
 it. Using netstat dosn't show anything (the only thing running on the
 system is ssh and samba).

I don't remember having this problem when I installed heartbeat on my
system. Here's my ha.cf file:

ucast fxp0 172.16.0.1
auto_failback off

node node1
node node2
apiauth ccm uid=root
apiauth cl_status uid=root
apiauth ipfail uid=root
apiauth ping uid=root

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


Stuck in bootstrapping hell - how do I troubleshoot?

2005-04-17 Thread Chris Zumbrunn
I'm having a hell of a time trying to get a new development server to 
boot FreeBSD.

The disk contents are an exact mirror from what I have running on a 
production server, except for a different IP number in rc.conf. The 
hardware is identical as far as I can tell.

The server is in a datacenter and I can only access it via ssh and boot 
either from the local disks or via network (freebsd or linux) - no 
serial console, so I can't see where it gets stuck during the 
bootstrap.

Any attempt to boot from the local disks fails. I can't ping the server 
for several minutes, until I give up and reboot again via network. 
Nothing is written to /var/log/messages during the local boot attempt.

I've reinstalled the bootstrap code several times both using sysinstall 
to install a standard mbr and using fdisk -B -b /boot/boot0 ar0 and 
disklabel -B -b /boot/boot1 -s /boot/boot2 ar0s1

I seem to run into this same kind of problem over and over again. 
Usually I somehow get it to work eventually, without being able to tell 
anymore what fixed it because of the mass of stuff I tried before it 
just suddenly works :-)

How can I verify that I have a valid boot sector and mbr on that disk 
(other than by attempting to boot)?  Any tips on how to troubleshoot 
these kinds of bootstrapping problems without sitting in front of the 
box or having console access?

I'm happy to provide any additional infos regarding the details of the 
setup. I'm mirroring a server that is running FreeBSD 4.11.

[EMAIL PROTECTED]  +41 329 41 41 41
Chris Zumbrunn Ventures - http://www.czv.com/
Internet Application Technology - Reduced to the Maximum
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PPP slows down the system

2005-04-17 Thread Emil Khatib
Hi everybody. 
I'm using a 56k connection to access the Internet. I'm using user PPP,
and everytime I dial up, everything works too slow. At least X works
quite bad (and so KDE). When I try startx, it freezes for a few
seconds and then it starts and takes a long time to load KDE. Also,
the applications in KDE start very slowly (when they start).
Everythings works allright when i get disconnected
Can anyone give me an idea of what is happening (It isn't the first
time it happens, I've tried in another computer with FreeBSD and it
happens the same)?

I'm using FreeBSD 5.3 amd64.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound not working

2005-04-17 Thread Emil Khatib
Hi everybody.
I'm using a SoundBlaster PCI 128 and I get a problem with sound when
starting KDE. After builing and loading the sound moule
(snd_es137x.ko) everything seems to work allright. KDE's startup
melody sounds for a few seconds, but it suddenly stops without any
error message. When I try to open a music file, it seems to work, but
i get no sound!.

Can anybody help me?

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


Re: PPP slows down the system

2005-04-17 Thread Hexren
 Hi everybody. 
 I'm using a 56k connection to access the Internet. I'm using user PPP,
 and everytime I dial up, everything works too slow. At least X works
 quite bad (and so KDE). When I try startx, it freezes for a few
 seconds and then it starts and takes a long time to load KDE. Also,
 the applications in KDE start very slowly (when they start).
 Everythings works allright when i get disconnected
 Can anyone give me an idea of what is happening (It isn't the first
 time it happens, I've tried in another computer with FreeBSD and it
 happens the same)?

 I'm using FreeBSD 5.3 amd64.

-

How many Interfaces are you using ? And are you logged in over the
network ?

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


Re: PPP slows down the system

2005-04-17 Thread Emil Khatib
On 4/17/05, Hexren [EMAIL PROTECTED] wrote:
  Hi everybody.
  I'm using a 56k connection to access the Internet. I'm using user PPP,
  and everytime I dial up, everything works too slow. At least X works
  quite bad (and so KDE). When I try startx, it freezes for a few
  seconds and then it starts and takes a long time to load KDE. Also,
  the applications in KDE start very slowly (when they start).
  Everythings works allright when i get disconnected
  Can anyone give me an idea of what is happening (It isn't the first
  time it happens, I've tried in another computer with FreeBSD and it
  happens the same)?
 
  I'm using FreeBSD 5.3 amd64.
 
 -
 
 How many Interfaces are you using ? And are you logged in over the
 network ?
 
 

I think I'm using one interface (ppp0)... At least I didn't configure
any interface at all at the installation
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sound not working

2005-04-17 Thread Chris
Emil Khatib wrote:
 Hi everybody.
 I'm using a SoundBlaster PCI 128 and I get a problem with sound when
 starting KDE. After builing and loading the sound moule
 (snd_es137x.ko) everything seems to work allright. KDE's startup
 melody sounds for a few seconds, but it suddenly stops without any
 error message. When I try to open a music file, it seems to work, but
 i get no sound!.
 
 Can anybody help me?
 
 Thanks in advance!

I thought the ess drivers were for on-board sound cards on Compaq PC's?
Maybe try the SoundBlaster Live (snd_emu10k1_load=YES).



-- 
Best regards,
Chris

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


Re: PPP slows down the system

2005-04-17 Thread Jonathan Chen
On Sun, Apr 17, 2005 at 09:04:11PM +0200, Emil Khatib wrote:
 Hi everybody. 
 I'm using a 56k connection to access the Internet. I'm using user PPP,
 and everytime I dial up, everything works too slow. At least X works
 quite bad (and so KDE). When I try startx, it freezes for a few
 seconds and then it starts and takes a long time to load KDE. Also,
 the applications in KDE start very slowly (when they start).

KDE does DNS lookups like crazy. Make sure you've got an entry in
/etc/hosts for the output of hostname(1), and see whether that makes a
difference.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
[EMAIL PROTECTED] |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Time spent on server maintenance (was Re: newbie question)

2005-04-17 Thread Kevin Kinsey
[EMAIL PROTECTED] wrote:
Hello
Can anyone give me a very rough estimate on how much time is required on an  
ongoing basis, after a server is set up with FreeBSD and Apache, to maintain  
everything.  By everything I am referring to everything required to keep  the 
server up, and host about 100 domains.  Thank you in advance and I  apologize 
if this question is not appropriate for this list.

Sue
 

This varies with experience, as an earlier post noted.  As much as possible,
one should attempt automation of daily chores, addition of domains,
mailusers, etc.  I certainly be willing to guess that one could spend
an hour or more of vigilant inspection and checking on the server system
daily, but as mentioned, if your system is fairly bulletproof (e.g., your
plan takes into account every possible emergency, your automation is
tested, retested, retested again, and then tested some more prior to
deployment (and well-documented), then you could probably cut that
down.
I'd think that the time would really be spent in supporting 100 client's
webmasters when they have issues; communicating with them in the
event you should have to do (un- or) scheduled maintenance, etc.
I'd also estimate that it's not a job for a rookie, per se, unless these
100 clients are very forgiving, patient, and understanding individuals...
On the plus side, know that this is very much a thing that FreeBSD
is good at
My $.02, YMMV, include #disclaimer.h and all that
Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PCCARD WIRELESS

2005-04-17 Thread v . demartino2
Carissimi,

già esperto di linux sto  cercando di configurare la mia cisco aironet 350
pccard (sicuramente supportata) sul mio laptop sotto  freebsd 5.4, ma proprio
non ci riesco.
Nel kernel sono configurati ovviamente i device pccard, wlan, an.
In rc.conf ho pccard_enable.

A scheda pcmcia inserita vedo durante il boot la cardbus0, pccard0 
sonoattribuite
a cbb0 ma. il kernel piagnucola che:
pccard0: Card has no functions!
cbb0: PC Card card activation failed
ovviamente non vedo il device an0 e quindi non posso configuarre nulla.

Insomma, anche se ho letto svariati frammenti di howto scoordinati e vecchiotti
su wireless, ho bisogno di istruzioni semplici e chiare su come setatre
questa benedetta wireless su fbsd.
Mi date una mano?

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

2005-04-17 Thread v . demartino2
Sorry this message wasn't directed to this mailing list.
Sorry again
Vittorio
:-- Messaggio originale --
:Date: Sun, 17 Apr 2005 22:57:05 +0200
:From: [EMAIL PROTECTED]
:To: FreeBSD freebsd-questions@freebsd.org
:Subject: PCCARD  WIRELESS
:
:
:Carissimi,
:
:già esperto di linux sto  cercando di configurare la mia cisco aironet
350
:pccard (sicuramente supportata) sul mio laptop sotto  freebsd 5.4, ma proprio
:non ci riesco.
:Nel kernel sono configurati ovviamente i device pccard, wlan, an.
:In rc.conf ho pccard_enable.
:
:A scheda pcmcia inserita vedo durante il boot la cardbus0, pccard0 
sonoattribuite
:a cbb0 ma. il kernel piagnucola che:
:pccard0: Card has no functions!
:cbb0: PC Card card activation failed
:ovviamente non vedo il device an0 e quindi non posso configuarre nulla.
:
:Insomma, anche se ho letto svariati frammenti di howto scoordinati e vecchiotti
:su wireless, ho bisogno di istruzioni semplici e chiare su come setatre
:questa benedetta wireless su fbsd.
:Mi date una mano?
:
:Ciao
:Vittorio
:
:___
: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: Which driver for SIS sound controller ?

2005-04-17 Thread edward
Works like a charm.
Thanks Chris.
Edward

 edward wrote:
 Hi all,
 I have installed 5.3 release and KDE 3.3 on a NEC machine (i386) with an
 integrated sound chip. When I start KDE, i get the following error message :
 Sound server informational message:
 Error while initializing the sound driver:
 device /dev/dsp can't be opened (No such file or directory)
 The sound server will continue, using the null output device
 
 I assume I need to load a kernel module (handbook wise). The integrated
 sound chip on my motherboard is labeled Silicon Integrated Systems (SIS)
 sound controller and, under Linux, the driver is snd-intel8x0
 It doesn't seem to appear in the hardware compatibility list for 5.3
 release, although it seems to be a rather common component.
 Does anyone know which FreeBSD driver I should use and if I'm on the right
 track ?
 Thanks,
 Edward
 
 
 
 Here's what I use in mine. I think mine is much like yours.
 
 sound_load=YES
 snd_ich_load=YES
 


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


Support for Alviso (Intel i915) chipset networking?

2005-04-17 Thread Nick Triantos
Hi,
I just bought a Sony VGN-S380 laptop, which is based on Intel's Sonoma 
platform.  This includes the Intel i915 chipset.  I'm looking for 
ethernet (not wireless) drivers for it, the fxp driver reluctantly 
loads, but doesn't recognize that there's a compatible card in my system.

I'm running the stock FreeBSD 5.3 system, cleanly installed.  The 
GENERIC kernel is still what's on there.

I see this:
  root# kldload -v if_fxp
  module_register: module pci/fxp already exists!
  Module pci/fxp failed to register: 17
  module_register: module cardbus/fxp already exists!
  Module cardbus/fxp failed to register: 17
  module_register: module fxp/miibus already exists!
  Module fxp/miibus failed to register: 17
  Loaded if_fxp, id=4
  root# kldstat
  Id Refs AddressSizeName
...
   41 0xc1f23000 8000if_fxp.ko
However, ifconfig does not show an interface to this card (it shows lo0 
and fwe0, which I think is the firewire ethernet driver).

Any clues?  It looks like a fix has been applied to the fxp driver, in 
time for rel 5.3, that should have added alviso chip support.  Maybe I'm 
missing some other core logic driver, I really don't know.

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


Re: messages from dhclient

2005-04-17 Thread LukeD

I have installed dhcp to get my FreeBSD system on line, a machine which I am
trying to set up as a web server. I used sysinstall and it seems to work
correctly (this e-mail is coming from my Linux workstation). However, when
working on the FreeBSD machine I keep getting the following message:
date  time dhclient: send_packet: permission denied.
What does this mean? I cannot find a reference to it in the man files.
It is a nuisance. When I am editing a config file with vi, this message get
written into the file, and over cofig file lines. How can I turn it off.
This happened to me briefly last week when my ISP decided to replace the 
router/DHCPserver that I happened to be connected to with a new one with a 
new IP address.  dhclient wasn't too happy about that.  I rebooted and all 
was fine, but in the meantime I got this message.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question using growfs with large fs

2005-04-17 Thread general
I am running FreeBSD 5.3 on an x86 system.  I have a 3ware 9500-s 12 port
raid controller installed.  Currently there is 8 250gig HD's attached.  I
originally created a raid-50 (two raid-5, 4 drives each) but recently,
migrated the raid-50 to one large raid-5 (which freed up one of the disks) .
After which, I went to expand the fs, but to my dismay, growfs is having
issues.  I've already set the new sizes in fdisk and disklabel.  

 

When I do: growfs -s 3396841102 /dev/da0s1h

I get: growfs: we are not growing (727144389-536870911)

 

Now I obviously don't know enough about growfs to understand what's going
on, but, my guess is that it's mis-reporting the current size and/or the
size I'm giving it to expand to.  Even if I give it a larger size, the
536870911 number does not increase.  I've read Scott Long is 'in progress'
of fixing some issues with growfs, I'm just not sure if mine fall into those
categories.  If anyone could email me with some ideas on what I can do, I'd
appreciate it. Thanks.

 

[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: Support for Alviso (Intel i915) chipset networking?

2005-04-17 Thread Nick Triantos
D'oh, you're right, the i915 is the graphics chip (I think, technically, 
it's the whole northbridge.  Intel is damn unclear about what functions 
are in each chip.

The Win XP drivers list the ethernet as Intel(R) PRO/100 VE
PCI ID: vendor = 8086
dev= 1068
subsys = 81d0104d
rev= 03
The marketing page about this platform is here:
http://www.intel.com/technology/itj/2005/volume09issue01/intro/p05_new_components.htm
though it's quite substance-free.  :-|
I'll keep hunting for what could be going wrong, but any further 
pointers welcome!

thanks all,
-Nick
Kevin Kinsey wrote:
Nick Triantos wrote:
Hi,
I just bought a Sony VGN-S380 laptop, which is based on
Intel's Sonoma platform.  This includes the Intel i915
chipset.  I'm looking for ethernet (not wireless) drivers
for it, the fxp driver reluctantly loads, but doesn't
recognize that there's a compatible card in my system.

Isn't the i915 the graphics chipset?  What is known about
the NIC portion of this board?  What shows up in dmesg?
snip
  root# kldstat
  Id Refs AddressSizeName
...
   41 0xc1f23000 8000if_fxp.ko
However, ifconfig does not show an interface to this
card (it shows lo0 and fwe0, which I think is the firewire ethernet 
driver).

It is.
Any clues?  It looks like a fix has been applied to the fxp driver,
in time for rel 5.3, that should have added alviso chip support. Maybe 
I'm missing some other core logic driver, I really don't know.

Hmm, what are you referring to here?
IANAE, so please hang on in case someone (who likely isn't sitting
at their desk on a Sunday afternoon) knowledgeable comes along;
however, I see no mention of i915 either in the manpage for fxp(4),
nor can I grep Alviso or i915 in any files under /src/sys/pci or
/src/sys/net.  Google doesn't turn up much, either.
The thing is pretty new, so I'd wonder if it's supported.  You can
definitely take a look at the HCL at the website.  I'll hope for your
sake it is --- like I said, IANAE.  But, I do wonder...
Kevin Kinsey
___
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: how to make my RAID device WORM(write once and read many)

2005-04-17 Thread prasadam kumar

hai,

Thanks for responding to my query,
actually it is a raid5 storage device it contains
firewire and usb ports, through this
interface a user can store data to the  raid5 device
irrespective of file system.
once he copied data to the device it should be
immutable(i.e cannot be modify and delete).
Can u suggest any approach to achieve this task.

bye
ppk

--- Александр Деревянко
[EMAIL PROTECTED] wrote:
 prasadam kumar wrote:
 
 hai,
 
 I am working Raid5 storage device and i want to
 make
 my device WORM(write once and read many) and
 undeleatable. I formated the target device in vfat,
 when 
 i am mounting the device in host machine it should 
 behavie like WORM. To achive this feature whether i
 
 have to change in host machine or target machine,
 which one is better approach and plz tell me how to
 achive this.
 
 bye
 ppk
 
 
  
   
 
 The first question is: for which purpose do you need
 this feature ? In 
 any case, you will need to have backup for this
 RAID.
  From my point of view, it looks like some version
 control management 
 system. May be, it will be wiser to use it ?
 
 As i understand, you can't get this feature from
 plain filesystem. Even 
 if you hack vinum to allow write only once in every
 block, usual 
 filesystem will not work on such device. You can
 make something like 
 database with add-only interface (MySQL + some
 scripting) and allow 
 access from Web interface.
 
 Take a look on some SCM solutions, it may be what
 you want.
 
 -- 
 Best Regards,
 Alexander Derevianko
 
 ___
 freebsd-questions@freebsd.org mailing list

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



__ 
Do you Yahoo!? 
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]