Re: Problem with installing acroread8

2009-03-12 Thread Boris Samorodov
On Thu, 12 Mar 2009 05:35:53 +0530 manish jain wrote:

 I got another problem I can't solve on my own. I was trying to install
 acroread8 from /usr/ports and came up with the following :

 ===   Generating temporary packing list
 ===  Checking if x11-toolkits/linux-pango already installed
 cd /usr/ports/x11-toolkits/linux-pango/work  /usr/bin/find * -type d
 -exec /bin/mkdir -p /compat/linux/{} \;
 cd /usr/ports/x11-toolkits/linux-pango/work  /usr/bin/find * ! -type
 d | /usr/bin/cpio -pm -R root:wheel /compat/linux
 1437 blocks
 /compat/linux/usr/bin/pango-querymodules-32: error while loading
 shared libraries: libgobject-2.0.so.0: cannot open shared object file:
 No such file or directory
 *** Error code 127

 Can anybody please tell me how to get around this problem ?

Please, try to do make clean before installing the port. And
there is another thread here right now which may be of interest
for you.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Release-7.0 named and dhcpd

2009-03-12 Thread Olivier Nicole
 No, this is my first attempt with named and dhcpd.  Each one seems
 to be fine separately but getting them to talk has been a stumbling
 block.

Then you'll have to share pieces of your configuration, so we can see
what is going on there.

Maybe also share the information that you used to set it up (any
how-to from the web?).

Olivier
___
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: port: multimedia/recordmydesktop

2009-03-12 Thread Alastair Hogge
On Wednesday 11 March 2009 15:35:15 Matthias Apitz wrote:
 Hello,

 Any experience or comments about the port multimedia/recordmydesktop?
 I can't access the web site http://recordmydesktop.iovar.org/ that's why
 I'm asking;

 to the Cc'ed maintainer of the port: the web site mentioned in pkg-descr
 does not exist anymore;
http://recordmydesktop.sourceforge.net/about.php
Tried that?

 Thx

   matthias

___
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


dual boot FreeBSD and openBSD

2009-03-12 Thread Saifi Khan
Hi all:

My apologies if this is a newbie question, however, i'm trying
to look beyond GRUB fixation.

i'd like to do a dual boot installation of FreeBSD and openBSD,
without using GRUB or LILO. 

Any suggestions on the bootloader to use ?

What would your suggestion be, if i'm trying to dual boot on
a clean (ie. no multilib) 64-bit system ?


thanks
Saifi.
___
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


OpenLDAP 2.4.13/14/15: Need long time to autheticate since update from 2.4.11

2009-03-12 Thread O. Hartmann

Hello,
since we updated ports on our FreeBSD boxes and so OpenLDAP from 2.4.11 
- 2.4.15 and its sibblings authetication on the first attempt from a 
client to the server takes a long time. The phenomenon is on several 
flavours of FreeBSD the same (7.1-STABLE/i386 + amd64 UP and SMP and 
FreeBSD 8.0-CURRENT/amd64 SMP). When login in on a client which is 
connecting to slapd for authentication the first attempt takes approx. 
10 - 20 seconds to perform. In case of sshd, some users simply hit 
return getting to the second-try prompt and then the OpebLDAP server 
performs instantanously. In situations where someone can't perform the 
first auth-attempt with NULL/RETURN (like automated su/rsync/scp or 
something else) this behaviour boring.


I tried to sniff on the server-client communication and watched the log 
but nothing shows up suspicious actions, everything seems all right 
except the wait on the first attempt.


I try to track down the problem to a misconfiguration, but with OpenLDAP 
2.4.11 everything runs fine as expected, so I suspect a change in LDAP.


Besides, this behaviour is also present on freshly installed FreeBSD 8.0 
boxes, so I doubt I forgot a relevant package to be updated when 
recompiling everything necessary to run OpenLDAP and its vicinity ...


Regards,
Oliver
___
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


USB KVM Raritan DKX2-232

2009-03-12 Thread Andrey Urtaykin

Hi all

This KVM uses only one USB connector for both mouse and keyboard.
I have several servers with different hardware and FreeBSD from 6.2 to 
7.1, and no one works properly the problem is: input doesn`t work at all 
OR/AND mouse moves interpretend  as keyboard pressings OR/AND input with 
like CTRL pressed, (for example if you hit T KVM sending SIGUSR to 
terminal).

Tryed all possible bios options(Legacy USB, Fast USB, etc) .
BUT!  IF i connect PS/2 keyboard to RUNNING server, and pressing several 
key on it - miracle happens and KVM works properly for sometime...


Server info(this server interpretend mouse moves as text and keyboard 
pressings as signals):

dmesg:
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 
0x4040-0x405f irq 16 at device 29.0 on pci0

ukbd0: RU RU-CIM, class 0/0, rev 2.00/0.00, addr 2 on uhub1
kbd2 at ukbd0

usbdevs -v:
addr 1: full speed, self powered, config 1, UHCI root hub(0x), 
Intel(0x), rev 1.00
port 1 addr 2: full speed, power 100 mA, config 1, RU-CIM(0x1005), 
RU(0x14dd), rev 0.00 -- this is KVM


uname -a
FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE

___
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


USB hub and USB to Serial cable on FreeBSD

2009-03-12 Thread Valentin Bud
Hello community,

 Do you know if i can get FreeBSD 7.0 to see USB to serial (RS232) cables if
they are
connected to a USB hub?

thank you,
v

-- 
network warrior since 2005
___
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: bsd vs gpl

2009-03-12 Thread Wojciech Puchar

The ACM Queue (1 May 2004) article by Jay Michaelson of Wasabi
Systems is very insightful.

There is no such thing as Free (Software) lunch

Please take a look at
http://queue.acm.org/detail.cfm?id=1005066

In 2009, you would like your product (esp infrastructure product
or platform) to reach out to as many people as possible and be
used in as many ways possible.


not always true.


BSD / ASL 2.0 license precisely help one accomplish that in a
very benign way.


generally true, anyway i don't consider wasabysystems (destroyers of 
NetBSD) as a reference.

___
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


Anonymizer tool like Tor?

2009-03-12 Thread Gilles
Hello

I'd like to download information from our competitor's web site,
without their knowing it's from us.

The Tor network works fine, but they don't seem to provide a *nix
version, much less a command-line version (the download script will
run  on a non-X FreeBSD 6.3 server).

Do you know of an alternative for FreeBSD, ie. a solution that will
let me connect to a web server through at least one other host, and
have the IP address change automatically every few minutes?

Thank you.

___
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


[News] Dabber Newsletter - March 2009

2009-03-12 Thread Daniel Daboczy - DABBER

Dabber Newsletter

















New collaboration with Berns Salonger

We are very proud to present a new collaboration

Dabber has started collaboration with Berns Salonger, a critically
acclaime= d famous Swedish landmark and nightclub in the heart of
Stockholm. The nigh= tclub has a vast amount of films, from art, to
fashion from concerts, semin= ars and stand-up

We have focused on developing ways to present films both as
documentati= on of memorable nights but also as a preview and taster of
what is coming. = The present times calls for smart, cost effective and
innovative ways to co= nnect with the audience. We focused on
implementing the player without chan= ging the webpage or the internal
structures, but at the same time intensify= ing the look of the page
and the communication with the viewer.

We use our experience and knowledge as the glue between ideas and all
the g= reat video-related applications and services out there. Some of
our clients= are looking for the 'wow-factor', while others need to
start implementing = video in their business while others need our
different approach to take th= e step from idea to an well-visited
website. Whatever the need, Dabber is r= eady to take you from static
to stunning !

Visit the web site Berns Salonger Nightlife: here

About us

Dabber is an Internet start-up, focused on helping you change the way
you c= ommunicate with online video. It´s not just about technology -
it´s als= o about how you film, what you film, and how you present
it. The old days o= f flat communication are about to change. We move
towards depth, interactio= n, coolness and simplicity.

We offer a wide range of online video solutions that are innovative,
afford= able and tailored to fit your specific needs - from video
management platfo= rms and CDN hosting, content  concept production to
intuitive 3D video pla= yers. With a background in the contemporary art
scene as well as in web dev= elopment, we combine the latest in
technology with an understanding of what= makes good content.

Visit our web site: www.= dabber.tv

To unsubscribe, please forward this email to unsubscr...@dabber.tv Try
our other solutions:

Our services



For more information about our services, please download the Dabber
white paper.

Contact us

For questions regarding pricing, details  other information about us
and o= ur services, please contact Daniel Daboczy:

E-mail: daniel [at] dabber.tv  or dd [at] dabber.tv  Phone: +46 (0) 73
626 99 85



___
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: Anonymizer tool like Tor?

2009-03-12 Thread Andreas Rudisch
On Thu, 12 Mar 2009 10:12:48 +0100
Gilles gilles.gana...@free.fr wrote:

 I'd like to download information from our competitor's web site,
 without their knowing it's from us.

?

 The Tor network works fine, but they don't seem to provide a *nix
 version

/usr/ports/security/tor/

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


pgpc91pNHdCXJ.pgp
Description: PGP signature


Re: dual boot FreeBSD and openBSD

2009-03-12 Thread Dánielisz László
Hi,

Did you tried BSD Boot Manager?
http://www.freebsd.org/doc/en/books/handbook/boot-blocks.html


Laci




From: Saifi Khan saifi.k...@twincling.org
To: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Thursday, March 12, 2009 2:14:11 PM
Subject: dual boot FreeBSD and openBSD

Hi all:

My apologies if this is a newbie question, however, i'm trying
to look beyond GRUB fixation.

i'd like to do a dual boot installation of FreeBSD and openBSD,
without using GRUB or LILO. 

Any suggestions on the bootloader to use ?

What would your suggestion be, if i'm trying to dual boot on
a clean (ie. no multilib) 64-bit system ?


thanks
Saifi.
___
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: Ports Collection

2009-03-12 Thread Dánielisz László
Dear Mario Palmer,

Did you tried to install the latest FreeBSD version instead of 6.4?
Did you updated your ports tree before running the make command (eg. with 
cvsup)?
You can also try installing gnome2 via pkg_add -r [-v]


Laci




From: Mario PNH mario...@gmail.com
To: freebsd-questions@FreeBSD.org
Sent: Wednesday, March 11, 2009 10:01:41 PM
Subject: Ports Collection

I really liked the FreeBSD running on my ASUS desktop,
until I tried to install gnome2 and I was surprised that
it never finished it, during which it created some 20 and
more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ...
and I am wondering if that was a normal process.

# cd /usr/ports/x11/gnome2
# make install clean

I have burned the DVD of 6.4 version lately and I don't
know if that's all I needed to install gnome2 instead of
using Ports Collection.

Thanks,
Mario Palmer
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Gilles
On Thu, 12 Mar 2009 10:42:53 +0100, Andreas Rudisch cyb.@gmx.net
wrote:
/usr/ports/security/tor/

Thanks Andeas. Up to now, I only used the Tor client for Windows that
comes with Privoxy, so never used Tor as-is, and never on the command
line.

If someone's used to using Tor, I have a couple of questions. On
FreeBSD, I intend to use it to run a Python script to connect to a
remote web server and download pages.

Do I need to start the Tor server? Do I need a web proxy like Privoxy,
or is the Tor client enough? How do set things up so my Python scripts
connects to Tor?

Thank you.

___
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: Anonymizer tool like Tor?

2009-03-12 Thread Wojciech Puchar


I'd like to download information from our competitor's web site,
without their knowing it's from us.


so tell me address and i will download and send it ;)



The Tor network works fine, but they don't seem to provide a *nix


there is tor for unix in ports. tor works fine i used it a lot and 
stopped.


Why - because it got to widely known and there are actually less secure 
than not using it at all.


There are lots of hackers that run modified tor that do analyzes/changes 
what going through.


I stopped when i once used it on my bank webpage and got message about 
change of SSL key!!!


Not funny.

___
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: Anonymizer tool like Tor?

2009-03-12 Thread Wojciech Puchar

Thanks Andeas. Up to now, I only used the Tor client for Windows that
comes with Privoxy, so never used Tor as-is, and never on the command
line.

If someone's used to using Tor, I have a couple of questions. On
FreeBSD, I intend to use it to run a Python script to connect to a
remote web server and download pages.



set up tor and use it as socks proxy with your browser and python script.

You don't need privoxy for that.

___
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: USB hub and USB to Serial cable on FreeBSD

2009-03-12 Thread Wojciech Puchar

Do you know if i can get FreeBSD 7.0 to see USB to serial (RS232) cables if
they are
connected to a USB hub?


load a proper USB-serial driver ;)

man ucom
___
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: USB KVM Raritan DKX2-232

2009-03-12 Thread Wojciech Puchar

This KVM uses only one USB connector for both mouse and keyboard.
I have several servers with different hardware and FreeBSD from 6.2 to 7.1, 
and no one works properly the problem is: input doesn`t work at all OR/AND 
mouse moves interpretend  as keyboard pressings OR/AND input with like CTRL 
pressed, (for example if you hit T KVM sending SIGUSR to terminal).


why don't you simply use telnet/rlogin/ssh to manage your FreeBSD server.

The only moment you need actual local display is when you need single user 
mode or change in BIOS.


___
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: Ldapadd Crashed with Segmentation Fault

2009-03-12 Thread Familie van der Schaft
I had the same problem (also slapcat ended with seg fault 11).
And the siolution was to minimize the config options (i did not need all of
them).
I only build OpenLDAP with the SASL,BDB and PERL options and worked for
me

Reg,Danny

- Original Message - 
From: Hong ljf...@sdf.lonestar.org
To: FreeBSD Questions List freebsd-questions@freebsd.org
Sent: Wednesday, March 11, 2009 5:15 AM
Subject: Ldapadd Crashed with Segmentation Fault


 Hi,

 I was playing with OpenLDAP installed on FreeBSD 7.1-RELEASE installed
through
 the port system.

 The configuration file /usr/local/etc/slapd.conf was edited:
 ...
 databasebdb
 #suffix dc=my-domain,dc=com
 #rootdn cn=Manager,dc=my-domain,dc=com
 suffix  dc=example,dc=com
 rootdn  cn=Manager,dc=example,dc=com
 ...

 I created a test LDIF file named test1.ldif:

 dn: dc=example,dc=com
 objectclass: dcObject
 objectclass: organization
 o: Example Company
 dc: example

 dn: cn=Manager,dc=example,dc=com
 objectClass: organizationalRole
 cn: Manager

 Then I used ldapadd to add the new entries in the LDIF file:

 # ldapadd -x -D cn=Manager,dc=example,dc=com -W -f test1.ldif
 Enter LDAP Password:
 adding new entry dc=example,dc=com

 adding new entry cn=Manager,dc=example,dc=com

 Segmentation fault: 11 (core dumped)

 Any idea what went wrong?

 Hong
 ___
 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







No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.237 / Virus Database: 270.11.9/1992 - Release Date: 03/09/09
19:20:00

___
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: USB hub and USB to Serial cable on FreeBSD

2009-03-12 Thread Valentin Bud
On Thu, Mar 12, 2009 at 12:40 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:

 Do you know if i can get FreeBSD 7.0 to see USB to serial (RS232) cables if
 they are
 connected to a USB hub?

  load a proper USB-serial driver ;)

 man ucom


Thanks for the tip Wojciech. I just wonder if it will work because i want to
connect
8 USB to Serial to an USB hub and the hub to be connected to the FreeBSD box

through an USB port. Do you think that is possible? Any comments suggestion
are
welcomed.

a great day,
v
-- 
network warrior since 2005
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Ross Cameron
On Thu, Mar 12, 2009 at 12:08 PM, Gilles gilles.gana...@free.fr wrote:

 On Thu, 12 Mar 2009 10:42:53 +0100, Andreas Rudisch cyb.@gmx.net
 wrote:
 /usr/ports/security/tor/

 Thanks Andeas. Up to now, I only used the Tor client for Windows that
 comes with Privoxy, so never used Tor as-is, and never on the command
 line.

 If someone's used to using Tor, I have a couple of questions. On
 FreeBSD, I intend to use it to run a Python script to connect to a
 remote web server and download pages.

 Do I need to start the Tor server? Do I need a web proxy like Privoxy,
 or is the Tor client enough? How do set things up so my Python scripts
 connects to Tor?

 Thank you.


Not to put a damper on everyone's fun but wouldn't just be easier to go to
an internet cafe, run you're web scraper from a USB drive and leave?
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Chris Rees
2009/3/12 Gilles gilles.gana...@free.fr:
 Hello

 I'd like to download information from our competitor's web site,
 without their knowing it's from us.

 The Tor network works fine, but they don't seem to provide a *nix
 version, much less a command-line version (the download script will
 run  on a non-X FreeBSD 6.3 server).

 Do you know of an alternative for FreeBSD, ie. a solution that will
 let me connect to a web server through at least one other host, and
 have the IP address change automatically every few minutes?

 Thank you.

 ___
 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


Don't you think it's a bad idea to publish your nefarious intentions
to a PUBLIC mailing list with your name on it? Your 'competitor' will
see this if all s/he does is do a Google search for your name, which
would certainly be easier than scouring their httpd logs.

Chris

--
R $h !  $- ! $+      $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Kevin Kinsey

Chris Rees wrote:

2009/3/12 Gilles gilles.gana...@free.fr:

Hello

I'd like to download information from our competitor's web site,
without their knowing it's from us.

The Tor network works fine, but they don't seem to provide a *nix
version, much less a command-line version (the download script will
run  on a non-X FreeBSD 6.3 server).

Do you know of an alternative for FreeBSD, ie. a solution that will
let me connect to a web server through at least one other host, and
have the IP address change automatically every few minutes?

Thank you.



Don't you think it's a bad idea to publish your nefarious intentions
to a PUBLIC mailing list with your name on it? Your 'competitor' will
see this if all s/he does is do a Google search for your name, which
would certainly be easier than scouring their httpd logs.

Chris


It probably is, but you're assuming his competitors know that
he works for their competition, and, for that matter, that
Giles 
 is his real name, etc., etc.


KDK
--
Campbell's Law:
Nature abhors a vacuous experimenter.
___
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: Ports Collection

2009-03-12 Thread FreeBSD List

Quick question Why are you using 6.4 instead of the latest (7.1)?

Keep in mind that gnome2 has a lot of dependencies. That's just the 
nature of gnome2. When you say it didn't finish, did it stop and give 
you an error? When compiling gnome2 on FreeBSD, depending on your 
hardware, it can take quite a while to complete and sometimes it'll take 
up to a few hours to finish.


I recommend you take a look at http://www.freebsd.org/gnome/index.html 
as it will give you a lot of helpful information on installing and 
running gnome2 on FreeBSD.


-- Jacques Manukyan


Mario PNH wrote:

I really liked the FreeBSD running on my ASUS desktop,
until I tried to install gnome2 and I was surprised that
it never finished it, during which it created some 20 and
more user groups like 'nobody', 'anonymous', 'aiviah', 'games', etc ...
and I am wondering if that was a normal process.

# cd /usr/ports/x11/gnome2
# make install clean

I have burned the DVD of 6.4 version lately and I don't
know if that's all I needed to install gnome2 instead of
using Ports Collection.

Thanks,
Mario Palmer
___
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


HELP! After updateng DB46 to DB47 OpenLDAP 2.4.15 won't start anymore nor willing to perform backup

2009-03-12 Thread O. Hartmann
Today I updated several FreeBSD 7.1-STABLE servers and so I did on one 
of our OpenLDAP servers. The server was runnig OpenLDAP 2.4.15 with 
Cyrus SASL2 support and DB backend was DB 4.6 as from the ports.


First, I made a backup from the OpenLDAP database via slapcat -l file.ldif.

I updated from DB 4.6 o DB 4.7 and rebuilt every port that relied on DB 
4.6, deleted DB 4.6 libraries and other files and then rebuilt OpenLDAP 
2.4.15.


When trying to recover the database via 'slapadd -c -l file.ldif' and/or 
trying to restart the OpenLDAP server, I get this error message:


Starting slapd.
@(#) $OpenLDAP: slapd 2.4.15 (Mar 12 2009 13:06:18) $

r...@ldapslave.geoinf.fu-berlin.de:/usr/ports/net/openldap24-server/work/openldap-2.4.15/servers/slapd
bdb(dc=geoinf,dc=fu-berlin,dc=de): unable to initialize mutex: Invalid 
argument

bdb(dc=geoinf,dc=fu-berlin,dc=de): unable to destroy mutex: Invalid argument
bdb(dc=geoinf,dc=fu-berlin,dc=de): PANIC: Invalid argument
bdb(dc=geoinf,dc=fu-berlin,dc=de): unable to join the environment
hdb_db_open: database dc=geoinf,dc=fu-berlin,dc=de cannot be opened, 
err -30974. Restore from backup!
bdb(dc=geoinf,dc=fu-berlin,dc=de): txn_checkpoint interface requires an 
environment configured for the transaction subsystem
bdb_db_close: database dc=geoinf,dc=fu-berlin,dc=de: txn_checkpoint 
failed: Invalid argument (22).

backend_startup_one: bi_db_open failed! (-30974)
bdb_db_close: database dc=geoinf,dc=fu-berlin,dc=de: alock_close failed
slapd stopped.



So far. At this very moment I feel like a dead man in the water. I 
searched the web and tried to find out what LDAP is complaining about, 
but no success so far. Is anybody out here with some hints? Please eMail me,


thanks in advance,

Oliver
___
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


USB KVM Raritan DKX2-232

2009-03-12 Thread Andrey Urtaykin

Hi all

This KVM (Raritan DKX2-232) uses only one USB connector for both mouse
and keyboard.
I have several servers with different hardware and FreeBSD from 6.2 to
7.1, and no one works properly the problem is: input doesn`t work at all
OR/AND mouse moves interpretend  as keyboard pressings OR/AND input with
like CTRL pressed, (for example if you hit T KVM sending SIGUSR to
terminal).
Tryed all possible bios options(Legacy USB, Fast USB, etc) .
BUT!  IF i connect PS/2 keyboard to RUNNING server, and pressing several
key on it - miracle happens and KVM works properly for sometime...

Server info(this server interpretend mouse moves as text and keyboard
pressings as signals):
dmesg:
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x4040-0x405f irq 16 at device 29.0 on pci0
ukbd0: RU RU-CIM, class 0/0, rev 2.00/0.00, addr 2 on uhub1
kbd2 at ukbd0

usbdevs -v:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
port 1 addr 2: full speed, power 100 mA, config 1, RU-CIM(0x1005),
RU(0x14dd), rev 0.00 -- this is KVM

uname -a:
FreeBSD xx 7.1-RELEASE FreeBSD 7.1-RELEASE #3: Fri Jan  2 13:30:10 MSK
2009 f...@xx:/usr/obj/usr/src/sys/GENERIC  i386

kbdcontrol -k /dev/ukbd0  /dev/console
kbdcontrol: cannot open /dev/ukbd0: Device busy

kldload kbdmux
kldload: can't load kbdmux: File exists

___
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: USB KVM Raritan DKX2-232

2009-03-12 Thread Tim Judd
On Thu, 2009-03-12 at 10:47 +0300, Andrey Urtaykin wrote:
 Hi all
 
 This KVM uses only one USB connector for both mouse and keyboard.
 I have several servers with different hardware and FreeBSD from 6.2 to 
 7.1, and no one works properly the problem is: input doesn`t work at all 
 OR/AND mouse moves interpretend  as keyboard pressings OR/AND input with 
 like CTRL pressed, (for example if you hit T KVM sending SIGUSR to 
 terminal).
 Tryed all possible bios options(Legacy USB, Fast USB, etc) .
 BUT!  IF i connect PS/2 keyboard to RUNNING server, and pressing several 
 key on it - miracle happens and KVM works properly for sometime...
 
 Server info(this server interpretend mouse moves as text and keyboard 
 pressings as signals):
 dmesg:
 uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port 
 0x4040-0x405f irq 16 at device 29.0 on pci0
 ukbd0: RU RU-CIM, class 0/0, rev 2.00/0.00, addr 2 on uhub1
 kbd2 at ukbd0

^
noticing that it's showing up as the 3rd keyboard on the machine.  kbd0
through kbd2...  not to mention being the 3rd keyboard on the ukbd0
device.

snip

___
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


USB KVM Raritan DKX2-232

2009-03-12 Thread Andrey Urtaykin

Hi all

This KVM (Raritan DKX2-232) uses only one USB connector for both mouse 
and keyboard.

I have several servers with different hardware and FreeBSD from 6.2 to
7.1, and no one works properly the problem is: input doesn`t work at all
OR/AND mouse moves interpretend  as keyboard pressings OR/AND input with
like CTRL pressed, (for example if you hit T KVM sending SIGUSR to
terminal).
Tryed all possible bios options(Legacy USB, Fast USB, etc) .
BUT!  IF i connect PS/2 keyboard to RUNNING server, and pressing several
key on it - miracle happens and KVM works properly for sometime...

Server info(this server interpretend mouse moves as text and keyboard
pressings as signals):
dmesg:
uhci0: Intel 82801CA/CAM (ICH3) USB controller USB-A port
0x4040-0x405f irq 16 at device 29.0 on pci0
ukbd0: RU RU-CIM, class 0/0, rev 2.00/0.00, addr 2 on uhub1
kbd2 at ukbd0

usbdevs -v:
addr 1: full speed, self powered, config 1, UHCI root hub(0x),
Intel(0x), rev 1.00
port 1 addr 2: full speed, power 100 mA, config 1, RU-CIM(0x1005), 
RU(0x14dd), rev 0.00 -- this is KVM


uname -a:
FreeBSD xx 7.1-RELEASE FreeBSD 7.1-RELEASE #3: Fri Jan  2 13:30:10 MSK 
2009 f...@xx:/usr/obj/usr/src/sys/GENERIC  i386


kbdcontrol -k /dev/ukbd0  /dev/console
kbdcontrol: cannot open /dev/ukbd0: Device busy

kldload kbdmux
kldload: can't load kbdmux: File exists
___
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: torrent client traffic shaping question

2009-03-12 Thread RW
On Thu, 12 Mar 2009 16:24:37 +1100 (EST)
Ian Smith smi...@nimnet.asn.au wrote:

 On Wed, 11 Mar 2009 12:42:23 + RW rwmailli...@googlemail.com  

   A traffic shaper could efficiently regulate downloads by proxying
   TCP. And even though PF does some limited TCP proxying,
   unfortunately dummynet and altq  work at the IP level.  
 
 I don't know why you say 'unfortunately' here?

Because tcp is best controlled at the tcp-level You could get smoother,
lower-latency transfers, and you're not dropping any packets that
have already passed through the ISP bottleneck.
___
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: is there a laptop ?

2009-03-12 Thread John Hendy
For Atheros, the exact chipset is still important... my Macbook's Atheros
AR5008 (aka AR5418) does not work with the FBSD ath driver. i386 works if I
ndisgen a kernel module from a WinXP driver, but I have not been able to
ndisgen a module successfully for amd64, which is what I'd like to run. The
kernel panics every time I load it.
I'm using FBSD-7.1-amd64, so I can't speak of the capabilities of 8.0, but
the hardware notes do not seem to have changed re the ath driver (
http://www.freebsd.org/relnotes/CURRENT/hardware/support.html#WLAN)... Even
though it only states that AR5005VL chips are unsupported, mine still is not
picked up and it's definitely an AR5008.


- John

On Thu, Mar 12, 2009 at 8:46 AM, Ashish SHUKLA wahjava...@gmail.com wrote:

 Saifi Khan writes:

 [...]

  Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
  with FreeBSD ?

 Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the
 driver is FOSS and blob free. No ideas about other chipsets.

 --
 Ashish SHUKLA

___
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: is there a laptop ?

2009-03-12 Thread Ashish SHUKLA
Saifi Khan writes:

[...]

 Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
 with FreeBSD ?

Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the
driver is FOSS and blob free. No ideas about other chipsets.

-- 
Ashish SHUKLA


pgpheKqJjP5PG.pgp
Description: PGP signature


Problem with Bash-4 and $(command) syntax

2009-03-12 Thread Jerry
I just updated from Bash-3.x to Bash-4.0. There appears to be a problem
with the way Bash-4 interprits the following.

This works fine on Bash-3.x:
snippet
#!/usr/bin/env bash

GET_PATH=1

if $( which gpg2 ); then
   printf gpg2 located
fi
/snippet   
   
However, under Bash-4, it fail with this error message:

./t.sh: command substitution: line 6: syntax error near unexpected
token `)' ./t.sh: command substitution: line 6: ` which gpg2 )'

I have several scripts that use the $(command) syntax and they are all
failing now. I have replaced that syntax with the older ` tics method.

Is this a known problem with Bash-4? I have not been able to find
anything about it on the Bash site.

-- 
Jerry
ges...@yahoo.com




signature.asc
Description: PGP signature


Re: is there a laptop ?

2009-03-12 Thread Saifi Khan
On Thu, 12 Mar 2009, Ashish SHUKLA wrote:

 Saifi Khan writes:
 
 [...]
 
  Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
  with FreeBSD ?
 
 Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the
 driver is FOSS and blob free. No ideas about other chipsets.
 
 -- 
 Ashish SHUKLA
 

There are Atheros chipsets which don't work with FreeBSD !
An OSS (Open Source software) driver is certainly appreciated.

I've very good idea about the chipsets dumped in Indian markets,
hence the specificity of the question.


thanks
Saifi KHAN.
___
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: Free Pascal

2009-03-12 Thread Ivan Rambius Ivanov
Hello,

On Thu, Mar 12, 2009 at 6:19 AM, Ian Fitzgerald i...@ozemail.com.au wrote:
 Ivan Rambius Ivanov wrote:

 Hello,

 On Fri, Mar 6, 2009 at 12:46 AM, Ian Fitzgerald i...@ozemail.com.au
 wrote:


 Ivan Rambius Ivanov wrote:
 cd /usr/ports/lang/fpc
 pkg_add -r fpc


 You should do

 # cd /usr/ports/lang/fpc
 # make install

 Please read Chapter 4 of the hadbook at [1] for more information on
 how to use FreeBSD ports.

 Regards
 Rambius

 [1]
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html



 Hi. Thanks for your help. make install demands a distribution, and without
 broadband at present, I used what I could get. Unfortunately the downloaded
 tarball was 2.2.2, and the make file was set up for 2.2.0, and complained. I
 don't know whether simply changing the references in the makefile to 2.2.2
 is a fix or complication, so I may have to wait for the broadband to cut in
 (new plan).

If you are not connected to internet all the time you can use

# make fetch

or

# make fetch-recursive

for the port you want to install. fetch will download the distfiles
for the port and fetch-recursive will download the distfiles for the
port and its dependencies. Then you can disconnect and proceed with
'make install'

Regards
Rambius

P.S. Please remember to put freebsd-questions@freebsd.org in CC and
not only me.

-- 
Tangra Mega Rock: http://www.radiotangra.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: Anonymizer tool like Tor?

2009-03-12 Thread Gilles
On Thu, 12 Mar 2009 13:40:54 +0200, Ross Cameron abal...@gmail.com
wrote:
Not to put a damper on everyone's fun but wouldn't just be easier to go to
an internet cafe, run you're web scraper from a USB drive and leave?

Not if the script will run for three days ;)

___
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: acroread error with libgobject-2.0.so.0

2009-03-12 Thread David Banning
 A first one is simple but it may not give any guarantee that
 the situation will not appear in the future: install those
 ports by hand.
 
 I'll advice the second one. Write down all linux applications you use
 (i.e. print/acroread8, net/skype, etc.) -- not infrastructure linux
 ports (they should be installed as dependencies). Then pkg_delete
 those applications and linux*, unmount all linux filesystems, rm -rf
 /compat/linux/*.Then install linux applications and mount linux
 filesystems. HTH

Attempting the first port failed - 

The entire FreeBSD installation was recently done - accomplished
from an older 6.2 ISO - so I decided to do a portupgrade of linux-base.
I was then able to install the missing ports you suggested, and
-presto-, acroread is working fine.

Thanks for your help Boris.
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Gilles
On Thu, 12 Mar 2009 07:16:15 -0500, Kevin Kinsey k...@daleco.biz
wrote:
It probably is, but you're assuming his competitors know that
he works for their competition, and, for that matter, that
Giles is his real name, etc., etc.

Exactly ;)

___
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: Anonymizer tool like Tor?

2009-03-12 Thread Gilles
On Thu, 12 Mar 2009 11:38:13 +0100 (CET), Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
set up tor and use it as socks proxy with your browser and python script. You
 don't need privoxy for that.

Thanks for the tip. I'll look into how to modify the Python script to
use SOCKS instead.

___
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: Anonymizer tool like Tor?

2009-03-12 Thread RW
On Thu, 12 Mar 2009 11:38:13 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:


 set up tor and use it as socks proxy with your browser and python
 script.
 
 You don't need privoxy for that.

but isn't the point of of using privoxy to strip identifying
information from http requests  that would otherwise undermine tor.


___
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: Anonymizer tool like Tor?

2009-03-12 Thread Gilles
On Thu, 12 Mar 2009 11:37:26 +0100 (CET), Wojciech Puchar
woj...@wojtek.tensor.gdynia.pl wrote:
there is tor for unix in ports. tor works fine i used it a lot and 
stopped. Why - because it got to widely known and there are actually less 
secure 
than not using it at all.There are lots of hackers that run modified tor 
that do analyzes/changes 
what going through. I stopped when i once used it on my bank webpage and got 
message about 
change of SSL key!!!

Thanks for the reminder. I only use Tor when I download stuff and need
to hide my IP.

___
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


nessus 3

2009-03-12 Thread GrimJow Espada
does nessus 3 included now inports for ver 7.1?
___
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: pam_start error

2009-03-12 Thread Thierry Lacoste


 in openpam_load_module(): no /usr/local/lib/pam_ldap.so found
 pam_start:system error

FWIW I've just fought a couple hours with the same problem just
to realize that I was using openldap-client-2.4.13 together with
pam_ldap-1.8.4_1 built against openldap-client-2.4.15_1.

Everything is in order now that I've replaced openldap-client-2.4.13
with openldap-client-2.4.15_1.

Regards,
Thierry
___
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: is there a laptop ?

2009-03-12 Thread Doug Poland

Chris Whitehouse wrote:

Saifi Khan wrote:

Hi all:

i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
ndiswrapper, or broadcom or additional PCMCIA card at all.

Is there a laptop model (available in market) that experienced
members would like to recommend wherein  . the WiFi 802.11 a/g (PCI 
based)

 . Ethernet port  . and ACPI work absolutely fine with FreeBSD 7.x ?


Coming in kinda late on this thread but...  I recently came across a 
Toshiba Satellite L350 (L355D-S7825).  It works quite nicely with 
7.1-STABLE.


The only issues are...

   * needed to build ath wireless driver based on some stuff I googled
   * Doesn't recognize on-board bluetooth, modem, or SD card reader.
   * The touchpad surface is flush with palm rest and triggered too easily
   * Display only does 1440x900
   * 2 hour battery life.

Pros:
* 7.1-STABLE amd64 runs great!
* Radeon video works great
* ath wireless and rl0 work great
* 2.0GHz AMD dual with 3GB RAM
* Only $600 from BestBuy
* 17 display
* Does Ubuntu 8.10 (amd64) flawlessly, even 64-bit flash

This is no high-end HP or Lenovo, but for $600US, it's not a bad laptop 
for 64-bit FreeBSD.  Never tried ACPI features, I just assume 
suspend/resume will not work and power on/off.  YMMV


--
Regards,
Doug

___
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


smartd errors again

2009-03-12 Thread Robin Becker

I'm seeing these sorts of messages in syslog output


Mar 12 15:06:10 app3 smartd[519]: Device: /dev/ad4, 6 Currently unreadable 
(pending) sectors
Mar 12 15:06:10 app3 smartd[519]: Device: /dev/ad4, 6 Offline uncorrectable 
sectors
Mar 12 15:29:39 app3 kernel: ad4: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=151607951
Mar 12 15:29:39 app3 kernel: g_vfs_done():ad4s1f[READ(offset=72458502144, 
length=16384)]error = 5
Mar 12 15:30:25 app3 kernel: ad4: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=151607951
Mar 12 15:30:25 app3 kernel: g_vfs_done():ad4s1f[READ(offset=72458502144, 
length=16384)]error = 5
Mar 12 15:35:43 app3 smartd[519]: Device: /dev/ad4, 6 Currently unreadable 
(pending) sectors
Mar 12 15:35:43 app3 smartd[519]: Device: /dev/ad4, 6 Offline uncorrectable 
sectors
Mar 12 15:55:03 app3 kernel: ad4: FAILURE - READ_DMA status=51READY,DSC,ERROR 
error=40UNCORRECTABLE LBA=151607951
Mar 12 15:55:03 app3 kernel: g_vfs_done():ad4s1f[READ(offset=72458502144, 
length=114688)]error = 5
Mar 12 16:05:28 app3 smartd[519]: Device: /dev/ad4, 6 Currently unreadable 
(pending) sectors
Mar 12 16:05:28 app3 smartd[519]: Device: /dev/ad4, 6 Offline uncorrectable 
sectors



by searching through the filesystem I located a file which appears to contain 
the error. However, I am unable to write to this file (the recommended cure for 
bad blocks) I used



# dd if=/dev/zero bs=12544487 count=1 of=wow-22048.dmp.gz conv=notrunc
dd: wow-22048.dmp.gz: Input/output error
1+0 records in
0+0 records out
0 bytes transferred in 1.894545 secs (0 bytes/sec)


so am I forced to abandon this hard disk or is their some easy way to actually 
force a write that will make the disk bad block the wrong sectors.


I looked in vain for my old bad blocking tools and indeed it seems lost+found is 
no longer here.  This disk is supposedly only 433 hours old acording to the 
smartctl output (assuming I do need to regard the Hitachi numbers as being minutes).


Any help would be appreciated.
--
Robin Becker
___
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: is there a laptop ?

2009-03-12 Thread Sam Leffler
5418 has worked for several years in HEAD.   At this point the only ath 
chips not working in HEAD are those I haven't had access to (9280 and 
9285) and 9280 support should go in shortly.  About the only thing 
missing for ath is support for 11n (the 802.11 layer has supported 11n 
on other devices for several years and been used in various products).


I can't comment on RELENG_7 support as I don't run it.

   Sam

John Hendy wrote:

For Atheros, the exact chipset is still important... my Macbook's Atheros
AR5008 (aka AR5418) does not work with the FBSD ath driver. i386 works if I
ndisgen a kernel module from a WinXP driver, but I have not been able to
ndisgen a module successfully for amd64, which is what I'd like to run. The
kernel panics every time I load it.
I'm using FBSD-7.1-amd64, so I can't speak of the capabilities of 8.0, but
the hardware notes do not seem to have changed re the ath driver (
http://www.freebsd.org/relnotes/CURRENT/hardware/support.html#WLAN)... Even
though it only states that AR5005VL chips are unsupported, mine still is not
picked up and it's definitely an AR5008.


- John

On Thu, Mar 12, 2009 at 8:46 AM, Ashish SHUKLA wahjava...@gmail.com wrote:

  

Saifi Khan writes:

[...]



Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
with FreeBSD ?
  

Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the
driver is FOSS and blob free. No ideas about other chipsets.

--
Ashish SHUKLA



___
freebsd-mob...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to freebsd-mobile-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: is there a laptop ?

2009-03-12 Thread John Hendy
I've never heard of HEAD... I'm pretty new to freebsd, so that could very
well be why! Google is just giving me search results with people doing such
and such with 'freebsd-head', not what it is.
-John

On Thu, Mar 12, 2009 at 10:54 AM, Sam Leffler s...@freebsd.org wrote:

 5418 has worked for several years in HEAD.   At this point the only ath
 chips not working in HEAD are those I haven't had access to (9280 and 9285)
 and 9280 support should go in shortly.  About the only thing missing for ath
 is support for 11n (the 802.11 layer has supported 11n on other devices for
 several years and been used in various products).

 I can't comment on RELENG_7 support as I don't run it.

   Sam

 John Hendy wrote:

 For Atheros, the exact chipset is still important... my Macbook's Atheros
 AR5008 (aka AR5418) does not work with the FBSD ath driver. i386 works if
 I
 ndisgen a kernel module from a WinXP driver, but I have not been able to
 ndisgen a module successfully for amd64, which is what I'd like to run.
 The
 kernel panics every time I load it.
 I'm using FBSD-7.1-amd64, so I can't speak of the capabilities of 8.0, but
 the hardware notes do not seem to have changed re the ath driver (
 http://www.freebsd.org/relnotes/CURRENT/hardware/support.html#WLAN)...
 Even
 though it only states that AR5005VL chips are unsupported, mine still is
 not
 picked up and it's definitely an AR5008.


 - John

 On Thu, Mar 12, 2009 at 8:46 AM, Ashish SHUKLA wahjava...@gmail.com
 wrote:



 Saifi Khan writes:

 [...]



 Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
 with FreeBSD ?


 Atheros chipsets work great with FreeBSD 8-CURRENT at least. And the
 driver is FOSS and blob free. No ideas about other chipsets.

 --
 Ashish SHUKLA



 ___
 freebsd-mob...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
 To unsubscribe, send any mail to freebsd-mobile-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: is there a laptop ?

2009-03-12 Thread Saifi Khan
On Thu, 12 Mar 2009, Maciej Suszko wrote:

 Saifi Khan saifi.k...@twincling.org wrote:
  Hi all:
  
  i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
  ndiswrapper, or broadcom or additional PCMCIA card at all.
  
  Is there a laptop model (available in market) that experienced
  members would like to recommend wherein 
   . the WiFi 802.11 a/g (PCI based)
   . Ethernet port 
   . and ACPI 
  work absolutely fine with FreeBSD 7.x ?
 
 I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried the
 suspend/resume, firewire port and I suppose the modem is not
 going to work. Everything else is working fine for me.
 -- 
 regards, Maciej Suszko.
 

What is the wireless chipset of your machine ?


thanks
Saifi.
___
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: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Saifi Khan saifi.k...@twincling.org wrote:
 Hi all:
 
 i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
 ndiswrapper, or broadcom or additional PCMCIA card at all.
 
 Is there a laptop model (available in market) that experienced
 members would like to recommend wherein 
  . the WiFi 802.11 a/g (PCI based)
  . Ethernet port 
  . and ACPI 
 work absolutely fine with FreeBSD 7.x ?

I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried the
suspend/resume, firewire port and I suppose the modem is not
going to work. Everything else is working fine for me.
-- 
regards, Maciej Suszko.
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Bob Hall
On Thu, Mar 12, 2009 at 03:04:05PM +, RW wrote:
 On Thu, 12 Mar 2009 11:38:13 +0100 (CET)
 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 
 
  set up tor and use it as socks proxy with your browser and python
  script.
  
  You don't need privoxy for that.
 
 but isn't the point of of using privoxy to strip identifying
 information from http requests  that would otherwise undermine tor.

It's been a while since I played with tor, but I recall that the
documentation said that you have to combine tor and privoxy (or the
equivalent) in order to surf anonymously. On the other hand, Giles is
using his own script run from the command line, rather than a web
browser, so I assume that he won't write the script to send info that he
wants to hide.

It would probably be a good idea check the http requests that are sent
externally and see what info is being passed with them. Then he can
determine for himself if he needs anything more than tor.

Just my uninformed opinion. :)
___
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 to auto-detect a USB drive?

2009-03-12 Thread Peter Steele
I do something like this. Here's the rules I have 
in /usr/local/etc/devd.conf 
... 
 attach 10 { 
 match device-name umass0; 
 action sleep 2; /root/bin/usbstick_attach  /dev/console; 
}; 

I've tried something similar and I'm having good success. I should be able 
accomplish what I need with this approach. 

One question: Is there a way to check the label of a device before mounting it? 
I assume so, since when I insert a FAT32 formatted USB stick I see the 
messages: 

Mar 12 10:29:05 r02s17 kernel: GEOM_LABEL: Label for provider da0s1 is 
msdosfs/MAXIFS. 
Mar 12 10:29:06 r02s17 kernel: GEOM_LABEL: Label msdosfs/MAXIFS removed. 

Can I easily get this same information? 

___
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: Anonymizer tool like Tor?

2009-03-12 Thread T.

Gilles wrote:

On Thu, 12 Mar 2009 10:42:53 +0100, Andreas Rudisch cyb.@gmx.net
wrote:
  

/usr/ports/security/tor/



Thanks Andeas. Up to now, I only used the Tor client for Windows that
comes with Privoxy, so never used Tor as-is, and never on the command
line.

If someone's used to using Tor, I have a couple of questions. On
FreeBSD, I intend to use it to run a Python script to connect to a
remote web server and download pages.

Do I need to start the Tor server? Do I need a web proxy like Privoxy,
or is the Tor client enough? How do set things up so my Python scripts
connects to Tor?


As with all things BSD, the tor server potential is a lot more valuable 
than it's tor user potential.
All the user gadgets (vidialia, privoxy, etc.) are very fallible. As 
long as your machine has a routable connection to the internet, your 
machine can be tricked into revealing it's IP, in sooo many ways.
I realize this is only some minor corporate espionage, but bad practice 
is bad practice. Don't feel safe with it.


You want a transparent tor proxy, which you setup with freebsd and pf.

You setup a separate lan with any number of machines (virtual 
machines?), all using the tor server as their default gateway and dns 
server.
To the client machines, all they see is 100% normal internet traffic. 
They don't need tor, vidalia, privoxy or any other gizmos.
It's completely transparent. Bear in mind, anything not encrypted is 
exposed to the exit router and everything else it normally would be.


If you google Tor Transparent Proxy, this should be your first link:
https://wiki.torproject.org/noreply/TheOnionRouter/TransparentProxy
Half way down they have the BSD / pf setup.

Things not mentioned there (quite a few actually):
You do not want to run tor as root, which unfortunately takes some 
tweeking to run properly as the default _tor user.

Yes, you want to start tor automatically on boot with rc.conf:
pf_enable=YES
pf_rules=/etc/pf.conf
tor_enable=YES

You want routing disabled, you're actually doing redirection through pf, 
not routing.

In pf.conf you want, at least:
trans_port = 9040
transdns_port = 53
set skip on lo
scrub in
rdr pass on $int_if inet proto tcp to !($int_if) - 127.0.0.1 port 
$trans_port
rdr pass on $int_if inet proto udp to port domain - 127.0.0.1 port 
$transdns_port


You need to set group ownership on /dev/pf to _tor and set suitable 
permissions or sort this out somehow. _tor user needs access to /dev/pf

And put this in devfs.conf so it survives a reboot.
own pf  root:_tor
permpf  0660

You need to set net.inet.ip.portrange.reservedlow=54 or use some other 
method to allow the _tor user to bind to privileged ports.

And put this in sysctl.conf so it survives a reboot.
Obviously you should also run tor in a jail, but I'm not going to detail 
that.


I had some bugginess with port binding, so I found it works best if you 
explicitly state, like so in /usr/local/etc/tor/torrc


VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
TransListenAddress 192.168.0.1:9040
TransListenAddress 127.0.0.1:9040
DNSPort 53
DNSListenAddress 192.168.0.1:53
DNSListenAddress 127.0.0.1:53
RunAsDaemon 1
ControlPort 9051

Where 192.168.0.1 is the tor server's IP address of the interface being 
provided to the private LAN that will us it as their Default Gateway.
Note also that if you try to set a ControlListenAddress without 
authentication setup, it will close all Control Ports on startup. So 
just leave it local.
If it's not obvious, yes it's assumed you have a 2nd interface with a 
valid IP connected to a LAN that has a route to the internet.


A major thing lacking is a command line tor control utility. And this is 
important.
Sometimes you get crappy circuits, sometimes you get a hacker who is 
trying to SSL / SSH M-i-t-M you.

You need to be able to flush the router and grab new circuits on demand.
I just enable the control port locally and telnet to it.
To get new circuits, on the control port (assuming you haven't set any 
authentication):


AUTHENTICATE
SIGNAL NEWNYM


Then flush pf:
pfctl -F all

pftop is nice for watching your tor circuits (in ports).
___
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: is there a laptop ?

2009-03-12 Thread Paul B. Mahol
On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
 On Thu, 12 Mar 2009, Maciej Suszko wrote:

 Saifi Khan saifi.k...@twincling.org wrote:
  Hi all:
 
  i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
  ndiswrapper, or broadcom or additional PCMCIA card at all.
 
  Is there a laptop model (available in market) that experienced
  members would like to recommend wherein
   . the WiFi 802.11 a/g (PCI based)
   . Ethernet port
   . and ACPI
  work absolutely fine with FreeBSD 7.x ?

 I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried the
 suspend/resume, firewire port and I suppose the modem is not
 going to work. Everything else is working fine for me.
 --
 regards, Maciej Suszko.


 What is the wireless chipset of your machine ?

On mine nx7300 it is broadcom one and works fine via ndis.
Suspend/resume works fine if second core is disabled and vesa is
loaded in kernel
(either via kldload or via custom kernel)
Firewire and bluetooth are supported and should work without problems.
Ethernet works via if_bfe; carbus, drm, sound works fine ...
In short everything is supported on UP kernel except winmodem.

There are some bugs in BIOS asl which I fixed adding:

acpi_dsdt_load=YES
acpi_dsdt_name=/boot/acpi.aml

in /boot/loader.conf

/boot/acpi.aml is modified version of ASL which address temperature
is absurd, ignored
type of messages.


8.0 CURRENT i386.

-- 
Paul
___
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


Bug in tcp wrappers?

2009-03-12 Thread Chris St Denis
I think I've found a bug in libwrap/tcpwrappers. Before filing an actual 
bug report I want to get some feedback here first.


A hosts.allow file with ~1000 ips on a single line(Haven't experimented 
with other quantities yet), causes network daemons that use libwrap stop 
accepting incoming network connections and use 100% cpu on an incoming 
connection.  This problem appeared because sshguard placed a large 
number of IPs in my hosts.allow file triggering this bug.


I've left the affected daemons for a long period of time (once about 8 
hours) and they don't seem to come back, so I think this is more than 
just it taking a while to loop through a 1000 item array of IPs



The production system that was affected is FreeBSD 7.0-32bit
Test system is FreeBSD 7.1-32bit

Example hosts.allow file (IPs are randomly generated for purposes of 
example)


   sshd : 112.110.123.63 113.11.2.126 113.11.8.6 113.19.19.22
   113.197.48.68 snipped 990+ IPs 116.48.108.244 116.48.11.19 : deny
   ALL : ALL : allow

top output of affected system. sshd wcpu slowly crawls up to 100% over 
about 30 seconds or so.


   crash# top
   last pid:   692;  load averages:  0.08,  0.04, 
   0.04up

   0+00:12:13  15:42:30
   24 processes:  2 running, 22 sleeping
   CPU: 49.7% user,  0.0% nice,  0.2% system,  0.2% interrupt, 49.9% idle
   Mem: 9304K Active, 6004K Inact, 21M Wired, 32K Cache, 10M Buf, 947M Free
   Swap: 1995M Total, 1995M Free

 PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU
   COMMAND
 691 root1 1030  5760K  3660K CPU1   1   0:04 33.98% sshd
 672 root1   40  8436K  3888K sbwait 1   0:00  0.00% sshd
 677 cstdenis1  200  4460K  2288K pause  0   0:00  0.00% csh
 682 root1  200  5484K  2632K pause  0   0:00  0.00% csh
 675 cstdenis1  440  8436K  3896K select 0   0:00  0.00% sshd
   snip

A backtrace shows

   crash# gdb /usr/sbin/sshd 691
   GNU gdb 6.1.1 [FreeBSD]
   Copyright 2004 Free Software Foundation, Inc.
   GDB is free software, covered by the GNU General Public License, and
   you are
   welcome to change it and/or distribute copies of it under certain
   conditions.
   Type show copying to see the conditions.
   There is absolutely no warranty for GDB.  Type show warranty for
   details.
   This GDB was configured as i386-marcel-freebsd...
   Attaching to program: /usr/sbin/sshd, process 691
   Reading symbols from /usr/lib/libssh.so.4...done.
   Loaded symbols for /usr/lib/libssh.so.4
   Reading symbols from /lib/libutil.so.7...done.
   Loaded symbols for /lib/libutil.so.7
   Reading symbols from /lib/libz.so.4...done.
   Loaded symbols for /lib/libz.so.4
   Reading symbols from /usr/lib/libwrap.so.5...done.
   Loaded symbols for /usr/lib/libwrap.so.5
   snip other symbols for breviry
   Reading symbols from /libexec/ld-elf.so.1...done.
   Loaded symbols for /libexec/ld-elf.so.1
   0x28373225 in fgets (buf=0xbfbfe67b , n=1, fp=0x283b8040) at
   /usr/src/lib/libc/stdio/fgets.c:56
   56  {
   (gdb) bt
   #0  0x28373225 in fgets (buf=0xbfbfe67b , n=1, fp=0x283b8040) at
   /usr/src/lib/libc/stdio/fgets.c:56
   #1  0x281124ee in xgets (ptr=0xbfbfe67b , len=1, fp=0x283b8040) at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/misc.c:38
   #2  0x28111410 in table_match (table=0x28112c5c /etc/hosts.allow,
   request=0xbfbfeb14)
   at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/hosts_access.c:162
   #3  0x28111540 in hosts_access (request=0xbfbfeb14) at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/hosts_access.c:132
   #4  0x08052b39 in main (ac=2, av=0xbfbfeecc) at
   /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/sshd.c:1843
   (gdb) bt
   #0  0x28373225 in fgets (buf=0xbfbfe67b , n=1, fp=0x283b8040) at
   /usr/src/lib/libc/stdio/fgets.c:56
   #1  0x281124ee in xgets (ptr=0xbfbfe67b , len=1, fp=0x283b8040) at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/misc.c:38
   #2  0x28111410 in table_match (table=0x28112c5c /etc/hosts.allow,
   request=0xbfbfeb14)
   at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/hosts_access.c:162
   #3  0x28111540 in hosts_access (request=0xbfbfeb14) at
   /usr/src/lib/libwrap/../../contrib/tcp_wrappers/hosts_access.c:132
   #4  0x08052b39 in main (ac=2, av=0xbfbfeecc) at
   /usr/src/secure/usr.sbin/sshd/../../../crypto/openssh/sshd.c:1843
   (gdb) q
   The program is running.  Quit anyway (and detach it)? (y or n) y
   Detaching from program: /usr/sbin/sshd, process 691


A few questions
1. Is this a known issue of any sort? I've done some searching on it, 
but haven't found anything of interest.
2. Should this be reported to FreeBSD bug tracker, or to libwrap (or 
both)? Basically, is FreeBSD's libwrap (more or less) in sync with the 
main one, or is it completely separate?



--
Chris St Denis
Programmer
SmarttNet (www.smartt.com)
Ph: 604-473-9700 Ext. 200

sed error unescaped newline inside substitute pattern

2009-03-12 Thread David Banning
Here is the php line that gives the error;

cat start_text | sed s/--maintext--/$test/  endtext

give error;

sed: 1: s/--maintext--/ Comment ...: unescaped newline inside substitute 
pattern

where $test contains customer input from a website form

There is something about the content of the text within the variable $test that 
is causing the error.

Any pointers would be helpful.
___
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: sed error unescaped newline inside substitute pattern

2009-03-12 Thread Kent Stewart
On Thursday 12 March 2009 10:34:36 am David Banning wrote:
 Here is the php line that gives the error;

 cat start_text | sed s/--maintext--/$test/  endtext

 give error;

 sed: 1: s/--maintext--/ Comment ...: unescaped newline inside substitute
 pattern

 where $test contains customer input from a website form

 There is something about the content of the text within the variable $test
 that is causing the error.

 Any pointers would be helpful.

Well, it might be because test is a command line function.

Kent

-- 
kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
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: Anonymizer tool like Tor?

2009-03-12 Thread T.

T. wrote:

I just enable the control port locally and telnet to it.
To get new circuits, on the control port (assuming you haven't set any 
authentication):


AUTHENTICATESIGNAL NEWNYM


Typo, that should be with a line break, obviously:

AUTHENTICATE

(you'll get a response, then).

SIGNAL NEWNYM

(any time you need new circuits, though you may get into a rate limiting 
issues. Don't do it just for fun.)


I think a command line utility is definitely in order.
A remote control utility might be nice too. I found some mention that 
you're supposed to be able to use Vidalia to remote control a server 
with, but its obviously not designed for that and when I tried it did 
not work.


Also, I'm pretty sure you do not want other Tor's running in your 
network (vidialia doesn't go into control mode unless you turn tor on 
requiring a path to local tor binary, thereby running tor) or on the 
client machines, or else you're greatly increasing your susceptibility 
to being identified via statistical approaches. Because, your tor 
traffic could be doing two bounces within your own network, then just 
connecting to an exit node.

___
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: sed error unescaped newline inside substitute pattern

2009-03-12 Thread David Banning
 Well, it might be because test is a command line function.

It actually doesn't matter whether I use the word test or any other word as a 
variable
___
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: is there a laptop ?

2009-03-12 Thread Saifi Khan
On Thu, 12 Mar 2009, Paul B. Mahol wrote:

 On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
  On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
  
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
  
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein
. the WiFi 802.11 a/g (PCI based)
. Ethernet port
. and ACPI
   work absolutely fine with FreeBSD 7.x ?
 
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried the
  suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  --
  regards, Maciej Suszko.
 
 
  What is the wireless chipset of your machine ?
 
 On mine nx7300 it is broadcom one and works fine via ndis.
 Suspend/resume works fine if second core is disabled and vesa is
 loaded in kernel
 (either via kldload or via custom kernel)
 Firewire and bluetooth are supported and should work without problems.
 Ethernet works via if_bfe; carbus, drm, sound works fine ...
 In short everything is supported on UP kernel except winmodem.
 
 There are some bugs in BIOS asl which I fixed adding:
 
 acpi_dsdt_load=YES
 acpi_dsdt_name=/boot/acpi.aml
 
 in /boot/loader.conf
 
 /boot/acpi.aml is modified version of ASL which address temperature
 is absurd, ignored
 type of messages.
 
 
 8.0 CURRENT i386.
 
 -- 
 Paul
 

Thanks Paul. i'd like to avoid Trash-com chipset at all costs.

When Maciej wrote HP nx, i thought here comes another laptop
baked with Trash-com chipset cookie. Indian market is filled
with these trash-com HP/Compaq laptops.

I really don't mind buying something 1-2 yr old, as long as i've
got all the stuff working fine.

Any suggestions on BenQ R58 ? It's about $ 560 here and atleast
one guy claims that it has Ralink chipset. Anybody knows ?


thanks
Saifi.
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Wojciech Puchar


You don't need privoxy for that.


but isn't the point of of using privoxy to strip identifying
information from http requests  that would otherwise undermine tor.


if python script won't put any extras - what info you want to strip out?
___
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: Anonymizer tool like Tor?

2009-03-12 Thread Wojciech Puchar

stopped. Why - because it got to widely known and there are actually less secure
than not using it at all.There are lots of hackers that run modified tor that 
do analyzes/changes
what going through. I stopped when i once used it on my bank webpage and got 
message about
change of SSL key!!!


Thanks for the reminder. I only use Tor when I download stuff and need
to hide my IP.


me too - when i don't have another way to do this.
___
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


Error starting Snort via rc.d

2009-03-12 Thread FreeBSD

Hello list!

I'm running FreeBSD 7.1-RELEASE-p3 with a fresh ports tree. I just 
installed Snort 2.8.2.2_2 from the ports. The problem is that I always 
got an error when I want to start/stop/restart Snort via 
/usr/local/etc/rc.d/snort.


I isolated the part of the script that is outputting the error. The 
problem comes from the last line : run_rc_command $1


The error I get is :
eval: 1: Syntax error: ( unexpected (expecting ))

I don't have any problem starting MySQL, so I don't understand why 
there's a problem with this command only for Snort.


Thanks for your precious help,

Martin
___
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: is there a laptop ?

2009-03-12 Thread Paul B. Mahol
On 3/12/09, Maciej Suszko mac...@suszko.eu wrote:
 Paul B. Mahol one...@gmail.com wrote:
 On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
  On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
  
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
  
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein
. the WiFi 802.11 a/g (PCI based)
. Ethernet port
. and ACPI
   work absolutely fine with FreeBSD 7.x ?
 
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried
  the suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  --
  regards, Maciej Suszko.
 
 
  What is the wireless chipset of your machine ?

 On mine nx7300 it is broadcom one and works fine via ndis.
 Suspend/resume works fine if second core is disabled and vesa is
 loaded in kernel
 (either via kldload or via custom kernel)
 Firewire and bluetooth are supported and should work without problems.
 Ethernet works via if_bfe; carbus, drm, sound works fine ...
 In short everything is supported on UP kernel except winmodem.

 There are some bugs in BIOS asl which I fixed adding:

 acpi_dsdt_load=YES
 acpi_dsdt_name=/boot/acpi.aml

 in /boot/loader.conf

 /boot/acpi.aml is modified version of ASL which address temperature
 is absurd, ignored
 type of messages.


 8.0 CURRENT i386.

 On 7.0, 7.1 and 7-STABLE there is still a little bit annoying message
 in dmesg on my nx7300, but i it's harmless as I suppose:
 acpi_tz0: _CRT value is absurd, ignored (256.0C)

Not for me, it caused livelocks in syscons while using powerd (h)adp mode,
making entire session useless and forcing me to reboot machine.

-- 
Paul
___
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: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Saifi Khan saifi.k...@twincling.org wrote:
 On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
   
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
   
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein 
. the WiFi 802.11 a/g (PCI based)
. Ethernet port 
. and ACPI 
   work absolutely fine with FreeBSD 7.x ?
  
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried
  the suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  -- 
  regards, Maciej Suszko.
  
 
 What is the wireless chipset of your machine ?

Here's what pciconf says:
w...@pci0:16:0:0:   class=0x028000 card=0x135c103c chip=0x42228086
rev=0x02 hdr=0x00 vendor = 'Intel Corporation'
device = '10418086 Intel 3945ABG Wireless LAN controller'
class  = network
-- 
regards, Maciej Suszko.
___
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: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Paul B. Mahol one...@gmail.com wrote:
 On 3/12/09, Maciej Suszko mac...@suszko.eu wrote:
  Paul B. Mahol one...@gmail.com wrote:
  On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
   On Thu, 12 Mar 2009, Maciej Suszko wrote:
  
   Saifi Khan saifi.k...@twincling.org wrote:
Hi all:
   
i've looked at tuxmobil, bsdgroup.de etc and i don't want to
use ndiswrapper, or broadcom or additional PCMCIA card at all.
   
Is there a laptop model (available in market) that experienced
members would like to recommend wherein
 . the WiFi 802.11 a/g (PCI based)
 . Ethernet port
 . and ACPI
work absolutely fine with FreeBSD 7.x ?
  
   I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't
   tried the suspend/resume, firewire port and I suppose the modem
   is not going to work. Everything else is working fine for me.
   --
   regards, Maciej Suszko.
  
  
   What is the wireless chipset of your machine ?
 
  On mine nx7300 it is broadcom one and works fine via ndis.
  Suspend/resume works fine if second core is disabled and vesa is
  loaded in kernel
  (either via kldload or via custom kernel)
  Firewire and bluetooth are supported and should work without
  problems. Ethernet works via if_bfe; carbus, drm, sound works
  fine ... In short everything is supported on UP kernel except
  winmodem.
 
  There are some bugs in BIOS asl which I fixed adding:
 
  acpi_dsdt_load=YES
  acpi_dsdt_name=/boot/acpi.aml
 
  in /boot/loader.conf
 
  /boot/acpi.aml is modified version of ASL which address
  temperature is absurd, ignored
  type of messages.
 
 
  8.0 CURRENT i386.
 
  On 7.0, 7.1 and 7-STABLE there is still a little bit annoying
  message in dmesg on my nx7300, but i it's harmless as I suppose:
  acpi_tz0: _CRT value is absurd, ignored (256.0C)
 
 Not for me, it caused livelocks in syscons while using powerd (h)adp
 mode, making entire session useless and forcing me to reboot machine.

I didn't notice such behavior - the only I observed is that running
powerd in adaptive mode, the lowest frequency supported by CPU is ,,too
low'' - I set 500MHz as the lowest possible via sysctl... but I'll take
a closer look on that :)
-- 
regards, Maciej Suszko.
___
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: is there a laptop ?

2009-03-12 Thread Maciej Suszko
Paul B. Mahol one...@gmail.com wrote:
 On 3/13/09, Saifi Khan saifi.k...@twincling.org wrote:
  On Thu, 12 Mar 2009, Maciej Suszko wrote:
 
  Saifi Khan saifi.k...@twincling.org wrote:
   Hi all:
  
   i've looked at tuxmobil, bsdgroup.de etc and i don't want to use
   ndiswrapper, or broadcom or additional PCMCIA card at all.
  
   Is there a laptop model (available in market) that experienced
   members would like to recommend wherein
. the WiFi 802.11 a/g (PCI based)
. Ethernet port
. and ACPI
   work absolutely fine with FreeBSD 7.x ?
 
  I use RELENG_7_1 and RELENG_7 on HP Compaq nx7300. I haven't tried
  the suspend/resume, firewire port and I suppose the modem is not
  going to work. Everything else is working fine for me.
  --
  regards, Maciej Suszko.
 
 
  What is the wireless chipset of your machine ?
 
 On mine nx7300 it is broadcom one and works fine via ndis.
 Suspend/resume works fine if second core is disabled and vesa is
 loaded in kernel
 (either via kldload or via custom kernel)
 Firewire and bluetooth are supported and should work without problems.
 Ethernet works via if_bfe; carbus, drm, sound works fine ...
 In short everything is supported on UP kernel except winmodem.
 
 There are some bugs in BIOS asl which I fixed adding:
 
 acpi_dsdt_load=YES
 acpi_dsdt_name=/boot/acpi.aml
 
 in /boot/loader.conf
 
 /boot/acpi.aml is modified version of ASL which address temperature
 is absurd, ignored
 type of messages.
 
 
 8.0 CURRENT i386.

On 7.0, 7.1 and 7-STABLE there is still a little bit annoying message
in dmesg on my nx7300, but i it's harmless as I suppose:
acpi_tz0: _CRT value is absurd, ignored (256.0C)
-- 
regards, Maciej Suszko.
___
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: is there a laptop ?

2009-03-12 Thread Wojciech Puchar

8.0 CURRENT i386.


On 7.0, 7.1 and 7-STABLE there is still a little bit annoying message
in dmesg on my nx7300, but i it's harmless as I suppose:
acpi_tz0: _CRT value is absurd, ignored (256.0C)


completely harmless, it's buggy ACPI.
___
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: Error starting Snort via rc.d

2009-03-12 Thread Paul Schmehl
--On Thursday, March 12, 2009 14:12:03 -0500 FreeBSD 
free...@optiksecurite.com wrote:




Hello list!

I'm running FreeBSD 7.1-RELEASE-p3 with a fresh ports tree. I just
installed Snort 2.8.2.2_2 from the ports. The problem is that I always
got an error when I want to start/stop/restart Snort via
/usr/local/etc/rc.d/snort.

I isolated the part of the script that is outputting the error. The
problem comes from the last line : run_rc_command $1

The error I get is :
eval: 1: Syntax error: ( unexpected (expecting ))

I don't have any problem starting MySQL, so I don't understand why
there's a problem with this command only for Snort.

Thanks for your precious help,



The problem isn't in the last line.  That's just a common impression when an 
error message isn't clear.  You have to understand that the rc.d system, while 
it makes creating startup scripts easier, obfuscates (to some degree) what's 
going on in the backround.


If you'll notice, there is no eval command in the snort startup script.  What's 
being parsed by eval is /etc/rc.conf.  If you'll look at /etc/rc.subr, you'll 
see that it uses eval to assess the values that you have assigned to the 
various variables used in the snort startup script.


For example, it checks to see if you've enabled the script by evaluating 
/etc/rc.conf for the line scriptname_enable=YES.  It checks the 
run_rc_command to see if the name is correct, what, if any, the arguments are 
that should be appended to the run command, what, if any, the extra arguments 
are, and so forth.


I'll bet you have a snort variable in /etc/rc.conf that isn't quoted correctly.

Send us the results of this command:

grep snort /etc/rc.conf

It should look something like this:

# grep snort /etc/rc.conf
snort_enable=YES
snort_flags=-u snort -g snort -Dq
snort_interface=bge0

--
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
***
Check the headers before clicking on Reply.

___
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: Error starting Snort via rc.d [SOLVED]

2009-03-12 Thread FreeBSD

Paul Schmehl a écrit :
--On Thursday, March 12, 2009 14:12:03 -0500 FreeBSD 
free...@optiksecurite.com wrote:




Hello list!

I'm running FreeBSD 7.1-RELEASE-p3 with a fresh ports tree. I just
installed Snort 2.8.2.2_2 from the ports. The problem is that I always
got an error when I want to start/stop/restart Snort via
/usr/local/etc/rc.d/snort.

I isolated the part of the script that is outputting the error. The
problem comes from the last line : run_rc_command $1

The error I get is :
eval: 1: Syntax error: ( unexpected (expecting ))

I don't have any problem starting MySQL, so I don't understand why
there's a problem with this command only for Snort.

Thanks for your precious help,



The problem isn't in the last line.  That's just a common impression 
when an error message isn't clear.  You have to understand that the rc.d 
system, while it makes creating startup scripts easier, obfuscates (to 
some degree) what's going on in the backround.


If you'll notice, there is no eval command in the snort startup script.  
What's being parsed by eval is /etc/rc.conf.  If you'll look at 
/etc/rc.subr, you'll see that it uses eval to assess the values that you 
have assigned to the various variables used in the snort startup script.


For example, it checks to see if you've enabled the script by evaluating 
/etc/rc.conf for the line scriptname_enable=YES.  It checks the 
run_rc_command to see if the name is correct, what, if any, the 
arguments are that should be appended to the run command, what, if any, 
the extra arguments are, and so forth.


I'll bet you have a snort variable in /etc/rc.conf that isn't quoted 
correctly.


Send us the results of this command:

grep snort /etc/rc.conf

It should look something like this:

# grep snort /etc/rc.conf
snort_enable=YES
snort_flags=-u snort -g snort -Dq
snort_interface=bge0



Thanks a lot! There was an error in the snort_interface line.

Thank you for your excellent explanation.

Martin
___
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: is there a laptop ?

2009-03-12 Thread Chris Whitehouse

Saifi Khan wrote:

On Wed, 11 Mar 2009, Chris Whitehouse wrote:


HP nc6320 (google RH383ET) - most things work, including wifi and ethernet,
except for the following:




From HP site,


Network
Integrated Broadcom NetLink Gigabit Ethernet PCI Controller
(10/100/1000 NIC)

Wireless
Broadcom 802.11a/b/g; Broadcom 802.11b/g; Bluetooth 2.0


It seems to have the US-trash-com chipset !

Do Atheros, Ralink, Realtek, Intel PRO/Wireless chipset work
with FreeBSD ?


thanks
Saifi.

What is the US-trash-com chipset and what makes it 'trash'? Is it poorly 
implemented hardware or problems with drivers? Or something else?


This machine uses wpi and bge. Both devices seem to work ok chucking 
files around a domestic network.


w...@pci0:8:0:0:class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00

vendor = 'Intel Corporation'
device = '10418086 Intel 3945ABG Wireless LAN controller'
class  = network
b...@pci0:2:14:0:   class=0x02 card=0x30aa103c chip=0x169c14e4 
rev=0x03 hdr=0x00

vendor = 'Broadcom Corporation'
device = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet'
class  = network

Chris
___
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


usb sound card

2009-03-12 Thread Chris Whitehouse

Hi

Does anyone have experience with a usb sound card? Are any of them 
supported in FreeBSD?


Also [OT] what is the sound quality like? I find it hard to believe that 
a device that is available for around £1.50 can be as good as a PCI card 
costing quite a lot more.


The onboard sound chip on my motherboard has kicked it, shame as it was 
really nice (HDA) sound.


Thanks

Chris
___
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: Disabling write cache on eSATA enclosures

2009-03-12 Thread Dan
Besides the above cache problem, I am also experiencing timeouts with
the enclosure which start happening after some time the enclosure is
active. I am using it in raid 1 mode. This is Rosewill R2-RAID.
___
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


What does df command use to get Used column?

2009-03-12 Thread Peter Steele
A typical df command looks like this: 

# df -h 
Filesystem Size Used Avail Capacity Mounted on 
/dev/mirror/gm0a 4.8G 2.0G 2.4G 46% / 
devfs 1.0K 1.0K 0B 100% /dev 
linprocfs 4.0K 4.0K 0B 100% /proc 
/dev/mirror/gm0d 3.9G 88K 3.6G 0% /tmp 
/dev/mirror/gm0e 15G 79M 13G 1% /var 
/dev/ad4s3e 116G 2.3M 107G 0% /v0 
/dev/ad6s3e 116G 2.2M 107G 0% /v1 
/dev/ad8s3e 116G 2.1M 107G 0% /v2 
/dev/ad10s3e 116G 2.1M 107G 0% /v3 

I know what calls to make to get the Size and Avail columns. I'm not sure 
what df does to get the value for the Used column. Anyone know how df gets 
this value? 

___
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 building ports : 1) abiword; 2) curl

2009-03-12 Thread Manish Jain


Hi all,

I installed FreeBSD 7.1 on my x86 system a few days back and am 
having problems with building the following ports :


1) abiword
2) curl

I am attaching the error messages below inline.

1) abiword :

In file included from 
/usr/local/include/gtk-2.0/gtk/gtkactiongroup.h:34,

 from /usr/local/include/gtk-2.0/gtk/gtk.h:38,
 from goffice-gtk.c:27:
/usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: 
function declaration isn't a prototype
goffice-gtk.c:1041: error: static declaration of 
'gdk_cairo_set_source_pixbuf' follows non-static declaration
/usr/local/include/gtk-2.0/gdk/gdkcairo.h:36: error: previous 
declaration of 'gdk_cairo_set_source_pixbuf' was here
goffice-gtk.c:1152: error: static declaration of 
'gtk_dialog_get_response_for_widget' follows non-static declaration
/usr/local/include/gtk-2.0/gtk/gtkdialog.h:149: error: previous 
declaration of 'gtk_dialog_get_response_for_widget' was here

gmake[3]: *** [goffice-gtk.lo] Error 1
gmake[3]: Leaving directory 
`/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice/gtk'

gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice'

gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/devel/goffice04/work/goffice-0.4.3/goffice'

gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/devel/goffice04.
*** Error code 1

Stop in /usr/ports/editors/abiword.


2) curl :

When the curses-based options screen came up, I enabled GNU TLS and 
since then curl build stops with the following error message :


===  curl-7.19.2 may only use GNU TLS if OpenSSL support is disabled.
*** Error code 1

Stop in /usr/ports/ftp/curl.

I then replaced the curl Makefile with the original Makefile, but 
this has had no effect.



Can anybody please suggest anything ? Thanks in advance

Manish Jain
invalid.poin...@gmail.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


Problem with running acroread8/linux-nvu

2009-03-12 Thread Manish Jain


Hi all,

I am running FreeBSD7.1 on an x86 system. When I try to run 
acroread8 or linux-nvu, both fail with the following error message :


error while loading shared libraries: libgobject-2.0.so.0: cannot 
open shared object file: No such file or directory


Interestingly, 'locate libgobject-2.0.so.0' gives the output : 
/usr/local/lib/libgobject-2.0.so.0


So I copied /usr/local/lib/libgobject-2.0.so.0 to /usr/compat/linux/lib.

Now I get the following message when I try to run acroread8 :
error while loading shared libraries: /lib/libgobject-2.0.so.0: ELF 
file OS ABI invalid


Can somebody please help me out ? Thanks in advance.

Manish Jain
invalid.poin...@gmail.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: USB hub and USB to Serial cable on FreeBSD

2009-03-12 Thread Warren Block

On Thu, 12 Mar 2009, Valentin Bud wrote:

On Thu, Mar 12, 2009 at 12:40 PM, Wojciech Puchar 
woj...@wojtek.tensor.gdynia.pl wrote:


Do you know if i can get FreeBSD 7.0 to see USB to serial (RS232) cables if

they are
connected to a USB hub?

 load a proper USB-serial driver ;)


man ucom



Thanks for the tip Wojciech. I just wonder if it will work because i 
want to connect 8 USB to Serial to an USB hub and the hub to be 
connected to the FreeBSD box through an USB port. Do you think that is 
possible? Any comments suggestion are welcomed.


Don't know of any reason it wouldn't work.  A USR serial modem works 
here through a PL2303 (uplcom) USB/serial adapter, then through a hub. 
More USB-serial adapters should just give you more /dev/cuaUn devices.


-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: is there a laptop ?

2009-03-12 Thread Wojciech Puchar


This machine uses wpi and bge. Both devices seem to work ok chucking files 
around a domestic network.


at least for wired network i never had a problem with broadcom chips



w...@pci0:8:0:0:class=0x028000 card=0x135c103c chip=0x42228086 
rev=0x02 hdr=0x00

   vendor = 'Intel Corporation'
   device = '10418086 Intel 3945ABG Wireless LAN controller'
   class  = network
b...@pci0:2:14:0:   class=0x02 card=0x30aa103c chip=0x169c14e4 
rev=0x03 hdr=0x00

   vendor = 'Broadcom Corporation'
   device = 'BCM5788 Broadcom NetLink (TM) Gigabit Ethernet'
   class  = network

Chris
___
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: usb sound card

2009-03-12 Thread Wojciech Puchar
Does anyone have experience with a usb sound card? Are any of them supported 
in FreeBSD?


looks like it is - man snd_uaudio

from manual it looks like it's standard of USB audio interfaces so all 
should work - unless some manufacturers don't comply to standards.


simple get some laptop with freebsd to shop and try - it's quick just 
connect and check if it works




Also [OT] what is the sound quality like?


depends of the hardware.

I find it hard to believe that a 
device that is available for around ?1.50 can be as good as a PCI card 
costing quite a lot more.


it MAY. cost often have no correlation with quality in PC hardware market.
It may be crap-sound or super-hifi.

In theory it's easier to get high quality because there are easier to 
protect it from electrical noises as it's outside your computer.


___
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 does df command use to get Used column?

2009-03-12 Thread Bruce Cran
On Thu, 12 Mar 2009 15:59:54 -0700 (PDT)
Peter Steele pste...@maxiscale.com wrote:

 A typical df command looks like this: 
 
 # df -h 
 Filesystem Size Used Avail Capacity Mounted on 
 /dev/mirror/gm0a 4.8G 2.0G 2.4G 46% / 
 devfs 1.0K 1.0K 0B 100% /dev 
 linprocfs 4.0K 4.0K 0B 100% /proc 
 /dev/mirror/gm0d 3.9G 88K 3.6G 0% /tmp 
 /dev/mirror/gm0e 15G 79M 13G 1% /var 
 /dev/ad4s3e 116G 2.3M 107G 0% /v0 
 /dev/ad6s3e 116G 2.2M 107G 0% /v1 
 /dev/ad8s3e 116G 2.1M 107G 0% /v2 
 /dev/ad10s3e 116G 2.1M 107G 0% /v3 
 
 I know what calls to make to get the Size and Avail columns. I'm
 not sure what df does to get the value for the Used column. Anyone
 know how df gets this value? 

Line 417 of /usr/src/bin/df/df.c:

used = sfsp-f_blocks - sfsp-f_bfree;

-- 
Bruce
___
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: sed error unescaped newline inside substitute pattern

2009-03-12 Thread Frank Shute
On Thu, Mar 12, 2009 at 01:34:36PM -0400, David Banning wrote:

 Here is the php line that gives the error;
 
 cat start_text | sed s/--maintext--/$test/  endtext
 
 give error;
 
 sed: 1: s/--maintext--/ Comment ...: unescaped newline inside substitute 
 pattern
 
 where $test contains customer input from a website form
 
 There is something about the content of the text within the variable $test 
 that is causing the error.
 
 Any pointers would be helpful.

I think your problem is that $ is an end of line as a regex. So sed is
choking on the fact that there's some text (test) after the end of
line.

I can't really tell you how to fix it, although backslash escaping the
$ might be worth a try.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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: is there a laptop ?

2009-03-12 Thread Chris Hill

On Thu, 12 Mar 2009, John Hendy wrote:

I've never heard of HEAD... I'm pretty new to freebsd, so that could 
very well be why! Google is just giving me search results with people 
doing such and such with 'freebsd-head', not what it is.


Since nobody else has chimed in... HEAD refers to the bleeding edge, aka 
CURRENT. It's what you get if you have


*default release=cvs tag=.

in your supfile when you update the system (not ports). It changes 
frequently. See 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html


[ Lengthy quote snipped 'cause this is OT anyway ]

--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging | ]
___
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: bsd vs gpl

2009-03-12 Thread Saifi Khan
On Thu, 12 Mar 2009, Wojciech Puchar wrote:

  The ACM Queue (1 May 2004) article by Jay Michaelson of Wasabi
  Systems is very insightful.
 
  There is no such thing as Free (Software) lunch
 
  Please take a look at
  http://queue.acm.org/detail.cfm?id=1005066
 
  In 2009, you would like your product (esp infrastructure product
  or platform) to reach out to as many people as possible and be
  used in as many ways possible.
 
 not always true.
 

Let me re-state for your benefit:

 In 2009, you would like your product (esp infrastructure
 product or platform) benefits to reach to as many people as
 possible and be useful in as many ways possible


  BSD / ASL 2.0 license precisely help one accomplish that in a
  very benign way.
 
 generally true, anyway i don't consider wasabysystems (destroyers of NetBSD)
 as a reference.

Do you have any credible proof ?

This link may help you
http://mail-index.netbsd.org/netbsd-users/2006/08/30/0016.html

My suggestion, an objective assessment of the situation for what
it is and not what it seems to be is more beneficial. This also
helps us avoid 'fuzzy' to 'vague' observations like:
 . generally true
 . somewhat true
 . not always true
 . not always false
 . may be true on mars
 . may not be true on jupiter ...

Think about it !


thanks
Saifi.
___
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: Problem with Bash-4 and $(command) syntax

2009-03-12 Thread Mark McConnell
On 12 Mar 2009 at 10:25, Jerry wrote:
{Problem with Bash-4 and $(command) ...}:

 
 Is this a known problem with Bash-4? I have not been
 able to find anything about it on the Bash site. 
 

 Jerry
 ges...@yahoo.com
 

I found the same problem, and have reverted to
 bash3.2 until it's sorted out. 

Like you, I wasn't able to find discussion of this on 
the lists I subscribe to - although I'm sure it's going 
on.  Looking through the diffs in 
/usr/ports/distfiles/bash, the bracketed form of 
command substitution appears to be a long-
standing problem in bash40-xxx.  

The back-tick `command` form works as it should, 
but not the Posix-style $(command) form, as of 
GNU bash, version 4.0.10(1)-release

Mark
--
-- 
Mark McConnell
mar...@dataabstractsolutions.com
Data Abstract Solutions  -   Support
12209 N.E. Fourth Plain Suite DD, 
Vancouver WA 98682



___
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: bsd vs gpl

2009-03-12 Thread Wojciech Puchar


Do you have any credible proof ?


yes. i used NetBSD quite a long. i started turning into crap just when 
wasabisystems appeared and employed good deal of NetBSD developers.


Then i switched to FreeBSD because i wanted WORKING system, while older 
version no longer worked on new computers.

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

2009-03-12 Thread alexus
or maybe someone knows which flag i need to use to use rsync?

On Thu, Mar 12, 2009 at 10:00 PM, alexus ale...@gmail.com wrote:
 can bsd tar save file flags (chflags) ? if not what can?

 --
 http://alexus.org/




-- 
http://alexus.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


bsdtar

2009-03-12 Thread alexus
can bsd tar save file flags (chflags) ? if not what can?

-- 
http://alexus.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


Inetd and multiple IP addresses

2009-03-12 Thread skx
I have inetd configured to open a listening port for leafnode 
 nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode
but this opens the port on all IP addresses associated with this machine. 
I would like to choose only one. 

I tried 
 192.168.13.2:nntp stream tcp nowait 
news /usr/libexec/tcpd /usr/local/sbin/leafnode

but it doesn't work

 Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown 
service

What am I doing wrong? Isn't ip:service_name a correct entry? 

FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. 


-- 
skx. 
___
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: port: multimedia/recordmydesktop

2009-03-12 Thread Kevin Lo
Matthias Apitz wrote:
 Hello,
 
 Any experience or comments about the port multimedia/recordmydesktop?
 I can't access the web site http://recordmydesktop.iovar.org/ that's why
 I'm asking;

The Web site should be http://recordmydesktop.sourceforge.net/

 to the Cc'ed maintainer of the port: the web site mentioned in pkg-descr
 does not exist anymore;

Fixed. Thanks for pointing that out.

 Thx
 
   matthias

Kevin

___
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 does df command use to get Used column?

2009-03-12 Thread Peter Steele
Line 417 of /usr/src/bin/df/df.c: 
 
used = sfsp-f_blocks - sfsp-f_bfree; 

I keep forgetting that I can go directly to the source to answer questions like 
this. Thanks muchly; this is exactly what I need. 

___
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


kindle2

2009-03-12 Thread Pat Lackie
Do you allow reformatting the hand book into kindle2

 

 

lack...@cs.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: bsdtar

2009-03-12 Thread Roland Smith
On Thu, Mar 12, 2009 at 10:05:19PM -0400, alexus wrote:
 or maybe someone knows which flag i need to use to use rsync?

You can use the --fileflags option, if rsync has been compiled with
it. See /usr/ports/net/rsync/Makefile

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)


pgpQPxL0AummY.pgp
Description: PGP signature


Re: kindle2

2009-03-12 Thread Ivan Rambius Ivanov
Hello,

On Fri, Mar 13, 2009 at 4:11 AM, Pat Lackie lack...@cs.com wrote:
 Do you allow reformatting the hand book into kindle2

Please check the copyright notice of the FreeBSD Handbook at [1].

Regards
Rambius

[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/LEGALNOTICE.html

-- 
Tangra Mega Rock: http://www.radiotangra.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: bsd vs gpl

2009-03-12 Thread Nathan Lay

Polytropon wrote:

I'd like to make an addition:

The freedom of the BSDL intentionally allows to close sources.
This can be considered theft, if one would like to use this
interpretation. When taking some BSDL code, there's no need
to contribute anything back.

One argument could be that the money or hardware given to the
FreeBSD developers is abused by those who silently take
advantage of their work.

But finally, it's always the developer who decides what to do
with his own work. If he intends to allow others to make money
from his code without giving anything back, it's his choice to
do so. If a supporter doesn't like this decision, he should
think about his support.

Closing code doesn't make the code disappear which it is based
upon, so code doesn't get unfree.



I know, this can lead into an endless discussion. It has already
taken place on other platforms, such as here:

http://www.osnews.com/comments/20740

Forgive me my comment. :-)
  


Often overlooked, but the open nature of the BSD license and similar 
contribute to the adoption and widespread use technology by industry. I 
wager that if software like Xorg, the BSD IP stack, and etc... were 
licensed under GPL or similar restrictive licenses, these technologies 
might not have lasted. Open (in the BSDL sense) technology seems to do 
better in the long run... Ironic?


Best Regards,
Nathan Lay

___
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: Problem with Bash-4 and $(command) syntax

2009-03-12 Thread Eray Aslan
On 13.03.2009 02:04, Mark McConnell wrote:
 On 12 Mar 2009 at 10:25, Jerry wrote:
 {Problem with Bash-4 and $(command) ...}:
[...]
 I found the same problem, and have reverted to
  bash3.2 until it's sorted out. 

See if the following helps.

http://tiswww.case.edu/php/chet/bash/COMPAT

Especially:

38. Since bash-4.0 now follows Posix rules for finding the closing
delimiter of a $() command substitution, it will not behave as previous
versions did, but will catch more syntax and parsing errors before
spawning a subshell to evaluate the command substitution.

-- 
Eray

 Like you, I wasn't able to find discussion of this on 
 the lists I subscribe to - although I'm sure it's going 
 on.  Looking through the diffs in 
 /usr/ports/distfiles/bash, the bracketed form of 
 command substitution appears to be a long-
 standing problem in bash40-xxx.  
 
 The back-tick `command` form works as it should, 
 but not the Posix-style $(command) form, as of 
 GNU bash, version 4.0.10(1)-release
 
 Mark
 --

___
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: Inetd and multiple IP addresses

2009-03-12 Thread Tim Judd
On Fri, 2009-03-13 at 03:38 +0100, skx wrote:
 I have inetd configured to open a listening port for leafnode 
  nntp stream tcp nowait news /usr/libexec/tcpd /usr/local/sbin/leafnode
 but this opens the port on all IP addresses associated with this machine. 
 I would like to choose only one. 
 
 I tried 
  192.168.13.2:nntp stream tcp nowait 
 news /usr/libexec/tcpd /usr/local/sbin/leafnode
 
 but it doesn't work
 
  Mar 11 02:59:21 rewers inetd[89528]: 192.168.13.2:nntp/tcp: unknown 
 service
 
 What am I doing wrong? Isn't ip:service_name a correct entry? 
 
 FreeBSD 7.1-RELEASE-p1 with custom kernel if that matters. 
 
 

inetd.conf(5)

see option -a

put it in your rc.conf, as inetd_flags
I do this for all my hosts so I have a tighter reign on the problem


___
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: Problem with Bash-4 and $(command) syntax

2009-03-12 Thread bf


  {Problem with Bash-4 and $(command) ...}:
 [...]
  I found the same problem, and have reverted to
   bash3.2 until it's sorted out. 

 See if the following helps.

 http://tiswww.case.edu/php/chet/bash/COMPAT

 Especially:

 38. Since bash-4.0 now follows Posix rules for finding the 
 closing
 delimiter of a $() command substitution, it will not behave as  previous
 versions did, but will catch more syntax and parsing errors 
 before
 spawning a subshell to evaluate the command substitution.

 -- 
Eray

Yes, the above is true.  But many of the examples cited
by people noticing this problem are perfectly valid and
_should_ work.  The problem is that the port's parser is 
broken, owing in part to incompatibilities between the 
system yacc currently used to build the parser and GNU
bison, which is used by the people who write bash.  This
is true of both shells/bash and shells/bash3, but is more
noticeable in shells/bash.  A fix has been proposed, and patches
are available, in the follow-up to:

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/101230

The port's maintainer has been reluctant to switch to bison,
so this may not be the solution that is ultimately used to
fix the port, but you can use these in the meantime.

Regards,
b.


  
___
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


the pause that removes

2009-03-12 Thread prad
one of the neat things i've found about freebsd vs linux is the
'instantaneous' rm.

when you remove a large file or a substantial directory, freebsd does
it right away ard you get your prompt back, while with every linux i've
tried, you wait and wait and wait.

i presume freebsd just takes the pointer to the file out so it can be
overwritten, while may be the linuxes fill stuff with zeros or
something like that??

is this instantaneity a result of the ufs file system vs say ext3 or
reiser?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: bsdtar

2009-03-12 Thread alexus
yeah, i just found patch for it, thanks!

On Thu, Mar 12, 2009 at 11:57 PM, Roland Smith rsm...@xs4all.nl wrote:
 On Thu, Mar 12, 2009 at 10:05:19PM -0400, alexus wrote:
 or maybe someone knows which flag i need to use to use rsync?

 You can use the --fileflags option, if rsync has been compiled with
 it. See /usr/ports/net/rsync/Makefile

 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)




-- 
http://alexus.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