php5 on a system upgraded from FBSD5.4R to FBSD6.3-p3

2008-10-02 Thread FreeBSD Daemon
dear list,

i just upgraded my system from 5.4R to 6.3-p3
when i now try to install php5 w/ apache integration (apache module) i
get the following error when i try to start apache20:

Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol __res_ninit

I googled but neither of the solution provided by the net community
works ... i would really appreciate help.

Thanks in advance!

Zheyu

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


suggested size of /var/mail

2008-01-27 Thread FreeBSD Daemon

Dear list,

I am currently setting up a server which should include email service.

Are there any smart ways to decide how to size /var/mail.
I plan to put it on a seperate partition ... or shouldn't I?

TIA for any related tips!

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


Perforce access

2007-03-09 Thread FreeBSD Daemon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dear list,

is it prossible (for a normal mortal, aka non-committer ) to access the
the perforce repository to get code?

i'd be interested in the mips code

TIA

Zheyu Shen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFF8YbvTqd8JUnGnQ0RAp8sAJ4u8xm5fSKrHIezyYoU6KEOByjlwQCgnYBv
4tSuEI/F0IlLrEdgYqC6xqc=
=+CvU
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ext3 support

2007-03-08 Thread FreeBSD Daemon
dear list,

does freebsd 6.x support the ext3 filesystem?

TIA

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


Re: Remote Desktop Connection

2007-01-24 Thread FreeBSD Daemon

Grzegorz Pluta wrote:

Hi.
Id like to asj you guys if you used any remote desktops with freebsd? Which
client/server would you recommend, and why? Witch wich desktop env have you
been using it?

Cheers,
GregZX


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

  

I use net/tightvnc port both as client ans server.
Works file for me.

I am running a lightweight WM ... aewm++ and pwm.

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


apache2 mod_php5

2006-05-24 Thread FreeBSD Daemon
Dear list,

I found this warning: 
http://terra.di.fct.unl.pt/docs/php/install.apache2.php.htm
about using apache2 with php in production environment.

I planed to use the www/apache2 + www/mod_php5 ports ... should I worry and
rather stick with apache 1.3?

TIA

Zheyu Shen (沈哲宇)

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


^M

2006-05-02 Thread FreeBSD Daemon
Dear list,

How can I non-manually remove the ^M line breaks from my text files

TIA

zheyu

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


memtest86 memory test

2006-04-19 Thread FreeBSD Daemon
Dear list

Is there a memory test suite other them memtest86/memtest86+

TIA

zheyu

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


infos about KV15U monitor

2005-10-11 Thread FreeBSD Daemon
Dear list,

I just got a Harvest KrystalView 15'' TFT monitor (KV15U) our computer lab
wanted to throw away.
Unfortunately all documentation is gone and I can't find technical
information on it on the web.

1) Could anyone help me with some technical information like hsync,
vrefresh, etc.

2) The monitor can be turned 90 degrees (landscape -- portrait). How can I
set up X to use that feature?

TIA

zheyu


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


USB Bluetooth dongle recommendation

2005-04-20 Thread FreeBSD Daemon
dear list,
i will have to work on a project involving bluetooth technologie, for 
this i will have to get me a usb bluetooth dongle.
i would be very happy to receive recommendations on devices that work 
esecially well (under FreeBSD).

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


smartmontools question

2005-04-19 Thread FreeBSD Daemon
dear list,
i just installed smartmonutils from ports on a 4.11-release box.
when i run
# /usr/local/sbin/smartctl -a ad0
I get the error message
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
[snip]
Smartctl open device: ad0 failed: Inappropriate ioctl for device
the same with the second disk in the system (ad2).
the same if i user /dev/ad[02]+.
what might be the problem?
TIA

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


Re: smartmontools question

2005-04-19 Thread FreeBSD Daemon
Andrea Venturoli wrote:
dima wrote:
and moreover, it must be supported by ATAng which presented only in 
5.x branch

Would it work with SCSI on 4.11?
 bye  Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


No, both ATA (Seagate ST3120026A), see /var/run/dmesg.boot:
[...]
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: ST3120026A/3.54 ATA-6 disk at ata0-master
ad0: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, BIOSDMA
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
Creating DISK ad2
ar: FreeBSD check1 failed
ad2: ST3120026A/3.06 ATA-6 disk at ata1-master
ad2: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, BIOSDMA
ad2: piomode=4 dmamode=2 udmamode=5 cblid=1
[...]
The M/B is a Supermicro P4SCT:
http://www.supermicro.com/products/motherboard/P4/875/P4SCT.cfm
Zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't change MAC address of my WAG311

2005-04-12 Thread FreeBSD Daemon
dear list,
I am operating a Netgear WAG311 (Atheros AR5212) under FBSD 5.3 Release.
I tried to change the MAC address of the device using
   root# ifconfig ath0 ether aa:bb:cc:dd:ee:ff
which changed the MAC address in the ifconfig ath0 output. But wicontrol 
-i ath0 still showed the old (original) MAC address and that MAC address 
also is being used on the network.

Trying to change the MAC address using
   root# wicontrol -i ath0 -m aa:bb:cc:dd:ee:ff
results in a
   wicontrol: SIOCSWAVELAN: Invalid Argument
error message.
Am I doing something wrong?
TIA
zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't change MAC address of my WAG311

2005-04-12 Thread FreeBSD Daemon
Ben Pratt wrote:
I would forward this to the list but I don't want to get the bounces 
for 3 days because I can't get reverse lookup going.

I've attached a script that you should try.
Ben
FreeBSD Daemon wrote:
dear list,
I am operating a Netgear WAG311 (Atheros AR5212) under FBSD 5.3 Release.
I tried to change the MAC address of the device using
   root# ifconfig ath0 ether aa:bb:cc:dd:ee:ff
which changed the MAC address in the ifconfig ath0 output. But 
wicontrol -i ath0 still showed the old (original) MAC address and 
that MAC address also is being used on the network.

Trying to change the MAC address using
   root# wicontrol -i ath0 -m aa:bb:cc:dd:ee:ff
results in a
   wicontrol: SIOCSWAVELAN: Invalid Argument
error message.
Am I doing something wrong?
TIA
zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

#!/usr/local/bin/bash
# Version 2.1
# By Ben
# Thanks to Venom for suggesting Apple and joining FreeBSD and Linux
echo What interface? [ath0]
read interface
if [ $interface =  ]
then
 interface=ath0
fi
company=0
until [ $company -eq 1 -o $company -eq 2 -o $company -eq 3 -o $company -eq 4 -o 
$company -eq 5 -o $company -eq 6 ]; do
 echo Card Company to impersonate?
 echo  1) 3Com
 echo  2) Apple
 echo  3) D-Link
 echo  4) Intel
 echo  5) Linksys
 echo  6) Netgear
 read company
done
front=
back=
new=
case $company in
'1')
 # Random 3Com Card
 number=0
 while [ $number -le 0 ]
 do
   number=$RANDOM
   let number %= 14
 done
 echo Number: $number
 case $number in
 '1')
   front=00:01:02:
   ;;
 '2')
   front=00:01:03:
   ;;
 '3')
   front=00:10:4B:
   ;;
 '4')
   front=00:10:5A:
   ;;
 '5')
   front=00:20:AF:
   ;;
 '6')
   front=00:50:04:
   ;;
 '7')
   front=00:50:DA:
   ;;
 '8')
   front=00:60:08:
   ;;
 '9')
   front=00:60:8C:
   ;;
 '10')
   front=00:60:97:
   ;;
 '11')
   front=00:A0:24:
   ;;
 '12')
   front=02:60:8C:
   ;;
 '13')
   front=02:C0:8C:
   ;;
  * )
   echo Error
   exit 0
   ;;
 esac
 ;;
'2')
 # Random Apple Card
 number=0
 while [ $number -le 0 ]
 do
   number=$RANDOM
   let number %= 6
 done
 echo Number: $number
 case $number in
 '1')
   front=00:05:02:
   ;;
 '2')
   front=00:30:65:
   ;;
 '3')
   front=00:50:E4:
   ;;
 '4')
   front=00:A0:40:
   ;;
 '5')
   front=08:00:07:
   ;;
  * )
   echo Error
   exit 0
   ;;
 esac
 ;;
'3')
 # Random D-Link Card
 front=00:05:5D:
 ;;
'4')
 # Random Intel Card
 number=0
 while [ $number -le 0 ]
 do
   number=$RANDOM
   let number %= 9
 done
 echo Number: $number
 case $number in
 '1')
   front=00:02:B3:
   ;;
 '2')
   front=00:03:47:
   ;;
 '3')
   front=00:04:23:
   ;;
 '4')
   front=00:07:E9:
   ;;
 '5')
   front=00:0C:F1:
   ;;
 '6')
   front=00:0E:0C:
   ;;
 '7')
   front=00:11:11:
   ;;
 '8')
   front=00:20:7B:
   ;;
  * )
   echo Error
   exit 0
   ;;
 esac
 ;;
'5')
 # Random Linksys Card
 number=0
 while [ $number -le 0 ]
 do
   number=$RANDOM
   let number %= 4
 done
 echo Number: $number
 case $number in
 '1')
   front=00:04:5A:
   ;;
 '2')
   front=00:06:25:
   ;;
 '3')
   front=00:0C:41:
   ;;
  * )
   echo Error
   exit 0
   ;;
 esac
 ;;
'6')
 # Random Netgear Card
 front=00:09:5B:
 ;;
'7')
 # Random Card
 ;;
esac
count=0
colon=0
colons=1
while [ $count -lt 6 ]
do
Numbers=0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
# Read into array variable.
number=($Numbers)
# Count how many elements.
num_numbers=${#number[*]}
new=${number[$((RANDOM%num_numbers))]}
back=$back$new
if [ $colon -gt 0 ]  [ $colons -lt 3 ]
then
 new=:
 back=$back$new
 let colon-=1
 let colons+=1
else
 let colon+=1
fi
let count+=1
done
address=$front$back
OS=0
until [ $OS -eq 1 -o $OS -eq 2 ]; do
 echo What OS??
 echo  1) FreeBSD
 echo  2) Linux
 read OS
done
case $OS in
'1')
 ifconfig $interface down
 ifconfig $interface link $address
 ifconfig $interface up
 ;;
'2')
 ifconfig $interface down
 ifconfig $interface ether $address
 ifconfig $interface up
 ;;
* )
 exit 0
 ;;
esac
echo Your new MAC is: $address
exit 0
 

Well, thanks for the script, BUT as I wrote ifconfig is working.
The misunderstanding was probably cause by me not explicitly pointing 
out that aa:bb:cc:dd:ee:ff stands for a real MAC (00:01:f4:xx:yy:zz) 
and is not to be taken literally. SORRY!

Again, ifconfig is working and the MAC changes in the ifconfig output 
... athough the card doesn't honour the change and keeps on using the 
old (original) MAC. wicontrol dosn't even hounour the change in its 
output and keeps displaying the Old (original) MAC. And trying to change 
the MAC using wicontrol results in the error wicontrol: SIOCSWAVELAN: 
Invalid Argument.

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


ath(4) sysctl tuneables

2005-04-08 Thread FreeBSD Daemon
dear list,
I own a ath(4) card and would be interested in information about the the 
meaning of these ath sysctl tueables.
Which can be changed? Which values can these changeable tuneables take?

hw.ath.hal.dma_brt: 2
hw.ath.hal.sw_brt: 10
hw.ath.hal.swba_backoff: 0
hw.ath.dwell: 200
hw.ath.calibrate: 30
hw.ath.outdoor: 1
hw.ath.countrycode: 0
hw.ath.regdomain: 0
hw.ath.debug: 0
hw.ath.dump:
If hw.ath.debug is set then here do the debug messages go?
TIA
zheyu
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


loader.conf variables for vinum

2004-09-02 Thread FreeBSD Daemon
Dear list,
 
I am using 4.10R and want to set up a mirrored / using vinum.
 
I am confused by the note in section 17.9.1 of the handbook stating that
the following paragraphs only apply to 5.x and refer to 17.9.5 for 4.x
configuration.
 
Do I have to set just vinum_load, vinum.drives, and vinum.root in 4.x?
Or do I have to set vinum.autoload, too?
 
TIA
 
Zheyu
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


incorrect disk geometry warning using 3ware controler

2004-08-21 Thread FreeBSD Daemon
Dear list

I bought a 3ware 7500-4LP controller and 4x 200GB IDE disks to go with
it.
Now installing FreeBSD 4.10 I get a warring that the disk geometry
(72963cyls/255heads/63sectrors) is wrong.
Can I ignore this warning safely?

TIA

zheyu

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


mod_perl ... mod_perl2

2004-08-15 Thread FreeBSD Daemon
Dear list,
 
What is the difference between mod_perl and mod_perl2 in the port
collection of 4.10?
 
TIA
 
zheyu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MPS version control

2004-08-06 Thread FreeBSD Daemon
Dear list
 
I just bought a Supermicro P4SCT.
The BIOS has an option called MPS version of the operating system.
Could someone tell me what the MPS version of FreeBSD 4.10 is, and maybe
what MPS actually means?!
 
TIA
 
zheyu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


US BC001

2004-07-26 Thread FreeBSD Daemon
Dear list

I got a low end network card (chip: Surecom BC001). Plugged into a PCI
slot it is not recognized by FreeBSD 4.10.
I googled and found that the producer gives a RealTek 8139 driver to it
(http://www.lantech.com.tw/eng/products/index.php?mode=viewid=12PHPSES
SID=e828906aae1ab4f3f63a0069b5e9eed8), but as mentioned it does not show
up as rl.
Can someone help me?

TIA

zheyu

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


Poenixtec Ltd. UPS

2004-07-23 Thread FreeBSD Daemon
Does someone have experience with the UPS series of Phoenixtec Ltd. (
http://www.phoenixtec.com.tw/en/index.htm
http://www.phoenixtec.com.tw/en/index.htm) und FreeBSD 4.x?
APC is hard to come by around here.
 
TIA
 
zheyu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]