Re: question FreeBSD

2005-07-25 Thread Jonathan Glaschke
Hello,

On Mon, Jul 25, 2005 at 10:17:50AM +0600, zick-1 wrote:
 Hello.
 
 I cannot install the application from a collection of ports.
 The mistake is given out  Error code 1
 
 
 
 -- 
 Best regards,
  zick-1  mailto:[EMAIL PROTECTED]
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Please describe more details of you problem?
It's much easier to you help you if you give up information about what you did
exactly and if you give us the full ouput, not only Error code 1.

Greetings, Jonathan

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


PANIC on 6.0-BETA-1

2005-07-25 Thread [EMAIL PROTECTED]

Hello all!
Yesterday I tried moving from RELENG_5 to RELENG_6 with a custom kernel. 
Used cvsup for getting files.

Panic details follow at the end.
Here is what I did:
1. make clean in /usr/src
2. removed stale obj files.
3. commented out the NO_INFO and other knobs in /etc/make.conf  I had as 
I got error messages.

4. ran  make buildworld
5. ran make buildkernel KERNCONF=MYKERNEL. Got dependency error about 
IPDIVERT. It said IPFIREWALL was required so I commented it out.

6. removed /usr/obj/usr/srs/sys/MYKERNEL directory
7. ran make buildkernel KERNCONF=MYKERNEL
8. ran make installkernel KERNCONF=MYKERNEL

The system boots ok displaying copyright stuff, CPU features,ACPI 
stuff+links and goes booboo to here:


nvidia:0 GEFORCE FX 5200 mem 0xde00 - 
0xdeff,0xd000-0xd7ff irq 16 at device 0.0 pci 


Warning: Device driver 

Fatal trap 12: page fault while in kernel mode
fault virtual address= 0x480008
fault cod= supervisor read, page not present
instruction pointer  = 0x20:0xc07ff748
stack pointer = 0x28:0xc14207cc
frame pointer = 0x28:0xc14207cc
code segment= base 0x0, limit 0x, type 0x16
= DPL0, pres 1, def 32 1 gran 1
processor eflags=interrupt enabled, resume, IOPL=0
current process =0(swapper)
trap number  =12
panic:   page fault
uptime 1s

The problem is I can't boot in 5.4-STABLE either
At boot up I escape to loader prompt hit boot kernel.old
Boot up and spits out
Can't work out which disk we are booting from
Guessed BIOS disk 0x not found by probes, defaulting to disk0
panic face: guard1 fail @ 0x67b44 from 
/usr/src/sys/i386/loader/../../common/modul.c:957

- Press any key to reboot -

A little info about my system:
512MB RAM
AMD Seprom 2500+ CPU
2 disk system - ad0 and ad1 - FreeBSD is on ad1
Have nvidia_load=YES in loader.conf and snd_driver_all=YES
MYKERNEL is a generic kernel I have used for 5.x series with a little 
tweaks such as COMPAT_4x, device io and mem

Sorry I can't post it but currently I do not have access to it.
Can you advise of workarounds and get back my system running?
I'm thinking of 6.0-beta1 disk2 as a start, compiling a 6.0 generic kernel.
If that fails I'm considering the 6.0-beta1 disk1 as a second resort - 
hitting upgrade button.

If that fails too - 5.4-based or some other live cd

Thanks in advance!
Have a nice day,
Dimitar Vassilev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


resizing virtual disk (vn0)

2005-07-25 Thread alexandre . delay
hi,

I am searching how to resize a virtual disk created with:


   # dd if=/dev/zero of=newimage bs=1k count=5k
   5120+0 records in
   5120+0 records out
   # vnconfig -s labels -c vn0 newimage
   # disklabel -r -w vn0 auto
   # newfs vn0c
   Warning: 2048 sector(s) in last cylinder unallocated
   /dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors
   5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g)
   super-block backups (for fsck -b #) at:
32
   # mount /dev/vn0c /mnt

When I decide to add more space to this virtual disk, I would like to be able to
resize it.

The only solution I have is creating an other virtual disk and copy files before
deleting the first one. It takes a long time and two time more space than what I
want during the process.

any idea?

Cheers

Alex

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


Re: resizing virtual disk (vn0)

2005-07-25 Thread Glenn Dawson

At 02:36 AM 7/25/2005, [EMAIL PROTECTED] wrote:

hi,

I am searching how to resize a virtual disk created with:


   # dd if=/dev/zero of=newimage bs=1k count=5k
   5120+0 records in
   5120+0 records out
   # vnconfig -s labels -c vn0 newimage
   # disklabel -r -w vn0 auto
   # newfs vn0c
   Warning: 2048 sector(s) in last cylinder unallocated
   /dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors
   5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g)
   super-block backups (for fsck -b #) at:
32
   # mount /dev/vn0c /mnt

When I decide to add more space to this virtual disk, I would like to be 
able to

resize it.

The only solution I have is creating an other virtual disk and copy files 
before
deleting the first one. It takes a long time and two time more space than 
what I

want during the process.

any idea?


You can create an empty file that's as big as the space you want to add 
(using dd).  Then concatenate the empty file to the end of the file that 
contains the filesystem you need to make larger.  Then use disklabel to 
edit the size of the partition you are using to reflect the added 
space.  Then use growfs to expand the filesystem.


Depending on how big the filesystem is, it will save a lot of time over 
doing a dump and restore.


-Glenn



Cheers

Alex

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


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


Re: Holtek HT80232 NIC unrecognized on FreeBSD 5.4-RELEASE

2005-07-25 Thread jackqq
Thank you! I've learnt how to use send-pr and posted the PR.

On 7/24/05, Gary W. Swearingen [EMAIL PROTECTED] wrote:

 I sure hope you'll file a PR about your addition to the file.
 


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


Re: Shell scripts, SSH sessions, and for loops, oh my!

2005-07-25 Thread Damian Gerow
Thus spake Gary W. Swearingen ([EMAIL PROTECTED]) [25/07/05 02:13]:
:  I'm trying to write a shell script that runs a for loop in an SSH session.
:  Simply, I'm trying to do this:
: 
:  for HOST in `cat hostnames` ; do
:  ssh ${HOST} for PROCESS in 01 02 ; do echo '${PROCESS}' ; done
:  done
: 
:  But because this is run in a script, that gets translated to:
: 
:  for HOST in `cat hostnames` ; do
:  ssh ${HOST} for PROCESS in 01 02 ; do echo '' ; done
:  done
: 
: Here's a few clues (assuming you really want the single quotes in there):
: 
: echo THIS is SHELL: '\$SHELL'
: echo THIS is SHELL: ''$SHELL''
: echo 'THIS is SHELL: '\''$SHELL'\'
: 
: which all give
: 
: THIS is SHELL: '$SHELL'

Yeah, but...

The current shell still interprets $SHELL, and assigns it whatever local
value it has.  I don't want that.  I want $SHELL to be evaluated by the
remote system (the on to which I am establishing the SSH connection).

To answer my own question: it looks like sh just isn't the right tool for
the job.  I'm going to have to either completely change my approach to the
problem I'm trying to solve, or use Perl and Net::SSH (and given my problem,
I'm tending towards the latter).

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


Re: PANIC on 6.0-BETA-1

2005-07-25 Thread Benjamin Thelen

[EMAIL PROTECTED] wrote:

Hello all!
Yesterday I tried moving from RELENG_5 to RELENG_6 with a custom kernel. 
Used cvsup for getting files.

Panic details follow at the end.
Here is what I did:
1. make clean in /usr/src
2. removed stale obj files.
3. commented out the NO_INFO and other knobs in /etc/make.conf  I had as 
I got error messages.

4. ran  make buildworld
5. ran make buildkernel KERNCONF=MYKERNEL. Got dependency error about 
IPDIVERT. It said IPFIREWALL was required so I commented it out.

6. removed /usr/obj/usr/srs/sys/MYKERNEL directory
7. ran make buildkernel KERNCONF=MYKERNEL
8. ran make installkernel KERNCONF=MYKERNEL

The system boots ok displaying copyright stuff, CPU features,ACPI 
stuff+links and goes booboo to here:


nvidia:0 GEFORCE FX 5200 mem 0xde00 - 
0xdeff,0xd000-0xd7ff irq 16 at device 0.0 pci 


Warning: Device driver 

Fatal trap 12: page fault while in kernel mode
fault virtual address= 0x480008
fault cod= supervisor read, page not present
instruction pointer  = 0x20:0xc07ff748
stack pointer = 0x28:0xc14207cc
frame pointer = 0x28:0xc14207cc
code segment= base 0x0, limit 0x, type 0x16
= DPL0, pres 1, def 32 1 gran 1
processor eflags=interrupt enabled, resume, IOPL=0
current process =0(swapper)
trap number  =12
panic:   page fault
uptime 1s

The problem is I can't boot in 5.4-STABLE either
At boot up I escape to loader prompt hit boot kernel.old
Boot up and spits out
Can't work out which disk we are booting from
Guessed BIOS disk 0x not found by probes, defaulting to disk0
panic face: guard1 fail @ 0x67b44 from 
/usr/src/sys/i386/loader/../../common/modul.c:957

- Press any key to reboot -

A little info about my system:
512MB RAM
AMD Seprom 2500+ CPU
2 disk system - ad0 and ad1 - FreeBSD is on ad1
Have nvidia_load=YES in loader.conf and snd_driver_all=YES
MYKERNEL is a generic kernel I have used for 5.x series with a little 
tweaks such as COMPAT_4x, device io and mem

Sorry I can't post it but currently I do not have access to it.
Can you advise of workarounds and get back my system running?
I'm thinking of 6.0-beta1 disk2 as a start, compiling a 6.0 generic kernel.
If that fails I'm considering the 6.0-beta1 disk1 as a second resort - 
hitting upgrade button.

If that fails too - 5.4-based or some other live cd

Thanks in advance!
Have a nice day,
Dimitar Vassilev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Hi,

Just a short shot, as the error message you've posted is not really 
talkative, but 'Warning: Device driver ' and 'nvidia_load=YES in 
loader.conf' leads me to the assumption, that your problem is the nvidia 
module. Try removing _everything_ that is non-standard, e.g. everything 
what loads additional modules!


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


bsdlabel and moving to a bigger drive

2005-07-25 Thread Omar Thameen
I'm trying to transfer a 5.4 box from one drive to another bigger one.
I've added the second drive, partitioned and labeled it using
sysinstall's post-install configuration of FreeBSD menu item,
created new partitions with better space allocation, then dumped/restored
the filesystems.

I had sysinstall create all the filesystems on /mnt so I could do
the dump/restore.  Because there was no / partition (it was /mnt
on the new drive), sysinstall did not create an ad2s1a partition.
The / partition on the new drive is thus ad2s1d.

After the dump/restore, I edited /etc/fstab in preparation for putting
the new drive on the primary IDE controller and the original drive on
the secondary IDE controller.  On reboot, I had to tell the boot
process to boot from ad0s1d (the new drive is now ad0) via
0:ad(0,d)/boot/loader
at the boot prompt.

That works fine, but I'd like to avoid having to type that in every
time.  I figured I could just use bsdlabel to rename the 'd' partition
to 'a' so it can be booted from, but here's my first problem:
bsdlabel -e ad0s1
doesn't save my changes.  I've tried this after a default boot and
in single-user mode.  Do I need to boot from floppy/cd to accomplish
this, or is there something else I'm missing?

While I'm on the boot kick, here's my next question.  I tried booting
from the original drive (now on the 2nd IDE controller) via:
1:ad(0,a)/boot/loader
at the boot prompt, but it won't boot because it's looking for the
kernel on ad0s1d.  The only place I can think it would be getting
that information from is /etc/fstab the IDE drive on the primary
controller.  I thought that if I booted from the IDE drive on
the secondary controller, the whole process would proceed by reading
files off of that drive - but do the boot files always look on
the primary drive?

Omar

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


Re: resizing virtual disk (vn0)

2005-07-25 Thread Glenn Dawson

At 02:36 AM 7/25/2005, [EMAIL PROTECTED] wrote:

hi,

I am searching how to resize a virtual disk created with:


   # dd if=/dev/zero of=newimage bs=1k count=5k
   5120+0 records in
   5120+0 records out
   # vnconfig -s labels -c vn0 newimage
   # disklabel -r -w vn0 auto
   # newfs vn0c
   Warning: 2048 sector(s) in last cylinder unallocated
   /dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors
   5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g)
   super-block backups (for fsck -b #) at:
32
   # mount /dev/vn0c /mnt

When I decide to add more space to this virtual disk, I would like to be 
able to

resize it.

The only solution I have is creating an other virtual disk and copy files 
before
deleting the first one. It takes a long time and two time more space than 
what I

want during the process.

any idea?


Here's a set of step by step instructions to go along with my previous reply:

adding space to a vn backed filesystem

unmount the file system to be enlarged

# umount /foo

unconfigure the vn node that needs to be enlarged

# vnconfig -u /dev/vn0

*** MAKE A BACKUP of the file that was attached to the vn device

# cp /path/to/oldfile /path/to/backup

create a new file that's as big as the amount of space you want to add

# dd if=/dev/zero of=addfile count=200

(200 blocks is 1GB)

cat the original file and the new space into a new file

# cat origfile addfile  newfile

associate the new file with the vn device

# vnconfig -u /dev/vn0
# vnconfig -s labels -c /dev/vn0 /path/to/newfile

use disklabel to increase the size of the disk
(you'll need to do a bit of math to get the right numbers, but make sure you
edit the size of the disk and the size of the c partition)

# disklabel -r -e vn0

now use growfs to enlarge the actual filesystem
(size for growfs should match the size of the c partition when you edited the
disklabel)

# growfs -s 400 /dev/vn0c

mount the newly enlarged filesystem

# mount /dev/vn0c /some/path

and that's it.

-Glenn


Cheers

Alex

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


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


Re: bsdlabel and moving to a bigger drive

2005-07-25 Thread Glenn Dawson

At 03:11 AM 7/25/2005, Omar Thameen wrote:

I'm trying to transfer a 5.4 box from one drive to another bigger one.
I've added the second drive, partitioned and labeled it using
sysinstall's post-install configuration of FreeBSD menu item,
created new partitions with better space allocation, then dumped/restored
the filesystems.

I had sysinstall create all the filesystems on /mnt so I could do
the dump/restore.  Because there was no / partition (it was /mnt
on the new drive), sysinstall did not create an ad2s1a partition.
The / partition on the new drive is thus ad2s1d.

After the dump/restore, I edited /etc/fstab in preparation for putting
the new drive on the primary IDE controller and the original drive on
the secondary IDE controller.  On reboot, I had to tell the boot
process to boot from ad0s1d (the new drive is now ad0) via
0:ad(0,d)/boot/loader
at the boot prompt.

That works fine, but I'd like to avoid having to type that in every
time.  I figured I could just use bsdlabel to rename the 'd' partition
to 'a' so it can be booted from, but here's my first problem:
bsdlabel -e ad0s1
doesn't save my changes.  I've tried this after a default boot and
in single-user mode.  Do I need to boot from floppy/cd to accomplish
this, or is there something else I'm missing?


The bootstrap code only knows how to find the 'a' partition.  According to 
the boot(8) man page, the only way to avoid manual intervention at boot 
time is to have the 'a' partition as /


-Glenn



While I'm on the boot kick, here's my next question.  I tried booting
from the original drive (now on the 2nd IDE controller) via:
1:ad(0,a)/boot/loader
at the boot prompt, but it won't boot because it's looking for the
kernel on ad0s1d.  The only place I can think it would be getting
that information from is /etc/fstab the IDE drive on the primary
controller.  I thought that if I booted from the IDE drive on
the secondary controller, the whole process would proceed by reading
files off of that drive - but do the boot files always look on
the primary drive?

Omar

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


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


Re: FreeBSD is Very slow to load some sites

2005-07-25 Thread FreeBsdBeni
On Monday 25 July 2005 00:57, Galdes, Andrew (ERHS) wrote:
 Hello All,

 Freebsd seems to take a long time (up to ten minutes) to load some web
 sites. When i use Linux or Windows it seems to load at normal speed. I have
 installed Freebsd (same version) on another computer and it has the same
 trouble. I have tried both firefox and konqueror.

I'm having no problems here to access the site. Using Firefox 1.0.6 (less than 
1 min to show the page) and Konqueror 3.4.1 (a bit over 1 min) under 
5.4-REL-p5. But the site uses stylesheets and (java)scripts/applets. Maybe 
thats the problem ?

Beni.


pgpN8llpczWjY.pgp
Description: PGP signature


Re: cannot install ntop under freeBSD 5.5

2005-07-25 Thread PK

hi

It must be a BUG in the freeBSD 5.4 ntop port !

greetings
Piotr




 --- On Mon 07/25, Giorgos Keramidas  [EMAIL PROTECTED]  wrote:
From: Giorgos Keramidas [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
Date: Mon, 25 Jul 2005 13:20:05 +0300
Subject: Re: cannot install ntop under freeBSD 5.5

On 2005-07-24 20:14, PK [EMAIL PROTECTED] wrote:brbr hibrbr I 
have exact the same problem and get the same errors.brbr to clean a port, 
reinstall or upgrade ntop or rrdtool doesn't help.brbrStrange.  I did build 
ntop on 6.0-CURRENT a few days before the switchbrto 7.0-CURRENT was made.  I 
haven't tried to build ntop on 5.X though,brso this may be the 
problem.brbr

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Dump/Tape block question

2005-07-25 Thread FreeBSD Questions
Sorry if this is a repeat.  I posted this on the 21st and never saw it show up
in the mailing list, so I'm assuming nobody ever received it.

I have a question about dump and tape blocks.  When I do backups, dump
tells me it uses a certain number of blocks for that particular
backup.  I explicitly set my block size to 65K when I do a dump.  When
I read the SCSI or hardware block location on the tape after the dump,
it's nowhere near the same number as what dump said it used.

How big is each block?  I'd like to know about where on the tape I am
when I do an 'mt rdhpos' command (but I don't know how to determine
the reported block size), and I'd like to be able to calculate how
much data was written for each backup based on the number of blocks
dumped (I assume these blocks are the size I specify on the dump
command line).  In fact, how can I calculate how many blocks my tape
can hold?  (i.e. What is the biggest block number an 'mt rdhpos' or
'mt rdspos' will report for my tape?)

Of course, an obvious solution to the last question is to write enough
data to fill the tape and then check the output of 'mt rdhpos'.  I'd
rather not spend the hours needed and the unneeded wear on the tape to
figure that out.

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


(no subject)

2005-07-25 Thread Bölcskei Zoltán

Hi!I don't have an internet connection at home so i wanna know if 
therenbsp;are any places where i can download packages/distfiles with 
dependencies recursively/together [e.g.: a tarred file or s.g. like that which 
includes the package and all of it's dependencies](because downloading them 
one-by-one is quite annoying)???

-
CitroMail.hu - Vidám, kényelmes, gyors, ingyenes levelező rendszer!
Egy helyen elérheted régi címeidre érkező leveleidet,automatikusan 
továbbíthatod ide érkező leveleidet más címre!
20 Megabyte tárhely, melyet akármekkorára bővíthetsz!
Az SMS értesítés segítségével pedig mindig értesülsz, ha fontos levelet kapsz! 
Próbáld ki most a Citrot!

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


Re: cannot install ntop under freeBSD 5.5

2005-07-25 Thread Glenn Dawson

At 05:03 AM 7/25/2005, PK wrote:


hi

It must be a BUG in the freeBSD 5.4 ntop port !

greetings
Piotr


The problem you are seeing is because the rrd plugin that's part of ntop is 
supplying 5 argument to the rrd_graph() function.  Which is ok for the 
versions of rrd that are bundled with ntop.


However, if you have the rrdtools port installed, it's version of 
rrd_graph() is expecting 8 arguments.  The error you are getting is because 
the prototype for rrd_graph() that comes with rrdtools does not match how 
ntop is calling it.


To get around the problem, you can remove the rrdtool port, and then ntop 
should build without errors.  If you're using rrdtool you can probably 
reinstall it once ntop is built.  That may cause a problem if rrdtool 
installs any shared libraries that ntop uses.


-Glenn






 --- On Mon 07/25, Giorgos Keramidas  [EMAIL PROTECTED]  wrote:
From: Giorgos Keramidas [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
Date: Mon, 25 Jul 2005 13:20:05 +0300
Subject: Re: cannot install ntop under freeBSD 5.5

On 2005-07-24 20:14, PK [EMAIL PROTECTED] wrote:brbr 
hibrbr I have exact the same problem and get the same 
errors.brbr to clean a port, reinstall or upgrade ntop or rrdtool 
doesn't help.brbrStrange.  I did build ntop on 6.0-CURRENT a few days 
before the switchbrto 7.0-CURRENT was made.  I haven't tried to build 
ntop on 5.X though,brso this may be the problem.brbr


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


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


Re: question FreeBSD

2005-07-25 Thread delta . ski
On Sunday 24 July 2005 11:17 pm, zick-1 wrote:
 Hello.

 I cannot install the application from a collection of ports.
 The mistake is given out  Error code 1

This is a common error message reflecting a user trying to install a port or 
package. Try root prior to the install attempt, this should work better.
There are many tutorials and documentation that would help in this matter. 
A simple google search will also assist. FreeBSD does have a high learning 
curve that demands effort on your part. Read, Learn, Command.

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


Re: Shell scripts, SSH sessions, and for loops, oh my!

2005-07-25 Thread Gary W. Swearingen
Damian Gerow [EMAIL PROTECTED] writes:

 Yeah, but...

 The current shell still interprets $SHELL, and assigns it whatever local
 value it has.  I don't want that.  I want $SHELL to be evaluated by the
 remote system (the on to which I am establishing the SSH connection).

No, the whole object of my examples was to pass $SHELL to the echo
command without interpretation by the shell -- which they did.

 To answer my own question: it looks like sh just isn't the right tool for
 the job.  I'm going to have to either completely change my approach to the
 problem I'm trying to solve, or use Perl and Net::SSH (and given my problem,
 I'm tending towards the latter).

Standard shells can do almost anything; just awkwardly and in
hard-to-decipher style.

This should demonstrate better.  I've got two scripts:

-- tryit:
#!/bin/sh
PROCESS=process
export PROCESS
ssh for PROCESS in 01 02 ; do echo \${PROCESS} ; done

-- ssh:
#!/bin/sh
PROCESS=newproc
echo From 'ssh': '$@'
eval $@

-- running tryit:
$ temptry
From 'ssh': 'for PROCESS in 01 02 ; do echo ${PROCESS} ; done'
01
02
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gcc34 build error on Freebsd 5.1

2005-07-25 Thread Darryl Hoar
Greetings,
I have 5.1 running on my machine.  I installed cvsup
and upgraded my ports with it.  I then went into
/usr/ports/databases/firebird-client and did a make install.

Of course it installed several other dependencies when
I did that.  One thing is was trying to build/install was
gcc34.  The following error was generated and the
entire process came to a halt.

../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit
declaration of function `memset'
gmake[2]: *** [fibheap.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 2

Stop in /usr/ports/lang/gcc34.
*** Error code 1

I google'd and searched the freebsd website/mailing list,
FAQ, but didn't find an answer to this problem.

Anybody have an pointers/help so I can get on with the install ?

thanks in advance,

Darryl


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


re: FreeBSD is Very slow to load some sites

2005-07-25 Thread Denis R.
Hey Andrew,

If you suspect it is your DNS, just put the IP address of your site in the
browser: 202.2.59.40 or 202.2.56.40 and see if the same thing happens.

But like someone else noticed, it might be page related (java etc) that
the Linux browser is having problems with.

Regards!
Denis











Freebsd seems to take a long time (up to ten minutes) to load some web
sites. When i use Linux or Windows it seems to load at normal speed. I have
installed Freebsd (same version) on another computer and it has the same
trouble. I have tried both firefox and konqueror.

The website is www.anz.com.au.

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


Re: Dump/Tape block question

2005-07-25 Thread Gary W. Swearingen
FreeBSD Questions [EMAIL PROTECTED] writes:

 How big is each block?  I'd like to know about where on the tape I am
 when I do an 'mt rdhpos' command (but I don't know how to determine
 the reported block size), and I'd like to be able to calculate how
 much data was written for each backup based on the number of blocks
 dumped (I assume these blocks are the size I specify on the dump
 command line).  In fact, how can I calculate how many blocks my tape
 can hold?  (i.e. What is the biggest block number an 'mt rdhpos' or
 'mt rdspos' will report for my tape?)

It'd be real useful to have some intro to tapes and blocks, huh?
I recently did some testing on my DDS-II drive to try to figure it
out, somewhat.

You needn't go to the end of the tape to figure the tape block size;
take the number of bytes written and divide by the rdhpos number.

If I cat to the drive, the tape records seem to be 4096 bytes.

If I use dd, the tape records seem to be the bs size.

The rdspos and rdhpos are almost the same, with rdspos probably 
counting an extra block for each file mark.

Those rdxpos counts for a given file are the same whether tape-drive
compression is on or off, meaning that with compression on, you can't
well-predict what the rdhpos would be at the end of the tape, or
what percentage of the tape you've used. :(

I didn't try tar blocking, though the new f tar works fine to
a disk file or piped to another tar.

Backup duration (on my fast sys, anyway) is determined by how much
tape is used, not on whether drive or CPU has to do on-the-fly
compression or not.  Except that (based on one test) it seemed to
take the drive longer to write a compressed file with compression
on, than with compression off.  So I'll be compressing on the CPU
and turning drive compression off (which has the side benefit of
giving more useful rdhpos numbers).

Suggestion: write an mt command that intercepts mt erase without a
0 argument, if you don't want to wait an hour or more for the tape
to be fully erased. (You can't even kill -9 mt.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Update 5.3 Release to 5.4

2005-07-25 Thread Aguiar Magalhaes
Hi list,

I´m using FreeBSD 5.3 - Release in servers (Postfix,
Apache, pf, squid, etc)

I´d like to update for 5.4, but I don´t know how to
do. Is it safe ?

Aguiar








___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD is Very slow to load some sites

2005-07-25 Thread Bob Johnson
 From: Galdes, Andrew (ERHS) [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Mon, 25 Jul 2005 08:27:37 +0930
 Subject: FreeBSD is Very slow to load some sites
 
 Hello All,
 
 Freebsd seems to take a long time (up to ten minutes) to load some web
 sites. When i use Linux or Windows it seems to load at normal speed. I have
 installed Freebsd (same version) on another computer and it has the same
 trouble. I have tried both firefox and konqueror. 
 
 The website is www.anz.com.au. I suspect the security of the site is the
 problem but cannot be sure.

It seems to be some sort of DNS issue, but I don't know exactly what.  An HTTP 
connection to www.anz.com.au takes about 45 seconds to establish, regardless 
of the browser.  E.g.

time telnet www.anz.com.au 80
Trying 202.2.59.40...
Connected to www.anz.com.
Escape character is '^]'.
^]
telnet quit
Connection closed.

real0m44.633s


A DNS query, however, responds almost immediately:

time dig www.anz.com.au

[...]
;; QUESTION SECTION:
;www.anz.com.au.IN  A

;; ANSWER SECTION:
www.anz.com.au. 9798IN  CNAME   www.anz.com.
www.anz.com.1   IN  A   202.2.59.40
www.anz.com.1   IN  A   202.2.56.40
[...]

real0m0.288s


And an HTTP connection by IP number instead of by name responds almost 
immediately, also.  I see no packets coming from them (e.g. IDENT queries) 
that would account for the delay.  One of their IP numbers (202.2.56.40) has 
no PTR record, but I don't think that has anything to do with it.


 
 Another thread on this list [kde-freebsd] Konqueror very slow displaying
 some sites puts it down to DNS. Any ideas?
 

Could be an issue with the FreeBSD resolver.  It's happened in the past, but I 
thought that was all cleared up now.  I don't know if dig uses the native 
resolver or implements one of its own.  I suspect the latter.


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


Re: Dump/Tape block question

2005-07-25 Thread Glenn Dawson

At 05:20 AM 7/25/2005, FreeBSD Questions wrote:

Sorry if this is a repeat.  I posted this on the 21st and never saw it show up
in the mailing list, so I'm assuming nobody ever received it.

I have a question about dump and tape blocks.  When I do backups, dump
tells me it uses a certain number of blocks for that particular
backup.  I explicitly set my block size to 65K when I do a dump.  When
I read the SCSI or hardware block location on the tape after the dump,
it's nowhere near the same number as what dump said it used.


Assuming you're using the -b option, -b 64 will tell dump to write 64K at a 
time.


When dump is done, and it tells you how many blocks it wrote, multiply that 
by 65536 and that will tell you how many bytes were written.


-Glenn



How big is each block?  I'd like to know about where on the tape I am
when I do an 'mt rdhpos' command (but I don't know how to determine
the reported block size), and I'd like to be able to calculate how
much data was written for each backup based on the number of blocks
dumped (I assume these blocks are the size I specify on the dump
command line).  In fact, how can I calculate how many blocks my tape
can hold?  (i.e. What is the biggest block number an 'mt rdhpos' or
'mt rdspos' will report for my tape?)

Of course, an obvious solution to the last question is to write enough
data to fill the tape and then check the output of 'mt rdhpos'.  I'd
rather not spend the hours needed and the unneeded wear on the tape to
figure that out.

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


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


change mediaopt of NIC to full-duplex

2005-07-25 Thread Gavin McDougall

Hi there,

I need to set my network cards (Intel Pro 1000) to full-duplex.

I tried using ifconfig with the mediaopt option which worked, but only 
temporarily.


I then downloaded mii-tool 'cos it wasn't in the ports collection but it 
just gives me critical errors when I try to compile it.


Is there possibly another method that I can use on my FreeBSD server to 
permanently change my NIC settings to full-duplex?


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


Re: (no subject)

2005-07-25 Thread Gary W. Swearingen
Bölcskei Zoltán [EMAIL PROTECTED] writes:

 Hi!I don't have an internet connection at home so i wanna know if 
 therenbsp;are any places where i can download packages/distfiles with 
 dependencies recursively/together [e.g.: a tarred file or s.g. like that 
 which includes the package and all of it's dependencies](because downloading 
 them one-by-one is quite annoying)???

(Please limit your lines to about 70 characters; many mail readers
do not re-format your messages.)

I haven't used it, but I suspect that portinstall -PRf xxx will
fetch the dist files for xxx and dist files xxx needs.  Check the
manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Update 5.3 Release to 5.4

2005-07-25 Thread Louis LeBlanc
On 07/25/05 11:53 AM, Aguiar Magalhaes sat at the `puter and typed:
 Hi list,
 
 I´m using FreeBSD 5.3 - Release in servers (Postfix,
 Apache, pf, squid, etc)
 
 I´d like to update for 5.4, but I don´t know how to
 do. Is it safe ?

Worked for me.  It should be safe.

So long as you follow the directions here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
including the backup.

Lou
-- 
Louis LeBlanc  FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,   KeySlapper Extrordinaire :)
Please send off-list email to: leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

knowledge, n.:
  Things you believe.


pgpVSN3tVfXvp.pgp
Description: PGP signature


Re: change mediaopt of NIC to full-duplex

2005-07-25 Thread Gerry Freymann
On Mon, 25 Jul 2005 17:08:13 +0200
Gavin McDougall [EMAIL PROTECTED] wrote:

I need to set my network cards (Intel Pro 1000) to full-duplex.
I tried using ifconfig with the mediaopt option which worked, but only 
temporarily.

 Temporarily? because you restarted your system?

 Add the mediaopt option to /etc/rc.conf on your ifconfig_XXX line.

 Regards,
-gerry


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


Re: change mediaopt of NIC to full-duplex

2005-07-25 Thread Tobias Fendin

Gavin McDougall wrote:

Hi there,

I need to set my network cards (Intel Pro 1000) to full-duplex.

I tried using ifconfig with the mediaopt option which worked, but only 
temporarily.


I then downloaded mii-tool 'cos it wasn't in the ports collection but it 
just gives me critical errors when I try to compile it.


Is there possibly another method that I can use on my FreeBSD server to 
permanently change my NIC settings to full-duplex?


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




set the mediaopt in your rc.conf
example:
ifconfig_xl0=blah blah mediaopt full-duplex

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


Re: change mediaopt of NIC to full-duplex

2005-07-25 Thread Vinicius Pavanelli Vianna
The nic returns to half duplex with those bright kernel messages?
i got this when there was some kind of arp conflict on the ip, and from
cables, somehow my isp cisco switch defaults to half duplex all the
time, so when disconnect  and connect the cable it returns to half =/


Gavin McDougall wrote:

 Hi there,

 I need to set my network cards (Intel Pro 1000) to full-duplex.

 I tried using ifconfig with the mediaopt option which worked, but only
 temporarily.

 I then downloaded mii-tool 'cos it wasn't in the ports collection but
 it just gives me critical errors when I try to compile it.

 Is there possibly another method that I can use on my FreeBSD server
 to permanently change my NIC settings to full-duplex?

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



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


Re: change mediaopt of NIC to full-duplex

2005-07-25 Thread Chuck Swiger

Vinicius Pavanelli Vianna wrote:

The nic returns to half duplex with those bright kernel messages?
i got this when there was some kind of arp conflict on the ip, and from
cables, somehow my isp cisco switch defaults to half duplex all the
time, so when disconnect  and connect the cable it returns to half =/


Have your ISP update their Cisco switches' firmware, and recheck whether 
ethernet autonegotiate works then.  If it doesn't, both sides will have to 
manually set full duplex...


--
-Chuck

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


Ripping cd's with mp3c

2005-07-25 Thread Marshall

mp3c doesn't seem to rip or encode songs from the cd.  It does see the
cd, it lists the songs on it, but just creates an empty file of every
song with a .mp3 extension that won't play.  I've configured
the .mp3crc config file, which must contain an error somewhere.  Any
ideas?

Thanks.
# WSPse's MP3-Creator (Configfile)
# automaticly created, but you may edit this file manually.
# [25.07.2005 09:58] - program version: 0.27
# {mp3c-0.27 (NLS) - ENGLISH (Jul 25 2005)}

# version number (to detect updates and inform about news)
mp3c_version = 0.27

# cdrom-device
cd_dev = /dev/acd0c

# CDDB-server [host:port] (more servers maybe seperated by commas)
# use 0 to disable server-access
# note: cddb.cddb.com:8880 is not longer usable
cddb_serv = freedb.freedb.org:8880

# local CDDB database
cddb_loc = ~/cddb

# if remote CDDB access is allowed
rem_cddb = 1

# mailadress to which CDDB should be sent (more addresses maybe seperated
# by commas)
cddb_email = [EMAIL PROTECTED]

# relaying smtp-server who handle my emails [host:port]
smtp_serv = localhost:smtp

# my email adress for authorizing [EMAIL PROTECTED]
my_email = [EMAIL PROTECTED]

# directory for mp3-files
mp3_dir = /usr/home/vhaistlawloj/mus

# program for ripping cd-tracks (to file)
#  %1 = cdrom device
#  %2 = track (numeric)
#  %3 = outputfile
rip_nf_prg = dagrab -o 6 -n 32 -d %1 -f %3 %2

# program for ripping cd-tracks (to stdout)
#  %1 = cdrom device
#  %2 = track (numeric)
rip_of_prg = cdrip.sh %1 %2

# program for encoding wav-mp3 (from file to file)
#   %1 = inputfile
#   %2 = outputfile
#   %3 = albumname
#   %4 = MP3 genre by number
#   %5 = year
#   %6 = comment
#   %7 = filename
#   %8 = MP3 genre by name
#   %a = tracknumber
#   %b = tracknumber (with leading zeros)
#   %c = artistname
#   %d = title
enc_nf_prg = gogo  %1 %2

# program for encoding wav-mp3 (from stdin to file)
#  %1 = outputfile
#  %3 = albumname
#  %4 = MP3 genre by number
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = MP3 genre by name
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
#  %c = artistname
#  %d = title
enc_of_prg = gogo /tmp/mp3 %1 -b 160

# program for creating mp3 info
#  use mp3_info_prg = 0 to disable usage of tagprogram
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genre (by number)
#  %5 = year
#  %6 = comment
#  %7 = filename
#  %8 = genre (by name)
#  %a = tracknumber
#  %b = tracknumber (with leading zeros)
mp3_info_prg = id3tool -r %1 -t %2 -a %3 -y %5 -g %4 -n %6 %7

# string which replaced %8 in mp3_info_prg, if genre is unknown
unknown_genre = Unknown

# size of fifo-buffer for on the fly encoding (KB)
of_fifo = 512

# pattern for mp3-filename-creation
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = cddb-id
mp3_pattern = %7-%2.mp3

# pattern fro mp3-filename-creation for sampler cds
#  same pattern like in mp3_pattern
mp3_pattern_mix = %7-%2.mp3

# mode for handling spaces in filenames
#  0: spaces allowed, 1: spaces will be converted to underscores
#  2: spaces will be killed
pat_mode = 1

# appereance of filename case
#  0: as it is in CDDB entry
#  1: convert to lowercase (first letter will be uppercase if pat_upc = 1
#  2: convert to uppercase
case_chg = 0

# convert first letter of filename to uppercase
#  0: no, 1: yes
pat_upc = 1

# illegal characters which aren't allowed in filenames
# (converted to '_' if mode != 2, else killed
ill_chars = ~[]()!*?

# what to do with illegal characters, should they be removed?
# (otherwise convert to '_' or space, depending on pat_mode)
#  0: no, use pat_mode, 1: yes, remove
rem_ill_char = 1

# protect pattern from substitution operations?
#  0: no, 1: yes
pattern_protect = 1

# character which should replace slashes in album, artist, title
# (only one character allowed, use 0 to accept slashes in these
   fields, which causes strange directory creation)
slash_rep_char = -

# non-strict character handling
# 0: only printable chars allowed, 1: eased allowed chars
eased_char_hand = 0

# default comment for mp3-files
#  %1 = artistname
#  %2 = title
#  %3 = albumname
#  %4 = genrestring
#  %5 = year
#  %6 = tracknumber
#  %7 = tracknumber (with leading zeros)
#  %8 = version-string of MP3c
#  %9 = cddb-id
#  %a = actual day (is set when encoding starts, or batchfile created)
#  %b = actual month
#  %c = actual year (2 digits)
#  %d = actual year (4 digits)
#  %e = weekday (3 letters)
#  %f = month (3 letters)
#  %g = actual hour
#  %h = actual minute
#  %i = minute-part of track-length
#  %j = second-part of track-length
mp3_comment = gen by WSPse-MP3c %8 [%b/%c]

# fancy color for windows (0: never, 1: sometimes, 2: ever)
fancy_color = 1

# autosave configuration on exit (0: no, 1: yes)
auto_save = 1

# default flag (0: default non-fly, 1: default on-fly)
def_on_fly = 1

# rip-encode order (0: rip one track, then encode; 1: rip all tracks,
#   then encode)

Re: FreeBSD is Very slow to load some sites

2005-07-25 Thread Chuck Swiger

Galdes, Andrew (ERHS) wrote:

The website is www.anz.com.au. I suspect the security of the site is the
problem but cannot be sure.

Another thread on this list [kde-freebsd] Konqueror very slow displaying
some sites puts it down to DNS. Any ideas?


DNS response time is fine.

However, it takes over 60 seconds for the site to answer a remote query via 
telnet, so I assume that the server is either overloaded or has been hacked. 
Apparently it's running IIS-4.0 on WinNT, so the safe money is on the latter...


--
-Chuck


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


question nmbd query_name_response

2005-07-25 Thread jstarng
After installing samba from port i've been getting these messages on
my terminal.

How do i resolve this conflict? I'm using two NIC's and both work
properly as far as folder sharing

Jul 25 09:56:26 FreeBSD5-4 nmbd[496]:   query_name_response: Multiple
(2) responses received for a query on subnet 192.0.0.111 for name
INTERNET1d.
Jul 25 09:56:26 FreeBSD5-4 nmbd[496]:   This response was from IP
192.168.1.37, reporting an IP address of 192.168.1.37.
Jul 25 10:31:55 FreeBSD5-4 nmbd[496]: [2005/07/25 10:31:55, 0]
nmbd/nmbd_namequery.c:query_name_response(112)
Jul 25 10:31:55 FreeBSD5-4 nmbd[496]:   query_name_response: Multiple
(2) responses received for a query on subnet 192.0.0.111 for name
INTERNET1d.
Jul 25 10:31:55 FreeBSD5-4 nmbd[496]:   This response was from IP
192.168.1.37, reporting an IP address of 192.168.1.37.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc34 build error on Freebsd 5.1

2005-07-25 Thread Kris Kennaway
On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote:
 Greetings,
 I have 5.1 running on my machine.  I installed cvsup
 and upgraded my ports with it.  I then went into
 /usr/ports/databases/firebird-client and did a make install.
 
 Of course it installed several other dependencies when
 I did that.  One thing is was trying to build/install was
 gcc34.  The following error was generated and the
 entire process came to a halt.
 
 ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit
 declaration of function `memset'
 gmake[2]: *** [fibheap.o] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty'
 gmake[1]: *** [all-target-libiberty] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/gcc34.
 *** Error code 1
 
 I google'd and searched the freebsd website/mailing list,
 FAQ, but didn't find an answer to this problem.
 
 Anybody have an pointers/help so I can get on with the install ?

FYI, 5.1 is very old and long out of support.  You should update to a
modern release of FreeBSD if you want your port builds (and FreeBSD
itself) to work smoothly.

Kris



pgpEzfybW2hJT.pgp
Description: PGP signature


Laptop mode for FreeBSD

2005-07-25 Thread Richard Lupton
Hello,

I have an old NEC Versa LX laptop with a very noisy disk. Mostly from
the point of view of making it quieter, rather than saving power, I
would like to let the disk spin down in the same way as laptop_mode
does for linux.
I can set the standby time and power saving options for the disk using
ataidle, but the disk doesn't stay spun down for any length of time.
Does anyone know of an equivalent to laptop_mode, or alternatively the
appropriate sysctls to postpone disk access?

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


Problem report rejected

2005-07-25 Thread jackqq
I sent a problem report using send-pr this evening. Later tonight I
was notified by my local MAILER-DAEMON, telling me the message I sent
(actually, my host) was rejected, excerpted as follows:

**
**  THIS IS A WARNING MESSAGE ONLY  **
**  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
**

The original message was received at Mon, 25 Jul 2005 17:54:57 +0800 (CST)
from localhost [127.0.0.1]

   - Transcript of session follows -
... while talking to mx1.freebsd.org.:
 DATA
 450 Client host rejected: cannot find your hostname, [60.26.7.157]
[EMAIL PROTECTED]... Deferred: 450 Client host
rejected: cannot find your hostname, [60.26.7.157]
 554 Error: no valid recipients
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old


I realized it was an anti-spam measure. Although the notification said
I should wait for another 5 days, I don't see much hope that the
message will be accepted this way.

I googled for freebsd 450 client host rejected and found a topic
Freebsd list rejects mail, which was posted in this mailing list
later 2003. But the solution didn't seem to be quite suitable for me.
I'm an ADSL subscriber, and I have dynamic IP addresses, and my ISP
won't serve me a DNS entry. Frankly speaking, I do not intend to serve
SMTP on my machine currently, and I enable sendmail only for
convenience for applications like send-pr.

I had a carbon copy of the PR message sent to, and received by, my
mailbox at GMail. May I, if fortunately enough, forward my copy at
GMail to freebsd.org to submit the problem report?

Thanks in advance!

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


Re: Problem report rejected

2005-07-25 Thread Kris Kennaway
On Tue, Jul 26, 2005 at 12:52:19AM +0800, jackqq wrote:
 I sent a problem report using send-pr this evening. Later tonight I
 was notified by my local MAILER-DAEMON, telling me the message I sent
 (actually, my host) was rejected, excerpted as follows:
 
 **
 **  THIS IS A WARNING MESSAGE ONLY  **
 **  YOU DO NOT NEED TO RESEND YOUR MESSAGE  **
 **
 
 The original message was received at Mon, 25 Jul 2005 17:54:57 +0800 (CST)
 from localhost [127.0.0.1]
 
- Transcript of session follows -
 ... while talking to mx1.freebsd.org.:
  DATA
  450 Client host rejected: cannot find your hostname, [60.26.7.157]
 [EMAIL PROTECTED]... Deferred: 450 Client host
 rejected: cannot find your hostname, [60.26.7.157]
  554 Error: no valid recipients
 Warning: message still undelivered after 4 hours
 Will keep trying until message is 5 days old
 
 
 I realized it was an anti-spam measure. Although the notification said
 I should wait for another 5 days, I don't see much hope that the
 message will be accepted this way.
 
 I googled for freebsd 450 client host rejected and found a topic
 Freebsd list rejects mail, which was posted in this mailing list
 later 2003. But the solution didn't seem to be quite suitable for me.
 I'm an ADSL subscriber, and I have dynamic IP addresses, and my ISP
 won't serve me a DNS entry. Frankly speaking, I do not intend to serve
 SMTP on my machine currently, and I enable sendmail only for
 convenience for applications like send-pr.
 
 I had a carbon copy of the PR message sent to, and received by, my
 mailbox at GMail. May I, if fortunately enough, forward my copy at
 GMail to freebsd.org to submit the problem report?

You can use the web-based PR submission form.

Kris


pgppy4EXK0tzC.pgp
Description: PGP signature


PF with Freebsd5.4 and Altq with freebsd4.11

2005-07-25 Thread Tiago Sousa
Hello to all

 

I am trying to install the diffserv model in my testbed. I have computers
with freebsd4.11 and kame + altq kernel options and computers with freebsd
5.4 + kame + altq and pf kernel options.

 

The first doubt that I have is:

 

My border routers are those with the freebsd5.4 + pf. Can I mark the packets
with pf? Someone had told me that with pf I can not use the traffic
conditioners of the diffserv model (i guess I can shape but not marking). Is
that true?  If so, how can I mark the packets?

 

Which restrictions have pf in comparison with altq, i.e., what are the
things that altq can do but pf don't. There is any?

 

 

Thanks.

 

Tiago

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


burncd - verify burn

2005-07-25 Thread Brian Henning
Greetings:

I would like to know a process to verify that I my cd burner has
burned an ISO file correctly with burncd. I know I can take some
precautions like checking the md5sum of the iso during a transfer from
the Internet. I also read on the Internet that burncd does puts some
extra padding at the end of the cd. I am not sure if that is true or
not. Could someone tell me how to verify a cd burn?

Thanks,

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


Re: X system

2005-07-25 Thread Lowell Gilbert
zick-1 [EMAIL PROTECTED] writes:

 Hello.
 
 Help to adjust the monitor and videocard in graphic interface X. At me
 FreeBSD 5.4.I used xorgcfg  -textmode but thus made changes it is impossible 
 to start X.
 
 It writes:
 Withing for X server to shut down
 xauth: creating new autority file /root/.Xauthority
 xauth: (argv) :1 bad display name :0 in remove command
 xauth: (argv) :1 bad display name :0 in remove command
 
 Changes correspond to my equipment.
 What to do?

Look for another X display, and kill it first.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem report rejected

2005-07-25 Thread Gary W. Swearingen
jackqq [EMAIL PROTECTED] writes:

  450 Client host rejected: cannot find your hostname, [60.26.7.157]
 [EMAIL PROTECTED]... Deferred: 450 Client host
 rejected: cannot find your hostname, [60.26.7.157]
...
 I'm an ADSL subscriber, and I have dynamic IP addresses, and my ISP

I am too, and saw as similar msg when first got going after installing
a new OS version.  A change in the sendmail config was needed.  IIRC,
all you need to do is do the make stuff in /etc/mail after removing
dnl  and fixing 2nd arg in this line of the appropriate .mc file:

dnl define(`SMART_HOST', `your.isp.mail.server')

 SMTP on my machine currently, and I enable sendmail only for
 convenience for applications like send-pr.

Last time I tried send-pr (years ago) it wouldn't work with my
sendmail config and I've been using regular mail (from a PR template
based on output of send-pr -P) ever since.

 I had a carbon copy of the PR message sent to, and received by, my
 mailbox at GMail. May I, if fortunately enough, forward my copy at
 GMail to freebsd.org to submit the problem report?

Don't know; shouldn't hurt to try.  Or use the web form at
www.freebsd.org.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Crypto Accelerators?

2005-07-25 Thread Danny Howard
Hello,

Does anyone have suggestions as to preferred hardware crypto
accelerators?  I want to improve performance of our SSL-based web
application, and making it easier for the web server to spew encrypted
ought to help. :)

Based on
http://www.freebsd.org/releases/5.4R/hardware-i386.html#CRYPTO-ACCEL and
the notes at http://www.openbsd.org/crypto.html#hardware I get the
impression that the Broadcom stuff is probably best, as they have had
the friendliest history of driver support, and there are a bunch of
different cards listed under the FreeBSD page.

Anyone like to confirm or amend this impression?  Vouch for a particular
card?

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


Re: How to create mtree files?

2005-07-25 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 I would like to use the mtree utility to confirm no changes have
 occurred to system files since 'make installworld', similar to that
 possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a
 release installation. This would also give the added advantage of
 being able to determine the current buildlevel of an installed
 system, I believe.  Is it possible/easy to create new mtree files
 after the buildworld or installworld process? I've looked at the
 Release Engineering docs but it seems more than what I'd like to
 do. I should add that I am running tripwire, but I really want to
 have a quick way to verify which files were part of which installworld.

man 8 mtree has full details.

mtree -c -p / is the start of what you're looking for.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.x, 3ware 7506-8, twe4, raid5

2005-07-25 Thread Sean Hafeez
I am looking at getting a 3ware 7506-8 for a FreeBSD 5.4 box. I have  
looked at the hardware support, finding the twe4 driver. How would  
people rate this card under FreeBSD? I am currently using an Adaptec  
ATA-100 RAID 2400A which only support 4 drives.



I would like to run an 8 drive RAID5 with the 7506-8.


Thanks!

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


Re: burncd - verify burn

2005-07-25 Thread Gary W. Swearingen
Brian Henning [EMAIL PROTECTED] writes:

 I would like to know a process to verify that I my cd burner has
 burned an ISO file correctly with burncd. I know I can take some
 precautions like checking the md5sum of the iso during a transfer from
 the Internet. I also read on the Internet that burncd does puts some
 extra padding at the end of the cd. I am not sure if that is true or
 not. Could someone tell me how to verify a cd burn?

Here's a crummy script I just used to burn and verify a CD, but I've
only tested it with the cdrecord setup.  Older versions of it worked
with burncd on older OS versions, but I can tell you that the reason
I'm using cdrecord is that my manual efforts to do this with
burncd on 5.4-RELEASE (and maybe 5.4-STABLE a couple weeks ago)
failed, because I couldn't dd a CD burned with burncd. (IE, I
couldn't sucessfully dd /dev/acd0, while I could dd /dev/cd0).

(Search this for diff to find the verify.  ISO images generally
get an extra two blocks of something on the CD for run-out. See
-isosize description of cdrecord manpage.)

#!/bin/ksh -o posix

## mkisocd [-blank] -speed file_name
#
## This burns and compares a file to the beginning of the write-only CD (CD-R).
## This must be run by superuser.
#
#  Note that the CD burning software (burncd) often writes an ISO CD at least a 
block bigger than the file.
#  I'm not sure why. (It's not a hard disk file system block size thing.)

#BURNER=/usr/local/bin/readcd
BURNCD=/usr/sbin/burncd
CDRECORD=/usr/local/bin/cdrecord
BURNER=$BURNCD
BURNER=$CDRECORD

if [ ${1} == -blank ]; then
if [ ${BURNER} == ${BURNCD} ]; then
BLANK=blank
else
BLANK=blank=fast
fi
shift
else
BLANK=
fi
TEMP=${1#-}
if [ ${TEMP} != $1 ]; then
SPEED=${TEMP}
shift
else
echo 'WARNING: nothing done; speed must be given as -factor (eg -16)'
exit 1
fi

FILENAME=$1

#DEBUG; echo SPEED = '$SPEED', FILENAME = '$FILENAME'
#exit

if [ ! -r ${FILENAME} -o ! -f ${FILENAME} ]; then
echo ERROR: The argument, \${FILENAME}\, is not a readable regular file. 
Nothing done.
exit 2
fi

## TBD REMOVE
##blocks=$(( $(ls -l ${FILENAME} | awk '{print $5;}') / ${blockbytes} ))

blockbytes=2048  ## Block size of ISO CDs. Nothing else will work (esp, in dd 
command).
filebytes=$(stat -f %z ${FILENAME})
fileblocks=$(( ${filebytes} / ${blockbytes} ))
if [ $(( ${fileblocks} * ${blockbytes} )) != ${filebytes} ]; then
echo ERROR: '${FILENAME}' is not a multiple of the CD blocksize, 
${blockbytes}. Nothing done.
exit 3
fi

echo WARNING: About to burn this file (${filebytes} bytes, ${fileblocks} 
blocks) to CD.
ls -l ${FILENAME}
echo -n Ensure CD in burner and enter \y\ to continue, else to abort: 

read
if [ $REPLY != y ]; then
echo You entered \$REPLY\, so the command is aborting with nothing done.
exit 4
fi

if [ ${BURNER} == ${BURNCD} ]; then
DEV=/dev/acd0
time burncd -f ${DEV} -s ${SPEED} ${BLANK} data ${FILENAME} fixate
else
DEV=/dev/cd0  ## cdrecord's default SCSI dev is in 
/usr/local/etc/something
time cdrecord -v speed=${SPEED} ${BLANK} ${FILENAME}
fi

if [ $? != 0 ]; then
echo ERROR: $BURNER failed. See above error message.
exit 5
fi

beep 2

sleep 2  ## ??

echo NOTICE: Comparing \${FILENAME}\ to the just-written CD. Please wait...
if dd if=${DEV} count=${fileblocks} bs=${blockbytes} | diff - ${FILENAME}; 
then
echo NOTICE: Comparison OK.  The CD seems OK.
else
echo ERROR: The CD and file differred.
fi

echo done

beep 3

exit 0

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


Re: burncd - verify burn

2005-07-25 Thread Glenn Dawson

At 10:38 AM 7/25/2005, Gary W. Swearingen wrote:

Brian Henning [EMAIL PROTECTED] writes:

 I would like to know a process to verify that I my cd burner has
 burned an ISO file correctly with burncd. I know I can take some
 precautions like checking the md5sum of the iso during a transfer from
 the Internet. I also read on the Internet that burncd does puts some
 extra padding at the end of the cd. I am not sure if that is true or
 not. Could someone tell me how to verify a cd burn?

Here's a crummy script I just used to burn and verify a CD, but I've
only tested it with the cdrecord setup.  Older versions of it worked
with burncd on older OS versions, but I can tell you that the reason
I'm using cdrecord is that my manual efforts to do this with
burncd on 5.4-RELEASE (and maybe 5.4-STABLE a couple weeks ago)
failed, because I couldn't dd a CD burned with burncd. (IE, I
couldn't sucessfully dd /dev/acd0, while I could dd /dev/cd0).


did you use bs=2048 when dd'ing from /dev/acd0?

-Glenn

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


Re: FreeBSD is Very slow to load some sites

2005-07-25 Thread cpghost
On Mon, Jul 25, 2005 at 08:27:37AM +0930, Galdes, Andrew (ERHS) wrote:
 Freebsd seems to take a long time (up to ten minutes) to load some web
 sites. When i use Linux or Windows it seems to load at normal speed. I have
 installed Freebsd (same version) on another computer and it has the same
 trouble. I have tried both firefox and konqueror. 
 
 The website is www.anz.com.au. I suspect the security of the site is the
 problem but cannot be sure.

A bit sluggish here with Firefox 1.0.5 (from ports). Page loads in
approx 30 seconds. Once the page is loaded, other pages are served
almost instantly. Stopping firefox and restarting it, results in the
same initial delay.

With w3m, every page access results in that approx 30 secs delay;
perhaps because w3m doesn't keep the connection open?

 Another thread on this list [kde-freebsd] Konqueror very slow displaying
 some sites puts it down to DNS. Any ideas?

It could be DNS related. I've run
$ truss w3m http://www.anz.com.au/

after mounting /proc, and most of the waiting time is spent querying
the local DNS server. After getting a reply from the DNS server,
everything starts running smoothing and fast again:

[... here, things start slowing down considerably ...]
socket(0x2,0x2,0x0)  = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16) = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0) = 32 (0x20)
gettimeofday({1122313919 295525},0x0)= 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 0 (0x0)
close(5) = 0 (0x0)
socket(0x2,0x2,0x0)  = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16) = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0) = 32 (0x20)
gettimeofday({1122313924 303323},0x0)= 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 0 (0x0)
close(5) = 0 (0x0)
socket(0x2,0x2,0x0)  = 5 (0x5)
connect(0x5,{ AF_INET 192.168.254.1:53 },16) = 0 (0x0)
sendto(0x5,0x8148000,0,0x0,NULL,0x0) = 32 (0x20)
gettimeofday({1122313934 313571},0x0)= 0 (0x0)
kevent(0x4,0xbfbfd4b0,0x1,0xbfbfd4b0,0x1,0xbfbfd490) = 1 (0x1)
recvfrom(0x5,0x8138000,0,0x0,{ AF_INET 192.168.254.1:53 },0xbfbfd484) = 32 (0x20
)
close(5) = 0 (0x0)
close(4) = 0 (0x0)
[... from here, everything runs very fast again ...]

 -Andrew

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question FreeBSD

2005-07-25 Thread cpghost
On Mon, Jul 25, 2005 at 10:17:50AM +0600, zick-1 wrote:
 Hello.
 
 I cannot install the application from a collection of ports.
 The mistake is given out  Error code 1

1. Which application did you try to install?
2. Please give more lines (say, 20 to 30 or so) before the
Error code 1 line, because that's the place where the real
error is normally listed.

It may be possible that the port you're trying to install is
broken (doesn't compile cleanly) in your collection. If that's
the case, you may wish to update your ports collection and try
again. Perhaps the problem has been already fixed?

 Best regards,
  zick-1  mailto:[EMAIL PROTECTED]

Cheers,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


filesystem creation problem during the installation process.

2005-07-25 Thread Jesus Romero
Hi,

I have the following issue:

Once I've chosen in the sysinstall main menu:
1- Standart Installation
2- ad0 as selected drive.
3- I've deleted the current partitions there and created a new one for
Freebsd using Use Entire Disk. But I have to click S to define this
slice as ACTIVE partition and that's it. Click Q.
4- I use Fdisk Partition Using Entire Disk I click A as default
partition. Click Q.
5- I select Standar like Boot Manager for drive ad0.
6- For Choose Distribution, I choose ALL.
7- For Choose Media, I choose CD/DVD.
8- And after I got the following warning:

 User Confirmation Requested
 Last Chance! Are you SURE you want to continue the installation? 
 If you're running this on a disk with data you wish to save then WE
 STRONGLY ENCOURAGE YOU TO MAKE PROPER BACKUPS before proceeding! 
 We can take no responsibility for lost disk contents!  
 [ Yes ]No

9- I chose, YES, and I've always gotten the following message.

[ Unable to find device node for /dev/ad0s1b in /dev
  Creation of filesystem will be aborted ]

10- I've tried a lot alternatives, but without luck!!

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


pppOe 1000baseTX config

2005-07-25 Thread Lane
Hi,

I've recently switched from a Netgear router to use pppOe for my public 
internet ip on FreeBSD 5.4.

My machine has two nics: bge0 and re0, both of which support 1000baseTX 
configurations, however neither of the two seem to be able to connect when I 
configure them in /etc/rc.conf.  Here's what works:

# Internal network
ifconfig_re0=inet 192.168.0.1 netmask 255.255.255.0
# No ifconfig_bge0 entry in /etc/rc.conf 
# because ppp configures it automatically 
ppp_enable=YES
ppp_mode=ddial
ppp_nat=YES
ppp_profile=myisp

After booting, ifconfig yields this:
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet6 fe80::211:11ff:febd:be3a%bge0 prefixlen 64 scopeid 0x1
ether 00:11:11:bd:be:3a
media: Ethernet autoselect (10baseT/UTP)
status: active
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::240:f4ff:feb4:841a%re0 prefixlen 64 scopeid 0x2
ether 00:40:f4:b4:84:1a
media: Ethernet autoselect (100baseTX full-duplex)
status: active
plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet x.x.x.x -- y.y.y.y netmask 0x
Opened by PID 211

Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX

Here's what DOESN'T work: (may wrap)
ifconfig_re0=inet 192.168.0.1 netmask 255.255.255.0 media 1000baseTX mediaopt 
full-duplex
ifconfig_bge0=media 1000baseTX mediaopt full-duplex
# No inet or netmask in ifconfig_bge0, as it is assumed ppp will supply this.

When I reboot and run ifconfig, both of these interfaces have status: no 
carrier

Does anyone have experience configuring either of these Nics?  And, 
especially, what sort of config options can I use to exploit the faster 
connect speed on the pppOe interface?

Thanks!

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


RE: gcc34 build error on Freebsd 5.1

2005-07-25 Thread Darryl Hoar
I had thought that at first, but felt is was the 
windows copout to install a brand new version
instead of figuring out the error message.

I want to install (not upgrade) a new version
on my 5.1 box.  Couldn't find pointers for
installing (not upgrading) from an existing 
freebsd box.

Also, is 5.4 the most recent release ?

-Original Message-
From: Kris Kennaway [mailto:[EMAIL PROTECTED]
Sent: Monday, July 25, 2005 11:34 AM
To: Darryl Hoar
Cc: freebsd-questions@freebsd.org
Subject: Re: gcc34 build error on Freebsd 5.1


On Mon, Jul 25, 2005 at 09:37:02AM -0500, Darryl Hoar wrote:
 Greetings,
 I have 5.1 running on my machine.  I installed cvsup
 and upgraded my ports with it.  I then went into
 /usr/ports/databases/firebird-client and did a make install.
 
 Of course it installed several other dependencies when
 I did that.  One thing is was trying to build/install was
 gcc34.  The following error was generated and the
 entire process came to a halt.
 
 ../.././..//gcc-3.4-20050719/libiberty/fibheap.c:395: warning: implicit
 declaration of function `memset'
 gmake[2]: *** [fibheap.o] Error 1
 gmake[2]: Leaving directory
 `/usr/ports/lang/gcc34/work/build/i386-portbld-freebsd5.1/libiberty'
 gmake[1]: *** [all-target-libiberty] Error 2
 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build'
 gmake: *** [bootstrap-lean] Error 2
 *** Error code 2
 
 Stop in /usr/ports/lang/gcc34.
 *** Error code 1
 
 I google'd and searched the freebsd website/mailing list,
 FAQ, but didn't find an answer to this problem.
 
 Anybody have an pointers/help so I can get on with the install ?

FYI, 5.1 is very old and long out of support.  You should update to a
modern release of FreeBSD if you want your port builds (and FreeBSD
itself) to work smoothly.

Kris



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


Re: Download ports from another machine

2005-07-25 Thread Emil Khatib
On 24 Jul 2005 12:46:08 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 Don't top-post, please.
 
 Emil Khatib [EMAIL PROTECTED] writes:
 
  Well, I just had an idea, as make fetch-recursive-list is unusable in
  windows (unless I make a script or program to read it or I download
  manually each of the packages), I would like to be able to boot a
  FreeBSD system installed on removable media. I have a removable HD but
  I can't boot from it... Is there anyway I could boot the system from a
  floppy using a partition in the removable drive as root?
 
 Yes, that should be no problem; just break to the loader(8) prompt and
 tell it what to use for the root and kernel.
 
 But I really don't understand the problem; you should be able to take
 the *output* of fetch-recursive-list to another system quite easily.
 Use a floppy to hold the text, if you want...
 
well the problem is that what I want is an automated download (I mean,
I don't want to download packages one by one). As far as I've seen the
output of fetch-recursive-list gives me no possibility to do an
automatic download. Anyway I'll tro out the loader prompt. Thanks for
you help!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PANIC on 6.0-BETA-1

2005-07-25 Thread [EMAIL PROTECTED]
Did as advised and reached to full booting system, which complained that 
no dump devices were found, even when I had specified one in rc.conf.
Mergemaster grunts cannot cd to /usr/src/etc and install files to 
temproot, when booting in single mode and trying to update the files.

cap_mkdb quits on -l option passed by another program.
I saw 
http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077661.html 
and will fight it these days.
Finally I tried upgrading from cd and got with kernel panic at the end. 
I will give the file tomorrow - I'm too exhausted now.

Anyway 6.0 will be superb
Have a good one,
Dimitar



Hi,

Just a short shot, as the error message you've posted is not really 
talkative, but 'Warning: Device driver ' and 'nvidia_load=YES in 
loader.conf' leads me to the assumption, that your problem is the 
nvidia module. Try removing _everything_ that is non-standard, e.g. 
everything what loads additional modules!


Ben




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


Install 5.4-Release question

2005-07-25 Thread Darryl Hoar
I have 5.1-release on a box.  I want to install 5.4-release (don't want to
upgrade).
Do I still have to download the .flp and .krn images to floppy, or can I
start
an ftp install from the running 5.1 box ?

thanks,
Darryl


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


Re: cannot install ntop under freeBSD 5.5

2005-07-25 Thread PK

hi

I did what you suggested.
I've deinstalled rrdtool completely, tried install ntop but now I get following 
horrible errors:


xmldumpPlugin.c:36:2: warning: #warning
xmldumpPlugin.c:37:2: warning: #warning 
===
xmldumpPlugin.c:38:2: warning: #warning
xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that follows 
will generate a lot of
xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a 
global declaration'.
xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this crud 
is coded and can't
xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them!
xmldumpPlugin.c:43:2: warning: #warning
In file included from /usr/local/include/glib-2.0/glib.h:69,
from /usr/local/include/libgdome/gdome.h:27,
from xmldumpPlugin.c:44:
/usr/local/include/glib-2.0/glib/gthreadpool.h:88: warning: declaration of 
'wait' shadows a global declaration
/usr/include/sys/wait.h:103: warning: shadowed declaration is here
In file included from xmldumpPlugin.c:44:
/usr/local/include/libgdome/gdome.h:264: warning: declaration of 'index' 
shadows a global declaration
/usr/include/strings.h:50: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:331: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:483: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:585: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:649: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:694: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:739: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:783: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:801: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:857: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:893: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:935: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:977: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:1013: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:1033: warning: declaration of 'index' 
shadows a global declaration
/usr/include/strings.h:50: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:1044: warning: declaration of 'index' 
shadows a global declaration
/usr/include/strings.h:50: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:1073: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
/usr/local/include/libgdome/gdome.h:1112: warning: declaration of 'version' 
shadows a global declaration
../globals-core.h:53: warning: shadowed declaration is here
xmldumpPlugin.c:45:2: warning: #warning
xmldumpPlugin.c:46:2: warning: #warning 
===
xmldumpPlugin.c:47:2: warning: #warning
In file included from xmldumpPlugin.c:1165:
xml_s_ntopinterface.inc: In function `newxml_ntopinterface':
xml_s_ntopinterface.inc:494: warning: nested extern declaration of 
`BufferTooShort'
xml_s_ntopinterface.inc:529: warning: nested extern declaration of 
`BufferTooShort'
xml_s_ntopinterface.inc:565: warning: nested extern declaration of 
`BufferTooShort'
In file included from xmldumpPlugin.c:1429:
xml_s_simpleprototrafficinfo.inc: In function `newxml_simpleprototrafficinfo':
xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named 
`lastLocal'
xml_s_simpleprototrafficinfo.inc:46: error: structure has no member named 
`lastLocal'
xml_s_simpleprototrafficinfo.inc:52: error: structure has no member named 
`lastLocal2remote'

Re: Install 5.4-Release question

2005-07-25 Thread Jonathan Glaschke
Hello,

On Mon, Jul 25, 2005 at 02:11:21PM -0500, Darryl Hoar wrote:
 I have 5.1-release on a box.  I want to install 5.4-release (don't want to
 upgrade).
 Do I still have to download the .flp and .krn images to floppy, or can I
 start
 an ftp install from the running 5.1 box ?
 
 thanks,
 Darryl
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

Depends on how you look at it.
You perform a binary update via sysintall to 5.4, but that's an upgrade
in my eyes and no reinstallation. 

I think not to update it means that you destroy your old bsd installation
and perform a new one. And then you'll need that floppis (or a cdrom drive thats
able to handle bootable cds).

Jonathan


-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pppOe 1000baseTX config

2005-07-25 Thread Tobias Fendin

Lane wrote:


Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX



What kind of network cables are you using?
UTP stands for unshielded twisted pair, which doesn't work so well with 
higher bandwidths.

I think 1000baseTX requiers CAT6 cables.

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


Re: pppOe 1000baseTX config

2005-07-25 Thread Lane
On Monday 25 July 2005 15:11, Tobias Fendin wrote:
 Lane wrote:
  Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX

 What kind of network cables are you using?
 UTP stands for unshielded twisted pair, which doesn't work so well with
 higher bandwidths.
 I think 1000baseTX requiers CAT6 cables.

 -Tobias
 ___
Thanks, Tobias.

I think that explains it.  The box my cable spool came in says Cat 5E

rats!  Shoulda gone with the more expensive stuff (again).

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


Re: pppOe 1000baseTX config

2005-07-25 Thread Chris Haulmark
On Mon, 2005-07-25 at 15:30 -0500, Lane wrote:
 On Monday 25 July 2005 15:11, Tobias Fendin wrote:
  Lane wrote:
   Notice that bge0 media is 10baseT/UTP and re0 is 100baseTX
 
  What kind of network cables are you using?
  UTP stands for unshielded twisted pair, which doesn't work so well with
  higher bandwidths.
  I think 1000baseTX requiers CAT6 cables.

Cat5e supports gigabit speeds.

 
  -Tobias
  ___
 Thanks, Tobias.
 
 I think that explains it.  The box my cable spool came in says Cat 5E
 
 rats!  Shoulda gone with the more expensive stuff (again).
 
 Lane
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: pppOe 1000baseTX config

2005-07-25 Thread John Brooks
 
 I've recently switched from a Netgear router to use pppOe for my public 
 internet ip on FreeBSD 5.4.
 
 My machine has two nics: bge0 and re0, both of which support 1000baseTX 
 configurations, however neither of the two seem to be able to 
 connect when I 
 configure them in /etc/rc.conf.  Here's what works:
 

correct me if this is a wrong assumption, this is a dsl line??

what do you expect to gain here? forcing 1000baseTX on the NIC won't
speed up the dsl line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc34 build error on Freebsd 5.1

2005-07-25 Thread Kris Kennaway
On Mon, Jul 25, 2005 at 01:38:08PM -0500, Darryl Hoar wrote:
 I had thought that at first, but felt is was the 
 windows copout to install a brand new version
 instead of figuring out the error message.

While it is surely possible to figure out the problem and solve it,
this may involve some significant diagnosis and surgery on your part,
and it will probably be easier for you to just update to a version
where you know that the software is buildable.

 I want to install (not upgrade) a new version
 on my 5.1 box.  Couldn't find pointers for
 installing (not upgrading) from an existing 
 freebsd box.

You just install as you always would, e.g. by downloading a CD image.
If you don't want to have to reconfigure your system (e.g. /etc, etc)
then you use the 'upgrade' facility of sysinstall.  All of this is
documented in the installation instructions distributed with the
release, and on the website.

 Also, is 5.4 the most recent release ?

Yes.

Kris

pgpKaN5MeGvUb.pgp
Description: PGP signature


Re: Download ports from another machine

2005-07-25 Thread Kris Kennaway
On Mon, Jul 25, 2005 at 09:00:45PM +0200, Emil Khatib wrote:
 On 24 Jul 2005 12:46:08 -0400, Lowell Gilbert
 [EMAIL PROTECTED] wrote:
  Don't top-post, please.
  
  Emil Khatib [EMAIL PROTECTED] writes:
  
   Well, I just had an idea, as make fetch-recursive-list is unusable in
   windows (unless I make a script or program to read it or I download
   manually each of the packages), I would like to be able to boot a
   FreeBSD system installed on removable media. I have a removable HD but
   I can't boot from it... Is there anyway I could boot the system from a
   floppy using a partition in the removable drive as root?
  
  Yes, that should be no problem; just break to the loader(8) prompt and
  tell it what to use for the root and kernel.
  
  But I really don't understand the problem; you should be able to take
  the *output* of fetch-recursive-list to another system quite easily.
  Use a floppy to hold the text, if you want...
  
 well the problem is that what I want is an automated download (I mean,
 I don't want to download packages one by one). As far as I've seen the
 output of fetch-recursive-list gives me no possibility to do an
 automatic download. Anyway I'll tro out the loader prompt. Thanks for
 you help!

Look into FreeSBIE, which is a bootable CD image distribution of
FreeBSD.  You can boot this on another machine, mount the hard drive
and fetch your ports there.

Kris



pgpDFxe6RFj6Y.pgp
Description: PGP signature


Re: [kde-freebsd] KPovModeler port problem: why no OpenGL?

2005-07-25 Thread Andrew Predoehl


On Mon, 25 Jul 2005 18:30:54 +0200
 Michael Nottebrock [EMAIL PROTECTED] wrote:

On Saturday, 23. July 2005 02:56, Andrew Predoehl wrote:

I found a problem when I recompiled the
graphics/kdegraphics3 port; the build and install were 
OK, but now when I run KPovModeler, it tells me, No

OpenGL support and does not show wireframes anymore.


 Does anyone know how to fix this?  Should I just give 
up and use a package?  Do I need to install Mesa?


You need to enable OpenGL/GLX support in X. How to do 
that depends on the graphics hardware (and X drivers)
you're using and is beyond the scope of this 
mailing-list ([EMAIL PROTECTED]).


You can check the current state of things with the 
'glxinfo' command: When you 
run it, it should *not* output any sort of 'Xlib: 
extension GLX missing on 
display :0.0' messages. 


Thanks, Michael.  I had made the mistake of assuming the 
problem was with the port configure or compile, and not my 
xorg.conf!  It works fine now.  As they say, If you know 
how to do it, it's easy.


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


Re: pppOe 1000baseTX config

2005-07-25 Thread Lane
On Monday 25 July 2005 15:38, John Brooks wrote:
  I've recently switched from a Netgear router to use pppOe for my public
  internet ip on FreeBSD 5.4.
 
  My machine has two nics: bge0 and re0, both of which support 1000baseTX
  configurations, however neither of the two seem to be able to
  connect when I
  configure them in /etc/rc.conf.  Here's what works:

 correct me if this is a wrong assumption, this is a dsl line??

 what do you expect to gain here? forcing 1000baseTX on the NIC won't
 speed up the dsl line.
 ___
Is there any speed advatage possible beyond the (10baseT/UTP)?  If not then I 
guess it doesn't matter.

The dsl modem is on bge0, which ifconfig reports as

bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
        options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
        inet6 fe80::211:11ff:febd:be3a%bge0 prefixlen 64 scopeid 0x1
        ether 00:11:11:bd:be:3a
        media: Ethernet autoselect (10baseT/UTP)

My expectation (hope) is to change the 10base in the media: line to 
100base or 1000base to gain any throughput advantage that is possible.

The internal network is on re0, which ifconfig reports as

re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
        options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
        inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
        inet6 fe80::240:f4ff:feb4:841a%re0 prefixlen 64 scopeid 0x2
        ether 00:40:f4:b4:84:1a
        media: Ethernet autoselect (100baseTX full-duplex)
        status: active

I'd like the change the 100base in the media: line to a 1000base, if 
possible.

thanks for your eyes!

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


Re: pppOe 1000baseTX config

2005-07-25 Thread albi
On Mon, Jul 25, 2005 at 03:24:44PM -0500, Chris Haulmark wrote:
 On Mon, 2005-07-25 at 15:30 -0500, Lane wrote:
   I think 1000baseTX requiers CAT6 cables.
 
 Cat5e supports gigabit speeds.

a few days ago i bought a crosslink cat 5e cable 
saying shielded RJ45 10-100MBPS,
(and it would not do 1 Gigabit transfers after setting it up with 2 1Gigabit
cards between 2 FreeBSD-boxes point-to-point)

..i'd like to know The Truth (TM) now :-)

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


Re: Problem report rejected

2005-07-25 Thread Danny Pansters
On Monday 25 July 2005 19:22, Gary W. Swearingen wrote:
 jackqq [EMAIL PROTECTED] writes:
   450 Client host rejected: cannot find your hostname, [60.26.7.157]
  [EMAIL PROTECTED]... Deferred: 450 Client host
  rejected: cannot find your hostname, [60.26.7.157]

 ...

  I'm an ADSL subscriber, and I have dynamic IP addresses, and my ISP

 I am too, and saw as similar msg when first got going after installing
 a new OS version.  A change in the sendmail config was needed.  IIRC,
 all you need to do is do the make stuff in /etc/mail after removing
 dnl  and fixing 2nd arg in this line of the appropriate .mc file:

 dnl define(`SMART_HOST', `your.isp.mail.server')

I even had to mutilate the .cf to get it to work (not only do I need to use my 
cable provider's smtp server but I'm also behind a nat so reverse dns was 
also a problem). After making world it had to be restored.

  SMTP on my machine currently, and I enable sendmail only for
  convenience for applications like send-pr.

 Last time I tried send-pr (years ago) it wouldn't work with my
 sendmail config and I've been using regular mail (from a PR template
 based on output of send-pr -P) ever since.

Been there done that. And then it turned out that KMail (to be exact: the qt 
textedit widget IIRC) handle[s][d] tabs wrongly resulting in a PR with an 
incorrect Makefile... the fun never ends. The web form is not tab safe 
either, last time I tried (most certainly the same cause).

I've found a resonable solution for this in the ssmtp port. The only thing is 
that I get my system mail relayed through my cable provider (From: Root 
[EMAIL PROTECTED]) and landing in my POP account, at a hosting provider where 
I have my domain and email. I haven't bothered to find a solution for this 
yet. I kinda learnt to like it.

There are always workarounds, but really such hurdles just shouldn't be there.

OP:
  I had a carbon copy of the PR message sent to, and received by, my
  mailbox at GMail. May I, if fortunately enough, forward my copy at
  GMail to freebsd.org to submit the problem report?

You can simply forward or resend it to gnats (the original wont ever be 
accepted), though you may need to attach your diff or shar as an attachment 
(plain text or uuencoded are both accepted AFAIK).

And have a go at ssmtp, set mailwrapper accordingly.

HTH,

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


Dell Powervault 120T / ADIC FastStor DLT D116

2005-07-25 Thread Brian A. Seklecki


I just connected a Dell Powervault 120T to an Adaptec AHA-2944 HVD (High 
Voltage Differential) controller and the resulting dmesg indicates what 
is probed by my RELENG_5_3 kernel:


ahc0: Adaptec 2944 Ultra SCSI adapter port 0xe400-0xe4ff mem 
0xe9001000-0xe9001fff irq 5 at device 11.0 on pci0


sa1 at ahc1 bus 0 target 4 lun 0
sa1: ARCHIVE Python 06240-XXX 8040 Removable Sequential Access SCSI-3 
device

sa1: 40.000MB/s transfers (40.000MHz, offset 32)
pass0 at ahc0 bus 0 target 0 lun 0
pass0: ADIC FastStor DLT D116 Removable Changer SCSI-2 device
pass0: 3.300MB/s transfers


For some reason, the tape changer is probing as pass(4) instead of ch(4).


Any ideas why?  SCSI devices have a device class designation, IIRC. 
However, I can't get useful debugging out of camcontrol(8) w/ recompiling 
the kernel w/ DEBUG options.


I'm going to do that now, but any ideas would be appreciated.


l8*
-lava

x.25 - minix - bitnet - plan9 - 110 bps - ASR 33 - base8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


oscommerce issue

2005-07-25 Thread steve lasiter
I've fought with this for a couple of day and now it's
time to ask. I'm running FreeBSD 5.4 with Apache 1.3,
MySQL5.0.2, PHP5.0.3_2 and a fresh install of
OScommerce.

First Question:
During my first attempt to access the
/oscommerce/catalog/admin directory I got the
register_globals turned off error, modify php.ini. I
modified my VirtualHost entry in my Apache httpd.conf
file and added the line php_value register_globals
on I'm worried about security issues with this. Is
there any more info you can give me on this or a
better fix.

Second Question:
Now when hen attempting to access the
/oscommerce/catalog/admin directroy I'm getting the
error: 
1046 - No database selected
Select configuration_key as cfgKey,
configuration_value as cfgValue from configuration
I have configured the configure.php file (many times
now) with the proper database connection info and
successfully tested connectivity to my database. Is
there any info on this problem.

Also, if there is anyone that I might be able to
contact to get more info on OScommerce with FreeBSD
I'd love to get other general questions answered. 

Thanks for the help in advance,

Dean Lasiter

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


ssh over a very bad http proxy

2005-07-25 Thread Lei Sun
Hi 

I spent almost entire week, customizing my freebsd server at home, and
now, I would like to access it from my work place.

But it doesn't seems to be possible without making http tunnels
through an authenticated proxy server.

I tried to use http-tunnel, it doesn't support the authenticated feature.
I tried to use corkscrew, it can't compile on cygwin, and it can't go
through the authenticated proxy either on solaris.
I tried the HTTPTunnelClient with ntlmaps-0.9.9, it says it is
connected, but putty just hangs and doesn't give me any response.

I googled almost for a week now, trying to find a good solution, but
no luck so far.

I am sure that I am not the first one who is encountering this kind of problem.

Any suggestions? 

Thanks in advance.

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


ssh over a very bad http proxy :(

2005-07-25 Thread Lei Sun
Hi 

I spent almost entire week, customizing my freebsd server at home, and
I would like to access it from my work place.

But it doesn't seems to be possible without making http tunnels
through an authenticated proxy server.

I tried to use http-tunnel, it doesn't support the authenticated feature.
I tried to use corkscrew, it can't compile on cygwin, and it can't go
through the authenticated proxy either on solaris.
I tried the HTTPTunnelClient with ntlmaps-0.9.9, it says it is
connected, but putty just hangs and doesn't give me any response.

I googled almost for a week now, trying to find a good solution, but
no luck so far.

I am sure that I am not the first one who is encountering this kind of problem.

Any suggestions? 

Thanks in advance.

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


Re: pppOe 1000baseTX config

2005-07-25 Thread Tobias Fendin

albi wrote:

On Mon, Jul 25, 2005 at 03:24:44PM -0500, Chris Haulmark wrote:


On Mon, 2005-07-25 at 15:30 -0500, Lane wrote:


I think 1000baseTX requiers CAT6 cables.


Cat5e supports gigabit speeds.



a few days ago i bought a crosslink cat 5e cable 
saying shielded RJ45 10-100MBPS,

(and it would not do 1 Gigabit transfers after setting it up with 2 1Gigabit
cards between 2 FreeBSD-boxes point-to-point)

..i'd like to know The Truth (TM) now :-)


Sorry, I was wrong, 1000baseTX works on CAT5e cabels.

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


Re: ssh over a very bad http proxy :(

2005-07-25 Thread estover
 Hi

 I spent almost entire week, customizing my freebsd server at home, and
 I would like to access it from my work place.

 But it doesn't seems to be possible without making http tunnels
 through an authenticated proxy server.

 I tried to use http-tunnel, it doesn't support the authenticated feature.
 I tried to use corkscrew, it can't compile on cygwin, and it can't go
 through the authenticated proxy either on solaris.
 I tried the HTTPTunnelClient with ntlmaps-0.9.9, it says it is
 connected, but putty just hangs and doesn't give me any response.

 I googled almost for a week now, trying to find a good solution, but
 no luck so far.

 I am sure that I am not the first one who is encountering this kind of
 problem.

 Any suggestions?

 Thanks in advance.

 Lei

I just run sshd on port 80, then to connect, ssh -p80 -l ieatpaste
www.myhouseorg.ru ;)

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


Re: making dvd from videos. (- hey you're lucky!)

2005-07-25 Thread dgmm
On Sunday 24 July 2005 04:47, nawcom wrote:
 heres a script for converting your classic codec based avi file to a VOB
 file for burning onto a DVD. i didnt test the program out, but i did
 check to make sure it's freebsd compatible. and luckly all of the needed
 programs are in /usr/ports/multimedia. You're lucky!
 http://inferno.slug.org/cgi-bin/wiki?AviToVob
 it looks like it does the following:
  -1. use mencoder to pull the video out of its container format or codec,
  -2. use mplayer to extract the audio channels into a separate file
  -3. converts the audio into an MP2 file
  -4. use transcode to convert the new avi into a VCD/SVCD compliant m2v
 file -5.  use mplex to group the m2v and mp2 file to a full working mpg -6.
  use dvdauthor to make a legit folder containing the video file, title
 info, etc. im sure you can modify it to your needs.
  -7. use mkisofs to create an iso file out of the folder
  -8. use dvdrecord to burn the fucker.

 8 steps in one shell script. not that bad huh. i may bookmark this page
 for future use.
 -Ben

You can do it with just mencoder too. 

mencoder -of mpeg -vf scale=720:576 -ovc lavc -lavcopts 
vcodec=mpeg2video:mbd=2:keyint=25:vrc_minrate=600:vbitrate=2500 -oac lavc -af 
lavcresample=44100 -srate44100 -mpegopts format=mpeg2 infile.avi -o 
outfile.mpg

Not sure about all the settings in that, it's a while since I used it.  The 
bitrates above may or may not be correct.

I'd strongly suggest anyone using mplayer/mencoder read the mplayer and 
mencoder users list linked from the mplayer home page.

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


Re: bsdlabel and moving to a bigger drive

2005-07-25 Thread Alex Zbyslaw

Omar Thameen wrote:


I had sysinstall create all the filesystems on /mnt so I could do
the dump/restore.  Because there was no / partition (it was /mnt
on the new drive), sysinstall did not create an ad2s1a partition.
The / partition on the new drive is thus ad2s1d.

 


This is easy, if a little tedious, to fix at sysinstall time.

Create the new / partition and call it / (NOT /mnt).  It will be e.g. ad0s1a

Then change the mount point to /mnt and turn off softupdates.  The 
partition will remain a.


--Alex


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


CARP Load-Balancing? (Or, HTTP peer load balancing?)

2005-07-25 Thread Danny Howard
Hello,

I am looking at building a tiered web application (web layer, DB layer)
and am wondering about configuring automatic failover for the web layer.

If possible, I'd like to avoid having to implement a third firewall /
balancing tier, but if I must, I shall do that ...

I am looking at CARP.  The documentation seems soarse, and it sounds
like the load balancing option isn't much of an option.

On the other hand, I could set multiple vhids, one per web server, and
rig it up so that if one web server drops its interface, another will
answer for it.  Then load balancing is as simple as putting multiple
web server IPs in for the A record ...

(With CARP basically functioning as a heartbeat monitor ...)

Does that sound sensible?  I'm feeling a bit wary of this approach.

Any suggestions for handling failover of HTTP among peers?

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


Re: cannot install ntop under freeBSD 5.5

2005-07-25 Thread Glenn Dawson

At 12:17 PM 7/25/2005, PK wrote:


hi

I did what you suggested.
I've deinstalled rrdtool completely, tried install ntop but now I get 
following horrible errors:



xmldumpPlugin.c:36:2: warning: #warning
xmldumpPlugin.c:37:2: warning: #warning 
===

xmldumpPlugin.c:38:2: warning: #warning
xmldumpPlugin.c:39:2: warning: #warning The include of gdome.h that 
follows will generate a lot of
xmldumpPlugin.c:40:2: warning: #warning compile warnings about 'shadows a 
global declaration'.
xmldumpPlugin.c:41:2: warning: #warning Unfortunately, it's the way this 
crud is coded and can't

xmldumpPlugin.c:42:2: warning: #warning be fixed. Just ignore them!
xmldumpPlugin.c:43:2: warning: #warning



[snip]




In file included from xmldumpPlugin.c:1730:
xml_g_intf.inc: In function `dumpXML_interfaces':
xml_g_intf.inc:33: warning: nested extern declaration of `BufferTooShort'
gmake[3]: *** [xmldumpPlugin.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/ntop.


It must be a BUG in the ntop port.


The problem is in the XML plugin.  If you don't need that, ntop will build 
properly without the XML plugin.


-Glenn



greetings
piotr


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


Re: How to create mtree files?

2005-07-25 Thread freebsd-questions
 [EMAIL PROTECTED] writes:
 
  I would like to use the mtree utility to confirm no changes have
  occurred to system files since 'make installworld', similar to that
  possible with 'mtree -f /cdrom/5.4-RELEASE/base/base.mtree' on a
  release installation. This would also give the added advantage of
  being able to determine the current buildlevel of an installed
  system, I believe.  Is it possible/easy to create new mtree files
  after the buildworld or installworld process? I've looked at the
  Release Engineering docs but it seems more than what I'd like to
  do. I should add that I am running tripwire, but I really want to
  have a quick way to verify which files were part of which installworld.
 
 man 8 mtree has full details.
 
 mtree -c -p / is the start of what you're looking for.

Thanks - I misinterpreted what the '-c' flag does, but after running your
example it all makes sense now.

To wrap this up for me, is mtree the way to maintain a record of at what
level a particular build was performed? In other words, using 'uname -a'
tells me when the kernel was built, but what best tells me when
/usr/bin/telnet was patched and built and against what source?

cheers,
-- Joel Hatton --
Security Analyst| Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: burncd - verify burn

2005-07-25 Thread Gary W. Swearingen
Glenn Dawson [EMAIL PROTECTED] writes:

 did you use bs=2048 when dd'ing from /dev/acd0?

Sure did.  And didn't read too many blocks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD is Very slow to load some sites

2005-07-25 Thread Joshua Tinnin
On Mon 25 Jul 05 11:58, cpghost [EMAIL PROTECTED] wrote:
 On Mon, Jul 25, 2005 at 08:27:37AM +0930, Galdes, Andrew (ERHS) wrote:
  Freebsd seems to take a long time (up to ten minutes) to load some
  web sites. When i use Linux or Windows it seems to load at normal
  speed. I have installed Freebsd (same version) on another computer
  and it has the same trouble. I have tried both firefox and
  konqueror.
 
  The website is www.anz.com.au. I suspect the security of the site
  is the problem but cannot be sure.

 A bit sluggish here with Firefox 1.0.5 (from ports). Page loads in
 approx 30 seconds. Once the page is loaded, other pages are served
 almost instantly. Stopping firefox and restarting it, results in the
 same initial delay.

 With w3m, every page access results in that approx 30 secs delay;
 perhaps because w3m doesn't keep the connection open?

  Another thread on this list [kde-freebsd] Konqueror very slow
  displaying some sites puts it down to DNS. Any ideas?

 It could be DNS related. I've run
 $ truss w3m http://www.anz.com.au/

 after mounting /proc, and most of the waiting time is spent querying
 the local DNS server. After getting a reply from the DNS server,
 everything starts running smoothing and fast again:

Same with me.

Something looks to be getting hung up when Optus gets a hold of it ...

traceroute: Warning: www.anz.com.au has multiple addresses; using 
202.2.59.40
traceroute to www.anz.com (202.2.59.40), 64 hops max, 40 byte packets
 1  192.168.0.1 (192.168.0.1)  0.315 ms  0.329 ms  0.259 ms
 2  10.96.0.1 (10.96.0.1)  9.581 ms  25.078 ms  7.953 ms
 3  68.86.206.1 (68.86.206.1)  7.827 ms  21.153 ms  17.441 ms
 4  68.35.172.50 (68.35.172.50)  20.508 ms  15.518 ms  11.161 ms
 5  12.118.225.9 (12.118.225.9)  25.360 ms  24.751 ms  27.361 ms
 6  tbr2-p013801.dlstx.ip.att.net (12.123.17.62)  42.810 ms  49.479 ms  
31.743 ms
 7  12.122.81.193 (12.122.81.193)  27.721 ms  27.942 ms  29.533 ms
 8  att-gw.dfw.level3.net (192.205.32.114)  31.610 ms  28.780 ms *
 9  ae-1-52.bbr2.Dallas1.Level3.net (4.68.122.33)  25.426 ms  26.707 ms  
26.912 ms
10  ae-0-0.bbr1.LosAngeles1.Level3.net (64.159.1.125)  89.667 ms 
as-1-0.bbr2.LosAngeles1.Level3.net (64.159.0.246)  74.529 ms  70.403 ms
11  ae-14-55.car4.LosAngeles1.Level3.net (4.68.102.143)  67.398 ms 
ae-24-54.car4.LosAngeles1.Level3.net (4.68.102.111)  66.374 ms 
ae-14-53.car4.LosAngeles1.Level3.net (4.68.102.79)  66.282 ms
12  gw.level3-lax.singtel.net (63.209.82.186)  55.746 ms  55.305 ms  
56.937 ms
13  203.208.148.74 (203.208.148.74)  209.921 ms  215.540 ms 
203.208.148.70 (203.208.148.70)  211.747 ms
14  GigEth5-0-0.sb3.optus.net.au (202.139.191.23)  223.199 ms  219.575 
ms  226.671 ms
15  * * ANZBankLtd.sb3.optus.net.au (61.88.168.182)  254.522 ms !X
16  ANZBankLtd.sb3.optus.net.au (61.88.168.182)  251.225 ms !X * *
17  * * ANZBankLtd.sb3.optus.net.au (61.88.168.182)  233.469 ms !X
18  * ANZBankLtd.sb3.optus.net.au (61.88.168.182)  259.433 ms !X  
235.769 ms !X


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


Re: 5.x, 3ware 7506-8, twe4, raid5

2005-07-25 Thread Mike Tancsa
On Mon, 25 Jul 2005 10:29:46 -0700, in sentex.lists.freebsd.questions
you wrote:

I am looking at getting a 3ware 7506-8 for a FreeBSD 5.4 box. I have  
looked at the hardware support, finding the twe4 driver. How would  
people rate this card under FreeBSD? I am currently using an Adaptec  
ATA-100 RAID 2400A which only support 4 drives.


I would like to run an 8 drive RAID5 with the 7506-8.


Yes, it works well for me.  I use it for one of my offsite backup
servers. Its actually a 7810, but works the same.  I have had great
luck with the 3ware products over the years under FreeBSD and LINUX.

---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: PANIC on 6.0-BETA-1[SOLVED]

2005-07-25 Thread [EMAIL PROTECTED]

Hi!
I managed to recover and am running 7-CURRENT now.
The morale of the story is
1.disable fancy drivers and scripts for binary compatibilites before 
proceeding

2. Prepare a backup
3. READ UPDATING
4. use unload all when building and after rebooting with the new kernel. 
Use GENERIC at first, then your kernel. Backup 2-3 good kernels.

5. recompile ports with the new system.
6. Don't diddle with the upgrade process - let it run

Have a good one!
[EMAIL PROTECTED] wrote:

Did as advised and reached to full booting system, which complained 
that no dump devices were found, even when I had specified one in 
rc.conf.
Mergemaster grunts cannot cd to /usr/src/etc and install files to 
temproot, when booting in single mode and trying to update the files.

cap_mkdb quits on -l option passed by another program.
I saw 
http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/077661.html 
and will fight it these days.
Finally I tried upgrading from cd and got with kernel panic at the 
end. I will give the file tomorrow - I'm too exhausted now.

Anyway 6.0 will be superb
Have a good one,
Dimitar




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


RE: undelete in FreeBSD?

2005-07-25 Thread Xu Qiang
Glenn Sieb wrote:

 Nelis Lamprecht said the following on 7/21/2005 5:13 AM:
 There isn't a way to restore unless you have a backup. However, most
 of the binary files in /usr/local/bin are from packages/ports you
 have installed on your system. So you may be able to get away with
 using portupgrade(/usr/ports/sysutils/portupgrade) to re-install
 those packages and therefore restoring some if not all of
 /usr/local/bin. Do a portupgrade -f -a which forces portupgrade to
 re-install all packages/ports you have currently installed.

 Nelis,
 
 First I think he might have to go re-install portupgrade.
 
 Xu--as root, perform the following steps:
 
 cd /tmp
 tar cvf etc.tar /usr/local/etc/
 cd /usr/ports/sysutils/portupgrade
 make install  make clean
 portupgrade -farRx bsdpan-
 
 This will force reinstallation of all your ports. This will take
 *forever*. 
 
 And, just in case, we've tarred up your /usr/local/etc directory so
 you have a backup in /tmp!

Thanks for all who helped. 

I am just wondering the only shortcoming of Unix clone, such as FreeBSD, in 
contrast to M$ Windows, is the lack of a cyclin bin, from which you can restore 
anything you have mis-deleted before. 

Or, am I mis-informed on this issue?

Regards,
Xu Qiang


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


status: no carrier with WEB enabled

2005-07-25 Thread Iain Dooley
hello, i am running FreeBSD 4.10 using an Orinoco wifi pccard NIC, using a 
minitar wireless bridge in AP mode.


I am able to login to the AP using a web browser to configure it from 
another machine on my network (wired). When WEP is disabled on the AP, my 
card can associate fine and I am able to do a DHCP request to my ADSL modem 
(which has a DHCP server in it... i'm going to switch to using another 
machine as a gateway and the ADSL modem as a bridge as soon as i get my 
hands on another PCI NIC, then I will be using static IP addressing for my 
internal network).


I enabled WEP on the AP, and disabled broadcast SSID. I haven't implemented 
MAC filtering yet. Eventually i will switch to IPSec, but one step at a time 
:-) with WEP enabled, my roommate is able to access the network via the AP 
from his OSX box using a D-Link USB wireless NIC, so WEP encryption appears 
to be functioning properly from the AP's side of things.


I followed instructions for wicontrol to turn on WEP, set the ssid and the 
key as appropriate, set the card to AP mode and set the appropriate channel.


after doing this, ifconfig showed 'status: no carrier'. Everything else in 
ifconfig matched the settings on my AP.


i then tried:

dhclient wi0

to attempt to do a DHCP request, but this had no effect. I then tried:

ifconfig wi0 inet 192.168.1.105 netmask 255.255.255.0 ssid NETWORK_NAME 
wepmode on wepkey X (-- 13 digit, 128 bit encryption)


where 192.168.1.x is the subnet defined by the ADSL modem, NETWORK_NAME is 
the same ssid as is set on the AP web configurator, and X is a 
13 digit, 128 bit wep encryption key. both the AP and the wi0 interface are 
using key index 1.


ifconfig still shows 'status: no carrier'.

my first question is, can anyone see why this might not be working? let me 
know if i need to supply further information.


my second question is, how can i pass the arguments such as 'wepmode on' and 
'ssid' to dhclient, in particular what lines should i include in rc.conf so 
that a DHCP request uses the appropriate key etc. on bootup?


thanks very much.

iain dooley

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


RE: undelete in FreeBSD?

2005-07-25 Thread Glenn Dawson

At 07:51 PM 7/25/2005, Xu Qiang wrote:

I am just wondering the only shortcoming of Unix clone, such as FreeBSD, 
in contrast to M$ Windows, is the lack of a cyclin bin, from which you can 
restore anything you have mis-deleted before.


Or, am I mis-informed on this issue?


If you're really worried about accidently deleting files, just make rm an 
alias to 'rm -i' or 'rm -I'


-Glenn



Regards,
Xu Qiang


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


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


Re: undelete in FreeBSD?

2005-07-25 Thread casey

Glenn Dawson wrote:


At 07:51 PM 7/25/2005, Xu Qiang wrote:

I am just wondering the only shortcoming of Unix clone, such as 
FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from 
which you can restore anything you have mis-deleted before.


Or, am I mis-informed on this issue?



If you're really worried about accidently deleting files, just make rm 
an alias to 'rm -i' or 'rm -I'


-Glenn



Regards,
Xu Qiang


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



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


Also check out chflags. Under certain security levels, you can set flags 
so that something can not be deleted even as root.


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


Re: undelete in FreeBSD?

2005-07-25 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Glenn Dawson wrote:
 At 07:51 PM 7/25/2005, Xu Qiang wrote:
 
 I am just wondering the only shortcoming of Unix clone, such as
 FreeBSD, in contrast to M$ Windows, is the lack of a cyclin bin, from
 which you can restore anything you have mis-deleted before.

 Or, am I mis-informed on this issue?

Yes.  MS-Windows doesn't have anything Unix doesn't in this regard.  I
take it you're not familiar with the DOS/Windows 'del' command...

 If you're really worried about accidently deleting files, just make rm
 an alias to 'rm -i' or 'rm -I'

If he's worried about accidentally deleting files, he should use KDE or
Gnome.  They both have a trash can/wastebasket/recycle bin.

Ross


 -Glenn
 
 
 Regards,
 Xu Qiang


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC5cyW9bR4xmappRARAn2wAKC3oB1B2bgveSvb1F/1TBW1B4yETQCgkeVm
26L4uYUs/oqfF2YUVdTIyEU=
=jYHH
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]