Re: PPPoE Max Tunnels,

2006-02-22 Thread John Oxley
On Mon, Feb 20, 2006 at 05:46:15PM -0600, Porpoise Power wrote:
 Please excuse me if I make a mistake here as I'm more familar with OpenBSD's
 ppp and pf daemons.  What does your conf files look like?  Also
 Your network settings look a little funny, Can you elaborate on them?  
 It might be a source of the problem.  

OK,

I have two NIC's, bge0 with a public IP and vr0 which I've assigned the
private ip 10.42.73.37/8 which I sucked out my thumb.

I'm using the standard pppoe startup script and this is in my
/etc/rc.conf
pppoed_enable=YES
pppoed_flags=-d -P /var/run/pppoed.pid -a yonetwork -l default
pppoed_interface=vr0

The contents of my /etc/ppp/ppp.conf are:
default:
   set log Chat Command Phase
   enable pap
   allow mode direct
   enable proxy
   disable ipv6cp
   set mru 1472
   set mtu 1472
   set ifaddr 10.42.73.38 10.42.73.37
   set radius /etc/radius.conf
   accept dns

The contents of /etc/radius.conf are:
auth radiusmachine:1812 my_secret
acct radiusmachine:1813 my_secret

That is all the configuration that I have for the PPPoE setup.

I have configured the machine as a gateway and there is no firewall
running on the box at the moment.  It plugs into a switch and I'm
statically routing the netblocks that my clients use to the bge
interface of the box.

All the clients use public IPs.  Here is a snippet of the output of
ifconfig:

tun26: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 10.42.73.38 -- xxx.xxx.xxx.26 netmask 0x 
Opened by PID 490
tun27: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 10.42.73.38 -- xxx.xxx.xxx.13 netmask 0x 
Opened by PID 754
tun28: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 10.42.73.38 -- xxx.xxx.xxx.7 netmask 0x 
Opened by PID 563

The problem is that the machine will not take more than 30 clients.  I'm
trying to find a limit somewhere in the config files but I can't.  The
kernel has NETGRAPH, NETGRAPH_PPP and NETGRAPH_PPPOE in it.

Any ideas?

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


Re: tar segmentation fault

2006-02-22 Thread Ben Paley
On Tuesday 21 February 2006 19:12, Lowell Gilbert wrote:
 Ben Paley [EMAIL PROTECTED] writes:

  me$ pkg_info | grep tar
  gtar-1.15.1_1   GNU version of the traditional tar archiver

 You're obviously not *using* gnu tar, because you would be getting
 errors on the -l option if you were.

Well, I haven't got round to debugging bsdtar (it compiles without warning 
using 'make' in /usr/src/usr.bin/tar/), but it turns out gtar works fine, 
using -h instead of -L .

Thanks very much to both of you for pointing me towards a solution.

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


Re: where is my desktop

2006-02-22 Thread Erik Norgaard

Wayne wrote:

I'd like to know where my desktop is. All I get is the man pages. Now I got a 
screensaver But where is the rest of it. No terminal no telnet nothing. I can't 
even get the X box on the screen like I do with some of the other programs I 
have tried. How can I load up mfboot and the other file to floppies if my hard 
is dedicated to the FreeBSD an entire disk.

Please Help!


First help us help you: Tell us what you have done.

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


Re: anyone using voip?

2006-02-22 Thread Erik Norgaard

Peter wrote:

Hi, I'm looking for comments from people who are using a voip solution
with FreeBSD.  The archives of this group show mixed results.  I see there
is a skype port available.  To me that implies that this is possible. 
What of hardware?  USB phones?


You are looking for a VoIP client? there are some available such as 
kphone, alternatively linphone. With the exception of skype which does 
not support the open protocols I haven't had much luck to find a client 
that can traverse natting firewalls.


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


Contributing to FreeBSD

2006-02-22 Thread Ananth.G

hi all,
  I'm  a developer who has atleast 3-4 hrs of spare time daily and would
like to contribute it in woking on FreeBSD, the OS i love. Im really
interested in working on some part of freebsd kernel. It would be great
if someone comes up with a good part in kernel to start with. It will
greatly help if someone guides me and act as a mentor. I think the
following info will help.

Im a C,C++/unix developer with 1 yr exp.
I work on P4 , celeron x86 hardware (on FreeBSD 6.0 -RELEASE).


regrds,
ananth g.
** DISCLAIMER **
Information contained and transmitted by this E-MAIL is proprietary to 
Sify Limited and is intended for use only by the individual or entity to 
which it is addressed, and may contain information that is privileged, 
confidential or exempt from disclosure under applicable law. If this is a 
forwarded message, the content of this E-MAIL may not have been sent with 
the authority of the Company. If you are not the intended recipient, an 
agent of the intended recipient or a  person responsible for delivering the 
information to the named recipient,  you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this 
information in any way or in any manner is strictly prohibited. If you have 
received this communication in error, please delete this mail  notify us 
immediately at [EMAIL PROTECTED]


www.sify.com - your homepage on the internet for news, sports, finance,
astrology, movies, entertainment, food, languages etc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Strange messages from daily report

2006-02-22 Thread bsd
I 've received these message in my daily report and was wondering  
what was their meaning ?



srv23.xxx.fr kernel log messages:


Timecounter ACPI-fast frequency 3579545 Hz quality 1000
Timecounter TSC frequency 2992513943 Hz quality 800





«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§




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


Re: getting started with USB hard drive

2006-02-22 Thread Giorgos Keramidas
On 2006-02-21 14:28, Peter [EMAIL PROTECTED] wrote:
 Thanks for your links.  I have a hell of a time setting up
 disks.  This is what I did:

 # fdisk -BI da0 (using just -I failed)
 # bsdlabel -w da0

 Then I get stuck.

 # bsdlabel da0s1 (fails)

That's ok.  You used:

# bsdlabel /dev/da0

This installs a BSD label starting at the boot record of the
disk, not in a BIOS-like partition.

You can then use BSD partitions named:

/dev/da0a
/dev/da0b
...

If you really want to use a single BIOS slice (what DOS calls a
partition), that contains one or more BSD partitions defined by
a label, then you should install the BSD label on `da0s1' instead
of `da0':

# dd if=/dev/zero of=/dev/da0 bs=1024 count=64
# fdisk -B -I /dev/da0
# bsdlabel -w -B /dev/da0s1

Note the device name passed to bsdlabel.  It's not da0, but da0s1.

 Now I wonder why this disk which is supposed to be 200 GB, was
 detected by FreeBSD (when connected) as 190 GB, shows up as 186
 GB inside sysinstall, and has a size of 180 GB when seen by df.

A certain amount of slack space is occupied by partition and
filesystem metadataand/or reserved for the superuser.  You can't
really do much to avoid wasting some space for a partition table,
but that's pretty minimal.  What you *can* and should do is think
about the average file size you will be using and specify an
appropriate set of newfs(8) or tunefs(8) options to configure the
resulting filesystems.  The tuning(7) manpage has some hints, but
a bit of prior experience with tuning filesystems and some
experimentation before the filesystem is put to real use can also
go a long way :)

- Giorgos

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


Problem building perl-5.8.8

2006-02-22 Thread Olivier Nicole
Hi,

I updated the ports, now it is perl 5.8.8 and still the same

`sh  cflags optimize='-O -pipe' toke.o` -fpic toke.c
  CCCMD =  gcc -DPERL_CORE -c 
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -fno-strict-aliasing -pipe 
-Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
toke.c: In function `S_scan_formline':
toke.c:10596: error: invalid operands to binary +
toke.c:10596: error: invalid lvalue in unary `'
toke.c:10596: error: invalid lvalue in unary `'
*** Error code 1

Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
*** Error code 1

Stop in /usr/ports/lang/perl5.8.
uforoot: uname -a
FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 21 
13:35:24 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  i386
uforoot: 

Any idea what that can be?

Best regsards,

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


Re: using Realplayer codecs with mplayer

2006-02-22 Thread Adi Pircalabu
On Tue, 21 Feb 2006 17:59:14 -0600
Andrew [EMAIL PROTECTED] wrote:

 I'd like to be able to use mplayer to play Realmedia files (more
 specifically, streaming audio), but I can't seem to get it working
 under FreeBSD. I have mplayer, realplayer and the win32-codecs ports
 installed. mplayer and realplayer both work great, but mplayer refuses
 to play Realaudio streams.

Do you want to use MPlayer with Realplayer codecs? If so, you must rebuild
mplayer using WITH_REALPLAYER=1 argument for make.
Bye

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


Re: Contributing to FreeBSD

2006-02-22 Thread Tobias Roth
On Wed, Feb 22, 2006 at 02:19:27PM +0530, Ananth.G wrote:
 hi all,
   I'm  a developer who has atleast 3-4 hrs of spare time daily and would
 like to contribute it in woking on FreeBSD, the OS i love. Im really
 interested in working on some part of freebsd kernel. It would be great
 if someone comes up with a good part in kernel to start with. It will
 greatly help if someone guides me and act as a mentor. I think the
 following info will help.
 
 Im a C,C++/unix developer with 1 yr exp.
 I work on P4 , celeron x86 hardware (on FreeBSD 6.0 -RELEASE).

Hi

See
  http://www.freebsd.org/projects/ideas/
and
  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html
for a lot of ideas where to start.

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


Re: Free BSD on Macintosh OS 10.3.9 ?

2006-02-22 Thread Ashley Moran
On Tuesday 21 February 2006 20:14, elisabet lundvall wrote:
 can I use free BSD in my mac? I have Panther in my iBook, but there is
 no BSD in it.
 I tryed once to get it from the CD OS 10.2.3, but since it was older
 than my updated
 system OS 10.3.9 the system crashed! I need the BSD to try out the
 Adobe program Indesign.
 Do you know what I should do?

Elizabet,

I think you're confusing the BSD Base System (installed as an optional extra 
off the OS X CD) with FreeBSD (a complete operating system).

If you need the BSD base system you will need an up-to-date OS X CD.  But I've 
found it won't work with a patched system, so you will at best have to 
reinstall off a 10.3 CD.  (or upgrade to 10.4)

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


proxy, nat and traffic shapping

2006-02-22 Thread Imran Imtiaz
Hi ! 


I have FreeBSD 5.4 installed. 
There is IPFIREWALL, IPFIREWALL_FORWARD, IPDIVERT and DUMMYNET in my 
kernel configration. 
On my FBSD gateway to the Internet I would like to use NAT (of course 
:-))) ), transparent proxy and limit the outgoing traffic. 
xl0 (62.169.170.166/30) is the public interface, xl1 (192.168.1.1/24) is 
the private one. 


If my firewall rules look like: 
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes 
ipfw add 47 pipe 1 ip from any to any out via xl0 
ipfw add 48 allow ip from 192.168.1.1 to any 
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80 
ipfw add 50 divert 8668 ip from any to any via xl0 
... (the rest of OPEN firewall rules) 
nothing except http (because of transparent proxy, I think) goes through 
the gateway from the local net. 


If my firewall rules look like: 
ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes 
ipfw add 47 pipe 1 ip from 62.169.170.166 to any out via xl0 
ipfw add 48 allow ip from 192.168.1.1 to any 
ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80 
ipfw add 50 divert 8668 ip from any to any via xl0 
... (the rest of OPEN firewall rules) 
everything works fine except except the bandwith limitation. 


Do you have any ideas, how to get these three things (bandwith 
limitation, nat, transparent proxy) work together ? 


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


denyhosts

2006-02-22 Thread Robin Becker

I'm trying out the denyhosts port; it starts up and performs as expected,
but it won't recognize a running instance as this python if test fails. Is there 
a more freebsd way for python to find out if a given process is running?


if os.access(os.path.join(/proc, str(pid)), os.F_OK):
return pid
else:
return STATE_LOCK_EXISTS

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


Re: Trouble Making OpenOffice

2006-02-22 Thread Pietro Cerutti
On 2/21/06, Tim Daneliuk [EMAIL PROTECTED] wrote:
 I am trying to build OO 2.02rc1
 on FBSD 6.1-PRERELEASE.  I see this error:

 ERROR: Error 65280 occurred while making 
 /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/testtools/source/bridgetest
 dmake:  Error code 1, while making 'build_instsetoo_native'

 Ideas anyone?

Try symlinking the required library:

# cd $JAVA_HOME/jre/lib/i386  ln -s xawt/libmawt.so .

Hope this helps,

 --
 
 Tim Daneliuk [EMAIL PROTECTED]
 PGP Key: http://www.tundraware.com/PGP/

--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


Re: Contributing to FreeBSD

2006-02-22 Thread Erik Norgaard

Ananth.G wrote:

hi all,
  I'm  a developer who has atleast 3-4 hrs of spare time daily and would
like to contribute it in woking on FreeBSD, the OS i love. Im really
interested in working on some part of freebsd kernel. It would be great
if someone comes up with a good part in kernel to start with. It will
greatly help if someone guides me and act as a mentor. I think the
following info will help.

Im a C,C++/unix developer with 1 yr exp.
I work on P4 , celeron x86 hardware (on FreeBSD 6.0 -RELEASE).


There are two places to look:

1) The idea list, small and big ideas, there is a long list of
   projects for the kernel. see

  http://www.freebsd.org/projects/ideas/

2) Problem Reports: PR's with status s suspended are remarked as:

   The problem is not being worked on, due to lack of information or
   resources. This is a prime candidate for somebody who is looking
   for a project to do. If the problem cannot be solved at all, it
   will be closed, rather than suspended.

   Of course, you can always take a look at an open PR.

   http://www.freebsd.org/support/bugreports.html

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


RE: Making APC 500 Back UPS (basic) work with FreeBSD

2006-02-22 Thread Ted Mittelstaedt

Years ago the APC BackUPSs did come with a serial port.  APC sold the
BackUPS and the SmartUPS.  Both had serial ports, both could be used
to shut down the system.  The difference was you could query the Smart
UPS to findout how much life was left in the battery.

Then 2 things happened, first APC realized
that a lot of consumers out there didn't know or care that their
UPS had a serial port that could shut down the computer, and second
sales of BackUPS were cannibalizing sales of SmartUPS.  So
APC renamed the normal BackUPS with the serial port into the BackUPS Pro,
and came out with a consumer el-cheapo line of throwaway UPS's they
named the BackUPS.

It is no wonder your confused because most documentation on the Internet
for UPSes talks
about backups, but what they are meaning is
pre-apc-getting-greedy-backups
upses, not post-apc-getting-greedy-backupses-that-are-named-the-same
-as-their-predicessors.

Fortunately, the used market is awash in UPSes that have burned out
batteries.  Just find the local supplier of lead-acid gell cells and
make friends with him and your in like flyn.  Any large city has at least
1 of them.

Quite a large number of businesses out there find that it is cheaper to
toss an old 600VA ups and buy a new one when the battery dies, rather
than
pay some tech for an hours worth of time to pull the old battery and
replace it, then test the UPS to make sure it's still working.  Also,
a lot of techs misdiagnose UPS battery failures and don't know how to
test them anyway.  I've found old APC UPSes for sale very cheap and
very few of them have failed.  Testing is very easy.  Just plug the new
batteries in, and before plugging the UPS into the wall, clip a voltmeter
on the battery terminals.  If you get any voltage rise at all, even a
half a volt, when the UPS is plugged in, the charging circuit is OK.
Then plug a computer into the UPS, turn it on, and unplug the UPS from
the wall and if the inverter goes on, then the inverter is working and
the UPS is perfectly OK.  This test does not work with old batteries
because old batteries often fail in unusual ways.  And the new batteries
should not be at 100% of charge, which they won't be if they have
been on the shelf for a month or so.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of manish jain
Sent: Tuesday, February 21, 2006 6:09 AM
To: freebsd-questions@freebsd.org
Subject: Making APC 500 Back UPS (basic) work with FreeBSD


Hi,

  I just purchased an APC 500 Back UPS (the basic model, not
the pro/smart one). It does not have any serial/usb interface.
Can I get apcupsd or any other daemon to work with it so that
the system automatically shuts down before backup supply runs out ?

  If someone can attach a sample configuration file, I shall be
grateful.

  Thanks
  Manish Jain



-
 Yahoo! Mail
 Use Photomail to share photos without annoying attachments.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/265 - Release
Date: 2/20/2006


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


RE: Making APC 500 Back UPS (basic) work with FreeBSD

2006-02-22 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Donald J.
O'Neill
Sent: Tuesday, February 21, 2006 8:47 AM
To: Chuck Swiger
Cc: manish jain; freebsd-questions@freebsd.org
Subject: Re: Making APC 500 Back UPS (basic) work with FreeBSD



Then, thats got to be a really old, old one. I've been working (playing
with actually) with computers since the color computer. I won't admit
to anything further back than that. I've never seen one that didn't
have some means of communication (monitoring). Not from APC anyway.


APC has made a lot of older BackUPSs that didn't have the com port
that date back to the Color Computer days, you just wern't paying
attention.  For example the BackUPS 200VA (that unit was discontinued
years ago) didn't have one, neither did the BackUPS 250 and 300 VA
units from that era.  (all of those are discontinued)  However the
models that didn't have the com port back in the olden days, were all
very low, low VA units, under 350VA.

It wasn't until modern times that APC decided to screw it all up.

Ted

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


RE: 3Ware Escalade Issues

2006-02-22 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chuck Swiger
Sent: Sunday, February 19, 2006 6:47 AM
To: Don O'Neil
Cc: freebsd-questions@freebsd.org
Subject: Re: 3Ware Escalade Issues


Don O'Neil wrote:
 There appears to be a bad sector on one of the drives
according to smartctl,
 but nothing serious.

What that may mean is that there have been many bad sectors,
which have been
corrected using the spares, until no more spare sectors are
left for replacements.

That drive may well fail catastrophically, soon.


_Will_ fail soon!

 However, every time the system tried to write to that sector
in the array,
 the system would freeze, and then reboot, and of course it
would say the
 file system isn't clean, etc...

 Since the file system is 1 TB in size, it would take 8+ hours
to FSCK it.
 The array is only striped, and not mirrored or built with
redunancy. I'm
 basically using the card/driver to make one large volume for
a web server.

OK.  Well, if this data is important to you, you should give
consideration to
using a RAID-1, RAID-10, or RAID-5 configuration to gain redundancy.


RAID0-1 is the way to go - disks are cheap now.  Fry's was selling 300GB
UDMA Seagates yesterday for $69.00 with rebates.  You can find Promise
and Highpoint UDMA RAID 100 cards on Ebay for $15 or so.

 I have a few questions:

 1) Is this a known bug? I'm running FreeBSD 4.11 (for
software compatibility

No it is not a bug.

 issues at the moment, I will upgrade at some point in the future)

Normally, the OS will only kill the affected processes using
that sector,

No, Chuck, the OS has no knowledge of bad sectors on the disk.

All UNIXes out there assume perfect storage media, and perfect RAM.
It is the hardware's job to handle error correction or containment.
All the OS knows in a disk error is that it is pulling data off
the disk and doing something with it.  If the data that's pulled off
is corrupted and happens to be a device driver or some such, or
other part of the kernel (perhaps it was swapped out) then the system
will crash.  Otherwise the system won't know the difference if the
area is user data.  If it's a program then the results will be
the same as if the program had a bug in it, it will unexpectedly
terminate.

People have lost databases due to corruption by not knowing about
disk failures like this.


 but
without knowing where it is, perhaps it's affecting some
important file like the
kernel itself, /bin/sh...?

 2) How can I trap the errors and eliminate the re-boot issue?

Shut down the system.  Replace the failing hard drive.  Use dd
to make an exact
copy onto the new drive on some other system. and put the new
drive back into
the array.  Note that the replacement drive must be an exact
match for this to
work, otherwise you will have to backup your data and rebuild the array.

Speaking of which, do you have known-good backups available?

 3) Is there some way I can do a faster FSCK, or perhaps
'fool' the system
 into thinking the file system is clean?

If you update to 5.x or later, you can use background FSCK
rather than having to
wait for the FSCK to complete the way it does under 4.x.

 4) Any suggestions on how to fix this?

Also, if you update to 5.x, you can run the smartmon tools,
which will let you
do a drive self-test using SMART, this will give much better
information about
what is going on with the drive, and also give an estimate of
its remaining
lifespan.

How old are the drives, if you know?


A lot of the drive manufacturers these days are offering plenty
generous warranties, it is likely his disk is still under warranty.

Ted

--
-Chuck

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/265 - Release
Date: 2/20/2006


___
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 Make a Bug Report?

2006-02-22 Thread Giorgos Keramidas
On 2006-02-21 21:52, Chris Maness [EMAIL PROTECTED] wrote:
 I found out why I was not able to log in to my new CUPS installation
 web interface.  The ports patched source tree installation put the
 CGI files in the wrong place.  I moved them to where they are
 supposed to be and now I can log in.  How do I formally complain
 that this port is screwed up.  I had e-mailed the port maintainer
 and did not receive any response.

Hi Chris,

You can submit a bug report for one of the FreeBSD components in one
of two ways:

1. Through email.

   You must run the send-pr(1) or the sendbug(1) utility on a
   FreeBSD system that has a working email setup.

2. To post a bug through the web interface, point your favorite
   browser at the address:

   http://www.freebsd.org/send-pr.hmtl

Before submitting a bug report, please make sure you read the bug
reporting guidelines.  These guidelines, in the form of a short
article titled ``Writing FreeBSD Problem Reports'', can be found at:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html

Since the problem you describe seems to be related to ports, please
make sure you select `ports' as the `Category' of the bug report.

- Giorgos



pgpH0pSEIXaxO.pgp
Description: PGP signature


Re: denyhosts

2006-02-22 Thread Alec Berryman
Robin Becker on 2006-02-22 10:08:14 +:

 I'm trying out the denyhosts port; it starts up and performs as expected,
 but it won't recognize a running instance as this python if test fails. Is 
 there a more freebsd way for python to find out if a given process is 
 running?
 
 if os.access(os.path.join(/proc, str(pid)), os.F_OK):
 return pid
 else:
 return STATE_LOCK_EXISTS

I assume you don't have /proc mounted; see procfs(5).


pgpHzCq0PvJbc.pgp
Description: PGP signature


virtual memory exhausted: Cannot allocate memory

2006-02-22 Thread Ken Williams


   Hi FreeBSD folks,

  I'm having trouble compiling the java/jdk15 package.  I've downloaded the 
files from Sun and eyesbeyond, as per usual. When I go to the jdk15 
directory and do 'make' the compilation starts and runs for an hour or two 
and then grinds to a halt with the following error message;

--
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[3]: Entering directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
Compiling ../generated/adfiles/ad_i486.cpp
virtual memory exhausted: Cannot allocate memory
gmake[3]: *** [ad_i486.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[2]: *** [the_vm] Error 2
gmake[2]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
gmake[1]: *** [jvmg] Error 2
gmake[1]: Leaving directory
`/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
gmake: *** [jvmg] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.
--

  The PC I'm using has a 2.3GHz Pentium, with 128MB memory and 70GB free 
disk space
running FreeBSD-6.1PRERELEASE. Interestingly, when I run 'make' and do 'top' 
the compilation process steadily grows to 128MB in size and then stays at 
that size until it grinds to a halt.


 I was under the impression that FreeBSD imposed a default maximum process 
size of 512MB, maybe that's changed or I was wrong (anyone ??). After 
Googling, I found that the way to increase the maximum process size was to 
add the following entries to /boot/loader.conf and reboot;


root$ more /boot/loader.conf
kern.maxdsiz=1073741824 # 1GB
kern.dfldsiz=1073741824 # 1GB
kern.maxssiz=134217728 # 128MB

 I did this and tried compiling jdk15 again but it made no difference.

 So I had the idea that another way to increase the amount of virtual 
memory available is to increase the amount of swap memory available (correct 
??) which I did (to 1GB) as described in the Handbook here

(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html).
This I did, and when I do 'top' it shows up as available swap memory but 
when I tried compiling jdk15 again it also made no difference.


 I've also checked my resource limits (ulimit) but they look reasonable to 
me;


root$ ulimit -SHacdflmnpstuv
core file size(blocks, -c) unlimited
data seg size (kbytes, -d) 524288
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size   (kbytes, -m) unlimited
open files(-n) 1735
pipe size  (512 bytes, -p) 1
stack size(kbytes, -s) 65536
cpu time (seconds, -t) unlimited
max user processes(-u) 867
virtual memory(kbytes, -v) unlimited


  For info, I also have java/linux-sun-jdk14 installed with linprocfs 
mounted (to bootstrap the jdk15 installation) but I don't think this is 
related to my problem.


 I'm at a bit of a loss what to do next. Do I need to buy some more memory 
for my PC (just to compile jdk15) or is there anything else I can try or 
change in FreeBSD which may help me ?


Any help is much appreciated.

   Ken


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


RE: Free BSD on Macintosh OS 10.3.9 ?

2006-02-22 Thread Ted Mittelstaedt

Elisabet,

  I don't think you need the BSD base system to run Adobe Indesign
system.

  But, if you do then you have to do it this way:

1) backup all your data files from your iBook.  Unplug your ethernet
connection so
you have no network connection.

2) insert disk #1 of the Panther OS and boot with the C key to boot off
the CD

3) When the option comes up asking if you want to install OSX, select the
option
to completely erase the existing disk and reinitialize it.

4) Install Panther.

5) Before plugging in the ethernet cable, boot from the hard disk of the
iBook,
insert disk #1, and go to the additional installers and run the BSD
system installer.

6) Plug in ethernet cable and run Software Update.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
elisabet lundvall
Sent: Tuesday, February 21, 2006 12:14 PM
To: freebsd-questions@freebsd.org
Subject: Free BSD on Macintosh OS 10.3.9 ?


Hi,
can I use free BSD in my mac? I have Panther in my iBook, but there is
no BSD in it.
I tryed once to get it from the CD OS 10.2.3, but since it was older
than my updated
system OS 10.3.9 the system crashed! I need the BSD to try out the
Adobe program Indesign.
Do you know what I should do?
Yours
Elisabet Lundvall

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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.15.12/265 - Release
Date: 2/20/2006


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


RE: Free BSD on Macintosh OS 10.3.9 ?

2006-02-22 Thread Ted Mittelstaedt


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ashley Moran
Sent: Wednesday, February 22, 2006 1:53 AM
To: freebsd-questions@freebsd.org
Cc: elisabet lundvall
Subject: Re: Free BSD on Macintosh OS 10.3.9 ?


On Tuesday 21 February 2006 20:14, elisabet lundvall wrote:
 can I use free BSD in my mac? I have Panther in my iBook, but there is
 no BSD in it.
 I tryed once to get it from the CD OS 10.2.3, but since it was older
 than my updated
 system OS 10.3.9 the system crashed! I need the BSD to try out the
 Adobe program Indesign.
 Do you know what I should do?

Elizabet,

I think you're confusing the BSD Base System (installed as an
optional extra
off the OS X CD) with FreeBSD (a complete operating system).

If you need the BSD base system you will need an up-to-date OS
X CD.  But I've
found it won't work with a patched system, so you will at best have to
reinstall off a 10.3 CD.  (or upgrade to 10.4)


I don't think that is true.  I just installed an OSX Panther system
on a new hard disk in my G3 and it works fine.  But you must install
the BSD base system first, before patching anything, right after
installing
osX.  And you must install osx on a clean disk.

Ted

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


mail login problem

2006-02-22 Thread mamaj m
The electricity goes down and the server drop down than when the electricity 
got back I could not log in to the server and I see in the logs file on the 
server the error
((  ERR [SYS/PERM] Unable to process From lines (envelopes), change 
recognition modes or check for corrupted mail drop.))
This error I see it in the logs when I use the  Microsoft outlook but if I 
try to login be web mail I log in but I cant see my inbox mails

Thanks

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: Problem building perl-5.8.8

2006-02-22 Thread Lowell Gilbert
Olivier Nicole [EMAIL PROTECTED] writes:

 I updated the ports, now it is perl 5.8.8 and still the same
 
 `sh  cflags optimize='-O -pipe' toke.o` -fpic toke.c
   CCCMD =  gcc -DPERL_CORE -c 
 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -fno-strict-aliasing -pipe 
 -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
 toke.c: In function `S_scan_formline':
 toke.c:10596: error: invalid operands to binary +
 toke.c:10596: error: invalid lvalue in unary `'
 toke.c:10596: error: invalid lvalue in unary `'
 *** Error code 1
 
 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
 *** Error code 1
 
 Stop in /usr/ports/lang/perl5.8.
 uforoot: uname -a
 FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue Feb 
 21 13:35:24 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  i386
 uforoot: 
 
 Any idea what that can be?

Can you try with an empty make.conf file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail login problem

2006-02-22 Thread Giorgos Keramidas
On 2006-02-22 12:32, mamaj m [EMAIL PROTECTED] wrote:
 The electricity goes down and the server drop down than when the
 electricity got back I could not log in to the server and I see in the logs
 file on the server the error
 ((  ERR [SYS/PERM] Unable to process From lines (envelopes), change
 recognition modes or check for corrupted mail drop.))
 This error I see it in the logs when I use the  Microsoft outlook but if I
 try to login be web mail I log in but I cant see my inbox mails

* What server?

* Does it run FreeBSD?

* Which version of FreeBSD?

* Does it run a particular version of mail server software?

* What version of which software is that?

* How is the mail server software configured?

* Which logfile did you look at?

* Are these the exact log file lines?

You'll have to help us understand what's going on, if you expect us to
help you too.

- Giorgos

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


Re: Making APC 500 Back UPS (basic) work with FreeBSD

2006-02-22 Thread Donald J. O'Neill
On Wednesday 22 February 2006 05:07, Ted Mittelstaedt wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Donald J.
 O'Neill
 Sent: Tuesday, February 21, 2006 8:47 AM
 To: Chuck Swiger
 Cc: manish jain; freebsd-questions@freebsd.org
 Subject: Re: Making APC 500 Back UPS (basic) work with FreeBSD
 
 
 
 Then, thats got to be a really old, old one. I've been working
  (playing with actually) with computers since the color computer. I
  won't admit to anything further back than that. I've never seen one
  that didn't have some means of communication (monitoring). Not from
  APC anyway.

 APC has made a lot of older BackUPSs that didn't have the com port
 that date back to the Color Computer days, you just wern't paying
 attention.  For example the BackUPS 200VA (that unit was discontinued
 years ago) didn't have one, neither did the BackUPS 250 and 300 VA
 units from that era.  (all of those are discontinued)  However the
 models that didn't have the com port back in the olden days, were all
 very low, low VA units, under 350VA.

 It wasn't until modern times that APC decided to screw it all up.

 Ted

Bill Gates had come out with: you can't do multi-user, multitasking with 
an 8 bit micro-processor. Here was this inexpensive computer from Radio 
Shack, already on the market, that would if you used OS9, also 
available from Radio Shack. About that time, I decided that Bill Gates 
aught to pay more attention to what was going on.

At that time, my concern with, and about, power backup units was 
somewhere between none and none. I did know what one was, what it did, 
and why it was desirable to have one. I just didn't really have a need 
for one for a long time. After all, if you shutoff the PC, who cared if 
the power went down - as long as you shut down before that happened.

As to your last statement, I'm wondering if you were saying, in a 
different way: they took a nice, simple piece of equipment, that did 
its job well, and added capabilities to it, that in order to utilize 
them, required more capabilities added to the units they were supplying 
power backup to. Ah, I see by your later post to the list  OP, given 
more in depth and with good advice, that's what you meant. 

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


Ports/packages confusion

2006-02-22 Thread Chandan Haldar

Continuing to wallow in my pool of port upgrade sorrows, I'm confused on
a few basic aspects of ports/packages maintenance.  Looked around, but
couldn't find much clarity (may be haven't found the right docs yet).

Will someone please point me to an explanation for why the packages in my
install sets (that I chose at the time of installation of my FreeBSD 6.0 
Release),

for example the X11R6 packages, do not show up in the installed packages
list (pkg_info or pkg_version)?  What will happen to the installed Xorg 
set if

I try to upgrade to a newer Xorg rel through the ports/packages system?

May be this would explain to me how (while trying to upgrade my installed
ports including gnome 2.10-2,12 upgrade) I managed to mess up my working
gnome 2.10 installation (done from the ISO disk images at FreeBSD 
install time)
so badly that I'm finding it impossible to recover from that.  The 
mysteries of
pkgdb -F also needs way more effort than I have been able to give so 
far.  It
shows stale dependnecies right after portsnap fetch/extract even before 
pkg_info
shows any packages installed.  Why?!  Where can I read a precise 
definition of

'stale dependency' as understood by the ports management programs?

At the moment, portupgrade, portmanager, gnome_upgrade.sh (yes, I finally
found that one too), nothing seems to be able to get gnome back up without
throwing me right back into pkgdb -F with a whole bundle of stale 
dependencies
that I do not know how to resolve manually staring at me.  Is 
reinstalling FreeBSD

+ X + gnome + other packages from the Nov 2005 released ISO disk images
my best bet to get back to a working system like I had before I attempted to
upgrade my ports to the latest versions?

I have not been hacking unix for several years recently, but was not 
exactly a

complete newbie once upon a time.  Thanks for any explanation or pointer.

Chandan

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


Re: Free BSD on Macintosh OS 10.3.9 ?

2006-02-22 Thread Ashley Moran
On Wednesday 22 February 2006 11:37, Ted Mittelstaedt wrote:
 I don't think that is true.  I just installed an OSX Panther system
 on a new hard disk in my G3 and it works fine.  But you must install
 the BSD base system first, before patching anything, right after
 installing
 osX.  And you must install osx on a clean disk.

That's what I meant to say but it didn't come out very well :)

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


Re: Upgrade 5.4 to 6.0

2006-02-22 Thread P.U.Kruppa

On Tue, 21 Feb 2006, hal wrote:


Is there any reason why I should not upgrade a 5.4
system to 6.0 as opposed to doing a clean install?

Have a look at /usr/ports/UPDATING .
You might find out you have to rebuild about all of your ports, 
which can be quite tedious - if you have many of them installed 
on an old slow machine.
On the other hand: doing an upgrade from source might be a good 
exercise.


Cheers,

Uli.



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





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


Re: denyhosts

2006-02-22 Thread Chuck Swiger
Robin Becker wrote:
 I'm trying out the denyhosts port; it starts up and performs as expected,
 but it won't recognize a running instance as this python if test fails.
 Is there a more freebsd way for python to find out if a given process is
 running?
 
 if os.access(os.path.join(/proc, str(pid)), os.F_OK):
 return pid
 else:
 return STATE_LOCK_EXISTS
 

If you know the pid, see whether you can deliver a continue signal to it:

try:
os.kill(pid, signal.SIGCONT)
return pid
except OSError:
return STATE_LOCK_EXISTS

-- 
-Chuck

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


Re: eclipse looks for cairo.2

2006-02-22 Thread Micah

kalin mintchev wrote:

I noticed you CC'd freebsd-java  freebsd-questions but didn't CC
freebsd-eclipse@  Have you searched their archives?  Tried the
WITHOUT_CAIRO=yes knob?  What kind of system are you trying to build
this on?


thanks Micah..  i'm not sure if i want to exclude cairo from the build.
i'm not very aware of what is it exactly - i know it's a graphic library -
but i think it has to do with the graphical interface of eclipse. it was
needed for firefox 1.5 too
the system is a 2 weeks old freebsd 6.0 release. no current or stable..
as far as archives i searched google mostly and the freebsd java
archives i'm aware of the eclipse list - just wanted to avoid
subscribing to another one - i have more then 50 now - and hoping that
somebody here knows about it. or on the java list...

apparently the issue is not a very widely experienced one. maybe only
recently the cairo 1.0.2 port was marked as broken

thanks...


According to http://www.freshports.org/graphics/cairo cairo hasn't been 
touched since December and cairo isn't marked broken there or in my 
ports tree.  Try removing the cairo directory and doing a fresh cvsup of 
your tree to see if you've got a stale entry.


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


Re: 6.0 stable: linuxpluginwrapper port build failure

2006-02-22 Thread Lowell Gilbert
Chandan Haldar [EMAIL PROTECTED] writes:

 In the middle of the marathon build of gnome2 2.12, the machine (Compaq
 Pentium III 933MHz with 256MB RAM) unpredictably locks up.  Happened
 several times so far at different places in the build.  Keyboard is
 dead.  Switching
 console does not work.  The hard disk keeps spinning and the power
 light is on
 but there is no sign of any other activity in the machine.  Had to
 force a power
 down and reboot.  I am running FreeBSD 6.0 Stable with X11+Gnome 2.10
 and the older ports for 3 months now without any problems.  So presumably
 the new ports installs have something to do with this new unstable behavior.
 Anyone seen this before?

Seen it before?  Well, yes, but only as a result of hardware problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Multiple DNS

2006-02-22 Thread bsd

 Le 19 févr. 06 à 08:46, Robert Slade a écrit :

 Hi,

 I am looking for some advice. I have a network which is based on a
 number of servers running FreeBsd 6.0 serving Win XP work stations.
 (yes
 I know but..) The network is large enough to use DHCP and DNS for the
 internal network, I have setup a DHCP server with a Dynamic DNS
 (Bind 9)
 on one of the servers. That server is handling the LDAP side of the
 domain.


 Is your DNS server busy resolving internal requests or external ones ?

Mostly external from what I can ascertain, it looks like the mail server
(Qmail) doing lookups.

 There appears to be a fair bit of DNS Traffic which leads to a
 secondary
 DNS being required to take some of the load as DNS lookup are slow.
 The
 question I have is should I just setup a cashing DNS on another server
 using the primary as a forwarder or even several servers eg the mail
 server and the secondary LDAP server, or should I setup a proper
 secondary DNS using my ISP as a forwarder with dynamic updates from
 the
 primary.


 You should not forward anything to your ISP. This is probably the
 main reason for your DNS beeing slow.

 You should make shure you have well defined your network in your conf
 (so that you don't resolve queries for outside users...)-
 I would not advise you to forward any queries to your ISP as this
 will disable the capacity for your own server to build It's own
 resolver database and forward all the queries to the ISP (resulting
 in slow answers)!

I've now taken out the forwarders.



 Normaly you should configure the master and the slave to be
 authoritative for your internal domains.
 And configure the master and the slave to resolve ALL the Internet
 domains for your internal network and none for outside domains.

That is how I have setup the master, it only answer's queries from the
internal network.


 DNS is very tightly related to network... And we don't have any clue
 for the topology of your Net.


 SHORT ANSWER : DON'T FORWARD -- BUILD YOUR OWN DATABASE!!


 Sorry if this is a bit vague, but I have no experience in this area.

 Rob



Thanks for the info, it has helped me. I had misunderstood the forwarders
bit.

Many thanks

Rob

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


Re: 6.0-release remote x application failure to open display

2006-02-22 Thread Lowell Gilbert
Ben Kaduk [EMAIL PROTECTED] writes:

 Hi all,
 
 I think this is probably a simple question, but I do not recall having
 any difficulties on 5.2.1 or 5.3-beta3, which are the other versions
 that I had run on this box.
 
 I recently have performed a clean install of 6.0-release on this
 machine, on a new hard drive, and then copied over the data and some
 configuration files (ssh keys, etc.) from the old hard drive (it is a
 slow machine, so I didn't want to build current).  Having done so, I
 then tried to login remotely to this machine and run xmms (it is
 mostly used as my music server), which failed with this error:
 ** CRITICAL **: Unable to open display
 I have tried with passing the -X flag, and with passing the -Y flag to
 ssh, but there is no change in behaviour.
 Is there something that I have forgotten to enable, or is this unexpected?
 
 Some information about the computer:
 [EMAIL PROTECTED] uname -a
 FreeBSD pleonasm.mooo.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb
 20 01:22:19 UTC 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PLEONASM  i386

Use higher levels of debug output, and let ssh itself tell you what it
thinks the problem is.  Also, compare the behaviour to other X
applications, like xterm.

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


Re: Making APC 500 Back UPS (basic) work with FreeBSD

2006-02-22 Thread David Kelly
On Wed, Feb 22, 2006 at 03:07:21AM -0800, Ted Mittelstaedt wrote:
 
 Fortunately, the used market is awash in UPSes that have burned out
 batteries.  Just find the local supplier of lead-acid gell cells and
 make friends with him and your in like flyn.  Any large city has at
 least 1 of them.

When buying a new ~$25 battery for an APS 650 I saw a pile of CS350's at
the battery store. Owner offered me as many as I wanted for only the
cost of a new $18 battery. So I now have a UPS on my satellite dish PVR.

-- 
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: using Realplayer codecs with mplayer

2006-02-22 Thread Andrew
On Wed, 2006-02-22 at 11:39 +0200, Adi Pircalabu wrote:
 On Tue, 21 Feb 2006 17:59:14 -0600
 Andrew [EMAIL PROTECTED] wrote:
 
  I'd like to be able to use mplayer to play Realmedia files (more
  specifically, streaming audio), but I can't seem to get it working
  under FreeBSD. I have mplayer, realplayer and the win32-codecs ports
  installed. mplayer and realplayer both work great, but mplayer refuses
  to play Realaudio streams.
 
 Do you want to use MPlayer with Realplayer codecs? If so, you must rebuild
 mplayer using WITH_REALPLAYER=1 argument for make.
 Bye

Thanks for the suggestion; however, after building mplayer with make
-DWITH_REALPLAYER=1 install and, alternatively, make WITH_REALPLAYER=1
install, it fails with the error I posted before:

Win32 LoadLibrary failed to load:
avisynth.dll, /usr/local/lib/win32/avisynth.dll, /usr/lib/win32/avisynth.dll

So, I suppose I'll have to install ffdshow on a Windows machine, and
grab that dll. Hopefully that will take care of it.

-Andrew

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


xorg-libraries 6.9.0 wont build

2006-02-22 Thread Bernt Hansson

Anyone having trouble upgrading from 6.8.2 to 6.9.0?

It won't take the patches.

 make
===  Extracting for xorg-libraries-6.9.0
= MD5 Checksum OK for xorg/X11R6.9.0-src1.tar.gz.
= SHA256 Checksum OK for xorg/X11R6.9.0-src1.tar.gz.
= MD5 Checksum OK for xorg/X11R6.9.0-src3.tar.gz.
= SHA256 Checksum OK for xorg/X11R6.9.0-src3.tar.gz.
===  Patching for xorg-libraries-6.9.0
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-FreeBSD.cf
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-Imake.rules
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-Imake.tmpl
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-Library.tmpl
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-X11.rules
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/patch-X11.tmpl

===  Applying FreeBSD patches for xorg-libraries-6.9.0
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to lib/X11/UIThrStubs.c.rej
= Patch patch-UIThrStubs.c failed to apply cleanly.
= Patch(es) patch-Compose-Imakefile patch-GL-GL-Imakefile 
patch-GL-Imakefile pa

tch-GL-dri-drm-Imakefile patch-GL-glx-Imakefile applied cleanly.
*** Error code 1
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.0-release remote x application failure to open display

2006-02-22 Thread Heliocentric
 I recently have performed a clean install of 6.0-release on this
 machine, on a new hard drive, and then copied over the data and some
 configuration files (ssh keys, etc.) from the old hard drive (it is a
 slow machine, so I didn't want to build current).  Having done so, I
 then tried to login remotely to this machine and run xmms (it is
 mostly used as my music server), which failed with this error:
 ** CRITICAL **: Unable to open display
 I have tried with passing the -X flag, and with passing the -Y flag to
 ssh, but there is no change in behaviour.
 Is there something that I have forgotten to enable, or is this unexpected?
first, always use the -X or -Y option for X11 forwarding. regardless
of whether you think it needs to be specified, good habit in case the
environment changes unexpectedly.

next, check the environment after login (setenv in tcsh), make sure
that the DISPLAY variable is being set. should be somwhere along the
lines of localhost:10.0 or higher..

then, whereis xauth and make sure it's installed. ssh uses this to set
up said X display, and isn't installed when X applications are
compiled or installed from binaries (it's in xorg-clients iirc.)

These are fairly general, but are a good start.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bridge

2006-02-22 Thread Daim Willemse

Hello all,

On my fine FreeBSD 6.0 box I am running a wireless access point. I set up 
the interface and bridged it and all worked fine.


After that I wanted to install ISDN4BSD. Therefor I compliled a new kernel 
after adding the ISDN4BSD code. The kernel compiled and it booted.


However. In the process the bridge if has gone missing. I added the line  
options BRIDGE to the kernel configuration, but no bridging if. this is the 
typical feedback I receive:


FBSD# ifconfig bridge0 create
ifconfig: SIOCIFCREATE: Invalid argument

What is the difference between the GENERIC kernel configuration and the 
stock kernel. What differences makes the bridge if gone missing?


Thank you in advance.
Daim


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


Re: 3Ware Escalade Issues

2006-02-22 Thread Don O'Neil
Chuck,
  Thanks for the response, this helps me a lot... My answers are inline:

Don O'Neil wrote:
 There appears to be a bad sector on one of the drives according to
smartctl,
 but nothing serious. 

What that may mean is that there have been many bad sectors, which have
been
corrected using the spares, until no more spare sectors are left for
replacements.

That drive may well fail catastrophically, soon.

I figured as much, which is why I'm going to re-build the whole array with a
new drive, etc... Fortunatly I got all my data off ok without any issues.

 However, every time the system tried to write to that sector in the
array,
 the system would freeze, and then reboot, and of course it would say the
 file system isn't clean, etc...
 
 Since the file system is 1 TB in size, it would take 8+ hours to FSCK it.
 The array is only striped, and not mirrored or built with redunancy. I'm
 basically using the card/driver to make one large volume for a web
server.

OK.  Well, if this data is important to you, you should give consideration
to
using a RAID-1, RAID-10, or RAID-5 configuration to gain redundancy.

Yes, and when I re-build it with will be RAID-5 rather than just RAID-0

 I have a few questions:
 
 1) Is this a known bug? I'm running FreeBSD 4.11 (for software
compatibility
. issues at the moment, I will upgrade at some point in the future)

Normally, the OS will only kill the affected processes using that sector,
but
without knowing where it is, perhaps it's affecting some important file
like the
kernel itself, /bin/sh...?

Actually the only thing that was on the array was a DB, so I think the
failure may have been causing MySQL to go nuts, and cascading up. 

 2) How can I trap the errors and eliminate the re-boot issue?

Shut down the system.  Replace the failing hard drive.  Use dd to make an
exact
copy onto the new drive on some other system. and put the new drive back
into
the array.  Note that the replacement drive must be an exact match for this
to
work, otherwise you will have to backup your data and rebuild the array.

Speaking of which, do you have known-good backups available?

Of course I have backups!! Never work without them. I'm going to re-build
with RAID-5 this time.

 3) Is there some way I can do a faster FSCK, or perhaps 'fool' the system
 into thinking the file system is clean?

If you update to 5.x or later, you can use background FSCK rather than
having to
wait for the FSCK to complete the way it does under 4.x.

I wasn't aware 5.x could do this. My next question is how are my existing
apps going to be affected by upgrading to 5.x? I have some builds of
packages that were done by a company that is no longer in operation. I
haven't fully figured out how they built the software yet so I can't
re-build under 5.X yet. If I try to put the elf binaries and the other
builds from 4.X on 5.X are they going to run ok or do I just need to give it
a try? Would you suggest going all the way to 6.x or sticking with the 5.x
chain?

 4) Any suggestions on how to fix this?

Also, if you update to 5.x, you can run the smartmon tools, which will let
you
do a drive self-test using SMART, this will give much better information
about
what is going on with the drive, and also give an estimate of its remaining
lifespan.

Yes, this would help a lot!!!

How old are the drives, if you know?

They're less than 2 years old, and still under warranty. This is the second
drive to fail and it's driving me nuts.

They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA drives... Never had a
problem with that particular drive until this batch. 

Can anyone suggest some good 250GB PATA drives for me to use? I might as
well swap them all out since I'm starting over. The 6000 series Escalade
card I'm using doesn't support anything more than 250 GB.

Thanks all again!!!
Don

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


help i need a help

2006-02-22 Thread poria hariry
Hi Dear Sirs
  i am a ICT student . i have a project that moust install freebsd and sharing 
file whit windows but i have a problem
  i can not open Xwindow . can you help me  about this.
  tnx


-
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews,  more on new 
and used cars.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help i need a help

2006-02-22 Thread Mike Hernandez
On 2/22/06, poria hariry [EMAIL PROTECTED] wrote:
 Hi Dear Sirs
   i am a ICT student . i have a project that moust install freebsd and 
 sharing file whit windows but i have a problem
   i can not open Xwindow . can you help me  about this.
   tnx


1. You don't need Xwindows to share a file with anyone, not even
windows machines, believe it or not :)
2. Once you have your network set up properly (see the handbook), move on to 3.
3. In my opinion, you really need help with samba, not freebsd (all
you have to do is install samba, which is as easy as cd
/usr/ports/wherever/samba/is/hiding/ ; make install) samba
documentation is plentiful on the web, ask google... the only issues
that might be freebsd specific when it comes to samba involve the
location of the config files and binaries. I could be wrong...

good luck :)

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


problem regarding setting DISPLAY env variable and hostname

2006-02-22 Thread Rob
I have been trying to figure out how to set the display name on my computer.  I 
have a program used with Xorg
that gives me the error message:

_X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
servname provided, or not known
Error: Can't open display: xenon:0.0

also when starting or stopping Xorg I either get:

bad display name xenon:0 in remove commandor
bad display name xenon:0  in list command

I have my XDISPLAY env variable set using (in Bash):

DISPLAY=xenon:0.0 export DISPLAY

xenon is the name of the machine

I think part of the problem is the setting of the hostname.  This laptop runs 
off of DHCP
and I am not really sure about what I should do for setting the hostname.  The 
manual says
to set HOSTNAME= in rc.conf if using DHCP, but then I get the amnesiac 
message upon boot.
Sendmail doesn't like that either and hangs during the boot process.  So I just 
set it
arbitrarily to xenon

I have read manual pages, searched the archives, but I am really confused about 
all of this.
Thank you for any help.

Sincerely,

Rob Lytle

-- 

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


Re: help i need a help

2006-02-22 Thread albi
poria hariry wrote:

   i am a ICT student . i have a project that moust install freebsd and 
 sharing file whit windows but i have a problem
   i can not open Xwindow . can you help me  about this.

try this :
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

if that is not working you can try booting from a live-cd (e.g. knoppix)
and then use the /etc/X11/xorg.conf or /etc/X11/XF86Config-4 from that

-- 
grtjs, albi
gpg-key: lynx -dump http://scii.nl/~albi/gpg.asc | gpg --import
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble Making OpenOffice

2006-02-22 Thread Tim Daneliuk

Pietro Cerutti wrote:


On 2/21/06, Tim Daneliuk [EMAIL PROTECTED] wrote:


I am trying to build OO 2.02rc1
on FBSD 6.1-PRERELEASE.  I see this error:

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/testtools/source/bridgetest
dmake:  Error code 1, while making 'build_instsetoo_native'

Ideas anyone?



Try symlinking the required library:

# cd $JAVA_HOME/jre/lib/i386  ln -s xawt/libmawt.so .

^
This seems not to be present

I am going to do a fresh install of the jdk 1.5 release...



--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: 3Ware Escalade Issues

2006-02-22 Thread Nathan Vidican

Charles Swiger wrote:

On Feb 22, 2006, at 12:31 PM, Don O'Neil wrote:

3) Is there some way I can do a faster FSCK, or perhaps 'fool'  the 
system

into thinking the file system is clean?




If you update to 5.x or later, you can use background FSCK rather  than


having to


wait for the FSCK to complete the way it does under 4.x.



I wasn't aware 5.x could do this. My next question is how are my  
existing

apps going to be affected by upgrading to 5.x?



If you install the 4.x compatibility libraries, your old 4.x binaries  
should continue to work just fine.  However, you will want to rebuild  
as much of your existing software under 5.x as possible.


Also, if you update to 5.x, you can run the smartmon tools, which  
will let


you

do a drive self-test using SMART, this will give much better  
information


about

what is going on with the drive, and also give an estimate of its  
remaining

lifespan.



Yes, this would help a lot!!!



Well, once you're running 5.x, install smartmon and run: smartctl -t  
long /dev/ad0, or whatever the right device is.



How old are the drives, if you know?



They're less than 2 years old, and still under warranty. This is  the 
second

drive to fail and it's driving me nuts.

They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA drives...  Never 
had a

problem with that particular drive until this batch.

Can anyone suggest some good 250GB PATA drives for me to use? I  might as
well swap them all out since I'm starting over. The 6000 series  Escalade
card I'm using doesn't support anything more than 250 GB.



I've had somewhat better luck with the so-called special edition  
variants of the drives, such as the WD1200JB, which have more cache  RAM 
and a longer warranty period than the generic versions




According to Western Digital, ONLY their 'SD' or (RAID-Edition) drives should be 
attempted in an array; WDC utilizes proprietary error correction mechanisms 
which mangle the error-handling done by an array controller. In short, while the 
drive is doing it's internal error-correction, the raid controller sees it as a 
drive failure and a whole new mess develops.


We've run into this several times now, both with our own in-house systems, and 
with those we've procured for others... trust me on this, if going with Western 
Digital drives... DO NOT use anything other than their 'SD' or RAID-Edition 
drives. Maxtor drives have no such issue AFAIK, nor Seagate... but only speaking 
from experience here not factual data. - WDC has a good explanation int he 
knowledge base on their website/support section.


--
Nathan Vidican
[EMAIL PROTECTED]
Windsor Match Plate  Tool Ltd.
http://www.wmptl.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Trouble Making OpenOffice

2006-02-22 Thread Jonathan Chen
On Wed, Feb 22, 2006 at 12:23:17PM -0600, Tim Daneliuk wrote:
 Pietro Cerutti wrote:
 
 On 2/21/06, Tim Daneliuk [EMAIL PROTECTED] wrote:
 
 I am trying to build OO 2.02rc1
 on FBSD 6.1-PRERELEASE.  I see this error:
 
 ERROR: Error 65280 occurred while making 
 /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/testtools/source/bridgetest
 dmake:  Error code 1, while making 'build_instsetoo_native'
 
 Ideas anyone?
 
 
 Try symlinking the required library:
 
 # cd $JAVA_HOME/jre/lib/i386  ln -s xawt/libmawt.so .
 ^
 This seems not to be present
 
 I am going to do a fresh install of the jdk 1.5 release...

Last time I heard, the openoffice build requires JDK1.4.2. It doesn't
build with JDK 1.5

CHeers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-22 Thread Giorgos Keramidas
On 2006-02-22 10:17, Rob [EMAIL PROTECTED] wrote:
 I have been trying to figure out how to set the display name on my
 computer.  I have a program used with Xorg that gives me the error
 message:

 _X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
 servname provided, or not known
 Error: Can't open display: xenon:0.0

 also when starting or stopping Xorg I either get:

 bad display name xenon:0 in remove commandor
 bad display name xenon:0  in list command

Your laptop can't resolve the name xenon.

 I have my XDISPLAY env variable set using (in Bash):

 DISPLAY=xenon:0.0 export DISPLAY

 xenon is the name of the machine

 I think part of the problem is the setting of the hostname.  This laptop
 runs off of DHCP and I am not really sure about what I should do for
 setting the hostname.  The manual says to set HOSTNAME= in rc.conf if
 using DHCP, but then I get the amnesiac message upon boot.  Sendmail
 doesn't like that either and hangs during the boot process.  So I just
 set it arbitrarily to xenon

Note that the capitalization of rc.conf variables is *significant*.  The
real rc.conf variable that you have to set to avoid the Amnesiac name is:

hostname=xenon

 I have read manual pages, searched the archives, but I am really confused
 about all of this.  Thank you for any help.

All this can be resolved by using `/etc/hosts'.  Just add your hostname
there and point it to the 127.0.0.1 address.  Then all programs should be
able to resolve it.


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


Re: Trouble Making OpenOffice

2006-02-22 Thread Tim Daneliuk

Jonathan Chen wrote:


On Wed, Feb 22, 2006 at 12:23:17PM -0600, Tim Daneliuk wrote:


Pietro Cerutti wrote:



On 2/21/06, Tim Daneliuk [EMAIL PROTECTED] wrote:



I am trying to build OO 2.02rc1
on FBSD 6.1-PRERELEASE.  I see this error:

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/testtools/source/bridgetest

dmake:  Error code 1, while making 'build_instsetoo_native'

Ideas anyone?



Try symlinking the required library:

# cd $JAVA_HOME/jre/lib/i386  ln -s xawt/libmawt.so .


   ^
   This seems not to be present

I am going to do a fresh install of the jdk 1.5 release...



Last time I heard, the openoffice build requires JDK1.4.2. It doesn't
build with JDK 1.5



Ahhh, I was under the impression this was fixed - My Bad - back to 1.4...


--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Re: anyone using voip?

2006-02-22 Thread Ken Stevenson

Peter wrote:

Hi, I'm looking for comments from people who are using a voip solution
with FreeBSD.  The archives of this group show mixed results.  I see there
is a skype port available.  To me that implies that this is possible. 
What of hardware?  USB phones?


--
Peter



I've started playing around with it at home.

I installed the asterisk port on FreeBSD and downloaded the free 
Counterpath X-Lite softphone for XP. Using a headset (Plantronics 
USB), I've gotten as far as calling the asterisk demo on my server.


I got an account on FWD (Free World Dialup) for testing, and also 
downloaded and registered with Skype.


Check out voip-info.org as a resource.

As far as hardware, you might want to look at SNOM phones or Polycom 
phones for SIP based IP phones, and Sipura as an ATA to use with 
standard phones.


Here's an article on how one guy setup asterisk for use at home:

http://arstechnica.com/guides/tweaks/voip.ars

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


Re: help i need a help

2006-02-22 Thread Tim Daneliuk

Mike Hernandez wrote:


On 2/22/06, poria hariry [EMAIL PROTECTED] wrote:


Hi Dear Sirs
 i am a ICT student . i have a project that moust install freebsd and sharing 
file whit windows but i have a problem
 i can not open Xwindow . can you help me  about this.
 tnx




1. You don't need Xwindows to share a file with anyone, not even
windows machines, believe it or not :)
2. Once you have your network set up properly (see the handbook), move on to 3.
3. In my opinion, you really need help with samba, not freebsd (all
you have to do is install samba, which is as easy as cd
/usr/ports/wherever/samba/is/hiding/ ; make install) samba
documentation is plentiful on the web, ask google... the only issues
that might be freebsd specific when it comes to samba involve the
location of the config files and binaries. I could be wrong...

good luck :)

Mike


Mike's advice is sound.  There is, perhaps, even a simpler solution:

1) Install FreeBSD
2) Configure the network correctly
3) Use the 'smbfs' facility to create a shared directory between
   Windows and FreeBSD.  That way you don't have to fiddle with samba.

Just my .02 cents/euros/drachmas/sheckels/pounds/yuan/yen worth ;)


As Mike points out, you do *not* need X or any GUI tools to do any of this.
--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


Qpopper v4.0.8

2006-02-22 Thread michaela
I was running an older version of Qpopper on my mailserver and had NO 
problems whatsoever.  Everything was going great.  However, I just recently 
upgraded to Qpopper v4.0.8 and now all of a sudden I can't access my mail 
via POP3.  

I'm running Qpopper via INETd and my /etc/inetd.conf file looks like this

pop3stream  tcp nowait  root/usr/local/libexec/qpopper qpopper -
s -T 600


However, when I try telnetting to localhost 110, I get the 
dreaded, CONNECTION CLOSED BY FOREIGN HOST message.  NETSTAT shows that 
Qpopper is listening on Port 110/TCP so I don't know what's wrong.  
My /etc/hosts.allow file is set to allow ALL so that shouldn't be an issue.

I even executed KILLALL -HUP inetd numerous times and still no go.

I've poured through the Qpopper FAQs and documentation to see if I'm doing 
anything wrong, or missing something, but I just can't seem to pinpoint it.  

Any suggestions or details as to what I might be missing???

Any help is much appreciated.  

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


Re: Mysterious reboot

2006-02-22 Thread Robin Vley

Robert Huff wrote:

Robert,

 I have a -CURRENT machine - P4, 512mb RAM, SCSI disks,
 de-driver ethernet, all mainstream hardware - that has this problem.
 Since early last year (maybe longer) it will occasionally reboot.


Actually, I had it on three machines now. First on a P4 I leased in the 
US. Then on the dual Athlon MP with 3ware raid that I own and THEN on 
the SuperMicro machine I currently use. After the first reboot on that 
machine (8 days ago now) I did some things:


- removed all monitoring done by CPanel (except the cpanel monitor itself)
- Upped the maxfiles and vnodes a bit
- Removed an ipfw rule that counted everything that goes out and comes 
in. I used this for MRTG graphing, but now I changed to SNMP polling on 
a seperate cacti machine.


So far it's 8 days (a NEW record for my FreeBSD machines, woopie), knock 
 knock. It's possible it's one of the things above that did the trick, 
or that it's just a few more days untill the next reboot. We'll see.


 No warning, no panic, no core-dump, just - bang.  If I was lucky it


Right. Same here, on all machines.

 After an update in October (??), things slowly got better;
 several further updates and I haven't seen it in weeks.


I'll keep an eye on it too. Hope it's working like it should. If not 
it's time to start looking into some way of dumping run data or doing 
some serial logging or so.




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


clipping netstat -w error counts

2006-02-22 Thread Andrew Pantyukhin
I have a very lossy wi-fi link. Is there a bug in netstat?

gw# netstat -w1 -I ext0
input (ext0)   output
   packets  errs  bytespackets  errs  bytes colls
13 1492 33 0   2563 0
10 0140 31 0   2780 0
17 4294967295934 32 0   2396 0
13 4754 28 0   1824 0
22 4294967295   1575 40 0   2952 0
29 4294967294   1731 50 0   4315 0
46 0   4202 77 0   5967 0
17 0   1065 41 0   3309 0
55 1   4502 93 0   7398 0
40 1   3227 80 0   6633 2
40 5   1786 44 0   3314 0
17 4294967291995 20 0   1320 0
21 2737 22 0   1534 0
 9 4294967292384 14 0   1090 0
14 0723 13 0   1714 0
23 2   1382 16 0   1048 0
 9 4294967292334 19 0   1235 0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3Ware Escalade Issues

2006-02-22 Thread Robin Vley

Don O'Neil wrote:

Don,


They're Maxtor DiamondMax Plus 9 6Y250P0 250 GB PATA drives... Never had a
problem with that particular drive until this batch. 


I used the 80, 120 and 160GB version of that series in some of my 
servers built 2 years ago. Out of the 18 disks originally put in, I have 
4 broken ones on my desk now. I'm not very happy with the overal 
performance when it comes to reliability of that series Maxtor.



Can anyone suggest some good 250GB PATA drives for me to use? I might as
well swap them all out since I'm starting over. The 6000 series Escalade
card I'm using doesn't support anything more than 250 GB.


I swapped the broken Maxtors with Seagate disks. I'm using 3ware 7500-4 
for the PATA. Forgot what the SATA 3ware controller was, but so far no 
problem with that one (also on Maxtor disks).


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


Re: help i need a help

2006-02-22 Thread Greg Barniskis

Tim Daneliuk wrote:


As Mike points out, you do *not* need X or any GUI tools to do any of this.


Well, you don't need a GUI to access the files and share them in the 
sense of raw file share functionality. I think perhaps the OP was 
getting at sharing at a higher level, like Windows User A being 
able to hand off an Office file to FreeBSD User B and User B being 
able to whip out OpenOffice and edit that file.


There's probably a few on this list who'd be comfortable editing an 
Office doc in vi, but I personally wouldn't recommend it. 8)


A /complete/ sharing solution may need to include the users and 
their need for some X Windows apps. The OP didn't state such a need 
explicitly but to me it seemed implied that the FreeBSD PC needs to 
open the Windows files and probably vice versa.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 3Ware Escalade Issues

2006-02-22 Thread Peter Giessel
On Wednesday, February 22, 2006, at 10:04AM, Robin Vley [EMAIL PROTECTED] 
wrote:

I swapped the broken Maxtors with Seagate disks.

I too am a big fan of Seagate disks.  So it Seagate it seems.

Maxtor and Western Digital give 1 year on the low end and 3 year
warranty on their Special Edition drives, whereas Seagate does
a 5 year warranty on all their drives.  This says something to me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Increase process number in FreeBSD 6.0

2006-02-22 Thread Thawan Kooburat
Hi
   I am using FreeBSD 6.0. My course assignment required me to
increase  process number running on a system.
   I have already modify /boot/loader.conf on following parameters

 kern.maxusers = 384
 kern.maxproc = 5
 kern.maxprocperuid = 5

   But after reboot maxproc and maxprocperuid is only 5278 and 4755
respectively. From my research maxproc is calculated from maxusers,
but   i think my maxproc number is limited by other factors as well.
Are there any suggestion to this problem without increasing RAM?

  My system is running on VMware and 256 MB of RAM available. The test
program create process by using fork() and child processes is put to
sleep() immediately after its creation.


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


A question on console and UTF-8

2006-02-22 Thread a
How to force a console to use a multibyte character set (UTF-8)? 
I use FreeBSD 6.0-STABLE. 
Thanking you in anticipation, Elisej Babenko 
mailto:[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: Qpopper v4.0.8

2006-02-22 Thread Kevin Kinsey

michaela wrote:

I was running an older version of Qpopper on my mailserver and had NO 
problems whatsoever.  Everything was going great.  However, I just recently 
upgraded to Qpopper v4.0.8 and now all of a sudden I can't access my mail 
via POP3.  


I'm running Qpopper via INETd and my /etc/inetd.conf file looks like this

pop3stream  tcp nowait  root/usr/local/libexec/qpopper qpopper -
s -T 600


However, when I try telnetting to localhost 110, I get the 
dreaded, CONNECTION CLOSED BY FOREIGN HOST message.  NETSTAT shows that 
Qpopper is listening on Port 110/TCP so I don't know what's wrong.  
My /etc/hosts.allow file is set to allow ALL so that shouldn't be an issue.


I even executed KILLALL -HUP inetd numerous times and still no go.

I've poured through the Qpopper FAQs and documentation to see if I'm doing 
anything wrong, or missing something, but I just can't seem to pinpoint it.  


Any suggestions or details as to what I might be missing???

Any help is much appreciated.  
 



qpopper writes to syslog AFAIK ... so what's in /var/log/messages?

Is there a firewall on the machine?

Kevin Kinsey

--
You're ugly and your mother dresses you funny.


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


Re: xorg-libraries 6.9.0 wont build

2006-02-22 Thread Kris Kennaway
On Wed, Feb 22, 2006 at 05:03:51PM +0100, Bernt Hansson wrote:
 Anyone having trouble upgrading from 6.8.2 to 6.9.0?
 
 It won't take the patches.

You have stale patches in your ports tree.  Perhaps you installed
ports from sysinstall and then switched to cvsup to update without
following the steps in the FAQ on www.polstra.com.

Kris


pgpmgXqdBwyOb.pgp
Description: PGP signature


Upgrading Apache

2006-02-22 Thread andreis
Hi:
Could you please help us to find out if it is possible to upgrade 10.3.29 
Apache to the latest 10.3.x version through FreeBSD RELENG_5_4 ports? If so, 
any hints as to how to find the right ports would be greatly appreciated. 

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


Re: Qpopper v4.0.8

2006-02-22 Thread Derek Ragona
As you said you have just upgraded, did you use the port to upgrade?  If 
you did it will use the configuration setting to build qpopper.  Otherwise, 
if you downloaded qpopper's source and built it yourself, you need to check 
the configuration settings.


You should verify qpopper is built and executable:
ls -l /usr/local/libexec/qpopper

If you are using tcp wrappers disable them to test qpopper by uncommenting 
the line:

#ALL : ALL : allow
in /etc/hosts.allow

as a last check, it never hurts to reboot the box, so you are sure there 
are no issues from old processes or sockets.


If you are still having problems connecting check the log add the option:
-t [some log file location and file name]
such as
-t /var/log/qpopper.log

Then you can see what the problems are.

Hope this helps.

-Derek


At 12:51 PM 2/22/2006, michaela wrote:

I was running an older version of Qpopper on my mailserver and had NO
problems whatsoever.  Everything was going great.  However, I just recently
upgraded to Qpopper v4.0.8 and now all of a sudden I can't access my mail
via POP3.

I'm running Qpopper via INETd and my /etc/inetd.conf file looks like this

pop3stream  tcp nowait  root/usr/local/libexec/qpopper qpopper -
s -T 600


However, when I try telnetting to localhost 110, I get the
dreaded, CONNECTION CLOSED BY FOREIGN HOST message.  NETSTAT shows that
Qpopper is listening on Port 110/TCP so I don't know what's wrong.
My /etc/hosts.allow file is set to allow ALL so that shouldn't be an issue.

I even executed KILLALL -HUP inetd numerous times and still no go.

I've poured through the Qpopper FAQs and documentation to see if I'm doing
anything wrong, or missing something, but I just can't seem to pinpoint it.

Any suggestions or details as to what I might be missing???

Any help is much appreciated.

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


Can't seem to boot from 6.0-RELEASE

2006-02-22 Thread Alex Mayfield
I'm rather new to FreeBSD, and have been wanting to try it out.  However,  
I am unable to boot from either the i386 6.0-RELEASE bootonly or the i386  
6.0-RELEASE disc 1 CD.  I'm running an Athlon 64 3000+ on a WinFast  
755FXK8AA motherboard (Socket 939, SiS 755 North Bridge, SiS 964 South  
Bridge).  The boot CD dies right after ago0: figures out my SiS 755 with:


panic: pmap_mapdev: Couldn't alloc kernel virtual memory.

Having searched for my problem before posting, I found that another  
individual has had a similar problem to mine:


http://docs.freebsd.org/cgi/mid.cgi?20060122170123.I76421

I followed his initiative and tried the boot option that didn't use ACPI.   
No dice.  I also checked the MD5 of both CD's and they checked out fine.   
Finally, I tried to boot the amd64 version of FreeBSD, and this time it  
booted just fine and I got to an installation screen.  However, given the  
fact that there are no nvidia drivers for the 64 bit version, and certain  
programs being unavalable for amd64, I'd really just prefer to use the  
i386 version instead.


Thanks in advance for your help.

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


Re: problem regarding setting DISPLAY env variable and hostname

2006-02-22 Thread Rob
On Wed, 22 Feb 2006 20:27:20 +0200
Giorgos Keramidas [EMAIL PROTECTED] wrote:

 On 2006-02-22 10:17, Rob [EMAIL PROTECTED] wrote:
  I have been trying to figure out how to set the display name on my
  computer.  I have a program used with Xorg that gives me the error
  message:
 
  _X11TransSocketINETConnect() can't get address for xenon:6000: hostname nor 
  servname provided, or not known
  Error: Can't open display: xenon:0.0
 
  also when starting or stopping Xorg I either get:
 
  bad display name xenon:0 in remove commandor
  bad display name xenon:0  in list command
 
 Your laptop can't resolve the name xenon.
 
  I have my XDISPLAY env variable set using (in Bash):
 
  DISPLAY=xenon:0.0 export DISPLAY
 
  xenon is the name of the machine
 
  I think part of the problem is the setting of the hostname.  This laptop
  runs off of DHCP and I am not really sure about what I should do for
  setting the hostname.  The manual says to set HOSTNAME= in rc.conf if
  using DHCP, but then I get the amnesiac message upon boot.  Sendmail
  doesn't like that either and hangs during the boot process.  So I just
  set it arbitrarily to xenon
 
 Note that the capitalization of rc.conf variables is *significant*.  The
 real rc.conf variable that you have to set to avoid the Amnesiac name is:
 
 hostname=xenon
 
  I have read manual pages, searched the archives, but I am really confused
  about all of this.  Thank you for any help.
 
 All this can be resolved by using `/etc/hosts'.  Just add your hostname
 there and point it to the 127.0.0.1 address.  Then all programs should be
 able to resolve it.
 
 
 
Thanks Giorgios,

I think that I have the hostname problem resolved.  rc.conf has 
hostname=xenon  and
/etc/hosts has:  127.0.0.1 localhost  xenon

So now Xorg does not give errors on startup or shutdown like the 
  bad display name xenon:0 in remove commandor
  bad display name xenon:0  in list command

But when not setting the DISPLAY variable explicitely anywhere I still get the 
error:
out of display lists upon starting the program I want from xterm

But then setting DISPLAY=xenon:0.0 export DISPLAY and then executing the 
program then gives the error:

Can't open display: xenon:0.0   so I guess I am back to square one.

Maybe I should call it a day and rest, haha.

Thanks,

Rob




-- 

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


FreeBSD 6.X Updating Source

2006-02-22 Thread Cody Holland
I just installed a server with FreeBSD 6.0.  Everything went perfect.
Got it up and running and wanted to download the newest source prior to
installing a lot of ports and software.  Used cvsup with stable-supfile.
Went throught the normal update procedure and when it was done it says
that I am running FreeBSD 6.1-PRERELEASE #0.  I'm using the RELENG_6
tag, and it was to my understanding that this only followed 6-stable.
Is a prerelease considered stable, or am I doing something wrong?

Cody Holland
Network Engineer
Redmoon Broadband, Inc.
972-599-3926
[EMAIL PROTECTED]
**
The information contained in, or attached to, this e-mail, may contain
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and may be subject to
legal privilege. If you have received this e-mail in error you should
notify the sender immediately by reply e-mail, delete the message from
your system and notify your system manager. Please do not copy it for
any purpose, or disclose its contents to any other person. The views or
opinions presented in this e-mail are solely those of the author and do
not necessarily represent those of the company. The recipient should
check this e-mail and any attachments for the presence of viruses. The
company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email.
** 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.X Updating Source

2006-02-22 Thread Erik Trulsson
On Wed, Feb 22, 2006 at 03:15:11PM -0600, Cody Holland wrote:
 I just installed a server with FreeBSD 6.0.  Everything went perfect.
 Got it up and running and wanted to download the newest source prior to
 installing a lot of ports and software.  Used cvsup with stable-supfile.
 Went throught the normal update procedure and when it was done it says
 that I am running FreeBSD 6.1-PRERELEASE #0.  I'm using the RELENG_6
 tag, and it was to my understanding that this only followed 6-stable.
 Is a prerelease considered stable, or am I doing something wrong?
 

Read the FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RELEASE-CANDIDATE


-- 
Insert your favourite quote here.
Erik Trulsson
[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: FreeBSD 6.X Updating Source

2006-02-22 Thread [EMAIL PROTECTED]
On 2/22/06, Cody Holland [EMAIL PROTECTED] wrote:
 . . . running FreeBSD 6.1-PRERELEASE #0.
 . . . RELENG_6 tag,
 Is a prerelease considered stable, or am I doing something wrong?

Naming conventions.  Nothing else.  For the brief life
of a -PRERELEASE, that's what -STABLE is.  There's
also a tendancy to not commit major changes during
this period.

 . . .Please do not copy it for
 any purpose, or disclose its contents to any other person.

Sorry about that.  I'll try to avoid being legally bound by
agreements I didn't sign in the future.

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


Looking for a mentor on php/mysql

2006-02-22 Thread fbsd_user
I am trying to teach my self php/mysql/html programming.
I have done native static html web sites before.
Running FreeBSD 6.0 with apache13, php, and mysql all installed and
working.

Have read a few php books and searched the web for code snippets.
Have been on some of the php forum sites, but responses are not forth
coming.

Looking for a mentor to guide me with puting all the pieces together.
I have a working panel for registering a user that writes to a flat
text file.
Need guidance in changing this to use mysql. Would email you direct
outside of the questions list.




html
head
meta http-equiv=Content-Language content=en-us
titlelearning PHP /title
/head
body
h1 ALIGN=centernbsp;/h1
h1 ALIGN=centerfont size=6nbsp;Membership
Registration/font/h1
font FACE=Courier New SIZE=2pnbsp;/p
pEnter your info below./font/p
pnbsp;/p

form method=POST action=?php echo($PHP_SELF); php?
   input type=hidden name=action value=addbr
  pAccount IDnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;
  input type=text name=id size=20/p
  pAccount Passwordnbsp;nbsp;
  input type=text name=pw size=20/p
  pFirst
Namenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;
  input type=text name=first-name size=20/p
  pLast
Namenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;
  input type=text name=last-name size=20/p
  pAddress
Linenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
  input type=text name=address size=20/p

pCitynbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nb
sp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;
  input type=text name=city size=20/p

pStatenbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;n
bsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;
  input type=text name=state size=20/p

pZipnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbs
p;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
  input type=text name=zip size=20/p
  pnbsp;/p

pnbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;
  input type=submit value=Submit name=B1input type=reset
value=Reset name=B2/p
/form

pnbsp;/p
?php
$file_directory = $_SERVER[DOCUMENT_ROOT];
$user_ip = $_SERVER[REMOTE_ADDR];
$error = 'Could not open the file! Verify permissions  path are
correct.';


if($_POST['action'] == add)
 {
 if($filehandle = fopen($file_directory/members.php, a))
   {
flock($filehandle, 2);  // lock file
fputs($filehandle,
$_POST['id'].:.$_POST['pw'].:.$_SERVER['REMOTE_ADDR'].:.$_POST['
first-name'].:.$_POST['last-name'].:.$_POST['address'].:.$_POST[
'city'].:.$_POST['state'].:.$_POST['zip'].\n);
flock($filehandle, 3); // unlock file
fclose($filehandle);
print(Successfully added .$_POST['id']. to the file);
   }
   else
   {
echo($error);
   }
 }
php?
/body/html

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


Re: virtual memory exhausted: Cannot allocate memory

2006-02-22 Thread Derrick Ryalls
On 2/22/06, Ken Williams [EMAIL PROTECTED] wrote:


 Hi FreeBSD folks,

I'm having trouble compiling the java/jdk15 package.  I've downloaded
 the
 files from Sun and eyesbeyond, as per usual. When I go to the jdk15
 directory and do 'make' the compilation starts and runs for an hour or two
 and then grinds to a halt with the following error message;

 --
 gmake[3]: Leaving directory

 `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
 gmake[3]: Entering directory

 `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
 Compiling ../generated/adfiles/ad_i486.cpp
 virtual memory exhausted: Cannot allocate memory
 gmake[3]: *** [ad_i486.o] Error 1
 gmake[3]: Leaving directory

 `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
 gmake[2]: *** [the_vm] Error 2
 gmake[2]: Leaving directory

 `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg'
 gmake[1]: *** [jvmg] Error 2
 gmake[1]: Leaving directory
 `/usr/ports/java/jdk15/work/control/build/bsd-i586/hotspot-i586/tmp'
 gmake: *** [jvmg] Error 2
 *** Error code 2

 Stop in /usr/ports/java/jdk15.

 --

The PC I'm using has a 2.3GHz Pentium, with 128MB memory and 70GB free
 disk space
 running FreeBSD-6.1PRERELEASE. Interestingly, when I run 'make' and do
 'top'
 the compilation process steadily grows to 128MB in size and then stays at
 that size until it grinds to a halt.

   I was under the impression that FreeBSD imposed a default maximum
 process
 size of 512MB, maybe that's changed or I was wrong (anyone ??). After
 Googling, I found that the way to increase the maximum process size was to
 add the following entries to /boot/loader.conf and reboot;

 root$ more /boot/loader.conf
 kern.maxdsiz=1073741824 # 1GB
 kern.dfldsiz=1073741824 # 1GB
 kern.maxssiz=134217728 # 128MB

   I did this and tried compiling jdk15 again but it made no difference.

   So I had the idea that another way to increase the amount of virtual
 memory available is to increase the amount of swap memory available
 (correct
 ??) which I did (to 1GB) as described in the Handbook here
 (
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/adding-swap-space.html
 ).
 This I did, and when I do 'top' it shows up as available swap memory but
 when I tried compiling jdk15 again it also made no difference.

   I've also checked my resource limits (ulimit) but they look reasonable
 to
 me;

 root$ ulimit -SHacdflmnpstuv
 core file size(blocks, -c) unlimited
 data seg size (kbytes, -d) 524288
 file size (blocks, -f) unlimited
 max locked memory (kbytes, -l) unlimited
 max memory size   (kbytes, -m) unlimited
 open files(-n) 1735
 pipe size  (512 bytes, -p) 1
 stack size(kbytes, -s) 65536
 cpu time (seconds, -t) unlimited
 max user processes(-u) 867
 virtual memory(kbytes, -v) unlimited


For info, I also have java/linux-sun-jdk14 installed with linprocfs
 mounted (to bootstrap the jdk15 installation) but I don't think this is
 related to my problem.

   I'm at a bit of a loss what to do next. Do I need to buy some more
 memory
 for my PC (just to compile jdk15) or is there anything else I can try or
 change in FreeBSD which may help me ?

  Any help is much appreciated.

 Ken


My video card has more memory than your system does.  Do you have any swap
space mounted/available?

/etc/fstab will tell you if you have a swap partition.  If you do (and it is
big) then I am not sure what the issue is, but is does sound like the system
is short on memory.  If you have no swap space partitioned, there is a way
to make a swapfile, but I have never done it myself.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What doesn't work on desktop FreeBSD ? (ex Webcams)

2006-02-22 Thread Jan Holland
Xn Nooby wrote:

 I bought a QuickCam Orbit MP, which I apparently must use under Windows (or
 Linux).  From what I've seen online, not many (if any), people are using
 webcams under FreeBSD.  I was curious if there were other things that also
 were not realistic to do (I'm not complaining).

 Some of the things that do work are my soundcard, nVidia card, gigabit NIC,
 opengl games, wine, accelerated qemu, hp inkjet printer, and lots of
 wonderful free software.  Qemu nullified my need for VMWare (though I own
 5.5 for win and linux). OpenOffice, Abiword, and Firefox with flash and java
 works.   Lots of stuff works.

 I'm just curious if I am going to hit any roadblocks down the road.

 (Maybe there is a way to get my Quickcam to work using the RH
 8.0compatibilty layer)

 thank!

Someone ported the Linux pwc webcam driver to FreeBSD, and
it actually works great with my Logitech Quickcam 4000 pro!

According to his website http://raaf.atspace.org/  Logitech
Quickcam Orbit should work as well.



___ 
In the English and Scottish football leagues, which team has the longest name? 

postmaster.co.uk
http://www.postmaster.co.uk/cgi-bin/meme/quiz.pl?id=223
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail hangs with errors after setting hostname

2006-02-22 Thread Rob
Hi,

OK, I think that I now have my hostname set properly in rc.conf and /etc/hosts

In rc.conf is the line hostname=xenon

In /etc/hosts there is one line:  127.0.0.1  localhost  xenon

Upon bootup I get the following error:

xenon sm-mta [1556]: My unqualified host name (localhost) unknown;
sleeping for retry

Then after it sleeps a bit I get more errors.  Finally, I just hig ctrl-c to 
kill it
and the boot process continues.

I looked in the handbook in the Sendmail section and it referred to a file in 
/etc/mail
called local-host-names and I put that file in with the line: xenon in 
there, but with 
the same results, so I am really not certain exactly what to do now.

I put the Sendmail config part of rc.conf below.  I just want localhost based 
Sendmail.

Thanks,

Rob.


part of rc.conf:

##
###  Mail Transfer Agent (MTA) options  ##
##

mta_start_script=/etc/rc.sendmail
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail and /etc/rc.d/sendmail:
sendmail_enable=NO# Run the sendmail inbound daemon (YES/NO).
sendmail_pidfile=/var/run/sendmail.pid# sendmail pid file
sendmail_procname=/usr/sbin/sendmail  # sendmail process name
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail submission
sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
# Flags for localhost-only MTA
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound only)
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
# Flags for sendmail_msp_queue daemon.


-- 

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


How to delete ports?

2006-02-22 Thread Jose Borquez
Is it safe to go into /usr/ports and delete the entire contents of the 
ports and then do a cvsup to download only the needed ports?  Is there 
another method to do this?


Thanks in advance,
Jose
___
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 delete ports?

2006-02-22 Thread chris
There is no problem doing that, just add each dir you dont need or want in
a .cvsignore file in /usr/ports/.cvsignore just remeber that some of those
items you dont need might be required as a dep for some other port.

Regards,
Chris
 Is it safe to go into /usr/ports and delete the entire contents of the
 ports and then do a cvsup to download only the needed ports?  Is there
 another method to do this?

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



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


Re: How to delete ports?

2006-02-22 Thread Kövesdán Gábor

Jose Borquez wrote:

Is it safe to go into /usr/ports and delete the entire contents of the 
ports and then do a cvsup to download only the needed ports?  Is there 
another method to do this?


Yes, you can safely delete /usr/ports. You can define the unwanted 
directories with refuse files for CVSup. See cvsup(1), it is described 
there well enough.


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: FreeBSD 6.X Updating Source

2006-02-22 Thread chris
The difference between RELENG_6 and RELENG_6_[0-1] is one is a development
branch which releases are based off and RELENG_6_0 is the stable version
of the released code which only gets security fixes commited to it. As
bother are considred stable code compared to current STABLE sometimes
breaks due to new features so i recomend you cvsup RELENG_6_0 then when
6.1-REL comes out cvsup RELENG_6_1

Regards,
Chris
 On 2/22/06, Cody Holland [EMAIL PROTECTED] wrote:
 . . . running FreeBSD 6.1-PRERELEASE #0.
 . . . RELENG_6 tag,
 Is a prerelease considered stable, or am I doing something wrong?

 Naming conventions.  Nothing else.  For the brief life
 of a -PRERELEASE, that's what -STABLE is.  There's
 also a tendancy to not commit major changes during
 this period.

 . . .Please do not copy it for
 any purpose, or disclose its contents to any other person.

 Sorry about that.  I'll try to avoid being legally bound by
 agreements I didn't sign in the future.

 --
 --
 ___
 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: Free BSD on Macintosh OS 10.3.9 ?

2006-02-22 Thread Malcolm Fitzgerald


On 22/02/2006, at 10:37 PM, Ted Mittelstaedt wrote:



Elisabet,

  I don't think you need the BSD base system to run Adobe Indesign
system.

  But, if you do then you have to do it this way:

1) backup all your data files from your iBook.  Unplug your ethernet
connection so
you have no network connection.

2) insert disk #1 of the Panther OS and boot with the C key to boot off
the CD

3) When the option comes up asking if you want to install OSX, select 
the

option
to completely erase the existing disk and reinitialize it.

4) Install Panther.



You can use the Options button to select the extra components at this 
stage. It saves you the extra reboot and install in step 5 below







5) Before plugging in the ethernet cable, boot from the hard disk of 
the

iBook,
insert disk #1, and go to the additional installers and run the BSD
system installer.

6) Plug in ethernet cable and run Software Update.



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


Re: anyone using voip?

2006-02-22 Thread Greg 'groggy' Lehey
On Tuesday, 21 February 2006 at 22:07:11 -0500, Peter wrote:
 Hi, I'm looking for comments from people who are using a voip solution
 with FreeBSD.  The archives of this group show mixed results.  I see there
 is a skype port available.  To me that implies that this is possible.
 What of hardware?  USB phones?

I've done a lot of investigation.  Summary: (not only under FreeBSD):
VoIP software is *really* bad.  Asterisk may work if you can
understand the arcane documentation, but it's overkill for a simple
VoIP phone solution.  The others are almost completely undocumented
and difficult to use.  This applies to commercial offerings too, some
of which are free to use.

I'm currently using linphone, mainly because it has a command-line
client, and I don't see why I should have to use a mouse to make a
phone call.  The client is buggy, though, and very non-intuitive.  For
example:  to call me, you might enter

  $ linphonec sip:[EMAIL PROTECTED]

This will work.  But I'd then expect the program to wait until
termination or until I hit ^C; instead, it returns with a prompt.
Hitting ^C stops the program without terminating the call.  To
terminate the call, you need to enter the entire text terminate.
Enter ^D to exit the program and it loops.  That's when you need the
^C.

From a hardware point of view, I'm using a standard analogue headset
with microphone.  You'll need to set the recording source to
microphone:

  $ mixer =rec mic

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
VoIP:  sip:[EMAIL PROTECTED], sip:[EMAIL PROTECTED]


pgprKj41fYAhT.pgp
Description: PGP signature


Re: anyone using voip?

2006-02-22 Thread Alec Berryman
Peter on 2006-02-21 22:07:11 -0500:

 Hi, I'm looking for comments from people who are using a voip solution
 with FreeBSD.  The archives of this group show mixed results.  I see
 there is a skype port available.  To me that implies that this is
 possible.  What of hardware?  USB phones?

I'm using Skype from ports with an analog headset and it works
fantastically well.


pgpvcSD5ct6I8.pgp
Description: PGP signature


Re: anyone using voip?

2006-02-22 Thread Peter

--- Alec Berryman [EMAIL PROTECTED] wrote:

 Peter on 2006-02-21 22:07:11 -0500:
 
  Hi, I'm looking for comments from people who are using a voip solution
  with FreeBSD.  The archives of this group show mixed results.  I see
  there is a skype port available.  To me that implies that this is
  possible.  What of hardware?  USB phones?
 
 I'm using Skype from ports with an analog headset and it works
 fantastically well.

I installed skype from ports.  Without a man page it was difficult to
begin.  I decided to execute the binary and it just sat there without any
output whatsover.  Do you have any notes?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gam_server driving me nuts

2006-02-22 Thread Peter
During a ports upgrade fam was replaced by gamin.  Now my power supply fan
keeps turning up and down.  This is causing a lot of noise and is very
annoying.  I can't seem to kill the thing either; damn thing respawns. 
What are other people doing?






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail hangs with errors after setting hostname

2006-02-22 Thread Derek Ragona
I would suggest setting the hostname as a different address from 
localhost.  There are multiple instances of sendmail that run, as your 
rc.conf file has them enabled.  You can use a private non-routable IP for 
the hostname.


Hope this helps.

-Derek

At 04:10 PM 2/22/2006, Rob wrote:

Hi,

OK, I think that I now have my hostname set properly in rc.conf and /etc/hosts

In rc.conf is the line hostname=xenon

In /etc/hosts there is one line:  127.0.0.1  localhost  xenon

Upon bootup I get the following error:

xenon sm-mta [1556]: My unqualified host name (localhost) unknown;
sleeping for retry

Then after it sleeps a bit I get more errors.  Finally, I just hig 
ctrl-c to kill it

and the boot process continues.

I looked in the handbook in the Sendmail section and it referred to a file 
in /etc/mail
called local-host-names and I put that file in with the line: xenon in 
there, but with

the same results, so I am really not certain exactly what to do now.

I put the Sendmail config part of rc.conf below.  I just want localhost 
based Sendmail.


Thanks,

Rob.


part of rc.conf:

##
###  Mail Transfer Agent (MTA) options  ##
##

mta_start_script=/etc/rc.sendmail
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail and /etc/rc.d/sendmail:
sendmail_enable=NO# Run the sendmail inbound daemon (YES/NO).
sendmail_pidfile=/var/run/sendmail.pid# sendmail pid file
sendmail_procname=/usr/sbin/sendmail  # sendmail process name
sendmail_flags=-L sm-mta -bd -q30m # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail 
submission

sendmail_submit_flags=-L sm-mta -bd -q30m -ODaemonPortOptions=Addr=localhost
# Flags for localhost-only MTA
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound 
only)

sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m
# Flags for sendmail_msp_queue daemon.


--

---
http://www.roblytle.org
Rob Lytle Home Page
___
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: anyone using voip?

2006-02-22 Thread Alec Berryman
Peter on 2006-02-22 18:55:34 -0500:

 
 --- Alec Berryman [EMAIL PROTECTED] wrote:
  
  I'm using Skype from ports with an analog headset and it works
  fantastically well.
 
 I installed skype from ports.  Without a man page it was difficult to
 begin.  I decided to execute the binary and it just sat there without any
 output whatsover.  Do you have any notes?

It just started up for me.  It's a Linux binary; have you properly
enabled Linux compatibility as described in the handbook?  You might
refer to the documentation on www.skype.com, but it was very much
plug-and-play.


pgpWdygbvX2py.pgp
Description: PGP signature


Page Fault - Wireless problem?

2006-02-22 Thread Dave Lewis
I am getting the following panic that happens intermittently using 6,0 
and 6.1 prerelease with GENERIC and modified kermels




  [GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i386-marcel-freebsd.

Unread portion of the kernel message buffer:
ural0: could not transmit buffer: SHORT_XFER


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc0667091
stack pointer   = 0x28:0xd33e4c00
frame pointer   = 0x28:0xd33e4c0c
code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 32 (irq21: uhci0 uhci1+)
trap number = 12
panic: page fault
Uptime: 1h4m21s
Dumping 479 MB (2 chunks)
chunk 0: 1MB (157 pages) ... ok
chunk 1: 479MB (122608 pages) 463 447 431 415 399 383 367 351 335 319 
303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15


#0  doadump () at pcpu.h:165
165 __asm __volatile(movl %%fs:0,%0 : =r (td));
(kgdb) where

#0  doadump () at pcpu.h:165
#1  0xc05db1a2 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399
#2  0xc05db438 in panic (fmt=0xc07b409e %s)
  at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xc0772294 in trap_fatal (frame=0xd33e4bc0, eva=4)
  at /usr/src/sys/i386/i386/trap.c:836
#4  0xc0771ffb in trap_pfault (frame=0xd33e4bc0, usermode=0, eva=4)
  at /usr/src/sys/i386/i386/trap.c:744
#5  0xc0771c59 in trap (frame=
{tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -1020522496, tf_esi = 
0, tf_ebp = -750892020, tf_isp = -750892052, tf_ebx = -1020519468, 
tf_edx = -1020526944, tf_ecx = -1021865984, tf_eax = 0, tf_trapno = 12, 
tf_err = 0, tf_eip = -1067028335, tf_cs = 32, tf_eflags = 66118, tf_esp 
= -1020519468, tf_ss = -1020479488}) at /usr/src/sys/i386/i386/trap.c:434

#6  0xc0761cfa in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0667091 in ieee80211_free_node (ni=0x0)
  at /usr/src/sys/net80211/ieee80211_node.c:1573
#8  0xc0575307 in ural_txeof (xfer=0xc34ba100, priv=0xc32c1bd4,
  status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_ural.c:884
#9  0xc058d24e in usb_transfer_complete (xfer=0xc34ba100)
  at /usr/src/sys/dev/usb/usbdi.c:863
#10 0xc056afd8 in ehci_idone (ex=0xc34ba100) at 
/usr/src/sys/dev/usb/ehci.c:875

#11 0xc056aeb3 in ehci_check_intr (sc=0xc3179000, ex=0xc34ba100)
---Type return to continue, or q return to quit---
  at /usr/src/sys/dev/usb/ehci.c:760
#12 0xc056aded in ehci_softintr (v=0xc3179000)
  at /usr/src/sys/dev/usb/ehci.c:694
#13 0xc058a56d in usb_schedsoftintr (bus=0x0) at 
/usr/src/sys/dev/usb/usb.c:871
#14 0xc056abce in ehci_intr1 (sc=0xc3179000) at 
/usr/src/sys/dev/usb/ehci.c:594
#15 0xc056ab0e in ehci_intr (v=0xc3179000) at 
/usr/src/sys/dev/usb/ehci.c:553

#16 0xc05c6b79 in ithread_loop (arg=0xc3088280)
  at /usr/src/sys/kern/kern_intr.c:547
#17 0xc05c5e00 in fork_exit (callout=0xc05c6a20 ithread_loop,
  arg=0xc3088280, frame=0xd33e4d38) at /usr/src/sys/kern/kern_fork.c:789
#18 0xc0761d5c in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:208



uname -a
FreeBSD rainbow.Belkin 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #4: Thu Feb 
16 23:19:36 GMT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/DAVES  
i386



dmesg part
ural0: Belkin Belkin 54g USB Network Adapter, rev 2.00/0.01, addr 2
ural0: MAC/BBP RT2570 (rev 0x05), RF RT2526
ural0: Ethernet address: 00:11:50:8a:93:47
ural0: if_start running deferred for Giant







This e-mail and the information contained is confidential and is intended 
solely for the person to whom it is addressed.
If you are not the intended recipient or have received it in error we would appreciate a prompt notice that it has been wrongly despatched and will reimburse any reasonable cost involved in notifying us. We thank you for your help in this regard. 
We would also advise that you should not use, disclose or copy this information in any medium, as if you do, you may be breaking the law and thereby incurring liability.

We do not accept any liability to any third party acting or failing to act on 
any information contained in this e-mail
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anyone using voip?

2006-02-22 Thread Greg 'groggy' Lehey
On Thursday, 23 February 2006 at  0:43:22 +, Alec Berryman wrote:
 Peter on 2006-02-22 18:55:34 -0500:


 --- Alec Berryman [EMAIL PROTECTED] wrote:

 I'm using Skype from ports with an analog headset and it works
 fantastically well.

 I installed skype from ports.  Without a man page it was difficult to
 begin.  I decided to execute the binary and it just sat there without any
 output whatsover.  Do you have any notes?

 It just started up for me.  It's a Linux binary; have you properly
 enabled Linux compatibility as described in the handbook?  You might
 refer to the documentation on www.skype.com, but it was very much
 plug-and-play.

I'd guess that Peter is asking: OK, it works.  Now how do I use
it?.  That's where I was left with Skype.  I suppose that would
change if I had anybody to talk to over it.  But it's a proprietary
solution where there are open solutions; why choose it?

Before somebody answers, I know the answer: it gives you ($) access to
POTS, and it works (apparently) better than some open VoIP solutions.
But I'd rather fix the open solution.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpsxrd2bSwxj.pgp
Description: PGP signature


Re: VPN Jail(s) ...

2006-02-22 Thread Marc G. Fournier


I asked this a little while ago, and had alot of good answers ... but, 
after doing some thinking, I'm wondering if there might be a better way of 
doing it, that removed the requirement for 'hitting' the base operating 
system ...


If I ran something like FreeBSD in VMWare, would that work?  Are there any 
OSS VMWare-like solutions available out there?


thanks ...

On Fri, 27 Jan 2006, Marc G. Fournier wrote:



Can it be done, or does it have to be to the base server itself?  If it can 
be done, can someone point me to a document that explains how to set one up?


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]





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]


OpenVPN in QEMU on FreeBSD 6.x ...

2006-02-22 Thread Marc G. Fournier


Did some searching tonight, to see what was available as an OSS 
alternative to VMWare, and came across QEMU ... what I'm interested in 
doing is running a QEMU vServer that runs FreeBSD inside of it, and will 
support having outside connections talking to it as a VPN hub(?) ... 
basically, I don't want to have to futz at the Host OS level, only the 
Client OS level, as far as networking is concerned ...


Wishful thinking, or does this make sense?  Has anyone done it?  Pointers 
to docs on this, if so?


Thx ...


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]


Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Ow Mun Heng
Hi,

I've googled. I've read the handbook, I've read Absolute BSD and still
I can't understand FreeBSD Ports/Packages esp when it comes to upgrading
via packages. I'm from a Linux (gentoo linux) background so I'm not a
rough diamond.

Problem statement.
FreeBSD-Release-6
Install from minimal cd (and packages added via FTP)
i've done cvsup (cvsup -L2 -h
cvsup.tw.freebsd.org /usr/share/examples/ports-supfile)

pkg_version -v states that I have a few packages which can be upgraded.
eg: 
xterm-203 needs updating (port has 206_1)

$pkg_add -vr xterm
pkg_add: unable to fetch
'ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/xterm.tbz' 
by URL

$pkg_add -vr  x11/xterm
pkg_add: unable to fetch 
ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/x11/xterm.tbz'
 by URL

ftp into it, it's listed via with it's suffix. (google found that for
some odd reason, pkg_add doesn't add the suffix)

$pkg_add -vr x11/xterm-206_1
pkg_add: package 'xterm-206_1' or its older version already installed

So.. How do I install it?

$pkg_delete xterm-203
pkg_delete: package 'xterm-203' is required by these other packages
xorg-clients-6.8.2

So.. That can't be done. What can I do to upgrade my packages?
 
I've even tried sysinstall but that only lists xterm-203 as the package
to install. (I suspect this is because its packagesite is
packages-6-release)

$export | grep -i pack
declare -x
PACKAGESITE=ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/;

In gentoo, it's a simple emerge xterm and all will be done
automatically. (Granted, this is compile from source and not from binary
packages, which I know can do cd /usr/ports/x11/xterm  make install
clean, but since FreeBSD has binary packages, I rather use that)


Thanks

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:42:35 up 1 day, 11:17, 5 users, load average: 0.60, 0.46,
0.95 


___
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 Make a Bug Report?

2006-02-22 Thread Chris Maness

Giorgos Keramidas wrote:

On 2006-02-21 21:52, Chris Maness [EMAIL PROTECTED] wrote:
  

I found out why I was not able to log in to my new CUPS installation
web interface.  The ports patched source tree installation put the
CGI files in the wrong place.  I moved them to where they are
supposed to be and now I can log in.  How do I formally complain
that this port is screwed up.  I had e-mailed the port maintainer
and did not receive any response.



Hi Chris,

You can submit a bug report for one of the FreeBSD components in one
of two ways:

1. Through email.

   You must run the send-pr(1) or the sendbug(1) utility on a
   FreeBSD system that has a working email setup.

2. To post a bug through the web interface, point your favorite
   browser at the address:

   http://www.freebsd.org/send-pr.hmtl

Before submitting a bug report, please make sure you read the bug
reporting guidelines.  These guidelines, in the form of a short
article titled ``Writing FreeBSD Problem Reports'', can be found at:


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html

Since the problem you describe seems to be related to ports, please
make sure you select `ports' as the `Category' of the bug report.

- Giorgos

  
Thanks for the help.  It turns out it was not a bug after I tried to 
repeat the problem on another box.  I then deleted the directories for 
said ports in the port tree and untarred fresh tarballs from ports, and 
all was well.

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


Re: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Donald J. O'Neill
On Wednesday 22 February 2006 19:58, Ow Mun Heng wrote:
 Hi,

 I've googled. I've read the handbook, I've read Absolute BSD and
 still I can't understand FreeBSD Ports/Packages esp when it comes to
 upgrading via packages. I'm from a Linux (gentoo linux) background so
 I'm not a rough diamond.

 Problem statement.
 FreeBSD-Release-6
 Install from minimal cd (and packages added via FTP)
 i've done cvsup (cvsup -L2 -h
 cvsup.tw.freebsd.org /usr/share/examples/ports-supfile)

 pkg_version -v states that I have a few packages which can be
 upgraded. eg:
 xterm-203 needs updating (port has 206_1)

 $pkg_add -vr xterm
 pkg_add: unable to fetch
 'ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/xt
erm.tbz' by URL

 $pkg_add -vr  x11/xterm
 pkg_add: unable to fetch
 ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/x11
/xterm.tbz' by URL

 ftp into it, it's listed via with it's suffix. (google found that
 for some odd reason, pkg_add doesn't add the suffix)

 $pkg_add -vr x11/xterm-206_1
 pkg_add: package 'xterm-206_1' or its older version already installed

 So.. How do I install it?

 $pkg_delete xterm-203
 pkg_delete: package 'xterm-203' is required by these other packages
 xorg-clients-6.8.2

pkg_delete -f xterm-203
cd /usr/ports/x11/xterm
make install

This will handle that problem for you.

 So.. That can't be done. What can I do to upgrade my packages?

 I've even tried sysinstall but that only lists xterm-203 as the
 package to install. (I suspect this is because its packagesite is
 packages-6-release)

 $export | grep -i pack
 declare -x
 PACKAGESITE=ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages
-6-stable/

 In gentoo, it's a simple emerge xterm and all will be done
 automatically. (Granted, this is compile from source and not from
 binary packages, which I know can do cd /usr/ports/x11/xterm  make
 install clean, but since FreeBSD has binary packages, I rather use
 that)


 Thanks

What you are trying to do is update using downloaded packages and that 
is going to work for you. You need to upgrade those packages using the 
ports system. 

You really need to look at the Handbook. That's why it was written.

Available packages are not as up to date as the ports system is. 


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


Automatically changing modes on the DVD writer for K3b

2006-02-22 Thread Donald T Hayford
To get K3b to work I need to change the mode of the following devices to 
664 (or 666) from 644.


/dev/xpt0
/dev/cd0 and /dev/cd1
/dev/pass0 and /dev/pass1

Is there a way to do this automatically on boot-up?  Now I do it using a 
script that I run as root but, of course, I always forget to run the 
script before I run K3b.


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


Re: Problem building perl-5.8.8

2006-02-22 Thread Olivier Nicole
  I updated the ports, now it is perl 5.8.8 and still the same
  
  `sh  cflags optimize='-O -pipe' toke.o` -fpic toke.c
CCCMD =  gcc -DPERL_CORE -c 
  -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -fno-strict-aliasing 
  -pipe -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
  toke.c: In function `S_scan_formline':
  toke.c:10596: error: invalid operands to binary +
  toke.c:10596: error: invalid lvalue in unary `'
  toke.c:10596: error: invalid lvalue in unary `'
  *** Error code 1
  
  Stop in /usr/ports/lang/perl5.8/work/perl-5.8.8.
  *** Error code 1
  
  Stop in /usr/ports/lang/perl5.8.
  uforoot: uname -a
  FreeBSD ufo.cs.ait.ac.th 5.4-RELEASE-p11 FreeBSD 5.4-RELEASE-p11 #3: Tue 
  Feb 21 13:35:24 ICT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMALL  
  i386
  uforoot: 
  
  Any idea what that can be?
 
 Can you try with an empty make.conf file?

It is already empty.

For information it gives the same error with 5.3 system.

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


RE: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread fbsd_user
do pkg_info
look in the output for xterm. it will contain its complete name
if its name in the list output is xterm-203  then
pkg_delete xterm-203   this will remove it

then pkg_add -rv xterm  should fetch the package from the ports
collection and install it.

There is a better explanation of the ports collection in the install
guide at
www.a1poweruser.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ow Mun Heng
Sent: Wednesday, February 22, 2006 8:58 PM
To: freebsd-questions@freebsd.org
Subject: Newbie Alert : pkg_add and packages Q (do not want to
compile)


Hi,

I've googled. I've read the handbook, I've read Absolute BSD and
still
I can't understand FreeBSD Ports/Packages esp when it comes to
upgrading
via packages. I'm from a Linux (gentoo linux) background so I'm not a
rough diamond.

Problem statement.
FreeBSD-Release-6
Install from minimal cd (and packages added via FTP)
i've done cvsup (cvsup -L2 -h
cvsup.tw.freebsd.org /usr/share/examples/ports-supfile)

pkg_version -v states that I have a few packages which can be
upgraded.
eg:
xterm-203 needs updating (port has 206_1)

$pkg_add -vr xterm
pkg_add: unable to fetch
'ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/xte
rm.tbz' by URL

$pkg_add -vr  x11/xterm
pkg_add: unable to fetch
ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/x11/
xterm.tbz' by URL

ftp into it, it's listed via with it's suffix. (google found that for
some odd reason, pkg_add doesn't add the suffix)

$pkg_add -vr x11/xterm-206_1
pkg_add: package 'xterm-206_1' or its older version already installed

So.. How do I install it?

$pkg_delete xterm-203
pkg_delete: package 'xterm-203' is required by these other packages
xorg-clients-6.8.2

So.. That can't be done. What can I do to upgrade my packages?

I've even tried sysinstall but that only lists xterm-203 as the
package
to install. (I suspect this is because its packagesite is
packages-6-release)

$export | grep -i pack
declare -x
PACKAGESITE=ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-
6-stable/

In gentoo, it's a simple emerge xterm and all will be done
automatically. (Granted, this is compile from source and not from
binary
packages, which I know can do cd /usr/ports/x11/xterm  make install
clean, but since FreeBSD has binary packages, I rather use that)


Thanks

--
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!!
Neuromancer 09:42:35 up 1 day, 11:17, 5 users, load average: 0.60,
0.46,
0.95


___
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: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Ow Mun Heng
On Wed, 2006-02-22 at 20:32 -0600, Donald J. O'Neill wrote:
 On Wednesday 22 February 2006 19:58, Ow Mun Heng wrote:
  Hi,
 
  I've googled. I've read the handbook, I've read Absolute BSD and
  still 

  $pkg_add -vr x11/xterm-206_1
  pkg_add: package 'xterm-206_1' or its older version already installed
 
  So.. How do I install it?
 
  $pkg_delete xterm-203
  pkg_delete: package 'xterm-203' is required by these other packages
  xorg-clients-6.8.2
 
 pkg_delete -f xterm-203
 cd /usr/ports/x11/xterm
 make install

what about the dependency then? Ignore it? What if there are files
needed by xorg-clients? eg: libXX.so.Y and which is not present in the
new xterm?

 What you are trying to do is update using downloaded packages and that 
 is going to work for you. You need to upgrade those packages using the 
 ports system. 

IS or is not? 

Again, I don't want to compile it. I want the binary package. It's
available on the mirrors.

 
 You really need to look at the Handbook. That's why it was written.

I did. As stated in the initial portion of the email. I'm not only
reading the handbook, I'm reading a newly bought book in addition to
also reading stuffs on the internet.

I'm proficient with the CLI, and being a long time Linux person, I'm sad
to say that FreeBSD ports/packages is really confusing to me.

 Available packages are not as up to date as the ports system is. 

Again, the package _is_ available and I've verified it.
Thanks

 
 Don

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:51:05 up 1 day, 12:26, 4 users, load average: 3.32, 2.11,
1.51 


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


Re: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Kevin Kinsey

Ow Mun Heng wrote:


Hi,

I've googled. I've read the handbook, I've read Absolute BSD and still
I can't understand FreeBSD Ports/Packages esp when it comes to upgrading
via packages. I'm from a Linux (gentoo linux) background so I'm not a
rough diamond.
 



rough diamond  ... I like that idea. :D


Problem statement.
FreeBSD-Release-6
Install from minimal cd (and packages added via FTP)
i've done cvsup (cvsup -L2 -h
cvsup.tw.freebsd.org /usr/share/examples/ports-supfile)

pkg_version -v states that I have a few packages which can be upgraded.
eg: 
xterm-203 needs updating (port has 206_1)


$pkg_add -vr xterm
pkg_add: unable to fetch
'ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/xterm.tbz' 
by URL

$pkg_add -vr  x11/xterm
pkg_add: unable to fetch 
ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/x11/xterm.tbz' by URL


ftp into it, it's listed via with it's suffix. (google found that for
some odd reason, pkg_add doesn't add the suffix)
 



Hmm, haven't read that one.  IIRC, pkg_add can take a complete
URI for a package, e.g. :

`pkg_add ftp://ftp.tw.org/pub/FreeBSD/ports/foo/bar/pkg.tbz`

So, that's one possible workaround.  Another would be to fetch
the package via FTP and add it directly.


$pkg_add -vr x11/xterm-206_1
pkg_add: package 'xterm-206_1' or its older version already installed

So.. How do I install it?

$pkg_delete xterm-203
pkg_delete: package 'xterm-203' is required by these other packages
xorg-clients-6.8.2

So.. That can't be done. What can I do to upgrade my packages?
 



As mentioned by one other poster, -f will force the deinstall.


I've even tried sysinstall but that only lists xterm-203 as the package
to install. (I suspect this is because its packagesite is
packages-6-release)
 



Yes. IIRC, you can change RELEASE_NAME with sysinstall and
this would likely cause sysinstall to give you a different list of
packages. 


Another workaround, that.

I think that PACKAGESITE could also be redefined
either in your {login} environment, or in /etc/make.conf, but
don't hold me to that, because I'm not RTFMing at the moment ;-)


$export | grep -i pack
declare -x
PACKAGESITE=ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/;
 



Isn't there a latest dir at ftp.tw.freebsd.org ?


In gentoo, it's a simple emerge xterm and all will be done
automatically. (Granted, this is compile from source and not from binary
packages, which I know can do cd /usr/ports/x11/xterm  make install
clean, but since FreeBSD has binary packages, I rather use that)
 



I'd look into installing and using one of the more advanced
package management tools; perhaps portupgrade.  portupgrade
can be told to utilize binary packages instead of building from
source, and would be pretty automagic, a la emerge in Gentoo,
I suspect (though I've not used Gentoo and therefore can't say
for certain).

It's probable that other package management tools can do this,
also.  It might be worth mentioning that Colin Percival is working
rather hard on various means of doing binary upgrades for both
the system (FreeBSDUpdate, IIRC) and the Ports Tree (PortSnap?)


Thanks

 


You're welcome; HTH.

Kevin Kinsey

--
Sex: the thing that takes up the least amount of time and causes the
most amount of trouble.
-- John Barrymore

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


RE: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Ow Mun Heng
On Wed, 2006-02-22 at 21:37 -0500, fbsd_user wrote:
 do pkg_info
 look in the output for xterm. it will contain its complete name
 if its name in the list output is xterm-203  then

I did that.

 pkg_delete xterm-203   this will remove it

It says dependencies on xorg-clients.

Another poster said to use -f (force) but I don't like that. This
usually means there are underlying deps which can cause errors. eg:
changed libraries libXXX.so.Y 

 then pkg_add -rv xterm  should fetch the package from the ports
 collection and install it.


 
 There is a better explanation of the ports collection in the install
 guide at
 www.a1poweruser.com

I read that already. That's how I knew to use the _exact_name with the
version suffix. And besides, it only mentions how to add a new package
and not upgrade an existing package.

The problem with the deps is just un-nerving.

I just want to update to the latest *binary* package and not do a source
compile. These are just small packages, what happens when I want to
upgrade to the latest gnome version? I rather get packages than compile.

Thanks

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:59:16 up 1 day, 12:34, 4 users, load average: 1.33, 1.62,
1.54 


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


Re: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Donald J. O'Neill
On Wednesday 22 February 2006 20:59, Ow Mun Heng wrote:
 On Wed, 2006-02-22 at 20:32 -0600, Donald J. O'Neill wrote:
  On Wednesday 22 February 2006 19:58, Ow Mun Heng wrote:
   Hi,
  
   I've googled. I've read the handbook, I've read Absolute BSD
   and still
  
   $pkg_add -vr x11/xterm-206_1
   pkg_add: package 'xterm-206_1' or its older version already
   installed
  
It's saying you have to delete xterm-203 or you can't install the new 
one.

   So.. How do I install it?
  
   $pkg_delete xterm-203
   pkg_delete: package 'xterm-203' is required by these other
   packages xorg-clients-6.8.2
 
  pkg_delete -f xterm-203
  cd /usr/ports/x11/xterm
  make install

 what about the dependency then? Ignore it? What if there are files
 needed by xorg-clients? eg: libXX.so.Y and which is not present in
 the new xterm?

Since you want to replace it with a newer version, why are you worried 
about the dependencies. The newer version will take care of that. Of 
course, if you delete xterm and don't replace it, then you will have to 
handle the dependencies.

  What you are trying to do is update using downloaded packages and
  that is going to work for you. You need to upgrade those packages
  using the ports system.

 IS or is not?

Is or is not what? I don't understand what you're asking here. You need 
to use more than a 4 word question, of which 2 of the words are the 
same. It tends to be confusing.


 Again, I don't want to compile it. I want the binary package. It's
 available on the mirrors.

No It's not. The port is available on the mirrors. So compile it, or 
leave the old one in place.

  You really need to look at the Handbook. That's why it was written.

 I did. As stated in the initial portion of the email. I'm not only
 reading the handbook, I'm reading a newly bought book in addition to
 also reading stuffs on the internet.

 I'm proficient with the CLI, and being a long time Linux person, I'm
 sad to say that FreeBSD ports/packages is really confusing to me.


Use Windows instead. All that takes is money.

  Available packages are not as up to date as the ports system is.

 Again, the package _is_ available and I've verified it.
 Thanks


I'm sorry. You've verified the port was available. The package is not. I 
just checked.

At this point, I'm going to close my ears eyes to you. You've been given 
advice by me and others that you find to not up to your standards, even 
though it will give you the product you want. Later you can figure out 
for yourself, just what happens if you don't make the upgrade to 
xterm-206. Have fun.

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


Re: Newbie Alert : pkg_add and packages Q (do not want to compile)

2006-02-22 Thread Ow Mun Heng
On Wed, 2006-02-22 at 21:02 -0600, Kevin Kinsey wrote:
 Ow Mun Heng wrote:
  I'm from a Linux (gentoo linux) background so I'm not a
 rough diamond.
   
 
 
 rough diamond  ... I like that idea. :D

haha..

 As mentioned by one other poster, -f will force the deinstall.
 

Not an option for me. Bad experience with ignoring deps. (but seems like
it's the norm for BSD folks?)

 I've even tried sysinstall but that only lists xterm-203 as the package
 to install. (I suspect this is because its packagesite is
 packages-6-release)
   
 
 
 Yes. IIRC, you can change RELEASE_NAME with sysinstall and
 this would likely cause sysinstall to give you a different list of
 packages. 

Ah.. Didn't know that.


 I'd look into installing and using one of the more advanced
 package management tools; perhaps portupgrade.  portupgrade
 can be told to utilize binary packages instead of building from
 source, and would be pretty automagic, a la emerge in Gentoo,
 I suspect (though I've not used Gentoo and therefore can't say
 for certain).
 
I'm trying it now. http://ezine.daemonnews.org/200501/freebsd_apps.html
has good info on it.

reading the man pages also provided some good clues . eg: -PP would be
the option I would want to pass to it. (get binary packages and _only_
binary packages)


 
 You're welcome; HTH.

Much great help. Thanks.

BTW, how come this list does not use the reply to list and always adds
the org sender in to and puts the list in CC? What's the norm here
anyway?


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:41:44 up 1 day, 13:16, 4 users, load average: 0.26, 0.54,
0.64 


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


Re: Problem building perl-5.8.8

2006-02-22 Thread Olivier Nicole
 `sh  cflags optimize='-O -pipe' toke.o` -fpic toke.c
   CCCMD =  gcc -DPERL_CORE -c 
 -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -fno-strict-aliasing -pipe 
 -Wdeclaration-after-statement -I/usr/local/include -O -pipe  -Wall
 toke.c: In function `S_scan_formline':
 toke.c:10596: error: invalid operands to binary +
 toke.c:10596: error: invalid lvalue in unary `'
 toke.c:10596: error: invalid lvalue in unary `'
 *** Error code 1

Hummm, got it :

I had a file called test somewhere, so the configure script did not
run well, so the compile was affected.

Sorry for the trouble.

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


  1   2   >