Re: Help with xorg.conf

2005-08-16 Thread Jonathan Glaschke
Hello,

On Tue, Aug 16, 2005 at 04:39:37PM +1200, [EMAIL PROTECTED] wrote:
 Hey guys,
 
 I'm a FreeBSD newbie and have been lovin' the whole experience.  I've recently
 got  fluxbox working as my WM, which was an experience, and just got firefox
 working too.  My problem is that I can't get X to use my whole screen and it 
 is
 stuck on some crappy resolution, 800x600 I think.  I've followed all of the
 documentation to include all of the lines about:
 
 DefaultDisplay 24
 
 Modes 1024x768
 
 etc ...
 
 However none of them have an effect!  Please help!
 
 Gareth
Use /usr/X11R6/bin/xorgconfig or /usr/X11R6/bin/xf86condig, that worked for me.

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

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/


pgpXQVSnOw85Q.pgp
Description: PGP signature


Re: Counter-Strike, Wine and FreeBSD

2005-08-16 Thread Andrew P.
I use wine-20050725 from ports. You know, I also have problems with
fonts in CS. Sometimes they all work flawlessly, sometimes squares are
displayed instead of some of them - but it has nothing to do with wine
fonts or X fonts, because all fonts in CS are bitmap files located
somewhere in the valve folder.

I think the only thing in the config that matters in this case is this:

[x11drv]
ScreenDepth = 16
Managed = N
Desktop = 1024x768
UseDGA = Y
UseXVidMode = Y
UseTakeFocus = Y
DXGrab = N
DesktopDoubleBuffered = Y

But in fact I'm not sure all fonts are displayed fine with this. CS
launches with virtually any settings here - that's what I'm sure of.

I know about http://cedega.firepipe.net/ (and btw, Cedega is free
without its copy-protection extensions), but it seems that wine is
still much easier to set up on BSD than Cedega.

I have never paid for a piece of software in my life (except for
donations to some open-source projects), but I'm ready to give the
guys $15 if they cure me of dependancy from windows. [I was also going
to buy OSS sound drivers as they stated support for SoundMax, but I
downloaded a trial - and SoundMax wasn't in the list of FreeBSD
drivers, what a pity].

Yep, there are many great games that run smoothly on FreeBSD without
any tribal dances. I've been enjoying Nexuiz for the last few days.
But I really want to get CS1.5 going - it's not just a game for me,
it's a place where I can regularly meet my friends :-)

Andrew P.


On 8/16/05, Aaron Gibson [EMAIL PROTECTED] wrote:
 quick question, I'm guessing you used wine in ports? I never seemed to
 be able to get the fonts to work properly with Counter-Strike 1.5. Can
 you post your wine config file?
 
 The alternative was/is cedega, but I felt more inclined to boot windows
 than pay even more money to get a game to work (my .02)
 
 Props to ID and epic for supporting alternative platforms. UT* and
 Quake/Doom series work very well as I understand it (I played UT2004 and
 QuakeIII on FreeBSD with great success)
 
 --Aaron
 
 
 Andrew P. wrote:
  Hello!
 
  I'm sorry to bother you all guys, but this issue has really become a
  crusade for me :)
 
  I'm trying to play Counter-Strike 1.5 on FreeBSD - over network
 
  The easy part was to install wine, closed-source nvidia drivers,
  launch CS1.5 - and even play on the local listen server with some
  bots. Mouse was not very responsive, but overall performance was
  great. It should be noted that CS1.5 did not need any native dll's -
  only wine's built in modules.
 
  The problems start when you try to connect to a network server. It
  would just hang. It took me three days of messing with wine, googling,
  and meditating - to finally decide to ask for help at
  freebsd-questions :)
 
  Things I tried: using virtually all combinations of native dll's from
  Win98 and WinXP, trying each and every option in .wine/config, trying
  all kinds of CS1.5 options, etc.
 
  Things I didn't try yet - they would require some expertise with
  wine/freebsd: careful debugging of relays and messages, building wine
  from cvs (port is not that old), IPX instead of IP (wild idea), etc.
 
  Come on, people, could somebody help me with this? CS is the single
  most popular FPS game out there. I could just give up and fall back to
  Linux/Cedega, but that just wouldn't be cool :) I'm sure that if we
  sort it out with CS1.5, Steam and Source will just be a matter of
  time. And some hundreds of geeks won't have second thoughts about
  FreeBSD on their desktop/laptop computers.
 
  I set up a separate Category on my forum in case anyone needs it:
  http://www.csme.ru/forum/
 
 
  Thanks guys,
  Andrew P.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


Re[2]: i can't block win98 computers

2005-08-16 Thread vladone
Thanks all for reply!
Now:
1. i try to permit only good mac and deny any else but not work. Win98
still have internet.
2. one solution is probably to block acces for win98 computers to any on port 
53 and block in this
 mode DNS service, but is a little strange this solution.
3. i dont understand  how work tcpdump. I used: #tcpdump -i fxp0,
but a dont see all traffic and after close tcpdump i see an great
number of packets dropped by kernel, without any rule for this.
4. with arp -a i see and mac for win98 computers. I tried to delete
entries in arp table for win98 hosts but nothing.

Is great if somebody have experience with this situation, or tested
some solutions for this problem.

 Thank all for suggestions!


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


usb flash memory

2005-08-16 Thread Dikshie

dear all,
anyone has success using epraizer usb flash memory type 501
http://www.epraizer.com.tw/products/productFlashMemo.html
on FreeBSD-5.4-STABLE or 6.0-BETA ?

I always getting:

da0 at umass-sim0 bus 0 target 0 lun 0
da0: OTi Flash Disk 2.00 Removable Direct Access SCSI-2 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: UNIT ATTENTION, Not ready to ready 
change,
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retries Exhausted
Opened disk da0 - 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0
(da0:umass-sim0:0:0:0): Not ready to ready change, medium may have changed
(da0:umass-sim0:0:0:0): Retries Exhausted
Opened disk da0 - 6
umass0: at uhub4 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached








with best regards,

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


atacontrol

2005-08-16 Thread Dick Hoogendijk
I have a simple question. Some time ago I was told always to use the
same type of harddisk transfers. Now I have i.e.:

Master = UDMA100 
Slave  = UDMA66

Does this mean the first disk really works on UDMA100 or is is delayed
by the second one (as I was told some time ago).

Or is the fbsd ata controller capable of setting each drive to its
right speed?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to Force UDMA100 Mode on Boot?

2005-08-16 Thread Mark Kane

Chuck Swiger wrote:

Your BIOS ought to have a setting which throttles this down.


From what I see in the BIOS it just says DMA Mode and then Enabled or 
Disabled. Unfortunately it doesnt look like any drive-specific options 
to choose which speed.


Simply changing in within FreeBSD might be a little late, since the 
system has to boot far enough to get to that, or you might run some 
other OS on the machine one fine day.  Anyway, consider:


touch /etc/rc.local
echo /sbin/atacontrol mode ...  /etc/rc.local


Everything seems fine with all the drives until I try to start to 
transfer data between them at 133 mode. So I think that rc entry you 
suggested would be perfect, since that would execute before I would 
start transferring any files.


Thanks :)

-Mark

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-16 Thread Dmitry Mityugov
On 8/16/05, Kent Stewart [EMAIL PROTECTED] wrote:
...
 There used to be a Maxtor utility that would set the maximum ATA rate on
 Maxtor ATA drives. I had one of those motherboard with a broken
 Southbridge and that was the easy way out until I replaced the
 motherboard with a good one. If you aren't using Maxtor's, you can look
 for a utility to do what the Maxtor utility did.

There also are similar utilities for Samsung and Seagate drives.

-- 
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: ipf sample rule file]

2005-08-16 Thread Giorgos Keramidas
On 2005-08-14 09:03, Dave Webster [EMAIL PROTECTED] wrote:
 Date: Sun, 14 Aug 2005 07:54:39 -0700
 From: Dave Webster [EMAIL PROTECTED]
 Subject: ipf sample rule file
 To: FBSD_IG @a1poweruser.com

 Thank you for your tremendous guide for FreeBSD newbies.  I am
 confused by:
 # Allow out access to my ISP's DHCP server for cable or DSL networks.
 # This rule is not needed for ‘user ppp’ type connection to the
 # public Internet, so you can delete this whole group.
 # Use the following rule and check log for IP address.
 # Then put IP address in commented out rule  delete first rule
 pass out log quick on dc0 proto udp from any to any port = 67 keep state
 #pass out quick on dc0 proto udp from any to z.z.z.z port = 67 keep
 state

The comments are mildly confusing, since they state that this entire
block is not necessary, yet the block contains rules.  Seeing the email
address of the forwarded post, I can probably assume that you got this
from the Handbook.

The firewall described in the firewall chapter of the Handbook is
paranoid enough to block all incoming *AND* outgoing traffic.  This
means that if you use it without explicit rules for the services you
plan to use, the firewall will block you from making use of these
services.

Having that in mind, it may be more clear what the comments above mean.
If the FreeBSD machine is used as a DSL gateway and it obtains its
external IP address from your Internet Service Provider with DHCP, you
have to use special rules to unblock the DHCP traffic.  DHCP clients
send broadcast packets directed to port 67 of any listening DHCP server,
so the proper steps for setting up the firewall rules correctly (if we
are to follow the spirit of the existing firewall chapter), would be
something like this:

1. Start with a DHCP firewall rule that allows any DHCP server
to reply with a DHCP address assignment (and other related information).
This rule would look like this:

pass out log quick on dc0 proto udp from any to any port = 67 keep state

2. Connect to your DSL provider at least once.

3. Look at the system logs (i.e. /var/log/ppp.log) and see which
DHCP server (or servers, if there's more than one) replies with an
address assignment when your machine sends out DHCP requests.  Note the
address of the DHCP server (or all the valid DHCP server addresses, if
there's more than one) down.

4. Comment out or delete the previous DHCP rule that allowed DHCP
traffic towards *any* DHCP server.

5. Add special rules that allow DHCP traffic only if it is destined
for one of the valid DHCP server addresses, i.e. if your ISP uses a
single DHCP server with an IP address of ``aa.bb.cc.dd'', your rule
would be:

pass out log quick on dc0 proto udp from any to aa.bb.cc.dd port = 67 keep 
state

I am not sure if this will work though.  AFAIK, when a DHCP clients
sends a request for an IP address over the wire, it doesn't send it
towards a specific IP address, so this procedure suggested by the
current firewall chapter is probably broken.  Anyone who uses a FreeBSD
machine as a DSL gateway *AND* uses the rules of Joseph J. Barbish as
they are listed in the Handbook, who can tell us if the specific part of
the rules works correctly?

 my /etc/resolv.conf file is:
 search bc.hsia.telus.net
 nameserver 154.11.128.187
 nameserver 154.11.128.59
 nameserver 64.114.195.135
 nameserver 64.114.195.136

The resolv.conf file contains options related to the resolution of host
names to IP addresses and vice versa via the DNS protocol.  This is not
related to the internals of DHCP or your firewall.

- Giorgos

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


Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Gareth Bailey
I have had a look at crypt (enigma), but it doesn't appear to use the
same algorithm? I need the same as that used in passwd!

Thanks

On 8/15/05, Gareth Bailey [EMAIL PROTECTED] wrote:
 Hi there,
 
 I am using pserver for authentication on CVS. Rather than use the same
 passwords as in /etc/passwd, I'd rather create different ones for
 users. How would I output a password to, for example, a text file in
 the same format as that of /etc/passwd.
 
 i.e: # xxx mynewpassword  encrypted_password.txt
 
 
 Thanks!

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


Re: Power Off with ATX board wont work...

2005-08-16 Thread Christian Tischler
As the Server is back online I checked the configuration and saw that
the shutdown script, witch is triggered from a html page did use halt,
but changing this to shutdown -p now did not help.
apm is enabled.

Does anyone have any other ideas how to resolve this, or is it
definitely a hardware problem?

thanks,

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


Nightly backup using CD-ROM

2005-08-16 Thread Jonathon McKitrick

Hi all,

I found a post from last November with a small script for backing up to CD-ROM
with sessions.

http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064117.html

My question is how can I access the data on the CD between backups without
having to run fixate?  It obviously doesn't mount like a regular CD until
then.

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


ath driver within 5.4-RELEASE

2005-08-16 Thread d3c3it-linux
Hi
I just wanted to know if the ath driver is included within the 5.4-RELEASE as I 
can't seem to find it with the GENERIC config or do I just load auth with 
kldload ?
I can't check as I'm not at home atm.
Thanks in advance
Glyn

-
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software 
Visit www.ntlworld.com/security for more information

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


Re: ftp security

2005-08-16 Thread Jerry McAllister
 
 I read http://www.freebsddiary.org/ftp-anonymous.php to try and secrue my ftp 
 server.
 The author sugested to add a line to my fstab:
  
 /dev/ad2s2f   /home/ftp/incoming ufs  rw,SUIDDIR2   2
  
 however i don't have the file ad2s2f in my /dev directory
  
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/ad0s1b noneswapsw  0   0
 /dev/ad0s1a /   ufs rw  1   1
 /dev/ad0s1e /tmpufs rw  2   2
 /dev/ad0s1f /usrufs rw  2   2
 /dev/ad0s1d /varufs rw  2   2
 /dev/acd0   /cdrom  cd9660  ro,noauto   0   0
 #/dev/ad0s  /ftp/incoming   ufs rw,SUIDDIR  2   2
 
 [root]/etc-
 
 i don't really understand the fstab but I gather
 ad0s1 is the drive and a-f is the partitions created at boot time
  
 basicly i am trying to sticky a directory mounted by fstab

You are only partly right.
The drive slice is ad0s1 - there can be up to 4 slices.
The a-f  (Actually a-h are possible) are partitions within the
slice created when the the disk is partitioned - before a file
system is built on them using newfs.
To use a disk:   (yes, I know you can get by with some shortcutting - don't)
  use fdisk to create slices 1..4 (and write the sector boot block if desired).
  use disklabel to create partitions in the slice[s].
  use newfs to build a filesystem in each partition except swap.
  use mkdir to create a mount point - which is the same as a directory
  use mount to bind the partition to the mount point
  and/or edit /etc/fstab to specify the partition-mount point binding
 and mount -a will look through fstab and do the mounts.
 at boot time the equivalent of a mount -s is done.

Just putting something in /etc/fstab will not be enough.   The file system
needs to be created first.

Having a line  /dev/ad2s2f  /home/ftp/incoming ufs rw,SUIDIR  2   2

implies that you 
 - have a second IDE drive in the machine and 
 - that it has been sliced with fdisk in to at least two slices and 
 - then the slice 2 on disk 2 has had at least an f partition created 
   with disklabel (you can skip letters if you want, a, b, c and d are 
   reserved for certain things by convention, though not by requirement) and
 - then newfs was used to create a filesystem on it and 
 - that the directories /home (normally there anyway), /home/ftp and
   /home/ftp/incoming  were all created by mkdir.
I would skip putting it in /home myself, just to reduce typing
and would just make a /ftpincoming directory right in root (/), but
suit yourself on the naming and arrangement of directories.

Then you can have a separate filesystem to receive incoming ftp uploads 
and not have them affect the other filesystems on your machine.
If you are planning on allowing uploads via ftp, it is a good idea.
On the other hand, if you don't want to allow ftp uploads, then just
don't allow them and skip all that stuff.

jerry

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


Re: differences in supported filesystems between FreeBSD versions

2005-08-16 Thread Alex Zbyslaw

Glenn Dawson wrote:

Even if there were, if the file systems you are using now are working, 
there isn't much reason to change them.


UFS2 expanded some fields from 32 bits to 64, and added or changed a 
few features, but the two are still very similar.


UFS2 also added snapshots which make live dumps safer, among other things.

--Alex

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


Re: disk fragmentation, 0%?

2005-08-16 Thread Lowell Gilbert
Don't top-post, please.

Lei Sun [EMAIL PROTECTED] writes:

 Then, my other question is,
 
 If the file space allocation works like Glenn said earlier, how come
 with the exact same files from 2 different installations using the
 exact procedures, can result in different fragmentation?
 
 in the atacontrol raid1 failure case, /dev/ar0s1a: ... 0.5% fragmentation
 in the new build case, /dev/ar0s1a: ... 0.0% fragmentation
 
 That doesn't seems to make a lot of sense.

There are lots of possible explanations, including (non-harmful) race
conditions.  Is there some reason you care?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i can't block win98 computers

2005-08-16 Thread Greg Barniskis

vladone wrote:

Thanks all for reply!
Now:
1. i try to permit only good mac and deny any else but not work. Win98
still have internet.
2. one solution is probably to block acces for win98 computers to any on port 
53 and block in this
 mode DNS service, but is a little strange this solution.


When a client just won't behave, sometimes the only solution is an 
ugly workaround. Or upgrading the client. We banned Win98 on our 
network (long before it was end-of-life) because of the load it 
placed on IT staff with its rotten stability and oddities. It was 
cheaper to upgrade the PCs than it was to dedicate support staff to 
applying bandages to Win98.



3. i dont understand  how work tcpdump. I used: #tcpdump -i fxp0,
but a dont see all traffic and after close tcpdump i see an great
number of packets dropped by kernel, without any rule for this.


This probably means that your CPU isn't powerful enough for the load 
you are putting on it with this particular task. I used to be able 
to effectively tcpdump our core LAN using a Pentium II, but that was 
a long time ago, and that laptop is now only suitable for sniffing 
on low density edge LANs. Short of upgrading, I'm sure there are 
things you can do to tune the tcpdump and kernel behaviors; search 
the archives for more information (or maybe someone will jump in 
here with the appropriate syntax).


If you have a smart switch, you should also be able to reflect all 
traffic onto one port and attach a separate sniffer device there 
instead of dumping on the firewall itself.



4. with arp -a i see and mac for win98 computers. I tried to delete
entries in arp table for win98 hosts but nothing.

Is great if somebody have experience with this situation, or tested
some solutions for this problem.


Another approach might be to use DHCP reservations (or, ugly, 
manually configured IP settings on each PC), and if possible, smart 
switch VLANs, to segregate Win98 clients onto their own subnet and 
simply filter by IP address.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


resolv.conf

2005-08-16 Thread Ronny Machado C.
Hi list,

I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, 
let's get to the point: my problem is with DNS resolution, form some reason the 
resolv.conf changes after some time (10  to 20 minutes), from my DNS IP to the 
rl0 IP. Does any one know why? My machine is an AMD64/FreeBSD 5.3 with PPPoE 
for an ADSL connection, 


greetings from .CL, 

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


Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Lowell Gilbert
Please don't top-post.

Gareth Bailey [EMAIL PROTECTED] writes:

 I have had a look at crypt (enigma), but it doesn't appear to use the
 same algorithm?

Correct.

 I need the same as that used in passwd!

The algorithm is selectable; the mechanism is crypt(3).

The standard utility for what you are trying to do is openssl(1).
It used to be makekey(1), but that has been obsoleted by openssl.

 Thanks
 
 On 8/15/05, Gareth Bailey [EMAIL PROTECTED] wrote:
  Hi there,
  
  I am using pserver for authentication on CVS. Rather than use the same
  passwords as in /etc/passwd, I'd rather create different ones for
  users. How would I output a password to, for example, a text file in
  the same format as that of /etc/passwd.
  
  i.e: # xxx mynewpassword  encrypted_password.txt
  
  
  Thanks!
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: resolv.conf

2005-08-16 Thread Lowell Gilbert
Ronny Machado C. [EMAIL PROTECTED] writes:

 Hi list,
 
 I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, 
 let's get to the point: my problem is with DNS resolution, form some reason 
 the resolv.conf changes after some time (10  to 20 minutes), from my DNS IP 
 to the rl0 IP. Does any one know why? My machine is an AMD64/FreeBSD 5.3 with 
 PPPoE for an ADSL connection, 

You are using DHCP on rl0, with a lease of an hour or less?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: resolv.conf

2005-08-16 Thread Ronny Machado C.
yep bro...that's it...

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
Lowell Gilbert
Enviado el: Martes, 16 de Agosto de 2005 10:02
Para: Ronny Machado C.
CC: freebsd-questions@freebsd.org
Asunto: Re: resolv.conf


Ronny Machado C. [EMAIL PROTECTED] writes:

 Hi list,
 
 I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. Ok, 
 let's get to the point: my problem is with DNS resolution, form some reason 
 the resolv.conf changes after some time (10  to 20 minutes), from my DNS IP 
 to the rl0 IP. Does any one know why? My machine is an AMD64/FreeBSD 5.3 with 
 PPPoE for an ADSL connection, 

You are using DHCP on rl0, with a lease of an hour or less?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: differences in supported filesystems between FreeBSD versions

2005-08-16 Thread Dan Nelson
In the last episode (Aug 16), Alex Zbyslaw said:
 Glenn Dawson wrote:
 Even if there were, if the file systems you are using now are
 working, there isn't much reason to change them.
 
 UFS2 expanded some fields from 32 bits to 64, and added or changed a
 few features, but the two are still very similar.
 
 UFS2 also added snapshots which make live dumps safer, among other
 things.

Snapshots work just fine with UFS1.

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


screen grabs

2005-08-16 Thread Charles Smyth
Hi,

I wondered if anyone can advise me about how to get screen shots / grabs of
the FreeBSD installation screens as shown in the online manual, etc. I can use
The Gimp’s resources to do screen shots with everything installed, but this
wouldn’t be available at the installation phase.


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


multicore Intel

2005-08-16 Thread Charles Smyth
Hi, 

Will FreeBSD still be functional with the new crop of Intel dual and multicore
processors, when they become more available and replace single core processors.


Charles Smyth

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


Re: screen grabs

2005-08-16 Thread Matthias Apitz
El día martes, agosto 16, 2005 a las 03:34:44 +0100, Charles Smyth escribió:

 Hi,
 
 I wondered if anyone can advise me about how to get screen shots / grabs of
 the FreeBSD installation screens as shown in the online manual, etc. I can use
 The Gimp’s resources to do screen shots with everything installed, but this
 wouldn’t be available at the installation phase. 

I did it installing FreeBSD into VMWare

matthias

-- 
Matthias Apitz / Sisis Informationssysteme GmbH
Gruenwalder Weg 28g / D-82041 Oberhaching
Fon: ++49 89 / 61308-351, Fax: -399, Mobile ++49 170 4527211
http://www.sisis.de/~guru/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dump restore question

2005-08-16 Thread Alexander Shikoff
Hello,

I maked two dumps of root filesystem with dump(8):
 - the first of level 0 (all files)
 - the second of level 3 on the next day after level 0 (all files new or 
modified since dump of level 0 or level 3)

Now I'm trying to restore filesystem with restore(8):
cat dump0 | (cd /mnt/ad0s1a  restore -ruyf -)
cat dump3 | (cd /mnt/ad0s1a  restore -ruyf -)

I'm getting next warning message:
./sbin/init: cannot create file: Operation not permitted
...

And this warning appears for all files with `schg' flag.

Question: why the dump of level 3 contains files which were not modified
since dump of level 0? 

Thanks in advance, Alexander.

-- 
Kind Regards,   Alexander Shikoff
minotaur # crete.org.ua
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: screen grabs

2005-08-16 Thread albi
On Tue, Aug 16, 2005 at 03:34:44PM +0100, Charles Smyth wrote:

 I wondered if anyone can advise me about how to get screen shots / grabs of
 the FreeBSD installation screens as shown in the online manual, etc. I can use
 The Gimp’s resources to do screen shots with everything installed, but this
 wouldn’t be available at the installation phase.

you can install FreeBSD inside qemu on a virtual disc

qemu is a very promising open-source emulator which is in the ports 
(emulators-section)

see also : http://fabrice.bellard.free.fr/qemu/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: resolv.conf

2005-08-16 Thread Jon Mercer
Ronny,

It sounds as though this is something to do with the DHCP client software,
which can be configured through /etc/dhclient.conf.

Something like the following might be a workaround, but BIG CAVEAT I'm
not an experienced user of PPPoE and may be barking up the wrong
tree./BIG CAVEAT


interface rl0 {
  prepend domain-name-servers ISP DNS here;
  request subnet-mask, broadcast-address,  time-offset, routers,
domain-name,   domain-name-servers,  hostname;
  require subnet-mask, domain-name-servers;
}

HTH,

Jon






On Tue, August 16, 2005 14:54, Ronny Machado C. wrote:
 Hi list,

 I'm new to FreeBSD, and this is the first time I configure a FreeBSD box.
 Ok, let's get to the point: my problem is with DNS resolution, form some
 reason the resolv.conf changes after some time (10  to 20 minutes), from
 my DNS IP to the rl0 IP. Does any one know why? My machine is an
 AMD64/FreeBSD 5.3 with PPPoE for an ADSL connection,


 greetings from .CL,

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



---
Achean Ltdhttp://www.achean.com
Jon Mercer  [EMAIL PROTECTED]  Director
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: screen grabs

2005-08-16 Thread Randy Pratt
On Tue, 16 Aug 2005 15:34:44 +0100
Charles Smyth [EMAIL PROTECTED] wrote:

 Hi,
 
 I wondered if anyone can advise me about how to get screen shots /
 grabs of the FreeBSD installation screens as shown in the online
 manual, etc. I can use The Gimp’s resources to do screen shots with
 everything installed, but this wouldn’t be available at the
 installation phase. 
 

The screenshots in the Handbook were done with vidcontrol:

vidcontrol -p  /dev/ttyv0  shot.scr

See vidcontrol(1) for further detail.  There are also tools in the ports
tree (graphics/scr2png) if you need to convert to PNG format.

scr2png  shot.scr  shot.png

Most of the screenshots were taken post-installation.  There are a few
screens which have different content post-installation than during
installation and those were edited with editors/hexedit to reflect the
exact display at installation.

A few of the screens were captured using the headless install technique
described in the Handbook in Advanced Installation since
those screens don't display when running Sysinstall after installation.

HTH,

Randy

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


Re[2]: i can't block win98 computers

2005-08-16 Thread vladone
My server has an Athlon XP CPU at 1.6 Ghz with 256 mb ram.
Don't believe that this is the reason for which don't goes tcpdump.
Every client has his ip, but i want to prevent illegal connections,
and this can be changed.

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


Strange problem with DHCPD

2005-08-16 Thread Carstea Catalin
i recently installed
net/isc-dhcp3-serverhttp://www.freebsd.org/cgi/url.cgi?ports/net/isc-dhcp3-server/pkg-descrport
on my server and when i try to start the service from his script
 /usr/local/etc/rc.d/isc-dhcpd.sh start he doesn't start.
 But if i try /usr/local/sbin/dhcpd he work fine.
 Why ?



-- 
Any help would be greatly appreciated.
regards,
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re[3]: i can't block win98 computers

2005-08-16 Thread Hexren
 My server has an Athlon XP CPU at 1.6 Ghz with 256 mb ram.
 Don't believe that this is the reason for which don't goes tcpdump.
 Every client has his ip, but i want to prevent illegal connections,
 and this can be changed.


-

Changing the MAC is not that much more complicated than changing
the IP. If you're really into secure access you should maybe use
something like authpf.

Hexren

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


Re: Strange problem with DHCPD

2005-08-16 Thread Hexren
 i recently installed
 net/isc-dhcp3-serverhttp://www.freebsd.org/cgi/url.cgi?ports/net/isc-dhcp3-server/pkg-descrport
 on my server and when i try to start the service from his script
  /usr/local/etc/rc.d/isc-dhcpd.sh start he doesn't start.
  But if i try /usr/local/sbin/dhcpd he work fine.
  Why ?




-

You need to put the line below in your /etc/rc.conf
dhcpd_enable=YES

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


Re: i can't block win98 computers

2005-08-16 Thread Greg Barniskis

vladone wrote:

My server has an Athlon XP CPU at 1.6 Ghz with 256 mb ram.
Don't believe that this is the reason for which don't goes tcpdump.


That ought to work. Still, every time I've seen tcpdump dropping 
packets, it's a load issue. For some options you could test to 
improve tcpdump performance, see this message:


http://lists.freebsd.org/pipermail/freebsd-questions/2003-May/006183.html


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: swap file using gmirror?

2005-08-16 Thread Andrea Venturoli

bob self wrote:


I ran swapinfo:

Device1K-blocks Used Avail Capacity
/dev/mirror/gm0s1b 31457280   3145728   0%

So, I have swap space?


Yes, 3GiB.

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


Re: resolv.conf

2005-08-16 Thread Micheal Patterson


.


- Original Message - 
From: Ronny Machado C. [EMAIL PROTECTED]

To: freebsd-questions@freebsd.org
Sent: Tuesday, August 16, 2005 8:54 AM
Subject: resolv.conf


Hi list,

I'm new to FreeBSD, and this is the first time I configure a FreeBSD box. 
Ok, let's get to the point: my problem is with DNS resolution, form some 
reason the resolv.conf changes after some time (10  to 20 minutes), from my 
DNS IP to the rl0 IP. Does any one know why? My machine is an AMD64/FreeBSD 
5.3 with PPPoE for an ADSL connection,



greetings from .CL,

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



As you may have seen already, this is a common issue with systems running 
dhclient. It will overwrite the resolv.conf with the ISP provided dns 
information as soon as it obtains it from the dhcp server. To counter this, 
do this with your dhclient.conf file (/etc/dhclient.conf) and create a 
prepend entry for each server you want to answer your dns requests. Take 
note, the file is read from top to bottom and in the example below, 
127.0.0.1 would be the primary dns server for your system.


interface rl0 {
   prepend domain-name-servers enteryourdnsiphere
   prepend domain-name-servers enteryourdnsiphere
   prepend domain-name-servers 127.0.0.1;
}

--

Micheal Patterson
Senior Communications Systems Engineer
405-917-0600

Confidentiality Notice:  This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message 


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


Re: Help with xorg.conf

2005-08-16 Thread Gary W. Swearingen
[EMAIL PROTECTED] writes:

 However none of them have an effect!  Please help!

Adding to what others have said..

You can learn a lot by looking at (something like): /var/log/Xorg.0.log

If your monitor and controller are fairly new, you should find info
about their possible (and actual) settings.


And read xvidtune manpage if you haven't already.

And there's a good SEE ALSO list in the Xorg manpage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multicore Intel

2005-08-16 Thread Nikolas Britton
On 8/16/05, Charles Smyth [EMAIL PROTECTED] wrote:
 Hi,
 
 Will FreeBSD still be functional with the new crop of Intel dual and multicore
 processors, when they become more available and replace single core 
 processors.
 
 

I don't see why not as this should all be transparent to the operating
system above it... This is why HyperThreading works, or doesn't
depending on your perspective, and shows up as an SMP box.

Read this article: http://www.onlamp.com/pub/a/bsd/2005/01/20/smpng.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk fragmentation, 0%?

2005-08-16 Thread cpghost
On Sun, Aug 14, 2005 at 01:30:41PM -0700, Glenn Dawson wrote:
 From the original message:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ar0s1e248M   -278K228M-0%/tmp
 
 This shows that /tmp is empty.  If the reserved space was being encroached 
 upon, it would show  100% capacity, and available bytes would go negative, 
 not bytes used.
 
 It would look something like this:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad0s1a248M238M-10M   105%/
 
 I've never seen the capacity go negative before, which is why I suggested 
 someone else might know the answer.

Ups, yes, that's really weird. It's so unusual that I didn't notice
it the first time. Could that be some counter overflowing?

 -Glenn

Regards,
-cpghost.

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


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Nikolas Britton
On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi
 I just wanted to know if the ath driver is included within the 5.4-RELEASE as 
 I can't seem to find it with the GENERIC config or do I just load auth with 
 kldload ?
 I can't check as I'm not at home atm.
 Thanks in advance
 Glyn
 

Yes it's part of 5.4, started life in 5.2, man ath:
http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html

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


Stable server

2005-08-16 Thread Carstea Catalin
what version of freebsd do u recomand for a stable server? 

-- 
Any help would be greatly appreciated.
regards,
Carstea Catalin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: atacontrol

2005-08-16 Thread Nikolas Britton
On 8/16/05, Dick Hoogendijk [EMAIL PROTECTED] wrote:
 I have a simple question. Some time ago I was told always to use the
 same type of harddisk transfers. Now I have i.e.:
 
 Master = UDMA100
 Slave  = UDMA66
 
 Does this mean the first disk really works on UDMA100 or is is delayed
 by the second one (as I was told some time ago).
 
 Or is the fbsd ata controller capable of setting each drive to its
 right speed?

AFAIK everything slows down. This is a hardware problem and FreeBSD
can do nothing about it. This is why I only put one device on a
controller/channel, I also do it because the controller can only talk
to one device at a time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Power Off with ATX board wont work...

2005-08-16 Thread Warren Block

On Tue, 16 Aug 2005, Christian Tischler wrote:


As the Server is back online I checked the configuration and saw that
the shutdown script, witch is triggered from a html page did use halt,
but changing this to shutdown -p now did not help.
apm is enabled.


apm is enabled where?  In your kernel config *and* in /etc/rc.conf?

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stable server

2005-08-16 Thread Mark Kane

Carstea Catalin wrote:
what version of freebsd do u recomand for a stable server? 



I'd say 5.4-RELEASE...that's the current production release.

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


Re: Stable server

2005-08-16 Thread Nikolas Britton
On 8/16/05, Carstea Catalin [EMAIL PROTECTED] wrote:
 what version of freebsd do u recomand for a stable server?
 

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


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Andrew L. Gould
On Tue, 16 Aug 2005 13:36:14 -0500
Nikolas Britton [EMAIL PROTECTED] wrote:

 On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
  Hi
  I just wanted to know if the ath driver is included within the 5.4-
  RELEASE as I can't seem to find it with the GENERIC config or do I
  just load auth with kldload ? I can't check as I'm not at home atm.
  Thanks in advance Glyn
  
 
 Yes it's part of 5.4, started life in 5.2, man ath:
 http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html
 
 http://www.freebsd.org/cgi/man.cgi

The ath driver is available in 5.4 RELEASE; but is not compiled into
the GENERIC kernel.  If my memory serves me correctly, people on this
list have reported problems loading the kernel modules.  Therefore,
you'll probably need to recompile the kernel with the following:

device ath
device ath_hal

Regards,

Andrew Gould

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


Re: Stable server

2005-08-16 Thread dpk
On Tue, 16 Aug 2005, Carstea Catalin wrote:

 what version of freebsd do u recomand for a stable server?

4.11 is solid, hasn't shown any problems here. 5.4 is the best of the 5.x
series but we (I mean at my company, not speaking as a FreeBSD rep)
haven't put it through as much stress as we have 4.11 .
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


i386 compatibility under amd64

2005-08-16 Thread Kövesdán Gábor

Hello,

If I try to run an i386 binary uner amd64 I get this:

ELF interpreter /libexec/ld-elf32.so.1 not found
Abort trap

I have options COMPAT_IA32 in my kernel config file but I don't know 
what should I do besides this.


Cheers,

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


DHCP Issue - could not get ip.

2005-08-16 Thread Ovidiu Ene

Hello.

I have a problem with DHCP, i've tried to solve googling, reading post 
on forums.


I have a DHCP cable modem connection.
in rc.conf i have ifconfig_vr0=DHCP

when i launch dhclient -d vr0 i get:

I've tried differend things, like setting the nic for 10 mbps, 
half-dupplex, reseting the cable modem.

(I've talk also with isp, they said does not support FreeBSD or linux)
I've tried almost any parameter in dhclient.conf.

If i boot on windoze (same box, same nic) DHCP works. I've taken ip and 
gateway from windoze put with ifconfig in freebsd and internet works.


Have you any ideea what should I do?


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


Re: DHCP Issue - could not get ip.

2005-08-16 Thread Hexren
 Hello.

 I have a problem with DHCP, i've tried to solve googling, reading post 
 on forums.

 I have a DHCP cable modem connection.
 in rc.conf i have ifconfig_vr0=DHCP

 when i launch dhclient -d vr0 i get:

 I've tried differend things, like setting the nic for 10 mbps, 
 half-dupplex, reseting the cable modem.
 (I've talk also with isp, they said does not support FreeBSD or linux)
 I've tried almost any parameter in dhclient.conf.

 If i boot on windoze (same box, same nic) DHCP works. I've taken ip and 
 gateway from windoze put with ifconfig in freebsd and internet works.

 Have you any ideea what should I do?


-

Maybe tcpdump (propably use ethereal on Windows) the working winxp DHCP 
connection, then tcpdump the not
working FreeBSD connection. Compare them both and try to find the
difference.

Hexren

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


Re: cache-only named won't resolve localhost

2005-08-16 Thread Gary W. Swearingen
Chuck Swiger [EMAIL PROTECTED] writes:

 Note that the resolver will treat lookups of localhost. and localhost 
 differently if you have a domain or search
 directive specified in /etc/resolv.conf.  You could and perhaps should ensure 
 that the one ending in a period exists in
 a zone file on the nameserver, and maps via an A record to 127.0.0.1:

Apparently so.  I've sorta followed your suggestions and used the
following rather verbose master/localhost with good results (except
Mozilla).  You needn't read further; I've just added some observations.


$TTL 604800

localhost.   IN  SOA localhost. root.localhost. (
20050816 ; Serial
  604800 ; Refresh
   86400 ; Retry
 2419200 ; Expire
  604800 )   ; Minimum
;Name Server:
localhost.INNSlocalhost.

;Host Address:
localhost.INA 127.0.0.1

;Host Alias:
localhost.localhost.INCNAMElocalhost.

; The End.


Now host, dig, and nslookup work OK, even without an
/etc/resolv.conf file.  But sendmail seems to need the later.
(It just has nameserver 127.0.0.1.)

I tried to make localhost.localhost the canonical domain and
localhost. the alias (so it would better correspond to the
reverse mapping which has 127.0.0.1  localhost.localhost.), but
it then wouldn't resolve localhost OR localhost.localhost.

My DNS book implies taht any domain name can be assigned to a host, as
it can with the CNAME above, but it seems that important software
either insists that a host has a two-part domain name or chokes on a
FQDN like localhost., which ends with a dot.  So be it.


Mozilla apparently doesn't even use my local DNS as it still hangs.
(I must admit that I've never checked my caching DNS's cache.)

I know little about proxies, but I tried configuring Mozilla to use a
localhost proxyand it then resolved localhost OK, but my funky
python-only web server couldn't find the index.html it found with
127.0.0.1.  Oh well, I don't much care about Mozilla problems as long
as I can work around it, which I can.

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


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Glyn Tebbutt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew L. Gould wrote:
 On Tue, 16 Aug 2005 13:36:14 -0500
 Nikolas Britton [EMAIL PROTECTED] wrote:
 
 
On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:

Hi
I just wanted to know if the ath driver is included within the 5.4-
RELEASE as I can't seem to find it with the GENERIC config or do I
just load auth with kldload ? I can't check as I'm not at home atm.
Thanks in advance Glyn


Yes it's part of 5.4, started life in 5.2, man ath:
http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html

http://www.freebsd.org/cgi/man.cgi
 
 
 The ath driver is available in 5.4 RELEASE; but is not compiled into
 the GENERIC kernel.  If my memory serves me correctly, people on this
 list have reported problems loading the kernel modules.  Therefore,
 you'll probably need to recompile the kernel with the following:
 
   device ath
   device ath_hal
 
 Regards,
 
 Andrew Gould
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Thanks for your replies guys. Will this support 11g as I read something
about the wireless stack in 6.0 is different in some way compared to 5.4 ?
I tried to compile 6.0-BETA 2 with both device ath and device ath_hal
but the kernel compile died with undefined symbol error's, i've google
it but not found anything, any idea's guy's ?
Cheers again
Glyn
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDAkorMmCtbXGg1+4RAuB/AJ94I2VBdRhY3xPDiPHDG/qnK9f5aACg7TwD
idKEdWquZhwkLrTK4oDNIpg=
=BJp9
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Raid / Dual booting / Really need help.

2005-08-16 Thread Eric Murphy
Hey guys -- First off let me give you inisght on my hardware.

CPU: 3400 AMD 64
MB: Asus A8n-SLI Deluxe
Video: Nvidia  6600 GT
Ram: 3gigs Crucial
HD: (2) SATA Hitachi 80gig Drives
RAID:  ONBOARD: Silicon Image Sil 1334 Raid Controller
   ONBOARD: Nvidia Southbridge Raid Controller


My Problem:

Well it all started when I decided to dual boot my system with Windows Xp, And 
FreeBSD 5.4.  Installing Windows was no problem.  It went flawless.  When I got 
to installing FreeBSD 5.4 I had noticed that it was not detecting my Silicon 
1334 Raid Controller. And was just showing my 2 Hard Drives (ad4 and ad6)  I 
decided to go ahead and install anyway and setting the boot mgr on BOTH drives. 
(Just like the hand book says)  Well I rebooted, and the boot manager loads.  
Windows boots just fine, but BSD on the other hand does not.  I get a NOT UFS  
no /kernel Error.  Now it seems to me that it cant find the mount points or the 
kernel on the disk.  I think this is caused by a non dectected raid controller. 
 My next step was to disable the Silicon Image 1334 Raid controller and try 
useing the Nvidia one.  I repeated the SAME steps as above and recieved the 
same error messages.  My next thought was maybe 5.4 did not support either of 
my raid controllers. So I decided to search the web.. turns out some people got 
it working, most didnt (Go figure the ones that did get it working did not say 
how).  So I did the only thing I could do and try out FreeBSD 6.0-CURRENT.  I 
started again with my Silicon 1334 Raid controller.  Again I had no success and 
FreeBSD did NOT detect my controller.  So I had the same resalts.  (Not UFS, no 
/kernel)  So this time, as you could guess I tryed the Nvidia controller.  This 
time however, upon booting the install I noticed that FreeBSD did in fact 
detect my nvidia controller! During the FDISK install step I now had (ad4, ad6 
AND ar0).  So I went ahead and installed the packages I wanted and had thought 
I found a solution to my problem!  Well it turns out that 6.0 does not come 
with the ports tree OR Xorg.  So now im confused - I do not know how to proceed 
from here.  I also was wondering if there was a way to load the driver for my 
Nvidia raid controller on my 5.4 installation.  So my question comes down to 
this:

How can I get this working with 5.4 (prehaps by loading a driver?) and if I 
cant, how can I get 6.0 up and running with everything I need. Also can anyone 
confirm that these raid controllers ARE or ARE NOT supported.

Thanks for reading - and if anyone has ANY suggestions PLEASE respond.  Ive 
already poured my heart out at bsdforums.org haha.

-Eric

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


Installing Firefox (was: Question)

2005-08-16 Thread Harald Muehlboeck
jon freddy [EMAIL PROTECTED] writes:

 When I get my new computer and I am going to run FreeBSD, also, I
 want to still run the browser Firefox.

Chapter 4 of the Handbook deals with Installing Applications on
FreeBSD:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Chapter 6.2 is about browsers:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

| 6.2.5 Firefox
| [...]
| Install the package by typing:
| # pkg_add -r firefox
|
| You can also use the Ports Collection if you prefer to compile from
| source code:
|
| # cd /usr/ports/www/firefox
| # make install clean

hth,
Harald

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


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Michal Mertl
Glyn Tebbutt wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Andrew L. Gould wrote:
  On Tue, 16 Aug 2005 13:36:14 -0500
  Nikolas Britton [EMAIL PROTECTED] wrote:
  
  
 On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:
 
 Hi
 I just wanted to know if the ath driver is included within the 5.4-
 RELEASE as I can't seem to find it with the GENERIC config or do I
 just load auth with kldload ? I can't check as I'm not at home atm.
 Thanks in advance Glyn
 
 
 Yes it's part of 5.4, started life in 5.2, man ath:
 http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html
 
 http://www.freebsd.org/cgi/man.cgi
  
  
  The ath driver is available in 5.4 RELEASE; but is not compiled into
  the GENERIC kernel.  If my memory serves me correctly, people on this
  list have reported problems loading the kernel modules.  Therefore,
  you'll probably need to recompile the kernel with the following:
  
  device ath
  device ath_hal
  
  Regards,
  
  Andrew Gould
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 Thanks for your replies guys. Will this support 11g as I read something
 about the wireless stack in 6.0 is different in some way compared to 5.4 ?
 I tried to compile 6.0-BETA 2 with both device ath and device ath_hal
 but the kernel compile died with undefined symbol error's, i've google
 it but not found anything, any idea's guy's ?

I don't know if 5.4 supports 11g but it I know it doesn't support too
much advanced authentication mechanisms (WPA).

I believe you need not only ath and ath_hal in the kernel config file
but also wlan and some ath_rate module (one of ath_rate_onoe,
ath_rate_amrr or ath_rate_sample). The recommended rate module is
ath_rate_sample.

Why do you compile the modules statically into the kernel? Modules
should work too.

Michal

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


Problems with rsync 2.66 on freebsd

2005-08-16 Thread fire67
Hello , i'm on freebsd 5.4 and i have a problem with rsync 2.66.When i do 
rsync -r /backups/bsd1 --delete [EMAIL PROTECTED]:backups i have that :

# rsync -r /backups/bsd1 --delete [EMAIL PROTECTED]:backups
rsync: Commande introuvable.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(443)

I don't understand why i have this problem because the syntax is correct.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with rsync 2.66 on freebsd

2005-08-16 Thread fire67
Hello , i'm on freebsd 5.4 and i have a problem with rsync 2.66.When i do 
rsync -r /backups/bsd1 --delete [EMAIL PROTECTED]:backups i have that :

# rsync -r /backups/bsd1 --delete [EMAIL PROTECTED]:backups
rsync: Commande introuvable.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(443)

I don't understand why i have this problem because the syntax is correct
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Glyn Tebbutt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michal Mertl wrote:
 Glyn Tebbutt wrote:
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew L. Gould wrote:

On Tue, 16 Aug 2005 13:36:14 -0500
Nikolas Britton [EMAIL PROTECTED] wrote:



On 8/16/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:


Hi
I just wanted to know if the ath driver is included within the 5.4-
RELEASE as I can't seem to find it with the GENERIC config or do I
just load auth with kldload ? I can't check as I'm not at home atm.
Thanks in advance Glyn


Yes it's part of 5.4, started life in 5.2, man ath:
http://www.freebsd.org/cgi/man.cgi?query=athapropos=0sektion=0manpath=FreeBSD+5.4-RELEASE+and+Portsformat=html

http://www.freebsd.org/cgi/man.cgi


The ath driver is available in 5.4 RELEASE; but is not compiled into
the GENERIC kernel.  If my memory serves me correctly, people on this
list have reported problems loading the kernel modules.  Therefore,
you'll probably need to recompile the kernel with the following:

 device ath
 device ath_hal

Regards,

Andrew Gould

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

Thanks for your replies guys. Will this support 11g as I read something
about the wireless stack in 6.0 is different in some way compared to 5.4 ?
I tried to compile 6.0-BETA 2 with both device ath and device ath_hal
but the kernel compile died with undefined symbol error's, i've google
it but not found anything, any idea's guy's ?
 
 
 I don't know if 5.4 supports 11g but it I know it doesn't support too
 much advanced authentication mechanisms (WPA).
 
 I believe you need not only ath and ath_hal in the kernel config file
 but also wlan and some ath_rate module (one of ath_rate_onoe,
 ath_rate_amrr or ath_rate_sample). The recommended rate module is
 ath_rate_sample.
 
 Why do you compile the modules statically into the kernel? Modules
 should work too.
 
 Michal
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
My other cards on linux dont support WPA yet anyway so I'm using WEP atm
(yes I know its crappy and insecure:()
I'm new to freebsd so im not exactly sure how everything works yet, so
the kernel config builds all the stuff you need into the kernel but
modules for everything else is still compiled?
because on my 6.0-BETA 2 ath module doesn't exists :?
so in theory which module's do I need to load
Thanks again for replying

- --
++
| | Glyn Tebbutt |
| +--+
| www: http://www.plasticmongoose.com|
| GPG: http://www.plasticmongoose.com/d3c3it/misc/d3c3it.gpg |
| Email: [EMAIL PROTECTED]   |
||
| Damn you, vile woman! You've impeded my work since the|
| day I escaped from your wretched womb. - Stewie Griffin|
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

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


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Michal Mertl
Glyn Tebbutt wrote:
 Michal Mertl wrote:
  
  I don't know if 5.4 supports 11g but it I know it doesn't support too
  much advanced authentication mechanisms (WPA).
  
  I believe you need not only ath and ath_hal in the kernel config file
  but also wlan and some ath_rate module (one of ath_rate_onoe,
  ath_rate_amrr or ath_rate_sample). The recommended rate module is
  ath_rate_sample.
  
  Why do you compile the modules statically into the kernel? Modules
  should work too.
  
 My other cards on linux dont support WPA yet anyway so I'm using WEP atm
 (yes I know its crappy and insecure:()
 I'm new to freebsd so im not exactly sure how everything works yet, so
 the kernel config builds all the stuff you need into the kernel but
 modules for everything else is still compiled?

Yes. By default all the modules are always compiled and installed
(in /boot/kernel/*.ko).

 because on my 6.0-BETA 2 ath module doesn't exists :?
 so in theory which module's do I need to load

Modules for network cards are called if_$cardname(.ko). So to load
ath(4) support you'd issue 'kldload if_ath'. The linker loads whatever
other modules are required for function of the module which aren't
compiled in or already loaded (so ath would load wlan, ath_rate and
ath_hal).

Michal

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


Re: DHCP Issue - could not get ip.

2005-08-16 Thread Greg Barniskis

Ovidiu Ene wrote:

Hello.

I have a problem with DHCP, i've tried to solve googling, reading post 
on forums.


I have a DHCP cable modem connection.
in rc.conf i have ifconfig_vr0=DHCP

when i launch dhclient -d vr0 i get:

I've tried differend things, like setting the nic for 10 mbps, 
half-dupplex, reseting the cable modem.


Starting to sound familiar...


(I've talk also with isp, they said does not support FreeBSD or linux)


I got that lame excuse too. My response was that I was really not 
asking them to support my BSD box, but merely to tell me what their 
DHCP server required. That is, I really needed them to provide 
support information for *their* network components, not mine. Taking 
this attitude got me escalated to a supervisor who was surprising 
helpful and knew what the basic problem was (see below).



I've tried almost any parameter in dhclient.conf.

If i boot on windoze (same box, same nic) DHCP works. I've taken ip and 
gateway from windoze put with ifconfig in freebsd and internet works.


Have you any ideea what should I do?


My cable ISP used to require that the client submit a host name with 
its request, which if I recall correctly (this was a long time ago), 
Windows does and FreeBSD doesn't do by default. I fixed it by adding 
an option to dhclient.conf. Like:


interface fxp0 {
   send host-name NOWINDRZ;
   prepend domain-name-servers 127.0.0.1;
   [other standard request stuff here];
}

Hope that helps. You might have tried sending a name before, but if 
I recall, sending a FQDN did not work while sending a simple host 
name did (using the same name my Windows box had previously 
successfully used to get an address, BTW. Not sure that was needed 
but it worked).


Also, after your Windows installation successfully got an IP, did 
you release it before shutting down and trying FreeBSD? If I recall, 
that was also required in my situation.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Glyn Tebbutt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michal Mertl wrote:
 Glyn Tebbutt wrote:
 
Michal Mertl wrote:

I don't know if 5.4 supports 11g but it I know it doesn't support too
much advanced authentication mechanisms (WPA).

I believe you need not only ath and ath_hal in the kernel config file
but also wlan and some ath_rate module (one of ath_rate_onoe,
ath_rate_amrr or ath_rate_sample). The recommended rate module is
ath_rate_sample.

Why do you compile the modules statically into the kernel? Modules
should work too.


My other cards on linux dont support WPA yet anyway so I'm using WEP atm
(yes I know its crappy and insecure:()
I'm new to freebsd so im not exactly sure how everything works yet, so
the kernel config builds all the stuff you need into the kernel but
modules for everything else is still compiled?
 
 
 Yes. By default all the modules are always compiled and installed
 (in /boot/kernel/*.ko).
 
 
because on my 6.0-BETA 2 ath module doesn't exists :?
so in theory which module's do I need to load
 
 
 Modules for network cards are called if_$cardname(.ko). So to load
 ath(4) support you'd issue 'kldload if_ath'. The linker loads whatever
 other modules are required for function of the module which aren't
 compiled in or already loaded (so ath would load wlan, ath_rate and
 ath_hal).
 
 Michal
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Thanks very much Michal, I'll go and try again
btw I found my error's
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2004-October/009041.html
yay for mailinglists, ill report back on my experiences :)
Cheers again

- --
++
| | Glyn Tebbutt |
| +--+
| www: http://www.plasticmongoose.com|
| GPG: http://www.plasticmongoose.com/d3c3it/misc/d3c3it.gpg |
| Email: [EMAIL PROTECTED]   |
||
| Damn you, vile woman! You've impeded my work since the|
| day I escaped from your wretched womb. - Stewie Griffin|
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDAlnaMmCtbXGg1+4RAu59AJ0aJONTxYfDmeau1ymLLLbseNIv0wCdG6BY
74lsUuemW5LU+Du09hOAylc=
=hNWs
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ath driver within 5.4-RELEASE

2005-08-16 Thread Glyn Tebbutt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michal Mertl wrote:
 Glyn Tebbutt wrote:
 
Michal Mertl wrote:

I don't know if 5.4 supports 11g but it I know it doesn't support too
much advanced authentication mechanisms (WPA).

I believe you need not only ath and ath_hal in the kernel config file
but also wlan and some ath_rate module (one of ath_rate_onoe,
ath_rate_amrr or ath_rate_sample). The recommended rate module is
ath_rate_sample.

Why do you compile the modules statically into the kernel? Modules
should work too.


My other cards on linux dont support WPA yet anyway so I'm using WEP atm
(yes I know its crappy and insecure:()
I'm new to freebsd so im not exactly sure how everything works yet, so
the kernel config builds all the stuff you need into the kernel but
modules for everything else is still compiled?
 
 
 Yes. By default all the modules are always compiled and installed
 (in /boot/kernel/*.ko).
 
 
because on my 6.0-BETA 2 ath module doesn't exists :?
so in theory which module's do I need to load
 
 
 Modules for network cards are called if_$cardname(.ko). So to load
 ath(4) support you'd issue 'kldload if_ath'. The linker loads whatever
 other modules are required for function of the module which aren't
 compiled in or already loaded (so ath would load wlan, ath_rate and
 ath_hal).
 
 Michal
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
Well that was fruitless I just looked and realised the card im trying to
get working is a Netgear WG511 not the WG511T, bugger :(

- --
++
| | Glyn Tebbutt |
| +--+
| www: http://www.plasticmongoose.com|
| GPG: http://www.plasticmongoose.com/d3c3it/misc/d3c3it.gpg |
| Email: [EMAIL PROTECTED]   |
||
| Damn you, vile woman! You've impeded my work since the|
| day I escaped from your wretched womb. - Stewie Griffin|
++
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDAl5uMmCtbXGg1+4RAi/oAJ0e09014d9D/1toGp4Q2z7uq+X8EgCg1DVC
YKznrMgH/HYI5DMVGJjNTbM=
=1r3V
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Power Off with ATX board wont work...

2005-08-16 Thread Christian Tischler
Warren Block wrote:

 On Tue, 16 Aug 2005, Christian Tischler wrote:

 As the Server is back online I checked the configuration and saw that
 the shutdown script, witch is triggered from a html page did use halt,
 but changing this to shutdown -p now did not help.
 apm is enabled.


 apm is enabled where?  In your kernel config *and* in /etc/rc.conf?

 -Warren Block * Rapid City, South Dakota USA
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

Yes it is enabled in both.

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


Re: Stable server

2005-08-16 Thread Gary W. Swearingen
Carstea Catalin [EMAIL PROTECTED] writes:

 what version of freebsd do u recomand for a stable server? 

The Handbook recommends against using a stable branch (RELENG_5
or RELENG_4, which might not even compile)

   without first thoroughly testing the code in your development
   environment.

But if one is going to thoroughly test the code, one might as will use
HEAD, except that it is likely to fail and be a waste of time (or your
testing is not thorough enough).

So it seems to me that one's choice is between thorough testing of
RELENG_5 or less thorough testing of RELENG_5_4 or RELENG_4_11.  I'll
leave it to those with more experience for choosing between the last
two, but it sounds like it's a toss-up, with some recommendations
being influenced by conservatism or a desire for more 5 testers. :)
Another factor (besides testing effort) in the choice between RELENG_5
and RELENG_5_4 is the number of fixes as measured by the time since
RELENG_5_4_0_RELEASE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Stable server

2005-08-16 Thread dpk
On Tue, 16 Aug 2005, dpk wrote:

 On Tue, 16 Aug 2005, Carstea Catalin wrote:

  what version of freebsd do u recomand for a stable server?

 4.11 is solid, hasn't shown any problems here. 5.4 is the best of the 5.x
 series but we (I mean at my company, not speaking as a FreeBSD rep)
 haven't put it through as much stress as we have 4.11 .

I forgot to mention the other reason I recommend 4.11 first:

http://www.freebsd.org/security/index.html

4.11-R is scheduled to receive security updates 8 months longer than
5.4-R, which may be relevant if you want to stick with a specific version
for a while.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Aggregated bandwidth

2005-08-16 Thread David
Hello, I have an extra box laying around that I would like to experiment
with aggregating cable modem bandwidth. I have 3 nics and 3 cable modems and
I would to know if there any way or any app that I can use to combine all 3
modems into one 4.5 meg service. What about upstream also?

This email is sent as a personal and private communication and is intended
for the recipient only. Any divulgence of the contents of this email to
persons not addressed is strictly forbidden. Further you or your agent are
not authorized to share, rent, or sell this email address to anyone.
Violators will be reported.

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-16 Thread jason

Mark Kane wrote:

Hi, thanks for the response. The thread somehow got broken up due to 
some subject formatting (there was a space inserted somehow). Here are 
the threads:


http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095212.html 

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095227.html 

http://lists.freebsd.org/mailman/htdig/freebsd-questions/2005-August/095335.html 



I have 5 hard drives, and when copying data between them in certain 
configurations (such as drive placement) I get READ and WRITE wouldn 
errors. All the cables are brand new, as are two of the hard drives.


Similar errors happened on the last board I had. I had the same model 
(Giga-Byte K8NS Pro) a couple months ago that had other issues in 
addition to this. I sent it to the factory for a RMA, and a brand new 
one came back. Before I sent it in, I was using Windows XP and it 
would automatically downgrade it to 100 so I wouldn't see any errors. 
When I switched over to FreeBSD and it tried to operate in 133 mode, I 
got errors instead of the OS trying to hide it.


Note that throughout this whole problem I never got a FAILURE 
message until today, except that is only on one drive, and one that I 
think is in fact going bad.


It's gotta be something with the controller.

I can't get you the dmesg info right now since I'm doing a scan on 
that one hard drive that I think is failing. But it is an nForce 3 
chipset on a Giga-Byte K8NS Pro motherboard.


I would really like to solve the DMA problems, but if not I think the 
easiest is trying to downgrade it to UDMA100 on boot, which is what 
this post is about.


Thanks

-Mark

jason wrote:


Mark Kane wrote:

Hi everyone. I've had a thread going here on the lists about DMA 
problems in 133 mode. In a nutshell, some drives give DMA_WRITE and 
DMA_READ errors when in 133 mode with certain configurations, 
however don't have any problems in 100 or 66 mode. After looking in 
to many solutions I think I'm just going to run it at 100, since 
from my research the benefit isn't that noticeable.


I know about atacontrol to set it manually, but I'd like to set 
UDMA100 mode automatically on boot since I have 5 hard drives. I 
also know the sysctl hw.ata.ata_dma, but that doesn't say anything 
about using 100 vs 133.


Thanks in advance.

-Mark

Sounds like a cable issue, but could it be a buggy bios?  How about 
some information since I did not see your previous postings.



  dmesg|grep DMA
atapci1: nVidia nForce2 UDMA133 controller port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0
ad0: 38172MB MAXTOR 6L040J2/A93.0500 [77557/16/63] at ata0-master 
UDMA133



Also if I don't have a cd in the drive I get acd0: CDRW LITE-ON 
LTR-40125S/ZS0K at ata1-master PIO4 for acd0.  If there is a disc 
in the drive it is set to UDMA66 at boot up.   Or first use  if it 
was not in at boot.




I checked the links and saw no dmesg or drive models for all drives.  I
can tell you UDMA 133 was not an official spec, a least at first.  It
was a maxtor only thing, and not all chipsets handled it.  Basically
maxtor tightened the timings on the ide cable signals to squence extra
data.  If you have new and old drives, plus different brands I would not
expect to run at 133 speeds.  I don't care to look it up now, but you
may want to find out if any other drive manufactures support the 133
spec today.  Also there are load and signal degregation issues with to
think about with longer cables.  If you have a full tower case with the
longest cables you can buy you won't get max speeds even at the 133
setting.  If you know someone whos works in a pc rpair shop you could
ask them what cable length does to drive speeds.  I am told if you want
to copy drives for customers you want to get a good cable, but only with
1 device per cable and get it as short as possible.  A 2 inch cable will
dramatically shorten the time to copy whole drives compared to a 16 inch
cable.

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


Re: How to Force UDMA100 Mode on Boot?

2005-08-16 Thread Mark Kane

jason wrote:

I checked the links and saw no dmesg or drive models for all drives.  I
can tell you UDMA 133 was not an official spec, a least at first.  It
was a maxtor only thing, and not all chipsets handled it.  Basically
maxtor tightened the timings on the ide cable signals to squence extra
data.  If you have new and old drives, plus different brands I would not
expect to run at 133 speeds.  I don't care to look it up now, but you
may want to find out if any other drive manufactures support the 133
spec today.  Also there are load and signal degregation issues with to
think about with longer cables.  If you have a full tower case with the
longest cables you can buy you won't get max speeds even at the 133
setting.  If you know someone whos works in a pc rpair shop you could
ask them what cable length does to drive speeds.  I am told if you want
to copy drives for customers you want to get a good cable, but only with
1 device per cable and get it as short as possible.  A 2 inch cable will
dramatically shorten the time to copy whole drives compared to a 16 inch
cable.


Well now I can't even get two drives on the same channel to mount 
together. If one is mounted and I try to mount the other one on the same 
channel, the other gets immediate DMA_READ problems and then failures. 
This is trying two brand new drives with brand new cables.


If I eliminate one of the drives and run one on each channel, they all 
work fine together. I'm not sure if that rc.local trick that was 
suggested would work now. I don't know if drives get mounted before 
rc.local would get executed or not.


Going to have to bring back my thread on the errors.

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


Re: After Partitioning a Drive: WARNING - WRITE_DMA UDMA ICRCerror (retrying request)

2005-08-16 Thread Mark Kane
OK. Now I really am at a loss for words. I experienced my first FAILURE 
message this morning when trying to fdisk my last newly formatted 160GB 
drive. The second fdisk would start to write, my screen would fill with 
WRITE_DMA WARNINGS and FAILURES. That was with another drive on the same 
controller. I removed that drive, and everything works fine.


I just got another brand new 200GB drive within the last hour. Even it 
on the same channel as anything else causes errors upon mount, and 
FAILUREs as well. Then I cannot shut down properly because the errors 
continue even to the shutdown sequence. Then on the next boot I get 
messages about things not being properly dismounted. (First time 
happening).


I don't know if it's hardware or FreeBSD anymore. I read this thread on 
freebsd-stable earlier today, and then all of a sudden I start getting 
all the failures that I never got before:


http://lists.freebsd.org/pipermail/freebsd-stable/2005-August/017636.html

So please, anybody...Is this a controller incompatibility with my other 
hardware (drives) or a FreeBSD problem?


Up until now I was 98% certain it was hardware in some way, but now I'm 
not sure. I have the opportunity to get an Asus board to test, but I'm 
not going to shell out money for something if it isn't even a hardware 
problem.


Thanks very much.

-Mark

Mark Kane wrote:
Well, it's a week later and I've been trying some things. I don't want 
to get in to too much complicated detail, but I've now got the following 
disk setup:


Primary Master - 200GB 7200RPM
Secondary Master - TDK VeloCD CD Burner
Secondary Slave - Sony DRU500A
RAID0 Master - 160GB 7200RPM
RAID0 Slave - 160GB 7200RPM

I don't have the two 80GB's or 60GB's in there now since I was just 
testing with this setup. I thought keeping the OS drive on primary 
master and the rest on RAID would do the trick, but it didn't.


Bottom line is, I'm still getting the same errors with several different 
configurations of the drives. Now in the last couple of days I'm also 
getting READ DMA errors when reading from one of the 160GB drives as 
well. Before it was all just WRITE, but now some READs are thrown in 
there as well.


I should note that I have never seen a FAILURE message, only the 
WARNING messages. Also, if I downgrade the speed to UDMA100, it seems 
to work just fine as it does in UDMA66 mode.


I'm wondering if anyone else has any ideas? Personally I'm out, and if 
nobody else knows (including Maxtor, Giga-Byte, and my parts 
distributor) then I'm going to have to see what I can do to get another 
brand/model motherboard. I'm to the point where I think it's something 
with their controller and how it handles Maxtor drives. Now that I 
remember, I used to see similar results when running Windows on the 
previous board before sending it in (same model). However Windows would 
automatically take it down to 100 so I didn't see any errors.


Anyone think its something other than the board and it's controllers, or 
is that a pretty good estimate?


Thanks in advance.

-Mark

Mark Kane wrote:

Okay well I tried another test. I left the 160GB on the primary IDE 
channel, took out both optical drives, and put the 60GB on the 
secondary IDE channel by itself.


I copied the data over again. No errors this time. I checksummed the 
data, and everything is OK.


Chuck Swiger wrote:

Without another known-working mainboard to test, you can't really be 
sure, but it's a hardware problem of some sort, perhaps due to poor 
cabling, perhaps a marginal or failing mainboard.




The cables are new, and the other drive on the same channel works in 
UDMA133 with no errors.


The motherboard is new as well, fresh from the factory (unless it's 
defective).


If you use BIOS or atacontrol to slow down to UDMA 33 speeds, does 
everything work OK?




I tried slowing it down to UDMA66 speeds via atacontrol, and the 
errors went away on the 80GB. I haven't tried the 60GB drive yet.


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



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


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


/usr/src 'make buildworld' problem

2005-08-16 Thread Shane James
#uname -a
FreeBSD uplink-rtr-pta.virtek.co.za 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 
 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

When I run a 'make buildworld' I get this error...

--
 stage 1.1: legacy release compatibility shims
--
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj/usr/src/i386  INSTALL=sh 
/usr/src/tools/install.sh  
PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/obj/usr/src/i386  MAKEFLAGS=-m /usr/src/tools/build/mk  -m 
/usr/src/share/mk make -f Makefile.inc1  DESTDIR=  BOOTSTRAPPING=500043  
-DNOHTML -DNOINFO -DNOLINT -DNOMAN -DNOPIC -DNOPROFILE  -DNOSHARED 
-DNO_CPU_CFLAGS -DNO_WARNS legacy
=== tools/build
/usr/obj/usr/src/i386/usr/src/tools/build created for /usr/src/tools/build
cd /usr/src/tools/build; make buildincludes; make installincludes
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444  
/usr/src/tools/build/../../include/getopt.h 
/usr/obj/usr/src/i386/legacy/usr/include
*** Signal 11

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

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

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

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

Stop in /usr/src.

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


Re: Creating standalone passwords in /etc/passwd format

2005-08-16 Thread Daniel Marsh
On Tue, 16 Aug 2005 18:07:06 +0800, Gareth Bailey [EMAIL PROTECTED]  
wrote:



I have had a look at crypt (enigma), but it doesn't appear to use the
same algorithm? I need the same as that used in passwd!

Thanks


Try making a PERL script with the following lines...

$UserDetails{EncryptedPassword} = crypt($UserDetails{TextPassword}, join  
'', ('.', '/', 0..9, 'A'..'Z', 'a'..'z')[rand 64, rand 64]); # this  
creates an encrypted password the same format as the MD5 in /etc/passwd


my $PassMD5 = crypt($Login-{Password}, $EncryptedPassword); # this  
creates the same MD5 string, used for verification of entering passwords  
encrypted with the above method.


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


pdftotext binary

2005-08-16 Thread Rodney Phillips
I am using PowWeb for my hosting.  They are using FreeBSD Unix 5.13 for their 
systems.
 
I need pdftotext binaries to upload to their server.
 
Can anyone point me to these binaries?

Thanks


-
 Start your day with Yahoo! - make it your home page 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where is the emulators/vmware3 tarball?

2005-08-16 Thread JD

Where should I look for the emulators/vmware3? The port is looking to
find it  on various conxion.com servers which give Permission denied and
it can't be found in ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/
either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pdftotext binary

2005-08-16 Thread Kevin Kinsey

Rodney Phillips wrote:

I am using PowWeb for my hosting.  They are using 
FreeBSD Unix 5.13 for their systems.
 



Hmm, really?  The last 5.X release was 5.4, and 6.0 is
on the way, so I doubt FreeBSD will ever reach 5.13 -
and, if it does, it'll likely be in 2008-2009 or so.  You
might want to ask for clarification on this.



I need pdftotext binaries to upload to their server.

Can anyone point me to these binaries?
 




Perhaps Google.  Or someone else.  I can find no
pdftotext in the ports tree (about 1
programs there).  I might suggest xpdf as an
alternative, but I only assume it does ASCII, as
I've not used the port:

Port:   xpdf-3.00_6
Path:   /usr/ports/graphics/xpdf
Info:   Display PDF files, and convert them to other formats
Maint:  [EMAIL PROTECTED]
B-deps: autoconf-2.59_2 expat-1.95.8_3 fontconfig-2.2.3,1
freetype2-2.1.9 gettext-0.14.5 gmake-3.80_2 imake-6.8.2 libiconv-1.9.2_1 
m4-1.4.
3 open-motif-2.2.3_2 perl-5.8.6_2 pkgconfig-0.17.2 t1lib-5.0.1,1 
xorg-libraries-6.8.2
R-deps: expat-1.95.8_3 fontconfig-2.2.3,1 freetype2-2.1.9 gsfonts-8.11_2 
imake-6.8.2
open-motif-2.2.3_2 perl-5.8.6_2 pkgconfig-0.17.2 t1lib-5.0.1,1 
xorg-libraries-6.8.2

WWW:http://www.foolabs.com/xpdf/

HTH,

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


Re: Stable server

2005-08-16 Thread Nikolas Britton
On 8/16/05, dpk [EMAIL PROTECTED] wrote:
 On Tue, 16 Aug 2005, Carstea Catalin wrote:
 
  what version of freebsd do u recomand for a stable server?
 
 4.11 is solid, hasn't shown any problems here. 5.4 is the best of the 5.x
 series but we (I mean at my company, not speaking as a FreeBSD rep)
 haven't put it through as much stress as we have 4.11

4.x compared to 5.x will always be more stable
5.x compared to 6.x will always be more stable
6.x compared to 7.x will al

Do you see a trend? 4.x works now but what about in another year, two
years, or three? Try running the last version of 3.x on today's
hardware and software, 4.x is already having problems with hardware
support. FreeBSD 6 already has a -STABLE and it's first release is
just around the corner, It would be unwise to deploy 4.x unless
specifically needed If you need to build the next Mars rover or a
persons life depends on the system working then use 4.x, If your
deploying a new web server or what not you want 5.x, possibly even 6.x
if you can wait another month or two.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: How to limit the nat's stream speed?

2005-08-16 Thread he ccjj
Good,I use your method to solute the problem,i do like this:
add dummynet_enabe=YES to /boot/loader.conf
then
add these lines to /etc/rc.firewall:
   ${fwcmd} add pipe 1 ip from ${inet} to any out limit src-addr 400
   ${fwcmd} add pipe 2 ip from any to ${inet} in  limit src-addr 400
   ${fwcmd} pipe 1 config delay 2ms bw 10Mbit/s
   ${fwcmd} pipe 2 config delay 2ms bw 10Mbit/s
yeah!
But the speed was limited to about 350KB/s when i download enven in LAN!
I changed scr-add and delay and bw,it's like that have no effect
except deleting delay 2ms(about 800KB/s without delay). The users of
LAN will hate me from now! :


2005/8/10, Adi Pircalabu [EMAIL PROTECTED]:
 On Wed, 10 Aug 2005 13:31:28 +0800
 he ccjj [EMAIL PROTECTED] wrote:

  I use freebsd5.4+ipfw+natd to setup a box for sharing internet,it's
  work fine.But i have a very serious problem:
  Some computer of my inner user was attacked by virus,they make very
  big volume of stream to internet,so the natd will occupy almost all
  the cpu,the others can't visit internet at all !! Is there a solution
  to limit the natd's cpu occupancy or limit every user's stream speed?

 You may take a look at ipfw(8) manpage and search for dummynet
 configuration.
 For example, if you know the offending IP, you can try something like
 this:

 kldload dummynet
 ipfw pipe ${pipe-num} config bw ${max-bw}
 ipfw add ${rule-num} pipe ${pipe-num} ip from ${offending-IP} to any

 It's a very simple example, take it as a starting point.
 Bye

 --
 Adi Pircalabu (PGP Key ID 0x04329F5E)


 --
 This message was scanned for spam and viruses by BitDefender.
 For more information please visit http://www.bitdefender.com/


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


MS 9129 wont boot 5.4CD but will 4.11

2005-08-16 Thread Chris Ryan
Hi 

We have a microstar model ms9211 1ru server with p4 1.3 512mb ram...


Mobo ms 9129 Ver 1


It boots all other cd's inc many other os's inc freeBSD 4.10 [ which was
running fine for a long time on this box ]



With 5.4 it doesn't even boot the CD






WB Fasttrack lite Bios 2.00.1030.27

Scans ide drives etc etc and

starts all normally until the boot from CD:.


Btloader starts I think [ very quick before panic]

then screen dumps..looks like int 000d err 


I have run this with hyper threading enabled and disabled.


Any suggestions

Thanks in advance 


Cheers

Chris



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


RE: resolv.conf

2005-08-16 Thread Ted Mittelstaedt
just set the resolv.conf read-only, that should take care of it.

Ted

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Ronny Machado
C.
Sent: Tuesday, August 16, 2005 7:07 AM
To: freebsd-questions@freebsd.org
Subject: RE: resolv.conf


yep bro...that's it...

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de
Lowell Gilbert
Enviado el: Martes, 16 de Agosto de 2005 10:02
Para: Ronny Machado C.
CC: freebsd-questions@freebsd.org
Asunto: Re: resolv.conf


Ronny Machado C. [EMAIL PROTECTED] writes:

 Hi list,

 I'm new to FreeBSD, and this is the first time I configure a
FreeBSD box. Ok, let's get to the point: my problem is with DNS
resolution, form some reason the resolv.conf changes after some
time (10  to 20 minutes), from my DNS IP to the rl0 IP. Does
any one know why? My machine is an AMD64/FreeBSD 5.3 with PPPoE
for an ADSL connection,

You are using DHCP on rl0, with a lease of an hour or less?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date:
8/15/2005

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 8/15/2005

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


Re: pdftotext binary

2005-08-16 Thread Erik Trulsson
On Tue, Aug 16, 2005 at 09:26:45PM -0500, Kevin Kinsey wrote:
 Rodney Phillips wrote:
 
 I am using PowWeb for my hosting.  They are using 
 FreeBSD Unix 5.13 for their systems.
  
 
 
 Hmm, really?  The last 5.X release was 5.4, and 6.0 is
 on the way, so I doubt FreeBSD will ever reach 5.13 -
 and, if it does, it'll likely be in 2008-2009 or so.  You
 might want to ask for clarification on this.
 
 
 I need pdftotext binaries to upload to their server.
 
 Can anyone point me to these binaries?
  
 
 
 
 Perhaps Google.  Or someone else.  I can find no
 pdftotext in the ports tree (about 1
 programs there).  I might suggest xpdf as an
 alternative, but I only assume it does ASCII, as
 I've not used the port:
 
 Port:   xpdf-3.00_6
 Path:   /usr/ports/graphics/xpdf
 Info:   Display PDF files, and convert them to other formats
 Maint:  [EMAIL PROTECTED]
 B-deps: autoconf-2.59_2 expat-1.95.8_3 fontconfig-2.2.3,1
 freetype2-2.1.9 gettext-0.14.5 gmake-3.80_2 imake-6.8.2 libiconv-1.9.2_1 
 m4-1.4.
 3 open-motif-2.2.3_2 perl-5.8.6_2 pkgconfig-0.17.2 t1lib-5.0.1,1 
 xorg-libraries-6.8.2
 R-deps: expat-1.95.8_3 fontconfig-2.2.3,1 freetype2-2.1.9 gsfonts-8.11_2 
 imake-6.8.2
 open-motif-2.2.3_2 perl-5.8.6_2 pkgconfig-0.17.2 t1lib-5.0.1,1 
 xorg-libraries-6.8.2
 WWW:http://www.foolabs.com/xpdf/

'pdftotext' is part of xpdf, so installing graphics/xpdf either as a package
or as a ports will get you a pdftotext binary.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MS 9129 wont boot 5.4CD but will 4.11

2005-08-16 Thread Gary W. Swearingen
Chris Ryan [EMAIL PROTECTED] writes:

 starts all normally until the boot from CD:.

I would first boot another unixy OS off HDD or Live CD and compute the
md5 checksum of the CD (maybe using dd bs=2k ... once to size
the CD and once to exclude that last two blocks) and compare with
the checksum listed at www.freebsd.org.  Or make another CD or
CD image and compare md5sums or just diff the two CDs or CD  image.

If OK, and I was pretty convinced that there was a bug of some kind,
I'd try asking on the 5.4 mailing list, freebsd-stable, and/or file a
formal problem report, or since such problems are tough to debug,
especially by those without the hardware in question, I might just
boot off a floppy (images are on the CD) or install from an older OS
version until I could upgrade from the new CD using sysinstall after
booting the older OS from the HDD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recommend a file manager

2005-08-16 Thread Campbells
Hey everyone,

I run Fluxbox and I'm looking for an efficient, complete and good looking file 
manager.  Any suggestions?

Thanks

GarethNo virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 15/08/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Recommend a file manager

2005-08-16 Thread Daniel Marsh
On Wed, 17 Aug 2005 13:53:17 +0800, Campbells [EMAIL PROTECTED]  
wrote:



Hey everyone,

I run Fluxbox and I'm looking for an efficient, complete and good  
looking file manager.  Any suggestions?


Thanks

Gareth



Use the following, ls, cd, rm, mkdir, rmdir, chmod, chown, chflags,  
getfacl and setfacl in a console.


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