RE: Need help formatting HDD

2003-02-16 Thread Aaron Burke
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of . Saevio .
> Sent: Sunday, February 16, 2003 11:21 PM
> To: [EMAIL PROTECTED]
> Subject: Need help formatting HDD
> 
> 
> 
> Hi All,
Hi ". Saevio ."

> 
> Sorry to write a F-BSD list with this, but i figured you would know.
> I have a IBM Deskstar 30gb, with FreeBSD 4.x on it, and i need to 
> remove it 
> so i can install the HDD in a friends system. However after trying with 
> format.com and fdisk.exe it wont even recognize the partition.
Fdisk is not going to be able to identify the FreeBSD partition.
It will only show up as unknown. But you should still be able to
delete an unknown partition.

> 
> How do i remove it? anything would be appreciated.
(non bsd discussion follows)

I am assuming that you want to make a FAT filesystem on the drive
for use in windows. This should be pretty simple.
Create a new Master partition on the drive.
reboot
type "dir c:\" (or whatever drive you expect it to be)
You should get a message about the os not being able to read
the partion. If you dont, and it lists files, then repost to
this list and re-describe what is exactly going on. If you get
the message then use "format c: /s". (the /s tells the format
utility to copy over the system files and make the drive
bootable).
Then remove the hard drive and give it to your friend.

> 
> Thanks,
> 
> ..brian..
> 
(snip)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: tripwire (re-re-post)

2003-02-16 Thread 357 Magnum
-Original Message-
From: benjamin everist [mailto:[EMAIL PROTECTED]]
Sent: Friday, 14 February 2003 5:54 AM
To: [EMAIL PROTECTED]
Subject: Fwd: tripwire (re-re-post)


Hello again.  I have tried the same (as below) on a new machine only 
minutes old - after rebooting from installing the OS I went straight to 
/usr/ports/security/tripwire and did

#make

c++ -I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized 
-ftem
plate-depth-32 -O2 num_put_float.cpp -c -o obj/GCC/Release/num_put_float.o
num_put_float.cpp:50: values.h: No such file or directory

according to http://www.tux.org/pub/bsd/freebsd/FreeBSD-current/src/gnu/inc
lude/values.h: (last modified in 1995!)

#warning "this file includes  which is obsoleted, use  
or  instead"

SO, I created a symlink in /usr/include:
#ln -s float.h values.h

which got rid of that error, make completed successfully.  But when I did
#make install
Verifying existence of binaries...

./bin/i386-unknown-freebsd_r/siggen missing.  Build did not complete 
successfully.

Same error! (as below).  doing a find:
#find / -name "siggen"
/usr/ports/security/tripwire/work/tripwire-2.3.1-2/src/siggen/
and there are a couple of siggen files there.

if I do a grep -r siggen * in /usr/ports/security/tripwire I get all kinds 
of confusing crap.

does anyone have any suggestions before I go and put a symlink to siggen in 
every directory I can think of?

benjamin


>awhile back, I wrote:
___
>Subject: tripwire (re-post)
>
>Did the list get this?  I've been having problems posting (so I'll try 
the >same thing *extra* hard)
>---
>
>Hello -
>
>I am trying to install tripwire-2.3.1-2 on freebsd 4.7 release.  using:
>#make all install clean
>or
>#make
>#make install
>from /usr/ports/security/tripwire yields the following:
>
>Verifying existence of binaries...
>
>./bin/i386-unknown-freebsd_r/siggen missing.  Build did not complete 
>successfully.
>*** Error code 1
>
>Stop in /usr/ports/security/tripwire.
>
>If i untar the source and compile in /usr/local, making sure to edit the 
>master Makefile (/tripwire/src/Makefile) for freebsd, i get:
>#gmake release
>
>c++ -I../stlport -Wall -W -Wno-sign-compare -Wno-unused 
-Wno-uninitialized >-ftem
>plate-depth-32 -O2 num_put_float.cpp -c -o 
obj/GCC/Release/num_put_float.o
>num_put_float.cpp:50: values.h: No such file or directory
>gmake[4]: *** [obj/GCC/Release/num_put_float.o] Error 1
>gmake[4]: Leaving directory 
`/usr/local/tripwire-2.3.1-2/src/STLport-4.0/src'
>gmake[3]: *** [lib/libstlport_gcc.a] Error 2
>gmake[3]: Leaving directory `/usr/local/tripwire-2.3.1-2/src/STLport-4.0'
>gmake[2]: *** [../../lib/i386-unknown-freebsd_r/libstlport_gcc.a] Error 2
>gmake[2]: Leaving directory `/usr/local/tripwire-2.3.1-2/src/STLport-4.0'
>gmake[1]: *** [STLport_r] Error 2
>gmake[1]: Leaving directory `/usr/local/tripwire-2.3.1-2/src'
>date >> release.i386-unknown-freebsd.out
>
>Any help would be much appreciated.
>
>Benjamin Everist


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Had the same problem.  Did a cvsup and it resolved it.


_
MSN Instant Messenger now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/hotmail_messenger.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Need help formatting HDD

2003-02-16 Thread . Saevio .

Hi All,

Sorry to write a F-BSD list with this, but i figured you would know.
I have a IBM Deskstar 30gb, with FreeBSD 4.x on it, and i need to remove it 
so i can install the HDD in a friends system. However after trying with 
format.com and fdisk.exe it wont even recognize the partition.

How do i remove it? anything would be appreciated.

Thanks,

..brian..

=III_.~^*,=,*^~>13<-._':'_.-*MMII*-._':'_.->13<~^*,=,*^~._III=

" For whom ever fights monsters should see to it that in the
 process he does not become a monster. For when you stare
 into the abyss, the abyss also stares into you. "
-Friedrich Nietzsche

" ohweeoh ohweeoh ohweeoh ohweeoh ohweeoh ohweeeoo
 when i got the music, well i got a place to go
 ohweeoh ohweeoh ohweeoh ohweeoh ohweeoh ohweeeoo "
-Tim Armstrong

=III_.~^*,=,*^~>13<-._':'_.-*MMI*-._':'_.->13<~^*,=,*^~._III=





_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: quotas not staying updates

2003-02-16 Thread JacobRhoden
From fstab(5)

   If the options ``userquota'' and/or ``groupquota'' are specified, the
   filesystem is automatically processed by the quotacheck(8) command, and
   user and/or group disk quotas are enabled with quotaon(8).  By default,

Your /etc/fstab file probably needs to specify the appropriate quota options.

 - jacob

On Monday 17 February 2003 16:43, Alan Batie wrote:
> This broke a long time ago, and I wasn't really worried about disk space
> as I had bigger fish to fry, but it's really annoying and I'd like to
> figure out what's going on: Used to be that quotas would update in real
> time.  You could run quota -v, delete some files, run it again and see
> the change reflected.  That no longer seems to be the case.  I've taken
> to running quotacheck hourly.  Any ideas?  Thanks...

-- 
Jacob RhodenPhone: +61 3 8344 6102
ITS DivisionEmail: [EMAIL PROTECTED]
Melbourne University   Mobile: +61 403 788 386

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



quotas not staying updates

2003-02-16 Thread Alan Batie
This broke a long time ago, and I wasn't really worried about disk space
as I had bigger fish to fry, but it's really annoying and I'd like to
figure out what's going on: Used to be that quotas would update in real
time.  You could run quota -v, delete some files, run it again and see
the change reflected.  That no longer seems to be the case.  I've taken
to running quotacheck hourly.  Any ideas?  Thanks...

-- 
Alan Batie   __alan.batie.orgMe
alan at batie.org\/www.qrd.org The Triangle
PGPFP DE 3C 29 17 C0 49 7A\  / www.pgpi.com   The Weird Numbers
27 40 A5 3C 37 4A DA 52 B9 \/  spamassassin.taint.org  NO SPAM!



msg19614/pgp0.pgp
Description: PGP signature


Re: Music CDROM

2003-02-16 Thread Adam Maas
No need to mount them to paly music. Just need a cd player app. XMMS or gRip
work nicely in Gnome, workbone is probably best from teh console.

Adam
- Original Message -
From: "Mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 16, 2003 11:36 PM
Subject: Music CDROM


> Using 5.0 FreeBSD
>
> Odd thing maybe someone has seen it. I have 2 cdroms 1 burner on plain.
> They are mounted and can read data cd's like the FreeBSD cd but store
> bought music will not play.
>
> All I get is cd 9660: /dev/acd1: Invalid argument
>
> Is there additional file support needed to play music? Or?
>
> Thanks
>
> M;)
>
> Yes I used another message and did a reply to but I posted this message
> 3 days ago and it did not show up on the list. My BSD Current works fine
> but not this one..
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: 5.0 install on an IBM Thinkpad i series 1400

2003-02-16 Thread Anne Sipes
Hello,

I have successfully installed 5.0 on my IBM Thinkpad i series 1400.

Anne Sipes wrote:

Hello,

I recently tried to upgrade my IBM Thinkpad 1400i to RELENG_5_0 because 
I wanted the 32-bit cardbus support. I cvsup'd new source and followed 
these instructions from UPDATING:


  [7]
make buildworld [9]
make buildkernel KERNCONF=YOUR_KERNEL_HERE  [8]
cp src/sys/${MACHINE}/conf/GENERIC.hints /boot/device.hints [2]
make installkernel KERNCONF=YOUR_KERNEL_HERE
cd src/sys/boot ; make install  [6]
[1]
 [3]

Here is my mistake:  I typed shutdown now.  I should have actually 
rebooted as UPDATING says...

mergemaster -p  [5]
rm -rf /usr/include/g++
make installworld

Here I ran into trouble.  The installworld informed me that my kernel 
wasn't new enough.  I'm sorry I don't have the exact error.

I was unable to complete the installworld and unable to recover.

I had to remove my Linksys Combo PCMCIA model no. EC2T before I was able 
to successfully reboot into single user mode and complete the 
installworld.  I can cause a Fatal trap 12 at any time by plugging that 
card back in:

Stopped at pccard_scan_cis+0x1b5: movzbl  0(%eax,%edx,1),%eax

I decided to do a fresh install.

I made 5.0 boot floppies.

kern.flp loaded with no problems.  I inserted mfsroot.flp and it appears 
to load ok until:


unknown  can't assign resources (irq)
unknown  can't assign resources (port)
unknown  can't assign resources (port)
unknown  can't assign resources (port)
Timecouters tick every 10.000 msec

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xc703a000
fault code  = supervisor read, page not present
instruction pointer = 0x8:0xc01c669f
stack pointer   = 0x10:0xc6d3a9c0
frame pointer   = 0x10:0xc6d3ac04
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interupt enabled, resume, IOPL=0
current process = 6 (cbb0)
trap number = 12
panic: page fault

syncing disks, buffers remaining...
done
uptime: 1s
Automatic reboot in 15 seconds

I've installed a new 4.7 release using the 4.7 kern.flp and mfsroot.flp 
and booted from the generic kernel.  Here is my dmesg from boot -v:

Copyright (c) 1992-2002 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 4.7-RELEASE #0: Wed Oct  9 15:08:34 GMT 2002
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Calibrating clock(s) ... TSC clock: 365804707 Hz, i8254 clock: 1193176 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (365.81-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10

Features=0x183f9ff 

real memory  = 100597760 (98240K bytes)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00536000 - 0x05fe7fff, 95100928 bytes (23218 pages)
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 92639232 (90468K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00f0280
bios32: Entry = 0xf0210 (c00f0210)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x0
pnpbios: Found PnP BIOS data at 0xc00f62d0
pnpbios: Entry = fa000:0  Rev = 1.0
pnpbios: Event flag at 4b0
Other BIOS signatures found:
ACPI: 000fe030
Preloaded elf kernel "kernel" at 0xc050f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc050f0a8.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):mode 1 addr port (0x0cf8) is 0x
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=00] is there (id=162110b9)
pcibios: No call entry point
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
found-> vendor=0x10b9, dev=0x1621, revid=0x05
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
map[10]: type 1, range 32, base e000, size 26
found-> vendor=0x10b9, dev=0x5247, revid=0x01
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1secondarybus=1
found-> vendor=0x11c1, dev=0x0449, revid=0x01
class=07-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0secondarybus=0
intpin=a, irq=9
map[10]: type 1, range 32, base 8010, size  8
map[14]: type 1, range 32, base 7090, size  3
map[18]: type 1, range 32

Re: gedit2 will not build under gnome2 2.2.0 install

2003-02-16 Thread Joe Marcus Clarke
On Sun, 2003-02-16 at 23:55, Tom Parquette wrote:
> I'm trying to build Gnome2 2.2.0 from ports on a 5.0-RELEASE system.
> The build for Gnome2 died trying to build gedit2.  If I try to build 
> just gedit2, I get the same problem.  Below is the script capture of the 
> errors.  I updated ports-all right before I started the build.  Any ideas?
> TIA

portupgrade -R gnome2

or

portupgrade -r pkgconfig

You have to make sure you update all dependencies in order.

Joe

> 
> Script started on Sun Feb 16 23:44:36 2003
> Atlas# pwd
> 
> 
> /usr/ports/editors/gedit2
> 
> Atlas# make
> 
> 
> ===>  Building for gedit2-2.2.0.1
> 
> gmake  all-recursive
> 
> gmake[1]: Entering directory `/usr/ports/editors/gedit2/work/gedit-2.2.0.1'
> 
> Making all in src
> 
> gmake[2]: Entering directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src'
> 
> Making all in dialogs
> 
> gmake[3]: Entering directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/dialogs'
> 
> gmake[3]: Nothing to be done for `all'.
> 
> gmake[3]: Leaving directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/dialogs'
> 
> Making all in recent-files
> 
> gmake[3]: Entering directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/recent-files'
> 
> gmake[3]: Nothing to be done for `all'.
> 
> gmake[3]: Leaving directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/recent-files'
> 
> gmake[3]: Entering directory 
> `/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src'
> 
> /bin/sh ../libtool --mode=link cc  -O -pipe -mcpu=pentiumpro  -o gedit 
> -export-dynamic GNOME_Gedit-stubs.o GNOME_Gedit-common.o 
> GNOME_Gedit-skels.o gedit2.o gedit-mdi.o gedit-mdi-child.o 
> gedit-document.o gedit-view.o gedit-menus.o gedit-debug.o gedit-utils.o 
> gedit-commands.o gedit-file.o gedit-undo-manager.o gedit-print.o 
> gedit-session.o bonobo-mdi.o bonobo-mdi-child.o bonobo-mdi-session.o 
> gedit-file-selector-util.o gedit-plugins-engine.o gedit-plugin.o 
> gedit-prefs-manager.o gedit-recent.o gedit-application-server.o 
> gedit-document-server.o gedit-window-server.o gedit-encodings.o 
> gedit-output-window.o gedit-marshal.o dialogs/libdialogs.a
>recent-files/librecent.a-Wl,--export-dynamic -pthread 
> -L/usr/local/lib -L/usr/X11R6/lib -lgnomeprintui-2-2 -lgnomeprint-2-2 
> -leel-2 -lgnomeui-2 -lSM -lICE -lgailutil -lglade-2.0 -lbonoboui-2 
> -lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation 
> -lORBit-2 -lc_r -lintl -llinc -lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 
> -lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXinerama 
> -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft2 -lfreetype -lXext 
> -lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 
> -lgmodule-2.0 -lglib-2.0 -liconv   -lpopt -L/usr/local/lib
> 
> cc -O -pipe -mcpu=pentiumpro -o gedit GNOME_Gedit-stubs.o 
> GNOME_Gedit-common.o GNOME_Gedit-skels.o gedit2.o gedit-mdi.o 
> gedit-mdi-child.o gedit-document.o gedit-view.o gedit-menus.o 
> gedit-debug.o gedit-utils.o gedit-commands.o gedit-file.o 
> gedit-undo-manager.o gedit-print.o gedit-session.o bonobo-mdi.o 
> bonobo-mdi-child.o bonobo-mdi-session.o gedit-file-selector-util.o 
> gedit-plugins-engine.o gedit-plugin.o gedit-prefs-manager.o 
> gedit-recent.o gedit-application-server.o gedit-document-server.o 
> gedit-window-server.o gedit-encodings.o gedit-output-window.o 
> gedit-marshal.o dialogs/libdialogs.a recent-files/librecent.a 
> -Wl,--export-dynamic -pthread -L/usr/local/lib -L/usr/X11R6/lib 
> -lgnomeprintui-2-2 -lgnomeprint-2-2 -leel-2 -lgnomeui-2 -lSM -lICE 
> -lgailutil -lglade-2.0 -lbonoboui-2 -lgnome-2 -lbonobo-2 -lgconf-2 
> -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lc_r -lintl -llinc 
> -lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 
> -lxml2 -lz -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm 
> -lpangoxft-1.0 -lXft2 -lfreetype -lXext -lXrender -lfontconfig 
> -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 
> -liconv -lpopt -L/usr/local/lib -Wl,--export-dynamic
> 
> /usr/X11R6/lib/libeel-2.so: warning: mktemp() possibly used unsafely; 
> consider using mkstemp()
> 
> /usr/bin/ld: warning: libgnomecanvas-2.so.0, needed by 
> /usr/X11R6/lib/libgnomeui-2.so, may conflict with libgnomecanvas-2.so.200
> 
> /usr/bin/ld: warning: libpangoft2-1.0.so.0, needed by 
> /usr/X11R6/lib/libgailutil.so, may conflict with libpangoft2-1.0.so.200
> 
> /usr/bin/ld: warning: libgtk-x11-2.0.so.0, needed by 
> /usr/X11R6/lib/libgailutil.so, may conflict with libgtk-x11-2.0.so.200
> 
> /usr/bin/ld: warning: libgdk-x11-2.0.so.0, needed by 
> /usr/X11R6/lib/libgailutil.so, may conflict with libgdk-x11-2.0.so.200
> 
> /usr/bin/ld: warning: libatk-1.0.so.0, needed by 
> /usr/X11R6/lib/libgailutil.so, may conflict with libatk-1.0.so.200
> 
> /usr/bin/ld: warning: libgdk_pixbuf-2.0.so.0, needed by 
> /usr/X11R6/lib/libgailutil.so, may conflict with libgdk_pixbuf-2.0.so.200
> 
> /usr/b

gedit2 will not build under gnome2 2.2.0 install

2003-02-16 Thread Tom Parquette
I'm trying to build Gnome2 2.2.0 from ports on a 5.0-RELEASE system.
The build for Gnome2 died trying to build gedit2.  If I try to build 
just gedit2, I get the same problem.  Below is the script capture of the 
errors.  I updated ports-all right before I started the build.  Any ideas?
TIA

Script started on Sun Feb 16 23:44:36 2003
Atlas# pwd


/usr/ports/editors/gedit2

Atlas# make


===>  Building for gedit2-2.2.0.1

gmake  all-recursive

gmake[1]: Entering directory `/usr/ports/editors/gedit2/work/gedit-2.2.0.1'

Making all in src

gmake[2]: Entering directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src'

Making all in dialogs

gmake[3]: Entering directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/dialogs'

gmake[3]: Nothing to be done for `all'.

gmake[3]: Leaving directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/dialogs'

Making all in recent-files

gmake[3]: Entering directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/recent-files'

gmake[3]: Nothing to be done for `all'.

gmake[3]: Leaving directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src/recent-files'

gmake[3]: Entering directory 
`/usr/ports/editors/gedit2/work/gedit-2.2.0.1/src'

/bin/sh ../libtool --mode=link cc  -O -pipe -mcpu=pentiumpro  -o gedit 
-export-dynamic GNOME_Gedit-stubs.o GNOME_Gedit-common.o 
GNOME_Gedit-skels.o gedit2.o gedit-mdi.o gedit-mdi-child.o 
gedit-document.o gedit-view.o gedit-menus.o gedit-debug.o gedit-utils.o 
gedit-commands.o gedit-file.o gedit-undo-manager.o gedit-print.o 
gedit-session.o bonobo-mdi.o bonobo-mdi-child.o bonobo-mdi-session.o 
gedit-file-selector-util.o gedit-plugins-engine.o gedit-plugin.o 
gedit-prefs-manager.o gedit-recent.o gedit-application-server.o 
gedit-document-server.o gedit-window-server.o gedit-encodings.o 
gedit-output-window.o gedit-marshal.o dialogs/libdialogs.a			recent-files/librecent.a		-Wl,--export-dynamic -pthread 
-L/usr/local/lib -L/usr/X11R6/lib -lgnomeprintui-2-2 -lgnomeprint-2-2 
-leel-2 -lgnomeui-2 -lSM -lICE -lgailutil -lglade-2.0 -lbonoboui-2 
-lgnome-2 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation 
-lORBit-2 -lc_r -lintl -llinc -lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 
-lpangoft2-1.0 -lgtk-x11-2.0 -lxml2 -lz -lgdk-x11-2.0 -lXinerama 
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft2 -lfreetype -lXext 
-lXrender -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 
-lgmodule-2.0 -lglib-2.0 -liconv  			 -lpopt -L/usr/local/lib

cc -O -pipe -mcpu=pentiumpro -o gedit GNOME_Gedit-stubs.o 
GNOME_Gedit-common.o GNOME_Gedit-skels.o gedit2.o gedit-mdi.o 
gedit-mdi-child.o gedit-document.o gedit-view.o gedit-menus.o 
gedit-debug.o gedit-utils.o gedit-commands.o gedit-file.o 
gedit-undo-manager.o gedit-print.o gedit-session.o bonobo-mdi.o 
bonobo-mdi-child.o bonobo-mdi-session.o gedit-file-selector-util.o 
gedit-plugins-engine.o gedit-plugin.o gedit-prefs-manager.o 
gedit-recent.o gedit-application-server.o gedit-document-server.o 
gedit-window-server.o gedit-encodings.o gedit-output-window.o 
gedit-marshal.o dialogs/libdialogs.a recent-files/librecent.a 
-Wl,--export-dynamic -pthread -L/usr/local/lib -L/usr/X11R6/lib 
-lgnomeprintui-2-2 -lgnomeprint-2-2 -leel-2 -lgnomeui-2 -lSM -lICE 
-lgailutil -lglade-2.0 -lbonoboui-2 -lgnome-2 -lbonobo-2 -lgconf-2 
-lgnomevfs-2 -lbonobo-activation -lORBit-2 -lc_r -lintl -llinc 
-lgthread-2.0 -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 
-lxml2 -lz -lgdk-x11-2.0 -lXinerama -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangoxft-1.0 -lXft2 -lfreetype -lXext -lXrender -lfontconfig 
-lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 
-liconv -lpopt -L/usr/local/lib -Wl,--export-dynamic

/usr/X11R6/lib/libeel-2.so: warning: mktemp() possibly used unsafely; 
consider using mkstemp()

/usr/bin/ld: warning: libgnomecanvas-2.so.0, needed by 
/usr/X11R6/lib/libgnomeui-2.so, may conflict with libgnomecanvas-2.so.200

/usr/bin/ld: warning: libpangoft2-1.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libpangoft2-1.0.so.200

/usr/bin/ld: warning: libgtk-x11-2.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libgtk-x11-2.0.so.200

/usr/bin/ld: warning: libgdk-x11-2.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libgdk-x11-2.0.so.200

/usr/bin/ld: warning: libatk-1.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libatk-1.0.so.200

/usr/bin/ld: warning: libgdk_pixbuf-2.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libgdk_pixbuf-2.0.so.200

/usr/bin/ld: warning: libpangoxft-1.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libpangoxft-1.0.so.200

/usr/bin/ld: warning: libpangox-1.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libpangox-1.0.so.200

/usr/bin/ld: warning: libpango-1.0.so.0, needed by 
/usr/X11R6/lib/libgailutil.so, may conflict with libpango-1.0.so.200

/usr/bin/ld: warning: libgobject-2.0.so.0, needed by 
/usr/X11R6/lib/lib

Music CDROM

2003-02-16 Thread Mike
Using 5.0 FreeBSD

Odd thing maybe someone has seen it. I have 2 cdroms 1 burner on plain.
They are mounted and can read data cd's like the FreeBSD cd but store
bought music will not play.

All I get is cd 9660: /dev/acd1: Invalid argument

Is there additional file support needed to play music? Or?

Thanks

M;)

Yes I used another message and did a reply to but I posted this message
3 days ago and it did not show up on the list. My BSD Current works fine
but not this one..


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



rw on ntfs volume

2003-02-16 Thread admin
I thought that at least minimal 
write support was available for ntfs under FreeBSD?
I'm following -CURRENT... did I miss 
something from the mount_ntfs man page?  

when a simple mkdir foo complains that  .  doesn't exist seems unusual.
 
# su -
# mkdir -p /mnt/w2k_d
# chown root:wheel /mnt/w2k_d
# chmod 777 /mnt/w2k_d
# mount -t ntfs -o rw /dev/ad0s5 /mnt/w2k_d
# cd /mnt/w2k_d
# mount | grep w2k
/dev/ad0s5 on /mnt/w2k_d (ntfs, local)

# df -k w2k_d
Filesystem 1K-blocks UsedAvail Capacity  Mounted on
/dev/ad0s5  69754198 47186058 2256814068%/mnt/w2k_d
 
# touch foo  (a file which doesn't exist)
touch: foo: No such file or directory
 
# touch ra (a file which does exist)
touch: ra: Operation not supported 
 
# mkdir foo
mkdir: .: No such file or directory
 
suggestions??
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: allowing access to a single directory

2003-02-16 Thread Giorgos Keramidas
On 2003-02-16 16:54, Walter <[EMAIL PROTECTED]> wrote:
> >You could always move the FTP directory to a slice that has room.
>
> Yes, I actually thought of that, but then I'd leave my (in this
> case) /usr slice vulnerable to being filled-up with ... junk.
> Unless I put in quotas, I suppose.  Hmmm.  I'll think on that; but
> I also have an HD which I'm not really using.

One of the nice tricks that I've seen in use in anonymous FTP servers
to avoid this problem was to mount a file of limited size as the
server's /incoming directory.  Anonymous users can still write files
then, but they can only write a limited amount of data.  In -stable,
you'd use the vnconfig(8) utility.  In -current, mdconfig(8).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: catch output from sh -xv to a file

2003-02-16 Thread Mikko Työläjärvi
On Sun, 16 Feb 2003, Per olof Ljungmark wrote:

> Need advice on how to modify first line of shell script so that script
> can run normally (as called from another program, not from the command
> line) and write debugging output to a file like:

Short answer: you can't.  Not if you absolutely want to change
just the first line, and not really if you want the script to
run "normally", as you would have to divert stderr.

> #!/bin/sh
> echo DEFANGED.1007
> exit
> #!/bin/sh -xv 

Try:

  #!/bin/sh
  exec 2> /tmp/logfile; set -xv
  # rest of script here...

Should work, except for the script being unable to print stuff to
stderr.

There is also the possibility that I'm totally missing your point... :)

  $.02,
  /Mikko


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Kris Kennaway
On Fri, Jan 01, 1999 at 02:54:41AM +0100, Christian Johansson wrote:
> I'm completely new to freebsd and tried to get my Soundblaster Live to work
> I sure tried to take away stuff that I know I didn't have,, but when I make 
> the kernel I got the following error:

a) Your clock is wrong

b) You have omitted a required option in your kernel configuration.
This is a FAQ.

> deviceumass   # Disks/Mass storage - Requires scbus and da

Kris



msg19603/pgp0.pgp
Description: PGP signature


Re: Problem syncing palm m125 w/ jpilot and pilot-xfer

2003-02-16 Thread Lin Jianfong
Oh well, I guess I have to resort to some MS Windows machine and install the 
software from Palm itself, sigh lol. Thanks for the reply, I mainly want to 
know if my palm unit is screwed.

From: Antoine Jacoutot <[EMAIL PROTECTED]>
To: "Lin Jianfong" <[EMAIL PROTECTED]>,[EMAIL PROTECTED]
Subject: Re: Problem syncing palm m125 w/ jpilot and pilot-xfer
Date: Mon, 17 Feb 2003 00:22:33 +0100

On Sunday 16 February 2003 23:33, Lin Jianfong wrote:
> I just bought a Palm m125 model recently and tried to sync it via the 
USB
> cradle/cable on my fbsd 4.7R box. I got the process going all up to the
> point when trying to backup and sync using jpilot and pilot-xfer.

Forget it, pilot-link doesn't work under FreeBSD+USB.
I'm having the same issues with a Palm m505 and the pilot-link guys just 
told
me it does not work yet (I do hope that they're working on it though).
You can try to contact the coldsync developers, I got in touch with one who
told me the latest CVS version was supposed to work (but it didn't for me 
at
the time) --> http://www.coldsync.org/

Good luck... and if you can make your device work in any way, please post 
how
you did it on this list.
Thanks.

Antoine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Problem syncing palm m125 w/ jpilot and pilot-xfer

2003-02-16 Thread Antoine Jacoutot
On Sunday 16 February 2003 23:33, Lin Jianfong wrote:
> I just bought a Palm m125 model recently and tried to sync it via the USB
> cradle/cable on my fbsd 4.7R box. I got the process going all up to the
> point when trying to backup and sync using jpilot and pilot-xfer.

Forget it, pilot-link doesn't work under FreeBSD+USB.
I'm having the same issues with a Palm m505 and the pilot-link guys just told 
me it does not work yet (I do hope that they're working on it though).
You can try to contact the coldsync developers, I got in touch with one who 
told me the latest CVS version was supposed to work (but it didn't for me at 
the time) --> http://www.coldsync.org/

Good luck... and if you can make your device work in any way, please post how 
you did it on this list.
Thanks.

Antoine


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Problem syncing palm m125 w/ jpilot and pilot-xfer

2003-02-16 Thread Anish Mistry
You may want to talk with the folks at pilot-link.org.  They normally hang out 
in irc.pilot-link.org in the #pilot-link channel.  They are still having 
issues with FreeBSD and USB.

On Sunday 16 February 2003 05:33 pm, Lin Jianfong wrote:
> Hi,
> 
> I just bought a Palm m125 model recently and tried to sync it via the USB 
> cradle/cable on my fbsd 4.7R box. I got the process going all up to the 
> point when trying to backup and sync using jpilot and pilot-xfer.
> 
> The problems :
> - For some reason, jpilot is having trouble reading AddressDB, ToDoDB and 
> MemoDB off my palm. It can read DateBookDB no problem. If I tried syncing, 
> the process will go thru and jpilot will sync only DateBook's but not the 
> other 3 apps' database. Same thing when doing backup. I set both jpilot and 
> palm to communicate at 9600bps.
> 
> - For pilot-xfer, pretty much the same problem, when I tried doing  "% 
> pilot-xfer -p /dev/pilot -b $HOME/palm_backup", the process will go thru, it 
> reported succeeded in reading the RAM from Palm, and Palm itself reported 
> success in synchronizing but...afterwards, $HOME/palm_backup is still EMPTY. 
> pilot-xfer just didn't bother to report any error.
> 
> I used jpilot version 0.99.4, and pilot-link is 0.11.7.
> 
> I can install applications on the palm using jpilot no problem, just can't 
> make a full backup of my data on it. I have also tried coldsync, and gpilot, 
> coldsync simply didn't work for I/O error, gpilot just coredumped 
> repeatedly.
> 
> I followed the instructions on www.geekhome.net/palm.html to set up my USB 
> port and kernel.
> 
> Here's my setup :
> 
> in kernel config file :
> device uhci
> device usb
> device ucom
> device uvisor
> 
> in etc/usbd.conf :
> device "Palm Handheld"
>   devname "ucom0"
>   vendor 0x0830
>   product 0x0040
>   release 0x0100
> 
> initialized the unit with username and id using "% install-user -p...".
> 
> in /dev :
> crw-rw-rw-  1 uucp  dialer  138, 128 Feb 15 20:59 ucom
> crw-rw-rw-  1 uucp  dialer  138, 128 Feb 16 05:53 ucom0
> 
> when "hotsync" button is pushed :
> ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3
> 
> Anyone has better experience, and any idea what I'm missing here ?
> 
> 
> 
> 
> 
> _
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
> http://join.msn.com/?page=features/junkmail
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 

-- 
Anish Mistry

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



sed question

2003-02-16 Thread How Can ThisBe
Not directly FreeBSD question, however. Is it possible with sed (or awk)
to turn this:
i/in/1 2/3 4 5 6
into
i/in/1 2/3456

The same syntax would also need to work on:
i/in/1 2/x y z  (result would be i/in/1 2/xyz)
i/in/1 2  (result would be i/in/12)

The closest I have gotten it to is:
i/in/1 2/3 4 56 with sed "s/\(.*\) /\1/g"

(which will work, just needs to be repeated. I do not know awk at all btw)


_
Hotmail now available on Australian mobile phones. Go to  
http://ninemsn.com.au/mobilecentral/hotmail_mobile.asp


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Problem syncing palm m125 w/ jpilot and pilot-xfer

2003-02-16 Thread Lin Jianfong
Hi,

I just bought a Palm m125 model recently and tried to sync it via the USB 
cradle/cable on my fbsd 4.7R box. I got the process going all up to the 
point when trying to backup and sync using jpilot and pilot-xfer.

The problems :
- For some reason, jpilot is having trouble reading AddressDB, ToDoDB and 
MemoDB off my palm. It can read DateBookDB no problem. If I tried syncing, 
the process will go thru and jpilot will sync only DateBook's but not the 
other 3 apps' database. Same thing when doing backup. I set both jpilot and 
palm to communicate at 9600bps.

- For pilot-xfer, pretty much the same problem, when I tried doing  "% 
pilot-xfer -p /dev/pilot -b $HOME/palm_backup", the process will go thru, it 
reported succeeded in reading the RAM from Palm, and Palm itself reported 
success in synchronizing but...afterwards, $HOME/palm_backup is still EMPTY. 
pilot-xfer just didn't bother to report any error.

I used jpilot version 0.99.4, and pilot-link is 0.11.7.

I can install applications on the palm using jpilot no problem, just can't 
make a full backup of my data on it. I have also tried coldsync, and gpilot, 
coldsync simply didn't work for I/O error, gpilot just coredumped 
repeatedly.

I followed the instructions on www.geekhome.net/palm.html to set up my USB 
port and kernel.

Here's my setup :

in kernel config file :
device uhci
device usb
device ucom
device uvisor

in etc/usbd.conf :
device "Palm Handheld"
	devname "ucom0"
	vendor 0x0830
	product 0x0040
	release 0x0100

initialized the unit with username and id using "% install-user -p...".

in /dev :
crw-rw-rw-  1 uucp  dialer  138, 128 Feb 15 20:59 ucom
crw-rw-rw-  1 uucp  dialer  138, 128 Feb 16 05:53 ucom0

when "hotsync" button is pushed :
ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3

Anyone has better experience, and any idea what I'm missing here ?





_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


squid proxy

2003-02-16 Thread Peter Ulrich Kruppa
Sorry for answering this way, but I have lost the original thread somewhere.

I guess your gateway uses - like mine - two nics (mine are rl0 to the 
outside and rl1 to the inside).

It seems these two ipfw statements solve the problem:

# ipfw add 100 allow ip from any to any via rl0
This allows everything out via rl0 and
# ipfw add 200 fwd 127.0.0.1 tcp from any to any 80 recv rl1
this captures everything received from rl1 and sends it to squids port 80 .

Hope this helps,

Uli.

--
+---+
|Peter Ulrich Kruppa|
|  -  Wuppertal -   |
|  Germany  |
+---+



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Druckereien in Polen

2003-02-16 Thread Tycoon




Gorzów Wlkp., den 16. Februar 03

Druckereien in Polen

Sehr geehrte Damen und Herren,

auf diesem Wege möchten wir sie für die Druckereien in Polen begeistern.

Polen mag zwar in vielen Bereichen als Entwicklungsland gelten, ist aber im Bereich

Druckerzeugnisse auf dem neuesten Standard und in der Lage sämtliche geforderte Leistungen zu erfüllen.

Die Kosten liegen deutlich unter denen in Deutschland, was auf dem immer enger werdenden Markt

für Werbeerzeugnisse deutliche Vorteile bietet.

Wir können Ihnen in Zusammenarbeit mit unseren Partnern

- termingerechte Lieferung

- erstklassige handwerkliche Leistung

- deutsche Ansprechpartner

- Flexibilität

- und äußerst faire Preise bieten.

Sollten wir auf diesem Wege Ihr Interesse geweckt haben, würden wir uns über eine Antwort von Ihnen freuen.

Mit freundlichem Gruß

J. Barylski

Tycoon Sp. z o.o.

ul. Pomorska 43

66-400 Gorzów Wlkp.

[EMAIL PROTECTED]

T: 0048  95 -7282378

F: 0048  95  7282376

Mobil: 0048  501  657 851



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


gethostbyaddr_r ?

2003-02-16 Thread Ronald F. Guilmette

Assume that I want to write a program that uses ``real'' threads,
i.e. independently schedulable ones.

First question:  Are there any good tutorials around for how to do
this under FreeBSD?  (I've never actually done this before.)

I gather that the Right Thing To Do is to compile and install the
linuxthreads package, yes?

What, if anything, do I need to set in my kernel config file in order to
make sure that the kernel support (for rfork?) is present?  Anything?

OK, well, anyway, assuming that I can get past all of THAT stuff,
can somebody please tell me (a) which library I should obtain a
proper `gethostbyaddr_p' function from and (b) where I might find
the relevant man page for that?

It seems that there are at least three diferent libraries that I
might be able to get a `gethostbyaddr_r' function from, i.e.:

From the system C library (libc).

From libbind.a (as supplied with the bind 8.3.4 distribution).

Perhaps also from the linuxthreads package (?)

Ok, so which one is the Right One To Use, and where man I find its
man page?

NOTE:  I looked already at the source code for the gethostbyaddr_r
function supplied as part of the bind 8.3.4 distribution, and it
looks to me like that one is just _pretending_ to be reentrant...
I appears that it just calls the normal (non-reentrant) gethostbyaddr
function.  THAT'S obviously not useful to me if I want to write a
real multi-threaded program, right?

And anyway, I can't find any man page in the bind distribution that
even describes the ISC version of gethostbyaddr_r.  (Humph!)

Now there _does_ seem to be a gethostbyaddr_r function in the FreeBSD
4.7 libc.a library, however...

% man gethostbyaddr_r
No manual entry for gethostbyaddr_r

Bummer!  I hit the same (documentation) wall again.  Can anybody tell me
where the FreeBSD/libc version of this function is documented?

Any help would be appreciated.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Druckereien in Polen

2003-02-16 Thread Tycoon




Gorzów Wlkp., den 16. Februar 03

Druckereien in Polen

Sehr geehrte Damen und Herren,

auf diesem Wege möchten wir sie für die Druckereien in Polen begeistern.

Polen mag zwar in vielen Bereichen als Entwicklungsland gelten, ist aber im Bereich

Druckerzeugnisse auf dem neuesten Standard und in der Lage sämtliche geforderte Leistungen zu erfüllen.

Die Kosten liegen deutlich unter denen in Deutschland, was auf dem immer enger werdenden Markt

für Werbeerzeugnisse deutliche Vorteile bietet.

Wir können Ihnen in Zusammenarbeit mit unseren Partnern

- termingerechte Lieferung

- erstklassige handwerkliche Leistung

- deutsche Ansprechpartner

- Flexibilität

- und äußerst faire Preise bieten.

Sollten wir auf diesem Wege Ihr Interesse geweckt haben, würden wir uns über eine Antwort von Ihnen freuen.

Mit freundlichem Gruß

J. Barylski

Tycoon Sp. z o.o.

ul. Pomorska 43

66-400 Gorzów Wlkp.

[EMAIL PROTECTED]

T: 0048  95 -7282378

F: 0048  95  7282376

Mobil: 0048  501  657 851



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


catch output from sh -xv to a file

2003-02-16 Thread Per olof Ljungmark
Need advice on how to modify first line of shell script so that script 
can run normally (as called from another program, not from the command 
line) and write debugging output to a file like:

#!/bin/sh
echo DEFANGED.1007
exit
#!/bin/sh -xv 

Thanks,

Per olof


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: hylafax / faxrcvd script / freebsd

2003-02-16 Thread Matthew Seaman
On Sun, Feb 16, 2003 at 09:57:15PM +0100, Per olof Ljungmark wrote:
> 
> If I knew how to pipe the output to a file when the script is running as 
> called from Hylafax I could probably solve it, right now I can only do 
> it separately from the command line...

Assuming it's a /bin/sh or work-alike script, add the following near
the top of the file:

exec >/tmp/some-file-name 2>&1

That will redirect stdout and stderr of the script to the named file.
Each time the script executes, that file will be overwriten, so you
might want to change '>/tmp/some-file-name' to '>>/tmp/some-file-name'
to keep a cumulative log of all the script output.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: allowing access to a single directory

2003-02-16 Thread Walter
Bill Moran wrote:

Walter wrote:


Giorgos Keramidas wrote:


On 2003-02-16 09:30, Walter <[EMAIL PROTECTED]> wrote:


I want to allow an anonymous FTP user to see a directory in another
slice, so I put a symbolic link to it.  But then anyone could access
my entire file system by appending combinations of "../" to a path
name; e.g. "ls share/../".  Is there a way to stop this by only
allowing access to the linked directory and nothing more?


Symlinks in anonymous FTP don't work, since anonymous ftp sessions are
chrooted in the home directory of the `ftp' user.  You should probably
move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other
parts of your tree.


The /var slice does not have enough space to hold
these files.  So it sounds like I need to find
another solution (like move in another HD).  Thanks.


You could always move the FTP directory to a slice that has room.


Yes, I actually thought of that, but then I'd leave
my (in this case) /usr slice vulnerable to being
filled-up with ... junk.  Unless I put in quotas,
I suppose.  Hmmm.  I'll think on that; but I also
have an HD which I'm not really using.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: shell prompt question

2003-02-16 Thread Giorgos Keramidas
On 2003-02-16 15:25, David Banning <[EMAIL PROTECTED]> wrote:
> My normal prompt is;
>
> david $
>
> and my superuser prompt is;
>
> #

The way that the shell prompt is set depends on the particular shell.
What shell does your `david' user have?  What shell does `root' have?

> How do I get the super-user prompt when I just use the "su" command
> rather than the full "su -" command?

The default behavior of su is to run an interactive, but not login,
shell AFAIK.  How to set the prompt for interactive invocations of
your root user's shell depends on the shell.

> I want to stay in the same directory I am in sometimes but have su
> authority. The problem is that my prompt doesn't change, so I forget
> that I am su.

Use `su -m' as below.  How to set the prompt to something that changes
when you switch from simple user to superuser and vice versa depends
on the shell you have.  Using bash here, I can see:

$ echo "prompt = $PS1"
prompt = \$
$ su -m
Password:
#

- Giorgos



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X/gdm2 increments display number on logout

2003-02-16 Thread Joe Marcus Clarke
On Sun, 2003-02-16 at 15:10, Evan Dower wrote:
> I have tried it with both the standard and graphical greeters. I started out 
> with the graphical greeter and changed to standard to see if thatwould fix 
> it, but the problem remains. For a while, I just restarted from the gdm menu 
> because I didn't realize it would let me switch vt's. So, theoretically, 
> this should be fixed in a much anticipated update of gdm2?

Theoretically is a good way to look at it.  I haven't looked at the
problem in any real detail, and I'm not sure if it's been reported to
the gdm authors.  If you want to follow through with the gdm people,
that would be great.

Joe

> E

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



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


Re: allowing access to a single directory

2003-02-16 Thread Bill Moran
Walter wrote:

Giorgos Keramidas wrote:


On 2003-02-16 09:30, Walter <[EMAIL PROTECTED]> wrote:


I want to allow an anonymous FTP user to see a directory in another
slice, so I put a symbolic link to it.  But then anyone could access
my entire file system by appending combinations of "../" to a path
name; e.g. "ls share/../".  Is there a way to stop this by only
allowing access to the linked directory and nothing more?



Symlinks in anonymous FTP don't work, since anonymous ftp sessions are
chrooted in the home directory of the `ftp' user.  You should probably
move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other
parts of your tree.


The /var slice does not have enough space to hold
these files.  So it sounds like I need to find
another solution (like move in another HD).  Thanks.


You could always move the FTP directory to a slice that has room.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: allowing access to a single directory

2003-02-16 Thread Walter
Giorgos Keramidas wrote:

On 2003-02-16 09:30, Walter <[EMAIL PROTECTED]> wrote:


I want to allow an anonymous FTP user to see a directory in another
slice, so I put a symbolic link to it.  But then anyone could access
my entire file system by appending combinations of "../" to a path
name; e.g. "ls share/../".  Is there a way to stop this by only
allowing access to the linked directory and nothing more?


Symlinks in anonymous FTP don't work, since anonymous ftp sessions are
chrooted in the home directory of the `ftp' user.  You should probably
move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other
parts of your tree.


The /var slice does not have enough space to hold
these files.  So it sounds like I need to find
another solution (like move in another HD).  Thanks.

Walter


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: OT tunning network

2003-02-16 Thread Bill Moran
faisal gillani wrote:

Well sorry for this Ot Question

i have a 100mbps network 
utp cable 10/100 mbps switch hub

Switch or hub?


60 clients consisting of Linux , Windows & solaris O/S
Dns is used for name resolution
there is a local webserver "Apache" running on my
network which provides large media files to clients as
downloads...
the problem that when clients downloads the download
speed they get is ranging from 400kbps to 1.5 mbps ..
both in rush hour & off hours .
so i wanted to know is that normal ? if not then wat
can be the problem & how can i fix it ?


Well ... normal is a relative term ...
What does 'ifconfig' tell you?  Is your network card actually
negiotiating 100 or 10?  Make sure it's negiotiating properly,
or your network performance will suffer.
Also, you're saying "large media files".  It's very likely
that the bottleneck is not your network, but your disk drive
on the server.  You can use systat to monitor the drive usage
during activity, and if it's high, it's probably the limiting
factor.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: allowing access to a single directory

2003-02-16 Thread Giorgos Keramidas
On 2003-02-16 09:30, Walter <[EMAIL PROTECTED]> wrote:
> I want to allow an anonymous FTP user to see a directory in another
> slice, so I put a symbolic link to it.  But then anyone could access
> my entire file system by appending combinations of "../" to a path
> name; e.g. "ls share/../".  Is there a way to stop this by only
> allowing access to the linked directory and nothing more?

Symlinks in anonymous FTP don't work, since anonymous ftp sessions are
chrooted in the home directory of the `ftp' user.  You should probably
move the files in ~ftp/stuff and then symlink to ~ftp/stuff from other
parts of your tree.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Bill Moran
Date: Fri, 1 Jan 1999 02:54:41 +0100

[You need to fix the date on your computer]

Christian Johansson wrote:

I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:




# SCSI peripherals
#cj device		scbus		# SCSI bus (required)





device		umass		# Disks/Mass storage - Requires scbus and da

   ^

You either need to add back in the SCSI support to make USB disk
support work, or remove USB disk support.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: shell prompt question

2003-02-16 Thread Kjell Midtseter
On Sunday, 16 February 2003 at 15:25:24 -0500, David Banning wrote:
> My normal prompt is;
> 
> david $
> 
> and my superuser prompt is;
> 
> #
> 
> How do I get the super-user prompt when I just use the "su" command
> rather than the full "su -" command?
> 
> I want to stay in the same directory I am in sometimes but have su
> authority. The problem is that my prompt doesn't change, so I forget
> that I am su.
>
When you do a su the contents of your ~/.bash_profile should be read.
While the contents of ~/.bashrc is ignored. Do you have a ~/.bash_profile ?
Kjell 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hylafax / faxrcvd script / freebsd

2003-02-16 Thread Per olof Ljungmark
Toomas Aas wrote:

Hi!



The bin/faxrcvd works completely well from the command line, only fails 
when called from the hylafax server (excerpt from log below):

RECV FAX: bin/faxrcvd "recvq/fax00035.tif" "cuaa1" "0067" "" "" ""
here the script fails at line 202:

$PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2>/dev/null

The "$FILE.ps" is created but not converted to "$FILE.pdf".

This works from the command line issued as:
%ps2pdf -g -r recvq/fax00035.tif.ps recvq/fax00035.tif.pdf


I must admit I don't have a first clue about the arhchitecture of 
hylafax, but maybe the problem is that ps2pdf is simply not found in 
the path? In that case, replacing it with /path/to/ps2pdf in whichever 
script it is called from would help.
--

Toomas,
Already tried unfortunately.
If I replace #!/bin/sh with #!/bin/sh -xv in the script and watch the 
output you can see that the script adds the absolute path:

+ /usr/local/bin/ps2pdf -g1728x583 -r204x196 recvq/fax00037.tif.ps 
recvq/fax00037.tif.pdf

If I knew how to pipe the output to a file when the script is running as 
called from Hylafax I could probably solve it, right now I can only do 
it separately from the command line...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: how to define timeout for blocking soket operations?

2003-02-16 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Alex <[EMAIL PROTECTED]> typed:
> I can use non-blocking calls and nanosleeps but tis ugly and sometimes 
> doesn't work properly, especially with UDP sockets.
> Can anybody help me?
> Or at least to point the docs if available.

man select.

  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: OT tunning network

2003-02-16 Thread Asenchi
I apologize, I was thinking the clients were outside...sorry I
mis-read your message.

> -Original Message-
> From: faisal gillani [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 16, 2003 3:09 PM
> To: Asenchi
> Subject: RE: OT tunning network
>
>
>
> --- Asenchi <[EMAIL PROTECTED]> wrote:
> > I think most here are going to ask what type of
> > connection you
> > have...if you have a 56kbps, this is really good! :)
> >
>
>
> i told the this issue is going on MY LAN  100mbps
>
> > Curt
> >
> > "For the willing and proud, FreeBSD." -no idea
> > > -Original Message-
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]On
> > Behalf Of
> > > faisal gillani
> > > Sent: Sunday, February 16, 2003 2:01 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: OT tunning network
> > >
> > >
> > > Well sorry for this Ot Question
> > >
> > > i have a 100mbps network
> > > utp cable 10/100 mbps switch hub
> > > 60 clients consisting of Linux , Windows & solaris
> > O/S
> > > Dns is used for name resolution
> > > there is a local webserver "Apache" running on my
> > > network which provides large media files to
> > clients as
> > > downloads...
> > > the problem that when clients downloads the
> > download
> > > speed they get is ranging from 400kbps to 1.5 mbps
> > ..
> > > both in rush hour & off hours .
> > > so i wanted to know is that normal ? if not then
> > wat
> > > can be the problem & how can i fix it ?
> > >
> > > thankx for reading
> > >
> > > =
> > > *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
> > >
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Shopping - Send Flowers for Valentine's Day
> > > http://shopping.yahoo.com
> > >
> > > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > > with "unsubscribe freebsd-questions" in the body
> > of the message
> > >
> >
>
>
> =
> *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
>
> __
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



shell prompt question

2003-02-16 Thread David Banning
My normal prompt is;

david $

and my superuser prompt is;

#

How do I get the super-user prompt when I just use the "su" command
rather than the full "su -" command?

I want to stay in the same directory I am in sometimes but have su
authority. The problem is that my prompt doesn't change, so I forget
that I am su.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread taxman
On Friday 01 January 1999 02:54 am, Christian Johansson wrote:
> I'm completely new to freebsd and tried to get my Soundblaster Live to work
> I sure tried to take away stuff that I know I didn't have,, but when I make 
> the kernel I got the following error:
> 
> linking kernel
> umass.o: In function `umass_cam_attach_sim':
> umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
> umass.o(.text+0x189c): undefined reference to `cam_sim_alloc'
...
> *** Error code 1

Jens is correct if not terribly polite.  Configuring a kernel you have to be 
fairly careful.  Read up on the handbook chapter on the kernel config
www.freebsd.org/handbook
and the config file itself closely.  If you're on 4.x series an attempt at 
reading LINT can be educational if not critical.

your question is also a FAQ, so try reading that too when you have a question.

Welcome, and have fun, experimenting and making mistakes is a great way to 
learn, just make sure to read some docs too :)

Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X/gdm2 increments display number on logout

2003-02-16 Thread Evan Dower
I have tried it with both the standard and graphical greeters. I started out 
with the graphical greeter and changed to standard to see if thatwould fix 
it, but the problem remains. For a while, I just restarted from the gdm menu 
because I didn't realize it would let me switch vt's. So, theoretically, 
this should be fixed in a much anticipated update of gdm2?
E

From: Joe Marcus Clarke <[EMAIL PROTECTED]>

On Sun, 2003-02-16 at 12:58, Evan Dower wrote:
> When I log out of gnome, I get the following message:
> "The specified display number was busy, so this server was started on
> display 1."
> Then, gdm comes up, but I can't type. If I switch from vt8 to vt9, 
there's
> another gdm running and I can type into it. The gdm on vt8 then exits. 
If I
> log in and out again, I get the same message except with the display 
number
> incremented, and the behavior of vt8 and vt9 are switched (healthy new 
gdm
> on vt8, untypible old gdm on vt9). gdm is started from /etc/rc.d/gdm.sh
> I am running:
> FreeBSD lojak.u.washington.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #8: Sat 
Feb
> 1 12:55:11 PST 2003
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386
> with all the latest gnome2 (including gdm2) and XFree86-4 from ports.
> :0.log and XFree86.0.log are included at the end of this message. The 
logs
> for other display numbers look much the same.

You're not the only one seeing this.  It seems to be a simple fact of
the new gdm2.  I haven't been able to isolate why it's happening, but
starting it from /etc/ttys doesn't help it.  This may already be a known
bug with gdm.  Are you running the graphical theme login, or the
standard one?

Joe

>
> Thanks in advance,
> Evan Dower

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


SecureRPC/NFS, kerberized NFS

2003-02-16 Thread Hartmann, O.

Hello.

My question is very simple.

Does FreeBSD, either 4.7/4.8 or 5.0 support SecureRPC, especially SecureNFS?
I found the keyserv facility, installed the databases and read some note
in mknetid(8):

-n netid_file
 Specify the location of the netid information file.  The com-
 piled-in default is /etc/netid.  Note that no error is generated
 if the netid database can't be found.  The netid database is not
 likely to be present on most systems until Secure RPC support is
 added to FreeBSD.

For me that sounds like FreeBSD does not have SecureRPC support and therefore
no SecureNFS support.

My intention is that I wish to setup a secure NFS environment with FreeBSD's
basics and had neither success with SecureRPC nor KERBEROS V. In that part
FreeBSD lacks in appropriate documentation, but may netsources told that
securing via SecureRPC and/or kerberos should be possible.

Can someone give me a hint or confirm the lack of SecureRPC in recent FreeBSD
versions?

Thanks in advance,
Oliver


--
MfG
O. Hartmann

[EMAIL PROTECTED]
--
IT-Administration des Institutes fuer Physik der Atmosphaere (IPA)
--
Johannes Gutenberg Universitaet Mainz
Becherweg 21
55099 Mainz

Tel: +496131/3924662 (Maschinenraum)
Tel: +496131/3924144 (Buero)
FAX: +496131/3923532

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Replacement hard drives, was: Re: Hard error??

2003-02-16 Thread Laszlo Vagner
the new Seagate 120gb seems to be real quiet and stable for me
I cant even hear it running, they have a new motor design
and probably is the best bang for the buck right now about $140.00

I had bad luck with quantum, maxtor and IBM and WD but Seagate
seem to be very good for me right now.

I think there is a website called drivereview.com or something that can better
give you a hint.



On Saturday 15 February 2003 02:45 pm, Chuck Swiger wrote:
> Henrik W Lund wrote:
> [ ... ]
>
> > Anyway, it seems like I have just got to get myself a new drive. On that
> > note, has anybody got any idea what I should go for? Any vendors whose
> > drives do NOT cave in after half a year? ;)
>
> Your drive should still be under warrantee, then...?
>
> To answer your question: I've been fairly happy with Seagate over the
> years, and Maxtor has been okay.  Seagate's flagship products tend to do
> well, at least if you've got an open budget available-- one main
> fileserver I run has four Seagate ST336752LC drives ("Cheetah X15
> 36LP"?) in a RAID-1,0.  They rock.  Maxtor has sometimes seemed to have
> better price/performance for their normal drives, which is useful when
> one's budget it more constrained.
>
> Avoid Quantum at all costs.  While there was an educational benefit to
> learning how to coax more life from one of those famous 105MB's with
> stiction, newer Quantum drives are better in the sense that they hold
> more data, and worse in that they tend to fail more abruptly and more
> permanently.
>
> IBM and Fujitsu have both been having quality control issues recently,
> although the IBM UltraStar lineup used to be pretty good at one point.
> I'd also like to give a big thumbs up to recent the Western Digital
> series of SE drives with 8MB of cache.  WD's previous SCSI drives, like
> the 10K 18GB Vantage were good, too.
>
> As for laptop drives, well, what you want is a single platter drive with
> low power consumption, hence low heat-- ie, ones for ultra-thin/light
> laptops, something like what Sony's got in their VAIO 505's; expect a
> slower spindle speed, though.  Even so, laptops tend to take a beating,
> and even good laptop drives seem to have about a 25% mortality rate
> after 3 years, give or take.
>
> Anyone know of a laptop that takes SCA (80-pin SCSI) drives?
>
> Failing that, be nice once SATA + individual IDE channels per drive +
> RAID hardware + SCSI layers (TCQ/command protocol/iSCSI/etc) becomes
> more common.  SATA for the cabling alone will do a world of good.  While
> I'm thinking about it, a platform-spanning PCI-X version of a SATA/RAID
> card would remind me favorably of Adaptec's 2940 (U/UW/OF/etc) series.
>
> -Chuck
>
> Disclaimer: Any Clutch fans out there?  Last night's show-- in the
> hinterlands of Brooklyn, New York; Lamours-- is responsible; any
> opinions represented above I may or may not agree with once I finish
> recovering.  Very good show, finished very late.  :-)
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: X/gdm2 increments display number on logout

2003-02-16 Thread Joe Marcus Clarke
On Sun, 2003-02-16 at 12:58, Evan Dower wrote:
> When I log out of gnome, I get the following message:
> "The specified display number was busy, so this server was started on 
> display 1."
> Then, gdm comes up, but I can't type. If I switch from vt8 to vt9, there's 
> another gdm running and I can type into it. The gdm on vt8 then exits. If I 
> log in and out again, I get the same message except with the display number 
> incremented, and the behavior of vt8 and vt9 are switched (healthy new gdm 
> on vt8, untypible old gdm on vt9). gdm is started from /etc/rc.d/gdm.sh
> I am running:
> FreeBSD lojak.u.washington.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #8: Sat Feb  
> 1 12:55:11 PST 2003 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386
> with all the latest gnome2 (including gdm2) and XFree86-4 from ports.
> :0.log and XFree86.0.log are included at the end of this message. The logs 
> for other display numbers look much the same.

You're not the only one seeing this.  It seems to be a simple fact of
the new gdm2.  I haven't been able to isolate why it's happening, but
starting it from /etc/ttys doesn't help it.  This may already be a known
bug with gdm.  Are you running the graphical theme login, or the
standard one?

Joe

> 
> Thanks in advance,
> Evan Dower
> ***
> :0.log
> 
> Fatal server error:
> Server is already active for display 0
>   If this server is no longer running, remove /tmp/.X0-lock
>   and start again.
> 
> 
> When reporting a problem related to a server crash, please send
> the full server output, not just the last messages.
> Please report problems to [EMAIL PROTECTED]
> 
> ***
> XFree86.0.log
> 
> XFree86 Version 4.2.1 / X Window System
> (protocol Version 11, revision 0, vendor release 6600)
> Release Date: 3 September 2002
>   If the server is older than 6-12 months, or if your card is
>   newer than the above date, look for a newer version before
>   reporting problems.  (See http://www.XFree86.Org/)
> Build Operating System: FreeBSD 5.0-RELEASE i386 [ELF]
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>  (++) from command line, (!!) notice, (II) informational,
>  (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/XFree86.0.log", Time: Sat Feb 15 08:46:56 2003
> (==) Using config file: "/etc/X11/XF86Config"
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen 1" (0)
> (**) |   |-->Monitor "My Monitor"
> (**) |   |-->Device "NVIDIA GeForce"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (**) Option "AutoRepeat" "500 30"
> (**) Option "XkbRules" "xfree86"
> (**) XKB: rules: "xfree86"
> (**) Option "XkbModel" "pc104"
> (**) XKB: model: "pc104"
> (**) Option "XkbLayout" "en_US"
> (**) XKB: layout: "en_US"
> (WW) Option "XkbVariant" requires an string value
> (WW) Option "XkbOptions" requires an string value
> (==) Keyboard: CustomKeycode disabled
> (**) FontPath set to 
> 
>"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
> (**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
> (==) ModulePath set to "/usr/X11R6/lib/modules"
> (--) Using syscons driver with X support (version 2.0)
> (--) using VT number 9
> 
> (II) Module ABI versions:
>   XFree86 ANSI C Emulation: 0.1
>   XFree86 Video Driver: 0.5
>   XFree86 XInput driver : 0.3
>   XFree86 Server Extension : 0.1
>   XFree86 Font Renderer : 0.3
> (II) Loader running on freebsd
> (II) LoadModule: "bitmap"
> (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
> (II) Module bitmap: vendor="The XFree86 Project"
>   compiled for 4.2.1, module version = 1.0.0
>   Module class: XFree86 Font Renderer
>   ABI class: XFree86 Font Renderer, version 0.3
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/X11R6/lib/modules/libpcidata.a
> (II) Module pcidata: vendor="The XFree86 Project"
>   compiled for 4.2.1, module version = 0.1.0
>   ABI class: XFree86 Video Driver, version 0.5
> (II) PCI: Probing config type using method 1
> (II) PCI: Config type is 1
> (II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 1022,700c card , rev 11 class 06,00,00 hdr 
> 00
> (II) PCI: 00:01:0: chip 1022,700d card , rev 00 class 06,04,00 hdr 
> 01
> (II) PCI: 00:07:0: chip 1022,7440 card 1043,8044 rev 04 class 06,01,00 hdr 
> 80
> (II) PCI: 00:07:1: chip 1022,7441 card 1022,7441 rev 04 class 01,01,8a hdr 
> 00
> (II) PCI: 00:07:3: chip 1022,7443 card 1043,8044 rev 03 class 06,80,00 hdr 
> 00
> (II)

RE: OT tunning network

2003-02-16 Thread Asenchi
I think most here are going to ask what type of connection you
have...if you have a 56kbps, this is really good! :)

Curt

"For the willing and proud, FreeBSD." -no idea
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> faisal gillani
> Sent: Sunday, February 16, 2003 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: OT tunning network
>
>
> Well sorry for this Ot Question
>
> i have a 100mbps network
> utp cable 10/100 mbps switch hub
> 60 clients consisting of Linux , Windows & solaris O/S
> Dns is used for name resolution
> there is a local webserver "Apache" running on my
> network which provides large media files to clients as
> downloads...
> the problem that when clients downloads the download
> speed they get is ranging from 400kbps to 1.5 mbps ..
> both in rush hour & off hours .
> so i wanted to know is that normal ? if not then wat
> can be the problem & how can i fix it ?
>
> thankx for reading
>
> =
> *:$., 88,.$:*(((*$ Allah-hu-Akber*:$., 88,.$:*((*$
>
> __
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Evan Dower
Under USB, you have umass enabled. The note next to it says that it requires 
scbus and da (which live under scsi peripherals) which you do not have 
enabled. Enabling these should get you up and running. Also, for a sound 
blaster card, I think you'll need device sbc as well.
Good luck,
Evan Dower

_
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: pear-HTML_Select

2003-02-16 Thread Jim Trigg
On Sun, Feb 16, 2003 at 06:15:45PM +0100, Antoine Jacoutot wrote:
>  
> I don't know who am I supposed to tell this, but it's been a while since the 
> pear-HTML_Select port had been broken: 
>  
> >> HTML_Select-1.0.tgz doesn't seem to exist in /usr/ports/distfiles/PEAR. 
> >> Attempting to fetch from http://pear.php.net/get/. 
> fetch: HTML_Select-1.0.tgz: Not Found 
> >> Attempting to fetch from 
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PEAR/. 
> fetch: HTML_Select-1.0.tgz: File unavailable (e.g., file not found, no access) 
> >> Couldn't fetch it - please try to retrieve this 
> >> port manually into /usr/ports/distfiles/PEAR and try again. 
> *** Error code 1 
>  
> Stop in /usr/ports/devel/pear-HTML_Select. 
>  
> I think version 1.1 is now out, so if someone could take care of this, it 
> would be nice since it gives a broken dependency with horde2. 

It's not just that there's a new version out, they've renamed it.  It's
now HTML_Select_Common, and they deleted all references to HTML_Select
from the pear.php.net site.

Jim Trigg
-- 
Jim Trigg, Lord High Everything Else  O-  /"\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Make fails: when compiling kernel

2003-02-16 Thread Jens Rehsack
Christian Johansson wrote:

I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
[...]


*** Error code 1


Look that you haven't read the comments in the config file not very 
carefully.




[...]


# SCSI peripherals
#cj device		scbus		# SCSI bus (required)
#cj device		ch		# SCSI media changers
#cj device		da		# Direct Access (disks)
#cj device		sa		# Sequential Access (tape etc)
#cj device		cd		# CD
#cj device		pass		# Passthrough device (direct SCSI access)
#cj device		ses		# SCSI Environmental Services (and SAF-TE)


[...]


# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da

Please read above line very carefully again :-)


device		ums		# Mouse
#cj device		urio		# Diamond Rio 500 MP3 player
#cj device		uscanner	# Scanners
# USB Ethernet, requires mii
device		aue		# ADMtek USB ethernet
device		cue		# CATC USB ethernet
device		kue		# Kawasaki LSI USB ethernet




--
L i  W W W  i Jens Rehsack
LW W W
L i   W   W W   W   i  nnnLiWing IT-Services
L iW W   W Wi  n  n  g   g
  i W W i  n  n  g   gFriesenstraße 2
  06112 Halle
 g
 g   g
Tel.:  +49 - 3 45 - 5 17 05 91ggg e-Mail: <[EMAIL PROTECTED]>
Fax:   +49 - 3 45 - 5 17 05 92http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



OT tunning network

2003-02-16 Thread faisal gillani
Well sorry for this Ot Question

i have a 100mbps network 
utp cable 10/100 mbps switch hub
60 clients consisting of Linux , Windows & solaris O/S
Dns is used for name resolution
there is a local webserver "Apache" running on my
network which provides large media files to clients as
downloads...
the problem that when clients downloads the download
speed they get is ranging from 400kbps to 1.5 mbps ..
both in rush hour & off hours .
so i wanted to know is that normal ? if not then wat
can be the problem & how can i fix it ?

thankx for reading

=
*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Make fails: when compiling kernel

2003-02-16 Thread Christian Johansson
I'm completely new to freebsd and tried to get my Soundblaster Live to work
I sure tried to take away stuff that I know I didn't have,, but when I make 
the kernel I got the following error:

linking kernel
umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x1851): undefined reference to `cam_simq_alloc'
umass.o(.text+0x189c): undefined reference to `cam_sim_alloc'
umass.o(.text+0x18ad): undefined reference to `cam_simq_free'
umass.o(.text+0x18c9): undefined reference to `xpt_bus_register'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x1903): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x1975): undefined reference to `xpt_periph'
umass.o(.text+0x1984): undefined reference to `xpt_create_path'
umass.o(.text+0x19a0): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x19bd): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x1b0b): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x1b29): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x1b94): undefined reference to `xpt_create_path'
umass.o(.text+0x1bb9): undefined reference to `xpt_async'
umass.o(.text+0x1bc4): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x1f70): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x20bc): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x2221): undefined reference to `xpt_done'
umass.o: In function `umass_cam_quirk_cb':
umass.o(.text+0x2244): undefined reference to `xpt_done'
*** Error code 1

#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files. 
# If you are in doubt as to the purpose or necessity of a line, check first 
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.369.2.2 2002/12/31 05:35:45 scottl Exp $

machine i386
#cj cpu I486_CPU
#cj cpu I586_CPU
cpu I686_CPU
ident   MYKERNEL
maxusers0

#To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" #Default places to look for devices.

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options SOFTUPDATES #Enable FFS soft updates support
options UFS_ACL #Support for access control lists
options UFS_DIRHASH #Improve performance on big directories
options MD_ROOT #MD is a potential root device
options NFSCLIENT   #Network Filesystem Client
options NFSSERVER   #Network Filesystem Server
options NFS_ROOT#NFS usable as root device, requires NFSCLIENT
options MSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options PROCFS  #Process filesystem (requires PSEUDOFS)
options PSEUDOFS#Pseudo-filesystem framework
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 #Compatible with FreeBSD4
options SCSI_DELAY=15000#Delay (in ms) before probing SCSI
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.

# Debugging for use in -current
#optionsDDB #Enable the kernel debugger
#optionsINVARIANTS  #Enable calls of extra sanity checking
options INVARIANT_SU

Re: SquirrelMail port problems

2003-02-16 Thread Jim Durham
On Thursday 13 February 2003 04:22 pm, Tuc wrote:
> > > > If you are having the"...You must be logged on to view this
> > > > page" error, you might try turning "globals = on" in php.ini
> > > > but otherwise what error do you get when you try to logon?
> > >
> > >   Problem was the imap-uw from ports didn't allow plain text
> > > logins no matter what I tried. I built it from source myself,
> > > works fine.
> >
> > Set one of the following when building the port:
> >
> > WITHOUT_SSL
> > WITH_SSL_AND_PLAINTEXT
> >
> > Worked for me (the latter option) about a week ago.
>
>   Tried both, and both give me the verion that uses SSL and won't
> allow plaintext passwords.
>

Ummm... I sort of got sidetracked from this thread, but anyway, I 
believe I'm using the imap-uw package. It works. I think I've noticed 
before that the default build for ports is different from what's in 
packages. I don't know if someone notices that it needs to be built 
differently and does so and it never gets back to the port maintainer 
or what.

-Jim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Worrying ATA problems.

2003-02-16 Thread Trent Nelson
On Sun, Feb 16, 2003 at 06:10:38PM +, Trent Nelson wrote:
> Hi,
> 
> I've had a new server for a little over three months now that's
> started running into some worrying ata troubles.

Uhh, crap.  I'm building PostgreSQL in the Linux VMware guest OS,
and the drive started making a bunch of sounds that can only be
described as being similar to taking a floppy out of the drive wh-
ile it's being written to.  Of course, these sounds were coupled
with a system freeze and a bunch of ata error messages when every-
thing had passed.

Has anyone ever experienced *anything* like this?

Trent.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: hylafax / faxrcvd script / freebsd

2003-02-16 Thread Toomas Aas
Hi!

> The bin/faxrcvd works completely well from the command line, only fails 
> when called from the hylafax server (excerpt from log below):
> 
> RECV FAX: bin/faxrcvd "recvq/fax00035.tif" "cuaa1" "0067" "" "" ""
> here the script fails at line 202:
> 
> $PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2>/dev/null
> 
> The "$FILE.ps" is created but not converted to "$FILE.pdf".
> 
> This works from the command line issued as:
> %ps2pdf -g -r recvq/fax00035.tif.ps recvq/fax00035.tif.pdf

I must admit I don't have a first clue about the arhchitecture of 
hylafax, but maybe the problem is that ps2pdf is simply not found in 
the path? In that case, replacing it with /path/to/ps2pdf in whichever 
script it is called from would help.
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Nostalgia isn't what it used to be...


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Setting proper From host in Sendmail

2003-02-16 Thread Chuck Swiger
Jack L. Stone wrote:
[ ... ]

Thanks for the reply, but that is not what I meant. I don't want the FROM
to be replaced with the machine's host name, but the FROM field of the
customer who fills in his email address in the web form. In other words,
the system isn't seeing that field and is replacing with the
"[EMAIL PROTECTED]".  That's the only way my "vacation" program can send an

> autoreply to the customer. What you suggest will just send the autoreply
> back to the machine it came from.

"perldoc -q Mail" returns some useful suggestions.  I'd recommend using 
Mail::Mailer instead of formmail.pl, because the latter has had a iffy 
security record.  If you feed the message into sendmail directly (as the 
 example shows, or via vacation, for that matter), you can use the -f 
option to sendmail:

   -fname Sets  the  name  of  the ``from'' person (i.e., the
  envelope sender of the  mail).   This  address  may
  also  be used in the From: header if that header is
  missing during initial  submission.   The  envelope
  sender  address is used as the recipient for deliv-
  ery status notifications and may also appear  in  a
  Return-Path:  header.   -f  should  only be used by
  ``trusted'' users (normally root, daemon, and  net-
  work)  or if the person you are trying to become is
  the same as the person you are.  Otherwise,  an  X-
  Authentication-Warning  header will be added to the
  message.

Of course, add the userid that formmail is running as to sendmail's list 
of trusted users, if you wish to suppress the warning header mentioned.

10-sec# cd /tmp
11-sec# cat > test_message
Subject: a test message
From: root@localhost
To: Charlie Root
Date: about now

test 1 2 3

12-sec# sendmail -f'toor@sec' root@localhost < test_message

14-sec# tail -25 /var/mail/root
Rebuilding whatis database:

-- End of weekly output --

From [EMAIL PROTECTED] Sat Feb 15 22:33:30 2003
Return-Path: <[EMAIL PROTECTED]>
Received: from sec.codefab.com (smmsp@localhost [127.0.0.1])
by sec.codefab.com (8.12.6/8.12.6) with ESMTP id h1G3XSwb028437
for <[EMAIL PROTECTED]>; Sat, 15 Feb 2003 22:33:28 -0500(EST)
(envelope-from [EMAIL PROTECTED])
Received: (from root@localhost)
by sec.codefab.com (8.12.6/8.12.6/Submit) id h1G3XSJd028436
for root@localhost; Sat, 15 Feb 2003 22:33:28 -0500 (EST)
Message-Id: <[EMAIL PROTECTED]>
Subject: a test message
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Date: about now
X-Spam-Status: No, hits=3.6 required=8.0
tests=INVALID_DATE,NO_REAL_NAME,SPAM_PHRASE_00_01
version=2.43
X-Spam-Level: ***

test 1 2 3

-Chuck


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Worrying ATA problems.

2003-02-16 Thread Kenneth Culver
Are you sure the cable on your ad0 maxtor drive is ok? I'm asking because
I had a problem with using some no-name ata cable instead of the one that
came with the drive, and my problem was similar to yours.

Ken

On Sun, 16 Feb 2003, Trent Nelson wrote:

> Hi,
>
> I've had a new server for a little over three months now that's
> started running into some worrying ata troubles.  The server is
> an Athlon XP 1800+, ASUS A7V8X M/B, 1GB PC2700 DDR RAM, 2x 60GB
> Maxtor (6Y060L0) HDDs.  I've also purchased a ``Sil 0680 ATA133
> controller'' that provides master ata channels for a spare 30GB
> drive and my CD-RW.  It's running 4.7-STABLE as of a few days
>
> The error messages and relevant dmesg output follows.  What do
> these errors normally indicate?  Dodgy hardware?  The drives
> are pretty much brand new (< 3 months), as are all the other
> components.  I don't think it's a cooling problem, either.  I've
> got a 120mm fan blowing cool air onto the drives, and each drive
> is fitted with an individual cooling unit (two small fans on the
> controller-side of the drive).  The air is never more than appro-
> ximately 20 degrees Celsius in that part of the box.
>
> Other random tidbits; the server runs VMware and fvcool, as well
> as a few other standard daemons, but the box is nearly always
> idle.
>
> Thanks in advance.
>
> Regards,
>
> Trent.
>
>
> ad0: WRITE command timeout tag=0 serv=0 - resetting
> ata0: resetting devices .. done
> ad0s1g: soft error (ECC corrected) reading fsbn 3158527 of 6368-6399 (ad0s1 bn 
>3158527; cn 196 tn 155 sn 22)ad0s1g: hard error reading fsbn 3158527 of 6368-6399 
>(ad0s1 bn 3158527; cn 196 tn 155 sn 22)
> trying PIO mode
> ad0: READ command timeout tag=0 serv=0 - resetting
> ata0: resetting devices .. done
> ad0: DMA problem fallback to PIO mode
> ad0: DMA problem fallback to PIO mode
> ad0s1a: soft error (ECC corrected) reading fsbn 24231 of 12076-12095 (ad0s1 bn 
>24231; cn 1 tn 129 sn 39)ad0s1a: hard error reading f sbn 24231 of 12076-12095 (ad0s1 
>bn 24231; cn 1 tn 129 sn 39) status=7f error=7f
> ad0: timeout waiting for DRQ - resetting
> ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
> done
> ad0: timeout waiting for DRQ - resetting
> ata0: resetting devices .. done
> ad0s1g: soft error (ECC corrected) reading fsbn 3158527 of 6368-6399
> (ad0s1 bn 3158527; cn 196 tn 155 sn 22)ad0s1g: hard error reading fsbn 3158527 of 
>6368-6399 (ad0s1 bn 3158527; cn 196 tn 155 sn 22) status=7f error=7f
> ad0: READ command timeout tag=0 serv=0 - resetting
> ata0: resetting devices .. done
> ad0: READ command timeout tag=0 serv=0 - resetting
> ata0: resetting devices .. done
> ad0s1d: soft error (ECC corrected) reading fsbn 72749503 of
> 21170368-21170391 (ad0s1 bn 72749503; cn 4528 tn 114 sn 1)ad0s1d: hard e
> rror reading fsbn 72749503 of 21170368-21170391 (ad0s1 bn 72749503; cn
> 4528 tn 114 sn 1) status=7f error=7f
> spec_getpages:(#ad/0x20003) I/O read failure: (error=5) bp 0xcfeb9390 vp 0xe06f5b40
>size: 12288, resid: 12288, a_count: 12284, valid: 0x0
>nread: 0, reqpage: 0, pindex: 0, pcount: 3
> ad0: READ command timeout tag=0 serv=0 - resetting
> ata0: resetting devices .. done
>
> Relevant dmesg output:
>
> FreeBSD 4.7-STABLE #8: Sat Feb 15 17:44:48 GMT 2003
> 
>[EMAIL PROTECTED]:/obj/shared/work/BSD/FreeBSD/FreeBSD-4.x/src/sys/ZOOM
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: AMD Athlon(TM) XP 1800+ (1533.40-MHz 686-class CPU)
> real memory  = 1073725440 (1048560K bytes)
> avail memory = 1041625088 (1017212K bytes)
> atapci0:  port 
>0x9800-0x980f,0xa000-0xa003,0xa400-0xa407,0xa800-0xa803,0xb000-0xb007 mem 
>0xeb00-0xeb ff irq 5 at device 12.0 on pci0
> ata2: at 0xb000 on atapci0
> ata3: at 0xa400 on atapci0
> atapci1:  port 0x8400-0x840f at device 17.1 on pci0
> ata0: at 0x1f0 irq 14 on atapci1
> ata1: at 0x170 irq 15 on atapci1
> ad0: 58644MB  [119150/16/63] at ata0-master UDMA133
> ad2: 58644MB  [119150/16/63] at ata1-master UDMA133
> ad4: 28629MB  [58168/16/63] at ata2-master UDMA100
> acd0: CD-RW  at ata3-master UDMA33
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



FreeBSD, PKI-X, and an OID...?

2003-02-16 Thread Chuck Swiger
Hi, all--

I've been following the algorithm specified in RFC-3280, STD.1, and 
related docs to the point where I've gotten OID 1.3.6.1.4.1.16006 
assigned to me from the IANA.

Has anyone figured out the software dependency tree for PKI-X (such as 
LDAP, OpenSSL, etc) so that I can associate my OID with it?  I looked in 
the ports collection, but I didn't see anything obviously related.

[At least, oidentd or xoids don't *seem* to be related.  :-)]

Thanks,
-Chuck


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Strange Sendmail issue. (appended domains)

2003-02-16 Thread Dragoncrest
Ok, I figured out what's up.  Sendmail is only appending domains 
with bad DNS.  So I'm fine.  :)

Sorry to bother everyone.

At 09:23 AM 2/16/03 -0500, Dragoncrest wrote:
Hi all.  Only as of recently have I been getting this really 
weird sendmail issue and I can't explain it.  I recently tried to block 
several domains from sending mail to us using the access list, however 
instead of blocking them, sendmail still allowed the mail to go through 
and in turn started attaching one of our local domains to the domain name 
instead.  (Example: "[EMAIL PROTECTED]" became 
"[EMAIL PROTECTED]")  So I undid everything I originally tried 
to do.  My only problem is, it's still doing it.  It doesn't do it on all 
domains, but it's doing it on a few and it's getting frustrating because 
the mail is being sent back to us instead of the proper user.

Anyone got any suggestions on how to fix this?  Thanks.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Worrying ATA problems.

2003-02-16 Thread Trent Nelson
Hi,

I've had a new server for a little over three months now that's
started running into some worrying ata troubles.  The server is 
an Athlon XP 1800+, ASUS A7V8X M/B, 1GB PC2700 DDR RAM, 2x 60GB
Maxtor (6Y060L0) HDDs.  I've also purchased a ``Sil 0680 ATA133
controller'' that provides master ata channels for a spare 30GB
drive and my CD-RW.  It's running 4.7-STABLE as of a few days

The error messages and relevant dmesg output follows.  What do 
these errors normally indicate?  Dodgy hardware?  The drives
are pretty much brand new (< 3 months), as are all the other 
components.  I don't think it's a cooling problem, either.  I've
got a 120mm fan blowing cool air onto the drives, and each drive
is fitted with an individual cooling unit (two small fans on the
controller-side of the drive).  The air is never more than appro-
ximately 20 degrees Celsius in that part of the box.

Other random tidbits; the server runs VMware and fvcool, as well
as a few other standard daemons, but the box is nearly always
idle.

Thanks in advance.

Regards,

Trent.


ad0: WRITE command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0s1g: soft error (ECC corrected) reading fsbn 3158527 of 6368-6399 (ad0s1 bn 
3158527; cn 196 tn 155 sn 22)ad0s1g: hard error reading fsbn 3158527 of 6368-6399 
(ad0s1 bn 3158527; cn 196 tn 155 sn 22)
trying PIO mode
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: DMA problem fallback to PIO mode
ad0: DMA problem fallback to PIO mode
ad0s1a: soft error (ECC corrected) reading fsbn 24231 of 12076-12095 (ad0s1 bn 24231; 
cn 1 tn 129 sn 39)ad0s1a: hard error reading f sbn 24231 of 12076-12095 (ad0s1 bn 
24231; cn 1 tn 129 sn 39) status=7f error=7f
ad0: timeout waiting for DRQ - resetting
ata0: resetting devices .. ata0-slave: ATA identify retries exceeded
done
ad0: timeout waiting for DRQ - resetting
ata0: resetting devices .. done
ad0s1g: soft error (ECC corrected) reading fsbn 3158527 of 6368-6399
(ad0s1 bn 3158527; cn 196 tn 155 sn 22)ad0s1g: hard error reading fsbn 3158527 of 
6368-6399 (ad0s1 bn 3158527; cn 196 tn 155 sn 22) status=7f error=7f
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done
ad0s1d: soft error (ECC corrected) reading fsbn 72749503 of
21170368-21170391 (ad0s1 bn 72749503; cn 4528 tn 114 sn 1)ad0s1d: hard e
rror reading fsbn 72749503 of 21170368-21170391 (ad0s1 bn 72749503; cn
4528 tn 114 sn 1) status=7f error=7f
spec_getpages:(#ad/0x20003) I/O read failure: (error=5) bp 0xcfeb9390 vp 0xe06f5b40
   size: 12288, resid: 12288, a_count: 12284, valid: 0x0
   nread: 0, reqpage: 0, pindex: 0, pcount: 3
ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices .. done

Relevant dmesg output:

FreeBSD 4.7-STABLE #8: Sat Feb 15 17:44:48 GMT 2003
[EMAIL PROTECTED]:/obj/shared/work/BSD/FreeBSD/FreeBSD-4.x/src/sys/ZOOM
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(TM) XP 1800+ (1533.40-MHz 686-class CPU)
real memory  = 1073725440 (1048560K bytes)
avail memory = 1041625088 (1017212K bytes)  
atapci0:  port 
0x9800-0x980f,0xa000-0xa003,0xa400-0xa407,0xa800-0xa803,0xb000-0xb007 mem 
0xeb00-0xeb ff irq 5 at device 12.0 on pci0
ata2: at 0xb000 on atapci0
ata3: at 0xa400 on atapci0
atapci1:  port 0x8400-0x840f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
ad0: 58644MB  [119150/16/63] at ata0-master UDMA133
ad2: 58644MB  [119150/16/63] at ata1-master UDMA133
ad4: 28629MB  [58168/16/63] at ata2-master UDMA100
acd0: CD-RW  at ata3-master UDMA33

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



X/gdm2 increments display number on logout

2003-02-16 Thread Evan Dower
When I log out of gnome, I get the following message:
"The specified display number was busy, so this server was started on 
display 1."
Then, gdm comes up, but I can't type. If I switch from vt8 to vt9, there's 
another gdm running and I can type into it. The gdm on vt8 then exits. If I 
log in and out again, I get the same message except with the display number 
incremented, and the behavior of vt8 and vt9 are switched (healthy new gdm 
on vt8, untypible old gdm on vt9). gdm is started from /etc/rc.d/gdm.sh
I am running:
FreeBSD lojak.u.washington.edu 5.0-RELEASE FreeBSD 5.0-RELEASE #8: Sat Feb  
1 12:55:11 PST 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM  i386
with all the latest gnome2 (including gdm2) and XFree86-4 from ports.
:0.log and XFree86.0.log are included at the end of this message. The logs 
for other display numbers look much the same.

Thanks in advance,
Evan Dower
***
:0.log

Fatal server error:
Server is already active for display 0
	If this server is no longer running, remove /tmp/.X0-lock
	and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to [EMAIL PROTECTED]

***
XFree86.0.log

XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: FreeBSD 5.0-RELEASE i386 [ELF]
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Feb 15 08:46:56 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) |   |-->Monitor "My Monitor"
(**) |   |-->Device "NVIDIA GeForce"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc104"
(**) XKB: model: "pc104"
(**) Option "XkbLayout" "en_US"
(**) XKB: layout: "en_US"
(WW) Option "XkbVariant" requires an string value
(WW) Option "XkbOptions" requires an string value
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to 
"/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) Module ABI versions:
	XFree86 ANSI C Emulation: 0.1
	XFree86 Video Driver: 0.5
	XFree86 XInput driver : 0.3
	XFree86 Server Extension : 0.1
	XFree86 Font Renderer : 0.3
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 1.0.0
	Module class: XFree86 Font Renderer
	ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
	compiled for 4.2.1, module version = 0.1.0
	ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1022,700c card , rev 11 class 06,00,00 hdr 
00
(II) PCI: 00:01:0: chip 1022,700d card , rev 00 class 06,04,00 hdr 
01
(II) PCI: 00:07:0: chip 1022,7440 card 1043,8044 rev 04 class 06,01,00 hdr 
80
(II) PCI: 00:07:1: chip 1022,7441 card 1022,7441 rev 04 class 01,01,8a hdr 
00
(II) PCI: 00:07:3: chip 1022,7443 card 1043,8044 rev 03 class 06,80,00 hdr 
00
(II) PCI: 00:10:0: chip 1022,7448 card , rev 04 class 06,04,00 hdr 
01
(II) PCI: 01:05:0: chip 10de,0201 card , rev a3 class 03,00,00 hdr 
00
(II) PCI: 02:05:0: chip 1102,0002 card 1102,8027 rev 07 class 04,01,00 hdr 
80
(II) PCI: 02:05:1: chip 1102,7002 card 1102,0020 rev 07 class 09,80,00 hdr 
80
(II) PCI: 02:06:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 
00
(II) PCI: 02:08:0: chip 1033,0035 card 807d,0035 rev 41 class 0c,03,10 hdr 
80
(II) PCI: 02:08:1: chip 1033,0035 card 807d,0035 rev 41 class 0c,03,10 hdr 
00
(II) PCI: 02:08:2: chip 1033,00e0 card 807d,1043 rev 02 class 0c,03,20 hdr 
00

(II)

arplookup going mad

2003-02-16 Thread Marc Schneiders
I have posted a question about this earlier, without getting an
answer. Then the problem was occasionally. Now the machine is going
mad over the same thing. It gives this every second in messages:

Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt
Feb 16 18:35:06 voo /kernel: arplookup 213.196.2.97 failed: host is
not on local network
Feb 16 18:35:06 voo /kernel: arpresolve: can't allocate llinfo for
13.16.2.97rt

How do I put an end to this? The IP mentioned is NOT on the local
network. I do NOT tell it anywhere it is. Nothing has changed in my
config. Why does it do this, and why every second all of a sudden? How
do I stop it?

man llinfo gives 0, apropos llinfo gives 0. man arplookup: nothing,
apropos arplookup: nothing.

I rebooted, to no avail. It came back within half an hour.

Since the machine is colocated (and not next door) I do not want to
lock myself out by trying funny things with arp -s. And I tried that
on a machine here, and it refused it anyway for a host not on the
local network. As it should, I am sure.

Any really good ideas?

uname -a: FreeBSD [hostname] 4.7-STABLE FreeBSD 4.7-STABLE #13: Sat
Nov 16 16:09:35 CET 2002
marc@[hostname]:/usr/obj/usr/src/sys/FUCHSIA  i386




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



pear-HTML_Select

2003-02-16 Thread Antoine Jacoutot
Hi ! 
 
I don't know who am I supposed to tell this, but it's been a while since the 
pear-HTML_Select port had been broken: 
 
>> HTML_Select-1.0.tgz doesn't seem to exist in /usr/ports/distfiles/PEAR. 
>> Attempting to fetch from http://pear.php.net/get/. 
fetch: HTML_Select-1.0.tgz: Not Found 
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PEAR/. 
fetch: HTML_Select-1.0.tgz: File unavailable (e.g., file not found, no access) 
>> Couldn't fetch it - please try to retrieve this 
>> port manually into /usr/ports/distfiles/PEAR and try again. 
*** Error code 1 
 
Stop in /usr/ports/devel/pear-HTML_Select. 
 
I think version 1.1 is now out, so if someone could take care of this, it 
would be nice since it gives a broken dependency with horde2. 
Thanks, and sorry if it's not the right place for this issue. 
 
--  
Antoine Jacoutot  
[EMAIL PROTECTED]  
http://www.lphp.org  
"Unix is user friendly. He's just very picky about who his friends are..."   
   

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Kernel panic with kldload

2003-02-16 Thread lattera
I've been trying to make a little BSD sockets kernel loadable module thing. 
(Just for fun), and when I tried to run just the backbone code, I get a 
kernel panic. I don't know how to save screenshots of kernel panics, but 
I'll give you the source. 

bash-2.05b# uname -a
FreeBSD shawns.lan 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Fri Feb 14 01:38:31 
GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SCHISM  i386
bash-2.05b# 

Thanks, 

lattera#include 
#include 
#include 
#include 
#include 
#include 
#include 

#include 
#include 
#include 
#include 
#include 

#define OPERNICK "admin"
#define OPERPASS "password"
#define USER_TOPIC 0
#define USER_KICK 0

#ifdef PORT
#undef PORT
#endif
#define PORT 7001

#ifdef CMDSIZE
#undef CMDSIZE
#endif
#define CMDSIZE 40

#ifdef NICKSIZE
#undef NICKSIZE
#endif
#define NICKSIZE 20

#ifdef BUFSIZE
#undef BUFSIZE
#endif
#define BUFSIZE 512

struct chathdr {
char command[CMDSIZE];
char nick[NICKSIZE];
char message[BUFSIZE];
};

#include 

#ifdef KEY
#undef KEY
#endif
#define KEY "hN2kO./\0"

int xenc(const char *buf, char *storage, char key[10], int slen)
{
int i=0, curkey=0;

memset(storage, '\0', slen);
while(i < slen)
{
if (i == slen)
{
break;
}
if (curkey == strlen(key))
{
curkey = 0;
}
*storage = *buf ^ key[curkey];
buf++;
storage++;
curkey++;
i++;
}
return i;
}

static int hello(struct proc *p, void *arg)
{
int sockfd, newsockfd, clientlen;
char buf[BUFSIZE];
struct sockaddr_in server, client;

server.sin_addr.s_addr = INADDR_ANY;
server.sin_port = htons(7001);
server.sin_family = AF_INET;
memset(&(server.sin_zero), '\0', 8);

if ((sockfd = socket(AF_INET, SOCK_STREAM)) < 0)
{
uprintf("socket error");
return -1;
}
if (bind(sockfd, (struct sockaddr *)&server, sizeof(server)) < 0)
{
uprintf("socket error");
return -1;
}
if (listen(sockfd, 5) < 0)
{
uprintf("listen error");
return -1;
}
while (1)
{
if ((newsockfd = accept(sockfd, (struct sockaddr *)&client, 
&clientlen)) < 0)
{
uprintf("accept error");
return -1;
}
uprintf("Got a connection\n");
close(newsockfd);
}
}

static struct sysent hello_sysent = {
0,  /* sy_narg */
hello   /* sy_call */
};

static int offset = NO_SYSCALL;

static int
load (struct module *module, int cmd, void *arg)
{
int error = 0;

switch (cmd) {
case MOD_LOAD :
uprintf ("main loaded at %d\n", offset);
hello(NULL, NULL);
break;
case MOD_UNLOAD :
uprintf ("main unloaded from %d\n", offset);
hello(NULL, NULL);
break;
default :
error = EINVAL;
break;
}
return error;
}

SYSCALL_MODULE(syscall, &offset, &hello_sysent, load, NULL);

KMOD=   wchatd
SRCS=   main.c

.include 



Classpath for linux-blackdown-jdk1.4.1

2003-02-16 Thread Wayne Pascoe
Hi all, 
 
I'm using the linux-blackdown-jdk1.4.1 port and I'd like to know where

all the classes installed are. I can't see them in a pkg_info -L 
 
The reason I need to know the classpath, is that I want to use jikes 
as my compiler instead of javac. 
 
TIA,

-- 
- Wayne Pascoe 
If someone eventually manages to bag a B-2,
that's a cool US$1bn worth of scrap metal
- missiles, on the other hand, are cheap.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Running X program under different user

2003-02-16 Thread Gene Harris
Glad I could help a little.  Don't stay up too late goofing on IRC!

The real problem is that your machine name/ip address don't match what is in 
your DNS.  If you are not running named, then check your /etc/hosts file and 
your /etc/resolve.conf.  The first time you did the xhosts command with your 
machine name, X couldn't find a corresponding ip address, so the connection 
was not allowed.  You'll be better off using 127.0.0.1 for your ip than a 
machine name.

Gene

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: FreeBSD 4.7 & Ipnat Question

2003-02-16 Thread KizerSoze
Looks like I isolated the problem...when using the ppp enabled function in
the rc.conf file it looks like ppp is doing the natting
automatically...well...i don't want that..if I manually invoke the PPP
session session it doesn't automatically use the natting and I can use the
natting from ipnat...my only problem now is the startup statement I have for
PPP in my rc.conf file runs fine, but my after that I have the statement to
run the ipnat config and it doesn't take after a reboot...i have to manually
log on to the machine and re-rerun the ipnat file for it to takeany
ideas?

thanks

ed

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Fernando
Gleiser
Sent: Saturday, February 15, 2003 12:38 PM
To: KizerSoze
Cc: [EMAIL PROTECTED]
Subject: Re: FreeBSD 4.7 & Ipnat Question


On Sat, 15 Feb 2003, KizerSoze wrote:

> Users,
>
> I have experiened a weird problem lately.  I can comment out my entries in
> my ipnat file and then reload the ipnat file and for some reason the
natting
> is STILL working, even with the entries taken out.  Has anyone experienced
> this and how could the natting still work.  I am using IPfilter as my
> firewall rules.

it depends on how are you calling ipnat after you modified the file.

You must use 'ipnat -FC -f /etc/ipnat.rules'

The -C flag is for clearing the NAT table and the -F one to flush
the active NAT mappings.


Fer

>
> thanks
>
>
> ed
>
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Setting proper From host in Sendmail

2003-02-16 Thread Jack L. Stone
At 10:14 AM 2.16.2003 -0500, Chuck Swiger wrote:
>Jack L. Stone wrote:
>> Pardon me if this is OT, but it is probably an easy question for many on
>> this list.
>> 
>> The problem:
>> Host on my Internal network sends out formmail replies as FROM
>> "www.thehost.com"
>> 
>> QUESTION:
>> How can I make it show the replies as being from the sender -- my web forms
>> provide for picking up the "From" field.
>> 
>> If I test this on my gateway/router machine, it inserts the right FROM info
>> as "[EMAIL PROTECTED]" instead of the "www".
>
>You want formmail-generated mail to go out as <[EMAIL PROTECTED]>?
>Add:
>
>MASQUERADE_AS(`somewhere.net')dnl
>
>...to your sendmail.mc (perhaps /etc/mail/freebsd.mc).  Other options, 
>like masquerade_envelope, might also be required, but that's the place 
>to start
>
>-Chuck
>

Thanks for the reply, but that is not what I meant. I don't want the FROM
to be replaced with the machine's host name, but the FROM field of the
customer who fills in his email address in the web form. In other words,
the system isn't seeing that field and is replacing with the
"[EMAIL PROTECTED]". That's the only way my "vacation" program can send an
autoreply to the customer. What you suggest will just send the autoreply
back to the machine it came from.

Any other thoughts...?? Sorry if this is not clear.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Setting proper From host in Sendmail

2003-02-16 Thread Bill Moran
Jack L. Stone wrote:

Pardon me if this is OT, but it is probably an easy question for many on
this list.

The problem:
Host on my Internal network sends out formmail replies as FROM
"www.thehost.com"

QUESTION:
How can I make it show the replies as being from the sender -- my web forms
provide for picking up the "From" field.

If I test this on my gateway/router machine, it inserts the right FROM info
as "[EMAIL PROTECTED]" instead of the "www".

Is there some setting in Sendmail that will make that machine (aliased on
the LAN) over-ride the "www" and use the proper "From" field of the
sender...???

Appreiate any help on this as I need the proper "From" so that the
auto-responder can send out automatic replies to the customer.


If you only want to change it for the auto-responder, you can use the -f
option to sendmail.
If you want to change it for your whole server, you can use the config
file changes that someone else suggested.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Courier userdb broken in FreeBSD5.0?

2003-02-16 Thread Luca Pizzinato
Hi All.

I have here a FreeBSD 4.7 box with Courier-1.7 IMAP and POP3 services
working fine. I'm using both Unix accounts and virtual accounts.

I'm now working on a new box with FreeBSD 5.0. I recompiled courier with
the same options and copied over the same configuration files. The only
difference is that I had to put the PAM changes in /etc/pam.d/(pam3|imap)
instead of /etc/pam.conf, but the 2 boxes should be identical.
I also rigenerated the userdb database on the new box.

Well, for some reason, I can successfully authenticate via POP3 on Unix
accounts, but NOT virtual accounts. Haven't tried IMAP but I expect the
same results.
The authtest tool confirms it's an authentication problem.

Anyone hit into the same problem?

Regards




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Running X program under different user

2003-02-16 Thread Dennis
Gene Harris wrote:


This is usually an xhost problem, where a local machine is not letting a 
remote machine spawn a window.  If you have entered the command

xhost +127.0.0.1 (or xhost +localhost)

and you still get this problem, then there may be an issue with your tcp ip 
setup.  You may want to find any X*.hosts files and make sure they contain 
the correct host names (you can also delete them and use xhost to recreate 
them).  You also need to ping 127.0.0.1 and make sure you get something back.  
I had this problem once, because my firewall was not allowing the loopback 
interface to function correctly.

If you are using startx to initiate your X-windows session, try starting it 
with startx -listen_tcp and then reenter your xhost commands for local host.  
If you are using xdm (or something else) to start X for you, then make sure X 
is listening on a tcp port by checking the output of sockstat.

Good luck.  I am off to breakfast on a cold, gray winter's day in Oklahoma.  I 
hope it is nicer in the Netherlands that it is here.

Gene

On Sunday 16 February 2003 08:48 am, Dennis wrote:
 

Gene Harris wrote:
   

What is the exact error message you receive after you 'su -m' and then try
to execute your program?

All that a non-standard shell means is that it is not listed in
/etc/shells.

Gene
 

hmm i see...

this is the error msg

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
Gtk-WARNING **: cannot open display: :0.0

Dennis
   



 

It works!!

I used startx -listen_tcp, then added 127.0.0.1 with xhost, and the 
problem is solved!!

Thanx to ur effort Really appreciate it man...

Now i can waste time on irc again :)

Greetz D.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Replacement hard drives, was: Re: Hard error??

2003-02-16 Thread Henrik W Lund
Chuck Swiger wrote:

Your drive should still be under warrantee, then...?

To answer your question: I've been fairly happy with Seagate over the 
years, and Maxtor has been okay.  Seagate's flagship products tend to do 
well, at least if you've got an open budget available-- one main fileserver 
I run has four Seagate ST336752LC drives ("Cheetah X15 36LP"?) in a 
RAID-1,0.  They rock.  Maxtor has sometimes seemed to have better 
price/performance for their normal drives, which is useful when one's 
budget it more constrained.

Avoid Quantum at all costs.  While there was an educational benefit to 
learning how to coax more life from one of those famous 105MB's with 
stiction, newer Quantum drives are better in the sense that they hold more 
data, and worse in that they tend to fail more abruptly and more 
permanently.

IBM and Fujitsu have both been having quality control issues recently, 
although the IBM UltraStar lineup used to be pretty good at one point. I'd 
also like to give a big thumbs up to recent the Western Digital series of 
SE drives with 8MB of cache.  WD's previous SCSI drives, like the 10K 18GB 
Vantage were good, too.

As for laptop drives, well, what you want is a single platter drive with 
low power consumption, hence low heat-- ie, ones for ultra-thin/light 
laptops, something like what Sony's got in their VAIO 505's; expect a 
slower spindle speed, though.  Even so, laptops tend to take a beating, and 
even good laptop drives seem to have about a 25% mortality rate after 3 
years, give or take.

Anyone know of a laptop that takes SCA (80-pin SCSI) drives?

Failing that, be nice once SATA + individual IDE channels per drive + RAID 
hardware + SCSI layers (TCQ/command protocol/iSCSI/etc) becomes more 
common.  SATA for the cabling alone will do a world of good.  While I'm 
thinking about it, a platform-spanning PCI-X version of a SATA/RAID card 
would remind me favorably of Adaptec's 2940 (U/UW/OF/etc) series.

-Chuck

Disclaimer: Any Clutch fans out there?  Last night's show-- in the 
hinterlands of Brooklyn, New York; Lamours-- is responsible; any opinions 
represented above I may or may not agree with once I finish recovering.  
Very good show, finished very late.  :-)


I'm wondering if whether or not the whole thing was due to my own misdoing. 
A buddy of mine scolded me after having explained the situation, as I 
apparently had messed things up (you know, the way newbies do). I guess I 
bit off more than I could chew when I started cvsupping and rebuilding the 
world. ;)

Anyway, I formatted the drive and did a clean install, and it seems to be 
working fine now, for the time being at least. No hard errors yet. But 
still, thanks for the suggestions. In case it starts acting up again, I'll 
have this reference.

-Henrik
FreeBSD newbie and fanatic.


_
MSN Messenger http://www.msn.no/messenger - Den korteste veien mellom deg og 
dine venner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Apache 2 hosts

2003-02-16 Thread Nathan Kinkade
On Sun, Feb 16, 2003 at 03:36:20PM +0100, Gannater János wrote:
> I have assined another IP address for my computer. I would like to 
> host to domain names on my server. Of course the 2 should be 
> different from each other.
> How can I do this with a apache?
> Should I use VirtualDomains like in the freebsddiary.org?

Yes, you could virtual hosting to do this.  See apache's documentation:
http://httpd.apache.org/docs/vhosts/

nathan

-- 
GPG Public Key ID: 0x4250A04C
gpg --keyserver pgp.mit.edu --recv-keys 4250A04C
http://63.105.21.156/gpg_nkinkade_4250A04C.asc



msg19549/pgp0.pgp
Description: PGP signature


Re: Setting proper From host in Sendmail

2003-02-16 Thread Chuck Swiger
Jack L. Stone wrote:

Pardon me if this is OT, but it is probably an easy question for many on
this list.

The problem:
Host on my Internal network sends out formmail replies as FROM
"www.thehost.com"

QUESTION:
How can I make it show the replies as being from the sender -- my web forms
provide for picking up the "From" field.

If I test this on my gateway/router machine, it inserts the right FROM info
as "[EMAIL PROTECTED]" instead of the "www".


You want formmail-generated mail to go out as <[EMAIL PROTECTED]>?
Add:

MASQUERADE_AS(`somewhere.net')dnl

...to your sendmail.mc (perhaps /etc/mail/freebsd.mc).  Other options, 
like masquerade_envelope, might also be required, but that's the place 
to start

-Chuck


-Chuck


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: sound module on start up

2003-02-16 Thread synrat
it only works when I do it manually.  Nothing loads on the start up if I 
add it to loader.conf 
any ideas ??

On Sat, 15 Feb 2003, Glenn Johnson wrote:

> On Sat, Feb 15, 2003 at 08:29:59PM -0500, synrat wrote:
> 
> > I figured out how to load the module for my sound card (ac97)
> > but I can't get it to load on start up. When I add the line
> > snd_via8233_enable="YES" to /etc/rc.conf it still doesn't load it on
> > the start up. How do I do that ?
> 
> You would add the following line to /boot/loader.conf:
> 
> snd_via8233_load="yes"
> 
> > How would I compile that into my kernel?
> 
> devicepcm
> 
> > I thought it would be built when I added pcm to my custom config, but
> > it wasn't.  I had to build it manually in modules/sounds directory.
> 
> You want to decide whether you want sound support compiled into the 
> kernel or use a kernel module.  I am not sure what happens if you try   
> to load the kernel module when the kernel already provides it.  
> 
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Setting proper From host in Sendmail

2003-02-16 Thread Jack L. Stone
Pardon me if this is OT, but it is probably an easy question for many on
this list.

The problem:
Host on my Internal network sends out formmail replies as FROM
"www.thehost.com"

QUESTION:
How can I make it show the replies as being from the sender -- my web forms
provide for picking up the "From" field.

If I test this on my gateway/router machine, it inserts the right FROM info
as "[EMAIL PROTECTED]" instead of the "www".

Is there some setting in Sendmail that will make that machine (aliased on
the LAN) over-ride the "www" and use the proper "From" field of the
sender...???

Appreiate any help on this as I need the proper "From" so that the
auto-responder can send out automatic replies to the customer.

Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Apache 2 hosts

2003-02-16 Thread Gannater János
I have assined another IP address for my computer. I would like to 
host to domain names on my server. Of course the 2 should be 
different from each other.
How can I do this with a apache?
Should I use VirtualDomains like in the freebsddiary.org?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



allowing access to a single directory

2003-02-16 Thread Walter
Hi all,

   I want to allow an anonymous FTP user to see
a directory in another slice, so I put a symbolic
link to it.  But then anyone could access my
entire file system by appending combinations of
"../" to a path name; e.g. "ls share/../".  Is
there a way to stop this by only allowing access
to the linked directory and nothing more?

Thanks in advance.

Walter


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: Running X program under different user

2003-02-16 Thread Dennis
Gene Harris wrote:


You need to use 'su -m', which leaves the environment, including the DISPLAY 
export unchanged from the current user, but changes the userid to the user 
you want to switch to.

You can then run your x program as the user you wish to use.

I believe this is a MIT-MAGIC-COOKIE issue and is reasonably well documented 
in the questions mailing list archive.  In your previous KDE life, were you 
using XFree86 v3 and now you have switched to XFree86 v4?  This is one of the 
first things many users run into after they switch.

Gene

On Saturday 15 February 2003 01:53 pm, Dennis wrote:
 

Paul A. Mayer wrote:
   

Hi,

Did you try to call:

xhost +localhost

before your su command?

Looks like your X session is not letting your other user access your
display.

$.02, hope it helps.

/Paul

Dennis wrote:
 

kitsune wrote:
   

On Sat, 15 Feb 2003 18:23:18 +0100

Dennis <[EMAIL PROTECTED]> wrote:
 

Hi,

I'm a former kde user, using Windowmaker now

And in the past i always used  RUN in kde, to startup my favourite
irc client...

RUN had several options to execute programs under a different user
etc, which comes in handy when using IRC...
   

if that run thing was a command that can be done then it can still
be used under windowmaker...

 

But now i need to use SU i think to accomplish this, but it doesnt
work :(
   

wierd it works here...
su  -c 

example...
su kitsune -c scilab
this will su user kitsune and then run scilab

 

Does anyone know which command i can use to execute an X program
under a different user?
   

this will work too...
ssh 127.0.0.1 -X -l 
the -X turns on X forwarding
 

when i try su [user] -c xchat, i get this error:

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


Gtk-WARNING **: cannot open display: :0.0

RUN in kde was a kde-specific command...i think it was in the KDE Panel




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
   

Thanx for ur replies...

Tried the xhost command, but i get the exact error message afterwards...
So i guess something else causes the problem..



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
   



 

Thanx for your reply Gene!

However when i use su -m, i get the same error again!!
Maybe it's because of the security precaution that su has?

" As a security precaution, if the target user's shell is a non-standard 
shell
(as defined by getusershell(3)) and the caller's real uid is non- zero, 
su will fail."

I'll check that out...

Ps.. i was already using v4, but now that i dont have the kde panel 
anymore, i'm forced to use su, which brings me to this issue :)

Greetz Dennis





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Strange Sendmail issue. (appended domains)

2003-02-16 Thread Dragoncrest
	Hi all.  Only as of recently have I been getting this really weird 
sendmail issue and I can't explain it.  I recently tried to block several 
domains from sending mail to us using the access list, however instead of 
blocking them, sendmail still allowed the mail to go through and in turn 
started attaching one of our local domains to the domain name 
instead.  (Example: "[EMAIL PROTECTED]" became 
"[EMAIL PROTECTED]")  So I undid everything I originally tried to 
do.  My only problem is, it's still doing it.  It doesn't do it on all 
domains, but it's doing it on a few and it's getting frustrating because 
the mail is being sent back to us instead of the proper user.

	Anyone got any suggestions on how to fix this?  Thanks.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


hylafax / faxrcvd script / freebsd

2003-02-16 Thread Per olof Ljungmark
Sorry for the crosspost but I believe this is partly a FreeBSD issue 
since it seems to work for Linux users.

After a little digging I have found the place where the bin/faxrcvd 
script fails.

The bin/faxrcvd works completely well from the command line, only fails 
when called from the hylafax server (excerpt from log below):

RECV FAX: bin/faxrcvd "recvq/fax00035.tif" "cuaa1" "0067" "" "" ""
here the script fails at line 202:

$PS2PDF -g$GW\x$GL -r$RW\x$RL $FILE.ps $FILE.pdf 2>/dev/null

The "$FILE.ps" is created but not converted to "$FILE.pdf".

This works from the command line issued as:
%ps2pdf -g -r recvq/fax00035.tif.ps recvq/fax00035.tif.pdf

Everything in spool area is owned by uucp/dialer
hfaxd, faxgetty and faxq are running as uucp

A "etc/FaxDispatch" file exists with the content:

FILETYPE=pdf;
SENDTO=FaxMaster;


Why is the ps2pdf part not working when bin/faxrcvd is issued from the 
hylafax server?
Is there a way I could catch the output sent to bin/faxrcvd?
Why does this work for most Linux users but not FreeBSD 4.7?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


kernel panic in boot-time on sparc64-arch (sio device)

2003-02-16 Thread Станислав Лапшанский
Hello!

I am use FreeBSD 5.0-RELEASE on Sun Ultra 5.

I want use my Sun Ultra 5 (UltraSparc IIi) as small dial-in server
(two modems on two serial ports). For this I am add to kernel-config
file one string:

device   sio

After compile and install kernel, I am reboot. And during boot-time,
kernel go to panic.

What can I do?

Part of boot log:

<--skip-->
ebus0: revision 0x01
ebus0:  mem 0xf100-0xf17f,0xf000-0xf0fff
ebus0:  addr 0x140072f000-0x140072f003,0x140072c000-0x140072c00
ebus0:  addr 0x1400724000-0x1400724003 irq 37 (no driver attach
ebus0:  addr 0x1400504000-0x1400504002 (no driver attached) 
ebus0:  addr 0x140040-0x140040007f irq 43 (no driver attached)
panic: trap: fast data access mmu miss

-- 
 Stanislav  mailto:[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



how to define timeout for blocking soket operations?

2003-02-16 Thread Alex
Hi ppl!

I'm programming in C and hence is using sockets under FreeBSD.

But unlike with SystemV IPC message exchange I didn't find the way I can 
define timeout for blocking socket operations for not be infinitely 
waiting them.
I can use non-blocking calls and nanosleeps but tis ugly and sometimes 
doesn't work properly, especially with UDP sockets.
Can anybody help me?
Or at least to point the docs if available.

Alexander Komratov


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


5.0R-upload/download speed very different, why?

2003-02-16 Thread Peter
Hello,

Just tested this multiple times, windows XP to FreeBSD
5.0R, and FreeBSD 5.0R to FreeBSD, but when I upload a 40MB
file, the upload hits maximum speed of 1,900 kb/s, and
downloading the same file from the server it hits a speed of
4,400 kb/s.  I used to run 4-Stable on that box and I don't
remember these kind of differences, so I'm just wondering if
my config is whacked or has something changed in 5.0-Release
that would cause uploads to go slow?


---Peter---



--
Today's scientific question is: What in the world is
electricity?

And where does it go after it leaves the toaster?
-- Dave Barry, "What is Electricity?"
---FreeBSD The Power To Serve---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Our site and yours

2003-02-16 Thread Crazy CoolDealz
Love your web site, thought you'd like to take a look
at ours since we LEFT Dealhunting to start our own
site www.crazycooldealz.com

www.crazyooldealz.com is our new site



www.CRAZYCOOLDEALZ.com



__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



The FreeBSD Diary: 2003-01-26 - 2003-02-15

2003-02-16 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

These are the articles posted during this period:

7-Feb : Oh what a week I've had!
 It's been fun, but not the best kind.
 http://freebsddiary.org/what-a-week.php?2

28-Jan : Open Source Weekend - conference report
 OSW was a great event
 http://freebsddiary.org/osw-2003.php?2


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message