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:  port 0x2000-0x20ff mem
0xb8b0-0xb8b3,0xb8b4-0xb8b7 irq 16 at device 0.0 on
pci10
mfi0: Megaraid SAS driver Ver 3.00
mfi0: 1870 (287314652s/0x0020/info) - Shutdown command received from host
mfi0: 1871 (boot + 3s/0x0020/info) - Firmware initialization started
(PCI ID 0060/1000/1013/8086)
mfi0: 1872 (boot + 3s/0x0020/info) - Firmware version 1.20.72-0562
mfi0: 1873 (boot + 3s/0x0020/info) - Board Revision
mfi0: 1874 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8)
mfi0: 1875 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info:
enclPd=, scsiType=0, portMap=00,
sasAddr=5000c5000bcb90b1,
mfi0: 1876 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9)
mfi0: 1877 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info:
enclPd=, scsiType=0, portMap=01,
sasAddr=5000c5000bcb962d,
mfi0: 1878 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10)
mfi0: 1879 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info:
enclPd=, scsiType=0, portMap=02,
sasAddr=5000c5000bcb8f8d,
mfi0: [ITHREAD]
mfi0: 1880 (287314711s/0x0020/info) - Time established as 02/07/09
9:38:31; (52 seconds since power on)
mfid0:  on mfi0
mfid0: 556928MB (1140588544 sectors) RAID volume ''


I have installed RHEL 5.3 x64 on this server and here is simple dd
performance test:

Last login: Fri Feb  6 12:15:32 2009 from 10.0.0.51
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.8473 seconds, 443 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.05412 seconds, 399 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.94096 seconds, 422 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.1092 seconds, 388 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.84414 seconds, 444 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.09829 seconds, 390 MB/s

And after that I have tested with FreeBSD 6.3 and 7.1:

6.3:

# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.534685 secs (231760388 bytes/sec)
# cd /var/tmp/
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.051668 secs (268443342 bytes/sec)
# cd /
# cd /var/tmp/
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.001266 secs (272951481 bytes/sec)
# cd /home/
cd: can't cd to /home/
# cd /usr/
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.678156 secs (222720290 bytes/sec)
# cd /boot
# dd if=/dev/zero of=bigfile bs=8192 count=10
cd /usr/10+0 records in
10+0 records out
81920 bytes transferred in 2.985471 secs (274395563 bytes/sec)
# local
# pwd
/usr/local
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.501986 secs (233924406 bytes/sec)

7.1:

Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/mfid0s1a9.7G2.6G6.3G29%/
devfs1.0K1.0K  0B   100%/dev
/dev/mfid0s1d478G4.0K440G 0%/opt
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.441476 secs (238037393 bytes/sec)
# cd /
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.132512 secs (261515371 bytes/sec)
# cd /usr/local/
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.296514 secs (248504951 bytes/sec)

# cd /usr
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.069655 secs (266870386 bytes/sec)

as you can see there is a big difference in just simple dd test. Is
there additional steps that I can follow to increase performance? By
the way If I use write-thru cache on this raid card FreeBSD 6.3 and
FreeBSD 7.1 only gives 13MB/s~ which is very very bad. Linux gives a
slight decrease on dd test with write-thru cache but freebsd goes from
230-270 MB/s to only 13 MB/s


Regards.
___

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 "$line"
 a=$[a+1]
done
echo "include('/usr/home/www/imp-sites/default_inventory.php');"
while read line;do
 echo "$line"
done) <$1 >/tmp/$$
mv -f /tmp/$$ $1


run it over each file

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


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,
...
>  159949760
> cg 0: bad magic number

Bad drive, perhaps?  What do sysutils/smartmontools say?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 "freebsd-questions-unsubscr...@freebsd.org"


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 
dependence on the shell by using a sed script, e.g.

curlew:/tmp% cat test.txt
1
2
3
4
5
6

curlew:/tmp% cat test.sed
#! /usr/bin/sed -f
5i\
test
curlew:/tmp% ./test.sed test.txt
1
2
3
4
test
5
6

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


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:

http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2992&DwnldID=14688&lang=eng

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?

2) Do you suggest fiber or copper?

3) Which bus option to use ? As far as I see intel has both (Pci
Express and PCI-X not sure if their PCI Express cards are PCI Express
2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows
significant performance boost)
http://www.intel.com/network/connectivity/products/server_adapters.htm?iid=nc+server#s1=10%20Gigabit%20Ethernet&s2=all&s3=all

4) Especially since I am new to 10gbE I also request if someone can
suggest me 10gbE switch. There are lots switches but not sure. One of
my colleague told me that enterasys is good ad 10gbE but not sure.

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


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 about editing user quota 
without open a file.

Is an other solution exists? I'm looking for a solution in command line (for my 
script).

Regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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  wrote:

> On Fri, 6 Feb 2009 20:13:17 +0100
> Nicolas Letellier  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? (633M against 648264)
> >
> 
> Try dividing 648264 by 1024.

Ok.

Thanks a lot for your response.

Regards.

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 informations in edquota(8) manpages about editing user quota 
without open a file.

Is an other solution exists? I'm looking for a solution in command line (for my 
script).

Regards,

  
The edquota(8) command accepts a '-e' option that allows it to set 
quotas non-interactively. Try man edquota again.


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


Re: edit users quota in a script

2009-02-07 Thread Nicolas Letellier
On Sat, 07 Feb 2009 14:09:13 +0200
Manolis Kiagias  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 process can not be automaticated. And cannot be 
> > part of my script.
> >
> > I don't find informations in edquota(8) manpages about editing user quota 
> > without open a file.
> >
> > Is an other solution exists? I'm looking for a solution in command line 
> > (for my script).
> >
> > Regards,
> >
> >   
> The edquota(8) command accepts a '-e' option that allows it to set 
> quotas non-interactively. Try man edquota again.

Haaa... yes, I forgot -e option. Thanks a lot!

Regards,

-- 
 -Nicolas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 that the performance of disks varies a great deal based on 
where on the disk you're writing, etc.  Ellard and Seltzer have a nice NFS 
benchmarking paper that includes a "Benchmarking traps" section of note in 
this regard:


  http://www.eecs.harvard.edu/~margo/papers/freenix03/

The source of the performance difference you're seeing could come from a 
number of places:


- I/O to different parts of the disk due to partition layouts can perform
  quite differently -- try out diskinfo -t to get an idea of the kind of
  variance you can see.  For example, I get this on my local 3ware array:

  Transfer rates:
outside:   102400 kbytes in   4.056540 sec =25243 kbytes/sec
middle:102400 kbytes in   2.531003 sec =40458 kbytes/sec
inside:102400 kbytes in   3.947725 sec =25939 kbytes/sec

  That's a massive performance difference and presumably entirely a result of
  disk layout.  The best way to address this is to make sure you're using the
  same part of the disk for all tests -- so if you're installing different
  OS's on different partitions, use a single shared partition for the test.

- File system can behave quite differently, especially if they vary in size
  and layout strategies.  Do the dd(1) directly to a disk partition, making
  sure to use the right device on Linux (I believe you want the character
  device in order to bypass the buffer cache and compare apples to apples).

So if you go ahead and do dd(1) directly to the same partition using 
unbuffered I/O and no file system, it should become more obvious as to whether 
we're looking at performance loss due to a device driver difference, a file 
system difference, or perhaps just a disk layout difference.


Robert N M Watson
Computer Laboratory
University of Cambridge





# dmesg |grep -i mfi
mfi0:  port 0x2000-0x20ff mem
0xb8b0-0xb8b3,0xb8b4-0xb8b7 irq 16 at device 0.0 on
pci10
mfi0: Megaraid SAS driver Ver 3.00
mfi0: 1870 (287314652s/0x0020/info) - Shutdown command received from host
mfi0: 1871 (boot + 3s/0x0020/info) - Firmware initialization started
(PCI ID 0060/1000/1013/8086)
mfi0: 1872 (boot + 3s/0x0020/info) - Firmware version 1.20.72-0562
mfi0: 1873 (boot + 3s/0x0020/info) - Board Revision
mfi0: 1874 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8)
mfi0: 1875 (boot + 15s/0x0002/info) - Inserted: PD 08(e0xff/s8) Info:
enclPd=, scsiType=0, portMap=00,
sasAddr=5000c5000bcb90b1,
mfi0: 1876 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9)
mfi0: 1877 (boot + 15s/0x0002/info) - Inserted: PD 09(e0xff/s9) Info:
enclPd=, scsiType=0, portMap=01,
sasAddr=5000c5000bcb962d,
mfi0: 1878 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10)
mfi0: 1879 (boot + 15s/0x0002/info) - Inserted: PD 0a(e0xff/s10) Info:
enclPd=, scsiType=0, portMap=02,
sasAddr=5000c5000bcb8f8d,
mfi0: [ITHREAD]
mfi0: 1880 (287314711s/0x0020/info) - Time established as 02/07/09
9:38:31; (52 seconds since power on)
mfid0:  on mfi0
mfid0: 556928MB (1140588544 sectors) RAID volume ''


I have installed RHEL 5.3 x64 on this server and here is simple dd
performance test:

Last login: Fri Feb  6 12:15:32 2009 from 10.0.0.51
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.8473 seconds, 443 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.05412 seconds, 399 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.94096 seconds, 422 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.1092 seconds, 388 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 1.84414 seconds, 444 MB/s
[r...@localhost ~]# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes (819 MB) copied, 2.09829 seconds, 390 MB/s

And after that I have tested with FreeBSD 6.3 and 7.1:

6.3:

# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.534685 secs (231760388 bytes/sec)
# cd /var/tmp/
# dd if=/dev/zero of=bigfile bs=8192 count=10
10+0 records in
10+0 records out
81920 bytes transferred in 3.051668 secs (268443342 bytes/sec)
# cd /
# cd /var/tmp/
# dd if=/dev/zero of=bigfile bs=8192 count=

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 ];do
 read line
 echo "$line"
 a=$[a+1]
done
echo "include('/usr/home/www/imp-sites/default_inventory.php');"
while read line;do
 echo "$line"
done) <$1 >/tmp/$$
mv -f /tmp/$$ $1


run it over each file


I would avoid this method because it is extremely inefficient, 
especially with large files.
 Shell is very slow for loops like that because it is purely 
interpretive.  If you wrote the same thing in Perl it would run way 
faster just because it does a compile on load.  (Besides, you still have 
to show the 'find' invocation to run it recursively, as requested.)  
Steve's sed solution is probably not bad as well.


-Will

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


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 port that installs libgs. At least, I did these two things:

make search name=libgs
make search name=ghostscript

The first returns only references to libgsf which I had installed. I  
upgraded the port anyway, but this didn't fix the problem. The second  
returns things that don't seem to be what I want. What port will install  
this library?



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


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 libspectre
> 
> 
> I can't find a port that installs libgs. At least, I did these two things:
> 
> make search name=libgs
> make search name=ghostscript
> 

I did `make search name="libspectre"' which is where your build failed.  I see 
afew dependencies on ghostscript and gsfonts.  Either try building libspectre 
directly (/usr/ports/print/libspectre) or the ghostscript/gsfonts dependencies 
directly.

Regards,
-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


#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 print, that not 
connect and not determinate IP adress. Why I can enable this option? In Linux 
this option is enabled and all working fine. Thank you!



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


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 terminal, or 
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.


am I doing something incredibly stupid? I know it downloaded the package 
and installed it, so it should work fine. I downloaded it on another 
machine just to test if it worked on there, both running FreeBSD 
7.1-RELEASE, and again, it just doesn't run. It's odd really. And if I 
load up a bash, to do command completion like this:


bash [Enter}
a[TAB][TAB] (Display all?) [y]
It doesn't show aim there either. I know that last part is a little bit 
dumb, but I figured it would at least let me check if it was there.


any ideas? Anyone using AIM that got it to work?

Thanks much,

-Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 explain ANY CASE when 4*10GbE/s could be utilized.

it's 5 GIGABYTES/s each direction. computer memory subsystem is rarely 
faster




2) Do you suggest fiber or copper?


depend of what you connect to.


3) Which bus option to use ? As far as I see intel has both (Pci
Express and PCI-X not sure if their PCI Express cards are PCI Express
2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows
significant performance boost)


anything slower than PCIe 4-lane is slower than single 10GbE port.

PCI-X is AFAIK 500MB/s so you won't get much


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


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  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 gsapi_new_instance in -lgs... no

> configure: error: You need libgs in order to compile libspectre

>

>

> I can't find a port that installs libgs. At least, I did these two  

things:


>

> make search name=libgs

> make search name=ghostscript

>



I did `make search name="libspectre"' which is where your build failed. I  
see afew dependencies on ghostscript and gsfonts. Either try building  
libspectre directly (/usr/ports/print/libspectre) or the  
ghostscript/gsfonts dependencies directly.






A port upgrade to ghostscript seemed to correct that problem.

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


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 TagLib::Tag'
/usr/local/include/taglib/tfile.h:31: error: forward declaration of 'struct  
TagLib::Tag'

*** Error code 1

Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build.
*** Error code 1

Anyone have any ideas on how to fix this one?

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 (My gateway, running bind9 for internet domain and DNS caching,
FreeBSD 7.1p2)

  > PCI D-Link GPlus wireless card for link to ISP
  > PCI rl0 link to switch
  

Ok, here is a realtek. That can sometimes make problems.
Can you change this network interface card?



Yes I could, however I have the same problem on the gateway over the wireless 
card.  The wireless card is connecting the gateway to the ISP (i.e. 
gateway->wireless->ISP) with the ethernet to the intranet.  I haven't had any 
problems with pinging the gateway from my laptop.  

Can you see problems of your wireless card in /var/log/messages?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
*** Error code 1

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

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

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

I have updated the sources using the csup method then
# make buildkernel  KERNCONF=CUSTOMISED
# make installkernel KERNCONF=CUSTOMISED
# mergemaster -p
reboot
#make installworld

# uname -a
FreeBSD server.xxx.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sat Feb  7
15:47:11 EET 2009

# ls -al /
output omitted for brevity
...
drwxr-xr-x   2 root  wheel 2560 Feb  7 14:54 rescue

# ls -al /usr/src/rescue
total 12
drwxr-xr-x   4 root  wheel   512 Feb  7 13:45 .
drwxr-xr-x  22 root  wheel   512 Feb  7 13:50 ..
-rw-r--r--   1 root  wheel   133 Nov 25 04:59 Makefile
-rw-r--r--   1 root  wheel  1603 Nov 25 04:59 README
drwxr-xr-x   2 root  wheel   512 Feb  7 13:45 librescue
drwxr-xr-x   2 root  wheel   512 Feb  7 13:45 rescue

Now the question is what can i do next?

thanks,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 declaration of 'struct  
> TagLib::Tag'
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build.
> *** Error code 1
> 
> Anyone have any ideas on how to fix this one?
> 

Have you updated your ports tree?  If not, try that.  If it still fails, I 
would submit a PR.

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 code 71
> 
> Stop in /usr/src/rescue/rescue.
> *** Error code 1
> 
> Stop in /usr/src/rescue.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> I have updated the sources using the csup method then
> # make buildkernel  KERNCONF=CUSTOMISED
> # make installkernel KERNCONF=CUSTOMISED
> # mergemaster -p
> reboot
> #make installworld
> 

Was this during buildworld or installworld?

> # uname -a
> FreeBSD server.xxx.com 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Sat Feb  7
> 15:47:11 EET 2009
> 
> # ls -al /
> output omitted for brevity
> ...
> drwxr-xr-x   2 root  wheel 2560 Feb  7 14:54 rescue
> 
> # ls -al /usr/src/rescue
> total 12
> drwxr-xr-x   4 root  wheel   512 Feb  7 13:45 .
> drwxr-xr-x  22 root  wheel   512 Feb  7 13:50 ..
> -rw-r--r--   1 root  wheel   133 Nov 25 04:59 Makefile
> -rw-r--r--   1 root  wheel  1603 Nov 25 04:59 README
> drwxr-xr-x   2 root  wheel   512 Feb  7 13:45 librescue
> drwxr-xr-x   2 root  wheel   512 Feb  7 13:45 rescue
> 
> Now the question is what can i do next?
> 

What does `ls -al /rescue' show?

Regards,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud  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
> install: rescue: No such file or directory
> *** Error code 71
>
> Stop in /usr/src/rescue/rescue.
> *** Error code 1

You seem to have built only parts of the source tree, i.e. because you
completed a buildworld cycle when WITHOUT_RESCUE was defined.

Try repeating the buildworld and installworld steps with exactly the
*same* options in their environment.

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


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 typed them above.

Is there something wrong in /etc/make.conf ?

thanks,
v

On Sat, Feb 7, 2009 at 6:05 PM, Giorgos Keramidas
wrote:

> On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud 
> 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
> > install: rescue: No such file or directory
> > *** Error code 71
> >
> > Stop in /usr/src/rescue/rescue.
> > *** Error code 1
>
> You seem to have built only parts of the source tree, i.e. because you
> completed a buildworld cycle when WITHOUT_RESCUE was defined.
>
> Try repeating the buildworld and installworld steps with exactly the
> *same* options in their environment.
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 root  wheel  3793072 Jan  1 13:51 atmconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 badsect
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 bsdlabel
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 bunzip2
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 bzcat
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 bzip2
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 camcontrol
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 cat
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ccdconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 chflags
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 chio
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 chmod
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 chroot
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 clri
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 cp
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 csh
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 date
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dd
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 devfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 df
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dhclient
-r-xr-xr-x1 root  wheel 9478 Jan  1 13:51 dhclient-script
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 disklabel
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dmesg
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dump
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dumpfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 dumpon
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 echo
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ed
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ex
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 expr
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fastboot
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fasthalt
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fdisk
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsck
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsck_4.2bsd
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsck_ffs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsck_msdosfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsck_ufs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsdb
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 fsirand
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 gbde
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 getfacl
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 groups
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 gunzip
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 gzcat
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 gzip
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 halt
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 hostname
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 id
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ifconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 init
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ipf
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kenv
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kill
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kldconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kldload
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kldstat
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 kldunload
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ldconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 link
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ln
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 ls
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 md5
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mdconfig
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mdmfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mkdir
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mknod
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_cd9660
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_msdosfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_nfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_ntfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_nullfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_udf
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mount_unionfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 mv
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 newfs
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 newfs_msdos
-r-xr-xr-x1 root  wheel  910 Jan  1 13:51 nextboot
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 nos-tun
-r-xr-xr-x  121 root  wheel  3793072 Jan  1 13:51 pax
-r-xr-xr-x  121 root  whe

Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud  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
> install: rescue: No such file or directory
> *** Error code 71
>
> Stop in /usr/src/rescue/rescue.
> *** Error code 1

On Sat, 7 Feb 2009 18:10:51 +0200, Valentin Bud  wrote:
> 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 typed them above.
>
> Is there something wrong in /etc/make.conf ?

These options don't seem to affect the build of `/usr/src/rescue'.  Can
you try running the build commands once more in that directory?

# cd /usr/src/rescue
# make cleandir ; make cleandir
# make obj depend all

Then it should be possible to install the newly built /rescue binaries,
and your installworld should complete fine.

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


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 allowed out)
> >>>
> >>>  | Wireless connection to my gateway
> >>>
> >>> Server (My gateway, running bind9 for internet domain and DNS caching,
> >>> FreeBSD 7.1p2)
> >>>
> >>>   > PCI D-Link GPlus wireless card for link to ISP
> >>>   > PCI rl0 link to switch
> >>
> >> Ok, here is a realtek. That can sometimes make problems.
> >> Can you change this network interface card?
> >
> > Yes I could, however I have the same problem on the gateway over the
> > wireless card.  The wireless card is connecting the gateway to the ISP
> > (i.e. gateway->wireless->ISP) with the ethernet to the intranet.  I
> > haven't had any problems with pinging the gateway from my laptop.
>
> 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 kernel: arp: 192.168.0.1 is on lo0 but got reply from 
00:02:6f:3e:8a:ed on ndis0

The MAC address is not an my network, as far as I can see.


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


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 "freebsd-questions-unsubscr...@freebsd.org"


Re: Re: KDE4 build fails for language issues

2009-02-07 Thread af300wsm

On Feb 7, 2009 8:53am, Glen Barber  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 'struct TagLib::Tag'

> /usr/local/include/taglib/tfile.h:31: error: forward declaration  

of 'struct


> TagLib::Tag'

> *** Error code 1

>

> Stop in  

/usr/ports/multimedia/kdemultimedia4/work/kdemultimedia-4.1.1/build.


> *** Error code 1

>

> Anyone have any ideas on how to fix this one?

>



Have you updated your ports tree? If not, try that. If it still fails, I  

would submit a PR.





In fact, a portupgrade to the taglib port fixed the issue. Thanks,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 kernel: arp: 192.168.0.1 is on lo0 but got reply from 
00:02:6f:3e:8a:ed on ndis0


The MAC address is not an my network, as far as I can see.
  


Can you give me a "netstat -nr" and a ifconfig?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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,
Len

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


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 00:02:6f:3e:8a:ed on ndis0
> > Feb  7 18:03:25 dgserver kernel: arp: 192.168.0.1 is on lo0 but got reply
> > from 00:02:6f:3e:8a:ed on ndis0
> >
> > The MAC address is not an my network, as far as I can see.
>
> Can you give me a "netstat -nr" and a ifconfig?

dgserver# netstat -rn
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default192.193.194.1  UGS 0  830  ndis0
127.0.0.1  127.0.0.1  UH  0  254lo0
192.168.0.0/24 link#2 UC  00rl0
192.168.0.27e:2b:34:e8:eb:a2  UHLW12rl0618
192.168.0.300:a1:b0:a0:63:68  UHLW1  504rl0   1129
192.168.0.600:1d:72:1d:63:41  UHLW1 1734rl0 35
192.168.0.255  ff:ff:ff:ff:ff:ff  UHLWb   1  109rl0
192.193.194.0/24   link#1 UC  00  ndis0
192.193.194.1  00:02:6f:47:92:29  UHLW2 1941  ndis0   1199

Internet6:
(removed, not used)

dgserver# ifconfig
ndis0: flags=8843 metric 0 mtu 1500
ether 00:11:95:16:59:5d
inet 192.193.194.58 netmask 0xff00 broadcast 192.193.194.255
media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
status: associated
ssid QuickNet channel 1 (2412 Mhz 11b) bssid 00:02:6f:3e:13:cf
authmode OPEN privacy OFF bmiss 7 scanvalid 60
rl0: flags=8843 metric 0 mtu 1500
options=8
ether 00:13:f7:cb:2f:b9
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 metric 0 mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff00

dgserver# dmesg | grep 'rl0'
rl0:  port 0xf800-0xf8ff mem 0xfdffc000-0xfdffc0ff 
irq 11 at device 14.0 on pci0
miibus0:  on rl0
dgserver# dmesg | grep 'ndis0'
ndis0:  mem 
0xfdffa000-0xfdffbfff,0xfdfc-0xfdfd irq 15 at device 13.0 on pci0
ndis0: [ITHREAD]
ndis0: NDIS API version: 5.1
ndis0: WARNING: using obsoleted if_watchdog interface
ndis0: Ethernet address: 00:11:95:16:59:5d
ndis0: link state changed to UP

(and both commands above have a common):
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0
arp: 192.168.0.2 is on rl0 but got reply from 00:02:6f:3e:8a:ed on ndis0


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


Re: make installworld fails

2009-02-07 Thread Valentin Bud
On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas
wrote:

> On Sat, 7 Feb 2009 17:52:09 +0200, Valentin Bud 
> 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
> > install: rescue: No such file or directory
> > *** Error code 71
> >
> > Stop in /usr/src/rescue/rescue.
> > *** Error code 1
>
> On Sat, 7 Feb 2009 18:10:51 +0200, Valentin Bud 
> wrote:
> > 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 typed them above.
> >
> > Is there something wrong in /etc/make.conf ?
>
> These options don't seem to affect the build of `/usr/src/rescue'.  Can
> you try running the build commands once more in that directory?
>
># cd /usr/src/rescue
># make cleandir ; make cleandir
># make obj depend all
>
> Then it should be possible to install the newly built /rescue binaries,
> and your installworld should complete fine.


Hello Giorgios,

Thanks that worked and the installworld succeeded. Is this a bug? Should i
report it?

thanks,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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.


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


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 -p q-typical newuser

to assign those quotas to the new user.  You could maintain several
prototypes for different classes of users or groups.



On Sat, Feb 07, 2009 at 01:00:25PM +0100, 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
> informations in edquota(8) manpages about editing user quota without
> open a file.

> Is an other solution exists? I'm looking for a solution in command
> line (for my script).


-- 
Stephen CorbeseroIt's always darkest 
Bethlehem, PA 18015  before pitch black.
corbes...@ptd.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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  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
> 
> ... shows only RTL81xx
> 
> has anybody got RTL8201 working with FreeBSD 7.1?

I've got a laptop which has a NIC which uses the RTL8201L PHY:

re0:  port 0x2000-0x20ff
mem 0xd10 1-0xd1010fff,0xd100-0xd100 irq 19 at device 0.0
on pci10 re0: Chip rev. 0x2480
re0: MAC rev. 0x
miibus0:  on re0
rlphy0:  PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:11:22:33:44:55
re0: [FILTER]

It's now running 8-CURRENT but it used to run 7.1.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: make installworld fails

2009-02-07 Thread Giorgos Keramidas
On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud  wrote:
>On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas
>wrote:
>> > # --- 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 typed them above.
>> >
>> > Is there something wrong in /etc/make.conf ?
>>
>> These options don't seem to affect the build of `/usr/src/rescue'.  Can
>> you try running the build commands once more in that directory?
>>
>># cd /usr/src/rescue
>># make cleandir ; make cleandir
>># make obj depend all
>>
>> Then it should be possible to install the newly built /rescue binaries,
>> and your installworld should complete fine.
>
> Hello Giorgios,
>
> Thanks that worked and the installworld succeeded. Is this a bug?
> Should i report it?

No, that's ok.  You somehow managed to botch 'buildworld'.  Now that the
missing bits are in /usr/obj all is fine.

If you start with a *clean* /usr/obj tree and the problem reappears,
then please let us know :)

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


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

2009-02-07 Thread Gilles
On Wed, 04 Feb 2009 22:46:47 +0100, Lokadamus 
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.

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


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
hasn't been put int the official FreeBSD release. I want to try my
luck with the driver. My question is where to place the source code
files? and how to compile it (I assume it can be part of a kernel
rebuild if placed in the right directory)

The source code for the driver consists of the 3 files: if_sis19x.c,
if_sis19xreg.h and Makefile.

Thanks,

Amer,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Glen Barber
On Sat, Feb 7, 2009 at 12:43 PM, Akenner  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 something new I should do that
> so it can find new things.
>

Did that not work? Is the problem still present?  What happens if you
log out and log in again?


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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  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 Driver Attached.
>
> After some search I found that someone has written a driver but it
> hasn't been put int the official FreeBSD release. I want to try my
> luck with the driver. My question is where to place the source code
> files? and how to compile it (I assume it can be part of a kernel
> rebuild if placed in the right directory)
>
> The source code for the driver consists of the 3 files: if_sis19x.c,
> if_sis19xreg.h and Makefile.
>

Edit the Makefile to match the standard installation directories that
FreeBSD uses (/usr/local), and use `make'.  Depending on what the
drivers needs are, you may have to edit more.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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  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 something new I should do that
so it can find new things.




Did that not work? Is the problem still present?  What happens if you
log out and log in again?


  
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 I typed the direct path, it said permission denied, so I tried 
su to root, and ran it again, and it said the same thing...Which is a 
little strange being root.


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


Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Glen Barber
On Sat, Feb 7, 2009 at 1:15 PM, Akenner  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 possible.

> I was told to try whereis and did so, and it said /usr/ports/net-im/aim and
> when I typed the direct path, it said permission denied, so I tried su to
> root, and ran it again, and it said the same thing...Which is a little
> strange being root.
>

You were told the wrong command.  Try `which aim'.  Also, try
executing with the full path: /usr/local/bin/aim

Is your ports tree up to date?  man portsnap


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 what is the right way to do it. On two machines each 
having between 1 - 3 drives to play CDs from, I've tried just loading a 
CD player app and hitting play, but it doesn't find the CD, and on one 
machine there is only one drive so it can't be the wrong one.


None of the pages I found said it was OK to mount it, and so I'm a 
little confused how you play CDs, and I've used cdplay as root to make 
sure I had access since the one app said I couldn't access the CD drive, 
and nothing has happened.


How is the normal way of playing a regular audio CD in FreeBSD?

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


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?

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


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 I typed the direct path, it said 
permission denied, so I tried su to root, and ran it again, and it 
said the same thing...Which is a little strange being root.
 

If it says something like this:

> whereis aim
aim: /usr/ports/net-im/aim

aim is not installed.  an installed pkg will look something like this:

> whereis pidgin
pidgin: /usr/local/bin/pidgin /usr/local/man/man1/pidgin.1.gz 
/usr/ports/net-im/pidgin



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


Re: Strange and weird, probably simple, aim DL

2009-02-07 Thread Steve Randall
On Sat, 07 Feb 2009 13:15:08 -0500
Akenner  wrote:

> Glen Barber wrote:
> > On Sat, Feb 7, 2009 at 12:43 PM, Akenner  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 something new I should do that
> >> so it can find new things.
> >>
> >> 
> >
> > Did that not work? Is the problem still present?  What happens if you
> > log out and log in again?
> >
> >
> >   
> 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 I typed the direct path, it said permission denied, so I tried 
> su to root, and ran it again, and it said the same thing...Which is a 
> little strange being root.

Even root is not allowed to execute a directory. :)

Out of curiosity, I downloaded the package, though I didn't install it.
Possibly you already know that this is a linux program. Therefore you
need to have linux_enable="YES" in your /etc/rc.conf.

Your first problem, though, is that the package installs a wrapper
script as /compat/linux/bin/aim that I believe is supposed to be
/usr/local/bin/aim instead. So of course it is not in your search
path. Verify that the script is there, and, if it is, try copying it to
the correct location.

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


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  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 possible.

  

I was told to try whereis and did so, and it said /usr/ports/net-im/aim and
when I typed the direct path, it said permission denied, so I tried su to
root, and ran it again, and it said the same thing...Which is a little
strange being root.




You were told the wrong command.  Try `which aim'.  Also, try
executing with the full path: /usr/local/bin/aim

Is your ports tree up to date?  man portsnap


  

man whereis :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: make installworld fails

2009-02-07 Thread Valentin Bud
On Sat, Feb 7, 2009 at 7:51 PM, Giorgos Keramidas
wrote:

> On Sat, 7 Feb 2009 19:19:09 +0200, Valentin Bud 
> wrote:
> >On Sat, Feb 7, 2009 at 6:16 PM, Giorgos Keramidas
> >wrote:
> >> > # --- 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 typed them above.
> >> >
> >> > Is there something wrong in /etc/make.conf ?
> >>
> >> These options don't seem to affect the build of `/usr/src/rescue'.  Can
> >> you try running the build commands once more in that directory?
> >>
> >># cd /usr/src/rescue
> >># make cleandir ; make cleandir
> >># make obj depend all
> >>
> >> Then it should be possible to install the newly built /rescue binaries,
> >> and your installworld should complete fine.
> >
> > Hello Giorgios,
> >
> > Thanks that worked and the installworld succeeded. Is this a bug?
> > Should i report it?
>
> No, that's ok.  You somehow managed to botch 'buildworld'.  Now that the
> missing bits are in /usr/obj all is fine.
>
> If you start with a *clean* /usr/obj tree and the problem reappears,
> then please let us know :)


Ok, sure do. :)

thanks once again,
v
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 /usr/home/andy]$ /usr/local/bin/openoffice.org-2.4.2-scalc
I18N: Operating system doesn't support locale "en_US"
The application cannot be started.
The component manager is not available.
Segmentation fault (core dumped)


As you can tell, OpenOffice failed because my OS doesn't support locale 
"en_US." Huh!?! I'm using the English version. In fact, the only way to 
consider me as being bilingual is something of a matter of mental 
gymnastics because English is spoken in England and to me, England is a 
foreign country. Thus, I'm bilingual, or at the least, I speak a foreign 
language.


Never the less, how would this be fixed?

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"





No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.233 / Virus Database: 270.10.18/1936 - Release Date: 02/02/09 19:21:00




Hello Andy,

I seem to recall that this is a make option, like for instance:

make LOCALIZED_LANG=sv

I would suppose that sv in your case would be en.

Good Luck.

/R


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


Re: Playing audio CDs

2009-02-07 Thread Lowell Gilbert
Akenner  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 to mount it at all.
>
> So now I'm not sure what is the right way to do it. On two machines
> each having between 1 - 3 drives to play CDs from, I've tried just
> loading a CD player app and hitting play, but it doesn't find the CD,
> and on one machine there is only one drive so it can't be the wrong
> one.
>
> None of the pages I found said it was OK to mount it, and so I'm a
> little confused how you play CDs, and I've used cdplay as root to make
> sure I had access since the one app said I couldn't access the CD
> drive, and nothing has happened.
>
> How is the normal way of playing a regular audio CD in FreeBSD?

See the entry in the FreeBSD FAQ titled "Why can I not mount an audio CD?"
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#MOUNT-AUDIO-CD
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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:

http://downloadcenter.intel.com/Detail_Desc.aspx?ProductID=2992&DwnldID=14688&lang=eng

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?

2) Do you suggest fiber or copper?

3) Which bus option to use ? As far as I see intel has both (Pci
Express and PCI-X not sure if their PCI Express cards are PCI Express
2.0 for pcie2 http://en.wikipedia.org/wiki/PCI_Express shows
significant performance boost)
http://www.intel.com/network/connectivity/products/server_adapters.htm?iid=nc+server#s1=10%20Gigabit%20Ethernet&s2=all&s3=all

4) Especially since I am new to 10gbE I also request if someone can
suggest me 10gbE switch. There are lots switches but not sure. One of
my colleague told me that enterasys is good ad 10gbE but not sure.

Regards.


This was useful to find something to be used at work -- the fact that 
every device has a speed in terms of MHz, and a bandwidth, in terms of 
Mbit to use.  You can buy a 10gbE device, but if the bus does NOT 
support 10gbE, buying the device is pretty pointless  you'll never 
reach 10gbE

http://en.wikipedia.org/wiki/List_of_device_bandwidths

Enjoy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 drive'

> Used bootpart I have create 'freebsd.bin' and try to loadup it into
> ntldr, boot.ini

> eg: bootpart 2 LBA freebsd.bin

> Freebsd loader shows two error messages about 'Invalid Partition' and
> prompt me
> boot: 0:ad(0,a)/boot/kernel/kernel

> Then I 'by hands' try: 0:ad(4,3,a)/boot/loader, Free BSD has normal
> start loader, menus, kernel, etc... works!

> I try write this line in /boot.config, but have no any result...
> eg: echo "0:ad(4,3,a)/boot/loader" >/boot.config

> Help me please, how I can get autoboot from slice 3, unit 4 ?

> PS: sorry for my english.



-- 
With all regards, Victor M. Blood.   mailto: free...@masm.elcom.ru
FTN: 2:5024/1...@fidonet.org, ICQ#3567656





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


Re: Playing audio CDs

2009-02-07 Thread Polytropon
On Sat, 07 Feb 2009 13:28:46 -0500, Akenner  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 first checked to be sure of the 
> proper way, I found mostly info saying not to mount it at all.

What should it be good for mounting an audio CD? It doesn't have
an ISO-9660 file system on it.

In order to play an audio CD, you can utilize the cdcontrol command
included in the base system:

% cdcontrol play

Refer to "man cdcontrol" for further options and eventually how to
specify the CD device (if needed).



> So now I'm not sure what is the right way to do it. On two machines each 
> having between 1 - 3 drives to play CDs from, I've tried just loading a 
> CD player app and hitting play, but it doesn't find the CD, and on one 
> machine there is only one drive so it can't be the wrong one.

What does

% cdcontrol info

say about the media you're trying to play?



> None of the pages I found said it was OK to mount it, and so I'm a 
> little confused how you play CDs, and I've used cdplay as root to make 
> sure I had access since the one app said I couldn't access the CD drive, 
> and nothing has happened.

Permissions of the device file?

% ll /dev/acd0
crw-rw-r--  1 root  operator0, 105 Feb  7 22:32 /dev/acd0
 ^  ^  ^
These are important!



> How is the normal way of playing a regular audio CD in FreeBSD?

As I mentioned, cdcontrol is a very easy way to do this. Of course, there
are GUI tools that can be handy, e. g. xcd or whatever comes with KDE or
Gnome (if you use this).

Keep in mind that, according to FreeBSD's permission concept, you need
the +r permission on the device file (see /etc/devfs.conf, /etc/devfs.rules).
If you have more than one drive, you can set variables like CDROM to get
rid of things like -f /dev/acd[012].



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Playing audio CDs

2009-02-07 Thread Polytropon
On Sat, 07 Feb 2009 13:35:56 -0500, Akenner  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.



> 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?

No.

The "device is configured" via the /etc/fstab file that controls how to
mount the disc, e. g.

# DeviceMountpoint  FStype  Options Dump
Pass#
# ---   -   --  -   -   
-
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0

This will "expand" your command

% mount /cdrom

to something like

% mount -t cd9660 -o ro /dev/acd0 /cdrom

Also, keep in mind the permissions: You need +r for the device, and you
have to be the owner of the mount target directory. Furthermore, users
must be allowed to mount media which is controlled by the setting

vfs.usermount=1

that is to be put into /etc/sysctl.conf.



But as I mentioned before, you cannot mount an audio CD; imagine that
it's "technically" impossible. :-)

(Of course, this says nothing about that you cannot copy audio tracks,
convert them into OGG/Vorbis or duplicate discs 1:1, which is ALL
possible.)



A final note: I see you're using /dev/cd0 for your CD drive. What about
using acd0 instead (if it's an ATAPI drive)? You can specify /dev/cd0
as $CDROM if you've got a SCSI device, but then, due to permissions,
I think you need to set proper access rules for the xpt device, too.


-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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 mailing list 
archives  
and/or The FreeBSD Diary . 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


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" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0".
...

I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24.
anyone an idea?

Thanks in advance
Marco


-- 
Put a pot of chili on the stove to simmer.
Let it simmer.  Meanwhile, broil a good steak.
Eat the steak.  Let the chili simmer.  Ignore it.
-- Recipe for chili from Allan Shrivers, former governor
   of Texas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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?
Including the one for libxcb?
2) if you have, this:

>  Xlib: extension "Generic Event Extension" missing on display ":0.0".

should be harmless. It reports a pieve of functionality which
does not exist in the server but does in one of the loaded modules
(where it should have been masked).


Robert Huff

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


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 "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0". Xlib:  extension "Generic Event
Extension" missing on display ":0.0".
...

I'm running FreeBSD-7.1-stable with x.org 7.4 with Gnome 2.24.
anyone an idea?

Thanks in advance
Marco


  

Did you recompile OO after installing xorg-7.4?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
default_realm = DOMAIN.LOCAL

[realms]
DOMAIN.LOCAL = {admin_server = SERVER.DOMAIN.LOCAL
default_domain = SERVER.DOMAIN.LOCAL
kdc = SERVER.DOMAIN.LOCAL
}

[domain_realm]
.domain.local = DOMAIN.LOCAL


[kdc]
database = {
   dbname = ldap:ou=KerberosPrincipals,dc=domain,dc=local
   acl_file = /var/heimdal/kadmind.acl
   }
addresses = 127.0.0.1 192.168.6.23

cat /usr/local/etc/openldap/slapd.conf
L: 1 C: 1 =
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/misc.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/openldap.schema
include /usr/local/etc/openldap/schema/samba.schema
include /usr/local/etc/openldap/schema/hdb.schema


pidfile /var/run/openldap/slapd.pid

argsfile/var/run/openldap/slapd.args

modulepath  /usr/local/libexec/openldap




loglevel 256

logfile   /var/db/openldap-data/slapd.log


moduleload  back_bdb

allow update_anon

access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword
by self write
by anonymous auth
by * none

access to *
by self write
by anonymous read
by sockurl="^ldapi:///$" write
by * none
databasebdb

suffix  "dc=domain,dc=local"

rootdn  "cn=admin,dc=domain,dc=local"

rootpw  {SSHA}somepasshehe

directory   /var/db/openldap-data


index uid,uidNumber,gidNumber,memberUid   eq
index cn,mail,surname,givenname   eq,subinitial
index sambaSIDeq
index sambaPrimaryGroupSIDeq
index sambaDomainName eq
index   objectClass eq
#index  cn  eq,sub,pres
#index  uid eq,sub,pres
index   displayName eq,sub,pres
index   krb5PrincipalName   eq

server# kadmin -l
kadmin> init DOMAIN.LOCAL
Realm max ticket life [unlimited]:
Realm max renewable ticket life [unlimited]:
kadmin> add admin
Max ticket life [1 day]:
Max renewable life [1 week]:
Principal expiration time [never]:
Password expiration time [never]:
Attributes []:
ad...@domain.local's Password: 
Verifying - ad...@domain.local's Password: 

***erro here***
ad...@domain.local's Password: 
kinit: krb5_get_init_creds: Client (ad...@domain.local) unknown
***

how to fix the error?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Custom build fails

2009-02-07 Thread matt donovan
On Fri, Feb 6, 2009 at 7:36 AM, Matias Surdi  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 \
> NO_FLOPPIES=YES \
> NOPORTS=YES \
> RELEASENOUPDATE=YES \
> MAKE_ISOS=YES \
> WORLD_FLAGS=" -DWITHOUT_TOOLCHAIN" \
> LOCAL_PATCHES=$DIR/oms.diff \
> LOCAL_SCRIPT=$DIR/local_script.sh \
> PATCH_FLAGS=-p3
>
>
>
> Do you know how can set this up in order to get that variable to be on the
> build process and not on the install/release process?
>
> Thank you very much for your help.
>
> Matias.
>
>
>
>
> matt donovan wrote:
>
>> On Fri, Feb 6, 2009 at 7:08 AM, Matias Surdi 
>> wrote:
>>
>>  Hi, I'm building a custom freeBSD release and I'm getting the following
>>> error:
>>>
>>> --
>>>
 Building an up-to-date make(1)
>>
> --
>>> /usr/obj/usr/src/make.i386/usr/src/usr.bin/make created for
>>> /usr/src/usr.bin/make
>>> rm -f .depend
>>> mkdep -f .depend -a-I/usr/src/usr.bin/make
>>> -DMAKE_VERSION=\"5200408120\" -DDEFSHELLNAME=\"sh\"
>>> /usr/src/usr.bin/make/arch.c /usr/src/usr.bin/make/buf.c
>>> /usr/src/usr.bin/make/cond.c /usr/src/usr.bin/make/dir.c
>>> /usr/src/usr.bin/make/for.c /usr/src/usr.bin/make/hash.c
>>> /usr/src/usr.bin/make/hash_tables.c /usr/src/usr.bin/make/job.c
>>> /usr/src/usr.bin/make/lst.c /usr/src/usr.bin/make/main.c
>>> /usr/src/usr.bin/make/make.c /usr/src/usr.bin/make/parse.c
>>> /usr/src/usr.bin/make/proc.c /usr/src/usr.bin/make/shell.c
>>> /usr/src/usr.bin/make/str.c /usr/src/usr.bin/make/suff.c
>>> /usr/src/usr.bin/make/targ.c /usr/src/usr.bin/make/util.c
>>> /usr/src/usr.bin/make/var.c
>>> cc: not found
>>> mkdep: compile failed
>>> *** Error code 1
>>>
>>> Stop in /usr/src/usr.bin/make.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>> *** Error code 1
>>>
>>> Stop in /usr/src.
>>> + exit 1
>>> + umount /dev
>>> *** Error code 1
>>>
>>> Stop in /usr/src/release.
>>>
>>>
>>>
>>>
>>>
>>> These are just the last lines, I can post the entire log if needed, but
>>> it
>>> is quite large.
>>>
>>>
>>> The source code is from 7.0-RELEASE, and my src.conf is the following:
>>> WITHOUT_ATM=
>>> WITHOUT_AUTHPF=
>>> WITHOUT_BIND=
>>> WITHOUT_BLUETOOTH=
>>> WITHOUT_CALENDAR=
>>> WITHOUT_CDDL=
>>> WITHOUT_CPP=
>>> WITHOUT_CVS=
>>> WITHOUT_CXX=
>>> WITHOUT_DICT=
>>> WITHOUT_EXAMPLES=
>>> WITHOUT_FORTH=
>>> WITHOUT_GAMES=
>>> WITHOUT_GDB=
>>> WITHOUT_GPIB=
>>> WITHOUT_GROFF=
>>> WITHOUT_GSSAPI=
>>> WITHOUT_GESIOD=
>>> WITHOUT_GNU=
>>> WITHOUT_HTML=
>>> WITHOUT_I4B=
>>> WITHOUT_IDEA=
>>> WITHOUT_INFO=
>>> WITHOUT_IPFILTER=
>>> WITHOUT_IPX=
>>> WITHOUT_KERBEROS=
>>> WITHOUT_LOCALES=
>>> WITHOUT_LPR=
>>> WITHOUT_MAN=
>>> WITHOUT_NCP=
>>> WITHOUT_NLS=
>>> WITHOUT_NIS=
>>> WITHOUT_OBJC=
>>> WITHOUT_RCMDS=
>>> WITHOUT_RCS=
>>> WITHOUT_SENDMAIL=
>>> WITHOUT_SHAREDOCS=
>>> WITHOUT_SSP=
>>> WITHOUT_TCSH=
>>> WITHOUT_TOOLCHAIN=
>>> WITHOUT_WPA_SUPPLICANT_EAPOOL=
>>> WITHOUT_ZFS=
>>>
>>>
>>> The problem seems to arise when any of WITHOUT_TOOLCHAIN, WITHOUT_CXX or
>>> WITHOUTH_CPP are present.
>>>
>>>
>>> On this build, I don't want to have any development tools, as I'm trying
>>>  to reduce the size at a minimum.
>>>
>>> Why is "make" being build? How can I avoid this?
>>>
>>> If you need more info in order to help me, tell me what do you need
>>> please.
>>>
>>> Thanks for any help
>>>
>>> ___
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to "
>>> freebsd-questions-unsubscr...@freebsd.org"
>>>
>>
>>
>> You need
>> WITHOUT_TOOLCHAIN= to build you can add that after you do a build
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscr...@freebsd.org"
>
>
Remove WITHOUT_TOOLCHAIN when building but when you do the install you can
readd it I m not sure how you would do it using the make release though.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


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  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. If manually set this option, that says tech support 
 > of provider, pppd print, that not connect and not determinate IP 
 > adress. Why I can enable this option? In Linux this option is enabled 
 > and all working fine. Thank you!

pppd(8) has not had any serious work done on it for over two years, see
  http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/pppd/main.c
There was some talk in -net of dropping support for it altogether.

The KPPP authors have so far declined to consider adding support for 
FreeBSD's ppp(8), due perhaps to their primarily Linux orientation.

I suggest instead using either ppp(8) - which is extensively supported 
by the FreeBSD Handbook and in the mailing lists - or the net/mpd5 port, 
which uses in-kernel netgraph modules.  Both support fetching upstream 
DNS addresses.  I happily used ppp(8) for 10 years, but now prefer mpd.

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"