Re: Rootkit detection

2006-01-16 Thread Graham North

Hi Spyridon:

Thank you for your replies.   I was able to install the chkrootkit port 
and it seems to show the system as clean.

To all other replies, thank you for your help also.
Cheers,  Graham/


SPYRIDON PAPADOPOULOS wrote:


Hi again,

Well check this
the message in my /var/log/messages is:
kernel: arp: 192.168.2.34 moved from 00:13:8f:4c:1b:41 to 00:11:2f:0c:b1:0a on 
rl0

So Hmm now that i am thinking of it again:

server /kernel: arp 00:11:43:4a:8d:18 is using my IP address 
192.168.0.102  


This also looks like an IP conflict!! And it is not similar to mine, even if it 
can be the same...
Someone more experienced maybe can make this clear. To be honest i haven't seen 
the output you posted before...

Sorry for the inconvenience if i was wrong before..

Spiros


 


-Original Message-
From: Graham North [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Date: Sun, 15 Jan 2006 12:23:08 -0800
Subject: Rootkit detection
   



 

I would like to determine if my server has had rootkit installed by a 
hacker.

FBSD 4.11.   Main entrances are only http, ssh and also webmin.
   



 

My server went down sometime recently.   When I went investigate there 
was a somewhat nasty message saying:
   



 


server /kernel: arp 00:11:43:4a:8d:18 is using my
IP address 
192.168.0.102  
   



 


The mac address 00:11:43:4a:8d:18 does not belong to any of my hardware.
(server is a pseudonymn for this email but is the machine name for the 
server on my home network - 192.68.0.102 is the LAN addr on my router)
   



 

The auth log files have been rolled over several times in the last few 
weeks and I have not unzipped them yet to see if any entries were 
accepted but the most recent one is filled with unsuccessful attacks to 
sshd on high port numbers, ie sshd[86417].
My biggest concern is the message at the top of this email server 
/kernel: arp 00:11:43:4a:8d:18 is using my IP address 192.168.0.102, it 
sounds scary.
   



 

Can someone give please me some guidance as to how to determine whether 
my machine is comprimised?

Thanks,  Graham/
   



 


--
Kindness can be infectious - try it.
   



 


Graham North
Vancouver, BC
www.soleado.ca
   





 



--
Kindness can be infectious - try it.

Graham North
Vancouver, BC
www.soleado.ca


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.18/230 - Release Date: 1/14/2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Difficulty asking questions

2006-01-16 Thread Ian Smith
Hi Bob.  I got the mail from your yahoo address too.

On Mon, 16 Jan 2006, Bob @ Brisbane wrote:

  Received: from gargoyle.apana.org.au ([203.185.225.22])

As suspected, our sendmail was unable to reverse resolve this SMTP
sender's IP address, or it would have included it between the ()
brackets, see below.  That first gargoyle.apana.org.au string is just
the HELO gargoyle sent (which can be forged, but presumably isn't :) 

Our MX accepted your unresolvable address anyway (ie not blacklisted
specifically) but it appears that mx*.freebsd.org will not - or at
least your message didn't make the latest questions-digest received
here just recently.

   by gaia.nimnet.asn.au (8.8.8/8.8.8R1.4) with ESMTP id JAA07721
   for [EMAIL PROTECTED]; Mon, 16 Jan 2006 09:48:31 +1100 (EST)
   (envelope-from [EMAIL PROTECTED])
  Received: from bob (jwillson.apana.org.au [203.3.126.224])

Whereas gargoyle, also a (later) sendmail, reverse resolved your box ok. 

   by gargoyle.apana.org.au (8.12.6/8.12.6) with SMTP id k0FMlwkk072910;
   Mon, 16 Jan 2006 08:47:58 +1000 (EST)
   (envelope-from [EMAIL PROTECTED])
  Message-ID: [EMAIL PROTECTED]
  From: Bob @ Brisbane [EMAIL PROTECTED]
  To: Ian Smith [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  References: [EMAIL PROTECTED]
  Subject: Re: Difficulty asking questions
  Date: Mon, 16 Jan 2006 08:48:29 +1000
[..]
  X-Mailer: Microsoft Outlook Express 6.00.2900.2180
  X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180

In this case, Outcast Distress is not the problem :)

  This is from my apana address. I get both the item to me and also the one 
  from the list.

Presumably because our reverse IP is working.  But apana's is not :(
Suggest contacting support etc ASAP.  Copy my mail to 'em if it helps.

Cheers, Ian

  Bob Willson
  - Original Message - 
  From: Ian Smith [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]; Micah [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Sent: Monday, January 16, 2006 1:12 AM
  Subject: Re: Difficulty asking questions
[..]

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


unable to build ntp

2006-01-16 Thread Brad Gilmer
Help please.  I am running 6.0-RELEASE, and am trying to build 
ntp.  Process fails during ./configure with the following results:


# cd /usr/src/contrib/ntp
# ./configure
--snip---
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ElectricFence/Makefile
config.status: error: cannot find input file: ElectricFence/Makefile.in

Interestingly, I get the same results using a 4.5 machine.  I note 
that in the /usr/src/contrib/ntp/FREBSD-upgrade file, it states in part,


For the import of NTP the following files were removed:
   ElectricFence/*

so it makes sense that ElectricFence is not there, but how do I get 
rid of the error?


Background:
I have the following entry in my crontab:
7 0-23 * * * /usr/sbin/ntpdate -s pool.ntp.org /dev/null
In the old days, ntpdate would only send root an email if it could 
not find a server.  Now I get emails every time the cron runs, even 
though I am dumping STDOUT to /dev/null.  Problem is code in 6.0 
directs server found messages to STDERR, while 4.5 code did not 
contain this.  I want to recompile with the server found messages 
directed to STDOUT.


Thanks in advance,
Brad


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


RE: Sparc vs i386 architecture

2006-01-16 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Danial Thom
Sent: Thursday, January 12, 2006 6:11 AM
To: Ted Mittelstaedt; freebsd-questions@freebsd.org
Subject: RE: Sparc vs i386 architecture



Yeah, Ted. Good cars are a waste of money. You're
really starting to sound like a poor guy now! So
goes it for good food.

If the person your buying it for can't use it,
then yes.

I have a friend that had a peanut allergy.  Buying
the most expensive gourmet peanut butter for him would
be a total waste of money.  He can't use it.  Just like
your 100Mph toy.  Actually worse than your 100Mph toy
since he cannot even use the peanut butter in a sex
game to get his rocks off, while you can get yourself
off thinking about your toy that you can't use.

Good wine? Well you can
get drunk on cheap wine too, so who cares. lol


If your goal of drinking wine is to get drunk, you
don't deserve the good stuff.

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


Re: English only, please

2006-01-16 Thread Garrett Cooper

On Jan 15, 2006, at 6:29 PM, Greg 'groggy' Lehey wrote:


On Sunday, 15 January 2006 at 19:45:45 -0600, Kevin Kinsey wrote:

Greg 'groggy' Lehey wrote:

On Sunday, 15 January 2006 at 16:49:27 -0600, Don Hinton wrote:


Where exactly does it say that this is an english only list?


I suppose you have a point.  It's implicit; it should be spelt out.
At http://www.freebsd.org/community/mailinglists.html you have a
choice of Mailing Lists or Non-English Mailing Lists.  - 
questions

is under the former link; the Polish mailing lists are under the
latter.  At
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd- 
questions/

there's a reference to an inability to speak English.  But we should
really do something about writing a charter that makes it clear.
Anybody feel like having a go?


A virtual friend of mine (Kiwi, but don't really know his name)
has written this for a programming forum I frequent:

 To those people for whom English is a foreign language, I can
only offer this: English is - for better or worse - the /de facto/
/lingua Terra/.


Hmm.  I don't want to justify the choice of language, just state it.
It's an interesting document, but I don't think it's what we want.

Greg
--
See complete headers for address and phone numbers.


	I think it would most likely be a better idea for people who speak  
other languages than English to post to other mailing lists. I don't  
form my opinion from an elitism point of view, but rather just  
recognize the fact that their problem or question would be answered  
more quickly by a community converses in their own native language as  
opposed to an English speaking community.

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


RE: FreeBSD

2006-01-16 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Mike Jeays
Sent: Thursday, January 12, 2006 12:31 PM
To: Uncle Deejy-Pooh
Cc: freebsd-questions@freebsd.org
Subject: Re: FreeBSD



Anyone can remain on the mailing list.  People only get drummed out if
they make a real nuisance of themselves with irrelevant or offensive
postings.

And that's questionable.  I think to get axed, your abuse has to be
along the lines of spamming the list with hundreds of messages or
some such.  Simply calling someone a stupid idiot doesen't seem to
do the trick, as a number of people who have decided to get insulted
by what I've told them have found out to their (I assume) disappointment.

Ted

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


Re: how to use ipod nano in freebsd 6.0

2006-01-16 Thread Crispy Beef

david wrote:




how can i compile freebsd GENERIC kernel with HFS+ support?sorry for 
stupid question.i am newbie in freebsd


This site should help you install the utils and module that you need...

http://people.freebsd.org/~yar/hfs/

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


Re: FreeBSD

2006-01-16 Thread Daniel A.
Hi,
Congratulations on your success with PC-BSD.

I think that the nature of the BSD license can also indirectly be
applied to the FreeBSD mailing lists: Anyone can play along.
We're not elitist snobs =)

On 1/13/06, Uncle Deejy-Pooh [EMAIL PROTECTED] wrote:
 Hey, I've spent the day using pc-bsd, and I quite like it ! Can I remain
 on the
 mailing list, or are people already forming hollow squares to drum me out ?

   Regards to all for the New Year,
Deej

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

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


Re: dvdwriter - icybox - usb problem

2006-01-16 Thread Guido Van Hoecke

Fabian Keil wrote:


Guido Van Hoecke [EMAIL PROTECTED] wrote:

 

I have to connect my Plextor PX-716A dvd-writer via an external 
IDE-to-USB/1394 Icybox (IB-550UE-B-BL) to my freebsd-6.0-RELEASE pc. 
This pc is an IBuddy Desknote A928 without room for internal extra 
devices. So I bought an Icybox enclosure, put the plextor in it and 
connected the icybox through USB:


umass0: vendor 0x0402 USB 2.0 Storage Device, rev 2.00/1.05, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB 2.0 Storage Device 0111 Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 0MB (1 0 byte sectors: 0H 0S/T 0C)

[EMAIL PROTECTED]:~ sudo cdrecord -scanbus
Cdrecord-Clone 2.01 (i386-unknown-freebsd6.0) Copyright (C) 1995-2004 
Jörg Schilling

Using libscg version 'schily-0.8'.
...
scsibus3:
3,0,0   300) 'USB 2.0 ' 'Storage Device  ' '0111' Disk
...
[EMAIL PROTECTED]:~

How do I tell FreeBSD that this is a DVD-writer rather than a hard
disk?
   



Have you tried to use it? 


Does cdrecord dev=3,0,0 -prcap show false information as well?
 

No, I did not try it. Ms XP had the same problem when connecting over 
USB. However, connecting over firewire to XP was ok.


Due to lack of time for further experimenting, the plextor is now built 
in into my freebsd server as a normal ide device.


So this is now a non-problem.
Thanks for your reply though,

Guido.

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


Re: Raising temperature threshold

2006-01-16 Thread Bob Willcox
On Wed, Jun 22, 2005 at 01:52:22PM -0300, Matthew Flanagan wrote:
 On 22 Jun 2005 11:46:31 -0400, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  Matthew Flanagan [EMAIL PROTECTED] writes:
  
   I`ve installed a FreeBSD 5.4-STABLE and I was building some ports when 
   suddenly my system shut down. Upon rebooting it and checking 
   /var/log/messages, I found the following lines:
   
   Jun 21 16:01:30 bell root: WARNING: system temperature too high,
   shutting down soon!
   Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature
   (60.0C) exceeds safe limits
   
   Then I realized what had happened. My acpi_thermal sysctl's are:
   
   hw.acpi.thermal.min_runtime: 0
   hw.acpi.thermal.polling_rate: 10
   hw.acpi.thermal.tz0.temperature: 50.0C
   hw.acpi.thermal.tz0.active: 0
   hw.acpi.thermal.tz0.thermal_flags: 1
   hw.acpi.thermal.tz0._PSV: 50.0C
   hw.acpi.thermal.tz0._HOT: -1
   hw.acpi.thermal.tz0._CRT: 60.0C
   hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
   
   When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the
  threshold in
   the BIOS setup) it doesn't work:
   
   bell# sysctl hw.acpi.thermal.tz0._CRT=3580  # 3580 tenths of Kelvin=85C
   sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only
   
   I've tried /etc/sysctl.conf as well, but I get the same error.
   
   Now, my question is: how do I change this value? I've read several
  manpages
   (acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked the
   handbook, to no avail. Can anyone point me to the right direction?
  
  Can it be set at boot time?  [from the loader?]
 
 Perhaps, but loader(8) lists the kernel tunable parameters available, and
 hw.acpi.thermal.tz%d._CRT isn't one of them.

Did you ever discover a resolution to this? I have a Shuttle SN95G5
system that is doing the same thing. To make matters worse, it appears
that the hw.acpi.thermal.tz0.temperature value that is being returned is
5 to 10 degrees higher than what BIOS thinks (I am inclined to believe
the BIOS on this one). I can change the CPU fan speed settings in the
BIOS. It has pretty extensive control of this, with the default setting
of SMART FAN where it controls fan speed based on CPU temperature.
Unfortunately, in that mode the hw.acpi.thermal.tz0.temperature slews to
60C (while BIOS reads below 50C) before the fan has sped up enough. I
can also set the fan speed control to fixed, relatively higher values,
but the fan noise is then bothersome.

So, anyone know where the 60C value for hw.acpi.thermal.tz0._CRT is
derived from and how to change it?

Thanks,
Bob


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

-- 
Bob Willcox   Maintainer's Motto:
[EMAIL PROTECTED]If we can't fix it, it ain't broke.
Austin, TX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System hangs for 30 minutes before booting normally into freebsd 6.0

2006-01-16 Thread Lowell Gilbert
Ravi Kumar [EMAIL PROTECTED] writes:

 Hello,
I am a new convert to freebsd 6.0. I installed it
 on one of my old machine - a celeron 333 MHz, 98 MB
 RAM, with ISA slots. While installing it on my system,
 I faced a problem that it took a long time to load the
 freebsd installer menu. So I rebooted and selected the
 FreeBSD installation in verbose mode. 
 
 This is the verbose output snippet I recieved:
 
 ...
 pci0: bridge at device 73 (no drivers attached)
 pci0: display, VGA at device 16.0 (no driver
 attached)
 ex_isa_identify()
 ata: ata0 already exists; skipping it
 ata: ata1 already exists; skipping it
 
 pnp_identify: Trying Read_Port at 203
 pnp_identify: Trying Read_Port at 243
 pnp_identify: Trying Read_Port at 283
 pnp_identify: Trying Read_Port at 2c3
 pnp_identify: Trying Read_Port at 303
 pnp_identify: Trying Read_Port at 343
 pnp_identify: Trying Read_Port at 383
 ...
 
 The problem is the last 8 lines above. It is I believe
 scanning some ports and is taking such a long time.
 After this the normal booting is quite fast. 
 
 Is there any way I can disable this process of
 scanning that is taking place? After installing
 freebsd, each time I boot into it, it hangs for 30
 minutes at the code snippet above.
 
 My uname -a command gave the following output.
 
 FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3
 09:36:13 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386
 
 
 Looking forward to a reply to this problem.

This is unlikely to solve your problem, but it will ease tracking down
what probe is giving you problems: build a custom kernel removing
devices you aren't using.  See if you get any more information there.

Then try disabling ACPI; I wouldn't be surprised if your system had
no support for it anyway.  And maybe try a verbose boot without ACPI.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: System hangs for 30 minutes before booting normally into freebsd 6.0

2006-01-16 Thread Dick Davies
Also, try toggling 'pnp os installed' in the bios.

On 16 Jan 2006 09:22:55 -0500, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Ravi Kumar [EMAIL PROTECTED] writes:


  pnp_identify: Trying Read_Port at 203


 Then try disabling ACPI; I wouldn't be surprised if your system had
 no support for it anyway.  And maybe try a verbose boot without ACPI.

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OS use rate

2006-01-16 Thread Svein Halvor Halvorsen
On 1/14/06, n-n [EMAIL PROTECTED] wrote:
 OS use rate in my project.
 2005/01/10 - 2006/01/10
 RedHat Enterprise Linux ES3.0 - 3947
 RedHat Enterprise Linux AS3.0 - 1287
 Sun Solaris 9 - 583
 *BSD - 0

You use FreeBSD:

http://searchdns.netcraft.com/?host=yahoo.co.jp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /etc/rc.firewall and dhclient(8)

2006-01-16 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 I activated my firewall client configuration on my desktop that uses dhcp 
 for
 a cable modem.
 
 Everything works fine (I even enabled ping), however, everytime I shutdown and
 restart the modem I find myself having to check /var/db/dhclient.leases.xl0 to
 edit /etc/rc.firewall to change $net and $ip.
 
 Is there an easy way to automate this?

That's what the me keyword is for in the ipfw syntax.
Using this would require you to create a slightly customised version
of the firewall rules file.

Alternatively, you could have dhclient write the parameters out to a
file that the firewall script would read in.  dhclient-script(8) has
hooks for this.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OS use rate

2006-01-16 Thread Jason Stewart
Banana?

On 14/01/06 22:33 +0900, n-n wrote:
 OS use rate in my project. 
 2005/01/10 - 2006/01/10
 RedHat Enterprise Linux ES3.0 - 3947
 RedHat Enterprise Linux AS3.0 - 1287
 Sun Solaris 9 - 583
 *BSD - 0
 
 
 --
 Yahoo! Mail - supported by 10million people
 http://pr.mail.yahoo.co.jp/mail_pr/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to make buildkernel (fresh cvsup to RELENG_6)

2006-01-16 Thread Lowell Gilbert
Laurence Sanford [EMAIL PROTECTED] writes:

 I'm upgrading a 5.4 machine to 6. I can buildworld successfully, but
 attempting to make buildkernel fails:
 
 HEADERS -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include
 -I/usr/obj/usr/src/sys/Colossus
 /usr/src/sys/modules/ti/../../pci/if_ti.c
 /usr/src/sys/modules/ti/../../pci/if_ti.c:2536:35: macro
 VLAN_INPUT_TAG requires 4 arguments, but only 3 given
 mkdep: compile failed
 *** Error code 1
 
 Stop in /usr/src/sys/modules/ti.
 *** Error code 1
 
 Stop in /usr/src/sys/modules.
 *** Error code 1
 
 Stop in /usr/obj/usr/src/sys/Colossus.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 Yes, it's a customer kernel, however, it's worth noting that GENERIC
 has failed in exactly the same place with the same error. Any
 suggestions?

Looks like you're pulling in /usr/include/net/if_vlan_var.h instead of
/usr/src/sys/net/if_vlan_var.h.  Do you have CPATH or C_INCLUDE_PATH
set in the environment?

If not, maybe you have some stale files around, or an incorrectly
updated source tree.  Make sure you have the correct
/usr/src/sys/net/if_vlan_var.h, and try again with a pristine /usr/obj.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrade of php5-gd

2006-01-16 Thread Lowell Gilbert
Mathieu CHATEAU [EMAIL PROTECTED] writes:

 Hello freebsd-questions,
 
 even with a cvsup of ports 5 minutes ago, i still have the
 following errors when i try to upgrade php5-gd from 5.0.4_2 to 5.1.1
 
 
 [EMAIL PROTECTED]:/usr/ports/graphics/php5-gd] # make install clean
 ===  Vulnerability check disabled, database not found
 ===  Found saved configuration for php5-gd-5.0.4_2
 ===  Extracting for php5-gd-5.1.1
 = MD5 Checksum OK for php-5.1.1.tar.bz2.
 ===  Patching for php5-gd-5.1.1
 ===  Applying FreeBSD patches for php5-gd-5.1.1
 1 out of 1 hunks failed--saving rejects to config.m4.rej
 = Patch patch-config.m4 failed to apply cleanly.
 *** Error code 1  
 
 I am using FreeBSD 5.4
 
 any clue ?

Best guess: you have stale files in the port skeleton.  [See the cvsup
FAQ if you are interested in how you could have avoided this in the
first place, but it's a bit late for that now.]

Remove the whole /usr/ports/graphics/php5-gd directory and re-cvsup.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to build ntp

2006-01-16 Thread Dan Nelson
In the last episode (Jan 16), Brad Gilmer said:
 Help please.  I am running 6.0-RELEASE, and am trying to build ntp. 
 Process fails during ./configure with the following results:
 
 # cd /usr/src/contrib/ntp
 # ./configure

You want to build /usr/src/usr.sbin/ntp .  /usr/src/contrib is just
where the original distribution files live.

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


Re: unable to build ntp

2006-01-16 Thread Lowell Gilbert
Brad Gilmer [EMAIL PROTECTED] writes:

 Help please.  I am running 6.0-RELEASE, and am trying to build ntp.
 Process fails during ./configure with the following results:
 
 # cd /usr/src/contrib/ntp
 # ./configure
 --snip---
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating ElectricFence/Makefile
 config.status: error: cannot find input file: ElectricFence/Makefile.in
 
 Interestingly, I get the same results using a 4.5 machine.  I note
 that in the /usr/src/contrib/ntp/FREBSD-upgrade file, it states in
 part,
 
 For the import of NTP the following files were removed:
 ElectricFence/*
 
 so it makes sense that ElectricFence is not there, but how do I get
 rid of the error?
 
 Background:
 I have the following entry in my crontab:
 7 0-23 * * * /usr/sbin/ntpdate -s pool.ntp.org /dev/null
 In the old days, ntpdate would only send root an email if it could not
 find a server.  Now I get emails every time the cron runs, even though
 I am dumping STDOUT to /dev/null.  Problem is code in 6.0 directs
 server found messages to STDERR, while 4.5 code did not contain this.
 I want to recompile with the server found messages directed to STDOUT.
 
 Thanks in advance,
 Brad
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

You could always try building from the directory that buildworld uses: 
/usr/src/usr.sbin/ntp.  

But the easier answer would be to redirect stderr as well as stdout
when calling ntpdate, and generate a message only if ntpdate returns
an error result.  Or run ntpd...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble installing new printer

2006-01-16 Thread ivan . roth
Hi all,

my previous (and still unanswered) message was:

---
Hi,

I just bought a Canon i865 yesterday. This is my first printer install on
FreeBSD. I, of course, followed the steps described in the handbook. But when
running the really simple 'lptest  /dev/lpt0' command, nothing happened,
excepted the flashing light on the printer.

The flashing time is depending of the job size, i.e. the light is flashing
longer with lptest  /dev/lpt0 than with lptest 20 5  /dev/lpt0.

I decided to go a bit firther and configured /etc/printcap, and activated the lf
capability.

And running lptest 20 5 | lpr -Pmy-printer gave again the same result.

I tried many research on the net but could not find anything useful. I am now
installing apsfilter but ask you for some help during the compilation process.

Thank you.
---

So now I installed apsfilter and had to choose a driver. I tested Canon BJC-800
and two or three from the BJC-8200 (said mostly compatible).

Ok, I got a printed output, but my printers needs approx. 5 minutes for a simple
plain text page. That is quite painfuly slow, isn't it ?

I even tried the turboprint driver, but got nothing whith it.

So at that point:
- I can print
- I can go to sleep for a whole week before getting one chapter from the
handbook printed.


Do you have anything to suggest to me ?

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


Re: trouble installing new printer

2006-01-16 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Hi all,
 
 my previous (and still unanswered) message was:
 
 ---
 Hi,
 
 I just bought a Canon i865 yesterday. This is my first printer install on
 FreeBSD. I, of course, followed the steps described in the handbook. But when
 running the really simple 'lptest  /dev/lpt0' command, nothing happened,
 excepted the flashing light on the printer.
 
 The flashing time is depending of the job size, i.e. the light is flashing
 longer with lptest  /dev/lpt0 than with lptest 20 5  /dev/lpt0.
 
 I decided to go a bit firther and configured /etc/printcap, and activated the 
 lf
 capability.
 
 And running lptest 20 5 | lpr -Pmy-printer gave again the same result.
 
 I tried many research on the net but could not find anything useful. I am now
 installing apsfilter but ask you for some help during the compilation process.
 
 Thank you.
 ---
 
 So now I installed apsfilter and had to choose a driver. I tested Canon 
 BJC-800
 and two or three from the BJC-8200 (said mostly compatible).
 
 Ok, I got a printed output, but my printers needs approx. 5 minutes for a 
 simple
 plain text page. That is quite painfuly slow, isn't it ?
 
 I even tried the turboprint driver, but got nothing whith it.
 
 So at that point:
 - I can print
 - I can go to sleep for a whole week before getting one chapter from the
 handbook printed.
 
 
 Do you have anything to suggest to me ?

You're probably running into problems with the parallel driver rather
than the ghostscript (printer) driver.  Try setting the parallel port
to polling.  (See the FreeBSD FAQ entry for My parallel printer is
ridiculously slow. What can I do?.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: webcam usb device

2006-01-16 Thread dick hoogendijk
On Sun, 15 Jan 2006 10:20:21 +0100
dick hoogendijk [EMAIL PROTECTED] wrote:

 I have a Logiteck QuickCam Chat webcam (USB-2)
 The device is detected alright. But I cannot get it to work.
 Kopete (KDE)  i.e. does not see the device.
 
 I have two questions:
 (a) do I need to load some kind of *.ko file (like for the soundcards)
 to use a webcam under freebsd-6R?
 (b) what program is useful in testing this (web) usb-camera?
 Hope to get some advice.

Nobody reacted. So either I'm stupid and just should know how these
things work in FreeBSD, or people didn't have time yet to respond.

I googled a lot on webcam and freebsd but could not find something
relevant. I did read somewhre that on linux one has to create
a /dev/video* which on my fbsd-6R does not exist. I trust devfs should
have made one if needed..

I still at a loss on how to use my webcam on freebsd. It shouldn't be
too hard I'm told. Well, whatever.. It is in dmesg, but further than
that it can not be used. Who has some pointers?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Raising temperature threshold

2006-01-16 Thread chris
Some sysctl's can not be changed on a running system try reading the
defaults/loader.conf in /boot/ see if you can change the acpi thermal
setting in there if not just add those sysctl with a = 50C etc.. to
loader.conf and reboot


 On Wed, Jun 22, 2005 at 01:52:22PM -0300, Matthew Flanagan wrote:
 On 22 Jun 2005 11:46:31 -0400, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  Matthew Flanagan [EMAIL PROTECTED] writes:
 
   I`ve installed a FreeBSD 5.4-STABLE and I was building some ports
 when
   suddenly my system shut down. Upon rebooting it and checking
   /var/log/messages, I found the following lines:
  
   Jun 21 16:01:30 bell root: WARNING: system temperature too high,
   shutting down soon!
   Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature
   (60.0C) exceeds safe limits
  
   Then I realized what had happened. My acpi_thermal sysctl's are:
  
   hw.acpi.thermal.min_runtime: 0
   hw.acpi.thermal.polling_rate: 10
   hw.acpi.thermal.tz0.temperature: 50.0C
   hw.acpi.thermal.tz0.active: 0
   hw.acpi.thermal.tz0.thermal_flags: 1
   hw.acpi.thermal.tz0._PSV: 50.0C
   hw.acpi.thermal.tz0._HOT: -1
   hw.acpi.thermal.tz0._CRT: 60.0C
   hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
  
   When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the
  threshold in
   the BIOS setup) it doesn't work:
  
   bell# sysctl hw.acpi.thermal.tz0._CRT=3580  # 3580 tenths of
 Kelvin=85C
   sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only
  
   I've tried /etc/sysctl.conf as well, but I get the same error.
  
   Now, my question is: how do I change this value? I've read several
  manpages
   (acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked
 the
   handbook, to no avail. Can anyone point me to the right direction?
 
  Can it be set at boot time?  [from the loader?]

 Perhaps, but loader(8) lists the kernel tunable parameters available,
 and
 hw.acpi.thermal.tz%d._CRT isn't one of them.

 Did you ever discover a resolution to this? I have a Shuttle SN95G5
 system that is doing the same thing. To make matters worse, it appears
 that the hw.acpi.thermal.tz0.temperature value that is being returned is
 5 to 10 degrees higher than what BIOS thinks (I am inclined to believe
 the BIOS on this one). I can change the CPU fan speed settings in the
 BIOS. It has pretty extensive control of this, with the default setting
 of SMART FAN where it controls fan speed based on CPU temperature.
 Unfortunately, in that mode the hw.acpi.thermal.tz0.temperature slews to
 60C (while BIOS reads below 50C) before the fan has sped up enough. I
 can also set the fan speed control to fixed, relatively higher values,
 but the fan noise is then bothersome.

 So, anyone know where the 60C value for hw.acpi.thermal.tz0._CRT is
 derived from and how to change it?

 Thanks,
 Bob



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

 --
 Bob Willcox   Maintainer's Motto:
 [EMAIL PROTECTED]If we can't fix it, it ain't broke.
 Austin, TX
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


Re: Raising temperature threshold

2006-01-16 Thread Bob Willcox
On Mon, Jan 16, 2006 at 11:51:39AM -0600, [EMAIL PROTECTED] wrote:
 Some sysctl's can not be changed on a running system try reading the
 defaults/loader.conf in /boot/ see if you can change the acpi thermal
 setting in there if not just add those sysctl with a = 50C etc.. to
 loader.conf and reboot

This didn't seem to work. I tried putting the following:

hw.acpi.thermal.tz0._CRT=70

into both /boot/loader.conf and /etc/sysctl.conf to no avail (value
remained at 60).


Bob

 
 
  On Wed, Jun 22, 2005 at 01:52:22PM -0300, Matthew Flanagan wrote:
  On 22 Jun 2005 11:46:31 -0400, Lowell Gilbert
  [EMAIL PROTECTED] wrote:
   Matthew Flanagan [EMAIL PROTECTED] writes:
  
I`ve installed a FreeBSD 5.4-STABLE and I was building some ports
  when
suddenly my system shut down. Upon rebooting it and checking
/var/log/messages, I found the following lines:
   
Jun 21 16:01:30 bell root: WARNING: system temperature too high,
shutting down soon!
Jun 21 16:01:40 bell kernel: acpi_tz0: WARNING - current temperature
(60.0C) exceeds safe limits
   
Then I realized what had happened. My acpi_thermal sysctl's are:
   
hw.acpi.thermal.min_runtime: 0
hw.acpi.thermal.polling_rate: 10
hw.acpi.thermal.tz0.temperature: 50.0C
hw.acpi.thermal.tz0.active: 0
hw.acpi.thermal.tz0.thermal_flags: 1
hw.acpi.thermal.tz0._PSV: 50.0C
hw.acpi.thermal.tz0._HOT: -1
hw.acpi.thermal.tz0._CRT: 60.0C
hw.acpi.thermal.tz0._ACx: 50.0C -1 -1 -1 -1 -1 -1 -1 -1 -1
   
When I try to raise hw.acpi.thermal.tz0._CRT to 85C (which is the
   threshold in
the BIOS setup) it doesn't work:
   
bell# sysctl hw.acpi.thermal.tz0._CRT=3580  # 3580 tenths of
  Kelvin=85C
sysctl: oid 'hw.acpi.thermal.tz0._CRT' is read only
   
I've tried /etc/sysctl.conf as well, but I get the same error.
   
Now, my question is: how do I change this value? I've read several
   manpages
(acpi(4), acpi_thermal(4), acpiconf(8), and many others) and checked
  the
handbook, to no avail. Can anyone point me to the right direction?
  
   Can it be set at boot time?  [from the loader?]
 
  Perhaps, but loader(8) lists the kernel tunable parameters available,
  and
  hw.acpi.thermal.tz%d._CRT isn't one of them.
 
  Did you ever discover a resolution to this? I have a Shuttle SN95G5
  system that is doing the same thing. To make matters worse, it appears
  that the hw.acpi.thermal.tz0.temperature value that is being returned is
  5 to 10 degrees higher than what BIOS thinks (I am inclined to believe
  the BIOS on this one). I can change the CPU fan speed settings in the
  BIOS. It has pretty extensive control of this, with the default setting
  of SMART FAN where it controls fan speed based on CPU temperature.
  Unfortunately, in that mode the hw.acpi.thermal.tz0.temperature slews to
  60C (while BIOS reads below 50C) before the fan has sped up enough. I
  can also set the fan speed control to fixed, relatively higher values,
  but the fan noise is then bothersome.
 
  So, anyone know where the 60C value for hw.acpi.thermal.tz0._CRT is
  derived from and how to change it?
 
  Thanks,
  Bob
 
 
 
  Cheers,
  Matt
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
  --
  Bob Willcox   Maintainer's Motto:
  [EMAIL PROTECTED]If we can't fix it, it ain't broke.
  Austin, TX
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 

-- 
Bob Willcox   Maintainer's Motto:
[EMAIL PROTECTED]If we can't fix it, it ain't broke.
Austin, TX
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup6.us.freebsd.org worthless?

2006-01-16 Thread Elliot Finley
- Original Message - 
From: Bob Johnson [EMAIL PROTECTED]
On 1/11/06, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Elliot Finley wrote:

 Connected to cvsup6.us.freebsd.org
 Server message: Collection ports-all release cvs is not available
here
 
 
 also, the same thing with src-all.  Is this temporary or permanent?
 
[...]

 If you would show your supfile ... I'm guessing it's a config issue,
 but not enough info here to say positively.
[...]

}cvsup6 has been refusing connections for several days.  If it is
}accepting them now, that's an improvement.  Perhaps they are bringing
}it back up and don't have everything loaded yet.

I think it would be better for cvsup6 not to respond at all, rather than
respond but have no content.  As it is, it breaks fastest_cvsup.

Elliot

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


Re: webcam usb device

2006-01-16 Thread Andrew P.
On 1/16/06, dick hoogendijk [EMAIL PROTECTED] wrote:
 On Sun, 15 Jan 2006 10:20:21 +0100
 dick hoogendijk [EMAIL PROTECTED] wrote:

  I have a Logiteck QuickCam Chat webcam (USB-2)
  The device is detected alright. But I cannot get it to work.
  Kopete (KDE)  i.e. does not see the device.
 
  I have two questions:
  (a) do I need to load some kind of *.ko file (like for the soundcards)
  to use a webcam under freebsd-6R?
  (b) what program is useful in testing this (web) usb-camera?
  Hope to get some advice.

 Nobody reacted. So either I'm stupid and just should know how these
 things work in FreeBSD, or people didn't have time yet to respond.

 I googled a lot on webcam and freebsd but could not find something
 relevant. I did read somewhre that on linux one has to create
 a /dev/video* which on my fbsd-6R does not exist. I trust devfs should
 have made one if needed..

 I still at a loss on how to use my webcam on freebsd. It shouldn't be
 too hard I'm told. Well, whatever.. It is in dmesg, but further than
 that it can not be used. Who has some pointers?

 --
 dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
 ++ Running FreeBSD 6.0 ++ The Power to Serve
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


As a matter of fact google comes up with a few useful links:

http://www.google.com/search?q=webcam+freebsd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2006-01-16 Thread ivan . roth
Hi Jon,

First thank you for your reply (same thank to Lowell Gilbert).

I tried to change the mode with lptcontrol -p -d /dev/lpt0 but that is even
worth because I have no more output at all!

I am a bit lost between all the confguration files now. CUPS, apsfilter and
friends is too much in one day :)

Can you tell me where to install an especially downloaded ppd file?

Now my printer's led is flashing permanently, but nothing else happenned.

I never thank that printing would be that much exciting and full of suspense :)



Hello Ivan:

On 1/16/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 So at that point:
 - I can print
 - I can go to sleep for a whole week before getting one chapter from the
 handbook printed.


  I have the same problem using foomatic-rip and lpd, on NetBSD 3. I
have not tried printing recently with CUPS. I did google on Slow
printing site:linuxprinting.org and got hundreds of hits. We are not
the only ones who have this problem. Of course there were no definite
answers to this problem.  One suggestion was to change the /dev/lpt*
from interrupt to polling, using lptcontrol. This is man 4 lpt, for
the manual page.

I did look at my *ppd file and saw that my resolution was set at the
highest level. I am still looking into this but I have no definite
answer either. I am hesitant to tinker with the way /dev/lpt* queries
it's requests.

--
Kind regards,
Jonathan


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


Re: Partitioning

2006-01-16 Thread RW
On Monday 16 January 2006 07:20, Malcolm Kay wrote:
 On Mon, 16 Jan 2006 04:03 am, Jona Joachim wrote:

 
  After creating a slice I created the partitions inside it with
  disklabel. In every example I saw the swap partition was in
  the second place. However, I want it to be in the beginning of
  the disk as this should result in better performance. Are
  there any concerns about this layout? I basically used the
  standards mentioned by the manual pages of disklabel:
 
  8 partitions:
  # size   offsetfstype [fsize   bsize bps/cpg]
a: 2g  *  swap
b:   *  *  4.2BSD  4096 16384  64
c:   *  *   unused

 Partition 'a' for root and 'b' for swap is a strongly established
 convention and departure could lead to all sorts of hassles.

 If you must have swap earlier than the root partition then retain
 the labels but change the positions -- that is set the offset of
 'a' so that it falls after 'b' and set the 'b' partition at or
 near the beginning of the slice.

 To me it it is not entirely clear whether reservations for things
 like disklabels are not automatically taken care of when 'a' is
 the first partition in the slice, so I suggest if you place the
 'b' partition first you do this with an offset of 16 sectors.

If you use sysinstall for this, it's all handled automatically. You will end 
up with 'b' and 'd'  partitions for swap and data, and no 'a' partition. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: webcam usb device

2006-01-16 Thread dick hoogendijk
On 16 Jan Andrew P. wrote:
 On 1/16/06, dick hoogendijk [EMAIL PROTECTED] wrote:
  I googled a lot on webcam and freebsd but could not find something
  relevant. I did read somewhre that on linux one has to create
  a /dev/video* which on my fbsd-6R does not exist. I trust devfs should
  have made one if needed..
 
  I still at a loss on how to use my webcam on freebsd. It shouldn't be
  too hard I'm told. Well, whatever.. It is in dmesg, but further than
  that it can not be used. Who has some pointers?
 
 
 As a matter of fact google comes up with a few useful links:
 http://www.google.com/search?q=webcam+freebsd

Sure, but they all relate to some kind of live cam broadcasting. That's
not what I'm looking for. I just wonder WHY the cam is detected at boot
time and cannot be found i.e. by kopete. If it exists it should be found
somewhere shouldn't it?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.0 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: webcam usb device

2006-01-16 Thread Lowell Gilbert
dick hoogendijk [EMAIL PROTECTED] writes:

 On 16 Jan Andrew P. wrote:
  On 1/16/06, dick hoogendijk [EMAIL PROTECTED] wrote:
   I googled a lot on webcam and freebsd but could not find something
   relevant. I did read somewhre that on linux one has to create
   a /dev/video* which on my fbsd-6R does not exist. I trust devfs should
   have made one if needed..
  
   I still at a loss on how to use my webcam on freebsd. It shouldn't be
   too hard I'm told. Well, whatever.. It is in dmesg, but further than
   that it can not be used. Who has some pointers?
  
  
  As a matter of fact google comes up with a few useful links:
  http://www.google.com/search?q=webcam+freebsd
 
 Sure, but they all relate to some kind of live cam broadcasting. That's
 not what I'm looking for. I just wonder WHY the cam is detected at boot
 time and cannot be found i.e. by kopete. If it exists it should be found
 somewhere shouldn't it?

Not necessarily.

What are the actual messages at boot time?
Is a driver attached to the device?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: External USB drive on Sun HW

2006-01-16 Thread Aaron Burruss
Anyone have any ideas here?

On 1/13/06, Aaron Burruss [EMAIL PROTECTED] wrote:

 Hi there,

 I'm looking for some help on a problem I'm having with a new setup I've
 got... I'm running sparc64 6.0 and also have an external USB drive
 enclosure with a 250GB IDE drive in it.  The drive is formatted as a BSD
 partition (formatting done on another box).

 I've got the following in my kernel:

 # USB support
 device uhci # UHCI PCI-USB interface
 device ohci # OHCI PCI-USB interface
 device usb # USB Bus (required)
 device ugen # Generic
 device uhid # Human Interface Devices
 device umass # Disks/Mass storage - Requires scbus and da

 I.m seeing this in dmesg:


 [EMAIL PROTECTED] dmesg |grep -i umass
 umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 umass0: BBB reset failed, TIMEOUT
 umass0: BBB bulk-in clear stall failed, TIMEOUT
 umass0: BBB bulk-out clear stall failed, TIMEOUT
 [EMAIL PROTECTED] dmesg|grep -i usb
 ohci0: Sun PCIO-2 USB controller mem 0xe200-0xe2007fff at device
 12.3 on pci1
 usb0: OHCI version 1.0, legacy support
 usb0: Sun PCIO-2 USB controller on ohci0
 usb0: USB revision 1.0
 ohci1: Sun PCIO-2 USB controller mem 0xe500-0xe5007fff at device 5.3on 
 pci1
 usb1: OHCI version 1.0, legacy support
 usb1: Sun PCIO-2 USB controller on ohci1
 usb1: USB revision 1.0
 umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2



usbdevs shows:

[EMAIL PROTECTED] usbdevs -v
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x),
(0x108e)(0x), rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x),
(0x108e)(0x), rev 1.00
port 1 addr 2: full speed, self powered, config 1, product 0x0702(0x0702),
vendor 0x05e3(0x05e3), rev 0.33
port 2 powered
port 3 powered
port 4 powered

 My primary hard drives are da0 and da1 (all the how-to's say that daX
 should be where I mount.. but /dev only has my two primary drives:

 -su-2.05b# ls -la /dev/da*
 crw-r- 1 root operator 4, 16 Dec 20 20:11 /dev/da0
 crw-r- 1 root operator 4, 18 Dec 20 12:11 /dev/da0a
 crw-r- 1 root operator 4, 19 Dec 20 20:11 /dev/da0b
 crw-r- 1 root operator 4, 20 Dec 20 20:11 /dev/da0c
 crw-r- 1 root operator 4, 17 Dec 20 20:11 /dev/da1
 crw-r- 1 root operator 4, 21 Dec 20 20:11 /dev/da1c
 crw-r- 1 root operator 4, 22 Dec 20 12:11 /dev/da1d

 -su-2.05b# dmesg|grep da.:
 da0: FUJITSU MAN3367M SUN36G 1502 Fixed Direct Access SCSI-2 device
 da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
 Enabled
 da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
 da1: FUJITSU MAN3367M SUN36G 1502 Fixed Direct Access SCSI-2 device
 da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
 Enabled
 da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)

 I can plug this into my AMD64 running FreeBSD 6, and it comes up with no
 problems.

 I THINK I'm probably missing something totally dumb... Anyone got any help
 for me on this?

 Yah.. I know.. get an i386 box with IDE drives.  :) This is a small 1U
 box, and fits in my closet well. so I'd like to use it if possible.

 Thanks!!!
 Aaron


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


PicoBSD Dummynet/bridge errors

2006-01-16 Thread Tyler T
Hi,

I just did a default installation of FreeBSD 6.0-RELEASE. I ran the
PicoBSD script in an attempt to create a DummyNet floppy, but I got
the following error:
http://tinypic.com/kcmjnt.gif
It says I have lots of undefined references such as gctl_getr_handle,
gctl_ro_param, gctl_issue, and gctl_free.

I tried it again and got pretty much the same thing:
http://tinypic.com/kcmjq8.gif

Also, if I try to use the menu to edit the kernel or crunch files,
after I edit (whether I change anything or not) and exit vi I get:
http://tinypic.com/kcmjic.gif
Says rm: /tmp/reply.[UID]: No such file or directory and dumps me
out of the menu system.

I've used Linux quite a bit but this is my first time with FreeBSD.
Like I said, I just did a default installation of FreeBSD 6.0. Is
there something special I have to do when installing FreeBSD to get
the PicoBSD/DummyNet script to work, or are these bugs? I am logged in
as root.

Alternatively, if someone has a premade DummyNet floppy image with the
'fxp' Intel PCI NIC drivers built into it, that's all I really need.
The prebuilt DummyNet images I've found online are all very old and
don't recognize my Intel PCI NICs.

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


How do I subscribe to this list?

2006-01-16 Thread Rick McCombs


How do I subscribe to this list?
I could not find on the web how to subcribe.
I tried majordomo and apparently there is no majordomo.

Thanks


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


Re: webcam usb device

2006-01-16 Thread Tofik Suleymanov

dick hoogendijk wrote:


On 16 Jan Andrew P. wrote:
 


On 1/16/06, dick hoogendijk [EMAIL PROTECTED] wrote:
   


I googled a lot on webcam and freebsd but could not find something
relevant. I did read somewhre that on linux one has to create
a /dev/video* which on my fbsd-6R does not exist. I trust devfs should
have made one if needed..

I still at a loss on how to use my webcam on freebsd. It shouldn't be
too hard I'm told. Well, whatever.. It is in dmesg, but further than
that it can not be used. Who has some pointers?

 


As a matter of fact google comes up with a few useful links:
http://www.google.com/search?q=webcam+freebsd
   



Sure, but they all relate to some kind of live cam broadcasting. That's
not what I'm looking for. I just wonder WHY the cam is detected at boot
time and cannot be found i.e. by kopete. If it exists it should be found
somewhere shouldn't it?

 

Sorry, i didn't follow the discussion... could you please post your 
dmesg line related to your web-camera ? There are plenty of user-land 
programs working well with generic usb driver: /dev/ugen.Did you already 
try them ?

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


Re: External USB drive on Sun HW

2006-01-16 Thread Dan Nelson
In the last episode (Jan 16), Aaron Burruss said:
 Anyone have any ideas here?
 
 On 1/13/06, Aaron Burruss [EMAIL PROTECTED] wrote:
 
  Hi there,
 
  I'm looking for some help on a problem I'm having with a new setup I've
  got... I'm running sparc64 6.0 and also have an external USB drive
  enclosure with a 250GB IDE drive in it.  The drive is formatted as a BSD
  partition (formatting done on another box).
 
  I've got the following in my kernel:
 
  # USB support
  device uhci # UHCI PCI-USB interface
  device ohci # OHCI PCI-USB interface
  device usb # USB Bus (required)
  device ugen # Generic
  device uhid # Human Interface Devices
  device umass # Disks/Mass storage - Requires scbus and da
 
  I.m seeing this in dmesg:
 
 
  [EMAIL PROTECTED] dmesg |grep -i umass
  umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
  umass0: BBB bulk-out clear stall failed, TIMEOUT
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
  umass0: BBB bulk-out clear stall failed, TIMEOUT
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
  umass0: BBB bulk-out clear stall failed, TIMEOUT
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
  umass0: BBB bulk-out clear stall failed, TIMEOUT
  umass0: BBB reset failed, TIMEOUT
  umass0: BBB bulk-in clear stall failed, TIMEOUT
  umass0: BBB bulk-out clear stall failed, TIMEOUT
  [EMAIL PROTECTED] dmesg|grep -i usb
  ohci0: Sun PCIO-2 USB controller mem 0xe200-0xe2007fff at device
  12.3 on pci1
  usb0: OHCI version 1.0, legacy support
  usb0: Sun PCIO-2 USB controller on ohci0
  usb0: USB revision 1.0
  ohci1: Sun PCIO-2 USB controller mem 0xe500-0xe5007fff at device 
  5.3on pci1
  usb1: OHCI version 1.0, legacy support
  usb1: Sun PCIO-2 USB controller on ohci1
  usb1: USB revision 1.0
  umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
 
 usbdevs shows:
 
 [EMAIL PROTECTED] usbdevs -v
 Controller /dev/usb1:
 addr 1: full speed, self powered, config 1, OHCI root hub(0x), 
 (0x108e)(0x), rev 1.00
 port 1 addr 2: full speed, self powered, config 1, product 0x0702(0x0702), 
 vendor 0x05e3(0x05e3), rev 0.33
 port 2 powered
 port 3 powered
 port 4 powered

There's already a quirk entry for that vendor/product combo so someone
has gotten it working..  Maybe a bug in the ohci driver when talking to
Sun PCIO-2 hardware?

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


Re: How do I subscribe to this list?

2006-01-16 Thread Giorgos Keramidas
On 2006-01-16 13:05, Rick McCombs [EMAIL PROTECTED] wrote:

 How do I subscribe to this list?
 I could not find on the web how to subcribe.
 I tried majordomo and apparently there is no majordomo.

The list is now managed by mailman.  See:

http://lists.freebsd.org/mailman/listinfo/freebsd-questions

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


Re: How do I subscribe to this list?

2006-01-16 Thread Kövesdán Gábor

Rick McCombs wrote:



How do I subscribe to this list?
I could not find on the web how to subcribe.
I tried majordomo and apparently there is no majordomo.

Go to http://lists.freebsd.org/mailman/listinfo and choose the list You 
want to subscribe. Fill in the form, and follow the insructions.


Regards,

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


Re: How do I subscribe to this list?

2006-01-16 Thread Ian Lord

Check out http://www.freebsd.org/community/mailinglists.html

More specifically: http://lists.freebsd.org/mailman/listinfo/freebsd-questions

At 14:05 2006-01-16, Rick McCombs wrote:


How do I subscribe to this list?
I could not find on the web how to subcribe.
I tried majordomo and apparently there is no majordomo.

Thanks


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

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


Re: How do I subscribe to this list?

2006-01-16 Thread Andreas Rudisch
On Mon, 2006-01-16 at 13:05 -0600, Rick McCombs wrote:
 How do I subscribe to this list?
 I could not find on the web how to subcribe.
 I tried majordomo and apparently there is no majordomo.
 
 Thanks

http://www.freebsd.org/community/mailinglists.html

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

-- 
GnuPG key  : 0x2A573565  |  http://cyb.websimplex.de/pubkey.asc
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


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


(FreeBSD i386 6.0 Release) Does nat that is build in to userland ppp work with the Generic Kernel?

2006-01-16 Thread Rick McCombs
Should I be able to get the nat option in ppp to work with the Generic
kernel in 6.0 release?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


log file rotation

2006-01-16 Thread Jason King
My maillog and daillog files have stopped rotating everyday like they
use to. I have 2 FBSD machines that have stopped these files from
rotating as of Dec 15th. I have no idea what could have caused two
different machines to have the same thing happen to them. The entry in
my newsyslog.conf file is correct. There is no reason these files
shouldn't be rotating daily like before. Anyone have any ideas on what
to look for?

Thanks

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


Re: log file rotation

2006-01-16 Thread Dan O'Connor

My maillog and daillog files have stopped rotating everyday like they
use to. I have 2 FBSD machines that have stopped these files from
rotating as of Dec 15th. I have no idea what could have caused two
different machines to have the same thing happen to them. The entry in
my newsyslog.conf file is correct. There is no reason these files
shouldn't be rotating daily like before. Anyone have any ideas on what
to look for?


Only thing I can think of is to check /etc/newsyslog.conf and make sure 
the lines


   /var/log/daily.log  640  7 *@T00  JN
   /var/log/maillog640  7 *@T00  JC

are still there.

~Dan


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


FreeBSD advocacy PDF?

2006-01-16 Thread Jorge Mario G. Mazo
hi there
some months ago I saw a FreeBSD advocacy PDF, it was
really nice and small
I've been looking for it since I'm going to CON and
I'll to have it in our booth... if anybody knows what
I'm talking about please let me know.


Thanks

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.espanol.yahoo.com/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFSV4

2006-01-16 Thread Albert Shih
Hi all.

Anyone known the quality of mount_nfs4 ? And where can I find a nfsv4
server ? Of course I prefer on my FreeBSD box ;-))

Regards.


--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Mon Jan 16 22:42:07 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: log file rotation

2006-01-16 Thread David Kelly
On Mon, Jan 16, 2006 at 02:50:16PM -0600, Jason King wrote:
 My maillog and daillog files have stopped rotating everyday like they
 use to. I have 2 FBSD machines that have stopped these files from
 rotating as of Dec 15th. I have no idea what could have caused two
 different machines to have the same thing happen to them. The entry in
 my newsyslog.conf file is correct. There is no reason these files
 shouldn't be rotating daily like before. Anyone have any ideas on what
 to look for?

Try running newsyslog manually. If that works then its supposed to be
run every hour on the hour out of /etc/crontab.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD advocacy PDF?

2006-01-16 Thread Murray Taylor
try this site - you may find what you are looking for

http://www.koetze.net/index.php?option=contenttask=viewid=49

(Google:  FreeBSD advocacy PDF )

Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein 

Murray Taylor
Bytecraft Systems


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jorge Mario G. Mazo
 Sent: Tuesday, January 17, 2006 8:39 AM
 To: freebsd-questions@freebsd.org
 Subject: FreeBSD advocacy PDF?
 
 hi there
 some months ago I saw a FreeBSD advocacy PDF, it was
 really nice and small
 I've been looking for it since I'm going to CON and
 I'll to have it in our booth... if anybody knows what
 I'm talking about please let me know.
 
 
 Thanks
 
 __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
 Regístrate ya - http://correo.espanol.yahoo.com/ 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 ***This Email has been scanned for Viruses by MailMarshal.***
 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (FreeBSD i386 6.0 Release) Does nat that is build in to userland ppp work with the Generic Kernel?

2006-01-16 Thread Kevin Kinsey

Rick McCombs wrote:

Should I be able to get the nat option in ppp to 
work with the Generic

kernel in 6.0 release?
 



Yes, it should Just Work; or, at least it
has for me all through 5.X

Kevin Kinsey

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


RE: FreeBSD advocacy PDF?

2006-01-16 Thread Murray Taylor
http://linux.oreilly.com/news/bsd_ss.pdf

and here too

Murray T 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Murray Taylor
 Sent: Tuesday, January 17, 2006 9:37 AM
 To: Jorge Mario G. Mazo; freebsd-questions@freebsd.org
 Subject: RE: FreeBSD advocacy PDF?
 
 try this site - you may find what you are looking for
 
 http://www.koetze.net/index.php?option=contenttask=viewid=49
 
 (Google:  FreeBSD advocacy PDF )
 
 Any intelligent fool can make things bigger and more 
 complex... It takes a
 touch of genius - and a lot of courage to move in the 
 opposite direction.
 --Albert Einstein 
 
 Murray Taylor
 Bytecraft Systems
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  Jorge Mario G. Mazo
  Sent: Tuesday, January 17, 2006 8:39 AM
  To: freebsd-questions@freebsd.org
  Subject: FreeBSD advocacy PDF?
  
  hi there
  some months ago I saw a FreeBSD advocacy PDF, it was
  really nice and small
  I've been looking for it since I'm going to CON and
  I'll to have it in our booth... if anybody knows what
  I'm talking about please let me know.
  
  
  Thanks
  
  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo.espanol.yahoo.com/ 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
  ***This Email has been scanned for Viruses by MailMarshal.***
  
 ---
 The information transmitted in this e-mail is for the exclusive
 use of the intended addressee and may contain confidential
 and/or privileged material. Any review, re-transmission,
 dissemination or other use of it, or the taking of any action
 in reliance upon this information by persons and/or entities
 other than the intended recipient is prohibited. If you
 received this in error, please inform the sender and/or
 addressee immediately and delete the material. 
 
 E-mails may not be secure, may contain computer viruses and
 may be corrupted in transmission. Please carefully check this
 e-mail (and any attachment) accordingly. No warranties are
 given and no liability is accepted for any loss or damage
 caused by such matters.
 ---
 
 ***This Email has been scanned for Viruses by MailMarshal.***
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 ***This Email has been scanned for Viruses by MailMarshal.***
 
---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

***This Email has been scanned for Viruses by MailMarshal.***
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Need help getting OpenOffice to work on FreeBSD 6.0-release

2006-01-16 Thread umagnum338
I installed the package for OpenOffice 2.0 for FreeBSD 6.0 (which needed 
openssl-beta, which I installed).  Now, when trying to run OpenOffice I get:

/libexec/ld-elf.so.1: Shared object libuno_sal.so.3 not found, required by 
javaldx
/libexec/ld-elf.so.1: Shared object libvcl680fi.so not found, required by 
soffice.bin

I put symlinks in /usr/local/lib to these files using their names (i.e. the 
symlinks are the same names as the files), the files were installed to:

/usr/local/openoffice.org2.0.0/program

So, I figured that ldconfig would take care of everything on the next bootup.  
Well, I'm still getting the same problem.  I did ldconfig -r | grep 
for_the_files.  ldconfig knows about libuno_sal.so.3 but not 
libvcl680fi.so.  I suspect it's because libvcl680fi.so doesn't follow the 
libsomething.so.[0-9] convention being looked for (as is spelled out in the 
man page).

So, my question is simple.  Can anyone help me get OpenOffice running?

Thanks,
Andy

__
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mconfig html demo URL

2006-01-16 Thread Linux Guru
Would any freebsd guys be interested in the concept of
an HTML interface for kernel configuration - the demo
is
below. It could be modified to config the freebsd
kernel
for building - the tarball below is a proof of concept
program that is currently written for Linux:

http://www.geocities.com/linuxguru1968/mconfig-0.20-01-05-05-demo.tgz



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


Re: how to use ipod nano in freebsd 6.0

2006-01-16 Thread Mike Hernandez
Just so very recently, someone said:
 | hello all, i have ipod nano and im using freebsd 6.0.
 | DMESG command display (umass0: Apple iPod, rev 2.00/0.01, addr 2) 
 message.The iPod nano is detected when 
 | plugged in, but a daX device is not created. please help me

I get that too with the 30GB iPod I just bought. I think there's an issue
preventing new iPods from working with FreeBSD. I even formatted mine
for windows since it's easier to read vfat rather than HFS. Still nothing.
If you get your nano workin please let me know :)

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


Re: log file rotation

2006-01-16 Thread Garance A Drosehn

At 2:50 PM -0600 1/16/06, Jason King wrote:

My maillog and daillog files have stopped rotating everyday
like they use to. I have 2 FBSD machines that have stopped
these files from rotating as of Dec 15th. I have no idea what
could have caused two different machines to have the same
thing happen to them. The entry in my newsyslog.conf file is
correct. There is no reason these files shouldn't be rotating
daily like before. Anyone have any ideas on what to look for?


Check timestamps on the various files.  perhaps some kind of
timewarp happened.

Check to make sure newsyslog is still being run from cron.
(do you have other files which are rotating, but just those
two are not rotating?)

Run:newsyslog -vv
and see if it tells you anything interesting.

--
Garance Alistair Drosehn =  [EMAIL PROTECTED]
Senior Systems Programmer   or   [EMAIL PROTECTED]
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (FreeBSD i386 6.0 Release) Does nat that is build in to userland ppp work with the Generic Kernel?

2006-01-16 Thread Rick McCombs
Turns out it is working, but I'm having trouble with named.  I guess
I'll figure it out.


On 1/16/06, Kevin Kinsey [EMAIL PROTECTED] wrote:
 Rick McCombs wrote:

 Should I be able to get the nat option in ppp to
 work with the Generic
 kernel in 6.0 release?
 
 

 Yes, it should Just Work; or, at least it
 has for me all through 5.X

 Kevin Kinsey


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


Re: mconfig html demo URL

2006-01-16 Thread chris
Why the kernel config process is 50 times easier then linux's kernel i
dont see the need for a html based kernel config i find it a waste of time
but i don't know maybe other people would like it ?

Programing wise would this be done as one big cgi program or how would it
work ?


 Would any freebsd guys be interested in the concept of
 an HTML interface for kernel configuration - the demo
 is
 below. It could be modified to config the freebsd
 kernel
 for building - the tarball below is a proof of concept
 program that is currently written for Linux:

 http://www.geocities.com/linuxguru1968/mconfig-0.20-01-05-05-demo.tgz



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



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


Re: Need help getting OpenOffice to work on FreeBSD 6.0-release

2006-01-16 Thread chris
Try compiling it from scratch seems to me like you installed the wrong
package doesnt matter what the name of the lib is as long as its in the
path even though it takes hours try compiling it from source

 I installed the package for OpenOffice 2.0 for FreeBSD 6.0 (which needed
 openssl-beta, which I installed).  Now, when trying to run OpenOffice I
 get:

 /libexec/ld-elf.so.1: Shared object libuno_sal.so.3 not found, required
 by javaldx
 /libexec/ld-elf.so.1: Shared object libvcl680fi.so not found, required
 by soffice.bin

 I put symlinks in /usr/local/lib to these files using their names (i.e.
 the symlinks are the same names as the files), the files were installed
 to:

 /usr/local/openoffice.org2.0.0/program

 So, I figured that ldconfig would take care of everything on the next
 bootup.  Well, I'm still getting the same problem.  I did ldconfig -r |
 grep for_the_files.  ldconfig knows about libuno_sal.so.3 but not
 libvcl680fi.so.  I suspect it's because libvcl680fi.so doesn't follow
 the libsomething.so.[0-9] convention being looked for (as is spelled out
 in the man page).

 So, my question is simple.  Can anyone help me get OpenOffice running?

 Thanks,
 Andy

 __
 Switch to Netscape Internet Service.
 As low as $9.95 a month -- Sign up today at
 http://isp.netscape.com/register

 Netscape. Just the Net You Need.

 New! Netscape Toolbar for Internet Explorer
 Search from anywhere on the Web and block those annoying pop-ups.
 Download now at http://channels.netscape.com/ns/search/install.jsp
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]





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


Rescuing the Ethernet Interface after SCB Timeout

2006-01-16 Thread Martin McCormick
One of our FreeBSD systems has begun randomly shutting down
its Ethernet interface.  After doing so, the box continues to try to
run but prints the following errors in syslog:

Jan 16 03:01:23 xx /kernel: fxp0: SCB timeout: 0x70 0x0 0x50 0x400
Jan 16 03:01:24 xx /kernel: fxp0: SCB timeout: 0xf0 0x0 0x50 0x400
Jan 16 03:01:35 xx last message repeated 9 times
Jan 16 03:01:40 xx /kernel: fxp0: device timeout
Jan 16 03:01:40 xx /kernel: fxp0: DMA timeout
Jan 16 03:01:40 xx /kernel: fxp0: DMA timeout

If we reboot, the system may be okay for 4 months or 2 hours,
who knows?  I can write a shell script to look for any new messages
like those shown above so determining that the failure has occurred is
not difficult especially since the system is still running all be it
without a network connection.

Will bringing fxp0 down with ifconfig and then back up as in

ifconfig fxp0 down
sleep 5
ifconfig fxp0 up

restore it to operation again?

I am asking because the system is unreachable when fxp0 is
down.  If one was logged in to that system, is there anything we could
do to rescue it besides a full reboot?

I want to make it rescue itself if it can since these things
always happen on holidays or weekends or at 03:00 in the morning.

This system doesn't die that often, but it is often enough to
take measures to prevent it from needing our laying on of hands at odd
hours.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
OSU Information Technology Department Network Operations Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Time Zone

2006-01-16 Thread Ian Lord

What is the prefered time zone for a web server

Is it better to keep it GMT or local timezone ?

I am in eastern time zone so I need to deal with standard and daily 
saving time...


Thanks

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


80 pin SCSI hard drives.

2006-01-16 Thread je killen
I've obtained two SCSI hard drives made by Maxtor that have 80 pin 
connectors and no power connector port.
This isn't necessarily relevant to FreeBSD accept that i'm planning on 
using them in a FreeBSD installation.
I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact 
Maxtor to get advice on a PCI adapter

and cables to use with these units but haven't gotten a reply.
Can any one give me some info on how to set these drives up hardware 
wise?
 Or if they can be used, maybe I made a mistake getting them, but they 
are 18GB 15 k drives and were $75 apiece
from Tiger Direct. two of them will give me 36 GB to use for a web 
server  /usr and /var partitions. And  ill use SATA

drives for RAID back up.

Thank you in advance.
JK 


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


Re: 80 pin SCSI hard drives.

2006-01-16 Thread Glenn Dawson

At 06:21 PM 1/16/2006, je killen wrote:
I've obtained two SCSI hard drives made by Maxtor that have 80 pin 
connectors and no power connector port.
This isn't necessarily relevant to FreeBSD accept that i'm planning 
on using them in a FreeBSD installation.
I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact 
Maxtor to get advice on a PCI adapter

and cables to use with these units but haven't gotten a reply.
Can any one give me some info on how to set these drives up hardware wise?
 Or if they can be used, maybe I made a mistake getting them, but 
they are 18GB 15 k drives and were $75 apiece
from Tiger Direct. two of them will give me 36 GB to use for a web 
server  /usr and /var partitions. And  ill use SATA

drives for RAID back up.


You need an adapter to use those drives.  Something like this:
http://www.bixnet.com/sca80pinscsi.html

If you look around a bit you can probably find some cheaper.  The 
link above was from a quick search, but there are a lot of places 
that sell the adapters.


-Glenn



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


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


Re: 80 pin SCSI hard drives.

2006-01-16 Thread Alfredo Finelli
On Tuesday 17 January 2006 03:21, je killen wrote:
 I've obtained two SCSI hard drives made by Maxtor that have 80 pin
 connectors and no power connector port.
 This isn't necessarily relevant to FreeBSD accept that i'm planning on
 using them in a FreeBSD installation.
 I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact
 Maxtor to get advice on a PCI adapter
 and cables to use with these units but haven't gotten a reply.
 Can any one give me some info on how to set these drives up hardware
 wise?

Hi,

I have 80 pin SCSI discs mounted in hot-swappable trays on a SCSI 
backplane which takes care also of powering them up and of SCSI 
termination.  This is one way of using them.

I also have the same drives in a different system connected to normal SCSI 
LVD cable using small adaptors which have an 80 pin receptacle on one 
side and a 68 pin SCSI connector plus 4 pin molex power connector on the 
other, as well as jumpers to define SCSI id.  In this second case you 
have to provide the required termination of the SCSI bus (e.g. using the 
right terminated SCSI cable).

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


Re: 80 pin SCSI hard drives.

2006-01-16 Thread Ian Lord

There are called sca or single connect if I'm not wrong...

Most high end servers (sun, hps, ibm, compaq, etc used those)

They are basically 68 pins drive (can be U80, U160 or U320) so you 
just need a regular se scsi adapter for them.


The only difference is that the power is coming though the connector, 
scsi ids are also set by the backplane instead of jumpers at the back 
of the drive...


If you don't plan to put them on a server that has those backplane, 
you can buy a converter from 68 pins to 80 like this one for example:

http://cgi.ebay.com/INTERNAL-SCSI-3-SCA80-pin-to-SCSI-2-IDC50M_W0QQitemZ5853652732QQcategoryZ41993QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

http://cgi.ebay.com/SCA-adapter-80-pin-to-SCSI-I-II-III-68-or-50-Converter_W0QQitemZ8750421043QQcategoryZ11160QQrdZ1QQcmdZViewItem

http://cgi.ebay.com/414-SCSI-Adapter-SCA-80-to-68-to-50-PIN-GIFT_W0QQitemZ8751171361QQcategoryZ167QQrdZ1QQcmdZViewItem

There is a bunch on ebay, just seach for sca 80

it may be hard to fit in your case, just make sure it fits :)

At 21:21 2006-01-16, je killen wrote:
I've obtained two SCSI hard drives made by Maxtor that have 80 pin 
connectors and no power connector port.
This isn't necessarily relevant to FreeBSD accept that i'm planning 
on using them in a FreeBSD installation.
I'm only aware of 50 pin SCSI and 68 pin SCSI. I've tried to contact 
Maxtor to get advice on a PCI adapter

and cables to use with these units but haven't gotten a reply.
Can any one give me some info on how to set these drives up hardware wise?
 Or if they can be used, maybe I made a mistake getting them, but 
they are 18GB 15 k drives and were $75 apiece
from Tiger Direct. two of them will give me 36 GB to use for a web 
server  /usr and /var partitions. And  ill use SATA

drives for RAID back up.

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

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


Re: unable to build ntp

2006-01-16 Thread BSD Questions user
Thanks everyone for the help.  For the archive:
I went to /usr/src/contrib/ntp/ntpdate and edited ntpdate.c.  I searched for
'host found' and changed the stderror to stdout.  I then went to 
/usr/src/usr.sbin/ntp and performed a make install clean.  Problem solved; the 
new 'host found' messages now go to stdout, just like all the other messages, 
so I can dump them to /dev/null, but 'host not found' error messages still show 
up as mail to root.

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


Re: unable to build ntp

2006-01-16 Thread Daniel
On 1/17/06, BSD Questions user [EMAIL PROTECTED] wrote:
 Thanks everyone for the help.  For the archive:
 I went to /usr/src/contrib/ntp/ntpdate and edited ntpdate.c.  I searched for
 'host found' and changed the stderror to stdout.  I then went to 
 /usr/src/usr.sbin/ntp and performed a make install clean.  Problem solved; 
 the new 'host found' messages now go to stdout, just like all the other 
 messages, so I can dump them to /dev/null, but 'host not found' error 
 messages still show up as mail to root.

 Brad

As cron generally uses /bin/sh as the shell (set near the top of
/etc/crontab) you could have used
/usr/sbin/ntpdate -s pool.ntp.org 2/dev/null
instead of
 /usr/sbin/ntpdate -s pool.ntp.org /dev/null
and I believe you could also extend it to 2/dev/null  /dev/null
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rpm equivalent to 'pkg_add -r'?

2006-01-16 Thread Marc G. Fournier


As the subject asks, is there an equivalent?  I'm trying to install 
linux apache2 on a FreeBSD box, and would like have rpm do as much as 
possible as far as getting the dependencies and downloading them ...


baring this, is there a better tool to use then rpm?

thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New FreeBSD 6.0 system advice sought

2006-01-16 Thread JD Arnold

So, I'm building a replacement 6.0 system from the bare metal, moving
over my 4.11 server data after I'm done.  I've started from a minimal 
installation, and I'm looking for some input.


1] Apache - do I stay with 1.3 or move on up to the 2.x branch?

2] MySQL - do I stay with the 3.x (!), or move to the v4 or v5 branch?

3] What would be the best order to do the installation, or does it matter?

* Apache
* MySQL
* mod_php5

I'm really just running it as a web server, with php  MySQL support and
not much else.

--
Jonathan Arnold (mailto:[EMAIL PROTECTED])
Daemon Dancing in the Dark, a FreeBSD weblog:
   http://freebsd.amazingdev.com/blog/

UNIX is user-friendly. It's just a bit picky about who its friends are.

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


X starts OK for root but fails for other user

2006-01-16 Thread Lorin Lund
I get an error message about can't find 'fixed' font. 
The font is there.  fonts.alias is there.  It mentions 'fixed'.  I

don't see anything wrong with the permissions on the font
files, font directories.  The ownership is 'root' (if I recall correctly)

What else should I look for?  What else should I check.
As root I can start gnome or the default .xinitrc.  But as
my usual user id I can't start either one.

I tried to ask this question on
[EMAIL PROTECTED]
but that mail bounced.  Apparently you have to join first but I
didn't see how to do that.

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


Need help for upgrading hardware

2006-01-16 Thread sumardi
Dear all,

I have DELL PowerEdge 8450 Server that act as Mail-Server, using onboard SCSI 
for HDD controller.Now  i want to upgrade the Storage hardware to RAID, using 
DELL PERC3/DC, also known as LSI Logic Elite 1600. 
Can anybody tell me, how to do that without reinstalling?? in linux, i've tried 
by Ghost(copy image) all the entire system, and reinstalling GRUB + initrd to 
boot from the new RAID controller, and it really works well. 
But i still can't find the PERC3/DC driver for FreeBSD 4.11 and didn't sure 
will this work.

Please help me, how to do that.

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


Re: Time Zone

2006-01-16 Thread Carlos A. Carnero Delgado
Hello,

On 1/16/06, Ian Lord [EMAIL PROTECTED] wrote:
 What is the prefered time zone for a web server

 Is it better to keep it GMT or local timezone ?

Both ;) Set the machine's clock to GMT (actually, UTC.) Then set the
correct timezone for your location.

Best regards,
Carlos.
--
nick grah windows just crashed again, unstable crap.
yukito Windows isn't unstable, it's just spontaneous.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rpm equivalent to 'pkg_add -r'?

2006-01-16 Thread Ivan \Rambius\ Ivanov
Hello,

 baring this, is there a better tool to use then rpm?
I am a newbie in freebsd with ambitions to become a master :) and up
to now I have installed tons of software using freebsd ports
collection and freebsd packages and I found them better than rpm.
Anyway, FreeBSD can run rpm as well (if rpm is installed of course :)
).

On 1/17/06, Marc G. Fournier [EMAIL PROTECTED] wrote:

 As the subject asks, is there an equivalent?  I'm trying to install
 linux apache2 on a FreeBSD box, and would like have rpm do as much as
 possible as far as getting the dependencies and downloading them ...
Well, when I installed my FreeBSD on my laptop, I was questioned
whether I would like to run a Web Server and I answered yes, so I had
apache2 installed.

You can compile and install httpd from ports collection with the
following command (as root):
cd /usr/ports/apache20
make install clean

Or you can install from a prebuilt binary package with the command
pkg_add -r apache2.

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


Re: rpm equivalent to 'pkg_add -r'?

2006-01-16 Thread Marc G. Fournier

On Tue, 17 Jan 2006, Ivan Rambius Ivanov wrote:


Hello,


baring this, is there a better tool to use then rpm?

I am a newbie in freebsd with ambitions to become a master :) and up
to now I have installed tons of software using freebsd ports
collection and freebsd packages and I found them better than rpm.
Anyway, FreeBSD can run rpm as well (if rpm is installed of course :)
).

On 1/17/06, Marc G. Fournier [EMAIL PROTECTED] wrote:


As the subject asks, is there an equivalent?  I'm trying to install
linux apache2 on a FreeBSD box, and would like have rpm do as much as
possible as far as getting the dependencies and downloading them ...

Well, when I installed my FreeBSD on my laptop, I was questioned
whether I would like to run a Web Server and I answered yes, so I had
apache2 installed.

You can compile and install httpd from ports collection with the
following command (as root):
cd /usr/ports/apache20
make install clean

Or you can install from a prebuilt binary package with the command
pkg_add -r apache2.


You missed part of the question, but thanks for answering ... 
specifically, I'm tryin to install a linux apache2 binary, with all of the 
linux dependencies that go along with it :)



Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how do I (non-interactively) change a users password in a script ?

2006-01-16 Thread user

/bin/sh script.

Need to change a users password within the script based on a file of
user/pass I am feeding the script.

Easy.

Except the passwd command does not seem to be able to take a password as
an argument - I don't think that the passwd command can run
non-interactively.

So how is this done ?  It looks like the adduser script does it
non-interactively somehow ... but I don't see how.

Thanks.

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


Re: how do I (non-interactively) change a users password in a script ?

2006-01-16 Thread Bill Campbell
On Tue, Jan 17, 2006, user wrote:

/bin/sh script.

Need to change a users password within the script based on a file of
user/pass I am feeding the script.

See ``man pw'', in particular the ``-h fd'' option.

..
Except the passwd command does not seem to be able to take a password as
an argument - I don't think that the passwd command can run
non-interactively.

You can also use expect which is designed for just this sort of thing.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Ah, you know the type.  They like to blame it all on the Jews or the
Blacks, 'cause if they couldn't, they'd have to wake up to the fact that
life's one big, scary, glorious, complex and ultimately unfathomable
crapshoot -- and the only reason THEY can't seem to keep up is they're a
bunch of misfits and losers.''
-- A analysis of Neo-Nazis, from The Badger comic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how do I (non-interactively) change a users password in a script ?

2006-01-16 Thread Garrett Cooper

user wrote:

/bin/sh script.

Need to change a users password within the script based on a file of
user/pass I am feeding the script.

Easy.

Except the passwd command does not seem to be able to take a password as
an argument - I don't think that the passwd command can run
non-interactively.

So how is this done ?  It looks like the adduser script does it
non-interactively somehow ... but I don't see how.

Thanks.
  

   Yes, you can do this:

-h fd This option provides a special interface by which 
interac-
  tive scripts can set an account password using pw.  
Because
  the command line and environment are fundamentally 
insecure

  mechanisms by which programs can accept information, pw
  will only allow setting of account and group 
passwords via

  a file descriptor (usually a pipe between an interactive
  script and the program).  sh, bash, ksh and perl all pos-
  sess mechanisms by which this can be done.  
Alternatively,

  pw will prompt for the user's password if -h 0 is given,
  nominating stdin as the file descriptor on which to read
  the password.  Note that this password will be read only
  once and is intended for use by a script rather than for
  interactive use.  If you wish to have new password 
confir-

  mation along the lines of passwd(1), this must be imple-
  mented as part of an interactive script that calls pw.

  If a value of `-' is given as the argument fd, then the
  password will be set to `*', rendering the account 
inacces-

  sible via password-based login.


   Read more in man 8 pw.
   I'm also sure that there are examples out there as well if you 
search on Google, etc.

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


how to force ucom driver to create /dev/cuaU? for some device?

2006-01-16 Thread Vasil Dimov
Hi all,

I have a device (GPS) that connects to the PC via the USB interface
and I have a software (comms/garmin-utils) that wishes to talk to the
device.

The problem is that the software expects a serial port device, not a USB
one.

The question is how can I make the ucom(4) create a cuaU? entry for my
device?

When I plug the device I get:

ehci_pcd: change=0x20
uhub_explore: status change hub=1 port=5
ehci after reset, status=0x1801
ehci_disown: index=5 lowspeed=0
uhub_explore: status change hub=1 port=1
ehci_pcd: change=0x20
uhub_explore: status change hub=1 port=5
usbd_new_device bus=0x80ad7000 port=1 depth=1 speed=2
usbd_new_device: adding unit addr=2, rev=110, class=255, subclass=255, 
protocol=255, maxpacket=8, len=18, speed=2
usbd_new_device: new dev (addr 2), dev=0xffb06b00, 
parent=0xffaff400
usbd_probe_and_attach: trying device specific drivers
usbd_probe_and_attach: no device specific driver found
usbd_probe_and_attach: looping over 1 configurations
usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 1) cno=2 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1
usbd_probe_and_attach: no interface drivers found
ugen0: vendor 0x091e product 0x0003, rev 1.10/0.01, addr 2
usbd_set_config_index: free old config
usbd_set_config_index: status=0x0001, error=NORMAL_COMPLETION
usbd_set_config_index: (addr 1) cno=2 attr=0xc0, selfpowered=1, power=0
usbd_set_config_index: set config 1

This (ofcourse) does not work:
# gardump -p /dev/ugen0
gardump: TIOCGETA: Invalid argument

ucom is loaded:
# kldstat -v |grep ucom
85 ucom

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


Re: rpm equivalent to 'pkg_add -r'?

2006-01-16 Thread Gregory Nou

Marc G. Fournier wrote:


As the subject asks, is there an equivalent?  I'm trying to install 
linux apache2 on a FreeBSD box, and would like have rpm do as much as 
possible as far as getting the dependencies and downloading them ...


baring this, is there a better tool to use then rpm?

thanks ...


Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


look at the end of rpm man page, there is a section INSTALL AND UPGRADE 
OPTIONS.
Concerning other tools, the poor experience I have with RH showed me 
that rpm is a great tool. Maybe you may try yum, which, iirc, is a GUI 
for rpm.


Cheers,

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