Re: from very early this morning...

2009-04-15 Thread Gary Kline
On Tue, 2009-04-14 at 19:23 -0400, Steve Bertrand wrote:
 Gary Kline wrote:
 
 [...big snip...]
 
  if i've made any sense so far, great!  if not,i'm open for
  questions.  i'm also open for suggestions on how to alter this
  network configuration.  
  
  thanks for reading this far.
  
  gary
  
  
  It might be simplest to replace my firewall and my server with
  low-energy-usage i386 computers; is there a better way?
 
 What are your requirements for your network ie. are you requiring any
 fancy trickery, or is this simply trying to NAT a couple of machines
 behind an ADSL connection?

No trickery; just trying to run a few desktops and a firewall plus my server.  
Of course, at the lowest power use, meaning that I'm trying to combine
servers, and so on.


 Steve

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


Re: from very early this morning...

2009-04-15 Thread Gary Kline
On Tue, 2009-04-14 at 22:10 -0400, Carl Chave wrote:
 Hi Gary,
 Just a couple of thoughts, as your setup sounds similar to mine (and a
 lot of others' I'm sure) - I too recently decided to make a concerted
 effort to reduce power consumption.  I just re-did my file server with
 FreeNAS and even though I've got tons of hardware laying around I
 decided to buy the Intel 945GCLF mini-itx board based on the Atom
 processor, like you find in most netbooks.  I put a gigabit NIC in it
 though as the onboard is 10/100 (but I knew that and already had the
 NIC).  It's running great so far.
 
 I'd like to replace my pfSense router/firewall, which is currently
 powered by an AMD Duron with another mini-itx board that I've had
 forever, it's one of the Via C3 500 Mhz based boards.  It's only got
 one PCI slot though, which gets me back to the topic at hand.
 
 I just changed my network topology when I stood up the new file
 server.  It's now:
 
 |-- Wired LAN
 ADSL Modem -- pfSense
   | |-- WAP -- WLAN
   |
   |-- DMZ (web server)
 Forgive my artwork.
 
 I have my ADSL modem set to bridged ethernet mode which disables all
 the router/firewall/dhcp features of the modem and just turns it into
 a media/protocol converter between the phone line and the ethernet
 cable going to the pfSense box.  I use the onboard 10/100 NIC for that
 PPPoE connection.
 
 I've got three more NICs installed to make up the remaining
 connections.  The wired LAN and the WLAN interfaces are bridged.  I
 initially had these as separate networks but most of my media players
 are wireless and the file server is on the wired side so bridging it
 was the easiest way (for me!) to get the broadcasts through.
 
 The web server is connected directly to the third NIC at the moment
 and is it's own network.  It's still behind the firewall but I can
 open ports now to it while still protecting the rest of the LAN from
 the web server if it get's compromised.  At least, that's the theory.
 
 So that's my setup, don't know if that's the kind of feedback you're
 looking for but I'd like to hear comments and see what others have
 going.

As far as I know, my 1.5 M/768K feed is DSL not ADSL; I don't think
it makes that much difference.  Anyway, it sounds like I'd like to do
something like you have.  Troubles are that my physical disability
prevents me from doing much beyond the keyboard.  Then there is the
question of which make of Intel I want for my new FBSD or Ubuntu.
I'm thinking of something that willl last several years--possibly a quad
with lots of disk and memory.  (But if a dual or a quad sucks up too
many watts, that blows much of the original purpose of cutting my
footprint.

gary


 
 Carl
 
 On Tue, Apr 14, 2009 at 7:23 PM, Steve Bertrand st...@ibctech.ca wrote:
 
  Gary Kline wrote:
 
  [...big snip...]
 
 if i've made any sense so far, great!  if not,i'm open for
 questions.  i'm also open for suggestions on how to alter this
 network configuration.
  
 thanks for reading this far.
  
 gary
  
  
   It might be simplest to replace my firewall and my server with
   low-energy-usage i386 computers; is there a better way?
 
  What are your requirements for your network ie. are you requiring any
  fancy trickery, or is this simply trying to NAT a couple of machines
  behind an ADSL connection?
 
  Steve
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Corrupt libraries

2009-04-15 Thread Ruel Luchavez
Hi List..

Is there any way how to determine a corrupt libraries in Freebsd 7.0?

or is there any command how to check libraries?


-- 
Ruel Luchavez
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Tennislessons online from Sweden

2009-04-15 Thread Tennistips365.com
--
http://www.tennistips365.com
The movies and educations are for:
-Players on all levels 
-Tennis parents 
-Tennis teaching professionals 
-Club coaches 
-Program directors 
-Club managers 
-College coaches 
-People who love sports
Get started now 
It takes less than a minute!

http://www.tennistips365.com
As a member you get instant access to:

Tennisinstruction movies 
-Streamed movies on your screen – 24/7/365 
-More than 280 unique tips 
-Divided in phases 
-Technique  Biomechanics 
-3 different angels 
-Left-  Right-handed 
-Normal speed  slowmotion
Education
-Grips  
-Swings  
-Corrections  
-Footstances 

http://www.tennistips365.com

Contact:
i...@tennistips365.com
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: from very early this morning...

2009-04-15 Thread Adam Vande More



(But if a dual or a quad sucks up too
many watts, that blows much of the original purpose of cutting my
footprint.
  
Newer cpu's(multicore vs single) are pretty efficient, here's an article 
so you don't have to take my word for it.  
http://www.tomshardware.com/reviews/intel-cpu-power-consumption,1750-11.html


also in general if you want lower power consumption look for cpu's w/ 
smaller fab eg in term of power consumption and size 90  65  45

gary


  



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


Re: What flash players should be used from ports?

2009-04-15 Thread Fernando Apesteguía
On 4/15/09, Vasadi I. Claudiu Florin claudiu.vas...@gmail.com wrote:

 
  Currently running i386.  I'm using firefox 3.0.4 (need to upgrade, wow
  didn't realize that).
 
 


 Hy,


 There are several ways to use flash player in FreeBSD X environment. One is,
 as someone previously pointed out, gnash. Another is by using
 nspluginwrapper and linux-flashplugin. Yet another is by using swfdec.

I wouldn't use swfdec. It makes my firefox 3.x crash (FreeBSD
7.1-RELEASE-p4 #12). In addition, I can't see any videos in my laptop
(AMD64 1600) despite the CPU is with 100% use. It works _mostly_ fine
in my other computer (Dual Core machine with the same FreeBSD version)
but too often it doesn't play sound with youtube videos .

My two cents.

Cheers

 A god start would be
 http://freebsd.langhans.com.pl/af/index.html and
 http://www.google.ro/search?hl=roq=freebsd+firefox+flash+playerbtnG=C%C4%83utare+Googlemeta=aq=foq=
 and of course
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/
 but aspecially
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
 .  Hope that triggered your appetite.


 Have fun :)

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

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


Which one of these two is the correct version?

2009-04-15 Thread Odhiambo Washington
Hello FreeBSD Gnome users,

I have been a KDE user because gnome installation/upgrade presents such a
pain to me most of the time. Today I decided to upgrade gnome from 2.24 --
2.26 but decided to visit the gnome pages first to see what is said. This is
after looking at /usr/ports/UPDATING and not seeing much to do with this
particular upgrade.

Now, there are two pages, and both of them seem upto date, but they have
conflicting information:

1.http://www.freebsd.org/gnome/docs/faq212.html#q2 - says that *NOTE: Do notrun
portupgrade(1) to upgrade to GNOME 2.26!**
   *and goes on to say one should use the gnome-upgrade.sh script, which
seems to NOT exist in the links.
2. http://www.freebsd.org/gnome/docs/faq226.html#q2 - says you should use
the following steps:
(a) pkgdb -Ff
(Remove gnome-volume-manager.)
(b) portupgrade -aOW
(c) portupgrade -f gnome-media gnome-settings-daemon
gnome-control-center

So I am just wondering which one is the correct version, since both are
talking about the upgrade to 2.26.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Corrupt libraries

2009-04-15 Thread Vasadi I. Claudiu Florin
On Wed, 15 Apr 2009 09:22:12 +0300, Ruel Luchavez ruel.free...@gmail.com  
wrote:



Hi List..

Is there any way how to determine a corrupt libraries in Freebsd 7.0?

or is there any command how to check libraries?





Hello,


I'm not sure of this but  ldd  should point out if a lib is  
corupted.

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


Re: make run-depends-list-recursive?

2009-04-15 Thread Jonathan McKeown
On Tuesday 14 April 2009 21:02:08 Mel Flynn wrote:
 On Monday 13 April 2009 03:56:15 Tim Judd wrote:

  make all-depends-list

 Two things:
 1) It surpresses config target and if a port has OPTIONS set, then you may
 get surprised once you've configured the port and ticked/unticked an option

I'm not sure what you're saying here, but if you want to avoid a surprise you 
can run make config to choose options, then re-run make all-depends-list: the 
dependency list changes according to the config options.

This is occasionally useful - for example it's how I found out that 
security/krb5 can be prevented from bringing in the whole of teTeX and its 
dependencies: just unselect the documentation (which is selected by default).

(On a separate note, does it strike anyone else as a bit excessive to install 
teTeX - which is well over 100MB of download not counting its own 
dependencies - behind the scenes as part of installing documentation?)

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't log-in anymore

2009-04-15 Thread Jonathan McKeown
On Wednesday 15 April 2009 03:58:08 Ruel Luchavez wrote:
 Hi..

 I know someoene here can help fix my biggest problem so far.

 I can't log-in any more in my FreebSD box
 the serverver always complain

 /libexec/ld-elf.so.1:shared object lib.so.7 not found, required by sh
 Enter full pathname of shell or RETURN fro /bin/sh:

 I press enter but nothing happens it always came back with that prompt.

 I'm not sure if there is something wrong with the library but few hours
 before that happens I can still log-in on my box.

 Any idea guys? I can't log-in anymore..

/bin/sh is dynamically linked - if you've blown away the library you have a 
problem.

You should be able to get in using /rescue/sh, which is statically linked, but 
to get the system back I think you're going to need more hands-on help than 
you can get here; either that or you're going to have to provide more detail 
about exactly what you were doing.

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problem: FreeBSD 7.x ssh v2 nss_ldap

2009-04-15 Thread Konrad Heuer


I see a problem on two systems running FreeBSD 7.0 or 7.1 which are 
configured as OpenLDAP clients using the nss_ldap module.


When someone logs on using ssh protocol version 2 the session will not be 
initialized correctly. The user will only get his primary group 
affiliation but no affiliation to other groups (memberUid attribute in 
LDAP group entries).


On 7.1 the ssh login process hangs forever with open ldap queries, on 7.0 
the group list is incomplete. On several 6.x systems, all works correctly.

I have used the configuration for years now.

There are some workarounds I found:

a) use ssh protocol version 1
b) set UseLogin to yes in sshd_config
c) avoid ssl encryption in communication to ldap server
   (ldap://... uri instead of ldaps://... in ldap.conf)

Does anybody see similar problems? Does anybody have an idea what may 
couse the problem?


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't log-in anymore

2009-04-15 Thread Ruel Luchavez
Hey..

Thanks for your reply..lucky for me I have solve my problem...:-)



...FreeBSD roCKS..



On Wed, Apr 15, 2009 at 3:38 PM, Jonathan McKeown j.mcke...@ru.ac.zawrote:

 On Wednesday 15 April 2009 03:58:08 Ruel Luchavez wrote:
  Hi..
 
  I know someoene here can help fix my biggest problem so far.
 
  I can't log-in any more in my FreebSD box
  the serverver always complain
 
  /libexec/ld-elf.so.1:shared object lib.so.7 not found, required by sh
  Enter full pathname of shell or RETURN fro /bin/sh:
 
  I press enter but nothing happens it always came back with that prompt.
 
  I'm not sure if there is something wrong with the library but few hours
  before that happens I can still log-in on my box.
 
  Any idea guys? I can't log-in anymore..

 /bin/sh is dynamically linked - if you've blown away the library you have a
 problem.

 You should be able to get in using /rescue/sh, which is statically linked,
 but
 to get the system back I think you're going to need more hands-on help than
 you can get here; either that or you're going to have to provide more
 detail
 about exactly what you were doing.

 Jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: How can I use BD-RE with UFS on geli?

2009-04-15 Thread SAITOU Toshihide
In message: 20090412.134212.26081.to...@ruby.ocn.ne.jp
SAITOU Toshihide to...@ruby.ocn.ne.jp writes:
 I tried BD-RE with UFS on geli but didn't success.
 What was wrong the below?

P.S.  BD-RE with UFS is the same result (not usable).


1. format the disk

   dvd+rw-format is failed but after this step the disk is
   newfs-able.

   # diskinfo -v /dev/acd0
   /dev/acd0
   2048# sectorsize
   8796093020160   # mediasize in bytes (8.0T)
   4294967295  # mediasize in sectors

   # kldload atapicam
   # dvd+rw-format /dev/cd0
   # kldunload atapicam

   # diskinfo -v /dev/acd0 
   /dev/acd0
   2048# sectorsize
   24220008448 # mediasize in bytes (23G)
   11826176# mediasize in sectors

2. newfs

   # newfs /dev/acd0

   the following message was detected:

   kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 


3. glabel and mount


but the disk access frequently failed with these messages
(offset and length is not always the same):

kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 
kernel: g_vfs_done():label/DailyBackup[READ(offset=2697789440, 
length=16384)]error = 5


SAITOU Toshihide
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Software to manage virtual hosts on a dedicated server

2009-04-15 Thread Zbigniew Szalbot

Hello,

Do you know any decent provider-like software which would handle adding  
new domains, ftp accounts, sql databases  mail accounts to the server?  
Preferably something in ports but I am not sure if there is any such  
thing? I am not going to become a provider :) but I am just looking for  
something to make life easier in this respect. I have seen syscp, but this  
has the disadvantage that it creates directories that are already  
containing public_html folders (no way to place files outside public  
access).


Many thanks in advance for all suggestions!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Odhiambo Washington
Hello List,

For some time now, I have been baffled by one thing: Mac OS X somehow has
FreeBSD under the hood. When you connect a USB stick (flash disk, external
drive) to a Mac, it gets automounted, yet the same does not happen on
FreeBSD.
I have seen several questions being asked on this list about this feature,
but the answer is neither here nor there.
There is even a port (sysutils/automounter) that I believe is supposed to
help towards this, but again it's not as easy as it seems to be.
Now my question is just one: Why should it be this difficult for FreeBSD to
have the automount feature within the base system?
If OS X is doing it, Linux is doing it, FreeBSD can do it.

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


hard drive performance

2009-04-15 Thread Alexander Best
hi there,

i have 2 hard drives running. the first one is SATA300 and the other one
UDMA100. here are the dmesg entries:

ad0: 238474MB SAMSUNG SP2504C VT100-50 at ata0-master SATA300
ad1: 157066MB Hitachi HDS722516VLAT80 V34OA63A at ata4-master UDMA100

i've tried to test the drives' performances using the following commands:

dd if=/dev/ad0 of=/dev/null bs=1m count=300
and
dd if=/dev/ad1 of=/dev/null bs=1m count=300

the results are:
ad0 = 314572800 bytes transferred in 4.325645 secs (72722751 bytes/sec)
ad1 = 314572800 bytes transferred in 5.166126 secs (60891430 bytes/sec)

the results for ad0 are a bit disappointing though. is this normal or is bs=1m
wrong?

cheers.
alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software to manage virtual hosts on a dedicated server

2009-04-15 Thread Wojciech Puchar
just another man that wants to get everything not just for free, but not 
even without much knowledge.


learn and MAKE IT YOURSELF, that it will fit exactly to your needs.


Or - provide services for 1$/year like there are lots of today. crappy and 
all the same - but cheap. Maybe you will earn 100$ a month - if you will 
be lucky.




Do you know any decent provider-like software which would handle adding new 
domains, ftp accounts, sql databases  mail accounts to the server? 
Preferably something in ports but I am not sure if there is any such thing? I 
am not going to become a provider :) but I am just looking for something to 
make life easier in this respect. I have seen syscp, but this has the 
disadvantage that it creates directories that are already containing 
public_html folders (no way to place files outside public access).


Many thanks in advance for all suggestions!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


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


Re: Software to manage virtual hosts on a dedicated server

2009-04-15 Thread Outback Dingo
ISPCP, sysCP, DTC
GNUPanelhttp://gnupanel.org/
OpenPanel   http://www.openpanel.com/
ispCP Omega http://isp-control.net/
RavenCore   http://www.ravencore.com/


2009/4/15 Zbigniew Szalbot z.szal...@lcwords.com

 Hello,

 Do you know any decent provider-like software which would handle adding new
 domains, ftp accounts, sql databases  mail accounts to the server?
 Preferably something in ports but I am not sure if there is any such thing?
 I am not going to become a provider :) but I am just looking for something
 to make life easier in this respect. I have seen syscp, but this has the
 disadvantage that it creates directories that are already containing
 public_html folders (no way to place files outside public access).

 Many thanks in advance for all suggestions!

 Zbigniew Szalbot
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

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


Re: Software to manage virtual hosts on a dedicated server

2009-04-15 Thread Zbigniew Szalbot

Hi,

Dnia 15-04-2009 o 13:58:04 Wojciech Puchar  
woj...@wojtek.tensor.gdynia.pl napisał(a):


just another man that wants to get everything not just for free, but not  
even without much knowledge.
Hmm... who says I want to get everyting for free (without trying and  
learning)? Have you read my post? I did make a note about trying out syscp.



learn and MAKE IT YOURSELF, that it will fit exactly to your needs.
Yeah... will you send me the same answer if I want to buy a car? Am I  
supposed to know everything about all things and be able to do them?


Or - provide services for 1$/year like there are lots of today. crappy  
and all the same - but cheap. Maybe you will earn 100$ a month - if you  
will be lucky.


Have you read my post? I wrote that I am NOT going to be a provider but  
just looking for something to make life easier my side of things. I have a  
server I am responsible for and from time to time I add domains and would  
like to automate it a bit if possible.


Take care,

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Matthias Apitz
El día Wednesday, April 15, 2009 a las 02:50:03PM +0300, Odhiambo Washington 
escribió:

 Hello List,
 
 For some time now, I have been baffled by one thing: Mac OS X somehow has
 FreeBSD under the hood. When you connect a USB stick (flash disk, external
 drive) to a Mac, it gets automounted, yet the same does not happen on
 FreeBSD.
 I have seen several questions being asked on this list about this feature,
 but the answer is neither here nor there.
 There is even a port (sysutils/automounter) that I believe is supposed to
 help towards this, but again it's not as easy as it seems to be.
 Now my question is just one: Why should it be this difficult for FreeBSD to
 have the automount feature within the base system?

Hello,

Before doubting and blaming, read all man pages; for example just do

$ man -k auto | fgrep mount
amd(8)   - automatically mount file systems
amq(8)   - automounter query tool
pawd(1)  - print automounter working directory

 If OS X is doing it, Linux is doing it, FreeBSD can do it.

Ofc FreeBSD base system can do it for you if you configure it to do so;
read my attached paper for more help;

matthias

 Clothes make the man.  Naked people have little or no influence on
 society.
   -- Mark Twain

I agree and would add: Reading makes the man wise :-)

CU

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.

$Id: automount.txt,v 1.4 2006/09/18 14:59:29 guru Exp $

for automounting CDROM, USB (and other devices) you configure


/etc/amd.conf:

[ global ] 
normalize_hostnames =no 
print_pid =  no 
restart_mounts = yes 
auto_dir =   /a 
log_file =   /var/log/amd 
log_options =all 
#debug_options = all 
plock =  no 
cache_duration  =6 
dismount_interval =  20 
selectors_on_default =   yes 
# config.guess picks up sunos5 and I don't want to edit my maps yet 
# os = sos5 
# if you print_version after setting up os, it will show it. 
print_version =  no 
map_type =   file 
search_path =/etc/amdmaps:/usr/lib/amd:/usr/local/AMD/lib 
browsable_dirs = yes 
 
[ /a ] 
map_name =  amd.cdrom
[ /u ] 
map_name =  amd.usb

/etc/amdmaps/amd.cdrom:
cdrom   type:=cdfs;fs:=/cdrom;dev:=/dev/acd0;opts:=ro

/etc/amdmaps/amd.usb:
usb   type:=pcfs;fs:=/mnt/usb;dev:=/dev/da0s1;opts:=rw

/etc/rc.conf:

#
# automount daemon
rpcbind_enable=YES
nfs_client_enable=YES
amd_enable=YES
amd_flags=

then you just pick-up the directory /a/cdrom with Konqueror and
drag and drop the (video) file there to the Xine window, for example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Ivan Voras
Odhiambo Washington wrote:
 Hello List,
 
 For some time now, I have been baffled by one thing: Mac OS X somehow
 has FreeBSD under the hood. When you connect a USB stick (flash disk,
 external drive) to a Mac, it gets automounted, yet the same does not
 happen on FreeBSD.
 I have seen several questions being asked on this list about this
 feature, but the answer is neither here nor there.
 There is even a port (sysutils/automounter) that I believe is supposed
 to help towards this, but again it's not as easy as it seems to be.
 Now my question is just one: Why should it be this difficult for FreeBSD
 to have the automount feature within the base system?
 If OS X is doing it, Linux is doing it, FreeBSD can do it.

Of course. Find someone and pay him to do it, just like OS X and Linux
did :)


(or look at http://www.freebsd.org/cgi/man.cgi?devd.conf and
http://www.freebsd.org/cgi/man.cgi?amd )



signature.asc
Description: OpenPGP digital signature


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Chris Rees
2009/4/15 Odhiambo Washington odhia...@gmail.com:
 Hello List,

 For some time now, I have been baffled by one thing: Mac OS X somehow has
 FreeBSD under the hood.

No! It has Darwin under the hood, but uses the FreeBSD userland.

 When you connect a USB stick (flash disk, external
 drive) to a Mac, it gets automounted, yet the same does not happen on
 FreeBSD.

This is a HAL feature, and you can do it; certainly I have it in Xfce for CDs.

 I have seen several questions being asked on this list about this feature,
 but the answer is neither here nor there.
 There is even a port (sysutils/automounter) that I believe is supposed to
 help towards this, but again it's not as easy as it seems to be.

 Now my question is just one: Why should it be this difficult for FreeBSD to
 have the automount feature within the base system?

No-one has yet made it perfect. Nothing gets committed to the base
system unless it works out of the box and works properly. Automounting
is a fiddly thing, and is not necessary for the majority of
applications; remember FreeBSD is primarily a server OS.

 If OS X is doing it, Linux is doing it, FreeBSD can do it.

Linux doesn't just do it. It just happens to be so that Ubuntu (for
example) have set this up in their distribution.

There are a million things that it would be nice to put in the base
system, but all it would do would be to bloat it, and make world
rebuilding that little bit longer.

Chris


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard drive performance

2009-04-15 Thread Ivan Voras
Alexander Best wrote:
 hi there,
 
 i have 2 hard drives running. the first one is SATA300 and the other one
 UDMA100. here are the dmesg entries:
 
 ad0: 238474MB SAMSUNG SP2504C VT100-50 at ata0-master SATA300
 ad1: 157066MB Hitachi HDS722516VLAT80 V34OA63A at ata4-master UDMA100
 
 i've tried to test the drives' performances using the following commands:
 
 dd if=/dev/ad0 of=/dev/null bs=1m count=300
 and
 dd if=/dev/ad1 of=/dev/null bs=1m count=300
 
 the results are:
 ad0 = 314572800 bytes transferred in 4.325645 secs (72722751 bytes/sec)
 ad1 = 314572800 bytes transferred in 5.166126 secs (60891430 bytes/sec)
 
 the results for ad0 are a bit disappointing though. is this normal or is bs=1m
 wrong?

70+ MB/s is a perfectly fine speed for a modern drive. The 300 in
SATA300 doesn't mean what you probably think it means.



signature.asc
Description: OpenPGP digital signature


Re: How to portinstall -P packages that alter ther names via PKGNAMESUFFIX?

2009-04-15 Thread Chris Rees
2009/4/15 Panagiotis Christias p.christ...@noc.ntua.gr:
 RW wrote:

 On Wed, 15 Apr 2009 02:24:59 +0300
 Panagiotis Christias p.christ...@noc.ntua.gr wrote:

 The setup works quite well and has saved us a lot of time and effort.
 Currently we are looking for ways to automate as much as possible the
 whole process. One of the problems we face is the initial
 installation of packages that alter their names, like
 sendmail+tls+sasl2+ldap+db46 and openldap-sasl-server. Seems like
 there is no obvious way to portinstall -P such packages.

 This is sometimes handled through slave ports e.g.
 net/cvsup-without-gui.

 If there aren't too many variations you might create some local slave
 ports.

 Wouldn't that require to create the ports INDEX file locally?

 --
 Panagiotis J. Christias    Network Management Center
 p.christ...@noc.ntua.gr    National Technical Univ. of Athens, GREECE
 ___
 freebsd-po...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


AFAIK, portupgrade doesn't like funny port names. The correct solution
is to make config the port and order the proper options, or stick them
in your /usr/local/etc/pkgtools.conf; for example instead of
cvsup-without-gui you should change the config and use the port for
cvsup.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Corrupt libraries

2009-04-15 Thread Ivan Voras
Ruel Luchavez wrote:
 Hi List..
 
 Is there any way how to determine a corrupt libraries in Freebsd 7.0?
 
 or is there any command how to check libraries?

It depends on what do you need it for. Out of the box, there is no way
to check if the libraries have been changed / corrupted from the time of
the install because there are many valid modes of installation for new
libraries. You can use the built-in md5 or mtree commands to make a
record of some state of files and later compare the record with the new
state, or you can install one of many ports that do something like that
more-or-less automatically (e.g. security/tripwire).



signature.asc
Description: OpenPGP digital signature


Re: hard drive performance

2009-04-15 Thread Bruce Cran
On Wed, 15 Apr 2009 13:54:13 +0200 (CEST)
Alexander Best alexbes...@math.uni-muenster.de wrote:

 hi there,
 
 i have 2 hard drives running. the first one is SATA300 and the other
 one UDMA100. here are the dmesg entries:
 
 ad0: 238474MB SAMSUNG SP2504C VT100-50 at ata0-master SATA300
 ad1: 157066MB Hitachi HDS722516VLAT80 V34OA63A at ata4-master
 UDMA100
 
 i've tried to test the drives' performances using the following
 commands:
 
 dd if=/dev/ad0 of=/dev/null bs=1m count=300
 and
 dd if=/dev/ad1 of=/dev/null bs=1m count=300
 
 the results are:
 ad0 = 314572800 bytes transferred in 4.325645 secs (72722751
 bytes/sec) ad1 = 314572800 bytes transferred in 5.166126 secs
 (60891430 bytes/sec)
 
 the results for ad0 are a bit disappointing though. is this normal or
 is bs=1m wrong?

70MB/s is a very good transfer rate for a hard drive. The 300MB/s rate
refers to the maximum the physical interface can support, but drives
never get close to that because they can't read from disk at that
speed.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Manolis Kiagias
Odhiambo Washington wrote:
 Hello List,

 For some time now, I have been baffled by one thing: Mac OS X somehow has
 FreeBSD under the hood. When you connect a USB stick (flash disk, external
 drive) to a Mac, it gets automounted, yet the same does not happen on
 FreeBSD.
 I have seen several questions being asked on this list about this feature,
 but the answer is neither here nor there.
 There is even a port (sysutils/automounter) that I believe is supposed to
 help towards this, but again it's not as easy as it seems to be.
 Now my question is just one: Why should it be this difficult for FreeBSD to
 have the automount feature within the base system?
 If OS X is doing it, Linux is doing it, FreeBSD can do it.

   
FreeBSD *can* automount. The problem for the time being is pulling a USB
flash drive without unmounting.
To automount (assuming you are using something like GNOME or XFCE), you
can use the facilities provided by hal and policykit.

See this:

http://www.freebsd.org/gnome/docs/halfaq.html#q3

(I have also written a complete set of steps for this - currently in
Greek only, but I will translate it sooner or later)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 7.1 System Crashing

2009-04-15 Thread APseudoUtopia
On Tue, Apr 14, 2009 at 8:49 PM, Fbsd1 fb...@a1poweruser.com wrote:
 APseudoUtopia wrote:

 My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
 two days. I'm trying to figure out why, but there is nothing in
 /var/log/messages or dmesg about the incident.

 Here's the output from the `last` command:
 User      ttyp0    1.2.3.4    Tue Apr 14 19:02   still logged in
 User      ttyp0    1.2.3.4    Tue Apr 14 18:52 - 19:02  (00:09)
 reboot           ~                         Tue Apr 14 18:52
 User      ttyp0    1.2.3.4    Tue Apr 14 18:42 - crash  (00:09)
 User      ttyp0    1.2.3.4    Tue Apr 14 16:06 - 18:42  (02:36)
 User      ttyp0    1.2.3.4    Tue Apr 14 11:23 - 12:53  (01:29)
 reboot           ~                         Tue Apr 14 07:44
 User      ttyp0    1.2.3.4    Mon Apr 13 20:01 - 22:58  (02:57)
 User      ttyp0    1.2.3.4    Mon Apr 13 19:56 - 20:01  (00:04)
 User      ttyp0    1.2.3.4    Mon Apr 13 19:31 - 19:56  (00:25)
 User      ttyp0    1.2.3.4    Sun Apr 12 15:02 - 16:15  (01:12)
 User      ttyp0    1.2.3.4    Sun Apr 12 14:48 - 15:02  (00:14)
 reboot           ~                         Sun Apr 12 14:48
 shutdown         ~                         Sun Apr 12 14:45
 User      ttyp0    1.2.3.4    Sun Apr 12 14:24 - shutdown  (00:21)
 User      ttyp0    1.2.3.4    Sat Apr 11 13:03 - 17:00  (03:56)
 wtmp begins Wed Apr  1 21:21:28 UTC 2009



 As you can see, the system reboot several times, and crashed the most
 recent time. Only one of the shutdown/reboots listed is valid - the
 furthest one.
 I have no idea why it is rebooting/crashing. It has been completely
 stable until about 1-2 days ago. If anyone can direct me to post the
 output to any commands or any log messages, I'd be more than willing
 to do so in order to help anyone diagnose my problem.

 Thank you for your time.



 What you are experiencing are the early warning signs of disk drive failure
 or over heating problems.

 Before doing any thing else make backup of your user data if you have not
 done so already.

 Then open your box and use a small brush and a can of compressed air to blow
 the dust off the motherboard and the fans. Give special attention to the fan
 in the power supply. If PC is older than 3 years or has over 1 year of
 continues use then replace the power supply.

 IF problem still happens replace hard drive.




The system is in a colocation center which I don't have access to. The
HDD crashed several months ago and was replaced by a brand new drive
(or so I was told). So I'm leaning towards a heat or PSU problem.
I installed Healthd on the system to monitor such things, however it
didn't detect the hardware properly. Apparently the voltage in my CPU
core was 0.00, as was the temperature. Is there any other way to
monitor these things?

Everyone: Thanks for all the help. I'll open up a ticket with my host
to get them to look at it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Splash screen color issues

2009-04-15 Thread Eugene L.

Fbsd1 пишет:

Eugene L. wrote:
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I 
am trying to make splash screen feature work properly, so I followed 
the procedure described in handbook and the splash screen actually 
loads, except the black is now white, red is violet, etc.


So all the colors of the bitmap are messed up, and I checked, they 
fit the requirements and I've tried other pics and pcx format. I 
tried gimp, photoshop. The issue isn't pic related


What could possibly be the reason?

I use Sapphire Radeon X1600 Pro AGP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org





Has to be your video card. If you have an X-desktop installed try 
displaying the splash screen and see how it looks there. The x-desktop 
should have auto loaded a driver for your video card. If the colors 
are ok them unplug your video card and try the motherboard default video.


Well there are no colour issues on xorg (radeon driver), and I don't 
have internal video on motherboard, so I decided to mess with different 
modes, without vesa it flatout refused to work, with this messages im dmesg


splash_bmp: No appropriate video mode found
module_register_init: MOD_LOAD (splash_bmp, 0xc0d80b70, 0) error 19

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


Re: ipfw: bandwidth limiting

2009-04-15 Thread Martin Schweizer

Hello Wojciech

Sorry for the delay but in the past I was very busy. I use now the folowing:

$ipfwcmd pipe 1 config bw 80kByte/s
$ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1

$ipfwcmd queue 1 config pipe 1 weight 1 mask dst-ip 0x
$ipfwcmd add queue 1 all from any to 192.168.10.0/24{100-254} via em1

I expect that all hosts are targed with the ip address 192.168.10.0/24, 
from .100 to .254. Is that correct? As far as I can see it works like 
expected but I'm not 100% sure. I'm right?


Kind regards,


Wojciech Puchar schrieb:

[snip]
$ipfwcmd pipe 1 config bw 80KByte/s
$ipfwcmd add pipe 1 ip from any to 192.168.10.0/24{100-254} via em1
[snip]

I'm not sure it works. When I do a large download which takes long and
anybody else want download too, this download will only get a reduce
bandwidth. I expect that the second download get same rate as the 
first one

(and reduce the bandwidth from the first one). Is that correct?


your example limits it all to 80kB/s but does no traffic management. so 
it may get the same rate (half by half) or may not.



do

$ipfwcmd pipe 1 config bw 80kByte/s
$ipfwcmd queue 1 config pipe 1 weight 1  mask dst-ip 0x
$ipfwcmd add queue 1 ip from any to 192.168.10.0/24{100-254} via em1

this will limit them to 80kB/s and perform fair-sharing based of hosts.

for example if one user on one computer will start 100 downloads, and 
other on other computer will start 1 download, this will ensure that 
first user will not takeover most bandwidth.


--
Martin Schweizer

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; Postfach 132;
CH-8608 Bubikon; Tel. +41 55 243 30 00; Fax: +41 55 243 33 22;
http://www.pc-service.ch
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software to manage virtual hosts on a dedicated server

2009-04-15 Thread Odhiambo Washington
On Wed, Apr 15, 2009 at 2:58 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 just another man that wants to get everything not just for free, but not
 even without much knowledge.

 learn and MAKE IT YOURSELF, that it will fit exactly to your needs.


 Or - provide services for 1$/year like there are lots of today. crappy and
 all the same - but cheap. Maybe you will earn 100$ a month - if you will be
 lucky.


@Wojciech Puchar,

What is it that you smoke? Or is this the after-effects of the smoking?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


IPFW: table approvement

2009-04-15 Thread KES
Hi.

Is it right place to post ideas?

If it is lets suggest next approvement

IPFW has 'table' command
each table entry has some 'tablearg'

There are situations when you need each entry has multiple values.
For example:


#NAT
table 1 add 10.0.1.0/24 1
table 1 add 10.0.2.0/24 2

#PIPE
table 2 add 10.0.1.0/24 3
table 2 add 10.0.2.0/24 4

#tag
table 3 add 10.0.1.0/24 7
table 4 add 10.0.2.0/24 9

ipfw add XXX tag  tablearg all from table(1) to any
ipfw add XXX nat  tablearg all from table(2) to any
ipfw add XXX pipe tablearg all from table(3) to any


I will be best if it can be optimized as next:
table 1 add 10.0.1.0/24 1 3 7
table 1 add 10.0.2.0/24 2 4 9

#user can name columns as:
table 1 columns nat pipe tag

#1. compatibility: first column can be used as usual
ipfw add XXX tag tablearg all from table(1) to any

#2. you may use value from second column of table entry as:
ipfw add XXX nat tablearg(2) all from table(1) to any

#3. you may use value by name
ipfw add XXX pipe tablearg(pipe) all from table(1) to any

#4. finally it will be good to apply multiple commands to one rule:
ipfw add XXX pipe tablearg(pipe) nat tablearg(2) tag tablearg all from table(1) 
to any

What do you think?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

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


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Ivan Voras
Manolis Kiagias wrote:
 Odhiambo Washington wrote:
 Hello List,

 For some time now, I have been baffled by one thing: Mac OS X somehow has
 FreeBSD under the hood. When you connect a USB stick (flash disk, external
 drive) to a Mac, it gets automounted, yet the same does not happen on
 FreeBSD.
 I have seen several questions being asked on this list about this feature,
 but the answer is neither here nor there.
 There is even a port (sysutils/automounter) that I believe is supposed to
 help towards this, but again it's not as easy as it seems to be.
 Now my question is just one: Why should it be this difficult for FreeBSD to
 have the automount feature within the base system?
 If OS X is doing it, Linux is doing it, FreeBSD can do it.

   
 FreeBSD *can* automount. The problem for the time being is pulling a USB
 flash drive without unmounting.

This works better in 7-STABLE.



signature.asc
Description: OpenPGP digital signature


Re: mkisofs and directories

2009-04-15 Thread Peter Ulrich Kruppa
Am Dienstag, den 14.04.2009, 23:22 -0600 schrieb Tim Judd:
 On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best 
 alexbes...@math.uni-muenster.de wrote:
 
  hi there,
 
  this is a question that's always been bugging me:
 
  when i give mkisofs a directory as argument it always ads the contents of
  that
  directory to the iso. how can i tell mkisofs that i want the actual
  directory
  (including all it's contents) to be added to the iso?
 
  cheers.
  alex
 
 
 unix naming convention normally dictates the following:
 cp -r /cdrom/dir /mnt/
 # will create /mnt/dir and everything under it
 cp -r /cdrom/dir/ /mnt/
 # will copy contents of dir into /mnt
That was what I thought it should do - but it doesn't!

Greetings,

Uli.

 
 
 Try excluding the slash (which is the only difference).
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Mehmet Erol Sanliturk
On Wed, Apr 15, 2009 at 9:50 AM, Manolis Kiagias sonic200...@gmail.comwrote:

 Odhiambo Washington wrote:

 (I have also written a complete set of steps for this - currently in
 Greek only, but I will translate it sooner or later)



Such a write-up really will be very useful , because part in the FreeBSD
Handbook contains errors .
For example :

mount -t msdosfs -o -m=644 -M=755 /dev/da0s1 /mnt/username
Error  -- Invalid switch M

Also examples for pw contain invalid switches .

The paages from man such as man pw are very difficult to use because they
contain many switches and to understand use of those requires many trials
due to combinatorial possible combinations and lack of ample examples .


People accustomed to Windows device management finds Unix device management
really very difficult such as me . To understand and use of USB sticks in
FreeBSD required much time .
Among FreeBSD , Linux , and Windows , hardest to use is FreeBSD with respect
device usage by the user .



Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Andreas Rudisch
On Wed, 15 Apr 2009 16:50:38 +0300
Manolis Kiagias sonic200...@gmail.com wrote:

 FreeBSD *can* automount. The problem for the time being is pulling a USB
 flash drive without unmounting.

Looks like this will no longer be a problem on FreeBSD 7.2+. It works fine 
already on 7.2-Prerelease/RC1.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpWunKAve4fT.pgp
Description: PGP signature


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Manolis Kiagias
Mehmet Erol Sanliturk wrote:


 On Wed, Apr 15, 2009 at 9:50 AM, Manolis Kiagias
 sonic200...@gmail.com mailto:sonic200...@gmail.com wrote:

 Odhiambo Washington wrote:

 (I have also written a complete set of steps for this - currently in
 Greek only, but I will translate it sooner or later)



 Such a write-up really will be very useful , because part in the
 FreeBSD Handbook contains errors .
 For example :

 mount -t msdosfs -o -m=644 -M=755 /dev/da0s1 /mnt/username
 Error  -- Invalid switch M

You've forgotten the comma between the -o options:

mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt/username

The example in the handbook is correct (I remember fixing it myself :) )


 Also examples for pw contain invalid switches .

If you do find problems in the documentation, please tell us exact
locations or submit doc-bug reports.


 The paages from man such as man pw are very difficult to use because
 they contain many switches and to understand use of those requires
 many trials due to combinatorial possible combinations and lack of
 ample examples .

Well, yes you need to study it carefully. It's easier than it looks at
first glance.



 People accustomed to Windows device management finds Unix device
 management really very difficult such as me . To understand and use of
 USB sticks in FreeBSD required much time .
 Among FreeBSD , Linux , and Windows , hardest to use is FreeBSD with
 respect device usage by the user .



It is not hard, you just have to learn how it works. Windows does a lot
of handholding, and so do many of the popular linux distros. FreeBSD
does not. You can only accomplish tasks that you understand, but there
is lot of stuff to read and is very well organized.
OTOH, you may not want to spend so much time if you just need to have an
average user's desktop.

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


Re: [PHP] putting variables in a variable

2009-04-15 Thread Ray
On Tuesday 14 April 2009 16:33:33 Ray wrote:
 Sorry,
 I replied to OP, not list

and then forwarded it to the wrong list to.
Sorry for the spam. :(
Ray
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't log-in anymore

2009-04-15 Thread Chris Rees
2009/4/15 Ruel Luchavez ruel.free...@gmail.com:
 Hey..

 Thanks for your reply..lucky for me I have solve my problem...:-)





How did you solve it?

It's always best to say what you did, in case someone stumbles on this
thread using Google; even a link to somewhere explaining is better
than nothing.

 ...FreeBSD roCKS..



I quite agree.


Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: hard drive performance

2009-04-15 Thread Chris Rees
2009/4/15 Bruce Cran br...@cran.org.uk:
 On Wed, 15 Apr 2009 13:54:13 +0200 (CEST)
 Alexander Best alexbes...@math.uni-muenster.de wrote:

 hi there,

 i have 2 hard drives running. the first one is SATA300 and the other
 one UDMA100. here are the dmesg entries:

 ad0: 238474MB SAMSUNG SP2504C VT100-50 at ata0-master SATA300
 ad1: 157066MB Hitachi HDS722516VLAT80 V34OA63A at ata4-master
 UDMA100

 i've tried to test the drives' performances using the following
 commands:

 dd if=/dev/ad0 of=/dev/null bs=1m count=300
 and
 dd if=/dev/ad1 of=/dev/null bs=1m count=300

 the results are:
 ad0 = 314572800 bytes transferred in 4.325645 secs (72722751
 bytes/sec) ad1 = 314572800 bytes transferred in 5.166126 secs
 (60891430 bytes/sec)

 the results for ad0 are a bit disappointing though. is this normal or
 is bs=1m wrong?

 70MB/s is a very good transfer rate for a hard drive. The 300MB/s rate
 refers to the maximum the physical interface can support, but drives
 never get close to that because they can't read from disk at that
 speed.

 --
 Bruce Cran

Hehe, I think everyone makes that mistake when they're enthusiastic
and sometimes even somewhat experienced. It's always such a
disappointment when they realise, I remember when I did too.

Chris

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to check which FIB has a given process

2009-04-15 Thread KES
Hi, Freebsd-questions.

I can set process to have some FIB
setfib X /some/programm

How to check which FIB has some process?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

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


Re: Which one of these two is the correct version?

2009-04-15 Thread Odhiambo Washington
On Wed, Apr 15, 2009 at 8:27 PM, barbara barbara.xxx1...@libero.it wrote:

  Hello FreeBSD Gnome users,
 
  I have been a KDE user because gnome installation/upgrade presents such a
  pain to me most of the time. Today I decided to upgrade gnome from 2.24
 --
  2.26 but decided to visit the gnome pages first to see what is said. This
 is
  after looking at /usr/ports/UPDATING and not seeing much to do with this
  particular upgrade.
 
  Now, there are two pages, and both of them seem upto date, but they
 have
  conflicting information:
 
  1.http://www.freebsd.org/gnome/docs/faq212.html#q2 - says that *NOTE: Do
 notrun
  portupgrade(1) to upgrade to GNOME 2.26!**
 *and goes on to say one should use the gnome-upgrade.sh script, which
  seems to NOT exist in the links.
  2. http://www.freebsd.org/gnome/docs/faq226.html#q2 - says you should
 use
  the following steps:
  (a) pkgdb -Ff
  (Remove gnome-volume-manager.)
  (b) portupgrade -aOW
  (c) portupgrade -f gnome-media gnome-settings-daemon
  gnome-control-center
 
  So I am just wondering which one is the correct version, since both are
  talking about the upgrade to 2.26.
 
 


  1.http://www.freebsd.org/gnome/docs/faq212.html#q2
  2. http://www.freebsd.org/gnome/docs/faq226.html#q2

 Can you see the number between faq and .html? ;)


Barbara,

Does that number, whether I see it or not, matter at all?
Both cases are talking about *upgrade to 2.26*, unless I also got blind to
the issue that mattered to me.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Clothes make the man.  Naked people have little or no influence on
society.
  -- Mark Twain
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re:Which one of these two is the correct version?

2009-04-15 Thread barbara
 Hello FreeBSD Gnome users,

 I have been a KDE user because gnome installation/upgrade presents such a
 pain to me most of the time. Today I decided to upgrade gnome from 2.24 --
 2.26 but decided to visit the gnome pages first to see what is said. This is
 after looking at /usr/ports/UPDATING and not seeing much to do with this
 particular upgrade.

 Now, there are two pages, and both of them seem upto date, but they have
 conflicting information:

 1.http://www.freebsd.org/gnome/docs/faq212.html#q2 - says that *NOTE: Do 
 notrun
 portupgrade(1) to upgrade to GNOME 2.26!**
*and goes on to say one should use the gnome-upgrade.sh script, which
 seems to NOT exist in the links.
 2. http://www.freebsd.org/gnome/docs/faq226.html#q2 - says you should use
 the following steps:
 (a) pkgdb -Ff
 (Remove gnome-volume-manager.)
 (b) portupgrade -aOW
 (c) portupgrade -f gnome-media gnome-settings-daemon
 gnome-control-center

 So I am just wondering which one is the correct version, since both are
 talking about the upgrade to 2.26.




 1.http://www.freebsd.org/gnome/docs/faq212.html#q2
 2. http://www.freebsd.org/gnome/docs/faq226.html#q2

Can you see the number between faq and .html? ;)

Cheers
Barbara


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


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 13:44:40 +0100, Chris Rees utis...@googlemail.com wrote:
 Automounting
 is a fiddly thing, and is not necessary for the majority of
 applications; remember FreeBSD is primarily a server OS.

Well, I'm using it exclusively as a desktop since 4.0, what
am I doing wrong? :-)

No, honestly: There are additional security considerations.
Do you want anyone to plug in an USB stick and steal your
data while you're not at your computer? Or put crap onto your
machine?

In some settings, especially the desktop-class installations
at home, automounting of USB sticks and other media is a very
good thing. It makes life easier.

Desktops in a corporate environment may require this functionality
explicitely to be disabled - theft of data can be made more
complicated by such a means. In most cases, there are guidelines
by the corporation that determine which features are allowed
and which aren't.

In development settings, it may be interrupting. Sometimes, I
just want to put in a blank CD to use it later on - not now,
so I don't want any interaction now. Or a USB stick that I
want to newfs, I don't want to get it mounted with its crappy
MSDOS file system on it before (which would require more
interaction to unmount it).

In server settings, automounting is mostly completely useless
because there is nothing to mount.

What would be the next request in this line? I want to put in
a USB stick and then FreeBSD should automatically execute what's
on this stick, and it should do this by default without any
questions. :-)



And yes, I'm paranoid and old-fashioned. =^_^=


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com 
wrote:
 OTOH, you may not want to spend so much time if you just need to have an
 average user's desktop.

If this case, go with PC-BSD. Looks like Windows, feels like
Windows, still is FreeBSD. :-)

(Honestly, it's not *that* bad and offers a lot of handholding,
automation and preconfiguration.)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Manolis Kiagias

Polytropon wrote:

On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com 
wrote:
  

OTOH, you may not want to spend so much time if you just need to have an
average user's desktop.



If this case, go with PC-BSD. Looks like Windows, feels like
Windows, still is FreeBSD. :-)

(Honestly, it's not *that* bad and offers a lot of handholding,
automation and preconfiguration.)

  
Totally OT now, but I aggree they have done an excellent work on their 
latest 7.1 release. Now I can definitely give this to friends who wish 
to have a usable system right away. And they can still move to FreeBSD 
internals if they wish to.

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


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Mehmet Erol Sanliturk
On Wed, Apr 15, 2009 at 2:04 PM, Polytropon free...@edvax.de wrote:

 On Wed, 15 Apr 2009 19:16:02 +0300, Manolis Kiagias sonic200...@gmail.com
 wrote:
  OTOH, you may not want to spend so much time if you just need to have an
  average user's desktop.

 If this case, go with PC-BSD. Looks like Windows, feels like
 Windows, still is FreeBSD. :-)

 (Honestly, it's not *that* bad and offers a lot of handholding,
 automation and preconfiguration.)


Problem is not to select an operating system to use but it is easiness of
usability of FreeBSD especially for the new beginners .

A few days ago I tried to install my FreeBSD 2.0.5 double CD version but it
could not be possible because it was requiring sound card attached old model
CD-ROM drive .

Over time . daily requirements is driving the selection of operating systems
and personally I do not have any prejudice against to any one of the
operating systems  . As a person living as a computing specialist since 1975
I appreciate the difficulty of development of an operating system and really
thank to all of the persons contributing to the open source operating
systems ( I use nearly solely Fortran an Pascal ) .

 I like FreeBSD very much and I want to see it much more better than its
actually very very good state . One point for improvement is the easiness of
usability for the new comers .

Second is its installation easiness which at present I find it very
difficult ( for example , during installation , it is not possible to go
back to correct an entry . Due to this , sometimes it is becoming necessary
to power off the computer and re-start from the beginning ) .

Third is use of Live FS CD . There is no any documentation about
installation step ( Fix It ) or I do not know any .

Thank you very much .

Mehmet Erol Sanliturk
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Which one of these two is the correct version?

2009-04-15 Thread barbara
 On Wed, Apr 15, 2009 at 8:27 PM, barbara barbara.xxx1...@libero.it wrote:

   Hello FreeBSD Gnome users,
  
   I have been a KDE user because gnome installation/upgrade presents such a
   pain to me most of the time. Today I decided to upgrade gnome from 2.24
  --
   2.26 but decided to visit the gnome pages first to see what is said. This
  is
   after looking at /usr/ports/UPDATING and not seeing much to do with this
   particular upgrade.
  
   Now, there are two pages, and both of them seem upto date, but they
  have
   conflicting information:
  
   1.http://www.freebsd.org/gnome/docs/faq212.html#q2 - says that *NOTE: Do
  notrun
   portupgrade(1) to upgrade to GNOME 2.26!**
  *and goes on to say one should use the gnome-upgrade.sh script, which
   seems to NOT exist in the links.
   2. http://www.freebsd.org/gnome/docs/faq226.html#q2 - says you should
  use
   the following steps:
   (a) pkgdb -Ff
   (Remove gnome-volume-manager.)
   (b) portupgrade -aOW
   (c) portupgrade -f gnome-media gnome-settings-daemon
   gnome-control-center
  
   So I am just wondering which one is the correct version, since both are
   talking about the upgrade to 2.26.
  
  
 
 
   1.http://www.freebsd.org/gnome/docs/faq212.html#q2
   2. http://www.freebsd.org/gnome/docs/faq226.html#q2
 
  Can you see the number between faq and .html? ;)


 Barbara,

 Does that number, whether I see it or not, matter at all?
 Both cases are talking about *upgrade to 2.26*, unless I also got blind to
 the issue that mattered to me.



Ok, sorry, you're right! I should have take a look at the pages, shame on me.
I don't know why in the first one is reported 2.26 as in fact it seems the 
procedure to upgrade to 2.12. Maybe some parts are dynamically (but wrongly) 
generated.
Anyway the correct procedure is described in the 2nd link.
Sorry again and good luck for the upgrade!

Cheers
Barbara

P.S.
Where did you find the 1st link?




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


IPFW, KERNEL, sysctl: has no effect changing DUMMYNET.io_fast

2009-04-15 Thread KES
Hi, Freebsd-questions.

This change
sysctl net.inet.ip.dummynet.io_fast=1
has no effect for packet flow, bug man says:
Fast mode allows certain packets to bypass dummynet scheduler if packet flow 
does not exceed pipe's bandwidth

flow does not exceed pipe limit, but packet flow latency is affected


ipfw pipe 1 config bw 64kbit/s
ipfw add 1 pipe 1 all from any to any

No any trafic except ping:
ping some.lan.machine

with rules above ping is about 8ms, without them 1ms

Does I understand corrent Fast mode
when I ping I do flow less than 64Kbit/s so packet must bypass
scheduler and must have latency 1ms?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

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


Re: mkisofs and directories

2009-04-15 Thread Walt Pawley
At 4:48 PM +0200 4/15/09, Peter Ulrich Kruppa wrote:
 unix naming convention normally dictates the following:
 cp -r /cdrom/dir /mnt/
 # will create /mnt/dir and everything under it
 cp -r /cdrom/dir/ /mnt/
 # will copy contents of dir into /mnt
That was what I thought it should do - but it doesn't!

I'm pretty certain cp doesn't care about the trailing slash
and hasn't. OTOH, you could use rsync which does change its
behavior depending on the trailing slash.
-- 

Walter M. Pawley w...@wump.org
Wump Research  Company
676 River Bend Road, Roseburg, OR 97471
 541-672-8975
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Automounting of USB drives - Why is it a problem?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 14:33:46 -0400, Mehmet Erol Sanliturk 
m.e.sanlit...@gmail.com wrote:
 Problem is not to select an operating system to use but it is easiness of
 usability of FreeBSD especially for the new beginners .

The thing with easieness of usability is... well... it depends
on what you are used to. Those who are (I hope it doesn't sound
impolite)... spoiled by strange Windows concepts about how
to do things (e. g. copying and moving files through the edit
buffer... ugh...) may find things complicated where others say,
wow, so easy! (e. g. cp source dest - compare this to
the easieness of JCL!).

What may be the best and most comfortable solution to me may
sound like a nightmare to others.

The topic, regarding USB automount, is such a case. The question
that could arise is: In how much is the operating system responsible
for this automounting? Should it be done by the OS, and if, by
default, and if by default, with which parameters? Or should it
be left to an additional service?



 A few days ago I tried to install my FreeBSD 2.0.5 double CD version but it
 could not be possible because it was requiring sound card attached old model
 CD-ROM drive .

Well, that's nothing special. In the same way I could try to
install the most recent PC-BSD on a 386 PC - without success. :-)

Each period of time has its typical hardware habits, and the
OSes of this time honour these requirements.

Can you remember when you wanted a firewall in FreeBSD, you
needed to recompile the kernel? Today, it's much easier to
load a module.

That's development. The question is: In which direction should
FreeBSD's development go? Personally, I like the approach of
making only those inventions become part of the OS that turned
out to be stable AND secure. This protects the system from
growing into bloat and crap. FreeBSD is one of the few operating
systems today that are free of this garbage.



 Over time . daily requirements is driving the selection of operating systems
 and personally I do not have any prejudice against to any one of the
 operating systems  .

Yes, an understandable opinion that I do share.



  I like FreeBSD very much and I want to see it much more better than its
 actually very very good state . One point for improvement is the easiness of
 usability for the new comers .

Newcomers to FreeBSD will learn very early that it's absolute
neccessary to read first, learn, and then do. There's no other
way. As it has been mentioned already, and I'd like to emphasize
this: You can do only what you understand.

When I came to FreeBSD, I had mainly Linux experiences on the
PC (Slackware), and UNIX experiences from the mainframe (PSU,
MUTOS). So I could find my way around.

A complete newcomer would first need to learn about the principles
of a UNIX OS: If you want it, make it. It doesn't do things on
its own, and that's completely intended. This is the strength of
FreeBSD (as opposite to many other OSes): It does what it's told
to do, nothing more, nothing less.

So if you want automount, you're completely free to *add* it. I
think it's easier to add things (and you may count some things
as a security risk) than to stuff security holes one by one
(disabling functionalities).



 Second is its installation easiness which at present I find it very
 difficult ( for example , during installation , it is not possible to go
 back to correct an entry . Due to this , sometimes it is becoming necessary
 to power off the computer and re-start from the beginning ) .

This teaches the user how to work on UNIX: First think, then do.
Personally, I like the installer for first doing all the interaction
(which can be scripted in order to get *no* interaction) and then
let it work. Of course, it's neccessary that all the settings are
correct because *you* are the one who needs to know what to do. The
installer cannot know this, or read your mind.

So if you give a certain command, the system assumes that you
really intend to do so (compare this to VMS's CL). Sometimes,
you even need to learn the hard way. I know it - did rm -r of
a tree where I did forget to first copy the things I wanted,
but then, oops, everything went away.

There are alternative installers in development that feature the
next, next, next, next, reboot style of installers. I think PC-BSD
has such an installer.

But personally, I would prefer the text mode installer of FreeBSD
to stay default. It's so powerful and fast if you know how to use
it.



 Third is use of Live FS CD . There is no any documentation about
 installation step ( Fix It ) or I do not know any .

You can create your own FreeBSD live file system or use, for example,
FreeSBIE (which I do often use for diagnostics and maintenance, as
well as for data recovery preparations). It automounts all media
that is detected (-o ro, of course), has a nice GUI and is quite
fast.



I hope this isn't too off-topic; if it is, then sorry; :-)



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 

Re: Problem: FreeBSD 7.x ssh v2 nss_ldap

2009-04-15 Thread Benjamin Lee
On 04/15/2009 01:33 AM, Konrad Heuer wrote:
 
 I see a problem on two systems running FreeBSD 7.0 or 7.1 which are
 configured as OpenLDAP clients using the nss_ldap module.
 
 When someone logs on using ssh protocol version 2 the session will not
 be initialized correctly. The user will only get his primary group
 affiliation but no affiliation to other groups (memberUid attribute in
 LDAP group entries).
 
 On 7.1 the ssh login process hangs forever with open ldap queries, on
 7.0 the group list is incomplete. On several 6.x systems, all works
 correctly.
 I have used the configuration for years now.
 
 There are some workarounds I found:
 
 a) use ssh protocol version 1
 b) set UseLogin to yes in sshd_config
 c) avoid ssl encryption in communication to ldap server
(ldap://... uri instead of ldaps://... in ldap.conf)
 
 Does anybody see similar problems? Does anybody have an idea what may
 couse the problem?

I recently submitted ports/133501 regarding this issue, but I have not
yet received a response.

My workaround was to disable pthread_atfork support, so the problem
might be related to the change from libkse to libthr in RELENG_7.


-- 
Benjamin Lee
http://www.b1c1l1.com/



signature.asc
Description: OpenPGP digital signature


Re: What flash players should be used from ports?

2009-04-15 Thread Andrew Falanga
On Tue, Apr 14, 2009 at 6:03 PM, John Gage grepk...@gmail.com wrote:

 You have three viable choices, I'd recommend the third:
 1. ports/graphics/gnash or gnash-devel (high CPU utilization on FreeBSD)
 2. ports/www/swfdec-plugin [ ports/graphics/swfdec itself is a
 standalone flash player, the plugin port installs a plugin for firefox
 usage.  0.8.4 is the latest version for the standalone player(which,
 according to the official swfdec site, can play youtube video just
 fine). However, the plugin port of swfdec is still at version 0.8.2
 and does not work with youtube videos at the moment.]
 3. ports/emulators/linux_base-fc4 + ports/www/linux-flashplugin9 +
 ports/www/nspluginwrapper (this method is the most complex, but
 usually yields the fastest-responding flash and best results, at the
 moment.)

 On Tue, Apr 14, 2009 at 7:14 PM, Vasadi I. Claudiu Florin wrote:
 
 
  Currently running i386.  I'm using firefox 3.0.4 (need to upgrade, wow
  didn't realize that).
 
 
 
  Hy,
 
 
  There are several ways to use flash player in FreeBSD X environment. One
 is,
  as someone previously pointed out, gnash. Another is by using
  nspluginwrapper and linux-flashplugin. Yet another is by using swfdec.
  A god start would be http://freebsd.langhans.com.pl/af/index.html and

 This link from Vasadi should be very helpful to you, I have found that
 the most stable fedora core base for myself has been 4.  I had a great
 deal of trouble with npviewer.bin core dumping and locking up firefox
 really nicely with fedora base 8, so I'd stick with 4.

 
 http://www.google.ro/search?hl=roq=freebsd+firefox+flash+playerbtnG=C%C4%83utare+Googlemeta=aq=foq=
  and of course http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/but
  aspecially
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html
  .  Hope that triggered your appetite.
 


Thanks everyone.  I'll be getting into this as time permits over the next
few days I hope.

Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Freebsd, VMware and pertition alignment

2009-04-15 Thread Marcelo Souza
Hi All,

Trying to fine tunning an installation of FreeBSD 7 (amd64) on an ESXi server.
Anyone here has experience with partition alignment as described here:

http://www.vmware.com/vmtn/resources/608

My conclusion is that in the RAID/VMFS side, my system is aligned, but I'm not 
sure about FreeBSD/VMFS side. I'm not using SAN/NAS in this system, the disks 
are local in RAID-5.

How can I check that?
My hardware is: Dell PowerEdge 2950III, PERC6i with 3 disks in RAID-5.

- Marcelo Souza
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


where to grab source tarball?

2009-04-15 Thread John Almberg
I'm trying to upgrade FreeBSD from source, but my /usr/src directory  
is empty. Absolute FreeBSD glibly says to grab the source tarball  
from a FreeBSD mirror.


I found a list of mirrors here:

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


But it isn't clear to me which tarball I need to 'grab', or where it  
is on the mirror.


Basically, I want to get to the point where I can type:

cd /usr/src
make buildworld

And build FreeBSD 7.1-RELEASE

I'd like to download the source to the server, rather than inserting  
a CD in the machine, since Im 2 hours away from the machine.


Thanks: John

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


MailScanner sendmail

2009-04-15 Thread Bob Willcox
I asked this question in freebsd-ports (in a different way as I thought
maybe I could clarify the situation some by rewording it) the other day
and didn't receive any reply so I thought I try here this time.

I have a 7.2-prelease system that I am trying to get sendmail and
MailScanner running on and for some reason sendmail isn't listening on
*.smtp, though it is listening on localhost.smtp.

If I remove MailScanner from the mix and run sendmail in the
conventional way (with sendmail_enable=YES specified in /etc/rc.conf)
then things work as expected (except no MailScanner, of course).

I currently have a running 6.4-stable system that this new 7.2 system
is scheduled to replace that is using the same MailScanner and sendmail
configuration files and it is working ok (and has been for a long time).

I suspect that I'm simply missing some configuration option here that
I've overlooked or that may have changed between 6.4 and 7.2, but don't
really know where to look.

Any help or tips on things to do/check would be greatly appreciated.

Thanks,
Bob

-- 
Bob Willcox  The trouble with doing something right the first
b...@immure.com   time is that nobody appreciates how difficult it was.
Austin, TX -- unknown
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD Upgrade: Ports That Need Rebuilding

2009-04-15 Thread Eugene L.
I am planning to update to CURRENT, been reading freebsd-current for 
some time, apparently some ports require rebuilding as they are kernel 
specific, like hal, so I wonder how to rebuild those ports automatically?

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


Re: where to grab source tarball?

2009-04-15 Thread John Almberg


On Apr 15, 2009, at 4:10 PM, John Almberg wrote:

I'm trying to upgrade FreeBSD from source, but my /usr/src  
directory is empty. Absolute FreeBSD glibly says to grab the  
source tarball from a FreeBSD mirror.


Never mind. I figured out how to do this using csup, which will help  
with later upgrades.


-- John

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


IPFW missing feature

2009-04-15 Thread KES
Здравствуйте, Freebsd-questions.

 The tablearg feature provides the ability to use a value, looked up in
 the table, as the argument for a rule action, action parameter or rule
 option.  This can significantly reduce number of rules in some configura-
 tions.  If two tables are used in a rule, the result of the second (des-
 tination) is used.  The tablearg argument can be used with the following
 actions: nat, pipe, queue, divert, tee, netgraph, ngtee, fwd, skipto
 action parameters: tag, untag, rule options: limit, tagged.


Why tablearg cannot be used with setfib?

-- 
С уважением,
 KES  mailto:kes-...@yandex.ru

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


Re: where to grab source tarball?

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 16:10:49 -0400, John Almberg jalmb...@identry.com wrote:
 I'm trying to upgrade FreeBSD from source, but my /usr/src directory  
 is empty. Absolute FreeBSD glibly says to grab the source tarball  
 from a FreeBSD mirror.
 [...]
 But it isn't clear to me which tarball I need to 'grab', or where it  
 is on the mirror.

Choose a local mirror. Then, for example, go into the directory
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.1-RELEASE/src/
and see the source files. Download all of them and install them
through install.sh. This will populate /usr/src with these
sources.



 Basically, I want to get to the point where I can type:
 
 cd /usr/src
 make buildworld
 
 And build FreeBSD 7.1-RELEASE

Once you have the sources installed properly (even without
updating them to the lastest 7.1-RELEASE-p or 7.1-STABLE)
this should be possible.



 I'd like to download the source to the server, rather than inserting  
 a CD in the machine, since Im 2 hours away from the machine.

Then the way mentioned above will be no problem. You can use the
CLI ftp to automate it.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: from very early this morning...

2009-04-15 Thread Gary Kline
On Wed, Apr 15, 2009 at 01:47:11AM -0500, Adam Vande More wrote:
 
 (But if a dual or a quad sucks up too
 many watts, that blows much of the original purpose of cutting my
 footprint.
   
 Newer cpu's(multicore vs single) are pretty efficient, here's an article 
 so you don't have to take my word for it.  
 http://www.tomshardware.com/reviews/intel-cpu-power-consumption,1750-11.html
 
 also in general if you want lower power consumption look for cpu's w/ 
 smaller fab eg in term of power consumption and size 90  65  45

OUTSTANDING.  thanks very much...  i have been wondering whether
it was worth upgrading my very old hardware (until there are
really new low-power cpu's) -- or Not.  

:-)


 gary
 
 
   
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

-- 
  Gary Kline  kl...@thought.org   www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org

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


Need to change screen resolution...

2009-04-15 Thread Q. Taylor
Hello 

I am trying to find a way to change my current screen resolution from the
default 720x426 (I think). The monitor I use to view all my servers via KVM
switch - the font is too big on the screen - if I could increase the screen
size to maybe 1028x756 that would be great.

Any one knowing please email me the answer.

Regs

QTaylor

---

Quin Taylor
Operations Manager
The NetSys Company

CONATEL Reg. #RA0002
Email: q...@netsys.hn
WWWeb site: http://www.netsys.hn

Office: 504-566-1055
Cellular: 504-391-5955
USA-VoIP: 954-234-2098 

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


Re: Need to change screen resolution...

2009-04-15 Thread Polytropon
Hi Quin.

On Wed, 15 Apr 2009 16:10:01 -0600, Q. Taylor q...@netsys.hn wrote:
 Hello 
 
 I am trying to find a way to change my current screen resolution from the
 default 720x426 (I think). [...] if I could increase the screen
 size to maybe 1028x756 that would be great.
 
 Any one knowing please email me the answer.

The common way to do this - was? - a setting in /etc/X11/xorg.conf.

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
Option  Accel
DefaultDepth24
SubSection  Display
Depth   24
Visual  TrueColor
Modes   1152x864
EndSubSection
EndSection

It is the Modes setting which in this example is 1152x864.

Since FreeBSD 7.0 I have problems with this mechanism (it selects
stupid screen sizes or even locks the machine - 1152x864 is the
highest value I can get), so for me, this dirty workaround in my
~/.xinitrc works:

xrandr --size 1400x1050 
xrandr --fb 1400x1050 

The use of xrandr should always work.



PS. Did you intendedly exclude the list from receiving answer?
If not, you may forward my reply to the list.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need to change screen resolution...

2009-04-15 Thread Neal Hogan
On Wed, Apr 15, 2009 at 5:10 PM, Q. Taylor q...@netsys.hn wrote:
 Hello

 I am trying to find a way to change my current screen resolution from the
 default 720x426 (I think). The monitor I use to view all my servers via KVM
 switch - the font is too big on the screen - if I could increase the screen
 size to maybe 1028x756 that would be great.

 Any one knowing please email me the answer.

Do you have an /etc/X11/xorg.conf?


 Regs

 QTaylor

 ---

 Quin Taylor
 Operations Manager
 The NetSys Company

 CONATEL Reg. #RA0002
 Email: q...@netsys.hn
 WWWeb site: http://www.netsys.hn

 Office: 504-566-1055
 Cellular: 504-391-5955
 USA-VoIP: 954-234-2098

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




-- 
www.nealhogan.net  www.lambdaserver.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need to change screen resolution...

2009-04-15 Thread Polytropon
On Wed, 15 Apr 2009 18:33:45 -0500, Neal Hogan nealho...@gmail.com wrote:
 Do you have an /etc/X11/xorg.conf?

Yes, of course. Why not? :-) Reason: All this magical autodetect,
autoset and autoguess doesn't work on my ancient GPU (ATI Radeon
9200). And I haven't done the big update of X yet, because I
prefer to keep things working for a while.

If anybody needs something for ripp off, feel free to use the
attached file. (I hope it works, never tried this before.)

You can always create your own one using X -configure,
but I think it won't be so tidy. :-) Of course, you can
make one file from two (as I did).



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
# /etc/X11/xorg.conf
# ==

Section ServerLayout
Identifier  Layout0
Screen  0   Screen0   0   0
InputDevice Mouse0CorePointer
InputDevice Keyboard0 CoreKeyboard
Option  SingleCardtrue
EndSection

#Section ServerFlags
#   Option  DontVTSwitch  false
#   Option  DontZap   false
#   Option  DontZoom  false
#   Option  Xinerama  false
#   Option  AIGLX true
#EndSection

Section Files
RgbPath /usr/local/share/X11/rgb
ModulePath  /usr/local/lib/xorg/modules
FontPath/usr/local/lib/X11/fonts/misc/
FontPath/usr/local/lib/X11/fonts/TTF/
FontPath/usr/local/lib/X11/fonts/OTF
FontPath/usr/local/lib/X11/fonts/Type1/
FontPath/usr/local/lib/X11/fonts/100dpi/
FontPath/usr/local/lib/X11/fonts/75dpi/
FontPath/usr/local/share/ghostscript/fonts/
FontPath/usr/local/share/fonts/amspsfont/type1/
FontPath/usr/local/share/fonts/cmpsfont/type1/
EndSection

Section Module
LoadGLcore
Loaddbe
Loaddri
Loadextmod
Loadglx
Loadrecord
Loadxtrap
Loadfreetype
Loadtype1
EndSection

Section DRI
Mode0666
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel  pc105
Option  XkbLayout de
Option  AutoRepeat250 30
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol  auto
Option  Device/dev/sysmouse
Option  Emulate3Buttons   true
Option  EmulateWheel  true
Option  EmulateWheelButton2
Option  ZAxisMapping  4 5
#   Option  ZAxisMapping  4 5 6 7
EndSection

Section Monitor
Identifier  Monitor0
VendorName  EIZO
ModelName   FlexScan F980
HorizSync   30.0 - 137.0
VertRefresh 50.0 - 160.0
#   DisplaySize 400 300
Option  DPMS  false
#   ModeLine1400x1050 155.80 1400 1464 1784 1912  1050 1052 
1064 1090 +hsync +vsync
#   Modeline1152x864  108.00 1152 1216 1344 1600   864  865  
868  900 +hsync +vsync
#   Modeline1024x768   94.50 1024 1072 1168 1376   768  769  
772  808 +hsync +vsync
#   Modeline800x60056.30  800  832  896 1048   600  601  
604  631 +hsync +vsync
#   Modeline640x48036.00  640  696  752  832   480  481  
484  509 -hsync -vsync
Option  PreferredMode 1152x864
# freezes system if set to 1400x1050
EndSection

Section Device
Identifier  Card0
Driver  ati
#   Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Radeon RV250 If [Radeon 9000]
BusID   PCI:1:0:0
Screen  0
#   VideoRam131072
EndSection

Section Device
Identifier  Card1
Driver  ati
#   Driver  radeon
VendorName  ATI Technologies Inc
BoardName   Radeon RV250 If [Radeon 9000] (Secondary)
BusID   PCI:1:0:1
#   VideoRam131072
Screen  1
EndSection

Section Screen
Identifier  Screen0
Device  Card0
Monitor Monitor0
Option  Accel
DefaultDepth24
SubSection  Display
#   Virtual 1400 1050
#   ViewPort0 0
Depth   24
Visual  TrueColor
Modes   1152x864
#   Modes   1400x1050
# doesn't work
#   Modes  

Re: Need to change screen resolution...

2009-04-15 Thread Bill Moran
Q. Taylor q...@netsys.hn wrote:

 Hello 
 
 I am trying to find a way to change my current screen resolution from the
 default 720x426 (I think). The monitor I use to view all my servers via KVM
 switch - the font is too big on the screen - if I could increase the screen
 size to maybe 1028x756 that would be great.
 
 Any one knowing please email me the answer.

How are things, Quin?

Typically, if your screen supports multiple resolutions, modern versions
of xorg will make them all available.  You can cycle through them using
CTRL ALT + and CTRL ALT -

If those key combos don't change anything, then you're going to have to
tweak your xorg.conf or use xrandr as suggested by others.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mkisofs and directories

2009-04-15 Thread Warren Block

On Wed, 15 Apr 2009, Peter Ulrich Kruppa wrote:

Am Dienstag, den 14.04.2009, 23:22 -0600 schrieb Tim Judd:

On Tue, Apr 14, 2009 at 4:18 PM, Alexander Best 
alexbes...@math.uni-muenster.de wrote:


this is a question that's always been bugging me:

when i give mkisofs a directory as argument it always ads the 
contents of that directory to the iso. how can i tell mkisofs that i 
want the actual directory (including all it's contents) to be added 
to the iso?


unix naming convention normally dictates the following:
cp -r /cdrom/dir /mnt/
# will create /mnt/dir and everything under it
cp -r /cdrom/dir/ /mnt/
# will copy contents of dir into /mnt

That was what I thought it should do - but it doesn't!


Look at the -graft-points option to mkisofs.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Upgrade: Ports That Need Rebuilding

2009-04-15 Thread Roland Smith
On Thu, Apr 16, 2009 at 12:49:43AM +0400, Eugene L. wrote:
 I am planning to update to CURRENT, been reading freebsd-current for 
 some time, apparently some ports require rebuilding as they are kernel 
 specific, like hal, so I wonder how to rebuild those ports automatically?

If you switch to another major version of FreeBSD, the best course is to
remove and reinstall all ports.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpcCvDZN4jwk.pgp
Description: PGP signature