RE: Delete kernel folder

2005-12-03 Thread Tamouh H.

>
> I recently complied my custom kernel and I am going to
> compile it again to add a few extra options that I missed.  I
> noticed that after the first compile it placed my CUSTOM
> (kernel) folder in /usr/obj/usr/src/sys/  Do I need to delete
> this folder if I am going to recompile the kernel again?
> What if I just give it a new name?
> Thank you in advance,
> Jose

No, you don't need to delete that folder, just recompile and it will do the
job fine.



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


Re: Dual Display

2005-12-03 Thread Wojciech Puchar
I was wondering if any of you had a dual-head setup and if so what video card 
were you using?



you mean X11 desktop consisting of two monitors? (xinerama)

or 2 screens?

i made such a things some time ago that one machine has 2 keyboards, two 
mices and two graphics cards running a-bit-patched XFree86, to make 
two-user machine. different AGP cards worked as first, but for secondary 
Matrox were good and tested, many cards doesn't like to work at all.

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


Re: Trouble upgrading ports collection

2005-12-03 Thread edward



Michael C. Shultz wrote:

On Friday 02 December 2005 10:34, edward wrote:


Hi all,
I'm having a hard time upgrading my ports. I recently did a
# cvsup -g -L 2 ports-supfile
then did a
# portupgrade -ar0
which took care of a good share of my ports. But quite a few were
skipped or failed. There wasn't much concerning these particular ports
in /usr/ports/UPDATING. I did a pkgdb -F and tried my luck with
portupgrade -ar0 again. A few ports were then successfully updated. I
updated some others manually with a make desinstall / make reinstall
sequence, but I'm still stuck with 3 ports that refuse to upgrade :

** Listing the failed packages (*:skipped / !:failed)
! graphics/libpixman (libpixman-0.1.6)  (invalid package name)
! multimedia/linux-realplayer (linux-realplayer-10.0.5)
(uninstall error)
* www/linuxpluginwrapper (linuxpluginwrapper-20050910)
! x11/kdelibs3 (kdelibs-3.4.2_1)(linker error)
* x11-wm/kompmgr (kdebase-kompmgr-3.4.2)
* graphics/kdegraphics3 (kdegraphics-3.4.2_1)
* x11/kdebase3 (kdebase-3.4.2_2)
* x11-themes/kdeartwork3 (kdeartwork-3.4.2)
* sysutils/k3b (k3b-0.11.14)
* devel/kdesdk3 (kdesdk-3.4.2)
* www/kdewebdev (kdewebdev-3.4.2,2)
* deskutils/superkaramba (superkaramba-0.36_1)
* x11-themes/gtk-qt-engine (gtk-qt-engine-0.6_2)
* java/eclipse (eclipse-3.1_3)
* net/azureus (azureus-2.3.0.4_1)
--->  Packages processed: 0 done, 272 ignored, 12 skipped and 3 failed


Apparently, xorg-clients is needed. I deinstalled it but the reinstall
command gives an error. Tried portinstall xorg-clients, I get the

following,at the end of the install/compile sequence :
: undefined reference to `glXGetProcAddress'

xdriinfo.o(.text+0x5b): In function `main':
: undefined reference to `glXGetProcAddress'

*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xdriinfo.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/xorg-clients.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portinstall52875.0 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/xorg-clients  (linker error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
#
Any ideas ? (I realise this all seems pretty confused. Sorry, bear with
me;-)
Edward



try sysutils/portmanager

run it as portmanager -u -l and if any ports fail to upgrade send me the log
and I will help you ot the best I can.

-Mike





Hi Mike,
Thanks. Your help will be much appreciated.
Here is the log file, after running portmanager -u -l :


portmanager 0.3.8_2
FreeBSD .Domain 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Oct 30 15:12:21 
CET 2005

[EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDWARD  i386

autoConflicts  0  autoMoved  0
backUp 0  buildDependsAreLeaves  0
forced 0  interactive0
log1  pmMode 0
pristine   0  resume 0

installed   libpixman-0.1.6
 removed from system:  no longer in ports tree:  see /usr/ports/MOVED


xterm-206_1 /x11/xterm
MISSING xterm-206_1 
 /x11/xterm



xorg-clients-6.8.2_1/x11/xorg-clients
MISSING xorg-clients-6.8.2_1 
 /x11/xorg-clien

ts

xorg-clients-6.8.2_1/x11/xorg-clients
failed during make, adding to ignore.db


linux-sun-jdk-1.4.2.08_1/java/linux-sun-jdk14
OLD linux-sun-jdk-1.4.2.10 
 /java/linux-sun

-jdk14

  linux-sun-jdk-1.4.2.08_1 /java/linux-sun-jdk14 marked IGNORE port 
not installed/updat

ed
compat3x-i386-5.0.20020925  /misc/compat3x
MISSING compat3x-i386-5.0.20020925 
 /misc/compat3x



  compat3x-i386-5.0.20020925 /misc/compat3x marked FORBIDDEN port 
not installed/updated

linux-glib2-2.4.8   /devel/linux-glib2
MISSING linux-glib2-2.4.8 
 /devel/linux-gl

ib2

linux-realplayer-10.0.5 /multimedia/linux-realplayer
OLD linux-realplayer-10.0.6 
 /multimedia/lin

ux-realplayer

 end of log
Sat Dec  3 00:50:54 CET 2005


Just in case, here is the output of the portmanager command :


 Port Status Report

1 have:expat-1.95.8_3  /textproc/expat2 
  

Re: Trouble upgrading ports collection

2005-12-03 Thread Michael C. Shultz
> Hi Mike,
> Thanks. Your help will be much appreciated.
> Here is the log file, after running portmanager -u -l :
>
> xorg-clients-6.8.2_1/x11/xorg-clients
>  MISSING xorg-clients-6.8.2_1
>   /x11/xorg-clien
> ts
>
> xorg-clients-6.8.2_1/x11/xorg-clients
>  failed during make, adding to ignore.db
>
>
> linux-sun-jdk-1.4.2.08_1/java/linux-sun-jdk14
>  OLD linux-sun-jdk-1.4.2.10
>   /java/linux-sun
> -jdk14
>
>linux-sun-jdk-1.4.2.08_1 /java/linux-sun-jdk14 marked IGNORE port
> not installed/updated

You probably  want  to ignore  linux-sun-jdk-1.4.2.08_1, correct?


> compat3x-i386-5.0.20020925  /misc/compat3x
>  MISSING compat3x-i386-5.0.20020925
>   /misc/compat3x
>
>compat3x-i386-5.0.20020925 /misc/compat3x marked FORBIDDEN port
> not installed/updated

run pkg_delete -f compat3x-i386-5.0.20020925 and get this out of your system


> 00243 have:nvidia-driver-1.0.7676_1/x11/nvidia-driver
> CURRENT

pkg_delete -f nvidia-driver-1.0.7676_1 and xorg-clients
should build.  Then run portmanager -u -p -l
When portmanager is done then run

portmanager x11/nvidia-driver

to install this again


When all is done you may have something left with java build dependencies,
lets tackle those after the above is handled

-Mike

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


Re: mkisofs on 5.4

2005-12-03 Thread Fabian Keil
Incoming Mail List <[EMAIL PROTECTED]> wrote:

> I'm running FBSD 5.4 and notice that the date/time stamps on files
> burned to DVD using growisofs() are being reported incorrectly after
> mounting the DVD and using ls() or stat().
> 
> On Dec 2, 2005 at about 10:30am, I used growisofs() to burn a DVD
> (took less than a minute to finish).  When I mount the DVD and run
> ls() I see a date of Dec 1, 20:11.  Since the OS is reporting the
> date/time correctly using UFS2.
> 
> Is this a known bug?  I couldn't find any info in the man page or web
> about it.  Can anyone reproduce this?

I don't use growisofs, but I just tried to reproduce your problem
with mkisofs directly and failed:
 
[EMAIL PROTECTED] ~ $ls -l test/cdrtools-2.01.01a03.tar 
-rw-r--r--  1 fk  wheel  8290816 Oct 24 10:18
test/cdrtools-2.01.01a03.tar

[EMAIL PROTECTED] ~ $ls -l /mnt/md0/cdrtools.tar
-r-xr-xr-x  1 root  wheel  8290816 Oct 24 10:18 /mnt/md0/cdrtools.tar*

Do you see the problem if you only use mkisofs?

You can mount the iso without burning it:
mdconfig -a -t vnode -f image.iso -u 0
mount -t cd9660 /dev/md0 /mnt

After reading your post a second time, I'm no longer sure
if I understood you correctly. You don't expect mkisofs
to change the date for you, right?

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: How do I know if my internal PCI modem works on FreeBSD?

2005-12-03 Thread Daniel Rudy
At about the time of 11/30/2005 10:50 PM, Foo Ji-Haw stated the following:

> Hello there,
> 
> I'm thinking of plugging in a Motorola PCI modem into my
> FreeBSD box to act as a fax server (using HylaFax). I tried to
> look for documentation on the installation or support of such
> a modem on FreeBSD (Google, the Handbook), but found none.
> Can anyone point me in the right direction, or better still:
> tell me if my modem will work in FBSD 5.4?
> 
> Thanks.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

Please wrap your lines properly.


Basically, it all depends on how much you spent for the modem.  A $15-20
modem is more than likely a WinModem (software modem) which FreeBSD does
*NOT* support without a third party driver.  If the modem cost $70-100,
and it is recongized as a serial port by the sio driver, then it
probably will work.

The reason why I threw the cost of the equipment into the mix was
because the cheap modems don't have the controller, DSP, data pump, or
other required hardware.  All the functions of those components is
emulated in the software of the host system.  This is why that are known
as software modems.  A hardware modem costs much more, but it also has
all the required hardware such as the controller, DSP, data pump, etc.
so it can function independantly of the host system software.

You can also generally tell by looking at the modem itself.  Usually, if
you see a chip that has what looks like version numbers on it, as well
as one or more large square chips and lots of circutry, then you
probably have a hardware modem.  The best way is lookup the model number
on the manufacturer's web site and see what it is.  If it says it's only
compatible with Windows, then more than likely it's a software modem.

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


make world

2005-12-03 Thread Mohammed Shameer
Hi All,

  I have a problem with the limit MAXPATHLEN. I have a freebsd box 4.9-RELEASE 
as a backup server. I have programs in client servers which backup their data 
to this freebsd server. Few clients have in their servers directories which 
are above 1024 ( MAXPATHLEN limit ) and rsync of those folders fails.
I can not modify directory structure or names.

I recompiled rsync with modified MAXPATHLEN but then mkdir fails during rsync. 
Can I modify MAXPATHLEN in sys/params.h and build FreeBSD from source to fix 
this problem . 
Or is it possible to recompile libc alone to fix the problem.
Also , when I tried to do the rsync to a redhat Linux  , it didnt show this 
problem. Are they not following standards ?

Thanks
Shameer


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


Re: Dual Display

2005-12-03 Thread Andrea Venturoli

Darren Terry wrote:
I was wondering if any of you had a dual-head setup and if so what video 
card were you using?


I tryied it for a while, but I didn't like it, although not for 
techincal reasons.

My dual headed G450 did it flawlessly.

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


Meaning of "assert failed: /usr/src/libexec/rtld-elf/i386/reloc.c"

2005-12-03 Thread Juergen Dankoweit
Hello to the list.

After long time of trouble free running of all applications a few days
ago I got this error message while starting Gnome-Evolution:
ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/i386/reloc.c:

I tested a few other applications and noticed that some (Gnome-) apps
are running without problems (e.g. Epiphany) and some other are
producing the error message above (e.g. gedit).

Please tell me: What is the meaning of this error message and what is
the reason for that?

The operating system and all applications weren't changed since January
2005.

My system: FreeBSD 5.3 STABLE#2 with SMP kernel

Many thanks in advance.

Best regards

Jürgen Dankoweit


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


Re: Problem with printing-scanning..combo..

2005-12-03 Thread Danny Pansters
You probably want these (both are from HP ported from Linux):

/usr/ports/print/hpijs
/usr/ports/graphics/hpoj

The first has the foomatic drivers for optimal printing, the second includes 
scanning support. It's very well documented, our HP photosmart 2610 prints 
and scans fine from kde using cups and kooka.

In short: 

ptal-init setup
scanimage --list-devices

HTH,

Dan

On Wednesday 30 November 2005 20:17, Lucas Fol wrote:
> Welcome
>
> I own a HP PSC 1610 all-in-one. I've plugged it (USB) to my notebook
> (Acer TM 212 TX). The printing stuff goes ok. It prints well with cups
> and ulpt driver. The problem is with scanning. The BSD doesn't see the
> scanner. sane-find-scanner can't do do it. The uscanner module is
> compiled in kernel. That's the 6.0 Release of FreeBSD. I've tried to
> solve it for whole three days and i still don't get it.
> That's my dmesg:
>
> Copyright (c) 1992-2005 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> The Regents of the University of California. All rights
> reserved.
> FreeBSD 6.0-RELEASE #0: Sun Nov 27 17:33:48 CET 2005
> [EMAIL PROTECTED]:/usr/src/sys/i386/compile/A-GENERIC
> module nfslock already present!
> module_register: module uhub/uhid already exists!
> Module uhub/uhid failed to register: 17
> module_register: module pci/rl already exists!
> Module pci/rl failed to register: 17
> module_register: module cardbus/rl already exists!
> Module cardbus/rl failed to register: 17
> module_register: module rl/miibus already exists!
> Module rl/miibus failed to register: 17
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel Celeron (797.05-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
>
> Features=0x383f9ff,PAT,PSE36,MMX,FXSR,SSE> real memory  = 259981312 (247 MB)
> avail memory = 240738304 (229 MB)
> npx0: [FAST]
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0:  on motherboard
> acpi0: Power Button (fixed)
> pci_link0:  irq 11 on acpi0
> pci_link1:  irq 11 on acpi0
> pci_link2:  irq 10 on acpi0
> pci_link3:  irq 11 on acpi0
> pci_link4:  on acpi0
> pci_link5:  on acpi0
> pci_link6:  irq 10 on acpi0
> pci_link7:  irq 10 on acpi0
> pci_link8:  irq 11 on acpi0
> acpi_ec0:  port 0x62,0x66 on acpi0
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
> acpi_timer0: <32-bit timer at 3.579545MHz> port 0xf108-0xf10b on acpi0
> cpu0:  on acpi0
> acpi_button0:  on acpi0
> pcib0:  port 0xcf8-0xcff on acpi0
> pci0:  on pcib0
> pcib0: no PRT entry for 0.16.INTAagp0: 
> mem 0xe000-0xe3ff at device 0.0 on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1:  at device 0.0 (no driver attached)
> pcm0:  port 0x8000-0x80ff mem 0x81a0-0x81a00fff irq
> 10 at device 6.0 on pci0
> pcm0: 
> pcm0: [GIANT-LOCKED]
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> atapci0:  port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x7050-0x705f irq 15 at device 16.0
> on pci0
> atapci0: using PIO transfers above 137GB as workaround for 48bit DMA
> access bug, expect reduced performance
> ata0:  on atapci0
> ata1:  on atapci0
> pci0:  at device 17.0 (no driver attached)
> cbb0:  irq 11 at device 19.0 on
> pci0
> cardbus0:  on cbb0
> pccard0: <16-bit PCCard bus> on cbb0
> ohci0:  mem
> 0x81c0-0x81c00fff irq 11 at device 20.0 on pci0
> ohci0: [GIANT-LOCKED]
> usb0: OHCI version 1.0, legacy support
> usb0:  on ohci0
> usb0: USB revision 1.0
> uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> acpi_lid0:  on acpi0
> acpi_acad0:  on acpi0
> battery0:  on acpi0
> acpi_tz0:  on acpi0
> fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
> acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
> acpi0
> sio0: type 16550A
> ppc0:  port 0x378-0x37f irq 7 on acpi0
> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
> ppbus0:  on ppc0
> plip0:  on ppbus0
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> ppi0:  on ppbus0
> atkbdc0:  port 0x60,0x64 irq 1 on acpi0
> atkbd0:  irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0:  irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model Generic PS/2 mouse, device ID 0
> pmtimer0 on isa0
> orm0:  at iomem 0xc-0xcbfff on isa0
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on
> isa0
> ulpt0: HP PSC 1600 series, rev 2.00/1.00, addr 2, iclass 255/204
> ulpt0: using bi-directional mode
> umass0: HP PSC 1600 series, rev 2.00/1.00, addr 2
> Timecounter "TSC" frequency 797050193 Hz quality 800
> Timecounters tick every 1.000 msec
> rl0:  port 0x1100-0x11ff mem
> 0x8800-0x880001ff irq 11 at device 0.0 on cardbus0
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, a

ASUS VINTAGE-PE1 661FX SKT775 BAREBONE on 6.0?

2005-12-03 Thread Mikael Backman

Hi.
Regarding ASUS VINTAGE-PE1 661FX SKT775 BAREBONE...
Anyone knows if this barebon system works with FreeBSD 6.0?
The chipset on the mobo is SiS 661FXX.
The graphic chip is SiS Real 256E Graphics Intergrated.
I don't know about the sound chip, but that is less important..

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


Re: Trouble upgrading ports collection

2005-12-03 Thread Daniel Bye
On Fri, Dec 02, 2005 at 03:20:30PM -0800, Michael C. Shultz wrote:
> Thanks for the info, is this really the recommended fix???
> 
> Remove nvidia-driver port, then upgrade xorg-clients. After that you can 
> reinstall nvidia-driver.
> 
> I read the above as xorg-clients conflicts with nvidia-driver, if it was set 
> this way here is what portmanager would do:
> 
> 1) when upgrading xorg-clients finds conflicting port nvidia-driver installed
> and removes it unless user chooses otherwise before 5 minute timeout
> 
> 2) Upgrade xorg-clients
> 
> Athe this point something would have to have a dependency on nvidia-driver
> for it to be pulled back in automatically else the user is going to need to
> install it manaually...  Well I can see how this situation is causing 
> problems 
> anyways...
> 
> Has this issue been resolved yet? From reading your references it seems
> like this fixed the problem with xdriinfo.c:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=76257 
> State-Changed-From-To: open->closed 
> State-Changed-By: anholt 
> State-Changed-When: Wed Nov 30 01:24:24 GMT 2005 
> State-Changed-Why:  
> A patch has been committed to fix this. 
> 
> But I saw no other solution to handling the nvidia port.
> 
> -Mike

I agree it seems a trifle convoluted, and yes, in the vast majority
cases, portmanager does the right thing.  However, for this one (in my
experience, at least), it couldn't handle it.  I don't remember removing
the nvidia drivers, but I think I reinstalled portions of the XOrg 
subsystem, in particular the libs.  As I said, though, I don't remember
exactly how I got it all working again...

Not much help, I'm afraid - I just wanted to point the OP at the threads
on the other list (which I read only sporadically) in case they proved
helpful.

As to whether it's fixed yet, I really couldn't say - I belong firmly in
the camp of end users, not developers or testers.

A big thanks for portmanager - it's nice not to have to wrestle with the
package db all the time!

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpzWhJn1HEST.pgp
Description: PGP signature


Re: Trouble upgrading ports collection

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 06:18, Daniel Bye wrote:
> On Fri, Dec 02, 2005 at 03:20:30PM -0800, Michael C. Shultz wrote:
> > Thanks for the info, is this really the recommended fix???
> >
> > Remove nvidia-driver port, then upgrade xorg-clients. After that you can
> > reinstall nvidia-driver.
> >
> > I read the above as xorg-clients conflicts with nvidia-driver, if it was
> > set this way here is what portmanager would do:
> >
> > 1) when upgrading xorg-clients finds conflicting port nvidia-driver
> > installed and removes it unless user chooses otherwise before 5 minute
> > timeout
> >
> > 2) Upgrade xorg-clients
> >
> > Athe this point something would have to have a dependency on
> > nvidia-driver for it to be pulled back in automatically else the user is
> > going to need to install it manaually...  Well I can see how this
> > situation is causing problems anyways...
> >
> > Has this issue been resolved yet? From reading your references it seems
> > like this fixed the problem with xdriinfo.c:
> >
> > http://www.freebsd.org/cgi/query-pr.cgi?pr=76257
> > State-Changed-From-To: open->closed
> > State-Changed-By: anholt
> > State-Changed-When: Wed Nov 30 01:24:24 GMT 2005
> > State-Changed-Why:
> > A patch has been committed to fix this.
> >
> > But I saw no other solution to handling the nvidia port.
> >
> > -Mike
>
> I agree it seems a trifle convoluted, and yes, in the vast majority
> cases, portmanager does the right thing.  However, for this one (in my
> experience, at least), it couldn't handle it.  I don't remember removing
> the nvidia drivers, but I think I reinstalled portions of the XOrg
> subsystem, in particular the libs.  As I said, though, I don't remember
> exactly how I got it all working again...
>
> Not much help, I'm afraid - I just wanted to point the OP at the threads
> on the other list (which I read only sporadically) in case they proved
> helpful.
>
> As to whether it's fixed yet, I really couldn't say - I belong firmly in
> the camp of end users, not developers or testers.
>
> A big thanks for portmanager - it's nice not to have to wrestle with the
> package db all the time!
>
> Dan


You were of great help, the OP's system failed to upgrade exactly
as you predicted so I told him to try removing the nvidia port then
manually install it after portmanager finished. Lets hope that works.

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


Re: Trouble upgrading ports collection

2005-12-03 Thread edward

Michael C. Shultz wrote:



pkg_delete -f nvidia-driver-1.0.7676_1 and xorg-clients
should build.  Then run portmanager -u -p -l
When portmanager is done then run

portmanager x11/nvidia-driver

to install this again


When all is done you may have something left with java build dependencies,
lets tackle those after the above is handled

-Mike




Hi Mike,

I did :
pkg_delete -f nvidia-driver-1.0.7676_1
portmanager -u -p -l
portmanager x11/nvidia-driver

So far, so good.
Seems I still have to upgrade linux-sun-jdk and compat3x-i386.

Here's the portmanager log file now :


[EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDWARD  i386

forced 0  interactive0
log1  pmMode 0
kdelibs-3.4.2_1 /x11/kdelibs3
OLD kdelibs-3.4.3 
 /x11/kdelibs3

kdegraphics-3.4.2_1 /graphics/kdegraphics3
OLD kdegraphics-3.4.3 
 /graphics/kdegr

linux-sun-jdk-1.4.2.08_1/java/linux-sun-jdk14
OLD linux-sun-jdk-1.4.2.10 
 /java/linux-sun
  linux-sun-jdk-1.4.2.08_1 /java/linux-sun-jdk14 marked IGNORE port 
not installed/updat

ed
compat3x-i386-5.0.20020925  /misc/compat3x
MISSING compat3x-i386-5.0.20020925 
 /misc/compat3x



  compat3x-i386-5.0.20020925 /misc/compat3x marked FORBIDDEN port 
not installed/updated

kdebase-kompmgr-3.4.2   /x11-wm/kompmgr
OLD kdebase-kompmgr-3.4.3 
 /x11-wm/kompmgr



kdebase-3.4.2_2 /x11/kdebase3
OLD kdebase-3.4.3 
 /x11/kdebase3



superkaramba-0.36_1 /deskutils/superkaramba
OLD superkaramba-0.36_3 
 /deskutils/supe

rkaramba

kdeartwork-3.4.2/x11-themes/kdeartwork3
OLD kdeartwork-3.4.3 
 /x11-themes/kde

artwork3

kdesdk-3.4.2/devel/kdesdk3
OLD kdesdk-3.4.3 
 /devel/kdesdk3



kdewebdev-3.4.2,2   /www/kdewebdev
OLD kdewebdev-3.4.3,2 
 /www/kdewebdev



gtk-qt-engine-0.6_2 /x11-themes/gtk-qt-engine
OLD gtk-qt-engine-0.6_4 
 /x11-themes/gtk

-qt-engine

 end of log
Sat Dec  3 16:03:08 CET 2005

Any ideas what to do next ?
Edward

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


pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
Hi,

Anyone else seen something like this using portmanager lately?

---># portmanager -s | grep OLD
/usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+':
cannot convert Array into String (TypeError)
from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72
from
/usr/local/share/portmanager/pkgtools-to-portmanager.rb:70:in `each'
from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70
/usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+':
cannot convert Array into String (TypeError)
from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72
from
/usr/local/share/portmanager/pkgtools-to-portmanager.rb:70:in `each'
from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70


I checked the archives and no-one seems to have mentioned it, but heh, I
can't be the only one, can I..?  ;-)

The following patch seems to fix it, anyways.

+ patch starts

--- pkgtools-to-portmanager.rb  Sat Dec  3 14:49:24 2005
+++ pkgtools-to-portmanager_fixed.rbSat Dec  3 14:51:09 2005
@@ -57,7 +57,7 @@
 
 config_value(:BEFOREBUILD).each do |pkg|
 
-   puts "STOP|/" + pkg[0] + " " + pkg[1] + "|"
+   puts "STOP|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
 
 end
 
@@ -69,7 +69,7 @@
 
 config_value(:AFTERINSTALL).each do |pkg|
 
-   puts "START|/" + pkg[0] + " " + pkg[1] + "|"
+   puts "START|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
 
 end
 
@@ -86,6 +86,6 @@
 ##mcs mod##
 #  puts pkg[0] + "|" + pkg[1] + "|"
 #
-   puts pkg[0] + "|" + pkg[1] + " " + "|"
+   puts pkg[0] + "|" + "#{pkg[1]}" + " " + "|"
 
 end

+ patch ends

Cheers,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgp4mL2DNo2cG.pgp
Description: PGP signature


Re: How do I know if my internal PCI modem works on FreeBSD?

2005-12-03 Thread Wojciech Puchar

Basically, it all depends on how much you spent for the modem.  A $15-20
modem is more than likely a WinModem (software modem) which FreeBSD does
*NOT* support without a third party driver.  If the modem cost $70-100,
and it is recongized as a serial port by the sio driver, then it
probably will work.



externally connected modems (by serial) costs less than $100 anyway and do 
work for sure.


many external modems does connect by USB port and can be cheaper, but 
check for "hayes compatible" label (or similar) as some USB modems are 
winmodems too.

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


Re: Trouble upgrading ports collection

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 07:20, edward wrote:
> Michael C. Shultz wrote:
> > pkg_delete -f nvidia-driver-1.0.7676_1 and xorg-clients
> > should build.  Then run portmanager -u -p -l
> > When portmanager is done then run
> >
> > portmanager x11/nvidia-driver
> >
> > to install this again
> >
> >
> > When all is done you may have something left with java build
> > dependencies, lets tackle those after the above is handled
> >
> > -Mike
>
> Hi Mike,
>
> I did :
> pkg_delete -f nvidia-driver-1.0.7676_1
> portmanager -u -p -l
> portmanager x11/nvidia-driver
>
> So far, so good.
> Seems I still have to upgrade linux-sun-jdk and compat3x-i386.
>
> Here's the portmanager log file now :
>
> 
>  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDWARD  i386
> 
> forced 0  interactive0
> log1  pmMode 0
> kdelibs-3.4.2_1 /x11/kdelibs3
>  OLD kdelibs-3.4.3
>   /x11/kdelibs3
> kdegraphics-3.4.2_1 /graphics/kdegraphics3
>  OLD kdegraphics-3.4.3
>   /graphics/kdegr



> linux-sun-jdk-1.4.2.08_1/java/linux-sun-jdk14
>  OLD linux-sun-jdk-1.4.2.10
>   /java/linux-sun
>linux-sun-jdk-1.4.2.08_1 /java/linux-sun-jdk14 marked IGNORE port
> not installed/updat
> ed
> compat3x-i386-5.0.20020925  /misc/compat3x
>  MISSING compat3x-i386-5.0.20020925
>   /misc/compat3x
>
>
>compat3x-i386-5.0.20020925 /misc/compat3x marked FORBIDDEN port
> not installed/updated
> kdebase-kompmgr-3.4.2   /x11-wm/kompmgr
>  OLD kdebase-kompmgr-3.4.3
>   /x11-wm/kompmgr
>
>
> kdebase-3.4.2_2 /x11/kdebase3
>  OLD kdebase-3.4.3
>   /x11/kdebase3
>
>
> superkaramba-0.36_1 /deskutils/superkaramba
>  OLD superkaramba-0.36_3
>   /deskutils/supe
> rkaramba
>
> kdeartwork-3.4.2/x11-themes/kdeartwork3
>  OLD kdeartwork-3.4.3
>   /x11-themes/kde
> artwork3
>
> kdesdk-3.4.2/devel/kdesdk3
>  OLD kdesdk-3.4.3
>   /devel/kdesdk3
>
>
> kdewebdev-3.4.2,2   /www/kdewebdev
>  OLD kdewebdev-3.4.3,2
>   /www/kdewebdev
>
>
> gtk-qt-engine-0.6_2 /x11-themes/gtk-qt-engine
>  OLD gtk-qt-engine-0.6_4
>   /x11-themes/gtk
> -qt-engine
>
>   end of log
> Sat Dec  3 16:03:08 CET 2005
>
> Any ideas what to do next ?
> Edward
>

First of all I just noticed your running portmanager ver 0.3.8_2,
the current version is 0.3.9_5, wish I caught that earlier.

For now try this:

pkg_delete -f jre-1.1.8

check in /usr/local/etc/pkpkgtools.conf 
and /usr/local/etc/portmanager/pm-020.conf
and see if you have java/linux-sun-jdk14
marked as ignore, if so undo that.

The log isn't very complete in this version of portmanager
so send the output of the status screen also like you did the last
time after running portmanager -u -l -p so I can see what is up
with the kde ports.  Don't update the ports tree just yet or you
will have to do the manual deinstall/reinstall of nvidia again, better
we clean out the old crud like compat3x-i386-5.0.20020925 and
things that depend on it first.






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


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 07:25, Daniel Bye wrote:
> Hi,
>
> Anyone else seen something like this using portmanager lately?
>
> ---># portmanager -s | grep OLD
> /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+':
> cannot convert Array into String (TypeError)
> from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72
> from
> /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70:in `each'
> from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70
> /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72:in `+':
> cannot convert Array into String (TypeError)
> from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:72
> from
> /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70:in `each'
> from /usr/local/share/portmanager/pkgtools-to-portmanager.rb:70
>
>
> I checked the archives and no-one seems to have mentioned it, but heh, I
> can't be the only one, can I..?  ;-)
>
> The following patch seems to fix it, anyways.
>
> + patch starts
>
> --- pkgtools-to-portmanager.rbSat Dec  3 14:49:24 2005
> +++ pkgtools-to-portmanager_fixed.rb  Sat Dec  3 14:51:09 2005
> @@ -57,7 +57,7 @@
>
>  config_value(:BEFOREBUILD).each do |pkg|
>
> - puts "STOP|/" + pkg[0] + " " + pkg[1] + "|"
> + puts "STOP|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
>
>  end
>
> @@ -69,7 +69,7 @@
>
>  config_value(:AFTERINSTALL).each do |pkg|
>
> - puts "START|/" + pkg[0] + " " + pkg[1] + "|"
> + puts "START|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
>
>  end
>
> @@ -86,6 +86,6 @@
>  ##mcs mod##
>  #puts pkg[0] + "|" + pkg[1] + "|"
>  #
> - puts pkg[0] + "|" + pkg[1] + " " + "|"
> + puts pkg[0] + "|" + "#{pkg[1]}" + " " + "|"
>
>  end
>
> + patch ends
>
> Cheers,
>
> Dan

The ruby script doesn't convert pkgtools.conf if
it's entries are in array format, but if they are like this:

   'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
'emulators/qemu'=>  'WITH_KQEMU=1',

then it works fine.  That script was donated and I haven't had the time
to fix it, if your patch solves the problem that would be great!  I'm still 
tied up for most of today so testing it myself might not happen until tonight 
or tomorrow.

For your information, the converted output goes to:

/usr/local/etc/portmanager/pm-039-pkg-tools.conf

see if your patch keeps it in the same format as:

/usr/local/etc/portmanager/pm-020.conf 

if so I'll apply it to the ruby script, and be very thankful for your help 
with this :)

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


Re: mkisofs on 5.4

2005-12-03 Thread Jonathan Wallace
Thanks for responding.

>>Do you see the problem if you only use mkisofs?

Yes.  I just tried it and got the same problem with an iso image using
mkisofs.  This is starting to look like a timezone issue.  The date/time
difference between the date displayed via ISO and the date displayed via
FFS (same file), is five hours which is my timezone from GMT.  I'm on the
US Eastern seaboard.

The date/time is being displayed correctly by date() and by UFS2.  It
appears that cd9660 is having a problem with the time zone.  As another
reference point, when I mount the DVD I created, under MSwin, the dates
are displayed correctly.

>>You don't expect mkisofs to change the date for you, right?

No.  I expect the date/time of the files under UFS2 to be preserved when
they are written to the DVD (or an iso image).  I can confirm now that
mkisofs is not the problem since the dates are accurate under MSwin.

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


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote:
> The ruby script doesn't convert pkgtools.conf if
> it's entries are in array format, but if they are like this:
> 
>'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
> 'emulators/qemu'=>  'WITH_KQEMU=1',
> 
> then it works fine.  That script was donated and I haven't had the time
> to fix it, if your patch solves the problem that would be great!  I'm still 
> tied up for most of today so testing it myself might not happen until tonight 
> or tomorrow.
> 
> For your information, the converted output goes to:
> 
> /usr/local/etc/portmanager/pm-039-pkg-tools.conf
> 
> see if your patch keeps it in the same format as:
> 
> /usr/local/etc/portmanager/pm-020.conf 
> 
> if so I'll apply it to the ruby script, and be very thankful for your help 
> with this :)
> 
> -Mike
> 

Rats!  Don't anybody use the patch!  It doesn't work.  I'll try to
figure out how to do it right (damn, should be writing my assignments
for college!)

Bear with me...  ;-)

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgphT17wsygVJ.pgp
Description: PGP signature


Re: Trouble upgrading ports collection

2005-12-03 Thread edward



Michael C. Shultz wrote:


First of all I just noticed your running portmanager ver 0.3.8_2,
the current version is 0.3.9_5, wish I caught that earlier.

For now try this:

pkg_delete -f jre-1.1.8

check in /usr/local/etc/pkpkgtools.conf 
and /usr/local/etc/portmanager/pm-020.conf

and see if you have java/linux-sun-jdk14
marked as ignore, if so undo that.

The log isn't very complete in this version of portmanager
so send the output of the status screen also like you did the last
time after running portmanager -u -l -p so I can see what is up
with the kde ports.  Don't update the ports tree just yet or you
will have to do the manual deinstall/reinstall of nvidia again, better
we clean out the old crud like compat3x-i386-5.0.20020925 and
things that depend on it first.



Hi Mike,

The output portmanager -u -l -p of is :


 Port Status Report

1 have:expat-1.95.8_3  /textproc/expat2 
   CURRENT
2 have:libtool-1.5.20  /devel/libtool15 
   CURRENT
3 have:pkgconfig-0.20  /devel/pkgconfig 
   CURRENT
4 have:gmake-3.80_2/devel/gmake 
   CURRENT
5 have:gettext-0.14.5  /devel/gettext 
   CURRENT
6 have:libiconv-1.9.2_1/converters/libiconv 
   CURRENT
7 have:imake-6.8.2 /devel/imake-6 
   CURRENT
8 have:perl-5.8.7  /lang/perl5.8 
   CURRENT
9 have:bison-1.75_2,1  /devel/bison 
   CURRENT
00010 have:m4-1.4.4/devel/m4 
   CURRENT
00011 have:libXft-2.1.7/x11-fonts/libXft 
   CURRENT
00012 have:fontconfig-2.3.2,1  /x11-fonts/fontconfig 
   CURRENT
00013 have:xorg-libraries-6.8.2/x11/xorg-libraries 
   CURRENT
00014 have:freetype2-2.1.10_1  /print/freetype2 
   CURRENT
00015 have:ruby18-bdb1-0.2.2   /databases/ruby-bdb1 
   CURRENT
00016 have:ruby-1.8.2_5,1  /lang/ruby18 
   CURRENT
00017 have:openldap-client-2.2.29  /net/openldap22-client 
   CURRENT
00018 have:libvorbis-1.1.1,3   /audio/libvorbis 
   CURRENT
00019 have:libogg-1.1.2_1,3/audio/libogg 
   CURRENT
00020 have:ezm3-1.2/lang/ezm3 
   CURRENT
00021 have:cvsup-16.1h_2   /net/cvsup 
   CURRENT
00022 have:xorg-vfbserver-6.8.2 
/x11-servers/xorg-vfbserver CURRENT
00023 have:xorg-server-6.8.2_6 /x11-servers/xorg-server 
   CURRENT
00024 have:portmanager-0.3.8_2 /sysutils/portmanager 
   CURRENT
00025 have:xorg-fonts-encodings-6.8.2 
/x11-fonts/xorg-fonts-encodings CURRENT
00026 have:xorg-clients-6.8.2_1/x11/xorg-clients 
   CURRENT
00027 have:xterm-206_1 /x11/xterm 
   CURRENT
00028 have:png-1.2.8_2 /graphics/png 
   CURRENT
00029 have:xorg-fonts-miscbitmaps-6.8.2 
/x11-fonts/xorg-fonts-miscbitmaps   CURRENT
00030 have:xorg-fonts-cyrillic-6.8.2 
/x11-fonts/xorg-fonts-cyrillic  CURRENT
00031 have:xorg-fonts-75dpi-6.8.2 
/x11-fonts/xorg-fonts-75dpi CURRENT
00032 have:xorg-nestserver-6.8.2 
/x11-servers/xorg-nestserverCURRENT
00033 have:xorg-fontserver-6.8.2 
/x11-servers/xorg-fontserverCURRENT
00034 have:xorg-fonts-100dpi-6.8.2 
/x11-fonts/xorg-fonts-100dpiCURRENT
00035 have:xorg-fonts-type1-6.8.2 
/x11-fonts/xorg-fonts-type1 CURRENT
00036 have:xorg-documents-6.8.2/x11/xorg-documents 
   CURRENT
00037 have:p5-XML-Parser-2.34_1/textproc/p5-XML-Parser 
   CURRENT
00038 have:dri-6.2.1,2 /graphics/dri 
   CURRENT
00039 have:xorg-manpages-6.8.2 /x11/xorg-manpages 
   CURRENT
00040 have:bitstream-vera-1.10_2   /x11-fonts/bitstream-vera 
  CURRENT
00041 have:xorg-fonts-truetype-6.8.2 
/x11-fonts/xorg-fonts-truetype  CURRENT
00042 have:jpeg-6b_3   /graphics/jpeg 
   CURRENT
00043 have:lcms-1.14,1 /graphics/lcms 
   CURRENT
00044 have:samba-libsmbclient-3.0.20b_2/net/samba-libsmbclient 
   CURRENT
00045 have:p5-PathTools-3.14   /devel/p5-PathTools 
   CURRENT
00046 have:p5-Scalar-List-Utils-1.17,1 
/lang/p5-Scalar-List-Utils  CURRENT
00047 have:libxml2-2.6.22  /textproc/libxml2 
   CURRENT
00048 have:libart_lgpl2-2.3.17 /graphics/libart_lgpl2 
   

Re: Trouble upgrading ports collection

2005-12-03 Thread Michael C. Shultz
> skipping linux-sun-jdk-1.4.2.08_1 /java/linux-sun-jdk14 marked IGNORE
> reason: port marked IGNORE
> skipping compat3x-i386-5.0.20020925 /misc/compat3x marked IGNORE reason:
> port marked FORBIDDEN
> 
> portmanager 0.3.8_2 INFO: finished with some ports not updated  if --log
> was used see /var/log/portmanager.log
> 
>
> I also did : pkg_delete -f jre-1.1.8
>
> I have found no reference to linux-sun-jdk in /usr/local/etc/pkgtools.conf
> or in
> /usr/local/etc/portmanager/pm-020.conf
>
> Yet /java/linux-sun-jdk14 is marked as IGNORE in the portmanager output,
> as you can see above.  Hope this can help.
> Edward

It does help, the linux-sun-jdk14 port is flagging its self as ignore because 
you don't have J2SE SDK in distfiles.  You'll have to build 
java/linux-sun-jdk14 manually and jump through the Sun hoops to get the 
distfiles, just follow the instructions that pop up when you make it.

In this status report it looks like the kde ports updated successfully, so 
your just down to the java port correct? (java/linux-sun-jdk14)

The compat3x-i386-5.0.20020925 missing can be ignored, one of the java
build dependencies must have this listed as a dependency but java is
a weird animal, it's build dependencies can be missing and it will still build
so I would just ignore that for now.

-Mike



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


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 08:03, Daniel Bye wrote:
> On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote:
> > The ruby script doesn't convert pkgtools.conf if
> > it's entries are in array format, but if they are like this:
> >
> >'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
> > 'emulators/qemu'=>  'WITH_KQEMU=1',
> >
> > then it works fine.  That script was donated and I haven't had the time
> > to fix it, if your patch solves the problem that would be great!  I'm
> > still tied up for most of today so testing it myself might not happen
> > until tonight or tomorrow.
> >
> > For your information, the converted output goes to:
> >
> > /usr/local/etc/portmanager/pm-039-pkg-tools.conf
> >
> > see if your patch keeps it in the same format as:
> >
> > /usr/local/etc/portmanager/pm-020.conf
> >
> > if so I'll apply it to the ruby script, and be very thankful for your
> > help with this :)
> >
> > -Mike
>
> Rats!  Don't anybody use the patch!  It doesn't work.  I'll try to
> figure out how to do it right (damn, should be writing my assignments
> for college!)
>
> Bear with me...  ;-)
>
> Dan

I thank you for your effort!  Need to make sure that both formats convert BTW:

both of these should be allowed, right now only the top method works:

'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
'emulators/qemu'=>  [
'WITH_KQEMU=1',
'WITH_SOMETHING=1',
],

-Mike



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


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
On Sat, Dec 03, 2005 at 04:03:20PM +, Daniel Bye wrote:
> On Sat, Dec 03, 2005 at 07:49:10AM -0800, Michael C. Shultz wrote:
> > The ruby script doesn't convert pkgtools.conf if
> > it's entries are in array format, but if they are like this:
> > 
> >'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
> > 'emulators/qemu'=>  'WITH_KQEMU=1',
> > 
> > then it works fine.  That script was donated and I haven't had the time
> > to fix it, if your patch solves the problem that would be great!  I'm still 
> > tied up for most of today so testing it myself might not happen until 
> > tonight 
> > or tomorrow.
> > 
> > For your information, the converted output goes to:
> > 
> > /usr/local/etc/portmanager/pm-039-pkg-tools.conf
> > 
> > see if your patch keeps it in the same format as:
> > 
> > /usr/local/etc/portmanager/pm-020.conf 
> > 
> > if so I'll apply it to the ruby script, and be very thankful for your help 
> > with this :)
> > 
> > -Mike
> > 
> 
> Rats!  Don't anybody use the patch!  It doesn't work.  I'll try to
> figure out how to do it right (damn, should be writing my assignments
> for college!)

Right - I think this one is correct - the format in
/usr/local/etc/portmanager/pm-039-pkg-tools.conf is the same as that in
/usr/local/etc/portmanager/pm-020.conf, which is a promising sign...

+ patch starts

--- pkgtools-to-portmanager.rb  Sat Dec  3 16:23:49 2005
+++ pkgtools-to-portmanager_fixed.rbSat Dec  3 16:26:58 2005
@@ -57,7 +57,10 @@
 
 config_value(:BEFOREBUILD).each do |pkg|
 
-   puts "STOP|/" + pkg[0] + " " + pkg[1] + "|"
+   if pkg[1].instance_of?(Array)
+   pkg[1] = pkg[1].join(" ")
+   end
+   puts "STOP|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
 
 end
 
@@ -69,7 +72,10 @@
 
 config_value(:AFTERINSTALL).each do |pkg|
 
-   puts "START|/" + pkg[0] + " " + pkg[1] + "|"
+   if pkg[1].instance_of?(Array)
+   pkg[1] = pkg[1].join(" ")
+   end
+   puts "START|/" + pkg[0] + " " + "#{pkg[1]}" + "|"
 
 end
 
@@ -86,6 +92,10 @@
 ##mcs mod##
 #  puts pkg[0] + "|" + pkg[1] + "|"
 #
-   puts pkg[0] + "|" + pkg[1] + " " + "|"
+
+   if pkg[1].instance_of?(Array)
+   pkg[1] = pkg[1].join(" ")
+   end
+   puts pkg[0] + "|" + "#{pkg[1]}" + " " + "|"
 
 end

+ patch ends

Cheers,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpNQcvKYqWFZ.pgp
Description: PGP signature


Shared objects

2005-12-03 Thread Dimitris Babasakis
i installed freebsd 6.0 and some packages are not working
the error mesages are

> bos
/libexec/ld-elf.so.1: Shared object "liblua.so" not found, required by
"stratagus"
> xchm
/libexec/ld-elf.so.1: Shared object "libz.so.2" not found, required by
"libwx_gtk2_xrc-2.6.so.0"
> hot-babe
/libexec/ld-elf.so.1: Shared object "libgdk-x11-2.0.so.0" not found,
required by "hot-babe"
> xmms
/libexec/ld-elf.so.1: Shared object "libgtk12.so.2" not found, required by
"xmms"


some of those Shared objects exist while deferend version eg
libgdk-x11-2.0.so

any sogestions on how to find them?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Daniel Bye
On Sat, Dec 03, 2005 at 08:34:45AM -0800, Michael C. Shultz wrote:
> I thank you for your effort!  Need to make sure that both formats convert BTW:
> 
> both of these should be allowed, right now only the top method works:
> 
> 'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
> 'emulators/qemu'=>  [
>   'WITH_KQEMU=1',
>   'WITH_SOMETHING=1',
>   ],
> 
> -Mike

Yep, the new patch handles both - I use both formats in my pkgtools.conf
file, and the created file is correct.  For example:

MAKE_ARGS = {
  'www/mod_php4*' => [
'WITH_BZIP2=yes',
'WITH_CTYPE=yes',
'WITH_MYSQL=yes',
'WITH_OVERLOAD=yes',
'WITH_PCRE=yes',
'WITH_POSIX=yes',
'WITH_SESSION=yes',
'WITH_TOKENIZER=yes',
'WITH_XML=yes',
'WITH_ZLIB=yes',
'WITH_GETTEXT=yes',
'WITH_ICONV=yes',
'WITH_IMAP=yes',
'WITH_MCRYPT=yes',
'WITH_MHASH=yes',
'WITH_OPENSSL=yes',
'WITH_OPENLDAP=yes',
],
  'textproc/ispell*' => 'ISPELL_BRITISH=yes',
  'mail/exim*' => [
'WITH_MYSQL=1',
  ],
  'net/samba*' => [
'BATCH=yes',
'WITH_UTMP=yes',
'WITH_SYSLOG=yes',
'WITHOUT_CUPS=yes',
'WITH_RECYCLE=yes',
  ],
  'courier-imap*' => 'WITH_MYSQL=1',
  'mail/courier-authlib*' => 'WITH_MYSQL=1',
  }

converts to:

mail/courier-authlib*|WITH_MYSQL=1 |
courier-imap*|WITH_MYSQL=1 |
www/mod_php4*|WITH_BZIP2=yes WITH_CTYPE=yes WITH_MYSQL=yes WITH_OVERLOAD=yes WIT
H_PCRE=yes WITH_POSIX=yes WITH_SESSION=yes WITH_TOKENIZER=yes WITH_XML=yes WITH_
ZLIB=yes WITH_GETTEXT=yes WITH_ICONV=yes WITH_IMAP=yes WITH_MCRYPT=yes WITH_MHAS
H=yes WITH_OPENSSL=yes WITH_OPENLDAP=yes |
net/samba*|BATCH=yes WITH_UTMP=yes WITH_SYSLOG=yes WITHOUT_CUPS=yes WITH_RECYCLE
=yes |
mail/exim*|WITH_MYSQL=1 |
textproc/ispell*|ISPELL_BRITISH=yes |

I can foresee problems with this default entry in pkgtools.conf:

AFTERINSTALL = {
  '*' => proc { |origin|
   cmd_restart_rc(origin)
  },
}


It converts to this: 

START|/* #|

And my guess would be that, as the Ruby instance that creates the file
has gone away, the address of the Proc object will be freed.  Dunno what 
you want to do about that one.

Cheers,

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpXwScwaSFcA.pgp
Description: PGP signature


Re: Shared objects

2005-12-03 Thread Alistair Sutton
On 03/12/05, Dimitris Babasakis <[EMAIL PROTECTED]> wrote:
> i installed freebsd 6.0 and some packages are not working
> the error mesages are
>
> > bos
> /libexec/ld-elf.so.1: Shared object "liblua.so" not found, required by
> "stratagus"
> > xchm
> /libexec/ld-elf.so.1: Shared object "libz.so.2" not found, required by
> "libwx_gtk2_xrc-2.6.so.0"
> > hot-babe
> /libexec/ld-elf.so.1: Shared object "libgdk-x11-2.0.so.0" not found,
> required by "hot-babe"
> > xmms
> /libexec/ld-elf.so.1: Shared object "libgtk12.so.2" not found, required by
> "xmms"
>
>
> some of those Shared objects exist while deferend version eg
> libgdk-x11-2.0.so
>
> any sogestions on how to find them?

Where did you install the packages from?

It appears as if the package was built for an older version of FreeBSD.

Al
--
GPG/PGP: http://www.no-dns-yet.org.uk/~everlone/pubkey.gpg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CVS Server with freebsd

2005-12-03 Thread Ian Lord

Hi,

I'm trying to setup a cvs server for our internal development...

I may be blind, but I didn't find any ports for this in the ports 
tree... Do I need to compile it from the source or is there an easier 
way (port)


I saw a pserver wrapper for cvs ( port = cvsd) in the port but not 
the actual cvs server


Thanks

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


Re: pkgtools-to-portmanager.rb

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 08:48, Daniel Bye wrote:
> On Sat, Dec 03, 2005 at 08:34:45AM -0800, Michael C. Shultz wrote:
> > I thank you for your effort!  Need to make sure that both formats convert
> > BTW:
> >
> > both of these should be allowed, right now only the top method works:
> >
> > 'editors/openoffice*'   =>  'LOCALIZED_LANG=en-US WITH_KDE=1',
> > 'emulators/qemu'=>  [
> > 'WITH_KQEMU=1',
> > 'WITH_SOMETHING=1',
> > ],
> >
> > -Mike
>
> Yep, the new patch handles both - I use both formats in my pkgtools.conf
> file, and the created file is correct.  For example:
>
> MAKE_ARGS = {
>   'www/mod_php4*' => [
> 'WITH_BZIP2=yes',
> 'WITH_CTYPE=yes',
> 'WITH_MYSQL=yes',
> 'WITH_OVERLOAD=yes',
> 'WITH_PCRE=yes',
> 'WITH_POSIX=yes',
> 'WITH_SESSION=yes',
> 'WITH_TOKENIZER=yes',
> 'WITH_XML=yes',
> 'WITH_ZLIB=yes',
> 'WITH_GETTEXT=yes',
> 'WITH_ICONV=yes',
> 'WITH_IMAP=yes',
> 'WITH_MCRYPT=yes',
> 'WITH_MHASH=yes',
> 'WITH_OPENSSL=yes',
> 'WITH_OPENLDAP=yes',
> ],
>   'textproc/ispell*' => 'ISPELL_BRITISH=yes',
>   'mail/exim*' => [
> 'WITH_MYSQL=1',
>   ],
>   'net/samba*' => [
> 'BATCH=yes',
> 'WITH_UTMP=yes',
> 'WITH_SYSLOG=yes',
> 'WITHOUT_CUPS=yes',
> 'WITH_RECYCLE=yes',
>   ],
>   'courier-imap*' => 'WITH_MYSQL=1',
>   'mail/courier-authlib*' => 'WITH_MYSQL=1',
>   }
>
> converts to:
>
> mail/courier-authlib*|WITH_MYSQL=1 |
> courier-imap*|WITH_MYSQL=1 |
> www/mod_php4*|WITH_BZIP2=yes WITH_CTYPE=yes WITH_MYSQL=yes
> WITH_OVERLOAD=yes WIT H_PCRE=yes WITH_POSIX=yes WITH_SESSION=yes
> WITH_TOKENIZER=yes WITH_XML=yes WITH_ ZLIB=yes WITH_GETTEXT=yes
> WITH_ICONV=yes WITH_IMAP=yes WITH_MCRYPT=yes WITH_MHAS H=yes
> WITH_OPENSSL=yes WITH_OPENLDAP=yes |
> net/samba*|BATCH=yes WITH_UTMP=yes WITH_SYSLOG=yes WITHOUT_CUPS=yes
> WITH_RECYCLE =yes |
> mail/exim*|WITH_MYSQL=1 |
> textproc/ispell*|ISPELL_BRITISH=yes |
>
> I can foresee problems with this default entry in pkgtools.conf:
>
> AFTERINSTALL = {
>   '*' => proc { |origin|
>cmd_restart_rc(origin)
>   },
> }
>
>
> It converts to this:
>
> START|/* #|
>
> And my guess would be that, as the Ruby instance that creates the file
> has gone away, the address of the Proc object will be freed.  Dunno what
> you want to do about that one.
>
> Cheers,
>
> Dan

START|/* #| 

isn't a problem, it ends up being ignored because 

|/* #

doesn't convert to a ports directory.

I just tested your patch, works perfect!  Saves me from having to learn ruby
for another while yet, thanks much!  I'm testing another bug fix reported by 
someone else so when done with that I'll include this so it will be in 
version 0.3.9_6.  Should be in the ports tree tonight but I'll send you a 
patch to drop into portmanager/files just in case it takes awhile to get into 
the ports tree.

-Mike

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


Re: CVS Server with freebsd

2005-12-03 Thread lars
Ian Lord wrote:
> Hi,
> 
> I'm trying to setup a cvs server for our internal development...
> 
> I may be blind, but I didn't find any ports for this in the ports
> tree... Do I need to compile it from the source or is there an easier
> way (port)
> 
> I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the
> actual cvs server
You don't need to "install" a CVS server, or port for that matter.



I advise you to go to cvshome.org to read the documentation on how to set up
a source code repository with CVS.

I also recommend not to use pserver if you can avoid it.

You can authenticate all CVS users via local accounts and SSH.

With two environmant variables
CVS_ROOT=...
CVS_RSH=...
the users then make their local CVS clients use SSH to authenticate with the
CVS server and transmit their commits enrypted.

In this way you don't need a CVS daemon running on the server.

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


Re: CVS Server with freebsd

2005-12-03 Thread Ian Lord

thanks !

I'll check into this (ssh)

Thanks a lot for your help

At 12:17 2005-12-03, lars wrote:

Ian Lord wrote:
> Hi,
>
> I'm trying to setup a cvs server for our internal development...
>
> I may be blind, but I didn't find any ports for this in the ports
> tree... Do I need to compile it from the source or is there an easier
> way (port)
>
> I saw a pserver wrapper for cvs ( port = cvsd) in the port but not the
> actual cvs server
You don't need to "install" a CVS server, or port for that matter.



I advise you to go to cvshome.org to read the documentation on how to set up
a source code repository with CVS.

I also recommend not to use pserver if you can avoid it.

You can authenticate all CVS users via local accounts and SSH.

With two environmant variables
CVS_ROOT=...
CVS_RSH=...
the users then make their local CVS clients use SSH to authenticate with the
CVS server and transmit their commits enrypted.

In this way you don't need a CVS daemon running on the server.

Kind regards
Lars
___
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: Shared objects

2005-12-03 Thread Mehmet Fatih AKBULUT
hi Dimitris.
i had that problem once.
try to upgrade whole packages with

#portupgrade -arR

(
ps: if u havent downloaded portupgrade yet:
cd /usr/ports/sysutils/portupgrade
#make install clean
)

i did the above and the problem solved.

(one more ps:
if the command above doesnt work then try this after installing portupgrade
:
#portupgrade -FR xmms
#portinstall -N xmms
)

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


Re: CVS Server with freebsd

2005-12-03 Thread lars
Ian Lord wrote:
> thanks !
> 
> I'll check into this (ssh)
> 
> Thanks a lot for your help
> 
There's also a good book,
"Essential CVS" by Jenn Vesperman
that can be a lot of help setting up
and, especially, maintaining a CVS repository.



Btw, if you don't have company or departemental constraints
forcing you to use CVS, go for Subversion instead.

AFAIK the KDE source is in Subversion:
http://developer.kde.org/source/anonsvn.html

And the KDE source is quite big.

It has all the functionality of CVS and is far less of a hassle to use.

E.g. you can't move files or directories in CVS,
you have to copy, cvs add, delete, cvs remove files and then the directories,
making this simple operation a real nuisance.

In Subversion you can move files and directories.
___
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 upgrade gnome/glib/gt on 4.11

2005-12-03 Thread Tuc at T-B-O-H
> 
> On Saturday 03 December 2005 03:12, RW wrote:
> > On Friday 02 December 2005 19:28, Tuc at T-B-O-H wrote:
> > > Hi,
> > >
> > >   I was looking to upgrade using the :
> > >
> > >   http://www.marcuscom.com/downloads/gnome_upgrade212.sh
> > >
> > >   but it tells me that 4.11-STABLE isn't supported. Is there a
> > > procedure to do the upgrade?
> >
> > If the new version of Gnome actually works on 4.11, then portupgrade can
> > probably handle it.
> 
> Oops. I meant portmanager
>
Can anyone verify they've gotten it running?

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


Re: FireFox not starting in 6.0

2005-12-03 Thread Jesse Sheidlower
On Fri, Dec 02, 2005 at 08:33:36PM -0800, Dr. Jennifer Nussbaum wrote:
> 
> i finally am getting started with 6.0, after a lot of
> time of installation. Most things are going well but
> the wierdest problem:
> i cant get FireFox to start! It built fine, no errors,
> but it just doesnt start.
> 
> There arent really anymore details i can give. It
> doesnt matter if I click the FF icon in Gnome, or type
> 'firefox' on the commandline.
> (There's no output from doing that:
> 
> $ firefox
> $ 

The same thing happens with mozilla. Apparently you have to
run it as root, and then it works fine--is anyone else seeing
this behavior? The /usr/X11R6/bin/firefox script etc. has
execute perms for any user. What's the tweak that needs to be
done so that a normal user can run it? I didn't see anything
in the package message.

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


FreeBSD-6.0 Install slows to a crawl

2005-12-03 Thread aus129
I am attempting an install of FreeBSD 6.0-RELEASE with the CD1 ISO image.
Everything runs at a normal speed until it mounts /dev/md0 and runs
/stand/sysinstall.  At that point the whole process slows to a crawl.  It
does not freeze, but it is really slow.  I suffered through the Standard
install, which has been installing bin to / for the last 12 hours at about
0.3 KB per second.  I have a dual celeron 433 setup using an Abit BP6
motherboard.  I saw that its ACPI setup is blacklisted, so I disabled it in
the BIOS.  I have disabled ACPI at the boot loader prompt as well.  I did
not see anything about this in the INSTALL, RELNOTES or README docs.  Am I
missing something?  Are there any other kernel hints that would be useful?
Thanks for the help!

Wes
___
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 upgrade gnome/glib/gt on 4.11

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 10:38, Tuc at T-B-O-H wrote:
> > On Saturday 03 December 2005 03:12, RW wrote:
> > > On Friday 02 December 2005 19:28, Tuc at T-B-O-H wrote:
> > > > Hi,
> > > >
> > > > I was looking to upgrade using the :
> > > >
> > > > http://www.marcuscom.com/downloads/gnome_upgrade212.sh
> > > >
> > > > but it tells me that 4.11-STABLE isn't supported. Is there a
> > > > procedure to do the upgrade?
> > >
> > > If the new version of Gnome actually works on 4.11, then portupgrade
> > > can probably handle it.
> >
> > Oops. I meant portmanager
>
>   Can anyone verify they've gotten it running?
>
>   Thanks, Tuc

I started portmanager and gnome2 on a 4.11 machine last night. The machine a 
very slow AMD 400 with 128meg memory but so far the build is progressing 
smoothly, 52 ports left to build out of 188..


-Mike

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


Setting up a print-server

2005-12-03 Thread Charles Howse
Hi,
I have the task of setting up a FreeBSD box as a print-server for the lan
here at home.
I've used FreeBSD for quite a while, but am currently just a little rusty.
I was hoping the list members could help me with planning a strategy, and
possibly point me to some resources for help.  I have my copies of The
Handbook and FreeBSD Unleashed at my side.  :-)

The printers are:
HP1100 LaserJet (non-postscript, parallel only)
Epson Stylus C86 (postscript, USB only)

Here is my current list of requirements:
My daughter's WinXP Pro SP2 box must be able to print to either printer.

My Mac OS X Tiger 10.4.3 box must be able to print to either printer.

(I may not know what I'm talking about here, but) I would prefer IP printing
as the only means of serving the printers, rather than Samba for serving to
Windows, AND CUPS or something else for serving to OS X.

The FreeBSD machine is quite capable hardware-wise of doing all this.
I have a copy of 4.11-RELEASE, but will be glad to install whatever version
makes it easiest to do what I need.

Any help = appreciation!

-- 
Thanks,
Charles 


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


How often portupgrades?

2005-12-03 Thread Kiffin Gish
Just wondering what a good rule of thumb is in how often to run portupgrades.

I figure that once a week should be sufficient, however each time it runs it 
can take up to a few hours to complete which seems like an unnecessary hassle 
to me. Once it even started rebuilding the complete gnome port which took a 
couple days!

Is this worthwhile? What are the benefits?

Thanks alot in advance.


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


pptp problems

2005-12-03 Thread klowd9 -

Please reply your message to [EMAIL PROTECTED]

Im from israel. I use vpn over _cable_ (not dialing) to connect to the 
internet. works fine in windows.
On Freebsd 6.0. i installed pptpclient which uses pptpclient 1.7.0 sources, 
the newest version.


Problem description:
-I recieve a local ip from the cable company: 172.27.15.77 on sis0 
interface.
-I run pptpclient, seems to connect and creates a new device tun0 with a 
valid internet ip and gateway
-From here im still incapable of ping or resolving anything. Anything i try 
to resolve becomes 213.57.1.13 which is the ip for the cable company 
website. the name servers it uses are 192.168.101.101. which is the same as 
in windows, but on windows i am successful in resolving websites after i 
connect to vpn.

Also i cannot ping any valid ip over the internet. packets time out.
basically i cant connect or do anything.

I tried adding a route or changing default route, but usually when i do this 
i kill the pptp connection.


I can give you more info on the protocols of vpn in windows like PAP and 
SPAP but i dont htink thats the issue because i get valid ip on new device 
tun0, i just cant figure how to use it and connect through it without 
killing the pptp connection.


Here is all the info, i copied by hand because i dont have a link to the 
system.



# cat /etc/ppp/ppp.conf
cable:
set authname joe
set authkey guess
set timeout 0
set ifaddr 0 0
set login
alias enable yes
# add 10.240.192.1/24 HISADDR
# add 213.57.1.13/24 HISADDR

# tried using each of those. and also disabling 'set login'. and still same 
problems.


# /etc/rc.d/netif restart
Stopping network: lo0 sis0 rl0
DHCPREQUEST on sis0 to 255.255.255.255 port 67
DHCPREQUEST on sis0 to 255.255.255.255 port 67
DHCPACK from 10.240.192.1
bound to 172.27.15.77 -- renewal in 276908 seconds.
rl0: no link . giving up

# pptpclient 212.179.61.77
(stays like this)


(in a new terminal)
# cat resolv.conf
nameserver 192.168.101.101
nameserver 192.168.101.102

# ifconfig tun0 sis0
sis0: flags=8843 mtu 1500
   options=8
   inet6 fe80::2d0
   inet 172.27.15.77 netmask 0xf000 broadcast 255.255.255.255
   ether 00:d0:09:57:1f:a6
   media: Ethernet autoselect (100baseTX )
   status: active

tun0: flags=8049 mtu 1500
   inet 212.179.185.226 --> 212.25.114.89 netmask 0x
   Opened by PID 624

#netstat -r

Routing tables

Internet GatewayFlags   Netif
default  172.27.0.1 UGS sis0
localhostlocalhost  UH  lo0
172.27/20link#1 UC  sis0
172.27.0.1   00:05:00:e7:dd:f7  UHLWsis0
212.25.114.89212.179.185.226UH  tun0


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


Playing through USB speakers in 6.0

2005-12-03 Thread Jesse Sheidlower
Last week I sent the following message:

On Sat, Nov 26, 2005 at 02:55:44PM -0500, Jesse Sheidlower wrote:
> 
> I'm running FreeBSD 4.11 on a laptop, and am interested in
> plugging in USB speakers. Is this possible, and if so, what
> do I have to do? There wasn't anything in the Handbook,
> and most things I saw from searching the lists had to do 
> with recording audio to a USB device.

Since then I upgraded to 6.0, and took the chance of buying
a pair of USB speakers, which do not work. My USB works, and
the speakers are drawing a current when plugged in, but I do
not get any music through them. (Audio in general works fine;
I can get sound of out the built-in speakers or through 
headphones and so forth, but I want to use USB speakers to
avoid batteries or a separate power cord.)

I've googled further but still not found anything helpful.
Is there anything I can do to get these to work?

Thanks for any suggestions.

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


RE: BSD vs Linux Threads

2005-12-03 Thread Ted Mittelstaedt


>-Original Message-
>From: Chad Leigh -- Shire.Net LLC [mailto:[EMAIL PROTECTED]
>Sent: Friday, December 02, 2005 11:15 PM
>To: Ted Mittelstaedt
>Subject: Re: BSD vs Linux Threads
>
>
>sent offlist so that you can fix it yourself (if indeed I am right,  
>which is not guaranteed :-) )
>
>On Dec 2, 2005, at 11:27 PM, Ted Mittelstaedt wrote:
>
>> Also keep in mind that freebsd filesystems are mounted async by  
>> default,
>> not sync by default like Linux, as a result FreeBSD always does worse
>> in these stupid bakeoffs you read about in the trade rags.
>
>Don't you mean just the opposite -- linux mounts by default asynch  
>and BSD synch so that the BSD is "disadvantaged"?
>

Oops, your right.  Disadvantaged by speed of course - but if your server
crashes, you won't think FreeBSD is disadvantaged.

Ted

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


Re: How often portupgrades?

2005-12-03 Thread Joerg Pernfuss
On Sat, 24 Dec 2005 20:29:41 +0100
"Kiffin Gish" <[EMAIL PROTECTED]> wrote:

> Just wondering what a good rule of thumb is in how often to run
> portupgrades.
> 
> I figure that once a week should be sufficient, however each time it
> runs it can take up to a few hours to complete which seems like an
> unnecessary hassle to me. Once it even started rebuilding the
> complete gnome port which took a couple days!
> 
> Is this worthwhile? What are the benefits?
> 
> Thanks alot in advance.

Everybody has to figure out that one for himself, so, here is my
rule of thumb:

Upgrade your ports only when you need to.

If all installed ports work fine and a new version doesn't introduce
some functionality you simply need to have, why update?
Just for the sake of updateing?


Joerg
-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | c7e4 d91d 64e2 6321 9988 |
| \ / campaign against |0xb248b614 | f27a 4e5b 06ce b248 b614 |
|  XHTML in email  |   .the next sentence is a lie.   |
| / \ and news | .the previous sentence was true. |


pgpDExIhffTCV.pgp
Description: PGP signature


Re: FireFox not starting in 6.0

2005-12-03 Thread Jesse Sheidlower
On Sat, Dec 03, 2005 at 09:03:09PM +0100, Werther Pirani wrote:
> Jesse Sheidlower wrote:
> 
> >>i cant get FireFox to start! It built fine, no errors,
> >>but it just doesnt start.
> >>
> >>(There's no output from doing that:
> >>
> >>$ firefox
> >
> >The same thing happens with mozilla. Apparently you have to
> >run it as root, and then it works fine--is anyone else seeing
> >this behavior?
> 
> Just out of curiosity: are the permissions on ~/.mozilla okay?
> 
> It's weird but, for some reason, I had mine changed from 700 to 600 and 
> experienced exactly the same behaviour.

How odd--yes, it wasn't exactly the permissions but the ownership was
root instead of the ordinary user. When I chowned it to myself both
programs work fine.

Thanks for the suggestion. I wonder why more people aren't experiencing
this.

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


Re: Setting up a print-server

2005-12-03 Thread arden
On Sat, 03 Dec 2005 13:15:59 -0600
Charles Howse <[EMAIL PROTECTED]> wrote:

> Hi,
> I have the task of setting up a FreeBSD box as a print-server for the lan
> here at home.
> I've used FreeBSD for quite a while, but am currently just a little rusty.
> I was hoping the list members could help me with planning a strategy, and
> possibly point me to some resources for help.  I have my copies of The
> Handbook and FreeBSD Unleashed at my side.  :-)
> 
> The printers are:
> HP1100 LaserJet (non-postscript, parallel only)
> Epson Stylus C86 (postscript, USB only)
> 
> Here is my current list of requirements:
> My daughter's WinXP Pro SP2 box must be able to print to either printer.
> 
> My Mac OS X Tiger 10.4.3 box must be able to print to either printer.
> 
> (I may not know what I'm talking about here, but) I would prefer IP printing
> as the only means of serving the printers, rather than Samba for serving to
> Windows, AND CUPS or something else for serving to OS X.
> 
> The FreeBSD machine is quite capable hardware-wise of doing all this.
> I have a copy of 4.11-RELEASE, but will be glad to install whatever version
> makes it easiest to do what I need.
> 
> Any help = appreciation!
> 
> -- 
> Thanks,
> Charles 
> google.com/bds 

http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html
> 
> ___
> 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: Dual Display

2005-12-03 Thread Frank Jahnke
I'm using an old Matrox G450 with 2 19" tubes.  It works very well for
2D applications (which mine are), but it certainly is not that good for
3D.  The open-source driver is stable and very well debugged.  Now if
only more applications were more Xinerama-aware...

Frank

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


Re: Trouble upgrading ports collection

2005-12-03 Thread edward



Michael C. Shultz wrote:


It does help, the linux-sun-jdk14 port is flagging its self as ignore because 
you don't have J2SE SDK in distfiles.  You'll have to build 
java/linux-sun-jdk14 manually and jump through the Sun hoops to get the 
distfiles, just follow the instructions that pop up when you make it.


In this status report it looks like the kde ports updated successfully, so 
your just down to the java port correct? (java/linux-sun-jdk14)


The compat3x-i386-5.0.20020925 missing can be ignored, one of the java
build dependencies must have this listed as a dependency but java is
a weird animal, it's build dependencies can be missing and it will still build
so I would just ignore that for now.

-Mike



I did the following :
cd /usr/ports/java/linux-sun-jdk14
make install

I was then instructed to download j2sdk-1_4_2_10-linux-i586.bin from 
http://javashoplm.sun.com


Placed the file in /usr/ports/distfiles

Ran make install again

I was instructed to remove the previous version of j2sdk and install the 
new version via a make deinstall / make reinstall sequence


All of my ports are now up to date and everything seems to work fine.
Thanks Mike, I owe you one :-)
Edward

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


Re: Trouble upgrading ports collection

2005-12-03 Thread Michael C. Shultz
On Saturday 03 December 2005 14:03, edward wrote:
> Michael C. Shultz wrote:
> > It does help, the linux-sun-jdk14 port is flagging its self as ignore
> > because you don't have J2SE SDK in distfiles.  You'll have to build
> > java/linux-sun-jdk14 manually and jump through the Sun hoops to get the
> > distfiles, just follow the instructions that pop up when you make it.
> >
> > In this status report it looks like the kde ports updated successfully,
> > so your just down to the java port correct? (java/linux-sun-jdk14)
> >
> > The compat3x-i386-5.0.20020925 missing can be ignored, one of the java
> > build dependencies must have this listed as a dependency but java is
> > a weird animal, it's build dependencies can be missing and it will still
> > build so I would just ignore that for now.
> >
> > -Mike
>
> I did the following :
> cd /usr/ports/java/linux-sun-jdk14
> make install
>
> I was then instructed to download j2sdk-1_4_2_10-linux-i586.bin from
> http://javashoplm.sun.com
>
> Placed the file in /usr/ports/distfiles
>
> Ran make install again
>
> I was instructed to remove the previous version of j2sdk and install the
> new version via a make deinstall / make reinstall sequence
>
> All of my ports are now up to date and everything seems to work fine.
> Thanks Mike, I owe you one :-)
> Edward

Your welcome :)

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


Acrobat 7.0

2005-12-03 Thread Jeff Molofee

Hello,

I know there are many sites that discuss this issue, but they all seem 
to be outdated, incorrect, or simply do not work. I am running galeon 
with linux-pluginwrappers. I can open Realaudio, Flash6 and Java, but 
when I attempt to load a PDF I see nothing. The screen is blank. I do 
not see any error messages on the console, etc.


My libmap is as follows:

###
# Acrobat5 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/X11R6/Acrobat5/Browsers/intellinux/nppdf.so]
libc.so.6 pluginwrapper/acrobat.so

# Acrobat7 with Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase
[/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so]
libc.so.6 pluginwrapper/acrobat.so

# Japanese Acrobat7 with 
Mozilla/Firebird/Galeon/Epiphany/Konqueror/Kazehakase

[/usr/X11R6/Acrobat7/Browser/intellinux/nppdf.so]
libc.so.6 pluginwrapper/acrobat.so


###

Acrobat is installed and runs fine on it's own.

Directory info (all that I can think would apply is as follows):

> locate nppdf.so
/usr/X11R6/lib/browser_plugins/nppdf.so
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so

/usr/X11R6/lib/browser_plugins...

> ls -la
drwxr-xr-x 2 root wheel 512 Dec 3 16:05 .
drwxr-xr-x 56 root wheel 15360 Dec 3 14:09 ..
-rw-r--r-- 1 root wheel 0 Dec 2 05:31 .firefox.keep
-rw-r--r-- 1 root wheel 0 Dec 2 08:12 .mozilla.keep
-rw-r--r-- 1 root wheel 0 Dec 2 06:48 .thunderbird.keep
lrwxr-xr-x 1 root wheel 52 Nov 17 00:53 flashplayer.xpt -> 
/usr/X11R6/lib/browser_linux_plugins/flashplayer.xpt
lrwxr-xr-x 1 root wheel 54 Nov 17 00:54 libflashplayer.so -> 
/usr/X11R6/lib/browser_linux_plugins/libflashplayer.so
lrwxr-xr-x 1 root wheel 62 Dec 2 08:12 libjavaplugin_oji.so -> 
/usr/local/jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
lrwxr-xr-x 1 root wheel 47 Nov 17 00:54 nphelix.so -> 
/usr/X11R6/lib/browser_linux_plugins/nphelix.so
lrwxr-xr-x 1 root wheel 48 Nov 17 00:54 nphelix.xpt -> 
/usr/X11R6/lib/browser_linux_plugins/nphelix.xpt
lrwxr-xr-x 1 root wheel 78 Dec 3 16:04 nppdf.so -> 
/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so


/usr/local/lib/acroread/usr/local/Adobe/Acrobat7.0/Browser/intellinux...

> ls -la
drwxr-xr-x 2 root wheel 512 Nov 20 20:35 .
drwxr-xr-x 3 root wheel 512 Nov 20 20:35 ..
-rwxr-xr-x 1 root wheel 878568 Nov 20 20:35 nppdf.so

Would really appreciate some advice.

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


Re: How often portupgrades?

2005-12-03 Thread RW
On Saturday 03 December 2005 19:56, Joerg Pernfuss wrote:
> Everybody has to figure out that one for himself, so, here is my
> rule of thumb:
>
>   Upgrade your ports only when you need to.
>
> If all installed ports work fine and a new version doesn't introduce
> some functionality you simply need to have, why update?
> Just for the sake of updateing?

No, because it's far less trouble to upgrade frequently than to  have to spend 
time working out when you need to upgrade. Even Microsoft now sees that 
running for long periods without updates, just because the applications work, 
is a bad idea.

I have a script that synchronizes  my ports tree, tells me what ports are old, 
and displays a diff comparing UPDATING to an older version.  A second script 
runs portmanager with nice. How difficult is that?

Any reasonably new pc should be able to build in the background without 
significant impact on desktop performance.

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


A big File Server

2005-12-03 Thread kyr

A big File Server

I’m the administrator of a student network of 350 people in the student 
campus of Xanthi Greece. We are NOT funded by the university or anybody 
else so we pay for everything in our network. I use FreeBSD for over a 
year now for our main server and I’m very happy with it. The goal is 
quite simple.


We need a 3 Terra Byte fileserver.

Requirements:

1. Cheap. No SCSI, no fancy disk controllers, not expensive equipment.

2. Unique space. No divisions (partitions) of any kind

3. Easily expandable

The purpose is to store there the data (movies, mp3, games, projects 
e.t.c) of the network.
The plan is to make a cluster of 4 old PCs (PII – PIII) that should work 
diskless using network cards with boot rom and PXE. Then mount all disks 
with NFS and “unite” them with Vinum volume manager. But before asking 
350 students to pay for this plan I have a lot of questions need to be 
answered.


1. Has anybody done this?

2. How stable and viable is the whole thing?

3. With Vinum can I mount volumes that are already full of data written 
in FFS or EXT3 without formatting them first?


4. Can I mount this way disks from a Linux box (FC3 with ext3 and LVM)?

5. Can I recover the contents of a single disk using a windows or a 
Linux box?


6. How can I tell the contents of a certain disk?

Any answers or ideas?

I Thank u in advance

Kyriakos

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


schedule a script at "system startup"

2005-12-03 Thread Ian Lord

Hi,

I would like to run a shell script at system startup which needs to 
run under a specific uid...


I don't see anything for this in man cron...

is there a way to do it with cron ? or otherwise is there another way ?

I guess there might be a way to put a script in /etc/rd.d/ but I 
don't know how to run it under a specifid uid


Any help would be appreciated

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


how to copy MBR??

2005-12-03 Thread Javier Matos
Hi, I will change the hard drive of my computer and I was thinking that maybe 
it can run if I make partitions in the new hard drive (the same number of 
partitions using the same device name), copy all the files contained in the old 
hard drive to the new one and finally copy MBR from old hard drive to the new 
one... .

Can it be a solution to the problem of changing hard drives of my computer or 
that that I tell is a stupid thing??

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


Re: schedule a script at "system startup"

2005-12-03 Thread Colin Andrew Percival
On Sat, Dec 03, 2005 at 08:18:12PM -0500, Ian Lord wrote:
> I would like to run a shell script at system startup which needs to 
> run under a specific uid...
> 
> I don't see anything for this in man cron...
> 
> is there a way to do it with cron ? or otherwise is there another way ?

Create a crontab file for the user, and use the magic value "@reboot" for
the date/time.

Colin Percival

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


Re: How often portupgrades?

2005-12-03 Thread Vizion
On Saturday 24 December 2005 11:29,  the author Kiffin Gish contributed to the 
dialogue on-
 How often portupgrades?: 

>Just wondering what a good rule of thumb is in how often to run
> portupgrades.
>
>I figure that once a week should be sufficient, however each time it runs it
> can take up to a few hours to complete which seems like an unnecessary
> hassle to me. Once it even started rebuilding the complete gnome port which
> took a couple days!
>
>Is this worthwhile? What are the benefits?
>
>Thanks alot in advance.
>
You pays yr processing time and makes yr choice :-)

I have been using freebsd for quite a long time and I find that sometimes I am 
constantly upgrading a machine which is being used for development something 
and then when I just need systems to carry on doing the same thing day after 
day I get into the if it aint broke dont fix it mode! Then a new 
application/need comes along and the cycle starts over again!

david





-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Acrobat 7.0

2005-12-03 Thread Jason Taylor

Jeff Molofee wrote:

Hello,

I know there are many sites that discuss this issue, but they all seem 
to be outdated, incorrect, or simply do not work. I am running galeon 
with linux-pluginwrappers. I can open Realaudio, Flash6 and Java, but 
when I attempt to load a PDF I see nothing. The screen is blank. I do 
not see any error messages on the console, etc.






Would really appreciate some advice.



Try renaming /usr/local/bin/acroread7 to /usr/local/bin/acroread.  I was 
seeing the same blank screen in firefox 1.5 and this fixed it for me.  YMMV.


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


Having much trouble with wep on wireless

2005-12-03 Thread David LeCount
I give in. I've been working for hours on this without
resolution. I just bought a wireless router and I'm
trying to get wep working. I'm pretty sure it's
working on the router side. I'm having trouble setting
the key in FreeBSD. The man page says to use wepkey to
set it, but that's been giving errors. When I just do
"ifconfig ath0", I notice there's a deftxkey, so I've
been using that to try to set the key. The problem is
that when I use it, it still says it's undefined
despite no errors. Here's an example:

kenshi# ifconfig ath0 wepmode on deftxkey 0x0123456789
kenshi# ifconfig ath0
ath0:
flags=8843 mtu
1500
inet6 fe80::213:46ff:fe6e:def9%ath0 prefixlen
64 scopeid 0x1 
ether 00:13:46:6e:de:f9
media: IEEE 802.11 Wireless Ethernet
autoselect (OFDM/36Mbps)
status: associated
ssid bahamut channel 6 bssid 00:14:bf:b4:c3:e8
authmode OPEN privacy ON deftxkey UNDEF
txpowmax 36 protmode CTS
bintval 100

Since it says privacy is on, I believe that means
wepmode was set, but I can't set the key for anything.
By the way, if I run ifconfig with all the parameters,
including the IP address, it says:

ifconfig: ioctl (SIOCAIFADDR): File exists

This has me completely baffled. I thought I got it
working once, but when I set it in rc.conf and
restarted, it no longer worked and I haven't managed
to get it working again. I appreciate any help.

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


/etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Jose Borquez
I just recently did a make buildworld, make buildkernel, make install 
kernel, make installworld, and mergemaster in that order.  When I login 
as root I get the following email message:


Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

/etc/rc.conf: 18: Syntax error: Unterminated quoted string

I checked my etc/rc.conf file and it is all correct.  Here it is:
ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
moused_enable="YES"
moused_type="auto"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
enable_quotas="YES"
check_quotas="NO"
clear_tmp_enable="YES"  # YES has to be in capital letters
ipfilter_enable="YES"   # Start ipf firewall
ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
ipmon_enable="YES"  # Start IP monitor log
ipmon_flags="-Ds"   # D = start as daemon

Everything seems to be working properly.  I did a ps and top and they 
worked.  Can anybody please enlighten me as to what this message means?

Thank you 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: Having much trouble with wep on wireless

2005-12-03 Thread Chris
David LeCount wrote:
> I give in. I've been working for hours on this without
> resolution. I just bought a wireless router and I'm
> trying to get wep working. I'm pretty sure it's
> working on the router side. I'm having trouble setting
> the key in FreeBSD. The man page says to use wepkey to
> set it, but that's been giving errors. When I just do
> "ifconfig ath0", I notice there's a deftxkey, so I've
> been using that to try to set the key. The problem is
> that when I use it, it still says it's undefined
> despite no errors. Here's an example:
> 
> kenshi# ifconfig ath0 wepmode on deftxkey 0x0123456789
> kenshi# ifconfig ath0
> ath0:
> flags=8843 mtu
> 1500
> inet6 fe80::213:46ff:fe6e:def9%ath0 prefixlen
> 64 scopeid 0x1 
> ether 00:13:46:6e:de:f9
> media: IEEE 802.11 Wireless Ethernet
> autoselect (OFDM/36Mbps)
> status: associated
> ssid bahamut channel 6 bssid 00:14:bf:b4:c3:e8
> authmode OPEN privacy ON deftxkey UNDEF
> txpowmax 36 protmode CTS
> bintval 100
> 
> Since it says privacy is on, I believe that means
> wepmode was set, but I can't set the key for anything.
> By the way, if I run ifconfig with all the parameters,
> including the IP address, it says:
> 
> ifconfig: ioctl (SIOCAIFADDR): File exists
> 
> This has me completely baffled. I thought I got it
> working once, but when I set it in rc.conf and
> restarted, it no longer worked and I haven't managed
> to get it working again. I appreciate any help.

Here's some help via my setup - assuming you use 6.0:

/etc/rc.conf:
ifconfig_wi0="inet xxx.xxx.xxx.xxx netmask 255.255.255.xxx ssid yourssid
wepmode on weptxkey 1 wepkey 0x.."


/boot/loader.conf:
if_wi0_load="YES"
wlan_load="YES"
wlan_wep_load="YES"


Couple of notes - sub wi0 for your nic, and I use static. Adjust for
DHCP if needed.




-- 
Best regards,
Chris

Any surviving best shots are ruined when someone
inadvertently open the darkroom door and all of the
dark leaks out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Removing packages

2005-12-03 Thread Trey Sizemore
On Fri Dec 02, 2005 09:09PM, Kirk Strauser wrote:
> On Friday 02 December 2005 05:16 pm, Trey Sizemore wrote:
> 
> > salamander# pkg_info |grep -i "openoffice"
> > openoffice.org-2.0.0_1
> 
> > salamander# cd /usr/ports/editors/openoffice.org-1.1
> 
> Should be:
> 
> salamander# cd /usr/ports/editors/openoffice.org-2.0
> 
> since pkg_info says you have OOo 2.0 installed, not 1.1.

I have *both* installed, but it's the 1.1.3 version I need to purge.
It was a while back, but I think this version may have been installed
from a .tgz package, hence the inability to easily remove.

-- 
Cheers,
Trey

 
A child can go only so far in life without potty training.  It is not
mere coincidence that six of the last seven presidents were potty
trained, not to mention nearly half of the nation's state legislators.
-- Dave Barry
 
Linux chameleon 2.6.13-15-default i686 GNU/Linux
 10:09pm  up  12:46,  4 users,  load average: 0.36, 0.12, 0.04


pgpJw06JK6ygJ.pgp
Description: PGP signature


Re: Setting up a print-server

2005-12-03 Thread Charles Howse
> On Sat, 03 Dec 2005 13:15:59 -0600
> Charles Howse <[EMAIL PROTECTED]> wrote:
> 
>> Hi,
>> I have the task of setting up a FreeBSD box as a print-server for the lan
>> here at home.
>> I've used FreeBSD for quite a while, but am currently just a little rusty.
>> I was hoping the list members could help me with planning a strategy, and
>> possibly point me to some resources for help.  I have my copies of The
>> Handbook and FreeBSD Unleashed at my side.  :-)
>> 
>> The printers are:
>> HP1100 LaserJet (non-postscript, parallel only)
>> Epson Stylus C86 (postscript, USB only)
>> 
>> Here is my current list of requirements:
>> My daughter's WinXP Pro SP2 box must be able to print to either printer.
>> 
>> My Mac OS X Tiger 10.4.3 box must be able to print to either printer.
>> 
>> (I may not know what I'm talking about here, but) I would prefer IP printing
>> as the only means of serving the printers, rather than Samba for serving to
>> Windows, AND CUPS or something else for serving to OS X.
>> 
>> The FreeBSD machine is quite capable hardware-wise of doing all this.
>> I have a copy of 4.11-RELEASE, but will be glad to install whatever version
>> makes it easiest to do what I need.
>> 
>> Any help = appreciation!
>> 
>> -- 
>> Thanks,
>> Charles 
>> google.com/bds 
> 
> http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html

I now have the both printers set up and can print to them from FreeBSD.
Problem is, I can't print to them from the Mac.

The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
I take that to mean the server isn't responding.

Is there a command I can run from the Mac that will tell me if the FreeBSD
box is accepting connections to the printers?

Might there be something I haven't enabled on FreeBSD to allow me to print
across the network?

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


Re: Setting up a print-server

2005-12-03 Thread Kent Stewart
On Saturday 03 December 2005 07:27 pm, Charles Howse wrote:
> > On Sat, 03 Dec 2005 13:15:59 -0600
> >
> > Charles Howse <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> I have the task of setting up a FreeBSD box as a print-server for
> >> the lan here at home.
> >> I've used FreeBSD for quite a while, but am currently just a
> >> little rusty. I was hoping the list members could help me with
> >> planning a strategy, and possibly point me to some resources for
> >> help.  I have my copies of The Handbook and FreeBSD Unleashed at
> >> my side.  :-)
> >>
> >> The printers are:
> >> HP1100 LaserJet (non-postscript, parallel only)
> >> Epson Stylus C86 (postscript, USB only)
> >>
> >> Here is my current list of requirements:
> >> My daughter's WinXP Pro SP2 box must be able to print to either
> >> printer.
> >>
> >> My Mac OS X Tiger 10.4.3 box must be able to print to either
> >> printer.
> >>
> >> (I may not know what I'm talking about here, but) I would prefer
> >> IP printing as the only means of serving the printers, rather than
> >> Samba for serving to Windows, AND CUPS or something else for
> >> serving to OS X.
> >>
> >> The FreeBSD machine is quite capable hardware-wise of doing all
> >> this. I have a copy of 4.11-RELEASE, but will be glad to install
> >> whatever version makes it easiest to do what I need.
> >>
> >> Any help = appreciation!
> >>
> >> --
> >> Thanks,
> >> Charles 
> >> google.com/bds
> >
> > http://www.onlamp.com/pub/a/bsd/2004/02/05/Big_Scary_Daemons.html
>
> I now have the both printers set up and can print to them from
> FreeBSD. Problem is, I can't print to them from the Mac.
>
> The error is always, "Printer HP1100 is busy, trying again in 30
> seconds." I take that to mean the server isn't responding.
>
> Is there a command I can run from the Mac that will tell me if the
> FreeBSD box is accepting connections to the printers?
>
> Might there be something I haven't enabled on FreeBSD to allow me to
> print across the network?
>

It would be in inetd and printcap. One of the problems with the mac is 
that you are going to have to add a . A  will leave you with a 
black line.

I looked in inetd and didn't see anything, so, it has to be in printcap. 
I print to the psrvr as lp using the following

lp|HPLJ2:\
:lp=:\
:rm=psrvr:\
:rp=L1:\
:if=/var/spool/lpd/lj.sh:\
:lf=/var/log/lpd-errs:\
:sd=/var/spool/lpd:\
:mx#0

You would have to have a similar name for the daemon on fbsd.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problem with amavisd-new after upgrade to 2.3.3

2005-12-03 Thread Robert Fitzpatrick
Upgrade a lot of packages today all from recent versions including to 
Perl-5.8.7, SpamAssassin 3.1, amavisd-new 2.3.3 and postfix 2.2.6. 
Having problem starting amavisd-new with this error:


esmtp# /etc/rc.d/amavisd start
ps: kvm_getprocs: No such process
Starting amavisd.
Insecure dependency in `` while running with -T switch at 
/usr/local/lib/perl5/site_perl/5.8.7/Net/Server/Daemonize.pm line 67.


If I remove the '-T' from /usr/local/sbin/amavisd, then all starts but 
then services start failing with errors showing up as below until I kill 
Postfix and restart:


Dec  3 22:49:04 esmtp postfix/postsuper[39195]: fatal: scan_dir_push: 
open directory defer: Too many open files in system


Looks like amavisd.conf file has changed a lot from my previous one 
running under 2.2.x and the newly installed default file. The clamav is 
not even listed in the file, so I assume there is some config that needs 
done. I looked in /usr/ports/UPDATING and did not find any notes, can 
someone let me know what needs to be done or why this problem may be 
happening.


--
Robert

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


Re: Setting up a print-server

2005-12-03 Thread Warren Block

On Sat, 3 Dec 2005, Charles Howse wrote:


I now have the both printers set up and can print to them from FreeBSD.
Problem is, I can't print to them from the Mac.

The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
I take that to mean the server isn't responding.

Is there a command I can run from the Mac that will tell me if the FreeBSD
box is accepting connections to the printers?

Might there be something I haven't enabled on FreeBSD to allow me to print
across the network?


Do you have the Mac's hostname or IP address in /etc/hosts.lpd?

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


dealing with duplicate packages

2005-12-03 Thread Michael P. Soulier
People,

I was just looking at my package database, and it seems that I have
some dups installed thanks to some ports I've installed.

[EMAIL PROTECTED] ~]$ alias pkg_dups
alias pkg_dups='pkg_info | sort | sed -e '\''s/-[0-9].*$//'\'' | uniq
-c | grep -v '\''^[[:space:]]*1'\'''
[EMAIL PROTECTED] ~]$ pkg_dups
   3 autoconf
   3 automake
   2 libtool
   2 p5-Compress-Zlib
   2 p5-ExtUtils-CBuilder
   2 p5-IO-String

I'd prefer to have one version of each of these installed. What's the
normal way to resolve this, and the subsequent dependency problems?

Thanks,
Mike
--
Michael P. Soulier <[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: dealing with duplicate packages

2005-12-03 Thread Kris Kennaway
On Sat, Dec 03, 2005 at 11:07:38PM -0500, Michael P. Soulier wrote:
> People,
> 
> I was just looking at my package database, and it seems that I have
> some dups installed thanks to some ports I've installed.
> 
> [EMAIL PROTECTED] ~]$ alias pkg_dups
> alias pkg_dups='pkg_info | sort | sed -e '\''s/-[0-9].*$//'\'' | uniq
> -c | grep -v '\''^[[:space:]]*1'\'''
> [EMAIL PROTECTED] ~]$ pkg_dups
>3 autoconf
>3 automake
>2 libtool

Probably not duplicates, but different ports.

>2 p5-Compress-Zlib
>2 p5-ExtUtils-CBuilder
>2 p5-IO-String

These probably are.

> I'd prefer to have one version of each of these installed. What's the
> normal way to resolve this, and the subsequent dependency problems?

Use a tool like portupgrade to upgrade your ports.

Kris


pgp0nqETKuTd3.pgp
Description: PGP signature


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Kris Kennaway
On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
> I just recently did a make buildworld, make buildkernel, make install 
> kernel, make installworld, and mergemaster in that order.  When I login 
> as root I get the following email message:
> 
> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> 
> /etc/rc.conf: 18: Syntax error: Unterminated quoted string

Are you sure this is your exact rc.conf, since it is not 18 lines
long?

1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
2 > moused_enable="YES"
3 > moused_type="auto"
4 > sshd_enable="YES"
5 > usbd_enable="YES"
6 > ntpd_enable="YES"
7 > enable_quotas="YES"
8 > check_quotas="NO"
9 > clear_tmp_enable="YES"  # YES has to be in capital letters
10 > ipfilter_enable="YES"   # Start ipf firewall
11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
12 > ipmon_enable="YES"  # Start IP monitor log
13 > ipmon_flags="-Ds"   # D = start as daemon

Kris


pgpnvhGm4q2e0.pgp
Description: PGP signature


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Jose Borquez

Kris Kennaway wrote:


On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
 

I just recently did a make buildworld, make buildkernel, make install 
kernel, make installworld, and mergemaster in that order.  When I login 
as root I get the following email message:


Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

/etc/rc.conf: 18: Syntax error: Unterminated quoted string
   



Are you sure this is your exact rc.conf, since it is not 18 lines
long?

1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
2 > moused_enable="YES"
3 > moused_type="auto"
4 > sshd_enable="YES"
5 > usbd_enable="YES"
6 > ntpd_enable="YES"
7 > enable_quotas="YES"
8 > check_quotas="NO"
9 > clear_tmp_enable="YES"  # YES has to be in capital letters
10 > ipfilter_enable="YES"   # Start ipf firewall
11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
12 > ipmon_enable="YES"  # Start IP monitor log
13 > ipmon_flags="-Ds"   # D = start as daemon

Kris
 


Here are the entire contents of my rc.conf file:

# /sys/i386/conf >vi /etc/rc.conf

# -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
# Created: Thu Dec  1 13:50:25 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="172.16.0.1"
hostname="daemon"
ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
moused_enable="YES"
moused_type="auto"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
enable_quotas="YES"
check_quotas="NO"
clear_tmp_enable="YES"  # YES has to be in capital letters
ipfilter_enable="YES"   # Start ipf firewall
ipfilter_rules="/etc/ipf.rules"   # loads rules definition text file
ipmon_enable="YES"   # Start IP monitor log
ipmon_flags="-Ds"   # D = start as daemon



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


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Jose Borquez wrote:
> Kris Kennaway wrote:
> 
>> On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
>>  
>>
>>> I just recently did a make buildworld, make buildkernel, make install
>>> kernel, make installworld, and mergemaster in that order.  When I
>>> login as root I get the following email message:
>>>
>>> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>>
>>> /etc/rc.conf: 18: Syntax error: Unterminated quoted string
>>>   
>>
>>
>> Are you sure this is your exact rc.conf, since it is not 18 lines
>> long?
>>
>> 1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
>> 2 > moused_enable="YES"
>> 3 > moused_type="auto"
>> 4 > sshd_enable="YES"
>> 5 > usbd_enable="YES"
>> 6 > ntpd_enable="YES"
>> 7 > enable_quotas="YES"
>> 8 > check_quotas="NO"
>> 9 > clear_tmp_enable="YES"  # YES has to be in capital
>> letters
>> 10 > ipfilter_enable="YES"   # Start ipf firewall
>> 11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition
>> text file
>> 12 > ipmon_enable="YES"  # Start IP monitor log
>> 13 > ipmon_flags="-Ds"   # D = start as daemon
>>
>> Kris
>>  
>>
> Here are the entire contents of my rc.conf file:
> 
> # /sys/i386/conf >vi /etc/rc.conf
> 
> # -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
> # Created: Thu Dec  1 13:50:25 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="172.16.0.1"
> hostname="daemon"
> ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
> moused_enable="YES"
> moused_type="auto"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> enable_quotas="YES"
> check_quotas="NO"
> clear_tmp_enable="YES"  # YES has to be in capital letters
> ipfilter_enable="YES"   # Start ipf firewall
> ipfilter_rules="/etc/ipf.rules"   # loads rules definition text
> file
> ipmon_enable="YES"   # Start IP monitor log
> ipmon_flags="-Ds"   # D = start as daemon

The error is:
defaultrouter="172.16.0.1"

Remove the ""



-- 
Best regards,
Chris

A coup that is known in advance is a coup that does not
take place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Jose Borquez wrote:
> Kris Kennaway wrote:
> 
>> On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
>>  
>>
>>> I just recently did a make buildworld, make buildkernel, make install
>>> kernel, make installworld, and mergemaster in that order.  When I
>>> login as root I get the following email message:
>>>
>>> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>>
>>> /etc/rc.conf: 18: Syntax error: Unterminated quoted string
>>>   
>>
>>
>> Are you sure this is your exact rc.conf, since it is not 18 lines
>> long?
>>
>> 1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
>> 2 > moused_enable="YES"
>> 3 > moused_type="auto"
>> 4 > sshd_enable="YES"
>> 5 > usbd_enable="YES"
>> 6 > ntpd_enable="YES"
>> 7 > enable_quotas="YES"
>> 8 > check_quotas="NO"
>> 9 > clear_tmp_enable="YES"  # YES has to be in capital
>> letters
>> 10 > ipfilter_enable="YES"   # Start ipf firewall
>> 11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition
>> text file
>> 12 > ipmon_enable="YES"  # Start IP monitor log
>> 13 > ipmon_flags="-Ds"   # D = start as daemon
>>
>> Kris
>>  
>>
> Here are the entire contents of my rc.conf file:
> 
> # /sys/i386/conf >vi /etc/rc.conf
> 
> # -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
> # Created: Thu Dec  1 13:50:25 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="172.16.0.1"
> hostname="daemon"
> ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
> moused_enable="YES"
> moused_type="auto"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> enable_quotas="YES"
> check_quotas="NO"
> clear_tmp_enable="YES"  # YES has to be in capital letters
> ipfilter_enable="YES"   # Start ipf firewall
> ipfilter_rules="/etc/ipf.rules"   # loads rules definition text
> file
> ipmon_enable="YES"   # Start IP monitor log
> ipmon_flags="-Ds"   # D = start as daemon


Additional error:
hostname="daemon"

Again, remove the ""



-- 
Best regards,
Chris

Our customers' paperwork is profit.
Our own paperwork is loss.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Make depend Error

2005-12-03 Thread Hongxing Song

#make depend


cd ../../../modules; 
MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/Dec2005/modules
KMODDIR=/boot/kernel DEBUG_FLAGS="-g" MACHINE=i386 
KERNBUILDDIR="/usr/src/sys/i3

86/compile/Dec2005" make  depend
===> 3dfx (depend)
===> aac (depend)
===> aac/aac_linux (depend)
===> accf_data (depend)
===> accf_http (depend)
===> acpi (depend)
===> acpi/acpi (depend)
cc -c -O2 -fno-strict-aliasing -pipe -mfpmath=sse -mmmx -msse -m3dnow 
-maccumula
te-outgoing-args -minline-all-stringops -march=athlon-xp -Werror 
-D_KERNEL -DKLD
_MODULE -nostdinc -I- 
-I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpi   
ca -DHAVE_KERNEL_OPTION_HEADERS -include 
/usr/src/sys/i386/compile/Dec2005/opt_g   
lobal.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -g 
-I/usr/sr   
c/sys/i386/compile/Dec2005 -mno-align-long-strings 
-mpreferred-stack-boundary=2
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall 
-Wredundant-decls -W   
nested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Winline-Wcast-qual 
-fformat-extensions -std=c99 -Wsystem-headers -Werror -Wall 
-Wno-fo   rmat-y2k 
-Wno-uninitialized  @/i386/i386/genassym.c
@/i386/i386/genassym.c:1: warning: SSE instruction set disabled, using 
387 arith   metics

*** Error code 1

Stop in /usr/src/sys/modules/acpi/acpi.
*** Error code 1

Stop in /usr/src/sys/modules/acpi.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/src/sys/i386/compile/Dec2005.

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


Re: Make depend Error

2005-12-03 Thread Kris Kennaway
On Sun, Dec 04, 2005 at 01:05:23PM +0800, Hongxing Song wrote:

> cc -c -O2 -fno-strict-aliasing -pipe -mfpmath=sse -mmmx -msse -m3dnow 
> -maccumula
> te-outgoing-args -minline-all-stringops -march=athlon-xp -Werror 

You set your COPTFLAGS to a random string..don't do this unless you
understand the nature of the changes.  In particular, you can't use
those instruction sets in the kernel.

> @/i386/i386/genassym.c:1: warning: SSE instruction set disabled, using 
> 387 arith   metics

Kris


pgpwWgFS42qor.pgp
Description: PGP signature


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Rob
Chris wrote:
>>
>> Jose Borquez wrote:
>> defaultrouter="172.16.0.1"
>> hostname="daemon"
>
>The error is:
>defaultrouter="172.16.0.1"
>
>Additional error:
>hostname="daemon"
>
>Again, remove the ""

Uh? I use quotes for these lines in rc.conf of
5-Stable and
6-Stable. Why do you think the quotes are an error
here?

Rob.


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


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Rob wrote:
> Chris wrote:
> 
>>>Jose Borquez wrote:
>>>defaultrouter="172.16.0.1"
>>>hostname="daemon"
>>
>>The error is:
>>defaultrouter="172.16.0.1"
>>
>>Additional error:
>>hostname="daemon"
>>
>>Again, remove the ""
> 
> 
> Uh? I use quotes for these lines in rc.conf of
> 5-Stable and
> 6-Stable. Why do you think the quotes are an error
> here?
> 
> Rob.

I also use 6.0 STABLE.
My rc.conf does not have the "" in those 2 lines.

# -- sysinstall generated deltas -- # Tue Sep 14 21:00:26 2004
# Created: Tue Sep 14 21:00:26 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=216.201.118.137
hostname=racerx.makeworld.com
ifconfig_fxp0="inet 216.201.118.138 netmask 255.255.255.248"


-- 
Best regards,
Chris

The tendency of smoke from a cigarette, barbeque,
campfire, etc. to drift into a person's face varies
directly with that person's sensitivity to smoke.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: overloaded webserver: nfs wait issue?

2005-12-03 Thread Norberto Meijome

N.J. Thomas wrote:

* Norberto Meijome <[EMAIL PROTECTED]> [2005-12-02 11:06:49 +1100]:


What's your MaxClients set to?



It was set to 256, we actually lowered it to 180.


I would have thought you'd want to increase it (after configuring 
everything else)...else you'll get all those nasty "server too busy" errors.



Running wc -l on the daily Apache access logs, I get: ~1.8million hits
per day 


cool. you should most definitely be able to serve that much (with an 
http service that is properly configured). Apache should do fine.


I dont think i can give much advice on the NFS side of things but in the 
meantime I would :
- increase # of MaxClients (the default is RIDICULOUSLY small, 
specially in 1.3. You will probably have to recompile with a new max.



Higher than 256?


yes. IIRC, I've had apache 1.3 configured to over maxclients 1500 with 
about hardware. Your hardware + OS will set some limits (which you 
should modify as needed of course), but you should definitely be able to 
have more than 256.


- You RAM seems OK ... you may want to tweak some sysctl or memory 
settings in Apache (I seem to remember in 1.3 some to do with MMap,  but 
i could be wrong) ... or just add more RAM. Check vmstat (or systat -vm 
1) to see how much swapping is going on.



Will do...thanks for the suggestions.



np

btw, i think i forgot to mention you should look into changing to 
KeepAlive OFF (you want to serve a file and free up the apache resources 
for the next request - you trade off a bit of speed on each client's 
transaction, but overall you should see a great improvement. If you dont 
want to kill http keepalive altogether, set the timeout to a short 
timeframe (1 minute? 30 secs).


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


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Bill Campbell
On Sat, Dec 03, 2005, Chris wrote:
>Rob wrote:
>> Chris wrote:
>> 
Jose Borquez wrote:
defaultrouter="172.16.0.1"
hostname="daemon"
>>>
>>>The error is:
>>>defaultrouter="172.16.0.1"
>>>
>>>Additional error:
>>>hostname="daemon"
>>>
>>>Again, remove the ""
>> 
>> 
>> Uh? I use quotes for these lines in rc.conf of
>> 5-Stable and
>> 6-Stable. Why do you think the quotes are an error
>> here?
>> 
>> Rob.
>
>I also use 6.0 STABLE.
>My rc.conf does not have the "" in those 2 lines.

Double quotes (or single quotes) should be acceptable.

Using the ``vim'' editor, type ``:syntax on'' which
should turn on highlighting making it fairly easy to figure out
where the unmatched quote is.

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

``Rightful liberty is unobstructed action according to our will within
limits drawn around us by the equal rights of others. I do not add 'within
the limits of the law' because law is often but the tyrant's will, and
always so when it violates the rights of the individual.''
-Thomas Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting up a print-server

2005-12-03 Thread Charles Howse
> On Sat, 3 Dec 2005, Charles Howse wrote:
> 
>> I now have the both printers set up and can print to them from FreeBSD.
>> Problem is, I can't print to them from the Mac.
>> 
>> The error is always, "Printer HP1100 is busy, trying again in 30 seconds."
>> I take that to mean the server isn't responding.
>> 
>> Is there a command I can run from the Mac that will tell me if the FreeBSD
>> box is accepting connections to the printers?
>> 
>> Might there be something I haven't enabled on FreeBSD to allow me to print
>> across the network?
> 
> Do you have the Mac's hostname or IP address in /etc/hosts.lpd?

Warren,
I do now, no joy.

Kent,
The Mac is using CUPS to print.
Below is an excerpt from /private/var/log/cups/error_log.
I had to set the log level to 'debug' to get this.

...
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 96%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 97%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 98%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 99%
D [03/Dec/2005:22:30:25 -0600] [Job 17] cgpdftoraster: bytes written for
sheet 1 = 768
D [03/Dec/2005:22:30:25 -0600] PID 215 exited with no errors.
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Printing page 1, 100%
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Finished page 1...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print ending job
D [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print printed total 30669 bytes
I [03/Dec/2005:22:30:25 -0600] [Job 17] Gimp-Print Ready to print.
D [03/Dec/2005:22:30:25 -0600] PID 216 exited with no errors.
I [03/Dec/2005:22:30:25 -0600] [Job 17] Attempting to connect to host moe
for printer HP1100
I [03/Dec/2005:22:30:25 -0600] [Job 17] Connected to moe...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Connected on ports 515 (local
1013)...
D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command 02 HP1100
D [03/Dec/2005:22:30:25 -0600] [Job 17] Sending command string (8 bytes)...
D [03/Dec/2005:22:30:25 -0600] [Job 17] Reading command status...
E [03/Dec/2005:22:30:25 -0600] PID 217 stopped with status 1!
D [03/Dec/2005:22:30:25 -0600] [Job 17] lpd_command returning 108
D [03/Dec/2005:22:30:25 -0600] UpdateJob: job 17, file 0 is complete.
D [03/Dec/2005:22:30:25 -0600] StopJob: id = 17, force = 0
I [03/Dec/2005:22:30:25 -0600] Saving printers.conf...


Notice the "E" line: PID 217 stopped with status 1!
And the next line: [Job 17] lpd_command returning 108

Don't get too excited, though.  I still don't know what to tell the printer
setup utility in OS X.  I've tried IP Printing, and LPD printing, with no
joy.

I've told lpd on the FreeBSD box to use "-W" (accept connections on any
port), cause the Mac is trying to connect on port 631.

I'M SO CONFUSED!!
SOMEBODY GIVE ME A D-LINK DP-300U FOR CHRISTMAS!!
http://www.dlink.com/products/?sec=0&pid=166

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