Acer Aspire 4730Z laptop

2009-04-24 Thread John Beukema
The procedure to install xorg suggested in Sec 5 of the Handbook does not work 
for my Acer Aspire 4730Z laptop running 7.0 amd64 GENERIC.
I get no screen available with the vesa driver and a very low resolution X 
with the vga driver.  Any suggestions for a xorg.conf file that will work.  It 
uses the Intel 4 express chip.

Any help appreciated.

John Beukema



  
___
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: Modern FreeBSD Installer?

2009-04-24 Thread Zbigniew Komarnicki
On Wednesday 22 of April 2009 21:27:39 Fritz wrote:
 Hi,
 ... When are you going to build
 a modern installer for FreeBSD?

If I can add my 2 cents to this entire discusion, it will be nice if will be 
the TUI which is similar to TUI done in Debian Lenny installer. You can do 
simply next and back option, you can easily choose betwen e.g ext3 or 
reiserfs. It will be nice if we can also do it in FreeBSD e.g UFS or ZFS or 
something else in future. Add repositories (Linux) add csup sites (FreeBSD) 
and so one.

What do you think about that?

Regards,
Zbigniew
___
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: mail server/webmail

2009-04-24 Thread Polytropon
On Thu, 23 Apr 2009 13:53:28 -0700, Liontaur liont...@gmail.com wrote:
 fetchmail, gotcha. I'll look into that.

I'm using it myself and I'm still happy with it. The advantage is
that you can use it for more than just one POP account.



 The Outlook Express deal is not for me, that's for another person who needs
 access to this email account and they happen to be very computer illiterate
 and being as they're used to OE, i'm not going to bother trying to teach
 them something new. As for me, I plan on just using webmail to access this
 email account.

Then I'd suggest to install Mozilla Thunderbird and give it the
Outlook Express icon. They won't notice any difference. But
recipients of mails will - no double HTML garbage. :-)

Webmail is not that bad (because important stuff is done in the
background - the backend), but I prefer a real mail program.
That's easy when you're at home or at work where you can
access these resources, but webmail is very handy when you're
at another place and still want to to your email stuff. Your
idea of combining both (read: IMAP) is quite good.



 IMAP, gotcha. And yea, the idea is to run this stuff on a FreeBSD server
 i've got running just for little tasks like this, then the windows
 workstation [...]

Computer with Windows == PC; Computer with UNIX == Workstation. :-)



 [...] can access it with a not-a-real email client and I can access it
 from wherever from my laptop too.

And you can even integrate a standard mail client (e. g. Thunderbird)
in this setting to have your mail done more comfortable, without
interfering with what's already done.




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


Re: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Polytropon
On Thu, 23 Apr 2009 14:36:25 -0700, Gary Kline kl...@thought.org wrote:
   tHat said: how can I experiement with translating my html into 
   slideshow format?  If this is a case of RTFM, where is the FM
   page website that will get me going.?

For a real slideshow in terms of projected presentation,
maybe you want to check the foiltex package (port: textproc/foiltex)
and create a PDF file with it, using LaTeX. The advantage
is that it can be easily turned into plain text if needed
(e. g. for speech synthesis). Along with xpdf (also from
the ports), you can do:

% xpdf -fullscreen presentation

If you want the slides HTML based, an option would be to
create a script that reads the big HTML source and splits
it into small slides with less text, according to a template.
But I think it's still neccessary to put hands on it to get
things like document structure right.


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


acroread install problems

2009-04-24 Thread Pieter Donche
I want to install acroread. 
I have FreeBSD7/amd64.

Linux binary compatibility is installed:.
 linux_base-fc-4_13  Base set of packages needed in Linux mode (for i386/amd64)
/etc/rc.conf contains 
linux_enable=YES


# cd /usr/ports/print/acroread9
# make install clean
fetches and installs several 'linux' packages
then:
pango-1.10.2-1.gst.1.4.i386.rpm
===  Checking if x11-toolkits/linux-pango already installed
cd /usr/ports/x11-toolkits/linux-pango/work  /usr/bin/find * -type d -exec /bi
n/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 librarie
s: libgobject-2.0.so.0: cannot open shared object file: No such file or director
y
*** Error code 127

Stop in /usr/ports/x11-toolkits/linux-pango.

Did  make install clean  again
continues to install packages, but
libtiff-3.7.1-6.fc4.2.i386.rpm
===  Checking if x11-toolkits/linux-gtk2 already installed
cd /usr/ports/x11-toolkits/linux-gtk2/work  /usr/bin/find * -type d -exec /bin
/mkdir -p /compat/linux/{} \;
cd /usr/ports/x11-toolkits/linux-gtk2/work  /usr/bin/find * ! -type d | /usr/b
in/cpio -pm -R root:wheel /compat/linux
28726 blocks
/usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libgm
odule-2.0.so.0: cannot open shared object file: No such file or directory
*** Error code 127

Stop in /usr/ports/x11-toolkits/linux-gtk2.

Did  make install clean  again
continues to install packages, but
scim-libs-1.4.4-1.fc4.i386.rpm
===  Checking if textproc/linux-scim-gtk already installed
cd /usr/ports/textproc/linux-scim-gtk/work  /usr/bin/find * -type d -exec /bin
/mkdir -p /compat/linux/{} \;
cd /usr/ports/textproc/linux-scim-gtk/work  /usr/bin/find * ! -type d | /usr/b
in/cpio -pm -R root:wheel /compat/linux
281 blocks
/usr/bin/gtk-query-immodules-2.0-32: error while loading shared libraries: libgm
odule-2.0.so.0: cannot open shared object file: No such file or directory
*** Error code 127

Stop in /usr/ports/textproc/linux-scim-gtk.


Did  make install clean  again
continues to install ..
..
===   Registering installation for acroread9-9.1.0_2
...
===  Cleaning for acroreadwrapper-0.0.20090328
===  Cleaning for linux-atk-1.9.1_2
===  Cleaning for linux-cairo-1.0.2_1
===  Cleaning for linux-expat-1.95.8_1
===  Cleaning for linux-fontconfig-2.2.3_8
===  Cleaning for linux-gdk-pixbuf-0.22.0.18.fc4.2_1
===  Cleaning for linux-gtk2-2.6.10_2
===  Cleaning for linux-jpeg-6b.34_1
===  Cleaning for linux-libxml2-2.6.19_1
===  Cleaning for linux-pango-1.10.2_2
===  Cleaning for linux-png-1.2.8_3
===  Cleaning for linux-scim-gtk-fc4-1.4.4_1
===  Cleaning for linux-scim-libs-fc4-1.4.4_2
===  Cleaning for linux-tiff-3.7.1_1
===  Cleaning for linux-xorg-libs-6.8.2_6
===  Cleaning for linux-nvu-1.0_1
===  Cleaning for linux-hicolor-icon-theme-0.5_2
===  Cleaning for acroread9-9.1.0_2

I now have /usr/local/bin/acroread, but:
$ acroread
/usr/local/Adobe/Reader9/ENU/Adobe/Reader9/Reader/intellinux/bin/acroread: 
error while loading shared libraries: libgobject-2.0.so.0: cannot open shared 
object file: No such file or directory

what went wrong during the installation
and how to remedy?

Previously on another FreeBSD7 system, I could install acroread7 without
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


OpenLDAP/SSH : sshd[1414]: fatal: login_get_lastlog: Cannot find account for uid 1000

2009-04-24 Thread O. Hartmann
Since several months after a upgrade from OpenLDAP 2.4.11 to the most 
recent one I have trouble login in on machines which authenticate users 
via OpenLDAP.


The OpenLDAP server is at the momen a FreeBSD 7.2 box running most 
recent OpenLDAP from ports. The follwoing is also true for each OpenLDAP 
2.4.16 I've running on most recent FreeBSD 8.0-CURRENT boxes.


I can't login via ssh anymore! For first circumvention of the problem I 
installed local users, so I can login via them.


Here what I can and what not:

I can enumerate each user in the OpenLDAP DIT via id I wish
I can use the OpenLDAP server to login on a samba share
I can 'su' to users having their account stuff in the OpenLDAP DIT

Whenever I (or any other user) try to login to a host which does 
PAMyfied authentication to LDAP servers (whihc worked weeks ago 
perfectly), I (or he) gets this:


sshd[1414]: fatal: login_get_lastlog: Cannot find account for uid 1000

Loggin the console messages on the server shows this:

sshd[482]: nss_ldap: could not search LDAP server - Server is unavailable

sshd[482]: fatal: login_get_lastlog: Cannot find account for uid 1000


I tried to reconfigure /etc/ssh/sshd_config on the host side, restored 
it with a version that worked long before and then tried to reconfigure 
it by scratch, beginning from default. No success.
Due to the fact other services can autheticate without problems via 
LDAP, this must have to do with SSH and/or the way it is implemented in 
FreeBSD.


Please help.

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


OpenLDAP 2.4.11 sshd[3997]: fatal: login_get_lastlog: Cannot find account for uid 2000

2009-04-24 Thread O. Hartmann
We run a bunch of FreeBSD boxes, some FreeBSD 7.2, others (most) FreeBSD 
8.0-CURRENT (most amd64).


These boxes manage their users via OpenLDAP 2.4.XX. Before we did an 
upgrade to OpenLDAP 2.4.15/16, everything was all right. Now, after 
nearly all of our OpenLDAP servers has been upgraded to 2.4.16, users 
can not log in via ssh onto their hosts for work. Because this is at 
this very moment a very small scientific test facility I circumvent 
problems by having local accounts the traditional way.


When users try to login on a workstation via ssh the connection gets 
closed after they provided their password, sending this error:


sshd[3997]: fatal: login_get_lastlog: Cannot find account for uid 2000 
(or whatever UID is provided)



Sshd on server side is configured to use PAM and both pam_ldap and 
nss_ldap are installed, up to date, recompiled to match OpenLDAP 2.4.16. 
Besides, OpenLDAP 2.4.11/13/14/15.16 uses DB4.7 on our installation.


The funny thing is that this problem occured immediately and 
synchronously on all clients and OpenLDAP servers when moved from 2.4.11 
to 2.4.16/db47. On the other hand, and also very funny and confusing, I 
can enumerate very UID in the home directory, I can su to every user 
managed by LDAP, I can 'su' to users, users are able to authenticate 
themselves when using SAMBA (also OpenLDAP backed) and autheticate 
web-users when accessing restricted pages on our site secured by 
OpenLDAP backed authetication (lighttpd). But no one is capable of log 
in via ssh!


The situation is very frustrating. I do not see anything suspicious when 
tracking OpenLDAP's logs (ACL/stats), nor do I see anythng weird when 
looking at sshd's logs. I need help to track down this problem.


When I search the net for the above mentioned specific error message I 
got a lot of trouble-reports concerning nss_ldap and sshd, but those 
were related to 2003/2005.


Any suggestions?

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


Re: 7.0-STABLE qemu not terminating

2009-04-24 Thread Matthias Apitz
El día Thursday, April 23, 2009 a las 10:22:52PM +0200, Juergen Lock escribió:

  a new effect is that the qemu proc ends on termination of guest OS; the
  flag -no-shutdown does not help;
 
  Oh, yeah, same here.  I've just reported this on the qemu list, and btw
 kvm seems to be affected too:
   https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/362550/+viewstatus

another issue is, when I'm using:

   -kernel-kqemu
   Enable KQEMU full virtualization (default is user mode only).

the guest system (XP SP3) crashes short after coming up; without
-kernel-kqemu I'm not sure if Qemu does make use of the kqemu.ko, it is
so slow, esp. on disk i/o; I have loaded kqemu.ko on boot and if Qemu is
up I can't kldunload it; but I really don't know if it makes use of it;

matthais
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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: Acer Aspire 4730Z laptop

2009-04-24 Thread Maciej Milewski
Friday 24 April 2009 09:26:40 John Beukema napisał(a):
 The procedure to install xorg suggested in Sec 5 of the Handbook does not
 work for my Acer Aspire 4730Z laptop running 7.0 amd64 GENERIC. I get no
 screen available with the vesa driver and a very low resolution X with the
 vga driver.  Any suggestions for a xorg.conf file that will work.  It uses

I don't know what you mean saying
 the Intel 4 express chip.
But if it is Intel graphics then try installing xf86-video-intel driver from 
ports. If it will not help post more info what is your video card in this 
laptop.

Regards,
Maciej Milewski
___
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


X-Org problem

2009-04-24 Thread Ott Köstner
Dear list,

After upgrading Xorg from ports to the latest version
xorg-server-1.6.0,1
xorg-7.4_1

I am experiencing very unpleasant phenomenon, Xorg randomly exiting with 
message:

Apr 24 15:16:16 ott kernel: pid 7445 (Xorg), uid 0: exited on signal 6
Apr 24 15:16:16 ott kdm-bin[1020]: X server for display :0 terminated 
unexpectedly

Also, there is a strange behavior with dual-head mode -- when moving cursor 
from one screen to another, the little white arrow remains on the other screen.

Please help! What might it be? Recompiled probably everything related to Xorg. 
Using Nvidia driver version
nvidia-driver-96.43.11

With best regards,
Ott Köstner






___
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: Modern FreeBSD Installer?

2009-04-24 Thread Martin McCormick
As a computer user who happens to be blind and who has
done a ton of FreeBSD installs the headless way, I hope any new
installer will not absolutely require a GUI. If it can run in a
GUI mode, fine, but I hope it will still let one connect via a
serial port and direct the process that way.

If the simple stuff works, there are less chances for
the law of unintended consequences to rule.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: Format of history output Sometimes is very Different.

2009-04-24 Thread Martin McCormick
Matthew Seaman writes:
 tcsh(1) includes timestamps in it's .history.  bash(1) doesn't.
 Not sure about other shells, but the historical (ahem!) behaviour
 
 of csh(1) was not to use timestamps, and I think most shells subsequently
 developed have carried on the same history format, with
 
 tcsh(1) being the exception.

Thanks to you and N. Raghavendra ra...@mri.ernet.in
for your help. That has got to be what I did. On the times I
have seen this, I was in a hurry and may have somehow invoked
tcsh as I never use it normally. The prompt defaults to a 
symbol. If one runs the command tcsh history, tcsh gives an
error as there is no such file called history but if you launch
tcsh at the command prompt and then execute history, that is the
very output I was talking about. I am still not sure how I
didn't notice the different prompt and the fact that I was in
some other kind of shell, but I guess some of us are crazier
than we like to admit.

At least I now know what generates that output and why I
couldn't find anything in the bash documentation. The closest I
get to tcsh is csh in root.

Again, many thanks.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: X-Org problem

2009-04-24 Thread Neal Hogan
On Fri, Apr 24, 2009 at 7:33 AM, Ott Köstner o...@zzz.ee wrote:
 Dear list,

 After upgrading Xorg from ports to the latest version
 xorg-server-1.6.0,1
 xorg-7.4_1

 I am experiencing very unpleasant phenomenon, Xorg randomly exiting with 
 message:

 Apr 24 15:16:16 ott kernel: pid 7445 (Xorg), uid 0: exited on signal 6
 Apr 24 15:16:16 ott kdm-bin[1020]: X server for display :0 terminated 
 unexpectedly

 Also, there is a strange behavior with dual-head mode -- when moving cursor 
 from one screen to another, the little white arrow remains on the other 
 screen.

 Please help! What might it be? Recompiled probably everything related to 
 Xorg. Using Nvidia driver version
 nvidia-driver-96.43.11

I'm no expert, but to help those that are, I suggest that you post the
contents of your /etc/X11/Xorg.0.log (perhaps a dmesg, too).



 With best regards,
 Ott Köstner






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




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


Re: Modern FreeBSD Installer?

2009-04-24 Thread Wojciech Puchar

done a ton of FreeBSD installs the headless way, I hope any new
installer will not absolutely require a GUI. If it can run in a
GUI mode, fine, but I hope it will still let one connect via a
serial port and direct the process that way.


as you can do everything easily in text mode, it just points out that GUI 
installer is nonsense.

___
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: Modern FreeBSD Installer?

2009-04-24 Thread Wojciech Puchar

a modern installer for FreeBSD?


If I can add my 2 cents to this entire discusion, it will be nice if will be
the TUI which is similar to TUI done in Debian Lenny installer. You can do
simply next and back option, you can easily choose betwen e.g ext3 or
reiserfs. It will be nice if we can also do it in FreeBSD e.g UFS or ZFS or
something else in future. Add repositories (Linux) add csup sites (FreeBSD)
and so one.



that's good ideas - something about FUNCTIONALITY instead of look.
___
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: Format of history output Sometimes is very Different.

2009-04-24 Thread N. Raghavendra
At 2009-04-24T08:35:22-05:00, Martin McCormick wrote:

   Thanks to you and N. Raghavendra ra...@mri.ernet.in
 for your help. That has got to be what I did.

You are welcome :-)

Raghavendra.

-- 
N. Raghavendra ra...@mri.ernet.in | http://www.retrotexts.net/
Harish-Chandra Research Institute   | http://www.mri.ernet.in/
See message headers for contact and OpenPGP 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: OpenLDAP/SSH : sshd[1414]: fatal: login_get_lastlog: Cannot find account for uid 1000

2009-04-24 Thread Ruben de Groot
On Fri, Apr 24, 2009 at 12:34:01PM +0200, Ivan Voras typed:
 O. Hartmann wrote:
  Since several months after a upgrade from OpenLDAP 2.4.11 to the most
  recent one I have trouble login in on machines which authenticate users
  via OpenLDAP.
  
 
 I've just installed a fresh machine with FreeBSD 7.2 amd64 and OpenLDAP
 2.4.latest and it works. The only difference might be that I'm using nscd.
 
 Have you modified /etc/pam.d files?

I had a problem with nss_ldap and openldap over ssl. This patch fixed it:

http://www.freebsd.org/cgi/query-pr.cgi?pr=133501cat=ports

Ruben


___
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 vs. pc-bsd

2009-04-24 Thread Michael Jr.

Hi,

I was just wondering what are the major differences between freebsd  
and pc-bsd and is it harder or just as easy to setup freebsd as a  
desktop compared to pc-bsd? Will freebsd work with sager laptops, and  
will freebsd recognize 4 gigs of ddr3 memory and if it does not  
regularly, how can I get freebsd to recognize 4 gigs of ddr3 memory?  
Will freebsd be able to recognize the latest technologies, like
intel core 2 duo and the new Nvidia GTX260m, and hard drives at any  
speed like 7200 rpm? I don't know any kind of code so is there any  
books or any kind of resources that you recommend I look at?
Sorry I have so many questions but I just ordered a new sager laptop  
and I do not really want to have to use windows vista if I don't have  
to, and I think it would be fun to learn how to use freebsd.



Thank you,
Michael Haid
___
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-SSH-LDAP problem

2009-04-24 Thread Alwin Lemstra
i had some trouble because of corrupted indices with ldap. running 
slapindex fixed, it. can you try that?


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


Re: freebsd vs. pc-bsd

2009-04-24 Thread Neal Hogan
On Fri, Apr 24, 2009 at 9:06 AM, Michael Jr. mjrh...@windstream.net wrote:
 Hi,

 I was just wondering what are the major differences between freebsd and
 pc-bsd and is it harder or just as easy to setup freebsd as a desktop
 compared to pc-bsd? Will freebsd work with sager laptops, and will freebsd
 recognize 4 gigs of ddr3 memory and if it does not regularly, how can I get
 freebsd to recognize 4 gigs of ddr3 memory? Will freebsd be able to
 recognize the latest technologies, like
 intel core 2 duo and the new Nvidia GTX260m, and hard drives at any speed
 like 7200 rpm? I don't know any kind of code so is there any books or any
 kind of resources that you recommend I look at?

Have you looked at . . . I mean read . .  the PC-BSD and/or freeBSD
sites? pcbsd.org freebsd.org

 Sorry I have so many questions but I just ordered a new sager laptop and I
 do not really want to have to use windows vista if I don't have to, and I
 think it would be fun to learn how to use freebsd.





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




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


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Fernando Apesteguía
On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood djuatde...@gmail.com wrote:
 Also, when you enter kldstat, do you see these?

 iwi_bss.ko
 iwi_ibss.ko
 iwi_monitor.ko
 if_iwi.ko

No. Shouldn't they be in-kerne?

I compiled my own kernel with the settings I posted in my previous
mail, including device firmware, iwi, wlan, etc.

Cheers

 On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
 fernando.apesteg...@gmail.com wrote:
 2009/4/23 Daniel Underwood djuatde...@gmail.com:
 [SOLVED]

 Thanks for the help, folks. It works fine now.

 I wasn't that lucky :)

 I'm using FreeBSD 7.1-RELEASE-p4 #12
 This is my loader.conf configuration:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES

 And in my kernel config I have:

 device          pci

 device          wlan            # 802.11 support
 device          wlan_wep        # 802.11 WEP support
 device          wlan_ccmp       # 802.11 CCMP support
 device          wlan_tkip       # 802.11 TKIP support
 device          wlan_amrr       # AMRR transmit rate control algorithm
 device          wlan_scan_ap    # 802.11 AP mode scanning
 device          wlan_scan_sta   # 802.11 STA mode scanning

 device          iwi             # For Intel Pro Wireless 2200bg

 device          firmware        # firmware assist module

 This is the output of ifconfig:

 iwi0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
        ether 00:0e:35:fd:aa:0f
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid  channel 1 (2412 Mhz 11b)
        authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 bintval 0

 After seting debug.iwi=1 this is what I get when I try to bring the
 interface up:

 $ ifconfig iwi0 up

 iwi_newstate: INIT - INIT flags 0x0
 enter FW state 1
 firmware_get: failed to load firmware image iwi_bss
 iwi0: could not load firmware
 exit FW state 1
 iwi_newstate: INIT - INIT flags 0x0

 Any ideas?

 Thanks in advance.


 2009/4/22 Daniel Underwood djuatde...@gmail.com:
 Thanks Patrick.  After updating my /boot/loader.conf, it now contains:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES
 wlan_wep_load=YES
 wlan_tkip_load=YES
 wlan_ccmp_load=YES

 I no longer receive the error message about failing to load the
 firmware. However, when I enter ifconfig iwi0 up scan, I receive the
 following in the xconsole:

 iwi0: firmware stuck in state4, resetting

 Any idea what that means, or what state4 is?  (Sorry, I'm very new to 
 FreeBSD.)

 Thanks,
 Daniel

 2009/4/22 Patrick Lamaizière patf...@davenulle.org:
 Le Wed, 22 Apr 2009 17:04:41 -0400,
 Daniel Underwood djuatde...@gmail.com:

 After re-reading man iwi, I noticed that it says:

 This driver requires firmware to be loaded before it will work. You
 need to obtain iwicontrol(8)  from the IWI web page listed below to
 accomplish loading the firmware before ifconfig(8)  will work.

 I'm going to look into this. Sounds like this may be the problem. Do
 you think so?

 No, before FreeBSD 7 you needed to download the firmware.
 There is a port in /usr/ports/net/iwi-firmware but it is only for
 FreeBSD  7

 You don't need anything on FreeBSD 7.x and you it seems you are not
 using the right manual page for 7.1:
 http://www.freebsd.org/cgi/man.cgi?query=iwimanpath=FreeBSD+7.1-RELEASEformat=html

 Regards.


 ___
 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


/etc/crontab won't run my script

2009-04-24 Thread Ghirai
Hi,

I'm trying to get a python script to run from /etc/crontab, but it
won't work.

I've read about the most common issues being related to paths, but my
script uses no paths at all.

This is my /etc/crontab line:

*/5 *   *   *   *
munin   /usr/local/bin/python /root/myscript.py  /var/log/myscript.log

I used munin user because i already have it (can i run it under
'nobody'?).

This is what /var/log/cron says:

Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
(/usr/local/bin/python /root/myscript.py
 /var/log/myscript.log)


However the script doesn't seem to run at all.

Obviously it works if i run it stand-alone, as any user.
I'm running 7.1-RELEASE-p4, i386.

What am i doing wrong?

Thanks.

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


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Daniel Underwood
They should be, yes. I would try loading the modules (kldload) just to
be sure. If loading the modules doesn't fix things, then it's safe to
assume they were compiled in kernel. (But then again, I'm certainly
not an expert in this area.)

On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía
fernando.apesteg...@gmail.com wrote:
 On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood djuatde...@gmail.com 
 wrote:
 Also, when you enter kldstat, do you see these?

 iwi_bss.ko
 iwi_ibss.ko
 iwi_monitor.ko
 if_iwi.ko

 No. Shouldn't they be in-kerne?

 I compiled my own kernel with the settings I posted in my previous
 mail, including device firmware, iwi, wlan, etc.

 Cheers

 On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
 fernando.apesteg...@gmail.com wrote:
 2009/4/23 Daniel Underwood djuatde...@gmail.com:
 [SOLVED]

 Thanks for the help, folks. It works fine now.

 I wasn't that lucky :)

 I'm using FreeBSD 7.1-RELEASE-p4 #12
 This is my loader.conf configuration:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES

 And in my kernel config I have:

 device          pci

 device          wlan            # 802.11 support
 device          wlan_wep        # 802.11 WEP support
 device          wlan_ccmp       # 802.11 CCMP support
 device          wlan_tkip       # 802.11 TKIP support
 device          wlan_amrr       # AMRR transmit rate control algorithm
 device          wlan_scan_ap    # 802.11 AP mode scanning
 device          wlan_scan_sta   # 802.11 STA mode scanning

 device          iwi             # For Intel Pro Wireless 2200bg

 device          firmware        # firmware assist module

 This is the output of ifconfig:

 iwi0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
        ether 00:0e:35:fd:aa:0f
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid  channel 1 (2412 Mhz 11b)
        authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 bintval  0

 After seting debug.iwi=1 this is what I get when I try to bring the
 interface up:

 $ ifconfig iwi0 up

 iwi_newstate: INIT - INIT flags 0x0
 enter FW state 1
 firmware_get: failed to load firmware image iwi_bss
 iwi0: could not load firmware
 exit FW state 1
 iwi_newstate: INIT - INIT flags 0x0

 Any ideas?

 Thanks in advance.


 2009/4/22 Daniel Underwood djuatde...@gmail.com:
 Thanks Patrick.  After updating my /boot/loader.conf, it now contains:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES
 wlan_wep_load=YES
 wlan_tkip_load=YES
 wlan_ccmp_load=YES

 I no longer receive the error message about failing to load the
 firmware. However, when I enter ifconfig iwi0 up scan, I receive the
 following in the xconsole:

 iwi0: firmware stuck in state4, resetting

 Any idea what that means, or what state4 is?  (Sorry, I'm very new to 
 FreeBSD.)

 Thanks,
 Daniel

 2009/4/22 Patrick Lamaizière patf...@davenulle.org:
 Le Wed, 22 Apr 2009 17:04:41 -0400,
 Daniel Underwood djuatde...@gmail.com:

 After re-reading man iwi, I noticed that it says:

 This driver requires firmware to be loaded before it will work. You
 need to obtain iwicontrol(8)  from the IWI web page listed below to
 accomplish loading the firmware before ifconfig(8)  will work.

 I'm going to look into this. Sounds like this may be the problem. Do
 you think so?

 No, before FreeBSD 7 you needed to download the firmware.
 There is a port in /usr/ports/net/iwi-firmware but it is only for
 FreeBSD  7

 You don't need anything on FreeBSD 7.x and you it seems you are not
 using the right manual page for 7.1:
 http://www.freebsd.org/cgi/man.cgi?query=iwimanpath=FreeBSD+7.1-RELEASEformat=html

 Regards.


 ___
 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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 18:08:13 +0300
Ghirai ghi...@ghirai.com wrote:

 Hi,
 
 I'm trying to get a python script to run from /etc/crontab, but it
 won't work.
 
 I've read about the most common issues being related to paths, but my
 script uses no paths at all.
 
 This is my /etc/crontab line:
 
 */5 *   *   *   *
 munin   /usr/local/bin/python /root/myscript.py
  /var/log/myscript.log
 
 I used munin user because i already have it (can i run it under
 'nobody'?).
 
 This is what /var/log/cron says:
 
 Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
 (/usr/local/bin/python /root/myscript.py
  /var/log/myscript.log)
 
 
 However the script doesn't seem to run at all.
 
 Obviously it works if i run it stand-alone, as any user.
 I'm running 7.1-RELEASE-p4, i386.
 
 What am i doing wrong?
 
 Thanks.
 

Ok i just changed 'who' column to root and it works.
Why won't it work as any other user?
Permissions for myscript.py are 555.

-- 
Regards,
Ghirai.
___
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: /etc/crontab won't run my script

2009-04-24 Thread Glen Barber
On Fri, Apr 24, 2009 at 11:14 AM, Ghirai ghi...@ghirai.com wrote:

 Ok i just changed 'who' column to root and it works.
 Why won't it work as any other user?
 Permissions for myscript.py are 555.


Who owns the file?


-- 
Glen Barber
___
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


Win4BSD -- any comments or experiences?

2009-04-24 Thread Matthias Apitz

Hello,

Subscribed in a FreeBSD mailing list in Spanish, I've got a pointer to
this software:

http://win4bsd.com/wp/win4bsd-free-for-non-commercial-use/

Any comments about or test results in compare with Qemu?
Thx

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e matthias.ap...@oclc.org - w http://www.oclc.org/ http://www.UnixArea.de/
People who hate Microsoft Windows use Linux but people who love UNIX use 
FreeBSD.
___
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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 11:17:13 -0400
Glen Barber glen.j.bar...@gmail.com wrote:

 On Fri, Apr 24, 2009 at 11:14 AM, Ghirai ghi...@ghirai.com wrote:
 
  Ok i just changed 'who' column to root and it works.
  Why won't it work as any other user?
  Permissions for myscript.py are 555.
 
 
 Who owns the file?
 

root:wheel

-- 
Regards,
Ghirai.
___
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: Modern FreeBSD Installer?

2009-04-24 Thread Martin McCormick
Wojciech Puchar writes:
 as you can do everything easily in text mode, it just points out that GUI
 installer is nonsense.

The real problem happens when the GUI is considered to
be all anybody needs. 

A certain wide-spread OS has gone that way and many
times, one discovers that this or that application has no
keyboard substitute for a given mouse action. One can be running
one of the several rather expensive commercial solutions that
allow those who are blind to use the OS, but in the case of
applications, each one is its own world. If the developer failed
to build in a keyboard equivalent for a given mouse action, it
is game over. There is no Plan B.

Three guesses as to the name of that OS and the first 2
don't count.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD and Intel PRO/Wireless 2200BG

2009-04-24 Thread Fernando Apesteguía
On Fri, Apr 24, 2009 at 5:10 PM, Daniel Underwood djuatde...@gmail.com wrote:
 They should be, yes. I would try loading the modules (kldload) just to
 be sure. If loading the modules doesn't fix things, then it's safe to
 assume they were compiled in kernel. (But then again, I'm certainly
 not an expert in this area.)

I can't load the modules because they don't exist as modules. However,
the wireless card is detected, so the driver should be in-kernel (in
opposition to loading the GENERIC kernel which lacks the iwi driver
and my NIC is not shown by ifconfig).

The debug.iwi=1 doesn't help much. It just says it can't load the
firmware, but it doesn't give any clues about the reason.

Any ideas?

PS: jut out of curiosity, where is the firmware in the filesystem? Is
it also compiled in-kernel?

Thanks in advance.


 On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apesteguía
 fernando.apesteg...@gmail.com wrote:
 On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood djuatde...@gmail.com 
 wrote:
 Also, when you enter kldstat, do you see these?

 iwi_bss.ko
 iwi_ibss.ko
 iwi_monitor.ko
 if_iwi.ko

 No. Shouldn't they be in-kerne?

 I compiled my own kernel with the settings I posted in my previous
 mail, including device firmware, iwi, wlan, etc.

 Cheers

 On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apesteguía
 fernando.apesteg...@gmail.com wrote:
 2009/4/23 Daniel Underwood djuatde...@gmail.com:
 [SOLVED]

 Thanks for the help, folks. It works fine now.

 I wasn't that lucky :)

 I'm using FreeBSD 7.1-RELEASE-p4 #12
 This is my loader.conf configuration:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES

 And in my kernel config I have:

 device          pci

 device          wlan            # 802.11 support
 device          wlan_wep        # 802.11 WEP support
 device          wlan_ccmp       # 802.11 CCMP support
 device          wlan_tkip       # 802.11 TKIP support
 device          wlan_amrr       # AMRR transmit rate control algorithm
 device          wlan_scan_ap    # 802.11 AP mode scanning
 device          wlan_scan_sta   # 802.11 STA mode scanning

 device          iwi             # For Intel Pro Wireless 2200bg

 device          firmware        # firmware assist module

 This is the output of ifconfig:

 iwi0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
        ether 00:0e:35:fd:aa:0f
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid  channel 1 (2412 Mhz 11b)
        authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan
        bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11b 1 
 bintval 0

 After seting debug.iwi=1 this is what I get when I try to bring the
 interface up:

 $ ifconfig iwi0 up

 iwi_newstate: INIT - INIT flags 0x0
 enter FW state 1
 firmware_get: failed to load firmware image iwi_bss
 iwi0: could not load firmware
 exit FW state 1
 iwi_newstate: INIT - INIT flags 0x0

 Any ideas?

 Thanks in advance.


 2009/4/22 Daniel Underwood djuatde...@gmail.com:
 Thanks Patrick.  After updating my /boot/loader.conf, it now contains:

 legal.intel_iwi.license_ack=1
 iwi_bss_load=YES
 iwi_ibss_load=YES
 iwi_monitor_load=YES
 wlan_scan_ap_load=YES
 wlan_scan_sta_load=YES
 wlan_wep_load=YES
 wlan_tkip_load=YES
 wlan_ccmp_load=YES

 I no longer receive the error message about failing to load the
 firmware. However, when I enter ifconfig iwi0 up scan, I receive the
 following in the xconsole:

 iwi0: firmware stuck in state4, resetting

 Any idea what that means, or what state4 is?  (Sorry, I'm very new to 
 FreeBSD.)

 Thanks,
 Daniel

 2009/4/22 Patrick Lamaizière patf...@davenulle.org:
 Le Wed, 22 Apr 2009 17:04:41 -0400,
 Daniel Underwood djuatde...@gmail.com:

 After re-reading man iwi, I noticed that it says:

 This driver requires firmware to be loaded before it will work. You
 need to obtain iwicontrol(8)  from the IWI web page listed below to
 accomplish loading the firmware before ifconfig(8)  will work.

 I'm going to look into this. Sounds like this may be the problem. Do
 you think so?

 No, before FreeBSD 7 you needed to download the firmware.
 There is a port in /usr/ports/net/iwi-firmware but it is only for
 FreeBSD  7

 You don't need anything on FreeBSD 7.x and you it seems you are not
 using the right manual page for 7.1:
 http://www.freebsd.org/cgi/man.cgi?query=iwimanpath=FreeBSD+7.1-RELEASEformat=html

 Regards.


 ___
 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: /etc/crontab won't run my script

2009-04-24 Thread Martin McCormick
Usually, when cron tries to run something unsuccessfully, an
error message goes to root. You might look at root's mail to see
if there are any complaints regarding this script. They could be
anything from path-related troubles to permissions, etc.

The mail may also be going to the user defined in the
/etc/crontab table who field so you might find something there.
There should be some tracks unless you have piped the output to
/dev/null 21 which will send both standard output and standard
error to the great bit bucket in the sky.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: /etc/crontab won't run my script

2009-04-24 Thread Jerry McAllister
On Fri, Apr 24, 2009 at 06:14:26PM +0300, Ghirai wrote:

 On Fri, 24 Apr 2009 18:08:13 +0300
 Ghirai ghi...@ghirai.com wrote:
 
  Hi,
  
  I'm trying to get a python script to run from /etc/crontab, but it
  won't work.
  
  I've read about the most common issues being related to paths, but my
  script uses no paths at all.
  
  This is my /etc/crontab line:
  
  */5 *   *   *   *
  munin   /usr/local/bin/python /root/myscript.py
   /var/log/myscript.log
  
  I used munin user because i already have it (can i run it under
  'nobody'?).
  
  This is what /var/log/cron says:
  
  Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
  (/usr/local/bin/python /root/myscript.py
   /var/log/myscript.log)
  
  
  However the script doesn't seem to run at all.
  
  Obviously it works if i run it stand-alone, as any user.
  I'm running 7.1-RELEASE-p4, i386.
  
  What am i doing wrong?
  
  Thanks.
  
 
 Ok i just changed 'who' column to root and it works.
 Why won't it work as any other user?
 Permissions for myscript.py are 555.

Isn't /etc/crontab the root cron and should not be used by users?

To set up a crontab for a user, do: crontab -e
while logged in as that user.   You can also do it from root
by using the   -u user_name   option in the command, eg.  if
the user is joe crontab -u joe -e

You should never edit the tab files directly.

You may also have to set up  /var/cron/allow  and  /var/cron/deny  files.

In addition, the ownership and permissions on the files/scripts
you are trying to run from cron must be correct.

jerry


jerry

 
 -- 
 Regards,
 Ghirai.
 ___
 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: /etc/crontab won't run my script

2009-04-24 Thread Ghirai
On Fri, 24 Apr 2009 11:39:21 -0400
Jerry McAllister jerr...@msu.edu wrote:

 On Fri, Apr 24, 2009 at 06:14:26PM +0300, Ghirai wrote:
 
  On Fri, 24 Apr 2009 18:08:13 +0300
  Ghirai ghi...@ghirai.com wrote:
  
   Hi,
   
   I'm trying to get a python script to run from /etc/crontab, but it
   won't work.
   
   I've read about the most common issues being related to paths,
   but my script uses no paths at all.
   
   This is my /etc/crontab line:
   
   */5 *   *   *   *
   munin   /usr/local/bin/python /root/myscript.py
/var/log/myscript.log
   
   I used munin user because i already have it (can i run it under
   'nobody'?).
   
   This is what /var/log/cron says:
   
   Apr 24 18:00:01 triton /usr/sbin/cron[4361]: (munin) CMD
   (/usr/local/bin/python /root/myscript.py
/var/log/myscript.log)
   
   
   However the script doesn't seem to run at all.
   
   Obviously it works if i run it stand-alone, as any user.
   I'm running 7.1-RELEASE-p4, i386.
   
   What am i doing wrong?
   
   Thanks.
   
  
  Ok i just changed 'who' column to root and it works.
  Why won't it work as any other user?
  Permissions for myscript.py are 555.
 
 Isn't /etc/crontab the root cron and should not be used by users?
 
 To set up a crontab for a user, do: crontab -e
 while logged in as that user.   You can also do it from root
 by using the   -u user_name   option in the command, eg.  if
 the user is joe crontab -u joe -e
 
 You should never edit the tab files directly.
 
 You may also have to set up  /var/cron/allow  and  /var/cron/deny
 files.
 
 In addition, the ownership and permissions on the files/scripts
 you are trying to run from cron must be correct.
 
 jerry

Alright, i added the cron for 'nobody' as above, and it seems to work.

Thanks everyone.

-- 
Regards,
Ghirai.
___
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: X-Org problem

2009-04-24 Thread Ott Köstner

Neal Hogan wrote:

On Fri, Apr 24, 2009 at 7:33 AM, Ott Köstner o...@zzz.ee wrote:
  

Dear list,

After upgrading Xorg from ports to the latest version
xorg-server-1.6.0,1
xorg-7.4_1

I am experiencing very unpleasant phenomenon, Xorg randomly exiting with 
message:

Apr 24 15:16:16 ott kernel: pid 7445 (Xorg), uid 0: exited on signal 6
Apr 24 15:16:16 ott kdm-bin[1020]: X server for display :0 terminated 
unexpectedly

Also, there is a strange behavior with dual-head mode -- when moving cursor 
from one screen to another, the little white arrow remains on the other screen.

Please help! What might it be? Recompiled probably everything related to Xorg. 
Using Nvidia driver version
nvidia-driver-96.43.11



I'm no expert, but to help those that are, I suggest that you post the
contents of your /etc/X11/Xorg.0.log (perhaps a dmesg, too).

  
After the crash Xorg is instantly restarted. Probably there is no reason 
to copy the whole log here. Everything looks normal for some time and 
then it restarts just at a random moment. No reason to blame hardware. 
It was stable before pre-previous Xorg server update (over 100 days uptime).


Ill-effects started after I upgraded to xorg-server-1.5.3. Mouse buttons 
started to freeze randomly. That is why I chose to upgrade to 
xorg-server-1.6.0.

Xorg.0.log.old ends like this:
...
(II) LoadModule: mouse
(II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor=X.Org Foundation
   compiled for 1.6.0, module version = 1.4.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 4.0
(**) PS/2 Mouse: Device: /dev/sysmouse
(==) PS/2 Mouse: Protocol: Auto
(**) PS/2 Mouse: always reports core events
(**) Option Device /dev/sysmouse
(==) PS/2 Mouse: Emulate3Buttons, Emulate3Timeout: 50
(**) PS/2 Mouse: ZAxisMapping: buttons 4 and 5
(**) PS/2 Mouse: Buttons: 9
(**) PS/2 Mouse: Sensitivity: 1
(II) XINPUT: Adding extended input device PS/2 Mouse (type: MOUSE)
(**) PS/2 Mouse: (accel) keeping acceleration scheme 1
(**) PS/2 Mouse: (accel) filter chain progression: 2.00
(**) PS/2 Mouse: (accel) filter stage 0: 20.00 ms
(**) PS/2 Mouse: (accel) set acceleration profile 0
(II) PS/2 Mouse: SetupAuto: hw.iftype is 4, hw.model is 0
(II) PS/2 Mouse: SetupAuto: protocol is SysMouse

Fatal server error:
Caught signal 11.  Server aborting


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at /var/log/Xorg.0.log for additional 
information.


(II) UnloadModule: kbd
(II) UnloadModule: mouse
(II) Screen 0 shares mem  io resources
(II) Screen 1 shares mem  io resources

--

# dmesg | tail -n 15
pid 6766 (PBReg), uid 1001: exited on signal 10
pid 6787 (NetworkTray), uid 1001: exited on signal 11
pid 6796 (NetworkTray), uid 1001: exited on signal 11
pid 6478 (Xorg), uid 0: exited on signal 6
pid 7710 (PBReg), uid 1001: exited on signal 10
pid 7727 (NetworkTray), uid 1001: exited on signal 11
pid 7730 (NetworkTray), uid 1001: exited on signal 11
pid 7445 (Xorg), uid 0: exited on signal 6
pid 8095 (PBReg), uid 1001: exited on signal 10
pid 8112 (NetworkTray), uid 1001: exited on signal 11
pid 8115 (NetworkTray), uid 1001: exited on signal 11
pid 7797 (Xorg), uid 0: exited on signal 6
pid 47182 (PBReg), uid 1001: exited on signal 10
pid 47199 (NetworkTray), uid 1001: exited on signal 11
pid 47200 (NetworkTray), uid 1001: exited on signal 11



  

With best regards,
Ott Köstner






___
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: Win4BSD -- any comments or experiences?

2009-04-24 Thread Andrew Gould
On Fri, Apr 24, 2009 at 10:18 AM, Matthias Apitz g...@unixarea.de wrote:


 Hello,

 Subscribed in a FreeBSD mailing list in Spanish, I've got a pointer to
 this software:

 http://win4bsd.com/wp/win4bsd-free-for-non-commercial-use/

 Any comments about or test results in compare with Qemu?
 Thx

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


I played with win4bsd for awhile.  It works well for normal desktop usage.
Unfortunately, virtual os setups do not handle complex data analysis of
extremely large data sets well.  I think it has to do with memory
usage/management.  Otherwise, I liked win4bsd a lot.

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


Re: freebsd vs. pc-bsd

2009-04-24 Thread Ricardo Jesus

Michael Jr. wrote:

Hi,

I was just wondering what are the major differences between freebsd and 
pc-bsd and is it harder or just as easy to setup freebsd as a desktop 
compared to pc-bsd? Will freebsd work with sager laptops, and will 
freebsd recognize 4 gigs of ddr3 memory and if it does not regularly, 
how can I get freebsd to recognize 4 gigs of ddr3 memory? Will freebsd 
be able to recognize the latest technologies, like
intel core 2 duo and the new Nvidia GTX260m, and hard drives at any 
speed like 7200 rpm? I don't know any kind of code so is there any books 
or any kind of resources that you recommend I look at?
Sorry I have so many questions but I just ordered a new sager laptop and 
I do not really want to have to use windows vista if I don't have to, 
and I think it would be fun to learn how to use freebsd.



Thank you,
Michael Haid
___
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


There's tons of documentation at FreeBSD's site, namely 
http://www.freebsd.org/docs.html.


If your willing to buy books concerning FreeBSD I'd suggest Absolute 
FreeBSD 2nd edition (if you have use Unix like systems) or FreeBSD 
Unleashed 6 (though it was published at the of FreeBSD 6 it is still 
very applicable and provides introduction to Unix like systems).


Regarding your hardware questions FreeBSD support more that 4GB in both 
i386 and amd64 (for i386 PAE kernel needs to be used to access 3GB). 
Nvidia drivers exist for i386. FreeBSD supports multi cores and multi 
cpus. And regarding hard drives, my 3 1TB 7200 RPM SATA drives aren't 
complaining ;)


Hardware support for FreeBSD 7.1 can be found at 
http://www.freebsd.org/releases/7.1R/hardware.html


Also, FreeBSD has a friendly forum at http://forums.freebsd.org/index.php.

Regards,
Ricardo Jesus.


___
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


NFS slow

2009-04-24 Thread Jan Catrysse
Hello all,

 

I am having some problems with NFS and slow performance.

 

This is the scenario:

2x FreeBSD 7.1. (Raid storage server, MP, the works)

GB Lan interface between them.

 

When I transfer 1 big file the speed is never higher than 10MB/s with a peak
to 14MB/s.

When I transfer multiple files at the same time speed is about 10MB/s per
thread.

 

Disk speed  100MB/s

Network speed using samba  60MB/s (limited by clients disk speed)

 

Tried enabling NFSlockd, NFSstatd but that changes nothing.

 

Any help or hunch would be greatly appreciated.

 

Jan

___
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: Firefox3 and dependencies on firefox2,libxul,xulrunner

2009-04-24 Thread Joe Marcus Clarke
On Thu, 2009-04-23 at 21:01 +0300, l...@lena.kiev.ua wrote:
 Hi,
 
 I uninstalled firefox 2, installed firefox 3 and use it. Later,
 portupgrade of librsvg2 began to build firefox 2 (I aborted it with ^C).
 Then I specified
 
 graphics/librsvg2 = WITH_GECKO=xulrunner,
 
 in MAKE_ARGS in /usr/local/etc/pkgtools.conf . Now I'm trying to portupgrade
 mplayer-plugin, it also tried to build firefox 2. I tried
 
 www/mplayer-plugin = WITH_GECKO=xulrunner,
 
 but that gave an error message (xulrunner isn't an option). So, I tried
 
 www/mplayer-plugin = WITH_GECKO=libxul,
 
 then:
 
  ===  libxul-1.9.0.7_3 conflicts with installed package(s):
xulrunner-1.8.0.4_15
 
They install files into the same place.
Please remove them first with pkg_delete(1).
 
 What to do - to allow firefox2 to be installed along with firefox3?
 Will they conflict?

You can set the following in /etc/make.conf:

WITH_GECKO=libxul

Most ports have been taught to use libxul for Gecko.  However, firefox2
and firefox3 do not conflict.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc


signature.asc
Description: This is a digitally signed message part


Re: NFS slow

2009-04-24 Thread Ivan Voras
Jan Catrysse wrote:
 Hello all,
 
 I am having some problems with NFS and slow performance.
 This is the scenario:
 
 2x FreeBSD 7.1. (Raid storage server, MP, the works)
 
 GB Lan interface between them.
 
 When I transfer 1 big file the speed is never higher than 10MB/s with a peak
 to 14MB/s.
 
 When I transfer multiple files at the same time speed is about 10MB/s per
 thread.
 Disk speed  100MB/s
 
 Network speed using samba  60MB/s (limited by clients disk speed)
 
 Tried enabling NFSlockd, NFSstatd but that changes nothing.
 
 Any help or hunch would be greatly appreciated.

Here are some ideas for testing:

* Any firewall in between them? Do you have network errors?
* Any other network problems, like DNS lookup failures? (not that it
should matter for sustained tranfers but still...)
* Are you using TCP or UDP for NFS? TCP should be better in all cases.
* Have you monitored the system with top? Try hitting S and H in
top while transfering files, see if anything looks suspicious.
* Run iostat 1, check tps and KB/t.
* What file system are you using?



signature.asc
Description: OpenPGP digital signature


Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Peter Steele
We had a somewhat startling scenario occur with gmirror. We have systems with 
four drives ad4, ad6, ad8, and ad10, with the OS setup on a mirrored slice 
across all four drives. The ad4 drive failed at one point, due to a simple bad 
connection in its drive bay. While it was offline, the system was continued to 
be used for a while and new data was added to the mirrored file system. 

We eventually took the box down to deal with ad4, and tried simply pulling and 
reinserting the drive. On reboot we saw that the BIOS detected the drive, so 
that was good. However, when FreeBSD got to the point of starting up the GEOM 
driver, instead of reinserting ad4 into the more current mirror consisting of 
ad6/ad8/ad10 and resyncing it with that data, the GEOM driver assumed ad4 was 
the good mirror and ended up resyncing ad6/ad8/ad10 with the data from ad4, 
causing the new files we had added to those drives to be lost. 

This only happens with ad4. If ad6 for example goes offline in the same way, 
when it is reinserted it does not become the dominant drive and resync its data 
with the other drives. Rather its data is overwritten with the data from the 3 
member mirror, as you'd expect. 

So, clearly ad4, the first disk, is treated specially. The question is this a 
bug or a feature? Is there anyway to prevent this behavior? This would be a 
disastrous thing to happen in the field on one of our customer systems. 

___
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: mail server/webmail

2009-04-24 Thread Liontaur
On Fri, Apr 24, 2009 at 1:44 AM, Polytropon free...@edvax.de wrote:

 On Thu, 23 Apr 2009 13:53:28 -0700, Liontaur liont...@gmail.com wrote:
  fetchmail, gotcha. I'll look into that.

 I'm using it myself and I'm still happy with it. The advantage is
 that you can use it for more than just one POP account.


In this case that's not really needed, yet. But room for expansion in the
future is always nice too.



  The Outlook Express deal is not for me, that's for another person who
 needs
  access to this email account and they happen to be very computer
 illiterate
  and being as they're used to OE, i'm not going to bother trying to teach
  them something new. As for me, I plan on just using webmail to access
 this
  email account.

 Then I'd suggest to install Mozilla Thunderbird and give it the
 Outlook Express icon. They won't notice any difference. But
 recipients of mails will - no double HTML garbage. :-)

 Webmail is not that bad (because important stuff is done in the
 background - the backend), but I prefer a real mail program.
 That's easy when you're at home or at work where you can
 access these resources, but webmail is very handy when you're
 at another place and still want to to your email stuff. Your
 idea of combining both (read: IMAP) is quite good.

 Well, i'm not exactly taken with the idea of changing out the mail client
just for the sake of it. We don't display or send emails in html anyways
since that's not such a good idea with OE.

As for webmail... I never even thought about just using an email client on
my laptop to access the server but that strikes me as a better idea too. No
matter what I use i'd be tunneling it over SSH anyways so a mail client
would probably have more functionality or at least i'd be more familiar with
the functionality as opposed to webmail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd vs. pc-bsd

2009-04-24 Thread Andrew Gould
On Fri, Apr 24, 2009 at 11:39 AM, Ricardo Jesus ricardo.meb.je...@gmail.com
 wrote:

 Michael Jr. wrote:

 Hi,

 I was just wondering what are the major differences between freebsd and
 pc-bsd and is it harder or just as easy to setup freebsd as a desktop
 compared to pc-bsd? Will freebsd work with sager laptops, and will freebsd
 recognize 4 gigs of ddr3 memory and if it does not regularly, how can I get
 freebsd to recognize 4 gigs of ddr3 memory? Will freebsd be able to
 recognize the latest technologies, like
 intel core 2 duo and the new Nvidia GTX260m, and hard drives at any speed
 like 7200 rpm? I don't know any kind of code so is there any books or any
 kind of resources that you recommend I look at?
 Sorry I have so many questions but I just ordered a new sager laptop and I
 do not really want to have to use windows vista if I don't have to, and I
 think it would be fun to learn how to use freebsd.


 Thank you,
 Michael Haid


If you want a desktop with KDE, flash, JRE and printing with HP printers,
PC-BSD is a great choice.  Many of my preferred applications are non-KDE
apps, so it's less of a great choice for me.  Both PC-BSD and FreeBSD work
well on my Dell Inspiron 8100 (circa 2000); so you know they don't hog a lot
of resources.

I don't know about sager laptops.

I don't think any 32bit operating systems recognize 4GB of RAM. For 4GB of
RAM, you would be better with the 64bit version of FreeBSD.  (I could be
wrong.)

Try a live CD in your laptop to determine whether the hardware is properly
recognized.

I hope this helps,

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


su'ing not sourcing .bash_profile

2009-04-24 Thread Daniel Underwood
When I am logged in as a non-root user and I try to become root by
entering su and typing the root password, the resulting bash prompt
does not reflect the contents of /root/.bash_profile

My /root/.bash_profile contains (among other things):

export PS1=[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ 

The point is to make the username (root) display in BOLD and RED
text.  After su'ing, the text is not bold nor red.  If I then enter
source ~/.bash_profile, however, the prompt displays correctly,
showing root in bold and red text.

How come su'ing doesn't seem to effect everything in the
/root/.bash_profile file?

Thanks,
Daniel
___
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: su'ing not sourcing .bash_profile

2009-04-24 Thread Adam Vandemore

Daniel Underwood wrote:

When I am logged in as a non-root user and I try to become root by
entering su and typing the root password, the resulting bash prompt
does not reflect the contents of /root/.bash_profile

My /root/.bash_profile contains (among other things):

export PS1=[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ 

The point is to make the username (root) display in BOLD and RED
text.  After su'ing, the text is not bold nor red.  If I then enter
source ~/.bash_profile, however, the prompt displays correctly,
showing root in bold and red text.

How come su'ing doesn't seem to effect everything in the
/root/.bash_profile file?

Thanks,
Daniel
___
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

  

I think you may need to set that in ~/.bashrc

--
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610

___
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: su'ing not sourcing .bash_profile

2009-04-24 Thread Daniel Underwood
You're right. Works now. Many thanks!

On Fri, Apr 24, 2009 at 3:51 PM, Adam Vandemore amvandem...@gmail.com wrote:
 Daniel Underwood wrote:

 When I am logged in as a non-root user and I try to become root by
 entering su and typing the root password, the resulting bash prompt
 does not reflect the contents of /root/.bash_profile

 My /root/.bash_profile contains (among other things):

 export PS1=[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ 

 The point is to make the username (root) display in BOLD and RED
 text.  After su'ing, the text is not bold nor red.  If I then enter
 source ~/.bash_profile, however, the prompt displays correctly,
 showing root in bold and red text.

 How come su'ing doesn't seem to effect everything in the
 /root/.bash_profile file?

 Thanks,
 Daniel
 ___
 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



 I think you may need to set that in ~/.bashrc

 --
 Adam Vandemore
 Systems Administrator
 IMED Mobility
 (605) 498-1610

 ___
 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: su'ing not sourcing .bash_profile

2009-04-24 Thread Jon Radel

Daniel Underwood wrote:

When I am logged in as a non-root user and I try to become root by
entering su and typing the root password, the resulting bash prompt
does not reflect the contents of /root/.bash_profile

My /root/.bash_profile contains (among other things):

export PS1=[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ 

The point is to make the username (root) display in BOLD and RED
text.  After su'ing, the text is not bold nor red.  If I then enter
source ~/.bash_profile, however, the prompt displays correctly,
showing root in bold and red text.

How come su'ing doesn't seem to effect everything in the
/root/.bash_profile file?

Thanks,
Daniel


Read the man page on the distinction between

su

and

su -

the latter probably being what you want to use.

--

--Jon Radel
j...@radel.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Ivan Voras
Peter Steele wrote:
 We had a somewhat startling scenario occur with gmirror. We have systems with 
 four drives ad4, ad6, ad8, and ad10, with the OS setup on a mirrored slice 
 across all four drives. The ad4 drive failed at one point, due to a simple 
 bad connection in its drive bay. While it was offline, the system was 
 continued to be used for a while and new data was added to the mirrored file 
 system. 
 
 We eventually took the box down to deal with ad4, and tried simply pulling 
 and reinserting the drive. On reboot we saw that the BIOS detected the drive, 
 so that was good. However, when FreeBSD got to the point of starting up the 
 GEOM driver, instead of reinserting ad4 into the more current mirror 
 consisting of ad6/ad8/ad10 and resyncing it with that data, the GEOM driver 
 assumed ad4 was the good mirror and ended up resyncing ad6/ad8/ad10 with 
 the data from ad4, causing the new files we had added to those drives to be 
 lost. 
 
 This only happens with ad4. If ad6 for example goes offline in the same way, 
 when it is reinserted it does not become the dominant drive and resync its 
 data with the other drives. Rather its data is overwritten with the data from 
 the 3 member mirror, as you'd expect. 
 
 So, clearly ad4, the first disk, is treated specially. The question is this a 
 bug or a feature? Is there anyway to prevent this behavior? This would be a 
 disastrous thing to happen in the field on one of our customer systems. 

This definitely looks like a bug. Try asking again on the freebsd-geom@
list. Provide output of gmirror list.

From what you said it looks like you did the procedure safely - you
turned off the server, then pulled the drive and reinserted it, then
turned it on again, right?




signature.asc
Description: OpenPGP digital signature


Re: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Ivan Voras
Ivan Voras wrote:
 Peter Steele wrote:
 We had a somewhat startling scenario occur with gmirror. We have systems 
 with four drives ad4, ad6, ad8, and ad10, with the OS setup on a mirrored 
 slice across all four drives. The ad4 drive failed at one point, due to a 
 simple bad connection in its drive bay. While it was offline, the system was 
 continued to be used for a while and new data was added to the mirrored file 
 system. 

 We eventually took the box down to deal with ad4, and tried simply pulling 
 and reinserting the drive. On reboot we saw that the BIOS detected the 
 drive, so that was good. However, when FreeBSD got to the point of starting 
 up the GEOM driver, instead of reinserting ad4 into the more current mirror 
 consisting of ad6/ad8/ad10 and resyncing it with that data, the GEOM driver 
 assumed ad4 was the good mirror and ended up resyncing ad6/ad8/ad10 with 
 the data from ad4, causing the new files we had added to those drives to be 
 lost. 

 This only happens with ad4. If ad6 for example goes offline in the same way, 
 when it is reinserted it does not become the dominant drive and resync its 
 data with the other drives. Rather its data is overwritten with the data 
 from the 3 member mirror, as you'd expect. 

 So, clearly ad4, the first disk, is treated specially. The question is this 
 a bug or a feature? Is there anyway to prevent this behavior? This would be 
 a disastrous thing to happen in the field on one of our customer systems. 
 
 This definitely looks like a bug. Try asking again on the freebsd-geom@
 list. Provide output of gmirror list.
 
 From what you said it looks like you did the procedure safely - you
 turned off the server, then pulled the drive and reinserted it, then
 turned it on again, right?

Sorry, that was a useless response - what I said should be a no-op.

So, your steps were:

1. ad4, ad6, ad8 and ad10 in a 4-way mirror
2. ad4 fails. At this point did you do a gmirror list? I.e. did
gmirror detect it failing? If I read it correctly, the GenID field
should have been increased in this case.
3. The system continues to be used
4. You power it down, take out and reinsert ad4
5. On boot, ad4 is detected, inserted in the mirror but as a known
good copy, not a stale one.

Correct?

What version of FreeBSD are you using?




signature.asc
Description: OpenPGP digital signature


Re: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Gary Kline
On Fri, Apr 24, 2009 at 10:48:52AM +0200, Polytropon wrote:
 On Thu, 23 Apr 2009 14:36:25 -0700, Gary Kline kl...@thought.org wrote:
  tHat said: how can I experiment with translating my html into 
  slideshow format?  If this is a case of RTFM, where is the FM
  page website that will get me going.?
 
 For a real slideshow in terms of projected presentation,
 maybe you want to check the foiltex package (port: textproc/foiltex)
 and create a PDF file with it, using LaTeX. The advantage
 is that it can be easily turned into plain text if needed
 (e. g. for speech synthesis). Along with xpdf (also from
 the ports), you can do:


This ought to help if I ever find a free speech synthesizer.
I found one yesterday that must be a real human voice;
unfortunately, commercial.
 
   % xpdf -fullscreen presentation
 
 If you want the slides HTML based, an option would be to
 create a script that reads the big HTML source and splits
 it into small slides with less text, according to a template.
 But I think it's still neccessary to put hands on it to get
 things like document structure right.
 

You're right, and thanks to you, Uli, and Andrew noted.  Looks like
the slideshow/ppt/impress method won't be the way to go.  I've
checked out the PresentationZen site and have a better idea how
this kind of presentation works.  

I need some other means of reaching folks.

gary



 
 -- 
 Polytropon
 From Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
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: su'ing not sourcing .bash_profile

2009-04-24 Thread Peter Cornelius
Hi,

  When I am logged in as a non-root user and I try to become root by
  entering su and typing the root password, the resulting bash prompt
  does not reflect the contents of /root/.bash_profile

 Because .bash_profile is only seen on login, not on 'su'.  Put
 it in .bashrc which is read when the shell is invoked.

su -

maybe? If you can live with ending up in ~root/, of course ;-)

Rgds.,

Peter.
-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01
___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Wojciech Puchar

This only happens with ad4. If ad6 for example goes offline in the same way, 
when it is reinserted it does not become the dominant drive and resync its data 
with the other drives. Rather its data is overwritten with the data from the 3 
member mirror, as you'd expect.
looks like very strange bug. many times i got drives disconnected and 
always gmirror resynced

___
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: su'ing not sourcing .bash_profile

2009-04-24 Thread Patrick Mahan

Because .bash_profile is only seen on login, not on 'su'.  Put
it in .bashrc which is read when the shell is invoked.

See 'man bash'

Patrick

Daniel Underwood presented these words - circa 4/24/09 12:43 PM-

When I am logged in as a non-root user and I try to become root by
entering su and typing the root password, the resulting bash prompt
does not reflect the contents of /root/.bash_profile

My /root/.bash_profile contains (among other things):

export PS1=[\e[1;31m\]$(tput bold)\u$(tput sgr0)\[\e[0...@\h \w]\$ 

The point is to make the username (root) display in BOLD and RED
text.  After su'ing, the text is not bold nor red.  If I then enter
source ~/.bash_profile, however, the prompt displays correctly,
showing root in bold and red text.

How come su'ing doesn't seem to effect everything in the
/root/.bash_profile file?

Thanks,
Daniel
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread John Nielsen
On Friday 24 April 2009, Gary Kline wrote:
   This ought to help if I ever find a free speech synthesizer.
   I found one yesterday that must be a real human voice;
   unfortunately, commercial.

audio/festival in the ports is decent and has a few voices to choose from.

JN
___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Peter Steele
 This definitely looks like a bug. Try asking again on the freebsd-geom@ 
 list. Provide output of gmirror list. 

I'll try that list... 

So, your steps were: 

1. ad4, ad6, ad8 and ad10 in a 4-way mirror 
2. ad4 fails. At this point did you do a gmirror list? I.e. did 
gmirror detect it failing? If I read it correctly, the GenID field 
should have been increased in this case. 
3. The system continues to be used 
4. You power it down, take out and reinsert ad4 
5. On boot, ad4 is detected, inserted in the mirror but as a known 
good copy, not a stale one. 
 
Correct? 

Yes, that's basically the sequence that occurred. I can easily recreate the 
condition though. I shut my box down, took out ad4 and then rebooted. The 
system complained about ad4 being missing and proceeded with a mirror using 3/4 
of the drives. I then created a file on the system, shutdown again, and then 
reinserted ad4. On reboot as the system was starting up the gmirror driver, it 
detected ad4 but instead of reinserting in in the most recent mirror made up of 
the other drives, it became the active drive and kicked out its old partners, 
When the old drives were reinserted manually into that mirror they were of 
course synced with the data from ad4, destroying their more recent data. 

This does not happen if I do the same thing with a drive other than ad4. 

What version of FreeBSD are you using? 

7.0-p10 or so. 

___
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: Win4BSD -- any comments or experiences?

2009-04-24 Thread Juergen Lock
In article d356c5630904240925y25a2ec11m429e57001880c...@mail.gmail.com you 
write:
On Fri, Apr 24, 2009 at 10:18 AM, Matthias Apitz g...@unixarea.de wrote:


 Hello,

 Subscribed in a FreeBSD mailing list in Spanish, I've got a pointer to
 this software:

 http://win4bsd.com/wp/win4bsd-free-for-non-commercial-use/

 Any comments about or test results in compare with Qemu?
 Thx

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


I played with win4bsd for awhile.  It works well for normal desktop usage.
Unfortunately, virtual os setups do not handle complex data analysis of
extremely large data sets well.  I think it has to do with memory
usage/management.  Otherwise, I liked win4bsd a lot.

Well I haven't actually tried win4bsd, only researched about it one the
web a little once and noticed it seems to be based on an old version
of qemu (it still uses kqemu 1.3.* not 1.4.* like current qemu - which
btw is the only reason I haven't removed the old kqemu from ports and
renamed the new one, i.e. emulators/kqemu-kmod still is the old one.)

 Now does that mean current qemu is better/more stable than win4bsd if
all you want is emulate something like xp?  I don't know...  (Maybe the
win4bsd folks have incorporated other fixes that aren't in qemu yet?
At least they certainly seem to have added features...)

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


Re: 7.0-STABLE qemu not terminating

2009-04-24 Thread Juergen Lock
On Fri, Apr 24, 2009 at 02:17:51PM +0200, Matthias Apitz wrote:
 El día Thursday, April 23, 2009 a las 10:22:52PM +0200, Juergen Lock escribió:
 
   a new effect is that the qemu proc ends on termination of guest OS; the
   flag -no-shutdown does not help;
  
   Oh, yeah, same here.  I've just reported this on the qemu list, and btw
  kvm seems to be affected too:
  https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/362550/+viewstatus
 
 another issue is, when I'm using:
 
-kernel-kqemu
Enable KQEMU full virtualization (default is user mode only).
 
 the guest system (XP SP3) crashes short after coming up; without
 -kernel-kqemu I'm not sure if Qemu does make use of the kqemu.ko, it is
 so slow, esp. on disk i/o; I have loaded kqemu.ko on boot and if Qemu is
 up I can't kldunload it; but I really don't know if it makes use of it;

Actually it does, just not for guest kernel code, only userland.
(If you want to turn off kqemu completely use -no-kqemu, then it'll
run even slower. :)

 Anyway I've got one report that reinstalling an xp guest (it was
originally installed using an older qemu version) fixed -kernel-kqemu
instabilites at least for one guy (it worked for him with the old qemu)
- it is still true however that kqemu, especially with -kernel-kqemu,
is far from perfect, i.e. it doesn't really work for all types of guests,
and the fact that the linux folks have pretty much deprecated kqemu
in favour of kvm doesn't really help its cause either...  (And yes we
really could use a finished kvm port for the people that do have a
recent cpu with the necessary features, at least on linux kvm is also
much faster than -kernel-kqemu, and it works for more guests.)

 HTH,
Juergen
___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Peter Steele
 This only happens with ad4. If ad6 for example goes offline in the same way, 
 when it is reinserted 
 it does not become the dominant drive and resync its data with the other 
 drives. Rather its data 
 is overwritten with the data from the 3 member mirror, as you'd expect. 
 looks like very strange bug. many times i got drives disconnected and 
 always gmirror resynced 

If I just pull ad4 and then reinsert it without doing a reboot, everything 
works fine. The problem occurs when ad4 is pulled and then reinserted after the 
system is shutdown. When the system comes up, it doesn't get added back to the 
existing mirror but rather becomes the principal member of the mirror, using 
its old data. Not good. 

___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Wojciech Puchar
i think it's a bug but only happens with such massive mirror. very few 
people do more than 2-way mirrors that's probably it wasn't catched.


please do report the bug - it's critical.

On Fri, 24 Apr 2009, Peter Steele wrote:


This only happens with ad4. If ad6 for example goes offline in the same way, 
when it is reinserted
it does not become the dominant drive and resync its data with the other 
drives. Rather its data
is overwritten with the data from the 3 member mirror, as you'd expect.
looks like very strange bug. many times i got drives disconnected and
always gmirror resynced


If I just pull ad4 and then reinsert it without doing a reboot, everything 
works fine. The problem occurs when ad4 is pulled and then reinserted after the 
system is shutdown. When the system comes up, it doesn't get added back to the 
existing mirror but rather becomes the principal member of the mirror, using 
its old data. Not good.

___
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: Win4BSD -- any comments or experiences?

2009-04-24 Thread Andrew Gould
On Fri, Apr 24, 2009 at 3:50 PM, Juergen Lock n...@jelal.kn-bremen.dewrote:

 In article d356c5630904240925y25a2ec11m429e57001880c...@mail.gmail.com
 you write:
 On Fri, Apr 24, 2009 at 10:18 AM, Matthias Apitz g...@unixarea.de
 wrote:
 
 
  Hello,
 
  Subscribed in a FreeBSD mailing list in Spanish, I've got a pointer to
  this software:
 
  http://win4bsd.com/wp/win4bsd-free-for-non-commercial-use/
 
  Any comments about or test results in compare with Qemu?
  Thx
 
 matthias
  --
  Matthias Apitz
  Manager Technical Support - OCLC GmbH
  Gruenwalder Weg 28g - 82041 Oberhaching - Germany
  t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
  e matthias.ap...@oclc.org - w http://www.oclc.org/
  http://www.UnixArea.de/
  People who hate Microsoft Windows use Linux but people who love UNIX use
  FreeBSD.
  ___
   freebsd-questions@freebsd.org
 
 
 I played with win4bsd for awhile.  It works well for normal desktop usage.
 Unfortunately, virtual os setups do not handle complex data analysis of
 extremely large data sets well.  I think it has to do with memory
 usage/management.  Otherwise, I liked win4bsd a lot.

 Well I haven't actually tried win4bsd, only researched about it one the
 web a little once and noticed it seems to be based on an old version
 of qemu (it still uses kqemu 1.3.* not 1.4.* like current qemu - which
 btw is the only reason I haven't removed the old kqemu from ports and
 renamed the new one, i.e. emulators/kqemu-kmod still is the old one.)

  Now does that mean current qemu is better/more stable than win4bsd if
 all you want is emulate something like xp?  I don't know...  (Maybe the
 win4bsd folks have incorporated other fixes that aren't in qemu yet?
 At least they certainly seem to have added features...)

  Cheers,
 Juergen


I used an early version of win4bsd.  It was a no-brainer to install!  The
win4bsd folks did very well in this regard.

Andrew
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Andrew Gould
On Fri, Apr 24, 2009 at 3:16 PM, Gary Kline kl...@thought.org wrote:

 On Fri, Apr 24, 2009 at 10:48:52AM +0200, Polytropon wrote:
  On Thu, 23 Apr 2009 14:36:25 -0700, Gary Kline kl...@thought.org
 wrote:
   tHat said: how can I experiment with translating my html into
   slideshow format?  If this is a case of RTFM, where is the FM
   page website that will get me going.?
 
  For a real slideshow in terms of projected presentation,
  maybe you want to check the foiltex package (port: textproc/foiltex)
  and create a PDF file with it, using LaTeX. The advantage
  is that it can be easily turned into plain text if needed
  (e. g. for speech synthesis). Along with xpdf (also from
  the ports), you can do:


 This ought to help if I ever find a free speech synthesizer.
I found one yesterday that must be a real human voice;
unfortunately, commercial.
 
% xpdf -fullscreen presentation
 
  If you want the slides HTML based, an option would be to
  create a script that reads the big HTML source and splits
  it into small slides with less text, according to a template.
  But I think it's still neccessary to put hands on it to get
  things like document structure right.
 

 You're right, and thanks to you, Uli, and Andrew noted.  Looks like
the slideshow/ppt/impress method won't be the way to go.  I've
checked out the PresentationZen site and have a better idea how
this kind of presentation works.

I need some other means of reaching folks.

gary

 
  --
  Polytropon
  From Magdeburg, Germany
  Happy FreeBSD user since 4.0
  Andra moi ennepe, Mousa, ...


I've never done video editing on FreeBSD; but on a Mac, you can create a
movie using slides and a sound file (wav, mp3, etc).  You would need an
application that could import images and sound, and let you sync the two by
assigning the order and duration of each slide.  It would then have to spit
out a movie file, of course.

Any video editing (on FreeBSD) knowledge out there?

Another option is a python script that uses vnc to create a shockwave flash
file from your actions on your desktop:
http://www.unixuser.org/~euske/vnc2swf/

The script is able to import a sound file that you record while you create
the demo.

Good luck,

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


pam_groupdn/pam_member_attribute does not with OpenLDAP/PAM and FreeBSD. Why?

2009-04-24 Thread O. Hartmann
On our FreeBSD 7.2/8.0 driven infrastructure we use OpenLDAP:

openldap-sasl-client-2.4.16 Open source LDAP client implementation with
SASL2 support
openldap-sasl-server-2.4.16 Open source LDAP server implementation
pam_ldap-1.8.4_1A pam module for authenticating with LDAP

From O'Reilly's OpenLDAP book and other sources I got the information,
that tha tags

pam_groupdn
pam_member_attribute

can be used in conjunction with 'uid' to restrict access to a specific
host to those which are member of the group specified by pam_groupdn, as
long as the group object supports
multi-value-attributes like memberUid.

Well, this is not working with FreeBSD any way!

Suppose I define in /usr/local/etc/ldap.conf

pam_groupdn cn=myGroup,ou=groups,dc=foo,dc=bar (objectClass: posixGroup)
pam_member_attribute memberUid

And within this group there is my memberUid:

memberUid: ohartmann

Now I try to login to the specific box and get the warning:


You must be a memberUid of cn=myGroup,ou=groups,dc=foo,dc=bar to login.

... and I can login, no tmatter whether I'm in the group or not.

What ist happening here? Why is the documentaion telling me this should
work and why isn't FreeBSD/PAM doing so?

I'm confused!

Any help appreciated.

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


CVS history access?

2009-04-24 Thread John Nielsen
I'm working on a machine learning project and I'd like to use the FreeBSD 
src CVS commit history as a datasource. Is there a resource-friendly way 
for me to download some or all of it? Format isn't too big an issue.

I tried a few cvs history commands against the anoncvs servers but get 
this:
cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: 
No such file or directory

I'm not too experienced with cvs so if I'm missing something let me know. 
The Mailman archives for freebsd-cvs are one option, but I was hoping for 
more of a direct approach if possible.

Thanks,

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


strange routing behaviour with openvpn

2009-04-24 Thread Neo [GC]

Hi,

I'm using openvpn to connect my vpn-gateway at home to an external 
server, both are FreeBSD-boxes (6.2-STABLE).
The external server has an fixed IP, the client at home connects to a 
router, which gets a new IP every 24 hours.
The client is configured as router (gateway_enable=YES) which works... 
at least sometimes.


After my router gets a new IP, the openvpn client reconnects to the 
server and the tunnel is usable from free...@home to free...@external.
But: I have one Vista and one OSX at home, both have static routes to 
the FreeBSD-box. They are able to use the tunnel, when the 
openvpn-client is freshly startet. After getting a new IP from my ISP, 
the tunnel is up (and - as I wrote - the FreeBSD is able to use it), but 
the two other boxes don't get routed through the tunnel, but the default 
gateway. When I restart the openvpn-client, everythink works again like 
it should.


Sample output of traceroute when openvpn is restarted:
 11 ms1 ms1 ms  wintermute [192.168.2.2]
 229 ms30 ms32 ms  GOTHNET [10.10.0.1]
(works)

After router gets net external IP:
 11 ms1 ms1 ms  wintermute [192.168.2.2]
 21 ms1 ms1 ms  192.168.2.1
 319 ms19 ms19 ms  217.0.119.195
 4  217.0.89.70  meldet: Zielhost nicht erreichbar.

Any advice? :(


Regards,
Neo [GC]
___
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


Banwidth limited to 800kb per connection

2009-04-24 Thread Neo [GC]

Hi,

I've ancountered a very strange behaviour. I'm running a server with 
FreeBSD 6.2-STABLE, which is connected to a 100mbit-line at some hosting 
company.


When downloading files over FTP (proftpd) or HTTP (apache 2.2) I only 
get about 800kb/s, uploading seems to have the same limit (couldn't test 
it really, as my line stops at abount 860kb/s). When I start multiple 
downloads, I get 800kb/s for each transfer, up to about 5000kb/s, which 
is the limit of my downstream at home.


Is there some kind of traffic shaping or QOS somewhere?

Before moving to the hosting company, I had the server at home and 
transfered several MB per second with a single FTP-transfer (ethernet).



Regards,
Neo [GC]
___
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: CVS history access?

2009-04-24 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Nielsen wrote:
 I'm working on a machine learning project and I'd like to use the FreeBSD 
 src CVS commit history as a datasource. Is there a resource-friendly way 
 for me to download some or all of it? Format isn't too big an issue.
 
 I tried a few cvs history commands against the anoncvs servers but get 
 this:
 cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: 
 No such file or directory
 
 I'm not too experienced with cvs so if I'm missing something let me know. 
 The Mailman archives for freebsd-cvs are one option, but I was hoping for 
 more of a direct approach if possible.


cvs log filename works, but I don't think that history has even been available
on any system I've ever had access to.  There's pretty good info available from
the cvs log command ... here's a few lines from cvs log Makefile from
usr/src/Makefile:

- 
revision 1.114
date: 2005/12/02 01:17:20;  author: deraadt;  state: Exp;  lines: +2 -2
do not enter lkm
- 
revision 1.113
date: 2005/09/16 12:28:34;  author: jmc;  state: Exp;  lines: +3 -2
use shell-neutral language (in a comment);

from ray lai;
ok krw@
- 
revision 1.112
date: 2005/01/09 20:36:20;  author: espie;  state: Exp;  lines: +12 -282
move cross-stuff into its own file.
okay mickey@, niklas@



 Thanks,
 
 JN
 ___
 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

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknyMz0ACgkQz62J6PPcoOlbBACeLN3fD31obO7yEVTDnql8qQ+v
VnAAnAjt2yRDr1y+LHfErKgdUX/UcwtW
=Nzdn
-END PGP SIGNATURE-
___
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: CVS history access?

2009-04-24 Thread Manolis Kiagias
John Nielsen wrote:
 I'm working on a machine learning project and I'd like to use the FreeBSD 
 src CVS commit history as a datasource. Is there a resource-friendly way 
 for me to download some or all of it? Format isn't too big an issue.

 I tried a few cvs history commands against the anoncvs servers but get 
 this:
 cvs [history aborted]: cannot open history file: /home/ncvs/CVSROOT/history: 
 No such file or directory

 I'm not too experienced with cvs so if I'm missing something let me know. 
 The Mailman archives for freebsd-cvs are one option, but I was hoping for 
 more of a direct approach if possible.

 Thanks,

 JN
   

It seems history is optional in CVS, and it does not exist (at least
anymore) in the FreeBSD CVS.



___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Ivan Voras
2009/4/24 Peter Steele pste...@maxiscale.com:
 This definitely looks like a bug. Try asking again on the freebsd-geom@
 list. Provide output of gmirror list.

 I'll try that list...

So, your steps were:

1. ad4, ad6, ad8 and ad10 in a 4-way mirror
2. ad4 fails. At this point did you do a gmirror list? I.e. did
gmirror detect it failing? If I read it correctly, the GenID field
should have been increased in this case.
3. The system continues to be used
4. You power it down, take out and reinsert ad4
5. On boot, ad4 is detected, inserted in the mirror but as a known
good copy, not a stale one.

Correct?

 Yes, that's basically the sequence that occurred. I can easily recreate the
 condition though. I shut my box down, took out ad4 and then rebooted. The
 system complained about ad4 being missing and proceeded with a mirror using
 3/4 of the drives. I then created a file on the system, shutdown again, and
 then reinserted ad4. On reboot as the system was starting up the gmirror
 driver, it detected ad4 but instead of reinserting in in the most recent
 mirror made up of the other drives, it became the active drive and kicked
 out its old partners,

By kicked out you mean overwritten?

You should definitely look at gmirror list before and after.
___
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: Unexpected gmirror behavior: Is this a bug?

2009-04-24 Thread Peter Steele
 By kicked out you mean overwritten? 
 
You should definitely look at gmirror list before and after. 

Sorry for the confusion. By kicked out, what I meant was as gmirror started 
up it took ad4 as the principal member, saw that it was previously part of a 
mirror with three other drives and tried to add those drives. These drives 
could not be added for some reason so the system eventually completed the 
process leaving a degraded mirror with only 1/4 members active. When the system 
completed booted, a gmirror list showed that the mirror consisted of only a 
single member of the expected four members. 

We have software that runs automatically when a system has booted to make sure 
all drives are partipating in the mirror. In this case it discovered 3 of the 4 
drives were missing and proceeded to add them back in. This is where their old 
data gets destroyed of course. If I go through this exact same process with any 
of the other drives everything works as it should--that drive gets reinserted 
and none of the other drives lose any data. The problem only occurs when the 
drive that's pulled is the first drive, which in our case is ad4. 

___
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


Banwidth limited to 800kb per connection

2009-04-24 Thread Neo [GC]

Hi,

I've ancountered a very strange behaviour. I'm running a server with 
FreeBSD 6.2-STABLE, which is connected to a 100mbit-line at some hosting 
company.


When downloading files over FTP (proftpd) or HTTP (apache 2.2) I only 
get about 800kb/s, uploading seems to have the same limit (couldn't test 
it really, as my line stops at abount 860kb/s). When I start multiple 
downloads, I get 800kb/s for each transfer, up to about 5000kb/s, which 
is the limit of my downstream at home.


Is there some kind of traffic shaping or QOS somewhere?

Before moving to the hosting company, I had the server at home and 
transfered several MB per second with a single FTP-transfer (ethernet).



Regards,
Neo [GC]


___
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


strange routing behaviour with openvpn

2009-04-24 Thread Neo [GC]

Hi,

I'm using openvpn to connect my vpn-gateway at home to an external 
server, both are FreeBSD-boxes (6.2-STABLE).
The external server has an fixed IP, the client at home connects to a 
router, which gets a new IP every 24 hours.
The client is configured as router (gateway_enable=YES) which works... 
at least sometimes.


After my router gets a new IP, the openvpn client reconnects to the 
server and the tunnel is usable from free...@home to free...@external.
But: I have one Vista and one OSX at home, both have static routes to 
the FreeBSD-box. They are able to use the tunnel, when the 
openvpn-client is freshly startet. After getting a new IP from my ISP, 
the tunnel is up (and - as I wrote - the FreeBSD is able to use it), but 
the two other boxes don't get routed through the tunnel, but the default 
gateway. When I restart the openvpn-client, everythink works again like 
it should.


Sample output of traceroute when openvpn is restarted:
 11 ms1 ms1 ms  wintermute [192.168.2.2]
 229 ms30 ms32 ms  GOTHNET [10.10.0.1]
(works)

After router gets net external IP:
 11 ms1 ms1 ms  wintermute [192.168.2.2]
 21 ms1 ms1 ms  192.168.2.1
 319 ms19 ms19 ms  217.0.119.195
 4  217.0.89.70  meldet: Zielhost nicht erreichbar.

Any advice? :(


Regards,
Neo [GC]

___
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: strange routing behaviour with openvpn

2009-04-24 Thread Chuck Swiger

Hi, Neo--

On Apr 24, 2009, at 3:26 PM, Neo [GC] wrote:
After my router gets a new IP, the openvpn client reconnects to the  
server and the tunnel is usable from free...@home to free...@external.
But: I have one Vista and one OSX at home, both have static routes  
to the FreeBSD-box. They are able to use the tunnel, when the  
openvpn-client is freshly startet. After getting a new IP from my  
ISP, the tunnel is up (and - as I wrote - the FreeBSD is able to use  
it), but the two other boxes don't get routed through the tunnel,  
but the default gateway. When I restart the openvpn-client,  
everythink works again like it should.


Not enough info to tell, but, consider the output of netstat -nr  
before and after the IP reassignment, and you'll probably notice a  
routing table change which is causing your other LAN clients to send  
traffic the wrong way


Regards,
--
-Chuck

___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Gary Kline
On Fri, Apr 24, 2009 at 04:38:06AM -0400, John Nielsen wrote:
 On Friday 24 April 2009, Gary Kline wrote:
  This ought to help if I ever find a free speech synthesizer.
  I found one yesterday that must be a real human voice;
  unfortunately, commercial.
 
 audio/festival in the ports is decent and has a few voices to choose from.
 
 JN


yes, the voices are pretty good; i use them to read boring stuff
to me when i'm about brain-dead!  but these voices just don't cut
it given the kind of quasi-poetic stuff i have.

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
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


Gaming news link

2009-04-24 Thread ryan
Dear Sir / Madam,

We are interested in posting our gaming news and information site on
your links section. Our site is GamerBeef.com and can be found at
http://www.gamerbeef.com

Our site includes daily updated gaming news from all genres and
consoles, with focus on PC gaming. We also have a new discussion
forum, cheats and screenshots section.

We would of course offer a link back to your site in return.

Let me know your thoughts.

Best Regards,

Ryan

--
Ryan Barclay

Managing Director

RBFTP Networks Limited.

DDI: +44 (0)870 490 1870
WWW: http://www.rbftpnetworks.com

RBFTP Networks Limited Registered in England No 05718807 Registered Office:
68 Aldersbrook Road, London, E12 5DL.

___
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:Burncd-Kernel Panic

2009-04-24 Thread David M. Patronis

I'm using an Intel DG33BU board with a SATA HD and SATA optical drives.
Using FreeBSD 7.1 AMD64 I get a kernel panic and subsequent file system
corruption when attempting to burn a cd using the burncd utility. I can
avoid this easily enough by using cdrecord and growisofs which work as
they should. I wanted to alert others using the same or similar boards.

If anyone has any ideas, I'd  like to know why this happens. Is there a
planned update to the burncd software or how it addresses the system
that might remedy this in future releases?

--David

I'm assuming the reason for the panic is that SATAII is substantially 
incompatible with the old ATAPI standard that burncd was designed for. 
In light of the fact that soon, most hardware (even older hardware) will 
feature SATA drives, it would be nice if there were a compatible base 
system burn utility. Burncd could linger on for the sake of much older 
machines, but could be prominently labeled as legacy software.


--David yet again
___
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: maybe OT, but involves OOO its slideshow fmt, ``Impress''

2009-04-24 Thread Gary Kline
On Fri, Apr 24, 2009 at 04:20:45PM -0500, Andrew Gould wrote:
 On Fri, Apr 24, 2009 at 3:16 PM, Gary Kline kl...@thought.org wrote:
 
  On Fri, Apr 24, 2009 at 10:48:52AM +0200, Polytropon wrote:
   On Thu, 23 Apr 2009 14:36:25 -0700, Gary Kline kl...@thought.org
 

[[[ ... ]]]
 
 I've never done video editing on FreeBSD; but on a Mac, you can create a
 movie using slides and a sound file (wav, mp3, etc).  You would need an
 application that could import images and sound, and let you sync the two by
 assigning the order and duration of each slide.  It would then have to spit
 out a movie file, of course.
 
 Any video editing (on FreeBSD) knowledge out there?
 
 Another option is a python script that uses vnc to create a shockwave flash
 file from your actions on your desktop:
 http://www.unixuser.org/~euske/vnc2swf/
 
 The script is able to import a sound file that you record while you create
 the demo.



as i get back from a fifteen minute run out the back, screaming
loudly  if anybody would care to volunteer to help me with
this, it would transcend mere Outstanding.  facts are that i'm 
still polishing the last 7 or 8 of my mumblings/jottings.  been
at this since the 1980's, maybe a bit before.  so way too long to
throw in the towel now.

a year, two ago a volunteer in my library group gathered up the
mess of 70+ jottings and created 15 [?] subsections.  meanwhile,
i've found and gotten permission to use one or two photographs.
anybody brave enough to browse my existentialist mumblings to see
what kind of photo might fit with what??

gary


 
 Good luck,
 
 Andrew

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php

___
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: Banwidth limited to 800kb per connection

2009-04-24 Thread Wojciech Puchar


When downloading files over FTP (proftpd) or HTTP (apache 2.2) I only get 
about 800kb/s, uploading seems to have the same limit (couldn't test it 
really, as my line stops at abount 860kb/s). When I start multiple downloads, 
I get 800kb/s for each transfer, up to about 5000kb/s, which is the limit of 
my downstream at home.


Is there some kind of traffic shaping or QOS somewhere?



or ethernet autonegotiation problems  - one side gets full duplex other 
half duplex.


Before moving to the hosting company, I had the server at home and transfered 
several MB per second with a single FTP-transfer (ethernet).



Regards,
Neo [GC]
___
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: Logcheck dependency hell

2009-04-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mel wrote:
 On Tuesday 17 February 2009 09:51:10 n j wrote:
 (sorry for the previous mail)

 The Makefile says:
 ...
 So I'll bet some money that it's docbook.
 Correct.

 Does it improve if you add these to /etc/make.conf:
 ...
 No, the result is exactly the same.

 # finddep.php security/logcheck x11/xorg-libraries
 /usr/ports/textproc/docbook-to-man: /usr/local/libdata/xorg/libraries
 = /usr/ports/x11/xorg-libraries
 Mel, thanks for the script. What bothers me, however, is that I've
 checked the Makefile and didn't find any reference to xorg/x11
 libraries - the only dependencies listed in textproc/docbook-to-man
 are:

 RUN_DEPENDS=nsgmls:${PORTSDIR}/textproc/jade
 (no xorg-libraries dependency there)
 RUN_DEPENDS+=  
 ${LOCALBASE}/share/sgml/docbook:${PORTSDIR}/textproc/docbook

 Even worse,

 egrep -ri (xorg|x11) *

 in /usr/ports/textproc/docbook-to-man returns zero matches.
 
 It's hiding:
 # make -C textproc/docbook-to-man -V BUILD_DEPENDS
 imake:/usr/ports/devel/imake 
 /usr/local/libdata/xorg/libraries:/usr/ports/x11/xorg-libraries
 
 Hint: always check make's interpretation of a var with -V. This is instigated 
 by:
 USE_IMAKE=  yes
 
 As per Mk/bsd.port.mk:
 .if defined(USE_IMAKE)
 BUILD_DEPENDS+= imake:${X_IMAKE_PORT}
 .endif
 
 And here comes xorg-libs:
 .if defined(USE_IMAKE)  !defined(USE_X_PREFIX)  !defined(USE_XORG)
 USE_X_PREFIX=   yes
 .endif
 
 USE_X_PREFIX now defined:
 .if defined(USE_X_PREFIX)
 USE_XLIB=   yes
 .endif
 
 USE_XLIB now defined:
 .if defined(USE_XLIB)
 .   if defined(USE_LINUX)
 RUN_DEPENDS+=   ${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:
 ${PORTSDIR}/x11/linux-xorg-libs
 .   else
 BUILD_DEPENDS+= ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
 RUN_DEPENDS+=   ${X11BASE}/libdata/xorg/libraries:${X_LIBRARIES_PORT}
 .   endif
 .endif
 
 

Hi everyone,

It took me a little while to get it done, but I added docbook2X to the
FreeBSD ports tree yesterday:

http://www.freshports.org/textproc/docbook2X/

I then changed the dependency in security/logcheck from
textproc/docbook-to-man to textproc/docbook2X.  This reduces the number
of recursive dependencies by almost 100, so it should be a lot quicker
to install the tool now.

http://www.freebsd.org/cgi/getmsg.cgi?fetch=880901+0+current/cvs-ports

Feedback welcome,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ8nLE0sRouByUApARArAbAJ4rxd/btTkCgZzfwuOfvp1kAe/CnwCglEyW
nHRL6AbpITM8hG46iAJEFU8=
=fqy3
-END PGP SIGNATURE-

___
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


tnftpd, lukemftpd and conversions

2009-04-24 Thread Daniel Feenberg


I am trying to get tnftpd or lukemftpd to do the authomatic conversions
documented in the man page. I am running 7.1 Release #0. My 
/var/ftp/etc/ftpd.conf file is only two lines:


   motd all motd
   conversion all .Z f . /bin/compress %s

and from the motd message I can see that the server is using this 
configuration file. The compress program has been copied to 
/var/ftp/bin/compress so it should be available too.


However, while I can ftp to localhost and login as anonymous and get the 
file test, when I ask for test.Z I get only the following messages:


  get test.Z
  local test.Z remote test.Z
  229 entering Passive mode
  550 test.Z: no such file or directory

The man page for ftpd.conf says:

  If a file to retrieve ends in suffix and a real file (sans suffix)
  exists then the output of command is returned instead of the
  contents of the file.

I also tried the default ftpd, with the same result (although it isn't 
clear if ftpd supports conversion, there isn't any documentation for the 
configuration file for ftpd - the included man page is clearly for 
lukemftpd and the tnftpd page is essentially the same).


So I am left with the conclusion that there is something wrong with my
ftpd.conf entry, but have found no examples anywhere on the net to guide
me. There is supposed to be an example in /usr/share/examples/ but it
isn't there (PR 133468). I'd sure like to see it, if anyone has it
or another.

Daniel Feenberg
NBER
617-588-0343
feenb...@nber.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: freebsd vs. pc-bsd

2009-04-24 Thread Gonzalo Nemmi
On Friday 24 April 2009 11:06:03 am Michael Jr. wrote:
 Hi,

 I was just wondering what are the major differences between freebsd
 and pc-bsd and is it harder or just as easy to setup freebsd as a
 desktop compared to pc-bsd?

Hi there Michael =)

In regards to the differences I think it depends on where are you 
standing .. It could safely be argued that PC-BSD is a preconfigured 
FreeBSD system with and extra software distribution and management 
method (pbi) and a relevant set of tools created in order to ease the 
administration of a FreeBSD system for the desktop user ... YMMV .. but 
I tend to see it that way ... 

Now, regarding the which one is easier to setup as a desktop .. 
well .. by all means the easier one is PC-BSD .. Turning FreeBSD into a 
desktop system is something that _you'll_have_to_do whereas PC-BSD is a 
FreeBSD system that has already been turned into a desktop system so 
you don't have to go trough all that process ... and that's one of the 
reasons why it exists ;) 

 Will freebsd work with sager laptops, and 
 will freebsd recognize 4 gigs of ddr3 memory and if it does not
 regularly, how can I get freebsd to recognize 4 gigs of ddr3 memory?

I really don't know the answer to the sager question .. and, 
personally, I think that's something that they as the manufacturers, 
should be able to answer (if not already legally binded to ...).

Regarding you 4gigs of ram the answers is: yes .. but you'll have to 
do some reading on PAE and maybe kernel recompiling  ...

 Will freebsd be able to recognize the latest technologies, like
 intel core 2 duo and the new Nvidia GTX260m, and hard drives at any
 speed like 7200 rpm?

Tray taking a look at the README file on the Nvidia FreeBSD driver 
located at the nvidia web page in order to find out whether the Nvidia 
FreeBSD driver does or does not support the GTX260m ..

http://www.nvidia.com/object/freebsd_180.51.html

I probably should mention that the nvidia drivers are only available for 
the x86 platform at the moment. If you need 64bit support, write them 
an e-mail asking for it ...

Hard drives and core2 are no problem at all .. I'm actually writing this 
mail on a core2 ..

Here .. take a look:

[gonz...@inferna ~]% sysctl hw.model
hw.model: Intel(R) Core(TM)2 Duo CPU E4500  @ 2.20GHz
[gonz...@inferna ~]% sysctl -a | grep temperature
dev.cpu.0.temperature: 34
dev.cpu.1.temperature: 32
[gonz...@inferna ~]%

 I don't know any kind of code so is there any 
 books or any kind of resources that you recommend I look at?

Sure thing ... you'll find everything there is to know in here:

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

If you can afford yourself to spend a few bucks (and .. to be honest .. 
after reviewing your harware specs, you seem to be able to) on a 
_really_ good book about FreeBSD; Absolute FreeBSD: The Complete Guide 
to FreeBSD, 2nd Edition by Michael W. Lucas is _the_ book to buy.

 Sorry I have so many questions but I just ordered a new sager laptop
 and I do not really want to have to use windows vista if I don't have
 to, and I think it would be fun to learn how to use freebsd.

Then, by all means, buy Absolute FreeBSD: The Complete Guide to 
FreeBSD, 2nd Edition because you _will_ want to have that book at 
hand. And, should you be able to afford it, try and buy the official 
cds/dvds from freebsdmall.com ;)

 Thank you,
 Michael Haid

Anytime !!
Good luck and hope to see you posting from your FreeBSD/PC-BSD system 
soon :)
-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-24 Thread Gonzalo Nemmi
On Monday 20 April 2009 11:58:39 am Keith Seyffarth wrote:
 I'm trying to print from my FreeBSD machine. I've been through a
 number of online tutorials and instructions on printing from Unix or
 FreeBSD in particular, but they all seem to start with the assumption
 that printing from the machine is possible. I'm trying to get to that
 starting point.

 I have installed:

 cups-base-1.3.9_3   Common UNIX Printing System
 cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
 cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to
 non-PS printers gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
 libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
 hplip-2.8.2_4   Drivers and utilities for HP Printers and
 All-in-One device

 The printer I'm working with is a HP Officejet 4110.

Hello Keith !

Ok .. first and to answer the topic: Yes, I can, and it has been that 
way since day 1 with FreeBSD in here.

Your printed seems  to be supported by hplip ...
http://hplipopensource.com/hplip-web/models/officejet/officejet_4100_series.html

 There seem to be several issues with printing. First, since this is a
 USB printer,

And so it's mine (an Hp LaserJet 1015)

 the pinter is always owned by root:operator with read 
 permissions for user, group, and world.


 Adding these lines to /etc/devfs.conf
 link ulpt0 printer
 own ulpt0 cups:cups
 perm ulpt0 0666

Maybe you should have taken a look at the hplip post install message ...
Here, take a look at this:

[gonz...@inferna ~]% pkg_info -xD hplip
Information for hplip-2.8.2_3:

Install notice:
**

 UPGRADE FROM 1.X NOTICE *

NOTE: If you are upgrading from 1.x you will need to
change your devfs ruleset as hpiod is now gone, so remove
it from you rc.conf.  The printer communication now runs
through cupsd.  You will need to make the devfs ruleset
changes to allow cups to access the usb bus and ugen
devices so that it can enumerate the printers.  You will
also need to update your hplip.conf.  See the instructions
below.

 UPGRADE FROM 1.X NOTICE *

Add the following to your rc.conf:

hpssd_enable=YES

So all you have to do if you have a custom ruleset setup
is add the following to that ruleset in devfs.rules:

add path 'usb*' group cups
add path 'usb*' mode 0660
add path 'ugen*' group cups
add path 'ugen*' mode 0660

If you have never setup devfs.rules please read the
manpage and see:
http://am-productions.biz/docs/devfs.rules.php

The printer MUST attach as a ugen(4) device.  This means
that you must NOT have device ulpt in your kernel and
ulpt must NOT be loaded as a kernel module.

If you are seeing device connection errors restart the
printing chain with the following command.  NOTE: It MUST
be restarted in the stated order.
%%PREFIX%%/etc/rc.d/hpssd restart  \
%%PREFIX%%/etc/rc.d/cupsd restart

If upgrading from a version  2.7.9 copy the new
hplip.conf.sample config.
cp %%PREFIX%%/etc/hp/hplip.conf.sample \
   %%PREFIX%%/etc/hp/hplip.conf

If you are still having problems check:
http://am-productions.biz/docs/hplip.php
If you are still having problems send the relevant part
of your /var/log/messages, console output from the hp-*
utility that you are trying to run, and your rc.conf +
devfs.rules files and the output of ls -l /dev to the
maintainer.
**
[gonz...@inferna ~]%


So .. basically .. get rid of ulpt ... recompile your kernel if you 
have to, but get rid of it .. the printer MUST attach as a ugen(4) 
device ...

Plug your printer in, turn it on and .. add this lines to devfs.rules 
(change the [system=10]  to suit your needs if you have to)

[system=10] 
add path 'usb*' group cups
add path 'usb*' mode 0660
add path 'ugen*' group cups
add path 'ugen*' mode 0660

after that, issue the following commands:

cp /usr/local/etc/hp/hplip.conf.sample /usr/local/etc/hp/hplip.conf 
/etc/rc.d/devfs restart 
/usr/local/etc/rc.d/hpssd start 
/usr/local/etc/rc.d/cupsd start 

log in to the cups config page and follow the steps to configure your 
printer ...

when prompted for a printer URI, make use of hp-makeuri to determine 
what URI you should use .. I use it like this:

hp-makeuri printer_serial_number

and it will return something along this way:

hp:/usb/hp_LaserJet_1015?serial=MYSERIALGOESINHERE

feed that to the URI field and then move on to choose the ppd file which 
you'll be able to find under /usr/local/share/ppd/HP ...

And that's about it .. 

 will set the ownership to cups:cups and the permissions to read and
 write for user, group, and world on startup if the printer is already
 turned on and plugged in. However, if the printer is not turned on at
 startup, or if it is disconnected or turned off after system startup,
 ownership and permissions revert.

 Trying chown or chmod to the device at /dev/ulpt0 gives an invalid
 path error, and