Re: MUA questions

2009-11-25 Thread Fbsd1

Rem Roberti wrote:
I just installed FreeBSD 7.2 on a new box and am having trouble getting 
either fetchmail or getmail to talk to the ISP. Is this a question that 
can can be answered here, or is there another more appropriate forum. I 
thought it best to ask that question first before going any further.


Thanks...

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



I have fetchmail working on 7.2. describe your problem in detail and 
post you control statements.

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


Re: 8.0 release serial mouse not working

2009-11-25 Thread Fbsd1

Polytropon wrote:

On Thu, 26 Nov 2009 11:43:17 +0800, Fbsd1  wrote:

Been using the same serial mouse since release 7.0 through 7.1 and 7.2.
Just installed release 8.0 and the rc.conf statements
dont work any longer.


# serial port radioshack 2 button mouse
moused_port="/dev/cuad0"
moused_type="intellimouse"
moused_enable="YES"

Nothing has changed on the box hardware.
Mouse worked in 7.2 but not in 8.0

I even tried sysinstall/configure/mouse to test other options and none 
worked.


Has serial mouse support been dropped in release 8.0 and not removed 
from sysinstall?


I'm not sure about the moused_port, it's some time ago that
I've used a serial mouse, but I had

moused_enable="YES"
moused_port="/dev/cuaa0"
moused_type="mousesystems"
moused_flags="-r 300 -a 2.0"

in /etc/rc.conf - cuaa0 instead of cuad0.

For some checking, why not use

moused -f -i all -p /dev/cuad0

and

moused -f -d -t auto -p /dev/cuad0

for some checking?




I checked /dev and there are no cuaa* or cuad*
In 7.2 used the sysinstall/configur/mouse menu and it was the one that 
crated the moused_port="/dev/cuad0" rc.conf statment as showen in first 
post.


/dev does have cuau0 & cuau1 for uucp dialer. could this be the names of 
the serial ports in 8.0?


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


8.0 release serial mouse not working

2009-11-25 Thread Fbsd1

Been using the same serial mouse since release 7.0 through 7.1 and 7.2.
Just installed release 8.0 and the rc.conf statements
dont work any longer.


# serial port radioshack 2 button mouse
moused_port="/dev/cuad0"
moused_type="intellimouse"
moused_enable="YES"

Nothing has changed on the box hardware.
Mouse worked in 7.2 but not in 8.0

I even tried sysinstall/configure/mouse to test other options and none 
worked.


Has serial mouse support been dropped in release 8.0 and not removed 
from sysinstall?

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


Re: Making bootable USB keys

2009-09-05 Thread Fbsd1

Samuel Martín Moro wrote:

In fact, we provide the servers and the keys.
So we're sure everything will work.

And also, our install CD is already able to create this kind of USB stick.


I am just curious.
What manufacture / model and GB size of USB stick are you using?
When you plug the USB stick into a FreeBSD system what version of the 
USB standard is used in the firmware on the USB stick (1.0, 2.0 or 2.2)?
The firmware USB version standard used by the stick is displayed when 
the stick is first plugged into a Freebsd release 7.2

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


Re: Making bootable USB keys

2009-09-03 Thread Fbsd1

Samuel Martín Moro wrote:

Hello

I'm having some troubles, trying to create bootable USB keys.
I found (freebsd-hackers ML archives) a script, supposed to create the
bootable image from my iso file.
But, it still don't boot... (I may do it wrong)

In details:
-We distribute a FreeBSD (4.7, 5.4, 6.2 and 7.2) "custom" server.
-We burn our install CD (and, in a few, our USB sticks) on a Ferdora 9
(sorry...)
-USB sticks must contain a FAT32 partition (we'ld like to provide doc for
windows users)

Well, my english isn't so great... so I'll post my code (more
understandable)



clip 

I have same problem with getting a usb stick to boot. After much testing 
with different sticks and PC combinations have come to this conclusion.


When usb hardware first can out they were created for usb 1.0 standard 
and at that same period PC's where using software drivers for usb 
support and the PC's bio's boot selection did not include option to boot 
from usb disk. As usb devices became more popular PC manufactures 
started adding USB firmware to their motherboards for usb 2.0 standard. 
From my research into usb 2.0 it only supports data recording and does 
not support booting function. About 2007 usb 2.2 standard came out and 
it supports an usb memory stick as bootable. In 2008 some manufactures 
of motherboards added usb 2.2 standard to their motherboards and bio's 
selection to boot from memory stick.


To be bootable the first file on the the stick has to be the boot image. 
 Haveing a ms fat partition first on the stick will never work unless 
you fill it with an bootable ms/windows or ms/dos system or the same 
kind of setup found on the cdrom1 release cd.


Only usb 2.2 memory sticks are bootable on newer PC's that have usb 2.2 
firmware on their motherboards and matching Bio's with selection for 
booting from usb 2.2 memory sticks. Please note that bio's booting 
selection for booting from USB disk is different than booting selection 
for booting from usb memory stick. I have posted many posts on this list 
about this subject and have not received any posts contrary to the above 
statement.


The pending 8.0 release has a complete rewrite of the USB code and a new 
  stick.img is being generated as part of the release install 
distribution's. I can dd the 8.0-stick.img file to an 2.0 stick and it 
never boots, but do the same thing to a 2.2 stick and it boots on all 3 
of my PC manufactured since June 2008.


Final Conclusion: Booting from a USB memory stick successfully is 
totally dependent on using new start-of-the-art hardware.








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


Re: Are all USB Flash Memory sticks bootable?

2009-07-24 Thread Fbsd1

Randi Harper wrote:

On Thu, Jul 23, 2009 at 6:27 AM, Sergio de Almeida Lenzi <
lenzi.ser...@gmail.com> wrote:


Em Qui, 2009-07-23 às 12:52 +0800, Fbsd1 escreveu:
Hello

I found here that some bios does have problem with booting
from partitions they do not know

So first I initialize the USB stick with
==
dd count=100 if=/dev/zero of=/dev/da0
fdisk -BI da0
sade
==
than edit the partitions...
ls /dev/da* should show da0s1 da0s2
than
disklabel -wB da0s1
disklabel -wB da0s2
newfs -L Freebsd7 da0s1a
newfs -L Freebsd8 da0s2a
boot0cfg -vB da0

mount the partitions, copy the files
boot from the usb...  it will show you the F1 F2 chooser

for me, this worked


Sergio



Just to clarify, are you trying to boot from a USB stick that you've
installed FreeBSD onto, or is this a USB stick that you've dd'ed the
memstick.img to?

You should NOT use disklabel on a usb stick that you're dd'ing the
memstick.img to.

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




Here I will try to re-state the problem.

I have two USB Flash Memory sticks. One is a 2GB stick and the other is 
a 8GB stick. I can install Freebsd 8.0 from disc1 cd onto the 2GB stick 
or dd the memstick.img to the 2GB stick and in both cases it will boot 
just fine.


When I repeat the same procedure using the 8GB stick it will not boot. 
AS a test I have fdisk'ed the 8GB stick under MS/XP and loaded files to 
it ok.


The only thing I see different between the 2 memsticks is in the 
messages 7.2 issues when the sticks get plugged in.


Take note of the revision level differences between them.
2.00/1.00 versus  rev 2.00/2.00

The only other guess I have is that the usb code in 7.2 has
am error in it.

Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers




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


Are all USB Flash Memory sticks bootable?

2009-07-22 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to a new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



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


Re: Install from a USB Pen

2009-07-22 Thread Fbsd1

Randi Harper wrote:

On Fri, Jul 17, 2009 at 8:41 PM, Fbsd1  wrote:


Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another
method of creating the memstick.img so it downloads faster. dd does no
compression of the data.



-rw-r--r--1 110  1002 346845184 Jul 16 02:04
8.0-BETA2-i386-disc1.iso
-rw-r--r--1 110  1002 917391360 Jul 16 02:00
8.0-BETA2-i386-memstick.img

Note the filesize. This may be the reason it took 3 times longer. Just a
guess.



Using a 8gb memstick as the target to install 8.0 on took 2 times longer
than disc1 cd installing to same 8gb memstick.



Might have something to do with the amount of data being written. Again,
just a guess. Are you sure it wasn't 3 times longer?



Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed
successfully, but the new 8.0 8gb memstick was not recognized as bootable.



I don't know why that's the case as I am unable to reproduce this problem,
but if the memstick.img is <1GB, why are you using an 8GB memstick instead
of the 2GB?



Here is a script i have used in the past to convert the disc1.iso to
bootable memstick. Maybe its better to add this script to the place where
8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.
That way the 3 times larger memstick.img is not needed any more.



No. If you took a look at the contents of the memstick, you'd realize it's
not just a copy of disc1. It also includes livefs. This is probably why the
memstick.img is so much bigger. :D

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




Instead of combining disc1 and livefs into a single memstick.img would't 
it be better to make 2 memstick images. One of disc1 and one of livefs. 
This matches the standard all ready in place.



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


USB Flash Memory stick not bootable

2009-07-18 Thread Fbsd1
Have problem with being able to boot off an new 8GB USB Flash Memory 
stick. When I load the 8.0 disc1.iso to an 2GB USB Flash Memory stick it 
will boot fine. But when I do the same thing to the new 8GB USB Flash 
Memory stick it’s not recognized as bootable. I can access the installed 
partitions manually by mounting then on the 7.2 system. So I know the 
8GB stick has been loaded correctly. I am doing this on a 7.2 release.


Below are the console messages that get displayed when I plug in each of 
the USB Flash Memory stick. You can see a great difference between the 
first set of messages for the 8GB stick versus the 2GB stick that 
follows. I want to boot off the 8GB stick just like I do with the 2GB 
stick.


What is going on here? They should be handled the same way.


Brand new 8GB Kingston DataTraveler 120 purchased 7/16/09

 umass0:  
on uhub1

 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
 (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition
 (probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
 (probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have 
changed

 (probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0:  Removable Direct Access SCSI-2 
device

 da0: 1.000MB/s transfers
 da0: 7643MB (15654848 512 byte sectors: 255H 63S/T 974C)
 GEOM_LABEL: Label for provider da0a is ufsid/4a615a2cc673eb3d.


# 3 year old 2GB Kingston DataTraveler
umass1:  on uhub1
da1 at umass-sim1 bus 1 target 0 lun 0
da1: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da1: 1.000MB/s transfers



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


Re: Install from a USB Pen

2009-07-17 Thread Fbsd1

Fbsd1 wrote:




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution sysinstall 
issues error msg saying package index not on current media them gos on 
to tell me that docproj, manpages, proflibs, dict, info, sbace, ssys and 
srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.




OK used the 8.0-BETA2-i386-memstick.img.

Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to 
download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another 
method of creating the memstick.img so it downloads faster. dd does no 
compression of the data.


dd the memstick.img to my 2gb memstick ok. It booted ok.

Using a 8gb memstick as the target to install 8.0 on took 2 times longer 
than disc1 cd installing to same 8gb memstick.


Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed 
successfully, but the new 8.0 8gb memstick was not recognized as bootable.


Here is a script i have used in the past to convert the disc1.iso to 
bootable memstick. Maybe its better to add this script to the place 
where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img.

That way the 3 times larger memstick.img is not needed any more.



#!/bin/sh
#Purpose = Use to transfer the FreeBSD install cd1 to
#  a bootable 1GB USB flash drive so it can be used to install 
from.

#  First fetch the FreeBSD 7.1-RELEASE-i386-disc1.iso to your
#  hard drive /usr. Then execute this script from the command line
# fbsd2usb /usr/7.1-RELEASE-i386-disc1.iso /usr/7.1-RELEASE-i386-disc1.img
# Change system bios to boot from USB-dd and away you go.

# NOTE: This script has to be run from root and your 1GB USB flash drive
#   has to be plugged in before running this script.

# On the command line enter fbsd2usb iso-path img-path

# You can set some variables here. Edit them to fit your needs.

# Set serial variable to 0 if you don't want serial console at all,
# 1 if you want comconsole and 2 if you want comconsole and vidconsole
serial=0

set -u

if [ $# -lt 2 ]; then
echo "Usage: $0 source-iso-path output-img-path"
exit 1
fi

isoimage=$1; shift
imgoutfile=$1; shift

# Temp  directory to be used later
#export tmpdir=$(mktemp -d -t fbsdmount)
export tmpdir=$(mktemp -d /usr/fbsdmount)

export isodev=$(mdconfig -a -t vnode -f ${isoimage})

ISOSIZE=$(du -k ${isoimage} | awk '{print $1}')
SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4))
#SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2))

echo " "
echo "### Initializing image File started ###"
echo "### This will take about 4 minutes ###"
date
dd if=/dev/zero of=${imgoutfile} count=${SECTS}
echo "### Initializing image File completed ###"
date

echo " "
ls -l ${imgoutfile}
export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile})

bsdlabel -w -B ${imgdev}
newfs -O1 /dev/${imgdev}a

mkdir -p ${tmpdir}/iso ${tmpdir}/img

mount -t cd9660 /dev/${isodev} ${tmpdir}/iso
mount /dev/${imgdev}a ${tmpdir}/img

echo " "
echo "### Started Copying files to the image now ###"
echo "### This will take about 15 minutes ###"
date

( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img )

echo "### Completed Copying files to the image ###"
date

if [ ${serial} -eq 2 ]; then
echo "-D" > ${tmpdir}/img/boot.config
echo 'console="comconsole, vidconsole"' >> 
${tmpdir}/img/boot/loader.conf

elif [ ${serial} -eq 1 ]; then
echo "-h" > ${tmpdir}/img/boot.config
echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf
fi

echo " "
echo "### Started writing image to flash drive now ###"
echo "### This will take about 30 minutes ###"
date
dd if=${imgoutfile} of=/dev/da0 bs=1m
echo "### Completed writing image to flash drive at ###"
date

cleanup() {
umount ${tmpdir}/iso
mdconfig -d -u ${isodev}
umount ${tmpdir}/img
mdconfig -d -u ${imgdev}
rm -rf ${tmpdir}
}

cleanup

ls -lh ${imgoutfile}

echo "### Script finished ###"




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


Re: Install from a USB Pen

2009-07-17 Thread Fbsd1

Randi Harper wrote:

On Wed, Jul 15, 2009 at 6:50 PM, Fbsd1  wrote:


Randi Harper wrote:


On 7/14/09, Fbsd1  wrote:


What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


Sigh. Reply-to-all fail. Resending.

It's all in the email about the 8.0 BETA(s). Use dd, a memstick that
 is of equal to or greater size than the memstick.img, and no, it's
 different from disc1. It currently lacks packages, but it does include
 livefs.

 -- randi


 The email about 8.0 BETA(s) was not posted to the questions list that is

why I did not see it.

This is what I tried

 Plugging in the stick auto generated these messages

# /root >umass0:  on uhub1
da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤żňÚktń

 I have to hit enter key to get prompt
 of=da0  or of=da0s1 resulted in same thing, no img on stick

# /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync
57412+0 records in
57412+0 records out
587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec)

Can not mount with (mount /dev/da0s1 /mnt)
But (mount_msdosfs /dev/da0s1 /mnt) does work but
stick still contains the original data.
Has not been overwritten by the 8.0-BETA1-i386-memstick.img

What is the problem here?



You're writing to a file called da0 inside /usr instead of /dev/da0.

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




dd if=8.0-BETA1-i386-memstick.img of=/dev/da0   worked

I used my laptop to boot from the usb memstick. The 8.0 sysinstall 
started right up but it has problems. In this test i am booting off a 
2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and 
installing on a second 8gb memstick.


While trying to do a [STANDARD/KERNEL DEVELOPER] distribution 
sysinstall issues error msg saying package index not on current media 
them gos on to tell me that docproj, manpages, proflibs, dict, info, 
sbace, ssys and srce are not on the media.


I take this to mean that they are missing from the 
8.0-BETA1-i386-memstick.img.


So I tried to install again this time doing a minimal selection. This 
when through to completion but the resulting memstick was not bootable.


I'll try this test again when BETA2 is released.


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


Re: Install from a USB Pen

2009-07-15 Thread Fbsd1

Randi Harper wrote:

On 7/14/09, Fbsd1  wrote:

What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


Sigh. Reply-to-all fail. Resending.

It's all in the email about the 8.0 BETA(s). Use dd, a memstick that
 is of equal to or greater size than the memstick.img, and no, it's
 different from disc1. It currently lacks packages, but it does include
 livefs.

 -- randi


The email about 8.0 BETA(s) was not posted to the questions list that is 
why I did not see it.


This is what I tried

 Plugging in the stick auto generated these messages

# /root >umass0: 2.00/2.00, addr  2> on uhub1

da0 at umass-sim0 bus 0 target 0 lun 0
da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C)
GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤¿òÚktñ

 I have to hit enter key to get prompt
 of=da0  or of=da0s1 resulted in same thing, no img on stick

# /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync
57412+0 records in
57412+0 records out
587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec)

Can not mount with (mount /dev/da0s1 /mnt)
But (mount_msdosfs /dev/da0s1 /mnt) does work but
stick still contains the original data.
Has not been overwritten by the 8.0-BETA1-i386-memstick.img

What is the problem here?



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


Re: Install from a USB Pen

2009-07-14 Thread Fbsd1


... or you could just download an official image instead of going to all 
of that trouble. Check the FTP site, there's a memstick.img if you're 
down for using with 8 instead of 7. There are currently three PRs about 
this, and I recently took ownership of them. Filing duplicate bug 
reports doesn't "get attention", it's just annoying and it makes trying 
to improve sysinstall that much more difficult because I'll have to 
spend more time closing these duplicates and less time fixing problems. 
There has been an email that stated there is USB install support in 
sysinstall as of 8.0 BETA1, and USB livefs support as of 8.0 BETA2. The 
PRs for USB support in sysinstall will be updated and closed soon. Don't 
open new ones.


You're welcome! :D

-- randi


What are the instructions for using this 8.0 memstick.img?
What raw size memstick is needed?
Is the 8.0 memstick.img the same content as the cd1 disk?


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


Re: Install from a USB Pen

2009-07-13 Thread Fbsd1

Mark Wallbank wrote:

OK I know this has probably been done to death by know and I keep
hitting the same problems with the methods I have tried to find on
google and I know I could just sacrifice a laptop and do a build to
create the image or do a net (pxe) install from another NIX serverbut
it does seem to be a bit over the top. Does any body know of an easy
way to create a bootable USB install media for 7.2 using either linux
or vista (or using an option from the install dvd). I have tried some
of the tricks from openBSD and linux to no avail.
Any help appreciated...
Cheers
Mark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"





If your asking how to put the cd1 install contents onto a usb stick and 
use the sysinstall program to perform the install on the target box then 
check the archive.
It has a post with a script to convert the cd1 install disk to usb 
stick. But the show stopper is the sysinstall program does not have 
option for usb stick as install source. There was a bug report submitted 
2 years ago pointing out this oversight, but as of 7.2 it has not been 
corrected.
If you think the sysinstall program should have install source option 
for usb stick them file your own bug report. The more people who file 
bug reports the more attention this problem will get from the developers.





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


Re: FreeBSD 7.2 o/s on a flash stick

2009-07-03 Thread Fbsd1

Al Plant wrote:

Aloha Gurus.

All the gogle-ing I did does not give a current status on or how-to on 
installing FreeBSD 7.2 on a flash stick on one slice with the default 
partions.  I want to boot from it on a mini lap top ( no CD ) and use it 
like the hd inside.


I see plenty of how-to's on loading Flash sticks for installing on other 
boxes and using a 2 slice flash to load FreeBSD onto other duplicate 
boxes again.


All I need is to have a FreeBSD  o/s on the stick so I can use it 
instead of the OS on the existing laptop.


I'm sure I saw on this list where somebody did this successfully but I 
cant find it.


Any help is appreciated. Thanks.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
  < email: n...@hdk5.net >
"All that's really worth doing is what we do for others."- Lewis Carrol

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




Hi Al

The way i have done this in 7.0 7.1 and 7.2 is to boot off the cd1 
install cd and do a normal install to my 1gb flash stick. A 1gb flash 
stick is to small for the default slice sizes. You will have to manually 
allocate the / /usr /var /swap sizes. I also found it usefully to set 
the boot flag when allocating the whole flash stick. A 2gb or larger 
flash stick allows you to take the auto-allocate option for / /usr /var 
/swap sizes. Keep in mind that your /var log files can fill up you flash 
stick real quick and lock up your system. If your running this flash 
stick 7/24 then rotate them more often deleting the oldest one. It's as 
simple as that.

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


Re: it is about installing FreeBSD on USB stick

2009-06-05 Thread Fbsd1

Eric Hsieh wrote:

hello, this is my first time to ask a help from FreeBSD.
I have a question about installing FreeBSD on USB stick.
There are so many informations about how to install FreeBSD on USB
stick from Internet, but I can not find out any information about
follow :
first, if i install FreeBSD on USB stick. Could I operate it on any computer.
if not, how to reach this issue ?
second, if i install FreesBIE on USB stick, i know i can operate it on
any computer.
but i don't know how to store my setting and installed software on USB
stick directly instead of copy my setting to another store device.
thanks, good luck for you.
___





Your statement of "any computer" is too undefined. The answer to your 
first question as you wrote it is NO. But if we define "any computer" as
"any 386 type of computer" then the answer is yes. Note: Not all PC's 
manufactured have option to boot from USB stick or use the 386 type of CPU.


Your second question is wrong. FreesBie has same limitation as Freebsd.
"any 386 type of computer" with USB stick boot option then the answer is 
yes.


There are other versions of Freebsd for the other CPU types of Pc's. If 
you use one of those other versions for CPU type then your USB stick can 
only run on PC's of the same CPU type.


All of Freebsd run time configuration files are in /etc
/etc will be on your USB stick Freebsd system and will be the ones you 
are modifying.







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


Re: pkg_deinstall: "delete all packages installed, except for X, Y and Z"

2009-06-04 Thread Fbsd1

Wojciech Puchar wrote:
ignore errors about package can't be deleted because X, Y or Z 
requires it. it's exactly what you want.



pkg_delete `cat /tmp/pkglist`  gives error 'no such package `cat 
/tmp/pkglist` installed




for sure you used ' instead of `

  Yet that was the error. I did not know there was another type of 
quote key on the keyboard. The one used in the example is below the Esc key.

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


Re: pkg_deinstall: "delete all packages installed, except for X, Y and Z"

2009-06-04 Thread Fbsd1

Wojciech Puchar wrote:

Hello list.

I am trying to clean up a system with a LOT of cruft. Is there some
argument I could pass to pkg_deinstall that would result in "delete
all packages installed, except for X, Y and Z" (and obviously their
dependancies)?


just do

pkg_info |cut -f 1 -d " " >/tmp/pkglist
edit pkglist and delete lines X, Y and Z

do

pkg_delete `cat /tmp/pkglist`
rm /tmp/pkglist

ignore errors about package can't be deleted because X, Y or Z requires 
it. it's exactly what you want.



pkg_delete `cat /tmp/pkglist`  gives error 'no such package `cat 
/tmp/pkglist` installed

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


Software creating karaoke from mp3 files

2009-05-30 Thread Fbsd1
Been unable to purchase karaoke of rock and roll greats like "AC/DC, THE 
ROLLING STONES, THE DOORS, LED ZEPPELIN". Looking for advice on software 
that will allow me to edit out the singing voice tracks from a mp3 file 
and write the resulting music as a avi file so I can have the song words 
show on tv.


If any one has done this type of thing, sure would like to hear about 
how they did it.


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


Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1

Polytropon wrote:

On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal 
 wrote:
I'm experiencing problems when attempting to install Win4BSD 1.1. I've 
downloaded the most recent .tbz of W4B, it installs but fails while 
building kqemu.


You downloaded sources manually? Why not use the ports system, or
even install from a precompiled package? This would install any
needed dependencies (kqemu) as well. The ports collection contains
version 1.1.


From the port:


# cd /usr/ports/emulators/win4bsd
# make install clean


From the package:


pkg_add -r win4bsd

It will install run dependencies as well.




Here is the error-msg:

kqemu-freebsd.c: In function 'kqemu_schedule':
kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this 
function)
kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only 
once


I'm not sure, but are you trying to compile Linux sources on
a FreeBSD system?



All sources are installed. Suggestions are very welcome and will be 
appreciated!


Try the port, if you want to compile it yourself, or try pkg_add.
I have to admit that I haven't tried it, so it's a "dry advice". :-)





The port build of win4bsd will not build on 7.2 because you have first 
to rebuild the freebsd kernel with option SCHED_4BSD. win4bsd-1.1_3 
requires the traditional 4bsd scheduler. Good possibility this is also 
true for 7.0, 7.1 and 8.0


Gave up on testing win4bsd because of performance impact on server from 
using traditional 4bsd scheduler. OMHO this port needs to be updated to 
function using the new scheduler.

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


Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1

Polytropon wrote:

On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal 
 wrote:
I'm experiencing problems when attempting to install Win4BSD 1.1. I've 
downloaded the most recent .tbz of W4B, it installs but fails while 
building kqemu.


You downloaded sources manually? Why not use the ports system, or
even install from a precompiled package? This would install any
needed dependencies (kqemu) as well. The ports collection contains
version 1.1.


From the port:


# cd /usr/ports/emulators/win4bsd
# make install clean


From the package:


pkg_add -r win4bsd

It will install run dependencies as well.




Here is the error-msg:

kqemu-freebsd.c: In function 'kqemu_schedule':
kqemu-freebsd.c:211: error: 'sched_lock' undeclared (first use in this 
function)
kqemu-freebsd.c:211: error: (Each undeclared identifier is reported only 
once


I'm not sure, but are you trying to compile Linux sources on
a FreeBSD system?



All sources are installed. Suggestions are very welcome and will be 
appreciated!


Try the port, if you want to compile it yourself, or try pkg_add.
I have to admit that I haven't tried it, so it's a "dry advice". :-)






There is no package for win4bsd on the pkg ftp servers for releases 7.0, 
7.1, 7.2, or 8.0.
Looks like the release build team has been missed this one for some time 
now.



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


Re: no pkg for apache13 in 7.2

2009-05-18 Thread Fbsd1

Ltcddata wrote:

On Mon, 18 May 2009 20:22:34 +0800
Fbsd1  wrote:


In 7.1 and previous  pkg_add -r apache  fetched apache13.
Now in release 7.2  pkg_add -r apache  installs apache22.
Looks like someone made apache22 the default pkg and did not
point this out in the release notes or bother to create a
named package for apace13 in the Latest directory.
Is apache13 at end-of-life??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org"

using apache13 here on 7.2.. just build it from ports  



Building from port does not address the posted problem.
Can also get pkg from 7.1.


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


no pkg for apache13 in 7.2

2009-05-18 Thread Fbsd1

In 7.1 and previous  pkg_add -r apache  fetched apache13.
Now in release 7.2  pkg_add -r apache  installs apache22.
Looks like someone made apache22 the default pkg and did not
point this out in the release notes or bother to create a
named package for apace13 in the Latest directory.
Is apache13 at end-of-life??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


7.2 disc1 & bootonly cds not recognized as bootable

2009-05-16 Thread Fbsd1
Running 7.1 and trying to do clean install of 7.2. Downloaded both disc1 
and bootonly iso files because the 7.2 release announcement says this.


Note: late in the testing cycle it was discovered some machines do not 
recognize


the i386 disc1 as bootable (they just fall through to booting off the 
next boot device).


All affected machines did see the other discs as bootable. If you have a 
machine


with that problem booting off either bootonly or livefs and then 
swapping in disc1


once sysinstall starts should work.

In my case I have the described booting problem with both disc1 and the 
bootonly disk.


Disc1 and bootonly cd are bootable on different computer so know they 
are good.


Dead in the water, Help

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


source for sysinstall

2009-05-03 Thread Fbsd1

How can i just download the source for sysinstall?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Fetchmail problem

2009-04-19 Thread Fbsd1

Annelise Anderson wrote:

I am trying to use fetchmail on FreeBSD but get the message:

fetchmail: SMTP< 451 4.1.8 Domain of sender address 
owner-freebsd-questi...@freebsd.org does not resolve


I can send mail out from the box but can't fetch mail.

Annelise

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





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


Re: Problem: PPOE and a Static IP.

2009-04-14 Thread Fbsd1

Paul Halliday wrote:

I am following the instructions on this page:

http://www.freebsd.org/doc/en/books/handbook/pppoe.html

I had initially thought it was a problem with the modem so I had a
technician come in to take a look; when hooked up to his windows
laptop:

1) He had to assign the  interface the static address
2) no uname/pass were required.

What needs to change in my ppp.conf to accommodate a static address?

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





set ifaddr s.s.s.s 0.0.0.0/0 0.0.0.0 0.0.0.0

where s.s.s.s is your static ip address

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


Re: Splash screen color issues

2009-04-14 Thread Fbsd1

Eugene L. wrote:
Hello everyone, I have a FreeBSD 7.1-Release (generic kernel), and I am 
trying to make splash screen feature work properly, so I followed the 
procedure described in handbook and the splash screen actually loads, 
except the black is now white, red is violet, etc.


So all the colors of the bitmap are messed up, and I checked, they fit 
the requirements and I've tried other pics and pcx format. I tried gimp, 
photoshop. The issue isn't pic related


What could possibly be the reason?

I use Sapphire Radeon X1600 Pro AGP
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"freebsd-questions-unsubscr...@freebsd.org"





Has to be your video card. If you have an X-desktop installed try 
displaying the splash screen and see how it looks there. The x-desktop 
should have auto loaded a driver for your video card. If the colors are 
ok them unplug your video card and try the motherboard default video.

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


Re: 7.1 System Crashing

2009-04-14 Thread Fbsd1

APseudoUtopia wrote:

My FreeBSD 7.1-RELEASE-p3 system has gone down a few times in the last
two days. I'm trying to figure out why, but there is nothing in
/var/log/messages or dmesg about the incident.

Here's the output from the `last` command:
User  ttyp01.2.3.4Tue Apr 14 19:02   still logged in
User  ttyp01.2.3.4Tue Apr 14 18:52 - 19:02  (00:09)
reboot   ~ Tue Apr 14 18:52
User  ttyp01.2.3.4Tue Apr 14 18:42 - crash  (00:09)
User  ttyp01.2.3.4Tue Apr 14 16:06 - 18:42  (02:36)
User  ttyp01.2.3.4Tue Apr 14 11:23 - 12:53  (01:29)
reboot   ~ Tue Apr 14 07:44
User  ttyp01.2.3.4Mon Apr 13 20:01 - 22:58  (02:57)
User  ttyp01.2.3.4Mon Apr 13 19:56 - 20:01  (00:04)
User  ttyp01.2.3.4Mon Apr 13 19:31 - 19:56  (00:25)
User  ttyp01.2.3.4Sun Apr 12 15:02 - 16:15  (01:12)
User  ttyp01.2.3.4Sun Apr 12 14:48 - 15:02  (00:14)
reboot   ~ Sun Apr 12 14:48
shutdown ~ Sun Apr 12 14:45
User  ttyp01.2.3.4Sun Apr 12 14:24 - shutdown  (00:21)
User  ttyp01.2.3.4Sat Apr 11 13:03 - 17:00  (03:56)
wtmp begins Wed Apr  1 21:21:28 UTC 2009



As you can see, the system reboot several times, and crashed the most
recent time. Only one of the shutdown/reboots listed is valid - the
furthest one.
I have no idea why it is rebooting/crashing. It has been completely
stable until about 1-2 days ago. If anyone can direct me to post the
output to any commands or any log messages, I'd be more than willing
to do so in order to help anyone diagnose my problem.

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




What you are experiencing are the early warning signs of disk drive 
failure or over heating problems.


Before doing any thing else make backup of your user data if you have 
not done so already.


Then open your box and use a small brush and a can of compressed air to 
blow the dust off the motherboard and the fans. Give special attention 
to the fan in the power supply. If PC is older than 3 years or has over 
1 year of continues use then replace the power supply.


IF problem still happens replace hard drive.


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


Re: mount 2nd HD containing running Freebsd system

2009-03-25 Thread Fbsd1

Ricardo Jesus wrote:

Fbsd1 wrote:
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.


Read up http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html, 
namely entries 9.1 and 9.2. Very detailed and helpful stuff.




None of that was helpfull. Found post in questions archives from 1992 
that gave me pointer to correct direction.


Here is the solution I used.

 ls /dev/ad*   listed all the slices on both HDs.
 mount /dev/ad1s1f /mntmounted the /usr dir from the second HD just 
like i wanted.




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


mount 2nd HD containing running Freebsd system

2009-03-25 Thread Fbsd1
I have run out of space on my running 7.1 system. I have a 2nd HD 
containing 6.1 that I want to mount and use the 80gb /usr slice.


What is the mount command to use?

Thinking   mount /dev/ad1 /mnt  but un-sure how this handles the 6.1 
slices on that HD.

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


Re: installing ports xorg

2009-03-21 Thread Fbsd1

Tim Judd wrote:

I'm getting ZERO feedback when I install the xorg metaport, updated
ports tree today.

# cd /usr/ports/x11/xorg
# make install
# 




So what am i missing?

http://www.freebsd.org/doc/en/books/handbook/x-install.html
tells me to install this port.


I even deleted /var/db/pkg/* and /var/db/ports/* to try to hook it to
install...  Retrying the above install every time.  Nothing works.

What to do?


Thanks

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


it will take many many hours to compile. If you read more in handbook it 
also says you can install the package version which should only take 30 
minutes.


pkg_add -r xorg

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


Re: issues in XFCE 4.6 (looking for a working WM)

2009-03-20 Thread Fbsd1

Keith Seyffarth wrote:

At this point, I guess I'm looking for recommendations on a window
manager.

Here are the major problems with XFCE4 4.6:

* < 20% probability of starting X without crashing and locking
  computer
* 20-25 minutes to start X (was about 1 under XFCE4 4.4)
* 0% chance of shutting down successfully if X is running
* can't exit X once started (switches monitor to power save mode and
  hangs)
* maximum run time of 8 hours (average around 5 hours)
* won't save settings

and a couple minor ones:

* XFCE menu doesn't work
* missing icons, even after theme is changed from rodent to tango

None of these were issues under XFCE4 4.4, but I'm guessing there's
not a good way to get 4.4 back...

What other window managers do people use, or what would you recommend
and why?

Thanks.
___


In 7.1 I installed the xfce mega package and it is version 4.4.2,

It installed every thing xfce has available. It works fine for me.

xfce 4.6 is very dirty and needs alot more work before it's usable. I 
had some of the same problems as you so i deleted it and returned to 4.4.2.


also installed the Xorg mega package.

First time startx takes about 30sec, after that it comes up in 5-10sec.



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


Re: recover data from damaged msdos fat32 partition

2009-03-19 Thread Fbsd1

Polytropon wrote:

On Sat, 20 Dec 2008 16:16:38 +0800, Fbsd1  wrote:
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk


Oh yes, you can! As a side product of my attempt to restore data
from an UFS partition with orphaned inodes, I found some good
utilities that might be helpful fo you.




What tools do you suggest to use?


Check 'em out!

System:
dd
fsck_ffs
clri
fsdb
fetch -rR 
recoverdisk

Ports:
ddrescue
dd_rescue
ffs2recov
magicrescue
testdisk
The Sleuth Kit:
fls
dls
ils
autopsy
scan_ffs
recoverjpeg
fatback

Especially magicrescue can do wonders. If everything fails,
The Sleuth Kit is a good tool.

Don't forget to try mtools.




I have installed these ports

autopsy
dd_rescue
ddrescue
fatback
formost
sleuthkit

If my understanding of reading their documentation is correct, they all 
need a empty disk to copy the bad disk sectors to in sequence.

Is this a correct understanding?

msdos fat32 file system has a backup fat table as stated in the docs. Do 
any of the sectors rescue programs read the backup fat table?


Not interested in the XP system or programs directors. Just want user 
data files created by adobe pagemaker. Dont know what the file extension 
is for sure or if there are any way to ID the file from internal 
content. Best guess I have on file extension is .cv5  Do not have a file 
to examen.


What are the general steps I need to do to recover data from this msdos 
FAT32 disk with corrupted fat table and maybe corrupted data?

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


Re: 7.1 phpmyadmin skip logon screen?

2009-03-19 Thread Fbsd1

Fbsd1 wrote:

Matthew Seaman wrote:

Fbsd1 wrote:

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?


That's nothing to do with the FreeBSD version -- phpMyAdmin works the
same on any platform.

To make phpMyAdmin auto-login to a DB, you need to use 'config'
authentication mode.

  http://www.phpmyadmin.net/documentation/#authentication_modes

It's probably the least secure authentication mode provided, so you
should take further steps in your Apache config to stop the world
gaining access to your database.

Cheers,

Matthew



Read the user id info on mysql and phpmyadmin. It's so much overkill. 
Don't need to secure then at all. I have inhouse development box on 
private lan and mysql has always worked just fine with superuser mysql 
id of root without password. In the previous version of phpmyadmin no 
login id was required and I was able to see my DB definitions. Tried to 
setup config.inc.php by adding statement

$cfg['Servers'][$i]['user']   = 'root';  but no joy.


What is needed in config.inc.php to allow the default mysql superuser 
user id root full access in phpmyadmin?






For the archives.
Figured it out for myself after much testing.

This is the contents of my working config.inc.php file.

 





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


Re: 7.1 phpmyadmin skip logon screen?

2009-03-17 Thread Fbsd1

Matthew Seaman wrote:

Fbsd1 wrote:

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?


That's nothing to do with the FreeBSD version -- phpMyAdmin works the
same on any platform.

To make phpMyAdmin auto-login to a DB, you need to use 'config'
authentication mode.

  http://www.phpmyadmin.net/documentation/#authentication_modes

It's probably the least secure authentication mode provided, so you
should take further steps in your Apache config to stop the world
gaining access to your database.

Cheers,

Matthew



Read the user id info on mysql and phpmyadmin. It's so much overkill. 
Don't need to secure then at all. I have inhouse development box on 
private lan and mysql has always worked just fine with superuser mysql 
id of root without password. In the previous version of phpmyadmin no 
login id was required and I was able to see my DB definitions. Tried to 
setup config.inc.php by adding statement

$cfg['Servers'][$i]['user']   = 'root';  but no joy.


What is needed in config.inc.php to allow the default mysql superuser 
user id root full access in phpmyadmin?





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


7.1 phpmyadmin skip logon screen?

2009-03-15 Thread Fbsd1

In 7.1 phpmyadmin now drops you into a logon screen.
How do I stop this function and always go to main menu screen?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: error in php5 make install

2009-03-14 Thread Fbsd1

Peter wrote:


Fbsd1 wrote:

Turn off all options accept Apache module

===>   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   php5-5.2.9 depends on executable: pkg-config - found
===>   php5-5.2.9 depends on shared library: xml2.5 - found
===>  Configuring for php5-5.2.9
cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such
file or directory
*** Error code 2

Script didn't even look for m4 dependent. m4 is installed already.



are you using root account when performing the install ?

Type: id, this will give you the current account you are using.


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



Yes i am using root to install.

I fixed the problem by doing make clean  then make install.
Must have been trash left over from first try.
It worked ok now.
Thanks any way.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: issues in XFCE 4.6

2009-03-14 Thread Fbsd1

Keith Seyffarth wrote:
Your problem is not xfce but xorg. It went through massive changes in 
7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
Option "AllowEmptyInput" "Off" statement as last line in "ServerLayout" 
section. Doing console command Xorg -config /etc/X11/xorg.conf will 
build you one.  By the way i used the package version of xfce4 on 7.1 
and it's working just fine after i added the above xorg fixes.


That line was already in xorg.conf (it was necessary to get a mouse to
work after the last xorg update in January). However, I did not have
it as the last line in the ServerLayout section. I moved it to the
last line, but that didn't make a difference.

There's still no XFCE menu, and without the ability to update the
settings in XFCE, it's pretty much unusable...

Keith


As i said the packages worked for me. Blow away the xfce and xorg ports 
and do the xorg mega package and the xfce mega package. if that fails 
then bkup your user data and install a clean virgin version of 7.1 and 
the xorg and xfce packages.

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


error in php5 make install

2009-03-13 Thread Fbsd1

Turn off all options accept Apache module

===>   php5-5.2.9 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   php5-5.2.9 depends on executable: pkg-config - found
===>   php5-5.2.9 depends on shared library: xml2.5 - found
===>  Configuring for php5-5.2.9
cannot create /usr/ports/lang/php5/work/php-5.2.9/aclocal.m4: No such 
file or directory

*** Error code 2

Script didn't even look for m4 dependent. m4 is installed already.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: issues in XFCE 4.6

2009-03-13 Thread Fbsd1

Keith Seyffarth wrote:

I went through pkg_rmleaves and deleted xfce and then everything it
exposed, then re-installed using portinstall -R

This installed 32 packages when I had only deleted 31, so something
got installed that wasn't previously.

Unfortunately, this still didn't fix the problems.

The XFCE menu still isn't available, and the screen resolution is
really horrible (did the developers assume everyone has a 30"
monitor?)

Anyway, what I really need is to know how to manually fix the
configuration since access to "settings" isn't available through XFCE
in 4.6 so I can make this usable until XFCE can be fixed.

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





Your problem is not xfce but xorg. It went through massive changes in 
7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
Option "AllowEmptyInput" "Off" statement as last line in "ServerLayout" 
section. Doing console command Xorg -config /etc/X11/xorg.conf will 
build you one.  By the way i used the package version of xfce4 on 7.1 
and it's working just fine after i added the above xorg fixes.

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


Re: php5 changes in release 8.0

2009-03-09 Thread Fbsd1

Bill Moran wrote:

In response to Fbsd1 :

Having problems installing php5 in 7.1 so tried 8.0 and see that in 
release 8.0 php5 in defaulting to apache 22 when apache interface is 
selected from the make config menu. The config menu should give option 
to select apache 13 or apache 22 not force apache 22 on the user 
community. Is the maintainer going to change the config menu before php5 
8.0 is released for production?


If you want a different version of Apache, all you have to do is install
Apache first, then PHP will use the version you have installed.

It's always been that way.  It's just that up till now the default was
1.3.  It's _LOOONG_ past time when the default should have moved to 2.X.

I had Apache 13 installed before installing php5 and it did install php 
with files for apache22. It did not default to using apache 13 which was 
all ready installed.

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


php5 changes in release 8.0

2009-03-05 Thread Fbsd1
Having problems installing php5 in 7.1 so tried 8.0 and see that in 
release 8.0 php5 in defaulting to apache 22 when apache interface is 
selected from the make config menu. The config menu should give option 
to select apache 13 or apache 22 not force apache 22 on the user 
community. Is the maintainer going to change the config menu before php5 
8.0 is released for production?

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


autoconf262 package error

2009-03-03 Thread Fbsd1
When doing a pkg_add for autoconf262 it does not do auto package add for 
its dependents like other packages do. Some thing is wrong with the 
autoconf262 package on 7.1.

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


Re: desktop app/config

2009-03-03 Thread Fbsd1

Jean-Paul Natola wrote:

"Jean-Paul Natola"  wrote:



Ok so I left the machine running over the weekend to install KDE,

And when I got in this morning it said that my disk was out of space-
I loaded nothing but the basic freebsd os and nothing other than kde
(granted its only a 10 gig drive) but that should be enough for a kde
desktop no? 


It may be that you need to clean-out the workspaces with 
rm -rf /usr/ports/*/*/work, and start again.



BTW I'd go for KDE3 rather than KDE4. The latter still seems to be very
fragile to me, and it needs a fairly up-to-date machine, with and a well
supported 3-d graphics card if you want the effects.

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


So I followed the instructions above, and after a few days I wount up again
with my 6 gig slice filling up before  kde3 could install-

I must be doing something wrong if I cant install kde 3 on a 6 gig slice?




You would be better off to install the package version of kde.

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


purpose of /etc/wall_cmos_clock

2009-03-03 Thread Fbsd1

What is /etc/wall_cmos_clock used for and how is it created?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


bsdstats not working in 7.1

2009-03-01 Thread Fbsd1

bsdstats is now in the base system.
Have bsdstats_enable="YES" is rc.conf
Worked this way in 7.0.
What am I missing here???
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: link to dos2unix

2009-03-01 Thread Fbsd1

Roland Smith wrote:

On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote:
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?


Usually, programs like this perform dos2unix or unix2dos translations
depending on how they are called. So renaming them won't work.

Try adding an alias to your favorite shell. That should work. E.g.put
'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc.

Roland


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


link to dos2unix

2009-03-01 Thread Fbsd1
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1

Aryeh M. Friedman wrote:

Fbsd1 wrote:
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am 
application available?

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


portupgrade has an option to install packages if current with the port 
version

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



I don't do ports if at all possible. I even do the package of the 
dependents of the ports I am forced to do.

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


Xorg mouse and massive error log messages problems

2009-03-01 Thread Fbsd1
Just installed Xorg package from parkages-current hoping to get 
environment containing all the fixes. Still have the no mouse curser 
movement on xfce desktop.


Adding
Option "AllowEmptyInput" "Off"
statement to ServerLayout section of /etc/X11/xorg.conf
got the mouse curser moving.
But I still get the the mouse error messages in the X11 log.

{EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy.
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device "PS/2 Mouse"
(EE) config/hal: NewInputDeviceRequest failed

Is there some other correct solution?


I am receiving massive flooding of the Log file: "/var/log/Xorg.0.log" 
with the follow messages


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

I found a post in the questions archives where the person was saying 
these messages are meaningless and can be ignored. It's not a problem 
the ignore them, but my log get massive in size and consumes my free 
disk space. I know i can configure to rotate the log at a given size. 
But that is not the solution. I need to know how to stop these messages 
from being issued in the first place.


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


portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am application 
available?

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


Xorg package update

2009-02-27 Thread Fbsd1
When is the the X-Org mega package going to be recreated so it contains 
all the fixes caused by 7.1 release as detailed in /usr/ports/UPDATEING?

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


Re: can't find an internal flash reader that doesn't crash 7.1

2009-02-26 Thread Fbsd1

Steve Franks wrote:

I've tried several.  I have a need of this - anyone have one that
works with our USB stack?

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




If you really want a meaningful reply them you have to describe your 
problem in some detail.

 NO one on this list has ESP to read your mind.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-20 Thread Fbsd1

Sergio de Almeida Lenzi wrote:

Em Sex, 2009-02-20 às 20:51 +, Formula 1 escreveu:


Is there going to be a possibility for FreeBSD, in the future or now, that 
there will be a release of it that allows for install and running of the 
operating system off of a USB memory stick?




I have it running here... two small scripts save it from the disk into a
2mb usb stick.
once in the usb you can boot (from the usb) and install it on any other
disk in 5 minutes
and using zfs (a 1gb ufs partition, a swap partition and a big zfs
partition.
if needed I can put the script in the web fo testing or download.

I adivse that  there is no need to enter sysinstall.

Hope it can help

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



Sure would like a copy of your scrips.
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: When is there going to be a USB install and run iso iamge for FreeBSD?

2009-02-20 Thread Fbsd1

Formula 1 wrote:

Is there going to be a possibility for FreeBSD, in the future or now, that 
there will be a release of it that allows for install and running of the 
operating system off of a USB memory stick?






In 7.1 I installed from cdrom cd1 to USB memory stick using the 
sysinstall utility. When you do the fdisk be sure to allocate whole USB 
memory stick as a single partition and mark it bootable.

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


bootable 7.1 USB disk versus flash drive versus internal ide hard drive

2009-02-14 Thread Fbsd1

Is there a differences between a usb external hard drive
and a usb flash drive boot loader pgm?
When i plug a usb flash drive in FreeBSD handles it
just like a internal IDE hard drive.

To make a hard drive bootable you have to write the boot loader pgm to 
the disk. Does the ide hard drive boot loader pgm work on usb external 
hard drives and a usb flash drive?


My pc has bios option to boot from usb disk but will not boot when i 
plug in a bootable flash drive.


What am i missing here?

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


Apache/php

2009-02-12 Thread Fbsd1
I have php code on home page to count how many times it is accessed from 
the internet. Problem is pages deeper in website can jump back direct to 
home page and this again gets counted.


Is there any way to give the php counter routine intelligent so it will 
bypass bumping the counter on accesses coming from pages in the site?


I looked at the php variables but nothing jumped up that looked usable.
Am I wanting to do something that is imposable?



$fh = fopen($counter_file, 'r+');  # use 'r+' so file can be read and 
written.

if ($fh)
{
 if (flock($fh, LOCK_EX))   # don't do anything unless lock is 
successful

 {
 $count = chop(fread($fh, filesize($counter_file)));
 $count++;
 rewind($fh);
 fwrite($fh, $count);
 fflush($fh);
 ftruncate($fh, ftell($fh));
 flock($fh, LOCK_UN);
 } else echo "Could not lock counter file '$counter_file'";
 fclose($fh);
} else  echo "Could not open counter file '$counter_file'";
ignore_user_abort(false);## put things back to normal
echo "
  You are the $count visitor since 2/15/2009";
?>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Bios chip update suggestions

2009-02-11 Thread Fbsd1

Chris Whitehouse wrote:

Fbsd1 wrote:

I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?



What do you mean the update url's are customised for windows? The bios 
doesn't know anything about operating system. Most likely you could 
download a dos boot disk image - google, there are plenty around - 
create a bootable floppy and copy your latest bios image and bios update 
program, eg awdflash.exe onto it. Just boot from the floppy and run the 
update.


Just be sure the bios image is really intended for your motherboard and 
don't interrupt the update.


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





What i mean is all the bio update sites have a utility that runs from 
the website to fetch your bio id string info. This utility will not work 
on a non-windows operating system.

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


reread newsyslog.conf without reboot

2009-02-11 Thread Fbsd1
How do I get the system to reread /etc/newsyslog.conf file with out 
rebooting the system?

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


Re: FreeBSD 7.1 Install -- acd0: TIMEOUT - READ_BIG retrying (1 retry left)

2009-01-19 Thread Fbsd1

patrick wrote:

(Sorry for the repost, but in retrospect, I thought a subject
detailing the actual problem would garner more responses.)

Hi, I just got a new Dell Inspiron 530s, and am having some trouble
getting FreeBSD 7.1 installed on it. When I boot up from the CD, after
it detects all of the disks, I start getting messages like:

acd0: TIMEOUT - READ_BIG retrying (1 retry left)

and so on.

Google results suggested that I disable ACPI from the boot menu. This
works insofar as I get to the installation menu; however, when I go to
partition the disk, it says that no disks were found. Is there a way I
can disable ACPI, but set some boot-time variables to help the system
find the disk controller?

I'm in the process of creating a LiveCD to see if acpidump might help
isolate just what the problem is, but if anyone has some advice in the
meantime, I'd greatly appreciate it.

... time passes ...

Booting in safe-mode doesn't have the TIMEOUT - READ_BIG messages, but
instead I get an interrupt storm detected. The LiveCD didn't work
because when I boot with ACPI disabled, no disks are detected which
means that I cannot mount the LiveCD. :(

Has anyone found a way to work around this sort of issue before?

Thanks,

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




Change your Bios.

Virus Warning=, set this option to disable. It’s a firmware check of the 
hard drive boot sector looking for MS/Windows boot virus. This will stop 
FBSD booting from the install CDROM or finding the hard drive.


plug-n-play=, set this option to disable. FBSD is not sensitive to 
Microsoft plug-n-play standard and may refuse to install, or cause PCI 
cards not to be found.


Disable or set to auto any BIOS option to assign IRQ numbers to PCI 
expansion slots.


Operating system type=, set to ‘other’ or any Unix type of operating 
system, don’t set to MS/Windows.


Disable all power management options.

Open your box and check that the cdrom reader device is not slave on 
ribbon with no master. Freebsd assumes the motherboard primary ide 
controller has hard disk on master nipple and cdrom or another hard disk 
on slave nipple. The motherboard secondary ide controller can not have 
empty master nipple with an device on the slave nipple. If this is what 
you have, move the slave device to the master nipple and change the 
device jumper pin to indecate master.







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


Re: Bios chip update suggestions

2009-01-15 Thread Fbsd1

matt donovan wrote:



On Thu, Jan 15, 2009 at 8:22 PM, Fbsd1 <mailto:fb...@a1poweruser.com>> wrote:


I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is
01/08/2002-694T-686-P6VXM2TC-00

All the internet bio's chip update url's found by Google search are
customized for MS windows.

Suggestions on how or where to purchase the correct bio's chip update?
___
freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org>
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscr...@freebsd.org
<mailto:freebsd-questions-unsubscr...@freebsd.org>"


if bios does not allow booting from usb a update won't either



The current bios allows booting from usb-hard drive, floppy, cdrom, zip, 
all which are external drives. This desktop was mfg before usb memory 
sticks can on the market. So the desktop does not have support for 
booting from usb memory stick. Freebsd 7.0 can find and use the usb 
memory stick for writing and reading data.


Just need to update bios containing option to boot from usb memory stick.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Bios chip update suggestions

2009-01-15 Thread Fbsd1

I have an desktop manufactured in 2002 by a South Korean company Hyunju.
The company is now out of business.
It's bio's do not allow booting from a usb memory stick.

I want to find an bio's update that adds booting from usb memory stick.

I know the desktop uses AWARD bio's chip and the bio's id string is 
01/08/2002-694T-686-P6VXM2TC-00


All the internet bio's chip update url's found by Google search are 
customized for MS windows.


Suggestions on how or where to purchase the correct bio's chip update?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD USB Install

2009-01-14 Thread Fbsd1

Brian McCann wrote:

On Fri, Jan 9, 2009 at 10:43 AM, Brian McCann  wrote:

Well this just got a LOT more frustrating and interesting.  I made a
stick following those directions using a new stick...worked fine,
booted off of it...did some work on it...somehow the filesystem got
very corrupted in one of various things I was doing to it (I think it
was when I accidentially unplugged it before running a sync and
umount).  I figured it'd just be easier to start over and build it
again from scratch.  So...I try to newfs it ("newfs -U -L FreeBSDStick
/dev/da1s1a", and newfs fails with "cg 0: bad magic number" .  Now I'm
really getting pissed.  So...I run a dd ("dd if=/dev/zero of=/dev/da1
bs=1m"), and do the whole thing over...here's the console output:

umm# dd if=/dev/zero of=/dev/da1 bs=1m
dd: /dev/da1: short write on character device
dd: /dev/da1: end of device
3830+0 records in
3829+1 records out
4016045568 bytes transferred in 4324.380202 secs (928699 bytes/sec)
umm# fdisk -BI /dev/da1
*** Working on device /dev/da1 ***
fdisk: invalid fdisk partition table found
fdisk: Geom not found: "da1"
umm# bsdlabel -B -w da1s1
umm# newfs -U -L FreeBSDStick /dev/da1s1a
/dev/da1s1a: 3827.9MB (7839640 sectors) block size 16384, fragment size 2048
   using 21 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
   with soft updates
super-block backups (for fsck -b #) at:
 160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624,
3010976, 3387328, 3763680, 4140032, 4516384, 4892736,
 5269088, 5645440, 6021792, 6398144, 6774496, 7150848, 7527200
cg 0: bad magic number

So now I'm getting seriously ticked off.  Anyone have any ideas what
the heck could be causing this?  This thumb drive was working fine
with FreeBSD!  I'm trying a dd on a thumb drive w/o specifying a block
size / BS...we'll see what that does...but I'm still open to
suggestions since I'm just about out of ideas.

Thanks!
--Brian



To the list of things tried...add formatting the USB stick with the
HDD Low Level Format Tool
(http://hddguru.com/content/en/software/2006.04.12-HDD-Low-Level-Format-Tool/).
 Still no joy...



For those following along at home, I found the cause of my problems.
It apparently all came down to the machine I was making the stick on.
Any machine that had an Intel SCB2 motherboard in it, would screw it
up.  I switched to using a different & newer machine, re-did the
directions at 
http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2
, and all my problems with it went away.  YAY!!!

Thanks to all those who provided input.  Long live FreeBSD!
--Brian



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


Re: FreeBSD 7, how to recieve internet mail

2009-01-14 Thread Fbsd1

Pieter Donche wrote:

On FreeBSD 7, out of the box, one can send mail to internet destinations
and can send mail locally from one user to another user on the same
FreeeBSD machine

But it can't receive mail from internet as it appears ..

A sendmail is running
freebsd7box># ps -jaxw | grep sendmail
smmsp 26649 1 26649 266490 Is??0:00.00 sendmail: Queue 
run...@00:30:00 for /var/spool/clientmqueue (sendmail)
root  26651 1 26651 266510 Ss??0:00.04 sendmail: 
accepting connections (sendmail)


The machine is listening on port 25
freebsd7box># netstat -na | grep 25
tcp4   0  0  127.0.0.1.25   *.*LISTEN

But telnettting the freebsd box with its own ip address at port 25
from the root account of the box
freebsd7box># telnet 143.129.75.1 25
Trying 143.129.75.1...
telnet: connect to address 143.129.75.1: Connection refused

The only thing that works is
freebsd7box># telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
...

How do I make the FreeBSD7 box accept connections to port 25 from all of 
the

internet ??

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





Your problem is not with sendmail but with your understanding of how 
email works. You need your own registered domain name pointing to the ip 
address assigned by your isp that is used by your freebsd system running 
your public sendmail program. Or if you use your isp domain name for 
your email then you need to add the fetchmail program to your freebsd 
system to get your eamil from your isp and hand it off to sendmail for 
queing on your system.


The 'Freebsd install guide' at www.a1poweruser.com has section 
explaining this subject in detail.

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


Re: local copy of handbook

2008-12-28 Thread Fbsd1

Masoom Shaikh wrote:

hello list,

in my previous FBSD installations i always had a local copy of handbook
never bothered how it got there, until now. i lost my installation due to
some good ups. reinstalled minimal 7.0 and build installed kernel & world

uname -a
FreeBSD raptor 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Wed Dec 17 13:27:42
UTC 2008 root@:/usr/obj/usr/src/sys/ARGON18  amd64

now i cannot see local copy of handbook, i had look at FreeBSD Documentation
Primer
but that seems overkill and geared towards contributing documentation
http://www.freebsd.org/doc/en/books/fdp-primer/

also I cud use tarballs from FTP, but is there easy way to install them ?
also csup didn't help here is my csup file

*default tag=RELENG_7
*default host=ftp2.tw.freebsd.org
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress
src-all
doc-all

csup updates the source each time, but now i am not sure about doc!!

hints and help ?

Masoom Shaikh




Minimal install does not include the handbook.
Thats why its called a minimal install.

Normal install you get handbook.

The following link to the handbook's first page tell you where to ftp 
your copy from.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html




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




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


recover data from damaged msdos fat32 partition

2008-12-20 Thread Fbsd1
I know i can mount fat32 partition using mount_msdos command. But my 
msdos fat32 partition is a bad disk with corrupted fat table.


Question is can i use freebsd to recover data from this msdos fAT32 disk

What tools do you suggest to use?

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


Re: general question about setting up gateway

2008-12-19 Thread Fbsd1

Richard Yang wrote:

hi,
i am trying to use freebsd as my home network gateway to the internet.
any good reference i should know besides what's in the handbook?
thanks

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





The Freebsd Install guide   www.a1poweruser.com


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


Re: Double Posts

2008-12-12 Thread Fbsd1

Gabe wrote:

Its a conspiracy. Is it safe to say that it is in fact gmail related?

-Original Message-
From: Odhiambo Washington 
Sent: Friday, December 12, 2008 12:41 PM
To: freebsd-questions@freebsd.org
Subject: Re: Double Posts

On Fri, Dec 12, 2008 at 8:27 PM, Jerry  wrote:


On Fri, 12 Dec 2008 08:38:17 -0500
"Gary Hartl"  wrote:


Anyone have any clue what I would be getting two of every message
posted to the group?

It started yesterday and nothing has changed on my end (that I am
aware of)

I'm using outlook 2008, picking up from gmail.

Thanks

Gary

Consider yourself lucky. I have been reading horror stories on the
GMail forum regarding users losing email. In any event, if it just
started and you did not change MUAs, it is almost guaranteed to be a
Google (GMail) problem. By the way, are you using IMAP or POP?



Hmm, this disappearing e-mails issue: I experienced it today. 2 test mails
from my gmail account, to a mailing list where I am member, I see the mails
sent to a gmail server from the logs of my mailing list server, but the
mails failed to show up on my gmail account, Completely!!




I canceled my gmail account because its so un-reliable. Goggle should 
not enter the field of online email. They have a good search engine but 
their email system is the worse i have ever seen.

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


Re: update packages or reinstall

2008-12-12 Thread Fbsd1

Glen Barber wrote:
Gary Hartl said: 

I'm considering just wiping the system clean and starting from scratch to
say either 6.4-release or 7.0 release.



For what it's worth, I've (so far) had 50% luck with 7.1.  My home server runs nothing special, mostly development stuff and the occasional X session.  I attempted to upgrade to 7.1 from 6.3-STABLE yesterday, and to make a long story short, am now running 6.4-RELEASE.  


If you do decide to go with 7.1, I'd test drive it first, before committing 
that machine to that OS.  So far, I've had no problems with 6.4-* on any of my 
machines.

Regards, 




I installed 7.0 from scratch and its rock hard. 7.1 release may be 6 
months or longer away from being released and its not completely tested 
yet or ready for production. Make backups of your data on 6.4 you want 
to move forward and install 7.0 from scratch. Nothing is better that a 
brand new system to add your ports to. Use pkg_add -r command to add 
your ports.

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


Re: IPFilter section in Handbook needs updating

2008-12-06 Thread Fbsd1

G magicman wrote:

And incomplete yes i agree that the doc does need to be updated and examples 
(more) need to be added.

--- On Fri, 12/5/08, Dean Weimer <[EMAIL PROTECTED]> wrote:
From: Dean Weimer <[EMAIL PROTECTED]>
Subject: IPFilter section in Handbook needs updating
To: freebsd-questions@freebsd.org
Date: Friday, December 5, 2008, 10:07 AM

I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that
the ipmon and syslog information under the ipfilter section of the handbook is
incorrect.

The section reads:
-snip-
31.5.7 IPMON Logging
Syslogd uses its own special method for segregation of log data. It uses
special groupings called "facility" and "level". IPMON in
-Ds mode uses security as the "facility" name. All IPMON logged data
goes to security The following levels can be used to further segregate the
logged data if desired:
LOG_INFO - packets logged using the "log" keyword as the action
rather than pass or block.
LOG_NOTICE - packets logged which are also passed
LOG_WARNING - packets logged which are also blocked
LOG_ERR - packets which have been logged and which can be considered short
To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to
create the file. The following command will do that:
# touch /var/log/ipfilter.log
The syslog function is controlled by definition statements in the
/etc/syslog.conf file. The syslog.conf file offers considerable flexibility in
how syslog will deal with system messages issued by software applications like
IPF.
Add the following statement to /etc/syslog.conf:
security.* /var/log/ipfilter.log
The security.* means to write all the logged messages to the coded file
location.
To activate the changes to /etc/syslog.conf you can reboot or bump the syslog
task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload
Do not forget to change /etc/newsyslog.conf to rotate the new log you just
created above.
-snip-

In trying to configure this I found that ipmon -Dsa doesn't log to
security, but logs to local0 instead.  Reading the man page for ipmon does in
fact state this.  However it also list the -L option as being able to change
this default behavior, I tried ipmon -DSa -L security, it excepts this, but
doesn't actually change the logging to use security.  It still only outputs
to the syslog using local0, I also tried using ipmon -DSa -L local7 as well,
still outputs to local0.  It was easy enough to modify my syslog.conf to output
the local0.* as well as security.* to the /var/log/security file.  However it
would be greatly appreciated if someone that actually understands what's
going on here could get this info updated.  It would have saved me some time, as
well as I am sure some other people in the future.  Of course it's always
possible I am missing something simple here that is causing this discrepancy,
please do inform me if I did.  It's probably worth mentioning that I am
starting ipmon using the rc.conf file with ipmon_enable="YES" and
ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script actually
changes the default behavior of ipmon in some way, though I didn't see
anything in it that should.  And ps wwaux | grep ipmon does display the process
running with the flags exactly as stated on the ipmon_flags line of the
/etc/rc.conf file.

Thanks,
 Dean Weimer
 Network Administrator
 Orscheln Management Co



I wrote that whole firewall handbook section. How is the following for 
complete replacement of the 31.5.7 IPMON Logging section?


31.5.7 IPMON Logging
Syslogd uses its own special method for segregation of log data. It uses 
special groupings called ‘facility’ and ‘level’. IPMON in –Ds mode uses 
local0 as the ‘facility’ name. All IPMON logged data goes to local0.
You have to manually configure the /etc/syslog.conf file by adding the 
statements to direct the Local0 'facility' to the log file name 
recording the log records. FBSD keeps all of its syslog files in 
/var/log/ directory.


First allocate the new named log file for the IPFMON logged data.

touch /var/log/ipfilter.log # will allocate the file

The syslog function is controlled by definition statements in the 
/etc/syslog.conf file.

You will have to edit the /etc/syslog.conf file.

Add the following statement to syslog.conf:

local0.* /var/log/ipfilter.log

The local0.* means to write all the logged messages to the coded file 
location.
To activate the changes to /etc/syslog.conf you can reboot or bump the 
syslog task into re-reading /etc/syslog.conf by kill –HUP pid. You get 
the pid (IE: process number) by listing the tasks with the ps ax 
command. Find syslog in the display and the pid number is the number in 
the left column.
Don’t forget to change /etc/newsyslog.conf to rotate the new named 
IPFILTER log you just created above.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe

Re: pf or ipf rules to allow p2p Limewire through

2008-11-30 Thread Fbsd1

>> [EMAIL PROTECTED] wrote:


So on the Limewire "Advanced -> Firewall" config page enter a port
number, such as 6346 in both the "Listen on Port" and the "Manual Port
Forward" boxes.

Then after your NAT rule in pf.conf enter something like the following:

rdr on $ExtIF proto tcp from any to any port 6346 -> 192.168.10.2 port 
6346


and a corresponding filter pass rule:

in both the "Listen on Port" and the "Manual Port
Forward" boxes.

192.168.10.2 is my desktop machine where I use Limewire. It works just 
fine.





Thank you for the solution to this problem.

I was un-aware Limewire had it's own firewall configuration options.
In Limewire version 4.18 Tools/Options/Advanced/Firewall I entered the 
same port number  in both the "Listen on Port" and the "Manual Port 
Forward" option fill in boxes.  Then in IPF rules added these 2 lines.


pass out quick on $oif proto igmp from any to any keep state
pass out quick on $oif proto tcp  from any to any port =  flags S 
keep state


Each XP box on the lan running Limewire gets it's own unique port number 
and the corresponding firewall rule. No need for NAT RDR rules.

Limewire works fine and my firewall is tight as every.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-28 07:24:

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as 
in handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# -> internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# -> internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?


Read the handbook on ipfilter.
http://coombs.anu.edu.au/~avalon/

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.


Change port# to port range, then. Or you can skip the firewall.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



I checked the ipfilter online handbook and can not find anything about 
rules for igmp packets, p2p or limewire. I know what a rdr statement 
does but can not see how it can be applied to a p2p application which 
does NOT use dedicated port numbers. The only way i can run limewire is 
to disable my firewall and that does not make me happy.



I think the conclusion is that all 3 of the freebsd firewalls are unable 
 to monitor packet exchange of p2p applications. These firewalls were 
designed before p2p applications were developed and their (p2p) inherent 
design is to defeat standard firewall designs.

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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

APseudoUtopia wrote:

On Thu, Nov 27, 2008 at 3:56 AM, Fbsd1 <[EMAIL PROTECTED]> wrote:

What pf or ipf firewall keep-state rules needed to allow p2p application
such as limewire through? Using same firewall rules as in handbook example.


Well, what port does limewire use? You need to figure out what port
each application uses, then open the port in your firewall rules.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers. Limewire starts off 
with a proto igmp  multicast packet to the limewire master server where 
all the other users online computers are listed.


Really need someone who has firewall rule for limewire using ipf or pf 
to share their knowledge.


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


Re: pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1

Bernt Hansson wrote:

Fbsd1 said the following on 2008-11-27 09:56:
What pf or ipf firewall keep-state rules needed to allow p2p 
application such as limewire through? Using same firewall rules as in 
handbook example.


Put this in your /etc/ipnat.rules

rdr rl0 0.0.0.0/0 port port# -> internal-ip port port# tcp
rdr rl0 0.0.0.0/0 port port# -> internal-ip port port# udp







How about explaining just why this is going to allow p2p limewire work?

I think you are missing the fact that limewire does not use dedicated 
port numbers. Every session uses different port numbers and the remote 
computers come in on different hight port numbers.

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


Re: Limewire package install error

2008-11-27 Thread Fbsd1

Andrew D wrote:

Fbsd1 wrote:
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz 
File unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg 
server.


Looking up diablo-jdk on the ports website, the long description 
points to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the 
limewire dependent name?




You do realise you don't have to install it using a pkg.  you can 'make 
install' it in /usr/ports/java/diablo-jdk16


:)



You do realize that I don't want to full around with compiling port 
source. That is the whole reason behind the package system. I am looking 
for answer to error in the package install of limewire and it's 
dependent diablo-jdk.




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


Limewire package install error

2008-11-27 Thread Fbsd1
Tried to pkg_add -r limewire.  Dependant diablo-jdk-1.6.0.07.02.tbz File 
unavailable.  The package diablo-jdk is not on 7.0 or 7.1 pkg server.


Looking up diablo-jdk on the ports website, the long description points 
to here http://www.freebsdfoundation.org/downloads/java.shtml


How am i to get these mis-matched package names to fulfill the limewire 
dependent name?


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


pf or ipf rules to allow p2p Limewire through

2008-11-27 Thread Fbsd1
What pf or ipf firewall keep-state rules needed to allow p2p application 
such as limewire through? Using same firewall rules as in handbook example.

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


Re: firewall rules for bitlord, yahoo, limewire

2008-11-26 Thread Fbsd1

dick hoogendijk wrote:




My unofficial take on it is that limewire is a peer-to-peer sharing
application used by Windows, Mac OS X and Linux users to share files,
usually music, often copyrighted, over the internet.  It is one of the
fastest, most effective ways to spread viruses, trojans, spyware, etc.


Is this your FreeBSD POV or more windows oriented?


The program does not use fixed ports, so the services are hard to
block.  In essence, the program gets the user to bypass security
measures from the inside.


I have never needed a block on limewire. Firstly, all main conmputers
run solaris and therefore also limewire on solaris and secondly, all
windows machines are virtual. So -IF- one of them is infected I just
put a recent snapshot ;-)



Limewire is a windows only application.
So how can you say it runs on solaris which is a flavor Unix?

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


firewall rules for bitlord, yahoo, limewire

2008-11-26 Thread Fbsd1
These applications have predefined ports they use to start up the 
bi-directional packet conversation. But them unsolicited packeted come 
in from other pc nodes to share data using a wide range of high port 
numbers. IPFW, IPF, and PF don't seem to have a rule option to allow 
packs in/out based on program name that started the conversation.


I thought i read in openbsd pf manual that pf state processing will 
allow  applications like limewire to function normally by accepting the 
inbound high number port to pass through the firewall.


I have inclusive firewall rule set which means only packets matching
the rules are passed through. The inbound hight port numbers are
blocked by design.

How do other firewall users code rules to allow limewire to work?

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


Re: How do I permanently set the numerical ip in dmesg?

2008-11-24 Thread Fbsd1

Mike Price wrote:

How do I permanently set the numerical ip in dmesg?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




If you mean the ip address to get from your isp? You have to purchase an 
 permanently assigned ip address from your ISP. If you mean ip address 
on a private Lan. You do that in your gateway dhcp server.

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


Re: Problem about ppp -nat

2008-11-21 Thread Fbsd1

Pongthep Kulkrisada wrote:

Hi All,

I have just subscribed to freebsd-questions and I have a question about ppp 
-nat.

I have 2 computers. One is running FreeBSD-7.0R, the other is running WinXP. 
The host running FBSD7.0R has been connecting to the outside world using 
user-ppp without any problem for very long. Now I want to share internet access 
to the other host behind NAT through this FBSD host.
My FBSD machine has 2 interfaces i.e.
tun0 (connecting to ISP) with dynamic IP (of course)
fxp0 (for internal LAN) with static IP of 192.168.1.10
My WinXP machine has 1 interface (internal LAN) with static IP of 192.168.1.11

Previously I have a router acting as a gateway for all machines behind NAT. But 
now I want FBSD machine to work as a gateway. I have never done this before. I 
tried some googling with reading ppp(8) and ipfw(8). And I tried masquerading 
but it didn't work. I have plenty configuration files. But the relevant 
configurations are listed here.

/etc/rc.conf
# enable IP forwarding
gateway_enable="YES"
# previously I ran web-server, just disable it or comment it out, not sure why!
#apache_enable="YES"

On the host running WinXP, I set its gateway and DNS server to the IP of ppp 
host i.e. 192.168.1.10.

I then inserted the following line as the first rule in /etc/ipfw.rules.
/sbin/ipfw add allow all from any to any via fxp0
(I know this rule is dangerous, but just for testing.)

I then issue the ppp command.
[EMAIL PROTECTED]:~# ppp -background -nat myisp

FBSD host (running ppp) can access anywhere but WinXP host can't. I learned 
from some site explaining that ppp itself has the capability of IP 
masquerading. And it does not require natd(8). So I don't mention about natd 
here.
Anyone have a clue or who have done the correct configurations, please point me 
out.

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




You need to run dhcp so you can assign ip address on the LAN so the down 
stream xp box can gain access to the public internet through your 
gateway freebsd box.  There is a detailed step by step instructions in 
the install guide at www.a1poweruser.com





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


Using diff

2008-11-20 Thread Fbsd1

Trying to use diff program to create a patch.
Output gos to console and does not create the patch file.

If it do   diff original updated > patch.file

The patch.file does not look like a normal patch file.

What am I doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Suggestions for PII 400 boot failure

2008-11-20 Thread Fbsd1

Vinny wrote:

Hi,

A friend of mine is trying out FreeBSD and ran into
a booting problem.  Here is his message:

"Well, that's discouraging.

I have put together an old PII 400 with  three 20GB drives and a CDROM 
that I'd like to run BSD on.  Half a GB of RAM I figured would be 
respectable.


Downloaded the ISO files, burned CDs of them and when I try to run them 
it starts to boot and then freezes tighter than a muskrat's arse.


Three lines coming on the screen and it ends with "Starting the_" and 
just hangs.


I've got a PIII 1000 here that I use as a file server and the boot disks 
run fine on that.  Just won't boot off the PII 400.


Weird.  Really, really weird.  I tried five different CDROMs in case it 
was the actual drive but same thing.  I tried using version 6.3 instead 
of release 7.0 and same thing.


That system doesn't like BSD/Linux whatever.

I use GParted as a partition manager all the time which is bootable and 
same thing on that machine.  It just don't like booting to that OS."


Any suggestions?

Thanks
Vinny





Excerpt from Installers guide  www.a1poweruser.com

PC BIOS
The first thing your PC does after being powered on or when rebooting is 
the motherboard BIOS ROM chip gets control and it interrogates all the 
hardware ports on the motherboard to determine what I/O devices are 
attached. This is called the POST process. As part of this POST process 
the user changeable BIOS values stored in a CMOS chip on the motherboard 
are read and used to configure the PC’s hardware. These BIOS values are 
changed using the BIOS setup utility. The most common BOIS chip in use 
today is manufactured by Award. If your PC does not use an Award BIOS 
chip then you have to read the manual that came with your PC for details.



This summary screen information is very helpful in debugging FBSD 
hardware problems, because it tells you what your PC hardware is and how 
the IRQ numbers are assigned. IRQ stands for interrupt request. An 
interrupt is the doorway the I/O device uses to tell the CPU that it 
wants its turn at getting some processing cycles. This is how the CPU 
shares service time among all the devices attached to the motherboard.




Starting Award BIOS setup utility
During the power up/reboot POST process you will see in the lower left 
corner of the monitor screen the message ‘Press DEL to enter setup’. 
While this message is showing press the keyboard delete key and the 
Award BIOSs setup utility main menu displays on the screen.




First time changes to PC BIOS
Navigate around the menus using the keyboard arrow keys looking for the 
following options. Your PC BIOS may not have all of these.


Virus Warning=, set this option to disable. It’s a firmware check of the 
hard drive boot sector looking for MS/Windows boot virus. This will stop 
FBSD booting from the install CDROM.


plug-n-play=, set this option to disable. FBSD is not sensitive to 
Microsoft plug-n-play standard and may refuse to install, or cause PCI 
cards not to be found.


Disable or set to auto any BIOS option to assign IRQ numbers to PCI 
expansion slots.


Disable any ISA expansion slots.

Operating system type=, set to ‘other’ or any Unix type of operating 
system, don’t set to MS/Windows.


Disable all power management options.

boot sequence=, set this option to (CDROM,C) Since you are installing 
FBSD from CDROM you must tell the PC what I/O device to boot from.


Follow the BIOS menu instructions to save your changes and exit. The PC 
will reboot it self.


Keep in mind that some older CDROM drives and older legacy PC BIOS do 
not support booting off CDROM. Generally with PCs manufactured after 
1999 this is not a problem.


If you do run into this, you have a really old PC and you will need to 
create boot floppies to boot from. This is outside the scope of this 
document. Please read the FBSD Handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html#INSTALL-FLOPPIES


Legacy BIOS also are incompatible with the larger hard disk sizes and 
the faster 66 and 100 UDMA drives.





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


Free usenet nntp servers

2008-11-19 Thread Fbsd1
In the past (alt.binaries.warez)  contained monthly posts of a list of 
Free usenet nntp servers. I dont have access to a nntp server so I can't 
search foe the list. Does any one here know of a Free usenet nntp server 
I can access?

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


Re: best way to add patch to x11/slim-1.3.1

2008-11-19 Thread Fbsd1

Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fbsd1 wrote:

On the developers website there is a patch i want to apply

http://developer.berlios.de/patch/?func=detailpatch&patch_id=2283&group_id=2663


[ Patch #2283 ] Add a variable to run shutdown commands without root pass.

How can i get "make install" to apply this patch while compiling the port?



Hi Fbsd1,

Since you've already found a unified diff of the change that you want to
incorporate into the port, you can submit a PR (problem report) using
the form here: http://www.freebsd.org/send-pr.html.

Just follow the instructions on that page, and your patch will be
submitted to the PR system.  The port maintainer reviews your PR, makes
the necessary change and possibly updates the port's revision number.
You then use portupgrade or some other means to install the new version
of the port with the incorporated patch.

Hope that helps,
Greg
- --
Greg Larkin



I submitted PR like you suggested, But i am in need of more immediate 
results. What changes to the port files do i need to make to get the 
port to complie in the patch file?


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


best way to add patch to x11/slim-1.3.1

2008-11-19 Thread Fbsd1

On the developers website there is a patch i want to apply

http://developer.berlios.de/patch/?func=detailpatch&patch_id=2283&group_id=2663

[ Patch #2283 ] Add a variable to run shutdown commands without root pass.

How can i get "make install" to apply this patch while compiling the port?

This is the contents of the patch file

 From: Nicolas Pierron <[EMAIL PROTECTED]>
 Subject: r???: Add a variable to run shutdown commands without root 
password.


   URL: http://svn.berlios.de/svnroot/repos/slim/trunk

 ChangeLog:
 2007-12-16  Nicolas Pierron  <[EMAIL PROTECTED]>

Add a variable to run system command without root password.
* app.cpp: Add the test for reboot, halt and suspend.
* cfg.cpp: Add the new variable with the default value set to false.
* slim.conf: Add an example of the command.

 ---
  app.cpp   |5 +
  cfg.cpp   |1 +
  slim.conf |5 +
  3 files changed, 11 insertions(+)

 Index: slim.conf
 ===
 --- slim.conf  (revision 150)
 +++ slim.conf  (working copy)
 @@ -10,6 +10,11 @@
  console_cmd /usr/X11R6/bin/xterm -C -fg white -bg black +sb 
-T "Console login" -e /bin/sh -c "/bin/cat /etc/issue; exec /bin/login"

  #suspend_cmd/usr/sbin/suspend

 +# Let normal users have access to systems commands. If the value is true,
 +# then the root password is requiered to start a system command.
 +# Valid values: true|false
 +# root_password false
 +
  # Full path to the xauth binary
  xauth_path /usr/X11R6/bin/xauth

 Index: cfg.cpp
 ===
 --- cfg.cpp(revision 150)
 +++ cfg.cpp(working copy)
 @@ -36,6 +36,7 @@
  options.insert(option("login_cmd","exec /bin/bash -login 
~/.xinitrc %session"));

  options.insert(option("halt_cmd","/sbin/shutdown -h now"));
  options.insert(option("reboot_cmd","/sbin/shutdown -r now"));
 +options.insert(option("root_password","true"));
  options.insert(option("suspend_cmd",""));
  options.insert(option("sessionstart_cmd",""));
  options.insert(option("sessionstop_cmd",""));
 Index: app.cpp
 ===
 --- app.cpp(revision 150)
 +++ app.cpp(working copy)
 @@ -407,6 +407,11 @@
  case Panel::Console:
  cerr << APPNAME << ": Got a special command (" << 
LoginPanel->GetName() << ")" << endl;

  return true; // <--- This is simply fake!
 +case Panel::Suspend:
 +case Panel::Halt:
 +case Panel::Reboot:
 +if (cfg->getOption("root_password") == "false")
 +  return true;
  default:
  break;
  };


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


Desktop image of Beastie

2008-11-15 Thread Fbsd1

I picked up this jpg of Beastie over 10 years ago. Tried using
it for a gdm logon screen background, but it's really light.

  http://www.a1poweruser.com/beastie.JPG

Does any one know where i can get a darker version of this image?
I tried to use gimp to make the image darker, but had no luck due to my 
  lack of understanding of what I was doing.


I sure appreciate you help. Thanks




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


Re: Problems with Xfce & console

2008-11-15 Thread Fbsd1

Bernt Hansson wrote:

Hello list

When exiting xfce to return to my console, xfce put my graphicscard in
an unusable state i.e no picture and my monitors led blinks slowly as if
it where in powersave/suspend mode. This do not happen with fluxbox,
windowmaker or twm. Commenting out the "Virtual" directive helps but
then I have to set the reolution every time xfce is started.

The other WM's get really strange resolutions if "Virtual" is commented
out, like 2880x1400 and such.

Is it a driver or xfce issue?

%uname -a
FreeBSD testbox 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Thu Aug 28
14:13:44 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

xorg.conf

Section "Device"
Identifier  "his radeon 3870"
Driver  "radeon"
#   BusID   "PCI:1:0:0"
Option "DDCMode" "1"Driver specific option
Option "PanelSize" "1280x1024"  Driver specific option
EndSection


Section "Screen"
Identifier  "Screen 1"
Device  "his radeon 3870"
Monitor "Hitachi CM752ET"
DefaultDepth 24

Subsection "Display"
Depth   24
Modes  "640x480" "800x600" "1024x768" "1280x1024" "1600x1200"
Virtual 1280 1024
   ViewPort0 0
EndSubsection
EndSection

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





Did you try ctrl-Alt-backspace on the blank screen to return to the 
command line. I think what you are seeing is the xorg screen. Try while 
in xfce ctrl-alt-f1 to switch from desktop to virtual console. and then 
alt f9 to return to desktop?



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


Re: Boot splash screen, was Disabling boot messages

2008-11-13 Thread Fbsd1

Daniel Bye wrote:

On Wed, Nov 12, 2008 at 06:40:29PM +0800, Fbsd1 wrote:
  
Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go 
from powering on the PC directly to the Gdm login screen. Don't want the 
users seeing all those boot message roll by.


Can this be done?



It can - see the FAQ:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/x.html#INSTALL-SPLASH

Dan

  


Thank you for the pointer to the boot splash screen. That was exactly 
what is was looking for. The documentation on activating the boot splash 
screen is not up to date. It was written for Freebsd 3.1 and seems to 
have bugs and undocumented functions.


The FAQ says;

FreeBSD have a feature to allow the display of “splash” screens during 
the boot messages. The splash screens currently must be a 256 color 
bitmap (*.BMP) or ZSoft PCX (*.PCX) file. In addition, they must have a 
resolution of 320x200 or less to work on standard VGA adapters. If you 
compile VESA support into your kernel, then you can use larger bitmaps 
up to 1024x768. The actual VESA support can either be compiled directly 
into the kernel with the VESA kernel config option or by loading the 
VESA kld module during bootup.


To use a splash screen, you need to modify the startup files that 
control the boot process for FreeBSD.


You need to create a /boot/loader.rc file that contains the following lines:

include /boot/loader.4th
start

and a /boot/loader.conf that contains the following:

splash_bmp_load="YES"
bitmap_load="YES"

This assumes you are using /boot/splash.bmp for your splash screen. If 
you would rather use a PCX file, copy it to /boot/splash.pcx, create a 
/boot/loader.rc as instructed above, and create a /boot/loader.conf that 
contains:


splash_pcx_load="YES"
bitmap_load="YES"
bitmap_name="/boot/splash.pcx"

*** end of faq

First the /boot/loader.rc already contains these statements

include /boot/loader.4th
start

So nothing needs to be done to it.

Secondly. /boot/loader.conf statements

splash_bmp_load="YES"
bitmap_load="YES"

are doing the same thing. you only need one or the other, not both.

Thirdly: If you move a 320x200 resolution image named the default name 
of splash.bmp to /boot and reboot the system you will get this error, 
module_ register_init: mod_load (splash_bmp) error 2
But if you rename that splash.bmp file to something like 
splash320x200.bmp and make your loader.conf look like this


bitmap_load="YES"
bitmap_name="/boot/splash320x200.bmp"

you no longer get the  module_ register_init:  error 2 message at boot time and your splash 
image will show up centered on a white background screen. You still see the boot 
messages through boot options menu and the timed wait count down.


If you want a full screen splash image, the easiest way is to load vesa in the 
loader.conf

vesa_load="YES"
bitmap_load="YES"
bitmap_name="/boot/splash640x400.bmp"

In both these cases you still see the boot massages through boot options menu and the 
timed wait count down. There are 2 another loader.conf options you may be interested in.


Loader_logo="beastie"  This will replace the default FREE BDS words next to the boot menu 
with the beastie logo like in releases in the past had.


beastie_disable="YES"  Will stop the boot options menu from being displayed. 
You will still get the timed wait count down.


While the splash screen is displayed during the booting process you can hit any 
keyboard key
to return to the boot message display.

Now for the undocumented behavior. 
First your boot splash screen becomes the system default screen saver. 

Secondly this new default screen saver cycles through steps of changing intensity of 
the image, from bright intensity to a very dark intensity. 


Adding a saver= option to /etc/rc.conf will disable the boot splash screen as 
the default
system screen saver and the saver= selection will be used.


This post is for the archives so others can benefit from finding this post in a 
search of
questions archives. Would also like to find out to get this info used to update the FAQ? 

   

   












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


Desktop image of Beastie

2008-11-12 Thread Fbsd1
I picked up this attached jpg of beastie over 10 years ago. Tried using 
it for a gdm logon screen background, but it's really light.


Does any one know where i can get a darker version of the image?

Or if you have a beastie background image you would care to share.

I sure appreciate you help. Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Disabling boot messages

2008-11-12 Thread Fbsd1
Running a release 7.0 Xorg / Gdm / Xfce Desktop world. Would like to go 
from powering on the PC directly to the Gdm login screen. Don't want the 
users seeing all those boot message roll by.


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


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1


My /etc/ttys looks like this

 ttyv6   "/usr/libexec/getty Pc" cons25  on  secure
 ttyv7   "/usr/libexec/getty Pc" cons25  on  secure
 #ttyv8  "/usr/local/bin/xdm -nodaemon"  xterm   off secure
 #ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on  secure

The "init: getty repeating too quickly on port /dev/ttyv8" msg has stopped.

When I start xdm from root command line nothing happens. NO error log 
msgs, nothing. F1 thru F12 just issue the freebsd console logon prompt.



My understanding is when /etc/ttys contains this statement

ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on  secure

followed by a kill -HUP 1 command to reread tyys file the following 
should happen.


F1 thru F8 virtual consoles work as normal (ie: freebsd console logon 
prompt). F9 thru F12 virtual consoles will show the xdm logon screen.


To make xdm the system default logon method have to add xdm_enable="YES" 
to /etc/rc.conf and reboot. Then only the xdm logon screen will be seen 
on all virtual consoles F1 thru F12. A ctrl+alt+backspace key sequence 
is the only way to force a return to the freebsd console logon prompt 
for the Fx virtual console being used.


Is this the correct interpretation of how xdm is designed to function??

I can not find in man xdm or xorg website or handbook an explanation of 
how it's suppose work.



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


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1
Next question is are the xdm 
configuration files suppose to work as delivered by the port install AS IS?

As a default config demo?


Yes. When I said 'range', I did mean range. Not 2 possibilities. Missing 
libraries, tainted environment, typos, tied up resources, tight security 
settings, existing pid file, xdm not being xdm but an aliased command or 
shell script sooner up in the path - that's just from the top of my head.





I installed xorg as a package. Then installed xfce package. Made no 
config changes to xorg or the xdm config files. At this point i suspect 
the port of xorg as not being configured correctly. That the default xdm 
config files have statement error causing xdm not to function.


So the big question is has anybody installed the release 7.1 package 
version of xorg and was able to get xdm to function without any config 
file changes?

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


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 12:09:01 Fbsd1 wrote:

Mel wrote:

On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote:

Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30
second

You first need to get rid of that. xdm can't open /dev/ttyv8 while getty
is hammering at it.

I turned that off all ready before running xdm from root command line.


What does xdm -debug 1 turn up? You said nothing related to xdm 
in /var/log/Xorg.0.log, but it would still be helpful to see the last lines 
of the file, so we know why X quit. And since Xorg.0.log isn't timestamped, 
check if the last modification time of the file corresponds with the last 
time you ran the command. This will determine if xdm actually gets to the 
stage of starting the X server or gives up sooner.
You may also want to set the -error option (see man xdm) and check if anything 
useful is written there.
With current information, the possible causes range from errors in a 
configuration file xdm reads on start up to X display problems.




Startx works ok so not xorg problem. Next question is are the xdm 
configuration files suppose to work as delivered by the port install AS IS?

As a default config demo?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 11:35:41 Fbsd1 wrote:



Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second



You first need to get rid of that. xdm can't open /dev/ttyv8 while getty is 
hammering at it.



I turned that off all ready before running xdm from root command line.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: trouble getting x11 xdm to work

2008-11-11 Thread Fbsd1

Mel wrote:

On Tuesday 11 November 2008 00:56:29 Fbsd1 wrote:

Polytropon wrote:

On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 <[EMAIL PROTECTED]> wrote:

Also created the .xsessions file in the users home directory.

The file is ~/.xsession, without an s at the end. I assume
that csh is your login shell. Put these in your ~/.xsession:


#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This sources your individual user setting from .cshrc and the
executes .xinitrc (trivial, isn't it?) to control how the startuo
of your xsession will go.

Make sure both files (.xinitrc and .xsession) are +x attribute.


Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second

Hey, I saw this one... but I'm not sure how I solved it. Is your
/etc/hosts and hostname set correctly? I think it was something
like this, something I would never had put in any combination
with X...


By the way, in order to try if xdm is working correctly it can be
started directly by the command "xdm" anytime.

I had ~/.xsession spelled correctly in the directory. Just typo error in
email. Changed the contents of ~/.xsession as you posted. Still no joy.
/etc/hosts file is correct.

Running release 7.0. When i enter xdm on command line of root nothing
happens. ps ax command shows no xdm running.

Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second


That's why. xdm can't get the display. Set on to off in /etc/ttys for ttyv8, 
kill -HUP 1 and if the message does not stop, reboot the machine. Then start 
by running xdm from the command line (as root) and 
inspect /var/log/Xorg.0.log if no screen comes up.





I all ready did that (run xdm from the command line) getting no 
/var/log/xdm.log. Inspecting Xorg.0.log shows nothing related to xdm.


When issuing the xdm command from root and then doing (ps ax command) I 
do not see xdm listed.


What am i to see happen from running xdm from the root command line?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1

Polytropon wrote:

On Mon, 10 Nov 2008 22:21:38 +0800, Fbsd1 <[EMAIL PROTECTED]> wrote:

Also created the .xsessions file in the users home directory.


The file is ~/.xsession, without an s at the end. I assume
that csh is your login shell. Put these in your ~/.xsession:


#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This sources your individual user setting from .cshrc and the
executes .xinitrc (trivial, isn't it?) to control how the startuo
of your xsession will go.

Make sure both files (.xinitrc and .xsession) are +x attribute.



Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second


Hey, I saw this one... but I'm not sure how I solved it. Is your
/etc/hosts and hostname set correctly? I think it was something
like this, something I would never had put in any combination
with X...


By the way, in order to try if xdm is working correctly it can be
started directly by the command "xdm" anytime.






I had ~/.xsession spelled correctly in the directory. Just typo error in 
email. Changed the contents of ~/.xsession as you posted. Still no joy.

/etc/hosts file is correct.

Running release 7.0. When i enter xdm on command line of root nothing 
happens. ps ax command shows no xdm running.


Still getting error msg
init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


trouble getting x11 xdm to work

2008-11-10 Thread Fbsd1
logging in at command line works and startx works. Now want to use x11 
xdm to control logins for virtual terminals 9+


Followed handbook instructions 5.6.2 Using XDM doing this
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   on secure

Then kill -HUP 1 to reread the file.

Also created the .xsessions file in the users home directory.

Keep getting this console error message hundreds of times

init: getty repeating too quickly on port /dev/ttyv8, sleeping 30 second




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


Re: Console size and scrollback buffer.

2008-11-10 Thread Fbsd1

James Williams wrote:

Hello List,

[On FreeBSD 7.1-BETA2, i386.]

1) How can I change the number of rowsxcols of the console? I'd like
to use the maximum rows/cols available for the 1440x900 screen.

2) How can these settings be made default (takes effect at boot)?

IOW, what is the equivalent of the "vga=0x365" Linux kernel option?

3) How I can set the scrollback buffer size (if that's the name) of
the console -- the equivalent of Shift+{PgUp,PgDn} on Linux?

I played around with vidcontrol but was not quite successful.

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





try   adding this in /etc/rc.conf
vidcontrol -h 200
# -h = Set the size of the history scrollback buffer in number of lines.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


<    1   2   3   >