FreeBSD 6.3/7.1 and Linux disk performance test

2009-02-07 Thread Omer Faruk Sen
Hi, I have installed a new server to test performance results. BIOS and RAID BIOS is the latest in this server ( Raid controller is a Intel SRCSASBB8I ) # dmesg |grep -i mfi mfi0: LSI MegaSAS 1078 port 0x2000-0x20ff mem 0xb8b0-0xb8b3,0xb8b4-0xb8b7 irq 16 at device 0.0 on pci10

Re: insert new line in files

2009-02-07 Thread Wojciech Puchar
I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); write a script: #!/usr/local/bin/bash (a=0 while [ $a -lt 36 ];do read line echo

Re: disk recovery problem II

2009-02-07 Thread perryh
huff@ newfs /dev/da3a /dev/da3a: 78167.2MB (160086512 sectors) block size 16384, fragment size 2048 using 426 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. super-block backups (for fsck -b #) at: 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976, ...

DNS Auto in KPPP in FreeBSD 7.1

2009-02-07 Thread Dmitry
Hi to All! Sorry for my bad English, i am beginning FreeBSD user from Russia..___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: insert new line in files

2009-02-07 Thread Mike Clarke
On Friday 06 February 2009, Adam Vande More wrote: Progress is being made as it works in the test now with the \\ however I'm running into more things I don't understand in regards to what I need to escape in my input string. Whether to use \ or \\ will depend on your shell. You can avoid

10gb network interface suggestions

2009-02-07 Thread Omer Faruk Sen
Hi, I want to ask if anyone here in this list has any experience with 10gbE on FreeBSD? My questions: 1) Which 10gbE to use? I see that intel has a good support for 10gbE on FreeBSD with its own driver for FreeBSD:

edit users quota in a script

2009-02-07 Thread Nicolas Letellier
Hello. I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. I don't find informations in edquota(8) manpages

Re: differences of disk usage between du and quota binaries

2009-02-07 Thread Nicolas Letellier
On Fri, 6 Feb 2009 20:12:56 + RW rwmailli...@googlemail.com wrote: On Fri, 6 Feb 2009 20:13:17 +0100 Nicolas Letellier nico...@nicoelro.net wrote: Hello. I use FreeBSD 6.3. I set quota to my fs. But, when I print disk usage with du -sh, I have: .. Why this difference?

Re: edit users quota in a script

2009-02-07 Thread Manolis Kiagias
Nicolas Letellier wrote: Hello. I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the process can not be automaticated. And cannot be part of my script. I don't find

Re: edit users quota in a script

2009-02-07 Thread Nicolas Letellier
On Sat, 07 Feb 2009 14:09:13 +0200 Manolis Kiagias sonic200...@gmail.com wrote: Nicolas Letellier wrote: Hello. I use a script to create automatically my users (with pw, and mkdir, etc...). I use quota, and I have to excute 'edquota -u user', and enter quota informations. So, the

Re: FreeBSD 6.3/7.1 and Linux disk performance test

2009-02-07 Thread Robert Watson
On Sat, 7 Feb 2009, Omer Faruk Sen wrote: I have installed a new server to test performance results. BIOS and RAID BIOS is the latest in this server ( Raid controller is a Intel SRCSASBB8I ) Hi Omer-- Comparing I/O and file system performance is a bit fraught with peril, especially given

Re: insert new line in files

2009-02-07 Thread William Gordon Rutherdale
Wojciech Puchar wrote: I want to insert a new line of text at a certain position in certain files recursively under a directory. More specifically, I want text like this: include('/usr/home/www/imp-sites/default_inventory.php'); write a script: #!/usr/local/bin/bash (a=0 while [ $a -lt 36

Snag in installing KDE4; need libgs but where is it

2009-02-07 Thread af300wsm
Hi, I decided last night to try and install KDE4. I left it compiling to go to bed. When I got up, I saw that it had his this snag: checking for vasprintf... yes checking for gsapi_new_instance in -lgs... no configure: error: You need libgs in order to compile libspectre I can't find a

Re: Snag in installing KDE4; need libgs but where is it

2009-02-07 Thread Glen Barber
af300...@gmail.com said: Hi, I decided last night to try and install KDE4. I left it compiling to go to bed. When I got up, I saw that it had his this snag: checking for vasprintf... yes checking for gsapi_new_instance in -lgs... no configure: error: You need libgs in order to compile

#2 DNS Auto in KPPP in FreeBSD 7.1

2009-02-07 Thread Dmitry
Hi to All! Sorry for my bad English. My problem: I am have 3G/EDGE modem ZTE MF622+ and FreeBSD 7.1. In using KPPP (KDE 3.5.10) my modem can't connect to EDGE provider, because in KPPP not enabled option Auto DNS setting. If manually set this option, that says tech support of provider, pppd

Strange and weird, probably simple, aim DL

2009-02-07 Thread Akenner
Hi list, I was doing some searching on the FreeBSD FTP server where the ports are installed, and I noticed AIM was available. I use AIM and so I did this: pkg_add -r aim It downloaded the package, finished up, and it was done. Here is the thing; I can't run it. When I type aim from a

Re: 10gb network interface suggestions

2009-02-07 Thread Wojciech Puchar
But also I am open to other brands. Especially If anyone has experience on that this matter would be very very helpful. I have seen that Sun has quad 10gbE adapters: http://www.sun.com/products/networking/ethernet/10gigethernet/index.xml I am not sure if FreeBSD supports that? could you please

Re: Re: Snag in installing KDE4; need libgs but where is it

2009-02-07 Thread af300wsm
On Feb 7, 2009 6:24am, Glen Barber glen.j.bar...@gmail.com wrote: af300...@gmail.com said: Hi, I decided last night to try and install KDE4. I left it compiling to go to bed. When I got up, I saw that it had his this snag: checking for vasprintf... yes checking for

KDE4 build fails for language issues

2009-02-07 Thread af300wsm
Hi, Ok, the next thing in the saga of getting KDE4 installed, I hit this when compiling KDE4: In file included from /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete type 'struct

Re: Slow DNS (and host: connection timed out)

2009-02-07 Thread Lokadamus
David Naylor wrote: On Friday 06 February 2009 13:47:47 Lokadamus wrote: David Naylor wrote: I don't quite understand your question. See below for the network topology: ISP (host WinGate DNS, only proxy and socks connections allowed out) | Wireless connection to my gateway Server

make installworld fails

2009-02-07 Thread Valentin Bud
elo list, just updated a newly installed freebsd 7.1 system and it crashed here: === rescue (install) === rescue/librescue (install) === rescue/rescue (install) install -s -o root -g wheel -m 555 rescue /rescue install: rescue: No such file or directory *** Error code 71 Stop in

Re: KDE4 build fails for language issues

2009-02-07 Thread Glen Barber
af300...@gmail.com said: In file included from /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete type 'struct TagLib::Tag' /usr/local/include/taglib/tfile.h:31: error: forward

Re: make installworld fails

2009-02-07 Thread Glen Barber
Valentin Bud said: elo list, just updated a newly installed freebsd 7.1 system and it crashed here: === rescue (install) === rescue/librescue (install) === rescue/rescue (install) install -s -o root -g wheel -m 555 rescue /rescue install: rescue: No such file or directory *** Error

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Glen Barber
Akenner said: basic Xterm, it says it can't be found. If I try running it from a run dialog it won't run from there either. Have you `rehash'ed ? -- Glen Barber ___ freebsd-questions@freebsd.org mailing list

Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud valentin@gmail.com wrote: elo list, just updated a newly installed freebsd 7.1 system and it crashed here: === rescue (install) === rescue/librescue (install) === rescue/rescue (install) install -s -o root -g wheel -m 555 rescue /rescue

Re: make installworld fails

2009-02-07 Thread Valentin Bud
Hello, This are the parts from /etc/make.conf regarding system build options: # --- system build options WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_LPR=yes WITHOUT_RCMDS=yes WITHOUT_SENDMAIL=yes I didn't give any arguments to # make buildworld or # make installworld I have ran them as i've

Re: make installworld fails

2009-02-07 Thread Valentin Bud
Hello Glen, During installworld. # ls -al /rescue total 451106 drwxr-xr-x2 root wheel 2560 Feb 7 14:54 . drwxr-xr-x 21 root wheel 512 Feb 7 16:17 .. -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 [ -r-xr-xr-x 121 root wheel 3793072 Jan 1 13:51 atacontrol -r-xr-xr-x 121

Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud valentin@gmail.com wrote: elo list, just updated a newly installed freebsd 7.1 system and it crashed here: === rescue (install) === rescue/librescue (install) === rescue/rescue (install) install -s -o root -g wheel -m 555 rescue /rescue

Re: Slow DNS (and host: connection timed out)

2009-02-07 Thread David Naylor
On Saturday 07 February 2009 17:34:02 Lokadamus wrote: David Naylor wrote: On Friday 06 February 2009 13:47:47 Lokadamus wrote: David Naylor wrote: I don't quite understand your question. See below for the network topology: ISP (host WinGate DNS, only proxy and socks connections

Auto DNS in KPPP in FreeBSD 7.1

2009-02-07 Thread Dmitry
Hi to All! Sorry for my bad English, i am beginning FreeBSD user from Russia..___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Re: KDE4 build fails for language issues

2009-02-07 Thread af300wsm
On Feb 7, 2009 8:53am, Glen Barber glen.j.bar...@gmail.com wrote: af300...@gmail.com said: In file included from /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/juk/coverinfo.cpp:37: /usr/local/include/taglib/id3v2tag.h:101: error: invalid use of incomplete type

Re: Slow DNS (and host: connection timed out)

2009-02-07 Thread Lokadamus
David Naylor wrote: Can you see problems of your wireless card in /var/log/messages? I do get some errors, here is a sample: # grep ndis0 /var/log/messages Feb 7 17:57:55 dgserver kernel: arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0 Feb 7 18:03:25 dgserver

RTL8201 not explicitly in 7.1 / 2nd POSTING

2009-02-07 Thread Len Conrad
A client wants to buy some TigerDirect/VisionMan 1U's with this mobo: http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775 RTL8201 PHY Ethernet http://www.freebsd.org/releases/7.1R/hardware.html ... shows only RTL81xx has anybody got RTL8201 working with FreeBSD 7.1? thanks,

Re: Slow DNS (and host: connection timed out)

2009-02-07 Thread David Naylor
On Saturday 07 February 2009 18:58:40 you wrote: David Naylor wrote: Can you see problems of your wireless card in /var/log/messages? I do get some errors, here is a sample: # grep ndis0 /var/log/messages Feb 7 17:57:55 dgserver kernel: arp: 192.168.0.2 is on rl0 but got reply from

Re: make installworld fails

2009-02-07 Thread Valentin Bud
On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud valentin@gmail.com wrote: elo list, just updated a newly installed freebsd 7.1 system and it crashed here: === rescue (install) === rescue/librescue

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Akenner
Glen Barber wrote: Akenner said: basic Xterm, it says it can't be found. If I try running it from a run dialog it won't run from there either. Have you `rehash'ed ? Yes I have. I read that whenever installing something new I should do that so it can find new things.

Re: edit users quota in a script

2009-02-07 Thread Stephen Corbesero
Besides the -e switch to edquota as has already been mentioned, I used to make extensive use of the -p switch to use a prototype. For example, you could create a fake user (or group) named q-typical, assign that user the quotas for a typical user, and then use edquota

Re: RTL8201 not explicitly in 7.1 / 2nd POSTING

2009-02-07 Thread Bruce Cran
On Sat, 07 Feb 2009 11:08:51 -0600 Len Conrad lcon...@go2france.com wrote: A client wants to buy some TigerDirect/VisionMan 1U's with this mobo: http://www.biostar-usa.com/mbdetails.asp?model=P4M900%20MICRO%20775 RTL8201 PHY Ethernet http://www.freebsd.org/releases/7.1R/hardware.html

Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud valentin@gmail.com wrote: On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: # --- system build options WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_LPR=yes WITHOUT_RCMDS=yes WITHOUT_SENDMAIL=yes I

Re: [6.3] ALT-CTRL-DEL = clean unmount?

2009-02-07 Thread Gilles
On Wed, 04 Feb 2009 22:46:47 +0100, Lokadamus lokada...@gmx.de wrote: Can you change your IDE- Cable from ATA- 33 to ATA-66/100? Have you this error, when you make a reboot with shutdown -r now? I'll check it out. Thanks guys. ___

How to compile a network driver given source code

2009-02-07 Thread Amer Alhabsi
Hi, I have Benq Joybook R43 notebook. It has network interface based on SiS 191. However, I can't configure it as it does not show up in ifconfig nor in sysinstall/configure/networking/interfaces. Dmesg says: No Driver Attached. After some search I found that someone has written a driver but it

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Glen Barber
On Sat, Feb 7, 2009 at 12:43 PM, Akenner slackwarew...@comcast.net wrote: Glen Barber wrote: Akenner said: basic Xterm, it says it can't be found. If I try running it from a run dialog it won't run from there either. Have you `rehash'ed ? Yes I have. I read that whenever installing

Re: How to compile a network driver given source code

2009-02-07 Thread Glen Barber
On Sat, Feb 7, 2009 at 12:36 PM, Amer Alhabsi amer.alha...@gmail.com wrote: Hi, I have Benq Joybook R43 notebook. It has network interface based on SiS 191. However, I can't configure it as it does not show up in ifconfig nor in sysinstall/configure/networking/interfaces. Dmesg says: No

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Akenner
Glen Barber wrote: On Sat, Feb 7, 2009 at 12:43 PM, Akenner slackwarew...@comcast.net wrote: Glen Barber wrote: Akenner said: basic Xterm, it says it can't be found. If I try running it from a run dialog it won't run from there either. Have you `rehash'ed ?

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Glen Barber
On Sat, Feb 7, 2009 at 1:15 PM, Akenner slackwarew...@comcast.net wrote: Basically it does the same thing. I used the pkg_add as I said, and once I finished, I did the rehash thing, and then logging in and out doesn't seem to change it. Is there a chance the package itself is messy? It's

Playing audio CDs

2009-02-07 Thread Akenner
I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, being from the Linux world, but when I first checked to be sure of the proper way, I found mostly info saying not to mount it at all. So now I'm not sure

Re: Playing audio CDs

2009-02-07 Thread Akenner
I found in the handbook that I could try this: /sbin/mount /cdrom I then saw this: /dev/cd0: device not configured. Apparently typing /sbin first made it give me a different error message, I'm just trying to find hwo to configure a drive now. would /stand/sysinstall work for this?

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Adam Vande More
Basically it does the same thing. I used the pkg_add as I said, and once I finished, I did the rehash thing, and then logging in and out doesn't seem to change it. Is there a chance the package itself is messy? I was told to try whereis and did so, and it said /usr/ports/net-im/aim and when

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Steve Randall
On Sat, 07 Feb 2009 13:15:08 -0500 Akenner slackwarew...@comcast.net wrote: Glen Barber wrote: On Sat, Feb 7, 2009 at 12:43 PM, Akenner slackwarew...@comcast.net wrote: Glen Barber wrote: Akenner said: basic Xterm, it says it can't be found. If I try running it from

Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Adam Vande More
Glen Barber wrote: On Sat, Feb 7, 2009 at 1:15 PM, Akenner slackwarew...@comcast.net wrote: Basically it does the same thing. I used the pkg_add as I said, and once I finished, I did the rehash thing, and then logging in and out doesn't seem to change it. Is there a chance the package itself

Re: make installworld fails

2009-02-07 Thread Valentin Bud
On Sat, Feb 7, 2009 at 7:51 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud valentin@gmail.com wrote: On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas keram...@ceid.upatras.grwrote: # --- system build options WITHOUT_IPFILTER=yes

Re: having trouble with OpenOffice

2009-02-07 Thread Roger Olofsson
af300...@gmail.com skrev: Hi, Tonight I finally took the bull by the horns and got OpenOffice installed. However, I'm not having a problem that I haven't found an answer to yet but seems to be related to the X server (from searches on the net). So, I do this: [a...@sniper

Re: Playing audio CDs

2009-02-07 Thread Lowell Gilbert
Akenner slackwarew...@comcast.net writes: I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, being from the Linux world, but when I first checked to be sure of the proper way, I found mostly info saying not

Re: 10gb network interface suggestions

2009-02-07 Thread Tim Judd
Omer Faruk Sen wrote: Hi, I want to ask if anyone here in this list has any experience with 10gbE on FreeBSD? My questions: 1) Which 10gbE to use? I see that intel has a good support for 10gbE on FreeBSD with its own driver for FreeBSD:

Re: How to change default boot loader location

2009-02-07 Thread Victor M. Blood
Hi, All. problem solved by hack-fix /sys/boot/i386/boot2.c On 05.02.2009, Victor M. Blood wrote: I have a SATA-II disk, which split for 4 primary partitions, eg: 1. NTFS (Active) / ntldr 2. BSD (/var, /usr) 4. NTFS 3. BSD (/, swap) * partitions showed as 'how it's phisicaly placed on

Re: Playing audio CDs

2009-02-07 Thread Polytropon
On Sat, 07 Feb 2009 13:28:46 -0500, Akenner slackwarew...@comcast.net wrote: I've been searching on the net for like an hour trying to see how to play a CD on FreeBSD, and normally I'd have just tried mounting it, ??? being from the Linux world, but when I

Re: Playing audio CDs

2009-02-07 Thread Polytropon
On Sat, 07 Feb 2009 13:35:56 -0500, Akenner slackwarew...@comcast.net wrote: I found in the handbook that I could try this: /sbin/mount /cdrom I then saw this: /dev/cd0: device not configured. This refers to the fact that the device does not contain an ISO-9660 formatted media.

The FreeBSD Diary: 2009-02-07

2009-02-07 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org 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

openoffice-3.0.1 broken on FreeBSD

2009-02-07 Thread Marco Beishuizen
Hi, Trying to run OO-3.0.1 crashes OO with the following error messages and ends into and enless loop trying to restart and crashing again: ... (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated Xlib: extension Generic Event Extension

openoffice-3.0.1 broken on FreeBSD

2009-02-07 Thread Robert Huff
Marco Beishuizen writes: (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24. anyone an idea? 1) have you read and followed the steps in /usr/ports/UPDATING?

Re: openoffice-3.0.1 broken on FreeBSD

2009-02-07 Thread Aryeh M. Friedman
Marco Beishuizen wrote: Hi, Trying to run OO-3.0.1 crashes OO with the following error messages and ends into and enless loop trying to restart and crashing again: ... (soffice:2726): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated Xlib: extension

kerberos and openldap

2009-02-07 Thread Alexey Beketov
Hello, I'm trying to setup replace AD with samba, already have working samba+ldap. And stuck with kerberos. pkg_info: heimdal-1.0.1 nss_ldap-1.264_1 openldap-client-2.4.13 openldap-server-2.4.13 cat /etc/krb5.conf default = FILE:/var/log/krb5libs.log kdc = FILE:/var/log/krb5kdc.log

Re: Custom build fails

2009-02-07 Thread matt donovan
On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi matiassu...@gmail.com wrote: I'm currently running the following command: # Make the release cd /usr/src/release make release \ CHROOTDIR=/home/oms \ BUILDNAME=OpenMailServer \ CVSROOT=/home/ncvs \ RELEASETAG=RELENG_7 \ NODOC=YES \

Re: #2 DNS Auto in KPPP in FreeBSD 7.1

2009-02-07 Thread Ian Smith
On Sat, 07 Feb 2009 16:30:58 +0300 Dmitry anta...@land.ru wrote: Hi to All! Sorry for my bad English. My problem: I am have 3G/EDGE modem ZTE MF622+ and FreeBSD 7.1. In using KPPP (KDE 3.5.10) my modem can't connect to EDGE provider, because in KPPP not enabled option Auto DNS setting.