Re: failed to start X

2004-09-13 Thread Eric.Yu
On Mon, 13 Sep 2004 00:08:23 -0400, Parv <[EMAIL PROTECTED]> wrote:
> in message <[EMAIL PROTECTED]>,
> wrote cry stone thusly...
> >
> > after installed apache + mysql + php from port,when i run startx i got
> > "/libexec/ld-elf.so.1: Shared object libexpat.so.4 not found, required
> > by libfontconfig.so.1"
> 
> X Windows has nothing to do w/ apache, mysql, or php.
> 
> How did you install last three pieces of software anyway?
> 
> 
> > i google it find that because the expat was upgrade to
> > expat-1.95.7,and the libexpat.so.4 is instead by libexpat.so.5,so
> > i run portupgrade -rf textproc/expat2
> 
> You need to recompile all the software that was dependent on
> libexpat.so.4 so that it would be dependent on libexpat.so.5.
> 
> In the mean time, see if a link from libexpat.so.5 to libexpat.so.4
> would satisfy the failing applications.  That did work for me until
> i had the time to recompile the depending software.
> 
> For the next time, remember to upgrade depending software when
> you upgrade dependency software.
> 
> I personally stay away from using portupgrade to actually do
> upgrade; wait for others to resolve your issues w/ portupgrade.
> 
> 
> > and make world but it still failed.
> 
> Wow, that is really unnecessarily excessive!
  YES,it cost me 3 hours to finish it!
> 
> You can upgrade ports software from the ports w/o the need of
> upgrading the base system.  (In most cases anyway.  Sometimes one
> would need to upgrade base system *eventually* to be able to
> build/install software from ports.  But that's another thread.)
Agree with you! I would not miss it next time! Thanks
for your reply.

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


Re: can't start Apache 1.3 server in freeBSD 4.9 release #0

2004-09-13 Thread Dirk-Willem van Gulik


On Sun, 12 Sep 2004, Sujit Dey wrote:

>  127.0.0.1, but using "/usr/local/sbin/apachectl start", can't start
> the Apache server. It is giving httpd can not be started. I followed

> [alert] mod_unique_id: unable to gethostbyname()

Set the hostname in /etc/rc.conf (add 'hostname='www.foo.com' in the
/etc/rc.conf file),

# /etc/rc.conf
...
hostname="www.foo.com"

and/or add it to the /etc/hosts file as

# /etc/hosts
::1 localhost localhost.foo.com www.foo.com
127.0.0.1 localhost localhost.foo.com www.foo.com

and/or edit /usr/local/etc/apache/httpd.conf and uncomment and set the
value in 'ServerName' in the top 1/3 of the file:

#/usr/local/etc/apache/httpd.conf

#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName www.foo.com


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


KVM Recommendations

2004-09-13 Thread Graham Bentley

Hi All,

Can anyone recommend a 4 Port KVM (UK Supplier ) that will work with 
FreeBSD (and not too expensive :)

I have just recently racked my 4 boxes and have a Protec Bytelan VS4.

The main problem is moused / XMouse - annoyingly it works with Winblows 
but not my FreebSD box - keyboard is OK.

I have Googled about and tried various flags etc to no avail although
alot of posts suggests upgrading the KVM to something more modern ?

(Notice that some even specify the type of OS / mouse support)

I have one of those Wheel Mouse optical things with a certain company 
logo on it. It has a USB to PS/2 adapter and it says its PS/2 compatible.

I have also tried several other PS/2 mices :(

Any suggstions welcome :)

Graham


Custom PC North West
Open Source Solutions
http://www.cpcnw.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: alias binding

2004-09-13 Thread Subhro
You can allow a particular user to access a particular IP. Set up a
ipfw furewall and allow outgoing/incoming connections from a
particular ip based on UID. Block all other Ips. Refer to man ipfw for
further details

Regards
S.


On Sun, 12 Sep 2004 17:09:54 -0600, Trysch <[EMAIL PROTECTED]> wrote:
> i was wondering if there was a way to bind an aliased ip address to a
> specific users account
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Omni Drivers for a Canon Printer

2004-09-13 Thread Gerard Seibert
On Sun, 12 Sep 2004 09:47:51 -0500 Ned Harrison <[EMAIL PROTECTED]>
wrote:

|>Date: Sun, 12 Sep 2004 09:47:51 -0500
|>From: Ned Harrison <[EMAIL PROTECTED]>
|>Subject: Omni Drivers for a Canon Printer
|>To: [EMAIL PROTECTED]
|>Message-ID: <[EMAIL PROTECTED]>
|>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
|>
|>I dual boot FreeBSD 5.2.1 with Redhat Linux 9.   I am trying to set up 
|>my printer which is a Canon S520 to print on the FreeBSD side.  
|>Running apsfilter SETUP I can get the printer to respond but the quality 
|>of the test prints have been poor.  On my Linux side, however, the 
|>printer runs fine using one of the Cannon BJP printers and a Omni print 
|>driver.  
|>
|>When I ran apsfilter SETUP in FreeBSD I found the same printer but I 
|>don't have the Omni drivers installed.  I've searched through my 
|>installation disks and looked through the ports but did not find any 
|>reference to Omni drivers. 
|>
|>Where would I find these drivers?  Are they in the Ports under a 
|>different name?  Or should I just break down and buy a new printer?  If 
|>there is another way to get this printer up an running, I'm willing to 
|>give it a try.
|>
|>Thanks


** Reply Separator **
Monday, September 13, 2004 5:42:12 AM

I do not know if this will be of any help or not, but you might want to
check it out. This is the URL where I located a driver for my Canon S630
printer.

< http://www.linuxprinting.org/printer_list.cgi >

Good Luck!

Gerard Seibert
[EMAIL PROTECTED]


   _-_
  //   {|||} 0]_
  ||  {|||}   \-]  Things were getting pretty
   \\{|||}_\   hot in the back of my car
\\  {|||}/     when she screamed out
 \\ /  "Kiss Me Where it Smells!!"
 / |
 |Bud Man  |   So I drove her to New Jersey!
 \| --- \
   |   ||
   ||   ||
   ==   ==


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


ncplib BSD 5.2.1-R - it crashes

2004-09-13 Thread DA Forsyth
hiya

I'm in the prcess of setting up a FreeBSD machine in order to replace 
an existing Novell 3.12 server.

I thought I could use 'ncplib' to connect to the Novell server and in 
this way transfer the data directly.

fat chance
I get a series of 'flag 12' kernel panics and it reboots itself.
this happens instantly when I try a 'ncplogin' but can also happen 
spontaneously.

To get to this point I
compiled IPX into the kernel
setup /boot/loader.conf to load the if_ef, nfs, and ncp modules
put an infonfig line in /etc/rc.conf to setup the ipx protocol on the 
network card.

all that appear to be happy with life, unless I try to USE it. >-:

now, I thought I'd install the port (I was just using what installed 
when I installed FreebSD5.2.1-R fro CD last week) but none of the 
mirrors have the file ncplib-1.3.4.tar.gz

what now?



--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer  -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/



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


Sound in 5.2.1-RELEASE w/ KDE 3.3.3

2004-09-13 Thread Mark Cartwright
Hey all,

I've been a FreeBSD user for servers for a very long
time (starting with 2.1-RELEASE) and recently decided
to give it a whirl for my work laptop workstation.

For the most part, everything is great.

However, after installing KDE 3.3.3 out of the ports
collection (from source, as 5.2.1 ships with 3.1.4 and
I wanted the newer version), sound seems to behave
oddly.  Upon reboot, sound works from the console and
also when KDE first starts up, although my "Starting
KDE" system event sound is clearly cut short.  Beyond
that, no sound works either from X or from the
console.

I've looked at the process list as well as at loaded
kernel modules, but can't seem to figure out what the
cause might be.

For reference, the kernel I am using is straight out
of /usr/src/sys/i386/conf/GENERIC, but with the pcm
driver added for sound (I have a Crystal Audio sound
card, so have loaded no additional PCI/ISA drivers).

Let me know if there is any more information I can
provide to help track this down, or if someone has
encountered this and knows a quick fix.  When
replying, please include my email directly as well as
the list as I only get the digest and would like to
keep the response separate if possible.

Thanks a bunch in advance!



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


problems installing java

2004-09-13 Thread Brett Wiggins
hi,
   I am using FreeBSD 5.2.1 -RELEASE as a desktop and have come across some problems 
when installing java. I downloaded the files listed in the handbook into 
/usr/ports/distfiles/ and went to install /usr/ports/java/jdk13 with 'make install 
clean'. The installation starts 
then stops saying that i need to download a diablo caffe file and place it in 
/usr/ports/distfiles/. I download the file, start the install again and get the 
following;

# Start of jdk build
i386 Build started:   1.3.1-p8-root-040913-23:10
ERROR: Your BOOTDIR environment variable does not point
   to a valid Java 2 SDK for bootstrapping this build.
   A Java 2 SDK 1.3.1 build must be bootstrapped against any
   1.3 build. Please update your ALT_BOOTDIR setting, or
   just unset it, and start your build again.
 
Exiting because of the above error(s).
gmake: *** [sanity] Error 1
*** Error code 2
 
Stop in /usr/ports/java/jdk13.

What does this error message mean? I have all the files that were listed in 
/usr/ports/distfiles what am I missing or doing wrong?

thanks

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


problems with X11.

2004-09-13 Thread Kangaroo
Hi 
I have problems with setup xf86cfg . My hardware is
pci geforce 4 mx -440 -se - 64M ram
monitor envison hz: 30 -70 scan ; vert 50 -150 scan
XFree86-4.3.99-1.5.p? 
I can't make it work! .
When I set up save and receive the message:
mouse  successfully.
X.0 8 ... broken... .I can't remember exactly..

When I run startx ... It even tell mouse also failed...
X .0 .8 broken

I have manually play around with HorizSync , and Vert..
It does not seem work either.

- I have second box.. which is openbsd with same monitor
and have S3 -trio 64V. which also have same version of
XFree86 - server
I do same configuration as Freebsd 5.21. box.. It work for
me... 
What 's wrong with XFree86 on FreeBSD?
Anyone can give me a shout?
Thanks.
K.Dao




___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


State of 5.3 on Sun Blade 100

2004-09-13 Thread 3BSD
Hi,

I have a couple of Sun Blade 100 workstations, and I would like to
install FreeBSD on one or both of them. The last time I tried (5.1-R,
and I read that the situation has not improved much with either 5.2 or
5.2.1), there was no keyboard/mouse/floppy support and you had to
install FreeBSD using a serial console. Has that (or will that) change
with 5.3-RELEASE/STABLE?

I would like to use one of the Blade 100s as a dedicated workstation,
and if 5.3-R works fine, I'll buy a nice LCD display for it.

Anyone care to shed some light on this?

Thank you.

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


Re: problems installing java

2004-09-13 Thread Santo Natale
You need to install linux-sun-jdk13 or linux-ibm-jdk13 from /usr/ports/java to be able 
to build jdk13.
hope this will help,
bye,
santo

On Mon, Sep 13, 2004 at 12:53:34PM +, Brett Wiggins wrote:
> hi,
>I am using FreeBSD 5.2.1 -RELEASE as a desktop and have come across some problems 
> when installing java. I downloaded the files listed in the handbook into 
> /usr/ports/distfiles/ and went to install /usr/ports/java/jdk13 with 'make install 
> clean'. The installation starts 
> then stops saying that i need to download a diablo caffe file and place it in 
> /usr/ports/distfiles/. I download the file, start the install again and get the 
> following;
> 
> # Start of jdk build
> i386 Build started:   1.3.1-p8-root-040913-23:10
> ERROR: Your BOOTDIR environment variable does not point
>to a valid Java 2 SDK for bootstrapping this build.
>A Java 2 SDK 1.3.1 build must be bootstrapped against any
>1.3 build. Please update your ALT_BOOTDIR setting, or
>just unset it, and start your build again.
>  
> Exiting because of the above error(s).
> gmake: *** [sanity] Error 1
> *** Error code 2
>  
> Stop in /usr/ports/java/jdk13.
> 
> What does this error message mean? I have all the files that were listed in 
> /usr/ports/distfiles what am I missing or doing wrong?
> 
> thanks
> 
> Brett
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ncplib BSD 5.2.1-R - it crashes

2004-09-13 Thread Daniel Bye
On Mon, Sep 13, 2004 at 12:25:29PM +, DA Forsyth wrote:
> hiya
> 
> I'm in the prcess of setting up a FreeBSD machine in order to replace 
> an existing Novell 3.12 server.
> 
> I thought I could use 'ncplib' to connect to the Novell server and in 
> this way transfer the data directly.
> 
> fat chance
> I get a series of 'flag 12' kernel panics and it reboots itself.
> this happens instantly when I try a 'ncplogin' but can also happen 
> spontaneously.
> 
> To get to this point I
> compiled IPX into the kernel
> setup /boot/loader.conf to load the if_ef, nfs, and ncp modules
> put an infonfig line in /etc/rc.conf to setup the ipx protocol on the 
> network card.
> 
> all that appear to be happy with life, unless I try to USE it. >-:
> 
> now, I thought I'd install the port (I was just using what installed 
> when I installed FreebSD5.2.1-R fro CD last week) but none of the 
> mirrors have the file ncplib-1.3.4.tar.gz

I've just been able to fetch the tarball from here:

ftp://ftp.butya.kz/pub/nwlib/ncplib-1.3.4.tar.gz

Fetch it manually, put it in /usr/ports/distfiles and you should be
away.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpTrXIJsF5ho.pgp
Description: PGP signature


Samba3 and FreeBSD. Does it work?

2004-09-13 Thread Michael Josefsson
Hello. I have spent the better part of last week trying to get Samba3 
to work on my FreeBSD-server. Now I have 3.0.6 but the connectivity to 
Suse-clients is not OK.

The setup is a FBSD server with nfs-mounted homedirectories. I want to 
re-export these to Suse-clients via Samba and want to be able to use 
hard and softlinks in from the client.

Between Suse-server and Suse-client I can do this and between 
Suse-client and Solaris. But I find no way between BSD server and BSD 
client nor between BSD server and Suse-client.

The FBSD way of mounting to samba seems to be the mount_smbfs command 
and not samba's own smbmount. I get a "ln: Operation not supported" and 
I hope this is ONLY due to the client?

Is there any way to force compilation of smbmount from ports? It is not 
built per default and a "make bin/smbmount" errs with "no such file" 
for mntent.h asm/types.h and linux/smb_fs.h. Which is a bit odd as I 
imagined that the sources should be portable?

Is this - shudder - a lack in the server-samba-3.0.6 on this platform?
Any ideas om this? Or enlightenments...
Please reply to me directly as I am not subscribed to this list right 
now.

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


Re: booting beta3 on A7N8X

2004-09-13 Thread John DeStefano
> On Sunday 12 September 2004 02:56 pm, "Lee Harr"
> <[EMAIL PROTECTED]> 
> wrote:
> 
> > On 2004-09-12, Joshua Tinnin <[EMAIL PROTECTED]> wrote:
> > >Well, I'm not entirely sure, either, but in any event I don't
> think
> > >you'll need to go that far. However, I think you'll probably have
> to
> > >stick with 5.x so that your hardware will be supported.
> >
> > Thanks for your help. Once I disabled firewire in the BIOS, the
> > 5.3-beta3 booted and installed just fine.  :o)
> 
> That's funny ... you know, come to think of it I might have done this
> a 
> long time ago, as I tend to configure the BIOS to just enable what I 
> need or might use. Also, dmesg doesn't seem to indicate firewire is 
> there, but there are a few unknowns that might be firewire. I
> primarily 
> bought this board because of the AGP slot, Althon support and general
> 
> reviews by overclockers and gamers, though I've read of some trouble 
> with RAID and firewire on some OSes but haven't tried it myself. I 
> figured if I really want to go with RAID I'll invest in a separate 
> controller with a good reputation. Anyhoot, for general use these 
> boards seem to work fine, and it sounds like it's not a big deal for 
> you to not have firewire support, so there ya go. Have fun! :)
> 
> - jt

You might also try disabling ACPI; I have the same board and this
worked for me.  Of course, getting the other onboard stuff to work
properly has been a whole different challenge
~John



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPFILTER - Understanding log entries

2004-09-13 Thread Darryl Hoar
Greetings,
I have a machine installed with Freebsd & IPFILTER.
The machine is setup as a firewall.

The log files generated are large.  First, is there a
tutorial or tool that will process the log file and show
what the threat is ?  (if there is one).

Also, how do others handle the volume of entries in
the log file ?

thanks,
Darryl

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


5.2.1/5.2current ed0: device timeout

2004-09-13 Thread Peter Much
Hi,

is there anything in 5.2.1-RELEASE (but not in 5.2.1
install floppies) that could make the system dont see
the interrupts from a network card anymore?

- the card configures fine, but reports immediately
  "device timeout".
- in systat I can see that I see nothing: the system 
  has not got any interrupt from the card.
- I compiled the most actual version of the 5.2
  branch, and built a kernel without all unneeded 
  stuff (and disabled multiprocessor): same behaviour.

- The problem does NOT occur when booting the 5.2.1 
  install floppies: I installed thru that card!
- the card is some cheap ISA bus BNC.
- it is not a matter of mediaselect (not supported by
  the card anyway), also the card still works when 
  booting another version.

Next step I would do is compare the install kernel
config with the generic one. But maybe somebody here
has a more specific idea where to look.

rgds,
PMc




__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need advice

2004-09-13 Thread Bill Schmitt

   Thanks, Arden. I picked up a more current card over the weekend. Of
   course, that isn't going so smoothly, either, so you'll probably see a
   new thread later today.
   Bill
   arden wrote:

On Sat, 2004-09-11 at 10:37, Bill Schmitt (SW) wrote:
  

I'm a newbie to FreeBSD, and I like what I've seen so far. I've been 
trying it on a machine I have here to get an idea of the plusses and 
minuses of using it as a basic desktop system. I could use a little 
advice to guide me in the process.

I'm working with Version 4.10 now, simply because at the time I 
downloaded it, the 5 release kept locking up in the middle of the 
detection process. Also, my configuration seems to indicate that I 
should be using XFree86, too, and a lot of the comments here have stated 
that 5 will begin the use of xorg. However, xorg doesn't seem to support 
the graphics adapter on the machine I'm working with (though, tweaking 
XFree86 has been a bit of a challenge!).

The machine I'm working with is a Gateway with a 300MHz PII that had 
otherwise been retired. It started with 32MB of memory which I replaced 
with a single 128MB chip. The motherboard has a built-in graphics 
adapter that was put out by a company called Mpact, which doesn't appear 
on any support list I've been able to find. Apparently the company was 
acquired by somebody, who was then acquired by somebody else (ATI, I 
believe) which then retired the processor. Because of that, when it 
didn't work right away I didn't put too much effort into it. Instead, I 
added a Diamond Stealth 2001 I had with the Arklogic 2000pv chip set and 
2MB of DRAM (from another retired machine) and used xf86cfg to create a 
configuration file that disabled the onboard adapter and worked with the 
Stealth adapter. While I'm not done tweaking it, I have managed to bring 
up xfce at 800x600 in a low color mode, so far. I intend to try out the 
various desktops and Window managers I've seen documented but chose xfce 
to start because the comments here have generally indicated that it's a 
good choice for a light, speedy, environment to begin. I did a full 
install of FreeBSD, beginning with a minimal system from a CD, then 
switching to FTP to continue, which seems to give me more options to 
choose from. I used xf86cfg to get to the point where I can where I can 
use xstart to bring up xfce with the a basic desktop on it. First, I got 
it working with the basic VESA driver, and then with the ARK driver. 
However, While I don't expect the machine to be a speed demon, it still 
seems quite slow in comparison to the MS Windows versions (95 and ME) 
that had previously been on the machine (I did a completely clean 
install, so there are no Windows components, or anything else, left on 
the drive).

Considering all of that, my questions are:
- Am I being unrealistic in choosing a machine with a 300MHz processor?
- If I add another 128MB of memory, should I expect to see a dramatic 
improvement?
- Could the graphics adapter itself be the bottleneck?
- If I picked up a newer graphics adapter that was supported by xorg, 
would a switch to 5.x and/or xorg be expected to pick up the speed a bit?

Thanks to anyone who might help fill in the blanks.

Bill


>From my limited experience I'm not expert when it comes to free BSD 

It depends what you expect from the box but 

I have a similar box (amd 400) running 5.2.1 and its quite happy :)
in my opinion adding ram to any box will may things improve 

I added a cheap Nivdia 64meg video card that works well with Xf86 and
the driver is on the Nvidia site if you want 3d to work 

plan to play with x.org this weekend just downloaded 5.3 

hope this helps 

Arden 

  
  

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

References

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


Re: Need advice

2004-09-13 Thread Bill Schmitt

   I appreciate the suggestions, Peter. I picked up a new card over the
   weekend, and have been working through getting that installed. You'll
   probably see a new note to the list later today on that, since my
   impressions of the installation processes are dropping by the minute.
   Bill
   Peter Ryan wrote:

 

  

-Original Message-
Bill Schmitt (SW)
Sent: Saturday, September 11, 2004 17:37
To: [EMAIL PROTECTED]
Subject: Need advice






Considering all of that, my questions are:
- Am I being unrealistic in choosing a machine with a 300MHz
processor?
- If I add another 128MB of memory, should I expect to see a
dramatic improvement?
- Could the graphics adapter itself be the bottleneck?
- If I picked up a newer graphics adapter that was supported
by xorg, would a switch to 5.x and/or xorg be expected to
pick up the speed a bit?

Thanks to anyone who might help fill in the blanks.

Bill


I am an ultra newbie to everything *nix, so bear that in
mind when considering what I write.

I would watch out for your swap space setting.
One of my 'play' machines has only 64MB memory.
When i set swap too big (512MB on one occasion),
the KDE desktop ran like a dead dog. Switching back
to a more reasonable swap fixed that problem.

I had been installing from the 4.10R CD, included
KDE selected as a desktop. This installed a KDE
package from the CD.  This caused me no end of problems
when I tried to install some other packages wanting
more recent versions of things KDE used.

I may have chosen poorly when selecting what
to do about that, but I have now settled on an install
procedure which seems to avoid most of the problems
I have encountered - so far :)

I install from the 4.10CD, and only select cvsup from
the package collection.  I dont install a desktop from the
list offered during the sysinstall.
I then rebuild the ports completely using cvsup.
I then install /usr/ports/sysutils/portupgrade.
I then run portsdb -Uu
Then I upgrade the few packages that are already
there (primarily XFree86) with portupgrade -a.

This procedure has served me well so far. It is based
on the OnLamp article and much assistance from
Matthew Seaman and others on this list.

[2]http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
[3]http://www.onlamp.com/lpt/a/4111
and the patch suggested by Matthew for a portsdb problem,which worked.
[4]http://archive.pilgerer.org/mharc/html/freebsd-questions/2004-09/msg00563.ht
ml

Once that is done i go on with whatever packages
I want to try, including the desktop.

I found the best place to look through the questions mailing list is
[5]http://archive.pilgerer.org/mharc/html/freebsd-questions/
The layout of threads is excellent

Hope something here helps
Peter

References

   1. mailto:[EMAIL PROTECTED]
   2. http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
   3. http://www.onlamp.com/lpt/a/4111
   4. http://archive.pilgerer.org/mharc/html/freebsd-questions/2004-09/msg00563.ht
   5. http://archive.pilgerer.org/mharc/html/freebsd-questions/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Replicate FreeBSD server

2004-09-13 Thread Jason Lieurance
Hello,

I know this has been asked before but I can't find the answer I'm looking for.
Anyway, we have a FreeBSD 4.7 email (qmail, courier imap) and web (php, Mysql)
server. I want to have a failover server offsite so if the master goes down the
backup will kick in. The backup server needs to have an up-to-date(real-time) copy
of the email(courier-imap), Mysql, and web information. Will rsync do all this as
far the the replication goes? I hope there is open source software for this if not.
I know about clustering products and so forth but I'd like to do this as cheap as
possible.

Thanks.

-- 
Jason


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


HP LaserJet 1000serias

2004-09-13 Thread Лебедев Андрей Александрович
Hello. 

I ask you to help with the decision of a problem with adjustment of a seal. 

System FreeBSD 5.2.1 

Samba 2.2.8. 

Printer HP LaserJet 1000 (USB) 

It is necessary to adjust a seal in LAN with Windows XP. 

Unfortunately I do not speak on английски, 

I ask you if there is an opportunity to send the information in Russian.

 

Здравствуйте.

Прошу Вас помочь с настройкой печати.

Я имею систему FreeBSD 5.2.1

Samba 2.2.8

Printer HP LaserJet 1000 (USB)

Необходимо сделать принт-сервер для клиентов Windows XP.

Лебедев Андрей Александрович.

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


Re: State of 5.3 on Sun Blade 100

2004-09-13 Thread Kevin D. Kinsey, DaleCo, S.P.
3BSD wrote:
Hi,
I have a couple of Sun Blade 100 workstations, and I would like to
install FreeBSD on one or both of them. The last time I tried (5.1-R,
and I read that the situation has not improved much with either 5.2 or
5.2.1), there was no keyboard/mouse/floppy support and you had to
install FreeBSD using a serial console. Has that (or will that) change
with 5.3-RELEASE/STABLE?
I would like to use one of the Blade 100s as a dedicated workstation,
and if 5.3-R works fine, I'll buy a nice LCD display for it.
Anyone care to shed some light on this?
 

If you wait a little while longer and still see no reply to
this message, I'd recommend sending this question over
to [EMAIL PROTECTED]  You might want to
check their charter first, but I'm guessing that they'd
be open enough to consider your question "on topic"
for their list.
I regret that I no absolutely nothing about the state
of FBSD on the *SPARC architecture :-(
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ndis0: No buffer space available

2004-09-13 Thread Jorge Mario G.
Hi there
I'm using
FreeBSD mosca.doom 5.2.1-RELEASE-p9 FreeBSD
5.2.1-RELEASE-p9 #0: Thu Aug 26 10:47:42 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MOSCA i386

I'm using the NDISulator to load my Dell TrueMobile
1300 WLAN Mini-PCI Card, it works really good but
after some have traffic I alway get 
No buffer space availablecat E

=


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ndis0: No buffer space available

2004-09-13 Thread Jorge Mario G.
Hi there
I'm using
FreeBSD mosca.doom 5.2.1-RELEASE-p9 FreeBSD
5.2.1-RELEASE-p9 #0: Thu Aug 26 10:47:42 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MOSCA i386

I'm using the NDISulator to load my Dell TrueMobile
1300 WLAN Mini-PCI Card, it works really good but
after some have traffic I alway get 
No buffer space available
bash-2.05b$ ping a
PING a (192.168.0.1): 56 data bytes
ping: sendto: No buffer space available

How do I get around this???

thaks

=


_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Testimonial - Thanks to FreeBSD

2004-09-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Valéry wrote:
Hi,

Great thanks to the community, and your effort to
document FreeBSD, even in French (we are so bad with
others languages ..!), i hope to help the FreeBSD users
by writing some drivers and other things,
Drivers would be cool!
Welcome to FBSD!
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Post Install Configuration Issues (ruby18 error)

2004-09-13 Thread Joe Altman
On Sun, Sep 12, 2004 at 11:16:51PM -0700, Joshua Tinnin wrote:
> On Monday 06 September 2004 11:11 am, Chris <[EMAIL PROTECTED]> 
> wrote:
> 
> > Another way: - this changes the default database (btriev) to hash
> >
> > setenv PORTS_DBDRIVER bdb1_hash
> >
> > then run your portdb -u
> > In fact, I opted for this one. I now run my ports tree updating
> > scripts as I did BEFORE these issues.
> 
> What sort of effect might this have elsewhere? I'm sure this fix works, 
> but is there something else that could get borked by changing the 
> default database?

I used this on a box w/ multiple failures of ruby; I have since
noticed no issues.

The only difference is that I used this:

ENV['PORTS_DBDRIVER'] = 'dbm_hash'

from:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=638936+0+current/freebsd-ports

-- 
One million points of light shining on the new world-order model for
fascism and tyranny. Get in line.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Post Install Configuration Issues (ruby18 error)

2004-09-13 Thread Matthew Seaman
On Sun, Sep 12, 2004 at 11:16:51PM -0700, Joshua Tinnin wrote:
> On Monday 06 September 2004 11:11 am, Chris <[EMAIL PROTECTED]> 
> wrote:
> 
> > Another way: - this changes the default database (btriev) to hash
> >
> > setenv PORTS_DBDRIVER bdb1_hash
> >
> > then run your portdb -u
> > In fact, I opted for this one. I now run my ports tree updating
> > scripts as I did BEFORE these issues.
> 
> What sort of effect might this have elsewhere? I'm sure this fix works, 
> but is there something else that could get borked by changing the 
> default database?

The only two files this change might affect are /usr/ports/INDEX.db
and (possibly)[1] /var/db/pkg/pkgdb.db.  In either case all it will cause
to happen is that the file will be replaced by a file using a
different on-disk data structure, but containing exactly the same
data.  

As both of those .db files are created by the portupgrade(1) suite of
tools as a quick reference version of the data in
/usr/ports/INDEX{,-5} in one case, or /var/db/pkg in the other,
trashing the files is not the end of the world -- they can be rebuilt
fairly easily from scratch.  Anyway it's only the portupgrade(1) tools
that are likely to be directly affected by that sort of corruption.

Cheers,

Matthew

[1] Actually, I think you'ld have to set PKG_DBDRIVER=bdb1_hash to
affect /var/db/pkg/pkgdb.db similarly.  However, the chances of that
file growing large enough to trigger the bdb1_btree bug are fairly
remote.

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpGxLuIBTEu1.pgp
Description: PGP signature


RE: IPFILTER - Understanding log entries

2004-09-13 Thread Sheets, Jason (OZ CEEDR)
If your log is too large I'd carefully evaluate which rules are logging.

>From the goole search: firewall log parsing I received the following
interesting results:

http://www.aetdata.com/tracer/firewalllogtutorial.html talks about
parsing firewall logs

http://www.dixongroup.net/hatchet/ is a tool for parsing OpenBSD PF
logs,




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Darryl Hoar
> Sent: Monday, September 13, 2004 8:13 AM
> To: [EMAIL PROTECTED]
> Subject: IPFILTER - Understanding log entries
> 
> Greetings,
> I have a machine installed with Freebsd & IPFILTER.
> The machine is setup as a firewall.
> 
> The log files generated are large.  First, is there a
> tutorial or tool that will process the log file and show
> what the threat is ?  (if there is one).
> 
> Also, how do others handle the volume of entries in
> the log file ?
> 
> thanks,
> Darryl
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-
> [EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to confirm SMP/dual CPU was detected and activated - 5.2.1

2004-09-13 Thread Danny
Running 5.2.1 Release. I have scanned through the output of dmesg, but
I am not 100% sure how to tell if both CPU's on this Compaq Proliant
3000 were detected and are active to FreeBSD.

It's not connected to the network yet, so I can't post my dmesg just
yet. In the meantime, how can I confirm the above? Can I grep for
something?


Thank you,

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


Re: Swatch - compilation aborted

2004-09-13 Thread Henri Prudhomme

--- Irvine Short <[EMAIL PROTECTED]> wrote:

> Henri Prudhomme wrote:
> > I did a portupgrade on all my ports,
> 
> Perl too?
>

Thanks for the hint. Even though the port skeleton for
Perl got updated, /usr/ports/UPDATING told me that I
had to do more to get Perl 5.8.5 working as the
upgraded port.  

Here's what I did to upgrade Perl and set as standard
port.

cd /usr/ports/lang/perl5.8
make install clean
rehash
use.perl port

I then ran "pkg_info -R perl-5.8.5" and got a report
that all the p5-* ports and swatch were dependent on
the Perl package. (UPDATING's port wizards had a
magical incantation to find and reinstall the
dependent ports, but I couldn't get it to work - so I
used pieces of the incantation). Then I upgraded other
ports that depend on Perl manually.

portupgrade -f p5-\*
portupgrade -f swatch

Swatch worked after that. 

Thanks for your nudge in the right direction. There
are a lot of brick walls to bang one's head against in
a FreeBSD newbie's life. I appreciate your help!
> 
> -- Irvine
> 
> 

Henri



___
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


p5-Apache-ASP

2004-09-13 Thread Eduardo Viruena Silva


I have Apache 2 http server installed in my computer.
I would like to install p5-Apache-ASP, but it wants
to install mod_perl and  it fails to compile it.

Apache2 uses mod_perl2 and I cannot find a way of
specifying that I have Apache2 to the Makefile.

Does anybody have installed p5-Apache-ASP with Apache2 ?


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


Re: KVM Recommendations

2004-09-13 Thread Bill Campbell
On Tue, Sep 14, 2004, Graham Bentley wrote:
>
>Hi All,
>
>Can anyone recommend a 4 Port KVM (UK Supplier ) that will work with 
>FreeBSD (and not too expensive :)
>
>I have just recently racked my 4 boxes and have a Protec Bytelan VS4.
>
>The main problem is moused / XMouse - annoyingly it works with Winblows 
>but not my FreebSD box - keyboard is OK.

I've been using the 4-port ps/2 versions of the Belkin box (I think their
model number is E4).  It's working fine with a 3-button Logitech mouse and
a 21in Nokia monitor at some fairly high resolutions with Linux, FreeBSD,
and OS X.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Are we at last brought to such a humiliating and debasing degradation,
that we cannot be trusted with arms for our own defense? Where is the
difference between having our arms in our own possession and under our own
direction, and having them under the management of Congress? If our defense
be the real object of having those arms, in whose hands can they be trusted
with more propriety, or equal safety to us, as in our own hands?''
-- Patrick Henry June 9, 1788, in the Virginia Convention on the
ratification of the Constitution.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


mkfifo - disk backed?

2004-09-13 Thread Jesse Guardiani
Hello,

Just curious: Are FIFOs made by mkfifo disk
backed? Do they go away between reboots? Do
they lose data between reboots?

Thanks!

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net


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


Re: Vim on SMB share

2004-09-13 Thread Daren Russell
Giorgos Keramidas wrote:
On 2004-09-10 09:22, Daren Russell <[EMAIL PROTECTED]> wrote:
Thanks for the ideas.  The server side is Win2k (so not much I can do
there!), the BSD is using version 3 of the Samba client, so I'll try
downgrading it to version 2 and see how I go.
I guess it must also be to do with the way Vim edits files, as the basic
FBSD editor (ee) seems to manage.

Vim tries to create a file called .FILENAME.swp when you edit FILENAME.
The leading dot is probably what breaks the way vim works on Samba
shares.  You can always try to make vim write its swap files in another
location, i.e. in `/var/tmp' with this in your .vimrc:
set dir=/var/tmp
or you can disable swapfiles altogether with
set noswapfile
You can even play nice tricks like selectively disabling the swapfile
only for files that "live" in the well-known path of your Samba shares
with something similar to this in your .vimrc:
if !exists("samba_swapfile_hack")
  let samba_swapfile_hack = 1
  autocmd BufNewFile,BufRead /share/win2k/* set noswapfile
endif
Unless, of course, my guess is wrong and all this is nonsense :-)
Giorgos
I tried it on another FBsd box we have running 4.10 (the first box was 
running 5.something) and it worked fine.

Comparing them it appears to have been something to do with group 
permissions, although the user had full rwx access, they weren't in the 
group that the share was mounted with.  The 4.10 box had the directory 
the share was mounted on set to the users user/group by default.

I'm guessing SMBFS is a bit paranoid about user/group security (probably 
a good thing though!)

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


I have some questions about telnet/telnetd/libtelnet/tn3270 and why FreeBSD is different than other BSDs in this regard

2004-09-13 Thread Phil Helms
Any luck with fixing tn3270 yet?

-- 
Phil Helms
[EMAIL PROTECTED]
303-595-1524

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


3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Puna Tannehill
I've been looking for possible flags, optimizations, really anything 
that would help me setup my laptop to use mmx and 3dnow.  I've updated 
/etc/make.conf to -march to the drum of a k6-2, but I'm not even sure 
if mmx and 3dnow are being taken into consideration for compiling and 
such, especially for Xorg.

I did some googling and found people who used CFLAGS like -mmmx and 
-m3dnow, but when I run with those options, they fail and said to be 
invalid.  they don't appear in 'man gcc' which should have been the 
first place i looked.  I'm not finding anything in terms of compiling 
or configuring Xorg to use 3dnow or mmx, or even how to check to see 
if they are automatically detected and used.

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


Re: mkfifo - disk backed?

2004-09-13 Thread Dan Nelson
In the last episode (Sep 13), Jesse Guardiani said:
> Just curious: Are FIFOs made by mkfifo disk backed? Do they go away
> between reboots? Do they lose data between reboots?

Fifos are just pipes with a visible physical name.   The fifo itself
stays in the filesystem after a reboot, but since all the data passing
is handled in the kernel, a reboot will blow away any data (including
the processes reading/writing that data :).  If your FIFO is on an NFS
mount, a reboot of the remote server will have no effect on the
client's use of the fifo (since all fifo traffic is handled locally on
the client).

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


Mail from a shell script?

2004-09-13 Thread Ryan Sommers
I'm attempting to have a few shell scripts email output. I'm running into
a few problems and was wondering if there were any ways to overcome them
in a shell script or whether I'll have to go to perl or not. (Note, shell
doesn't matter, I've been using sh but recently went to bash since sh on
solaris (one of the machines the scripts get used on) doesn't support the
-e expression for test(1)).

First problem I ran into. I'm attempting to send the mail via `which
mail`. I first was going to attempt to concatenate the message via
"message=${message}$'\n'" However, this strips the newlines
out of the variable (both sh and bash). I then tried using the <".

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


Re: 3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Erik Trulsson
On Mon, Sep 13, 2004 at 12:23:18PM -0500, Puna Tannehill wrote:
> I've been looking for possible flags, optimizations, really anything 
> that would help me setup my laptop to use mmx and 3dnow.  I've updated 
> /etc/make.conf to -march to the drum of a k6-2, but I'm not even sure 
> if mmx and 3dnow are being taken into consideration for compiling and 
> such, especially for Xorg.
> 
> I did some googling and found people who used CFLAGS like -mmmx and 
> -m3dnow, but when I run with those options, they fail and said to be 
> invalid.  they don't appear in 'man gcc' which should have been the 
> first place i looked.  I'm not finding anything in terms of compiling 
> or configuring Xorg to use 3dnow or mmx, or even how to check to see 
> if they are automatically detected and used.
> 
> Any thoughts?

You do not say which version of FreeBSD or GCC you are using.
Gcc 2.95 (which is what FreeBSD 4.x ships with) do not know about MMX
or 3Dnow, and will not take advantage of them.
Gcc 3.4 (which is what FreeBSD 5.x comes with) does know about MMX and
3DNow and will take advantage of them when invoked correctly.
The switches you mention (-mmx and -m3dnow) are valid for gcc 3.4 but
not for gcc 2.95.

You can look at the GCC documentation found at
http://gcc.gnu.org/onlinedocs/ to find out what options are supported
by which versions of GCC.



-- 

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


Re: problems with X11.

2004-09-13 Thread Subhro
It is very difficult to diagnose problems if you cant provide the
exact error messages.

Regards
S.


On Mon, 13 Sep 2004 21:00:17 +0800 (CST), Kangaroo <[EMAIL PROTECTED]> wrote:
> Hi
> I have problems with setup xf86cfg . My hardware is
> pci geforce 4 mx -440 -se - 64M ram
> monitor envison hz: 30 -70 scan ; vert 50 -150 scan
> XFree86-4.3.99-1.5.p?
> I can't make it work! .
> When I set up save and receive the message:
> mouse  successfully.
> X.0 8 ... broken... .I can't remember exactly..
> 
> When I run startx ... It even tell mouse also failed...
> X .0 .8 broken
> 
> I have manually play around with HorizSync , and Vert..
> It does not seem work either.
> 
> - I have second box.. which is openbsd with same monitor
> and have S3 -trio 64V. which also have same version of
> XFree86 - server
> I do same configuration as Freebsd 5.21. box.. It work for
> me...
> What 's wrong with XFree86 on FreeBSD?
> Anyone can give me a shout?
> Thanks.
> K.Dao
> 
> ___
> Do you Yahoo!?
> Shop for Back-to-School deals on Yahoo! Shopping.
> http://shopping.yahoo.com/backtoschool
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


need help with xfree86

2004-09-13 Thread Poet
i get an error when i try and startx 
CODE:
xf86EnableIO: Failed to open /dev/io For extended I/O

i have just installed 5.2.1-release and am a n00b to FreeBSD
if you need any other info please tell me
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: need help with xfree86

2004-09-13 Thread Subhro
Are you running the  generic kernel?

Regards
S.


On Mon, 13 Sep 2004 11:12:01 -0700, Poet <[EMAIL PROTECTED]> wrote:
> i get an error when i try and startx
> CODE:
> xf86EnableIO: Failed to open /dev/io For extended I/O
> 
> i have just installed 5.2.1-release and am a n00b to FreeBSD
> if you need any other info please tell me
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Puna Tannehill
Erik Trulsson wrote:
On Mon, Sep 13, 2004 at 12:23:18PM -0500, Puna Tannehill wrote:
I've been looking for possible flags, optimizations, really anything 
that would help me setup my laptop to use mmx and 3dnow.  I've updated 
/etc/make.conf to -march to the drum of a k6-2, but I'm not even sure 
if mmx and 3dnow are being taken into consideration for compiling and 
such, especially for Xorg.

I did some googling and found people who used CFLAGS like -mmmx and 
-m3dnow, but when I run with those options, they fail and said to be 
invalid.  they don't appear in 'man gcc' which should have been the 
first place i looked.  I'm not finding anything in terms of compiling 
or configuring Xorg to use 3dnow or mmx, or even how to check to see 
if they are automatically detected and used.

Any thoughts?

You do not say which version of FreeBSD or GCC you are using.
Gcc 2.95 (which is what FreeBSD 4.x ships with) do not know about MMX
or 3Dnow, and will not take advantage of them.
Gcc 3.4 (which is what FreeBSD 5.x comes with) does know about MMX and
3DNow and will take advantage of them when invoked correctly.
The switches you mention (-mmx and -m3dnow) are valid for gcc 3.4 but
not for gcc 2.95.
Apologies!  I'm running v5.3-BETA3 with GCC v3.4.2.
You can look at the GCC documentation found at
http://gcc.gnu.org/onlinedocs/ to find out what options are supported
by which versions of GCC.
mmm, documentation...  Thank you!  I have added the options to CFLAGS 
in /etc/make.conf and am currently rebuilding world without any stops 
yet.  Although, there is probably little or nothing outside of X 
windows that those options might help optimize.  But I'll be 
rebuilding Xorg and XFCE right after I'm done with the world.

For those who are following, here are the pages that I found most 
useful as reference materials:

Intel 386 and AMD x86-64 Options:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/gcc/i386-and-x86-64-Options.html#i386%20and%20x86-64%20Options
X86 Built-in Functions:
http://gcc.gnu.org/onlinedocs/gcc-3.4.1/gcc/X86-Built-in-Functions.html#X86%20Built-in%20Functions
Puna
---
"Pinky, are you pondering what I'm pondering?"
"I think so Brain, but burlap chaffs me so..."
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xmms failure

2004-09-13 Thread Jason Porter
When I try to start XMMS I get this error and then it core dumps.  Any 
sort of help?

Fatal error 'Spinlock called when not threaded.' at line 83 in file 
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

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


Linux vs FreeBSD: wlan-cards

2004-09-13 Thread Florian Hengstberger
Hi!

I know I posted a similar question two days ago, sorry - I?m
still in trouble with finding a proper wlan-card.
The hardware "database" on the freebsd-site did not help me:
most cards are either not avaiable in Austria or simply to expensive.

So my question is:
Has anybody found a cheap wlan-card running under freebsd?
I bet that most experienced users have a wlan card working.
What about the cheap d-link and netgear cards, is the prism-chipset
supported?

(Sorry, but that?s a very important to me: I think of
changing to FreeBSD from Linux and both OS are now competing!
I want to give both a fair chance in hardware-questions.)

Thanks in advance
Florian



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


Re: 3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Conrad J. Sabatier
On Mon, 13 Sep 2004 12:23:18 -0500, Puna Tannehill <[EMAIL PROTECTED]>
wrote:

> I've been looking for possible flags, optimizations, really anything 
> that would help me setup my laptop to use mmx and 3dnow.  I've updated
> 
> /etc/make.conf to -march to the drum of a k6-2, but I'm not even sure 
> if mmx and 3dnow are being taken into consideration for compiling and 
> such, especially for Xorg.
> 
> I did some googling and found people who used CFLAGS like -mmmx and 
> -m3dnow, but when I run with those options, they fail and said to be 
> invalid.  they don't appear in 'man gcc' which should have been the 
> first place i looked.  I'm not finding anything in terms of compiling 
> or configuring Xorg to use 3dnow or mmx, or even how to check to see 
> if they are automatically detected and used.
> 
> Any thoughts?
> 
> Puna

I don't know why those flags would not be working for you; I've been
using them for quite some time now on my Athlon (32-bit) box.  One
oddity I just noticed very recently is that, with the recent patches to
"make", the CPUTYPE variable seems to be ignored now, which is why I
explicitly added the "-march" flag to CFLAGS.  Also, note that I don't
use "-mmmx -m3dnow" for kernel builds; you don't want to be doing this,
as it can easily break things in the kernel, but for general builds
and port builds, it's fine:

CPUTYPE?=athlon
CFLAGS= -O3 -pipe -march=athlon -mmmx -m3dnow

# buildkernel variables settings

KERNCONF=CUSTOM
COPTFLAGS= -O3 -pipe -march=athlon

-- 
Conrad J. Sabatier <[EMAIL PROTECTED]> -- "In Unix veritas"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Sysadmin magazine benchmarkings

2004-09-13 Thread Stefan Cars
Hi!

I read the article on sys admin magazine
(http://www.samag.com/documents/s=1148/sam0107a/0107a.htm) where they
benchmarked Linux, Windows, Solaris and FreeBSD regarding High-Performance
Network Applications. This article is from 2001 and covers FreeBSD 4.2.
Anyhow, FreeBSD ended last which feels quiet strange, is there anyone that
has any new benchmarking data on how FreeBSD 5 compares ?

/ Stefan

--
Stefan Cars
Snowfall Communications
http://www.snowfall.se
Tel: +46 (0)18 430 80 50 - Direct: +46 (0)18 430 80 51
Mobile: +46 (0)708 44 36 00 - Fax: +46 (0)708 44 36 04
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to confirm SMP/dual CPU was detected and activated - 5.2.1

2004-09-13 Thread Lucas Holt
Here is the dmesg output for my home system.  Its a dual 2.0 ghz Xeon 
with HTT disabled in bios.  Note the listing of both cpus at the top and 
the launching of the second cpu toward the bottom.

[EMAIL PROTECTED]:~> dmesg
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA3 #5: Mon Sep  6 23:51:24 EDT 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LUKE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.00GHz (1993.58-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
 
Features=0xbfebfbff
 Hyperthreading: 2 logical CPUs
real memory  = 1073172480 (1023 MB)
avail memory = 1040592896 (992 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  6
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic2: Changing APIC ID to 10
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
ioapic2  irqs 48-71 on motherboard
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
agp0:  mem 0xe000-0xe7ff at 
device 0.0 on pci0
pcib1:  mem 0xd800-0xdfff at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
pci1:  at device 0.1 (no driver attached)
pcib2:  at device 2.0 on pci0
pci2:  on pcib2
pci2:  at device 28.0 (no driver 
attached)
pcib3:  at device 29.0 on pci2
pci3:  on pcib3
em0:  port 
0xdcc0-0xdcff mem 0xff6e-0xff6f irq 24 at device 14.0 on pci3
em0: Ethernet address: 00:0d:56:f1:ab:2e
em0:  Speed:N/A  Duplex:N/A
pci2:  at device 30.0 (no driver 
attached)
pcib4:  at device 31.0 on pci2
pci4:  on pcib4
uhci0:  port 0xff80-0xff9f 
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f 
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ugen0: Philips product 0x0602, rev 1.10/0.00, addr 2
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 
1.10/3.00, addr 3, iclass 3/1
ums0: 3 buttons and Z dir.
uhci2:  port 0xff40-0xff5f 
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhid0: Saitek Saitek Cyborg USB Stick, rev 2.00/1.10, addr 2, iclass 3/0
pci0:  at device 29.7 (no driver attached)
pcib5:  at device 30.0 on pci0
pci5:  on pcib5
fwohci0:  mem 
0xff2f8000-0xff2fbfff,0xff2ff800-0xff2f irq 20 at device 12.0 on pci5
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 84:ff:ff:ff:ff:ff:ff:00
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
firewire0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
firewire0: bus manager 1 (me)
pcm0:  port 0xcce0-0xccff irq 22 at device 
14.0 on pci5
pcm0: 
fwohci1: <1394 Open Host Controller Interface> mem 
0xff2f4000-0xff2f7fff,0xff2ff000-0xff2ff7ff irq 23 at device 14.2 on pci5
fwohci1: OHCI version 1.10 (ROM=0)
fwohci1: No. of Isochronous channels is 4.
fwohci1: EUI64 00:02:3c:00:21:08:91:6b
fwohci1: Phy 1394a available S400, 2 ports.
fwohci1: Link S400, max_rec 2048 bytes.
firewire1:  on fwohci1
sbp1:  on firewire1
fwohci1: Initiate bus reset
fwohci1: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire1: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire1: bus manager 0 (me)
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0:  at device 31.3 (no driver attached)
speaker0 port 0x61 on acpi0
fdc0:  port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0:  at iomem 
0xe1800-0xe3fff,0xe-0xe17ff,0xc-0xcbfff on isa0
pmtimer0 on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
ipfw2 initialized, divert disabled, rule-based forwarding disabled, 
default to den

Re: Sysadmin magazine benchmarkings

2004-09-13 Thread Bill Moran
Stefan Cars <[EMAIL PROTECTED]> wrote:
> Hi!
> 
> I read the article on sys admin magazine
> (http://www.samag.com/documents/s=1148/sam0107a/0107a.htm) where they
> benchmarked Linux, Windows, Solaris and FreeBSD regarding High-Performance
> Network Applications. This article is from 2001 and covers FreeBSD 4.2.
> Anyhow, FreeBSD ended last which feels quiet strange, is there anyone that
> has any new benchmarking data on how FreeBSD 5 compares ?

I wouldn't place any validity, whatsoever, on those tests.

They claim that FreeBSD is 6x slower on disk writes than Linux and
Windows.  I say hogwash:
http://www.potentialtech.com/wmoran/postgresql.php#results

You can see that FreeBSD is only slightly slower than Linux in these
tests ... I find it hard to believe that a properly configured FreeBSD
system could ever be 6x slower than Linux.  I find it much easier to
believe that the people who ran the tests don't know how to set up
FreeBSD.

Do some searches and you'll find that this artical has been discussed
on this list ad-nausium ... since it's so obviously bogus or biased.
They don't even give details of the hardware or software setups used
to test, so it's possible that the HDD controller was not fully
supported by FreeBSD, or that the disks were mounted full-sync.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


1 step forward/2 steps back

2004-09-13 Thread Bill Schmitt
Last week I asked here for advice installing FreeBSD. The common thread 
in the answers was that using the Diamond Stealth 2001 w/2MB of memory 
wasn't helping. So, I checked into what was available locally, noted 
that NVidia has drivers on their own website, and picked up a card that 
seemed to be supported all around; the PNY Technologies Verto PCI card 
with 64MB of memory and the NVidia GEForce MX4000 chipset. Since then, 
I've been going in circles. I started by trying to do a clean install of 
4.10. Everthing seemed to be okay, so I rebooted and the process went 
fine until it got to the Zip Drive on the machine. It displayed the 
slave mount and just stopped. During the install process, this was the 
last message before switching to /root, but I tried disconnecting the 
zip drive (I haven't used it in years, anyway) and reinstalling in case 
there was a conflict with the new card. Now it stops after displaying 
the master mount for the CD/DVD drive, for which disconnecting isn't an 
option. I also tried using version 5.3, just do see if the issue was 
something that had been corrected, and get the same results. I repeated 
both processes including a repartition and label, and the same thing 
happens.

Just to validate things, I pulled out a Knoppix distribution (from the 
xfce.org site) and booted from their. It worked fine, with the only 
point of interest being that it booted xfce in VESA mode and seemed to 
recognize both the onboard graphics from the motherboard I'm using and 
the new adapter. If I could get that far, I think I'd be fine, though.

I've tried booting with iso disk 2, but can't find any log information 
that might help me either, so I'm assuming that these logs are written 
AFTER it gets to root?

I'm really stumped, and quite frustrated with the whole thing. I know 
I'm using an old machine (Gateway 300 with a PII and 128 Megs of memory) 
but it shouldn't be this hard and I got a lot further using the old 
graphics adapter. I could really use some help here.

Thanks, to anyone who can help.
Bill
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sysadmin magazine benchmarkings

2004-09-13 Thread Fabian Keil
On Monday 13 September 2004 21:22, Stefan Cars wrote:

> I read the article on sys admin magazine
> (http://www.samag.com/documents/s=1148/sam0107a/0107a.htm) where they
> benchmarked Linux, Windows, Solaris and FreeBSD regarding High-Performance
> Network Applications. This article is from 2001 and covers FreeBSD 4.2.
> Anyhow, FreeBSD ended last which feels quiet strange, is there anyone that
> has any new benchmarking data on how FreeBSD 5 compares ?



Compares Linux 2.4, Linux 2.6,  FreeBSD 5.1, NetBSD 1.6.1 and OpenBSD 3.4 with each 
other.

Regards
Fabian

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


RE: Sysadmin magazine benchmarkings

2004-09-13 Thread JJB
[EMAIL PROTECTED] wrote:
> Hi!
>
> I read the article on sys admin magazine
> (http://www.samag.com/documents/s=1148/sam0107a/0107a.htm) where
they
> benchmarked Linux, Windows, Solaris and FreeBSD regarding
> High-Performance Network Applications. This article is from 2001
and
> covers FreeBSD 4.2. Anyhow, FreeBSD ended last which feels quiet
> strange, is there anyone that has any new benchmarking data on how
> FreeBSD 5 compares ?
>
> / Stefan

This old artical has been covered in detail on this list when it
first came out. You should check the FBSD questions archives first
before you just post a question about something this old.

No need to rehash history.

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


rsync problems

2004-09-13 Thread Brian McCann
Hi all...I'm having problems using rsync, and it makes no sense to me.
 I'm running it with the following options: "rsync -e ssh -avpz
--delete src dest".  Whenever the src has lots of files (over 1000),
it seams to just stop, verbose mode doesn't tell me anything
relevant...and if i try again, it will just download more, then stop
again.  Any guesses anyone?

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


CVS CO Error

2004-09-13 Thread Kenneth A. Bond
Hello,
I am trying to update my source using CVS, as CVSup is not an option in my current 
environment. I am running FreeBSD 4.10.
Below are the commands that I am entering in order to perform the update, but for some 
reason, I am getting the following error when attempting to update my source:
 
lx1005# pwd
/usr/src
lx1005# setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
lx1005# cvs co -rRELENG_4_10 src
cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
lx1005# whoami
root
 
These commands show that I am in the /usr/src directory (which is where I should be), 
and that I am the root user.
I was informed by another user that this was a server error, but I can't seem to get 
around it no matter which anoncvs server I use.
 
Please advise.
Thanks



Computers are like Air Conditioners: They stop working properly if you open Windows.


-
Post your free ad now! Yahoo! Canada Personals
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Puna Tannehill
Conrad J. Sabatier wrote:
On Mon, 13 Sep 2004 12:23:18 -0500, Puna Tannehill <[EMAIL PROTECTED]>
wrote:

I've been looking for possible flags, optimizations, really anything 
that would help me setup my laptop to use mmx and 3dnow.  I've updated

/etc/make.conf to -march to the drum of a k6-2, but I'm not even sure 
if mmx and 3dnow are being taken into consideration for compiling and 
such, especially for Xorg.

I did some googling and found people who used CFLAGS like -mmmx and 
-m3dnow, but when I run with those options, they fail and said to be 
invalid.  they don't appear in 'man gcc' which should have been the 
first place i looked.  I'm not finding anything in terms of compiling 
or configuring Xorg to use 3dnow or mmx, or even how to check to see 
if they are automatically detected and used.

Any thoughts?
Puna

I don't know why those flags would not be working for you; I've been
using them for quite some time now on my Athlon (32-bit) box.  One
oddity I just noticed very recently is that, with the recent patches to
"make", the CPUTYPE variable seems to be ignored now, which is why I
explicitly added the "-march" flag to CFLAGS.  Also, note that I don't
use "-mmmx -m3dnow" for kernel builds; you don't want to be doing this,
as it can easily break things in the kernel, but for general builds
and port builds, it's fine:
CPUTYPE?=athlon
I had that problem too.  The '?=' should be just '='.  I see in the 
notes that '?=' is for compiling for different machine, but I don't do 
that so I just left is as 'CPUTYPE=' and it added the -march accordingly.

CFLAGS= -O3 -pipe -march=athlon -mmmx -m3dnow
# buildkernel variables settings
KERNCONF=CUSTOM
COPTFLAGS= -O3 -pipe -march=athlon
I see many people using a -O3, but I've never been able to use any 
optimization levels above -O without compile errors, or having 
problems with SSH.  Just out of curiosity, do you see a significant 
different in performance with that level of optimization?

Puna
It's working for me now, I'm not sure why it was failing before.
Puna
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Quick and simple ssh(1) question

2004-09-13 Thread Mark Ovens
Is it correct that you can't ssh(1) between two machines on the same LAN 
(using NAT) _via the Internet?_

Strange question I know, but I need to be able to access one of my 
machines, postie, remotely. I've got sshd(8) running and can ssh(1) to 
it from a local machine using it's local hostname. However, since I only 
have a single 'net connection here I tried to test connecting remotely 
by ssh(1)'ing to my router's 'net-facing hostname but I get

  ssh: connect to host  port 22: Connection refused
Port 22 is forwarded to postie on the router.
It kind of make sense to me that this won't work but I'd like to confirm 
that this is the case and it's not my sshd(8) configuration that's wrong.

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


Re: rsync problems

2004-09-13 Thread Chuck Swiger
Brian McCann wrote:
Hi all...I'm having problems using rsync, and it makes no sense to me.
 I'm running it with the following options: "rsync -e ssh -avpz
--delete src dest".  Whenever the src has lots of files (over 1000),
it seams to just stop, verbose mode doesn't tell me anything
relevant...and if i try again, it will just download more, then stop
again.  Any guesses anyone?
Maybe you are too impatient.  :-)
If you pass rsync a very large tree of files, it takes a long time-- several 
minutes up to an hour or more-- to traverse and note timestamps, file-sizes, 
checksums, etc before it does anything.  If you get output, and then a big 
pause, it is probably finding a bunch of stuff which matches and does not need 
to be copied (but it still has to look at timestamps and maybe do checksums).

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


Re: CVS CO Error

2004-09-13 Thread Kevin D. Kinsey, DaleCo, S.P.
Kenneth A. Bond wrote:
Hello,
I am trying to update my source using CVS, as CVSup is not an option in 
my current environment. I am running FreeBSD 4.10.
Below are the commands that I am entering in order to perform the update, 
but for some reason, I am getting the following error when attempting to update my source:

lx1005# pwd
/usr/src
lx1005# setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
lx1005# cvs co -rRELENG_4_10 src
cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
lx1005# whoami
root
These commands show that I am in the /usr/src directory (which is where I 
should be), and that I am the root user.
I was informed by another user that this was a server error, but I can't 
seem to get around it no matter which anoncvs server I use.

Please advise.
Thanks
 

I'm thinking it must be something in your configuration, as I
can't replicate the problem here.
Do you have "CVS_RSH=ssh" in your environment?

Computers are like Air Conditioners: They stop working properly if you open Windows.
 

Heh...if only people would build houses without them.  But they
like the look of Windows, methinks...
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


suid/sgid problem

2004-09-13 Thread Geert Hendrickx
I'm having a really strange problem here: 

None of my suid (su, X, ...) nor sgid (top, passwd, ...) binaries get
the correct permissions to run.  So a non-root user cannot use them.  

It's a freshly installed system, source upgraded to 4-STABLE.  I haven't
made any weird or unusual configuration, it was this way from the
beginning.  

Any clues?  

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


Re: 3dnow, mmx, k6-2 optimizing?

2004-09-13 Thread Vulpes Velox
On Mon, 13 Sep 2004 16:12:59 -0500
Puna Tannehill <[EMAIL PROTECTED]> wrote:

> > I don't know why those flags would not be working for you; I've
> > been using them for quite some time now on my Athlon (32-bit) box.
> >  One
> > oddity I just noticed very recently is that, with the recent
> > patches to"make", the CPUTYPE variable seems to be ignored now,
> > which is why I explicitly added the "-march" flag to CFLAGS. 
> > Also, note that I don't use "-mmmx -m3dnow" for kernel builds; you
> > don't want to be doing this, as it can easily break things in the
> > kernel, but for general builds and port builds, it's fine:

Hmm, really?  Not had much of a problem with it here and kernel
builds.

> > CPUTYPE?=athlon
> 
> I had that problem too.  The '?=' should be just '='.  I see in the 
> notes that '?=' is for compiling for different machine, but I don't
> do that so I just left is as 'CPUTYPE=' and it added the -march
> accordingly.
> 
> > CFLAGS= -O3 -pipe -march=athlon -mmmx -m3dnow

On a related question, any one know in what combination -mmmx, -msse,
and -m3dnow are useful in? I got bored once and tried all three on
5.3beta3 and ended up breaking a few things and ncurses was not
working right in all situations with it.

BTW was a little confused when reading the docs, are these for like
when are building for like 586 and want to include sse, 3dnow, or the
like? Or does the CPUTYPE not all ready take care of that?

> > # buildkernel variables settings
> > 
> > KERNCONF=CUSTOM
> > COPTFLAGS= -O3 -pipe -march=athlon
> 
> I see many people using a -O3, but I've never been able to use any 
> optimization levels above -O without compile errors, or having 
> problems with SSH.  Just out of curiosity, do you see a significant 
> different in performance with that level of optimization?

Never noticed much or any difference when I messed with it. Just had
thinks break in annoying ways. I've personally ran into lots of
problems with X stuff compiled with -O3. IIRC it would compile and ect
but generally fail on run time where with -02 it would general be
compile problems with later things... or something like that...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux vs FreeBSD: wlan-cards

2004-09-13 Thread arden
ive been looking for this too im about to order netgear wg511t and
wg311t cards 

from the google searches ive done they look to be supported 

Arden 
On Mon, 2004-09-13 at 20:01, Florian Hengstberger wrote:
> Hi!
> 
> I know I posted a similar question two days ago, sorry - I?m
> still in trouble with finding a proper wlan-card.
> The hardware "database" on the freebsd-site did not help me:
> most cards are either not avaiable in Austria or simply to expensive.
> 
> So my question is:
> Has anybody found a cheap wlan-card running under freebsd?
> I bet that most experienced users have a wlan card working.
> What about the cheap d-link and netgear cards, is the prism-chipset
> supported?
> 
> (Sorry, but that?s a very important to me: I think of
> changing to FreeBSD from Linux and both OS are now competing!
> I want to give both a fair chance in hardware-questions.)
> 
> Thanks in advance
> Florian
> 
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


setting up bind newbie guide?

2004-09-13 Thread robg
hi,

id like to run bind to setup a dns server on a machine of mine, but i
never used it before.  does anyone know of a simple tutorial or
website that explains it?

thanks

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


hi

2004-09-13 Thread A W
hello i was wondering if u could answer the following questions
1) is it possible to have both freebsd 5.2.1 with KDE 3.1 and Windows 98 on 
the same Hard Disk. If yes how can i do this?

2) can i run .exe files with KDE 3.1 because when i launch a .exe file it 
asks me what to program to use to it open with.

3) im trying to run 256 color and 800x600 reolution hopefully 1024x780 as 
well. But everytime i configure th Xserver it always launch in 256 color 
300x200. How can i fix this so that it will run the right resolution i want 
and the right color as well. And i have asked this question before but i 
just didn't quite understand the answers that came back.

4) Is it possible to run KDE in 16 bit color Because everytime i run it 
in 16 bit color it says there are no screens found.

if you answer these questions can u please answer them clearly and explain 
the way i have to do the things thoroughly. Because i don't really like the 
fact that i get answer and i have no i idea how to do it or have no idea 
where to find it or what command i have to type, and have to reply just to 
ask how to.

thank u and please don't find the last paragraph offensive
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


hi

2004-09-13 Thread A W
hello i was wondering if u could answer the following questions
1) is it possible to have both freebsd 5.2.1 with KDE 3.1 and Windows 98 on 
the same Hard Disk. If yes how can i do this?

2) can i run .exe files with KDE 3.1 because when i launch a .exe file it 
asks me what to program to use to it open with.

3) im trying to run 256 color and 800x600 reolution hopefully 1024x780 as 
well. But everytime i configure th Xserver it always launch in 256 color 
300x200. How can i fix this so that it will run the right resolution i want 
and the right color as well. And i have asked this question before but i 
just didn't quite understand the answers that came back.

4) Is it possible to run KDE in 16 bit color Because everytime i run it 
in 16 bit color it says there are no screens found.

if you answer these questions can u please answer them clearly and explain 
the way i have to do the things thoroughly. Because i don't really like the 
fact that i get answer and i have no i idea how to do it or have no idea 
where to find it or what command i have to type, and have to reply just to 
ask how to.

thank u and please don't find the last paragraph offensive
_
Take advantage of powerful junk e-mail filters built on patented Microsoft® 
SmartScreen Technology. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


Re: booting beta3 on A7N8X

2004-09-13 Thread Lee Harr
[...] I primarily
bought this board because of the AGP slot, Althon support and general
reviews by overclockers and gamers [...]

Do you have drm working?  I have never been able to get it to work...
_
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


RE: Linux vs FreeBSD: wlan-cards

2004-09-13 Thread Hauan, David


> -Original Message-
> From: Florian Hengstberger [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 12:01 PM
> To: FreeBSD mailinglist
> Subject: Linux vs FreeBSD: wlan-cards
> 
> 
> Hi!
> 
> I know I posted a similar question two days ago, sorry - I?m 
> still in trouble with finding a proper wlan-card. The 
> hardware "database" on the freebsd-site did not help me: most 
> cards are either not avaiable in Austria or simply to expensive.
> 
> So my question is:
> Has anybody found a cheap wlan-card running under freebsd?
> I bet that most experienced users have a wlan card working. 
> What about the cheap d-link and netgear cards, is the 
> prism-chipset supported?
> 
> (Sorry, but that?s a very important to me: I think of
> changing to FreeBSD from Linux and both OS are now competing!
> I want to give both a fair chance in hardware-questions.)
> 
> Thanks in advance
> Florian
> 

man wi will give you a pretty good list of supported cards

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


Re: Quick and simple ssh(1) question

2004-09-13 Thread Chuck Swiger
Mark Ovens wrote:
Is it correct that you can't ssh(1) between two machines on the same LAN 
(using NAT) _via the Internet?_

Strange question I know, but I need to be able to access one of my 
machines, postie, remotely. I've got sshd(8) running and can ssh(1) to 
it from a local machine using it's local hostname. However, since I only 
have a single 'net connection here I tried to test connecting remotely 
by ssh(1)'ing to my router's 'net-facing hostname but I get

  ssh: connect to host  port 22: Connection refused
Port 22 is forwarded to postie on the router.
Given time and sufficient determination, you ought to be able to make this 
work, but it's a real pain-- you need to set up an IP alias on postie for the 
public IP, not just your internal NAT address, you need to watch out for any 
anti-spoofing rules and anything blocking the RFC-1918 unroutable IPs commonly 
used with NAT on the machines involved, and you may even have to set up a 
host-specific route for the public IP to the NIC/subnet where the machine 
actually is on your router, as well (if that isn't already implied by the 
router when forwarding ports to a box, or marking an IP as the "DMZ host", 
etc, depending on what your router is).

Using "split DNS" to return a local IP rather than a public IP when a machine 
on your LAN asks for a public name is easier to set up.

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


Re: Quick and simple ssh(1) question

2004-09-13 Thread Erik Trulsson
On Mon, Sep 13, 2004 at 10:15:47PM +0100, Mark Ovens wrote:
> Is it correct that you can't ssh(1) between two machines on the same LAN 
> (using NAT) _via the Internet?_

What do you mean 'via the Internet'?  If both machines are on the same
LAN any connections between them will never go outside the LAN, and
thus never go near the Internet.

> 
> Strange question I know, but I need to be able to access one of my 
> machines, postie, remotely. I've got sshd(8) running and can ssh(1) to 
> it from a local machine using it's local hostname. However, since I only 
> have a single 'net connection here I tried to test connecting remotely 
> by ssh(1)'ing to my router's 'net-facing hostname but I get
> 
>   ssh: connect to host  port 22: Connection refused
> 
> Port 22 is forwarded to postie on the router.

Most likely your router is configured to only forward connections that
come from the outside.

Does it work to access 'postie' via ssh from some machine that is
*actually* on the outside?  If it does, then it is the configuration of
your router which is not doing what you want it to.


> 
> It kind of make sense to me that this won't work but I'd like to confirm 
> that this is the case and it's not my sshd(8) configuration that's wrong.

I doubt it is sshd(8) that is at fault.  Most likely it is your
configuration of NAT and/or the forwarding of the port which is to
blame.


-- 

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


RE: booting beta3 on A7N8X

2004-09-13 Thread Hauan, David


> -Original Message-
> From: Lee Harr [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 13, 2004 2:54 PM
> To: [EMAIL PROTECTED]
> Subject: Re: booting beta3 on A7N8X
> 
> 
> >[...] I primarily
> >bought this board because of the AGP slot, Althon support 
> and general 
> >reviews by overclockers and gamers [...]
> 
> 
> Do you have drm working?  I have never been able to get it to work...

Do you have an ATI card?

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


Re: hi

2004-09-13 Thread Kevin D. Kinsey, DaleCo, S.P.
A W wrote:
hello i was wondering if u could answer the following questions
1) is it possible to have both freebsd 5.2.1 with KDE 3.1 and Windows 
98 on  

the same Hard Disk. If yes how can i do this?
Yes, it's called "dual booting" by many people.  I can't tell you
how.  AFAIK, it is not covered by the official documentation, either;
I would imagine you could find some information by searching the
web.
2) can i run .exe files with KDE 3.1 because when i launch a .exe file 
it asks
me what to program to use to it open with.

I don't think this would be possible unless you use an emulator.
The FreeBSD kernel and the windows kernel are not at all alike.
VMWare is a noted emulator, and it is available [if you have the ports
tree installed] at /usr/ports/emulators/vmware2.  I know nothing about
it, myself...
3) im trying to run 256 color and 800x600 reolution hopefully 1024x780 
as well. But everytime
i configure th Xserver it always launch in 256 color 300x200. How can 
i fix this so that it will
run the right resolution i want and the right color as well. And i 
have asked this question
before but i just didn't quite understand the answers that came back.

4) Is it possible to run KDE in 16 bit color Because everytime i 
run it in 16 bit color
it says there are no screens found.

You will need to give information on your video hardware and a "paste" 
of your
XFree86 (or Xorg) config file.  "No screens found" means that the X 
server cannot
find a valid configuration to run with using the information in your 
configuration file
(which, in XFree86, is generall /etc/X11/XF86config).

You need the right values in several places in this file.  IIRC, the 
handbook has
a good description of what you need to do to configure XFree86, and a sample
config file...

if you answer these questions can u please answer them clearly and 
explain the way i
have to do the things thoroughly. Because i don't really like the fact 
that i get answer
and i have no i idea how to do it or have no idea where to find it or 
what command i
have to type, and have to reply just to ask how to.

thank u and please don't find the last paragraph offensive

Well, I don't guess that I do; you need to realize that there is a 
"learning curve"
here, and you're going to have to spend a lot of time and do a good bit 
of reading
to master the OS.  FreeBSD is extremely powerful and flexible --- as a 
counterpart
to this flexibility and power you get a system that isn't configured 
(perhaps) the
way that you think it should be right "out of the box"... RTFM/STFW/ask 
good questions;
pay Wisdom's price and you'll receive her rewards in due time...

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


Re: Quick and simple ssh(1) question

2004-09-13 Thread Mark Ovens
Chuck Swiger wrote:
Mark Ovens wrote:
Is it correct that you can't ssh(1) between two machines on the same LAN 
(using NAT) _via the Internet?_

Strange question I know, but I need to be able to access one of my 
machines, postie, remotely. I've got sshd(8) running and can ssh(1) to 
it from a local machine using it's local hostname. However, since I only 
have a single 'net connection here I tried to test connecting remotely 
by ssh(1)'ing to my router's 'net-facing hostname but I get

  ssh: connect to host  port 22: Connection refused
Port 22 is forwarded to postie on the router.
Given time and sufficient determination, you ought to be able to make this 
work, but it's a real pain--
[snip detailed info]
I think that answers my question - it won't work the way I'm trying it. 
As I said, this was just an attempt to test connecting from outside; 
guess I'll have to wait until I get to work tomorrow and try it from 
there (which is where I really want to connect from), it's just that if 
it doesn't work I'll have to wait until I get home to change things - a 
bit of a pain.

Thanks for the answer.
Regards,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Quick and simple ssh(1) question

2004-09-13 Thread Mark Ovens
Erik Trulsson wrote:
On Mon, Sep 13, 2004 at 10:15:47PM +0100, Mark Ovens wrote:
Is it correct that you can't ssh(1) between two machines on the same LAN 
(using NAT) _via the Internet?_
What do you mean 'via the Internet'?  If both machines are on the same
LAN any connections between them will never go outside the LAN, and
thus never go near the Internet.
Strange question I know, but I need to be able to access one of my 
machines, postie, remotely. I've got sshd(8) running and can ssh(1) to 
it from a local machine using it's local hostname. However, since I only 
have a single 'net connection here I tried to test connecting remotely 
by ssh(1)'ing to my router's 'net-facing hostname but I get

  ssh: connect to host  port 22: Connection refused
Port 22 is forwarded to postie on the router.
Most likely your router is configured to only forward connections that
come from the outside.
As I said, it was only a test and I was hoping that by using the 
router's external hostname it would "simulate" an external connection, 
obviously it doesn't.

Does it work to access 'postie' via ssh from some machine that is
*actually* on the outside?  If it does, then it is the configuration of
your router which is not doing what you want it to.
I don't have access to one until I get to work tomorrow which was why I 
was trying to simulate it - whilst I have the target machine in front of me.

Thanks for the reply.
Regards,
Mark
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hi

2004-09-13 Thread Jerry McAllister
> 
> hello i was wondering if u could answer the following questions
> 
> 1) is it possible to have both freebsd 5.2.1 with KDE 3.1 and Windows 98 on 
> the same Hard Disk. If yes how can i do this?

If you have room enough on the hard drive for it, yes.  It is readily
doable.
The Handbook covers this well as do a couple of online publications
and some FAQs.  Look for 'dual booting FreeBSD'.

One thing to note, Win98 and FreeBSd do not run at the same time.  You
reboot to get from one to the other.

> 2) can i run .exe files with KDE 3.1 because when i launch a .exe file it 
> asks me what to program to use to it open with.

There are some emulation utilities that may allow this.  My mind is too
foggy to think of a name at the moment.  As far as I know, KDE doesn't 
have anything that will allow it.  (But the emulation utilities could 
run in a window like other things.)
 
Someone else is better to respond to the other things.

>
> ...
>
> if you answer these questions can u please answer them clearly and explain 
> the way i have to do the things thoroughly. Because i don't really like the 
> fact that i get answer and i have no i idea how to do it or have no idea 
> where to find it or what command i have to type, and have to reply just to 
> ask how to.
> 
>   thank u and please don't find the last paragraph offensive

Part of running FreeBSD or any of this type of Freeware is doing the
studying to learn how to make it work.  When you ask very broad or general
questions, you will most often be referred to documentation - handbook, 
man pages, online FAQs and publications and archives.   That is the way 
this community works.

Once you have studied, then ask specific questions.  

jerry

> 
> _
> Take advantage of powerful junk e-mail filters built on patented Microsoft® 
> SmartScreen Technology. 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>  
>   Start enjoying all the benefits of MSN® Premium right now and get the 
> first two months FREE*.
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> 

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


RE: setting up bind newbie guide?

2004-09-13 Thread Foster, ThomasX
http://www.section6.net/help

Hope this helps..

Thomas Foster

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of robg
Sent: Monday, September 13, 2004 3:14 PM
To: [EMAIL PROTECTED]
Subject: setting up bind newbie guide?

hi,

id like to run bind to setup a dns server on a machine of mine, but i
never used it before.  does anyone know of a simple tutorial or
website that explains it?

thanks

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


Configuring IPFW (Firewall) and Proxy/Nylon, Help Please

2004-09-13 Thread JP
Hello There,

I currently am a running 5.2.1-Release which is
configured as a gateway with kernel firewall support. 
I have installed Squid (Proxy) and Nylon (SOCKS) which
seem to be configured fine.  However, I need help in
getting all http/https traffic to only route to the
proxy (Port 3128) and all other traffic to point to
nylon (Port 1080).  This way the proxy and socks
server cannot be circumvented.  Could someone please
suggest some tips or a website?  I am using the
standard rc.firewall configuration.  

Thanks!

Below is my rc.conf file:

---

gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="ed0"
#natd_flags="-f /etc/natd.conf"
hostname="**"
ifconfig_ed0="DHCP"
inetd_enable="YES"
keyrate="fast"
sshd_enable="YES"
usbd_enable="YES"
ifconfig_dc0="inet 192.168.1.254  netmask
255.255.255.0"
defaultrouter="192.168.1.254"




___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xmms failure

2004-09-13 Thread Andrew J Caines
Jason,

See ports/UPDATING. Search the archives for the error.

> Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

Rebuild any threaded app which links to the wrong thread library, or as a
workaround add this to /etc/libmap.conf:

libpthread.so.1 libpthread.so.1
libpthread.so   libpthread.so
libc_r.so.5 libpthread.so.1
libc_r.so   libpthread.so



-Andrew-
-- 
 ___
| -Andrew J. Caines-   Unix Systems Engineer   [EMAIL PROTECTED]  |
| "They that can give up essential liberty to obtain a little temporary |
|  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linux vs FreeBSD: wlan-cards

2004-09-13 Thread Vulpes Velox
On Mon, 13 Sep 2004 21:01:26 +0200
"Florian Hengstberger" <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> I know I posted a similar question two days ago, sorry - I?m
> still in trouble with finding a proper wlan-card.
> The hardware "database" on the freebsd-site did not help me:
> most cards are either not avaiable in Austria or simply to
> expensive.
> 
> So my question is:
> Has anybody found a cheap wlan-card running under freebsd?
> I bet that most experienced users have a wlan card working.
> What about the cheap d-link and netgear cards, is the prism-chipset
> supported?
> 
> (Sorry, but that?s a very important to me: I think of
> changing to FreeBSD from Linux and both OS are now competing!
> I want to give both a fair chance in hardware-questions.)

Like some one else said, man wi. Also when 5.3 hits stable you will
have the ability to make use of  ndis stuff drivers for it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


5.2.1-RELEASE and install.cfg unable to find ad0s1b dev node

2004-09-13 Thread Ivan Fetch
Hello,
   I've searched the mailing lists and found others with this issue, but 
haven't found a solution yet - can someone point me in the right direction 
please?

   When using an install.cfg file with 5.2.1-RELEASE, I get:
Unable to find device node for /dev/ad0s1b in /dev!
The creation of filesystems will be aborted.
   Even if I set the DiskInteractive variable before running the DiskLabel 
editor, the above error still appears.

   Here is my install.cfg file:
installVarDefaults
debug=yes
# Networking Options
hostname=geo
domainname=domain.com
nameserver=192.168.0.254
defaultrouter=192.168.0.254
ipaddr=192.168.0.201
netmask=255.255.255.0
netDev=fxp0
# Install Media Options
mediaSetCDROM
# Distribution Selection
distSetKernDeveloper
# Partitioning
disk=ad0
partition=all
bootManager=boot
diskPartitionEditor
diskPartitionWrite
ad0s1-1=ufs 524288 /
ad0s1-2=swap 131072 none
ad0s1-3=ufs 524288 /var
ad0s1-4=ufs 0 /usr
# Even commenting out the above and uncomminting the below, install still 
fails.
#diskInteractive=yes
diskLabelEditor
diskLabelCommit
installCommit

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


Re: hi

2004-09-13 Thread Vulpes Velox
On Mon, 13 Sep 2004 22:11:29 +
"A W" <[EMAIL PROTECTED]> wrote:

> hello i was wondering if u could answer the following questions
> 
> 1) is it possible to have both freebsd 5.2.1 with KDE 3.1 and
> Windows 98 on the same Hard Disk. If yes how can i do this?

This is dual booting. You need two partitions. One for windows the
other for freebsd.
 
> 2) can i run .exe files with KDE 3.1 because when i launch a .exe
> file it asks me what to program to use to it open with.

You will need either DOSbox, doscmb, qemu, bochs, vmware, or wine to
run either DOS or Windows programs.

With all of those you have either speed or compatibility to choose
from. Qemu, bochs,  DOSbox, and vmware will allow for good
compatibility, afaik, but will run slowly. Wine will run fast, but is
no where near as compatibly.

Not sure about doscmd, because I have never messed with it.
 
> 3) im trying to run 256 color and 800x600 reolution hopefully
> 1024x780 as well. But everytime i configure th Xserver it always
> launch in 256 color 300x200. How can i fix this so that it will run
> the right resolution i want and the right color as well. And i have
> asked this question before but i just didn't quite understand the
> answers that came back.
> 
> 4) Is it possible to run KDE in 16 bit color Because everytime i
> run it in 16 bit color it says there are no screens found.

Check out xf86cfg -testmode( iirc XFree86 is the default in 5.2.1).
This will allow you to edit your resolutions, monitor, and depths
in the config after autodetecting it using X -configure. You may need
to edit it to change the default depth it uses. The X -configure will
drop a file into /root and you will then need to move it
/etc/X11/XF86Config. Xf86cfg -textmode will then take care of it
nicely.

I would really suggest man X/Xorg/XFree86 for help. And possibly
xf86cfg too... and what ever else looks nice to read up on.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CVS CO Error

2004-09-13 Thread Richard Lynch
Kenneth A. Bond wrote:
> I am trying to update my source using CVS, as CVSup is not an option in my
> current environment. I am running FreeBSD 4.10.
> Below are the commands that I am entering in order to perform the update,
> but for some reason, I am getting the following error when attempting to
> update my source:
>
> lx1005# pwd
> /usr/src
> lx1005# setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
> lx1005# cvs co -rRELENG_4_10 src
> cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags:
> Permission denied
> lx1005# whoami
> root
>
> These commands show that I am in the /usr/src directory (which is where I
> should be), and that I am the root user.
> I was informed by another user that this was a server error, but I can't
> seem to get around it no matter which anoncvs server I use.

Just for kicks, try these things:

#1:
Perhaps you're having trouble because 'co' is running into pre-existing
directories/files.
mkdir /test
cd /test
cvs co -rRELENG_4_10 src .
The . should force the source into /test (where you are) I believe.

#2:
Who or what is /home/ncvs???
Is that being set somewhere in your root login?
Or in your /root/.cvsrc?
Surely doing a 'co' should not write anything on the anonymous server...
On your local machine, go ahead and create /home/ncvs/ and chmod 777 it.
Then try again.

#3:
Aha!
Do you have a .cvsrc file in your /root directory?
Does it automagically add flags to 'co' to make you put a 'watch' on files
you check out?
Or perhaps force 'co' to always check out with some kind of exclusive lock
on them?
Or some other funky flags getting passed to 'co' via /root/.cvsrc?
Any of these things might be real handy in your day-to-day usage of CVS
within your work-place or personal setup, but would most likely not be
conducive to anonymous access of BSD's CVS servers.
I think all of those flags have some kind of over-ride to turn them back
OFF from the command line, so you won't need to fargle your .cvsrc -- "cvs
help co" should tell you what flags to add to over-ride the existing
flags.

-- 
Like Music?
http://l-i-e.com/artists.htm

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


Internet kiosk style setup

2004-09-13 Thread Murray Taylor
Hi all,

Has anyone setup an internet style kiosk using FreeBSD??

What I am lookong for is something that has all the 
usual firewall / routing stuff that is bog-standard in 
FreeBSD, but which will support a graphical touchscreen
and a barcode card reader. It needs to be able to run
promo stuff that will probably be made by a marketing
firm using Powerpoint (sigh), so it needs to boot on powerup
into X and auto run the powerpoint somehow as well as fire up the
support progs for the card reader. (/usr/local/etc/rc.d here I come)

NOTE: It wont actually provide visible internet connection for the 
users but will need connectivity to a central site via the 
ubiquitous internet.

I need to switch to 'some other graphical program' (sic) on a card
swipe, run that and then revert to the powerpoint. This may have to be
some master program that has to manage the overall selection of
currently on-top / in-focus pages

The 'invisible' background daemons I dont have any prob with,
as they will be rc.d boot scripts or cron jobs or inetd children,
but the graphical bit currently eludes me.

Can X / a window manager be run without a user login as an 
interactive display or am I barking up the wrong tree? 
(ie I dont want to have to add a winblows box just for the graphics. 
And I wont be specing any system without serious BSD firewalling etc)


BTW - I'm just looking at the KDE site re kiosk and found this

http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/
   README.kiosk?rev=KDE_3_2_BRANCH&content-type=text/x-cvsweb-markup

which may be a pointer to the right direction ... once I get 
my head around it all.

mjt

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: hi

2004-09-13 Thread Vulpes Velox
On Mon, 13 Sep 2004 19:04:05 -0400 (EDT)
Jerry McAllister <[EMAIL PROTECTED]> wrote:
 
> > 2) can i run .exe files with KDE 3.1 because when i launch a .exe
> > file it asks me what to program to use to it open with.
> 
> There are some emulation utilities that may allow this.  My mind is
> too foggy to think of a name at the moment.  As far as I know, KDE
> doesn't have anything that will allow it.  (But the emulation
> utilities could run in a window like other things.)
>  
> Someone else is better to respond to the other things.

Hmm... well with either DOSbox or wine you could set it to point one
of them at a exe. With DOSbox, you will need to create a temporary
start up script for it, iirc.

Not really sure how to set that in KDE off hand since I don't use it.
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: NAT/DIVERT Issues in 5.2.1 Release

2004-09-13 Thread Denis Lemire
I've downgraded back to 4.10 and my problems have disapeared. I'm not
sure what has changed in the 5 series to cause these issues. A few
observations I've made though:
netstat -rn gives you a bunch of kvm_read error messages. Also the
output of netstat -rn is completely corrupt (the netif, use, and
expire columns show numerical garbage. Also I've noticed that any
firewall rule (in IPFW) which uses an interface in the rule takes no
affect whatsoever, other rules work fine (hence why my divert rule
which matched the external interface didn't take any affect (confirmed
via the counters in ipfw show).

Not sure whats broken, I'll try again when the 5.x tree goes STABLE
and see if my results vary. Until then the 4.x series should meet my
needs. Thanks for the advice, especially the link to rewritten
firewall section of the handbook. I will look that over when I have
more time to spare.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 1 step forward/2 steps back

2004-09-13 Thread Warren Block
On Mon, 13 Sep 2004, Bill Schmitt wrote:
I'm really stumped, and quite frustrated with the whole thing. I know I'm 
using an old machine (Gateway 300 with a PII and 128 Megs of memory) but it 
shouldn't be this hard and I got a lot further using the old graphics 
adapter. I could really use some help here.
It's not an old machine, at least as far as FreeBSD is concerned; I've 
used lots of machines with lower specs that ran fine.

The only things I can suggest are to make sure that "PNP OS" is turned 
off in the BIOS, and that you try the install with a single hard drive 
and single CD drive, both masters on their own IDE channel.  Beyond 
that, there may be something in the installation section of the FAQ or 
Handbook (both at http://www.freebsd.org) that would help.

Another thing to consider is that there may be something wrong with the 
Gateway that is only detected when running FreeBSD's unique memory or 
hardware usage.  Your Knoppix CD probably has Memtest86, which is worth 
trying.

Don't give up; FreeBSD is worth it.
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: booting beta3 on A7N8X

2004-09-13 Thread Joshua Tinnin
On Monday 13 September 2004 02:53 pm, "Lee Harr" <[EMAIL PROTECTED]> 
wrote:
> >[...] I primarily
> >bought this board because of the AGP slot, Althon support and
> > general reviews by overclockers and gamers [...]
>
> Do you have drm working?  I have never been able to get it to work...

No, but I have an ATI, and 3D works. I could switch to an nVidia 
graphics card if it were that important to have drm in FreeBSD, but 
it's not. Still, it would be nice if the card's memory were being used. 
It does seem that eventally even most ATI cards are fully supported, 
but my 9600XT is still a bit too new. As far as the reviews go, those 
were all on Win machines, and I wasn't considering *nix installation at 
the time, but had read that it generally worked for many *nix OSes with 
some minor issues.

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


libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Murray Taylor
On Tue, 2004-09-14 at 09:46, Andrew J Caines wrote:
> Jason,
> 
> See ports/UPDATING. Search the archives for the error.
> 
> > Fatal error 'Spinlock called when not threaded.' at line 83 in file 
> > /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
> 
> Rebuild any threaded app which links to the wrong thread library, or as a
> workaround add this to /etc/libmap.conf:
> 
> libpthread.so.1 libpthread.so.1
> libpthread.so libpthread.so
> libc_r.so.5   libpthread.so.1
> libc_r.so libpthread.so
> 
> 
> 
> -Andrew-

Ok i'll bite. what is libmap.conf?, where did you find out about it?

etc etc

root # man libmap.conf
No manual entry for libmap.conf
root # apropos libmap
libmap: nothing appropriate
root # ls /etc/lib*
ls: No match.

root # uname -a
FreeBSD wstaylorm... 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat
Jan 31 14:14:40 EST 2004
[EMAIL PROTECTED]:/usr/src/sys/compile/MJTDEV1  i386

-- 
Murray Taylor
Special Projects Engineer
-
Bytecraft Systems & Entertainment
P: +61 3 8710 2555
F: +61 3 8710 2599
D: +61 3 9238 4275
M: +61 417 319 256
E: [EMAIL PROTECTED]
or visit us on the web
http://www.bytecraftsystems.com
http://www.bytecraftentertainment.com



---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---


This Email has been scanned for Viruses by MailMarshal.

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


Re: booting beta3 on A7N8X

2004-09-13 Thread Joshua Tinnin
On Monday 13 September 2004 07:09 am, John DeStefano <[EMAIL PROTECTED]> 
wrote:

> You might also try disabling ACPI; I have the same board and this
> worked for me.  Of course, getting the other onboard stuff to work
> properly has been a whole different challenge
> ~John

Speaking of which, do you know which specific sound driver should be 
enabled in the kernel? I have:

device  sound
device  snd_sbc

Which doesn't work. However, in 5.2.1 this worked (which is no longer 
applicable in 5.3):

device  pcm

I know this board uses MCP-T, but am not sure what it needs as far as 
driver support.

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


Re: Mail from a shell script?

2004-09-13 Thread Richard Lynch
Ryan Sommers wrote:
> First problem I ran into. I'm attempting to send the mail via `which
> mail`. I first was going to attempt to concatenate the message via
> "message=${message}$'\n'" However, this strips the newlines
> out of the variable (both sh and bash). I then tried using the < redirection in bash/sh and same thing happened.

Things I would try:

Use \\n so that the first pass "eats up" \\ to product \ and then you have
\n where you want it.

Paste in a literal new-line (control-v/control-m in vi) so that you don't
have to rely on \n to work.

Also, in "man 5 crontab" there is reference to using %% or somesuch for
newlines in mail.  I'm not sure if that's a cron thing or a mail thing,
but it may be useful.

Dislaimer:  All of this comes from Linux/PHP experience, and not so much
FreeBSD.  YMMV.

-- 
Like Music?
http://l-i-e.com/artists.htm

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


Re: Sound in 5.2.1-RELEASE w/ KDE 3.3.3

2004-09-13 Thread Richard Lynch
> also when KDE first starts up, although my "Starting
> KDE" system event sound is clearly cut short.  Beyond
> that, no sound works either from X or from the
> console.

Just for fun, turn *OFF* the KDE sound effects.

Perhaps, just maybe, whatever sound effect is getting played has some kind
of odd "spike" in the audio that is seg-faulting something somewhere...

It probably won't help, but it might let you get sound to last long enough
to run an application with error messages where you can find them :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

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


Re: CVS CO Error

2004-09-13 Thread Giorgos Keramidas
On 2004-09-13 17:02, "Kenneth A. Bond" <[EMAIL PROTECTED]> wrote:
> I am trying to update my source using CVS, as CVSup is not an option
> in my current environment. I am running FreeBSD 4.10.  Below are the
> commands that I am entering in order to perform the update, but for
> some reason, I am getting the following error when attempting to
> update my source:
>
> lx1005# pwd
> /usr/src
> lx1005# setenv CVSROOT [EMAIL PROTECTED]:/home/ncvs
> lx1005# cvs co -rRELENG_4_10 src
> cvs [checkout aborted]: cannot write /home/ncvs/CVSROOT/val-tags: Permission denied
> lx1005# whoami
> root

*   Is /usr/src a source tree that you created with a `cvs checkout'?

This should be obvious from the CVS/ subdirectories of all the directories
in the /usr/src hierarchy.  If you don't have these CVS/ subdirectories
you're probably trying to update with CVS a source tree that was created
by CVSup.  This won't work.

*   The cvs checkout command is run in the wrong path.

The checkout (or `co') command of CVS will create the directory you're
checking out as a subdirectory of the current path.  So by running `cvs
checkout src' in /tmp you'll create /tmp/src ... by running `cvs checkout
src' in /usr/src you will get yourself `/usr/src/src' which is definitely
wrong.

The `cvs update' command, on the other hand, updates files starting with
the current directory (unless told otherwise), so you'd have to be
*INSIDE* /usr/src to update /usr/src.  The difference is subtle but very
important.

*   To fix the ``cannot write /home/ncvs/CVSROOT/val-tags'' message run cvs
with the -R option.

When running against a remote repository, cvs should be run with -R, IMHO.
This way, it will consider the repository read-only and avoid attempting
to write files within it.

Remote repositories might also require you to `cvs login' first (if you
haven't logged in at least once in the past).

Bearing all this in mind, the correct sequence of commands to run in your case
would be:

a.  If /usr/src is a checkout and not a CVSup-created directory:

# cd /usr/src
# export CVSROOT='[EMAIL PROTECTED]:/home/ncvs'
# cvs login:
password for [EMAIL PROTECTED]:
# cvs -qR up -APd -I '!' -I CVS -rRELENG_4_10 2>&1 | \
  tee /root/cvs-update.log

Note the -R option to `cvs'.

The extra -I options make sure that `cvs update' will ignore only the CVS
subdirs of the paths it traverses.  Any stale object files or other
unrelated to FreeBSD files found in your source tree (i.e. your kernel
configs) should show up as lines starting with "?".  Useful to know if
your source tree is clean.

When the update is done you can skim through /root/cvs-update.log for the
details you might have missed while it was running.

b.  If /usr/src is not a checkout but a CVSup-created directory:

You'll have to backup your sources and do a real checkout.  This is going
to take a long time, since CVS is not so fast as CVSup; it also puts a
great amount of load to the CVS server so you should be a bit patient when
checking our large trees, like the entire src/.

So you should first back up your existing /usr/src tree.

# cd /usr
# tar cvf - src | gzip -9c -> src.tar.gz
# rm -fr src

Then checkout:

# export CVSROOT='[EMAIL PROTECTED]:/home/ncvs'
# cvs login:
password for [EMAIL PROTECTED]:
# cvs -qR co -rRELENG_4_10 src 2>&1 | tee /root/cvs-checkout.log

and look in `/root/cvs-checkout.log' for possible errors or anything that
could be wrong.

- Giorgos

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


Re: Mail from a shell script?

2004-09-13 Thread Jez Hancock
On Mon, 13 Sep 2004 11:31:55 -0600 (MDT), Ryan Sommers
<[EMAIL PROTECTED]> wrote:
> 
> First problem I ran into. I'm attempting to send the mail via `which
> mail`. I first was going to attempt to concatenate the message via
> "message=${message}$'\n'" However, this strips the newlines
> out of the variable (both sh and bash). I then tried using the < redirection in bash/sh and same thing happened.
>
I believe this happens because the default input field separator (the
environment variable $IFS) is set to space by default and so newlines
are just 'squashed'.  Effectively all newlines are stripped out.

As a test you can try this:

-snip-
#!/bin/sh
message="Hi!

This is a test.

Another line.

Last line."

# OFS="$IFS"
# IFS=""
echo "$message"
# IFS="$OFS"
-snip-

If you run the script once with the commented lines, you should see
the same problem you've encountered already.  Newlines are replaced
with spaces.

However if you then remove the comments so that the $IFS variable is
unset before echoing the message (first saving the original value to
$OFS) and run it, the script should display the lines as intended,
newlines intact.  Finally the last commented line resets $IFS to it's
original value - script execution can be messed up later if you don't
do this.


> My next thought was to open an fd through which to pipe output since the
> shells support it. However, it seems they only support opening a file for
> read/write, not a pipe.
> 
> So, my ultimate question is, is there any way to send an email from a
> shell script without creating a "wrapper script" that pipes the output of
> one script into the mail program. Ie script1 contains only "script2 | mail
> ".

You can always try this as well to find scripts that contain the kind
of code you want to emulate:

file /usr/local/bin/* | grep Bourne | cut -f1 -d: | xargs grep mail

which gives you a list of bourne shell scripts residing in
/usr/local/bin that contain reference to the string 'mail' - those
scripts that might contain mailer code.

Running this now I remember checking out the 'flea' script before for
an example before - another is the freebsd problem report script -
send-pr.  I think those scripts cat the message content out to a
temporary file first and then pipe that file back to the sendmail
command - or some variation on that theme.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/
http://jez.hancock-family.com/  - Another FreeBSD Diary
http://ipfwstats.sf.net/- ipfw peruser traffic logging
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.2.1-RELEASE and install.cfg unable to find ad0s1b dev node

2004-09-13 Thread Christian Hiris
On Tuesday 14 September 2004 02:12, Ivan Fetch wrote:
> Hello,
>
> I've searched the mailing lists and found others with this issue, but
> haven't found a solution yet - can someone point me in the right direction
> please?
>
> When using an install.cfg file with 5.2.1-RELEASE, I get:
>  Unable to find device node for /dev/ad0s1b in /dev!
>  The creation of filesystems will be aborted.

[...]

> debug=yes
> # Networking Options
> hostname=geo
> domainname=domain.com
> nameserver=192.168.0.254
> defaultrouter=192.168.0.254
> ipaddr=192.168.0.201
> netmask=255.255.255.0
> netDev=fxp0
> # Install Media Options
> mediaSetCDROM
> # Distribution Selection
> distSetKernDeveloper
> # Partitioning
> disk=ad0
> partition=all
> bootManager=boot
> diskPartitionEditor
> diskPartitionWrite
> ad0s1-1=ufs 524288 /
> ad0s1-2=swap 131072 none
> ad0s1-3=ufs 524288 /var
> ad0s1-4=ufs 0 /usr
> # Even commenting out the above and uncomminting the below, install still
> fails.
> #diskInteractive=yes
> diskLabelEditor
> diskLabelCommit
> installCommit

I think you should remove the functions "diskPartitionWrite" and 
"diskLabelCommit", try this instead:

 debug=yes

 # Networking Options
 hostname=geo
 domainname=domain.com
 nameserver=192.168.0.254
 defaultrouter=192.168.0.254
 ipaddr=192.168.0.201
 netmask=255.255.255.0
 netDev=fxp0

 # Partitioning
 disk=ad0
 partition=all
 bootManager=boot
 diskPartitionEditor

 # disklabel
 ad0s1-1=ufs 524288 /
 ad0s1-2=swap 131072 none
 ad0s1-3=ufs 524288 /var
 ad0s1-4=ufs 0 /usr
 diskLabelEditor

 # install sys
 mediaSetCDROM
 distSetKernDeveloper
 installCommit


Cheers,
ch

-- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


showing which path a user program runs from?

2004-09-13 Thread robg
hi, say im the user 'rob' and i have the same program in two seperate
folders in my /home dir and run both.. if i run ps it shows me im
running both, but how can i find out which location folder is running
which program shown in ps

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


Re: showing which path a user program runs from?

2004-09-13 Thread Mike Jeays
On Mon, 2004-09-13 at 22:37, robg wrote:
> hi, say im the user 'rob' and i have the same program in two seperate
> folders in my /home dir and run both.. if i run ps it shows me im
> running both, but how can i find out which location folder is running
> which program shown in ps

The "which" command will tell you the fully-qualified path name of any
executable that can be found in the $PATH variable.  It will search in
order of the directories in the path.

So, if your program is "myprog", run the command "which myprog".


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


new

2004-09-13 Thread A W
i've scanned through the hand book and i found something thta i really don't 
understand, what is a loader.conf? and loader(8)? im just all lost now and 
when i type "xfree86" or "kldload" it says command not found. and 
also when i typed "/boot/" it says permission denied. did i do something 
wrong? Plz don't flame me because i asked a stupid question

_
Scan and help eliminate destructive viruses from your inbound and outbound 
e-mail and attachments. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.

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


RE: KVM Recommendations

2004-09-13 Thread steveb99
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Bill Campbell
> Sent: Monday, September 13, 2004 9:59 AM
> To: [EMAIL PROTECTED]
> Subject: Re: KVM Recommendations
> 
> On Tue, Sep 14, 2004, Graham Bentley wrote:
> >
> >Hi All,
> >
> >Can anyone recommend a 4 Port KVM (UK Supplier ) that will work
with 
> >FreeBSD (and not too expensive :)
> >
> >I have just recently racked my 4 boxes and have a Protec Bytelan
VS4.
> >
> >The main problem is moused / XMouse - annoyingly it works 
> with Winblows 
> >but not my FreebSD box - keyboard is OK.
> 
> I've been using the 4-port ps/2 versions of the Belkin box (I 
> think their model number is E4).  It's working fine with a 
> 3-button Logitech mouse and a 21in Nokia monitor at some 
> fairly high resolutions with Linux, FreeBSD, and OS X.
>
I've been using a Belkin OmniView 4-port for years with many different
OS's and it has worked fine. 

Steve B.

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


Re: libmap.conf ?? [Was:Re: xmms failure]

2004-09-13 Thread Dan Nelson
In the last episode (Sep 14), Murray Taylor said:
> Ok i'll bite. what is libmap.conf?, where did you find out about it?
> 
> etc etc
> 
> root # man libmap.conf
> No manual entry for libmap.conf
> root # apropos libmap
> libmap: nothing appropriate
> root # ls /etc/lib*
> ls: No match.
> 
> root # uname -a
> FreeBSD wstaylorm... 4.9-STABLE FreeBSD 4.9-STABLE #0: Sat Jan 31 
> 14:14:40 EST 2004 [EMAIL PROTECTED]:/usr/src/sys/compile/MJTDEV1  i386

It's a 5.x feature:
http://www.FreeBSD.org/cgi/man.cgi?query=libmap.conf


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


Re: new

2004-09-13 Thread Bill Moran
"A W" <[EMAIL PROTECTED]> wrote:

> i've scanned through the hand book and i found something thta i really don't 
> understand, what is a loader.conf?

Issue the command "man loader.conf" for details.

> and loader(8)?

That syntax means see section 8 of the Unix manual for a description of
"loader".  This is most easily accomplished by using the man command like
so:
man 8 loader

> im just all lost now and 
> when i type "xfree86" or "kldload" it says command not found.

There is no such command "xfree86", but if your system can't find kldload,
something is wrong.

> and 
> also when i typed "/boot/" it says permission denied.

/boot is a directory.  If you just typed "/boot/" it would obviously give
you a permission error, since you're not allowed to access directories
in that fashon.

Try using "ls /boot" or "cd /boot" ... depending on what you're trying to
accomplish.  I would suggest finding a Unix beginners tutorial on the
web somewhere to help get you familiarized with those commands.  This one
looks decent:
http://www.ee.surrey.ac.uk/Teaching/Unix/
There are lots of others, do a google search, then read through some of them
and try out the commands they try to teach you.

> did i do something 
> wrong?

For the most part, no.  You just have a bit to learn yet.  Although I can't
think of a good reason why the system wouldn't be able to find kldload.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Which Distro?

2004-09-13 Thread Viper
I am going to buy a Mac g4 soon, and I am thinking
about turning it into a server. I asked around and
everybody rocommended FreeBSD to me. So what distro of
FreeBSD would I use for a mac computer?



__
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Which Distro?

2004-09-13 Thread Robert Huff

Viper writes:

>  I am going to buy a Mac g4 soon, and I am thinking
>  about turning it into a server. I asked around and
>  everybody rocommended FreeBSD to me. So what distro of
>  FreeBSD would I use for a mac computer?

1) There is no FreeBSD port for the PPC.  (Or rather, there is,
not usable as far as I know.)  If you insist on running pure-strain
UNIX try NetBSD.
2) Many programs which run on FreeBSD have a version for OS X.


Robert Huff


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


Re: Which Distro?

2004-09-13 Thread shane mullins
What do you mean by distro?  FreeBSD doesn't have distrobutions by vendors.
It is a complete OS in itself.  I you mean version, if you are new to
FreeBSD, I would suggest 4.10.

Shane
- Original Message -
From: "Viper" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 13, 2004 11:27 PM
Subject: Which Distro?


> I am going to buy a Mac g4 soon, and I am thinking
> about turning it into a server. I asked around and
> everybody rocommended FreeBSD to me. So what distro of
> FreeBSD would I use for a mac computer?
>
>
>
> __
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

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


  1   2   >