How to remove a vinum volume?

2003-09-07 Thread Samuel Chow
Hi there,

I have the following vinum volume that I want to remove.
The disks will be reassigned to other machines.

vinum - l -r dataVol
V dataVol  State: up  Plexes:   1 Size: 65 GB
P dataVol.p0 C State: up  Subdisks: 2 Size: 65 GB
S dataVol.p0.s0State: up  PO:0  B Size: 28 GB
S dataVol.p0.s1State: up  PO:   28 GB Size: 37 GB

After reading the man page, I am under the impression that
I am supposed to first use the stop command.

vinum - stop -r dataVol
vinum - l -r dataVol
V dataVol  State: down  Plexes:   1 Size: 65 GB
P dataVol.p0 C State: upSubdisks: 2 Size: 65 GB
S dataVol.p0.s0State: upPO:0  B Size: 28 GB
S dataVol.p0.s1State: upPO:   28 GB Size: 37 GB

Umm... The stop command doesn't seem to work recursively, even
when the -r flag is specified.

vinum - rm -r dataVol
Can't remove dataVol: Device busy (16)

vinum - l -r dataVol
V dataVol  State: upPlexes:   1 Size: 65 GB
P dataVol.p0 C State: upSubdisks: 2 Size: 65 GB
S dataVol.p0.s0State: upPO:0  B Size: 28 GB
S dataVol.p0.s1State: upPO:   28 GB Size: 37 GB

Did I misunderstand the sequence required to remove a vinum
volume?

BTW, this machine is running RELENG_4 checked out on 
Mar 1, 2003.  Thanks.

---
Samuel Chow
[EMAIL PROTECTED]

Segmentation Fault (core dumped)
This message is displayed using recycled electrons.




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


The FreeBSD Diary: 2003-08-17 - 2003-09-06

2003-09-07 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to [EMAIL PROTECTED] with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille - DVL Software Limited
The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples
FreshPorts- http://www.FreshPorts.org/   - the place for ports
FreshSource   - http://www.FreshSource.org/  - the place for source

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


Re: Images of FreeBSD

2003-09-07 Thread Khairil Yusof
On Sun, 2003-09-07 at 09:53, Virgil wrote:
 I would like to know if their is any way I can find any images of what the desktop 
 looks like in BSD, I have searched extensively for days and tried numerous ways to 
 contact others and can't find absolutely no information about BSD, I would like to 
 know what it looks like before I try to install it and also to see what programs are 
 with it and what programs are available for it, I am mostly looking for a OS to 
 replace Windows for video editing purposes.  
 Thanks very much for your time and hope to hear something soon.

For video editing, you might want to have a look at
http://www.jahshaka.com/

Though this is not available in the ports yet I think.

As others have said Linux/FreeBSD is usually using the same software.

Most importantly you should compare both FreeBSD an Linux based on
software and hardware support that you need for video editing. Better
questions would be:

Does FreeBSD support DV/Firewire for camcorders?
Does FreeBSD support video capture cards, which ones?
(this is important, a lot of high end cards don't have drivers for
Linux/FreeBSD)

Is software available on FreeBSD to do such and such?



--
Optimized, readable, on time; Pick any two. 

FreeBSD 5.1-CURRENT i386 
3:14PM up 18:06, 2 users, load averages: 2.91, 2.71, 2.66


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


Re: NVTV and BSD.

2003-09-07 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 September 2003 16:54, Dragoncrest wrote:
  Is it in the ports by any chance or do I have to build it from the
 source available via the sourceforge page?

I just grabed the Linux binary and I run it under Linux emulation.
It is not in the ports.

  Any good and easy tips, guides or tutorials on setting it up, or
 does the app come with that info?

It's very easy to set up and comes with documentation. But if you need help, 
I'ld be pleased answer your question (if I can :) ).

Antoine
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/Wt0pY3Hnhkr+5cQRAn8VAJ4kewqfCkqQ06ct0Pd58pD/ztSEhwCeL+tv
jz7jGjMMHTiULcX3WzP/Hk8=
=mWob
-END PGP SIGNATURE-

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


Re: Images of FreeBSD

2003-09-07 Thread James Leone
Kent Stewart wrote:

Since most of the desktops on Linux are also available on FreeBSD, you 
can see what they look like.

I can also confirm that KDE 3.1 installs very nicely in FreeBSD 
5.1-Current.  The trick is setting up your xconfiguration, setting up 
kdm so you will have a graphical login screen, and to add the .xsession 
and .xinitrc files to ~/.

James Leone

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


Re: kernel compile

2003-09-07 Thread Timur
Finally, I have removed umass scsi usb device, my kernel has been
compiled successfully, sound card statred to work!

Strange thing, why 'kldload snd_pcm' did not work with GENERIC kernel?

Well, now I can happily watch movies with mplayer! :)
The only thing I miss now - icq client.  Under windows I was using
Miranda..  What icq client can you recommend?

By the way.. FreeBSD handbook is really great thing!

Thanks to all who replied!!

On Sat, Sep 06, 2003 at 04:06:31PM +0200, Rapha?l Marmier wrote:
 Start over without removing unrelated stuff. Looks like you removed 
 scsi without removing all devices depending on it.
 
 Rapha?l
 
 Le Samedi, 6 sep 2003, ? 15:51 Europe/Zurich, Timur a ?crit :
 
 On Sat, Sep 06, 2003 at 10:51:40AM -0400, Monah Baki wrote:
 Have you tried recompiling the kernel with device pcm
 
 
 yes, now I'm trying to compile new kernel.  also I noticed, that my
 video card (nVidia TNT with 8 Megs) does not support X-Video extension
 (ie, nv driver does not support it).  so I installed drivers from
 www.nvidia.com, which require USER_LDT option in kernel.
 
 So..  what I did..  I have added line 'device pcm' and 'option
 USER_LDT' and removed some drivers for devices I do not have (SCSI
 etc) and then tried to compile a kernel.  But the build fails:
 
 linking kernel
 umass.o: In function `umass_cam_attach_sim':
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


samba+ldap

2003-09-07 Thread Antoine Jacoutot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi !

Is there anyone using samba+ldap as a PDC for a Windows domain ?
I'm looking for help: I'm trying to sync WIndows and Unix passwords using 
ldapchpasswd or ldapsync.pl (in the Samba contrib section), but it just does 
not work.
I'm looking for someone with a similar setup who could give me a hand.
Thanks.

- -- 
Antoine Jacoutot
[EMAIL PROTECTED]
http://www.lphp.org
PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/WuDOY3Hnhkr+5cQRArzRAJ0cRGP2NNAB2jxpsTy/etm+R8G7kQCgh6Sz
sR6oTtKl6OFyleLBuCXHw2I=
=mT1u
-END PGP SIGNATURE-

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


compiling linux application

2003-09-07 Thread mess-mate
Hi,
can't compile a little linux application;
doesn't find the #include linux/isdn.h and all 
about that linux include :(
Is there anything I didn't install ?
Thanks for the help.
This is a part of the imonc.c file :
#include errno.h
#include stdio.h

#ifdef FLI4L/* imonc on fli4-router */

#include sys/types.h
#include sys/termio.h

#else

#  ifdef linux
#include ncurses.h
#  else
#include curses.h
#  endif

#endif /* not FLI4L */

#include string.h
#include ctype.h
#include time.h
#include sys/time.h
#include sys/types.h
#include unistd.h
#include stdlib.h
#include signal.h

#include netdb.h
#include netinet/in.h
#include netinet/tcp.h
#include arpa/inet.h  /* decl of inet_addr()  */
#include sys/socket.h

#include linux/isdn.h

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


Re: compiling linux application

2003-09-07 Thread Jonathan Chen
On Sun, Sep 07, 2003 at 10:33:33AM +0200, mess-mate wrote:
 Hi,
 can't compile a little linux application;
 doesn't find the #include linux/isdn.h and all 
 about that linux include :(

FreeBSD != Linux. You need to find out know what linux/isdn.h is for
and replace it with the FreeBSD equivalent. Better yet, with a more
generic UNIX equivalent.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB code doesn't permit bidirectional comunication with printers

2003-09-07 Thread Mark Terribile
Riccardo writes:

 I have an USB printer (Epson C40ux), and it works
 like a charm but currently I'm unable to ask ink
 level or align the head or obtaining
 any other info using escputil

Does the C40ux have a parallel port?  I have my
Stylus C82 connected on both the parallel and USB
ports.  I use the parallel port for  escputil  and
USB for printing, which would suck the processor
out the parallel port if I tried to put print traffic
over it.  The C40ux might be able to work the same
way.

  Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer one last time :(

2003-09-07 Thread Simon Barner
 I got it running in Linux all I need to is to compile the following:
 
 openquicktime-1.0-src.tar
 win32codecs.tar
 MPlayer-0.91.tar.bz2 
 mplayerplug-in-0.80.tar.gz 
 mini.tar.bz2 
 Blue-1.0.tar
 qt6dlls.tar.bz2 
 
 Those too are the same files that freebsd looks for, but all I get is a white dialog 
 box saying 
 loading movie, when I click on a movie in quicktime.apple.com.

In case you didn't know, mplayerplug-in 0.80 is also in the ports
collection.

I experiences the same problems as you, but I managed to make the moves
at http://www.apple.com/trailers work. Here is what I did:

portupgrade -R mplayerplugin  (edit your /usr/local/etc/pkgtools.conf to
   exclude some ports (e.g. XFree) and define
   your preferred knobs for mplayer)
   
Do you need a http proxy to access the web? In case you do, there is a
problem since the plugin does not use the browsers plugin setting (yet) but
simply forks an mplayer process.

The good news is, that mplayer respects the http_proxy environment
variable, so the following wrapper script made the quicktime movies
work for me (I suppose this has something to do with streaming since
other movie formats seem to be downloaded by the browser (which knows
your proxy) to a temporary file and then passed to mplayer)

mv /usr/local/bin/mplayer /usr/local/bin/mplayer.bin
create a shell script /usr/local/bin/mplayer

#!/bin/sh
http_proxy=http://your.proxy:1234
export http_proxy
/usr/local/bin/mplayer.bin

Regards,
 Simon


signature.asc
Description: Digital signature


Re: mplayer one last time :(

2003-09-07 Thread Simon Barner
Sorry for all those spelling errors (in the non-quoted part of my mail).
Here is an error that needs to be corrected:

 #!/bin/sh
 http_proxy=http://your.proxy:1234
 export http_proxy
 /usr/local/bin/mplayer.bin

The wrapper script should look like this:

#!/bin/sh
http_proxy=http://your.proxy:1234
export http_proxy
/usr/local/bin/mplayer.bin $@

Simon


signature.asc
Description: Digital signature


Re: I2O support in FreeBSD

2003-09-07 Thread Harald Schmalzbauer
On Sunday 07 September 2003 04:27, Kip Macy wrote:
 Does FreeBSD have anything comparable to Linux's I2O support?
 My impression is that it is dealt with on a driver by driver basis
 and there isn't an API per se'.

I don't know Linux's I2O support but if it is something SMBus related you can 
find the following:


# SMB bus
#
# System Management Bus support is provided by the 'smbus' device.
# Access to the SMBus device is via the 'smb' device (/dev/smb*),
# which is a child of the 'smbus' device.
#
# Supported devices:
# smb   standard io through /dev/smb*
#
# Supported SMB interfaces:
# iicsmbI2C to SMB bridge with any iicbus interface
# bktr  brooktree848 I2C hardware interface
# intpm Intel PIIX4 (82371AB, 82443MX) Power Management Unit
# alpm  Acer Aladdin-IV/V/Pro2 Power Management Unit
# ichsmbIntel ICH SMBus controller chips (82801AA, 82801AB, 82801BA)
# viapm VIA VT82C586B/596B/686A and VT8233 Power Management Unit
# amdpm AMD 756 Power Management Unit
# nfpm  NVIDIA nForce Power Management Unit
#
device  smbus   # Bus support, required for smb below.

device  intpm
device  alpm
device  ichsmb
device  viapm
device  amdpm
device  nfpm

device  smb

#
# I2C Bus
#
# Philips i2c bus support is provided by the `iicbus' device.
#
# Supported devices:
# ici2c network interface
# iic   i2c standard io
# iicsmb i2c to smb bridge. Allow i2c i/o with smb commands.




   -Kip




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


pgp0.pgp
Description: signature


Spoofing, defense?

2003-09-07 Thread Alex Zivenko
Everybody know what is spoofing.
How can I protect my server from it? It's a router to the internet, but some of my 
friends spoof the address and go thrue the router. Firewall can't protect.
Any suggestions?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: routing problems (experience needed)

2003-09-07 Thread Harald Schmalzbauer
On Saturday 06 September 2003 12:19, Peter Ulrich Kruppa wrote:
 Hi,

 I am trying to substitute our school's old Win NT4 Server by a
 SAMBA/FreeBSD. The SAMBA PDC itself works like a charm, but
 without the NT machine it can't be located from the different
 subnets - and so is quite useless.

 This is our network design:


  Internet

  ^

   ___+_

   | DSL Router|  172.16.2.254

   ---+-

   ___+

   |   Switch +--+

   -+-+-+-+-+--  |
 _  | | | | |+---+

 | PROXY FBSD|--+ | | | || 172.16.2.1

 -| | | |    +_
 172.16.2.11  | | | +-| SAMBA PDC|   | NT4 PDC|

  | | |   ------+--
  | | |   172.16.2.253  |
  | | | 172.16.1.1

 different subnets: |
  172.16.3. |
  172.16.4. |
  172.16.5. 172.16.2.
etc. subnet
  (with routers and  (with switches)
   switches)


 As I said: connections between the different subnets break as
 soon as the NT4 Server is plugged off.
 What can be done:
 1) Change all machines to mask 255.255.0.0
- or would this end up in bad perfomance?
(We have about 35 workstations all over the house and the
 number is growing)

I'm guessing your sunet currently is /24.
Don't consider any perfomance issues unless you have at least 100 workstations

 2) Set up some kind of router (we have got some old P75 left)?

Well, if machine FOO=172.16.3.x/24 want's to communicate with machine 
BAR=172.16.4.x/24 you WILL need a router in any case.

If you just want to have machined FOO and BAR communicate with 
PDC=172.16.2.x/24 you could do some ARP tricks but I guess you have a router 
in each subnet.


Now your problem is with WIndowsNameService (WINS)
You have to setup samba as a WINS server with local master and domain master 
set. Then your clients need to get the DPC's IP as WINS Server. You can do 
that with ISC's DHCP by adding the following option netbios-name-servers 
your.pdc-ip.or.name;
Per definition in each subnet had to be another local master but I can 
remember that if there are enough machines in each subnet, so that there is 
alwas a masterbrowser online, it works without.

Hope this helps,

-Harry


 3) Something completely different?

 Thanks for all kinds of ideas and hints.

 Uli.


   +---+

   |Peter Ulrich Kruppa|
   |
 | Wuppertal |
 |  Germany  |

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


pgp0.pgp
Description: signature


Re: Spoofing, defense?

2003-09-07 Thread Guilmot Mike
Alex Zivenko wrote:
 Everybody know what is spoofing.
 How can I protect my server from it? It's a router to the internet,
 but some of my friends spoof the address and go thrue the router.
 Firewall can't protect.  
 Any suggestions?

Follow an ipf howto/tutorial.
There are MANY of them around.

In my firewall I prevent it like:

# Anti-spoof, no loggin [ I hate reading them ;-) ]

block in quick on rl0 from 192.168.0.0/16 to any #RFC 1918 private IP

block in quick on rl0 from 172.16.0.0/12 to any #RFC 1918 private IP

block in quick on rl0 from 10.0.0.0/8 to any #RFC 1918 private IP

block in quick on rl0 from 127.0.0.0/8 to any #loopback

block in quick on rl0 from 0.0.0.0/8 to any #loopback

block in quick on rl0 from 169.254.0.0/16 to any #DHCP auto-config

block in quick on rl0 from 192.0.2.0/24 to any #reserved for doc's

block in quick on rl0 from 204.152.64.0/23 to any #Sun cluster interconnect

block in quick on rl0 from 224.0.0.0/3 to any #Class D  E multicast



Hope this was what you meant ...


Kind regards,

Guilmot Mike

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


RE: I need to control a bunch of files.

2003-09-07 Thread Yonatan Bokovza
 -Original Message-
 From: Mark Terribile [mailto:[EMAIL PROTECTED]
 Sent: Friday, September 05, 2003 21:33
 To: [EMAIL PROTECTED]
 Subject: Re: I need to control a bunch of files.
 
 
 
 Vitali Malicky writes
 
  I need to control a bunch of files.
  As soon as any of these files changes it should
  be immediately rechecked and correct chmod and
  chown reset on this file(s).
 
  I'd like them to be controlled by a process which
  would monitor any possible changes in these files
  and would do the job upon the event.
 
 If it's a local file system, you may be able to
 do it with the kqueue(2)/kevent(2) mechanism.
 

and check out ports/sysutils/wait_on.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux_base

2003-09-07 Thread Scott Ballantyne
I find I can't install linux_base or linux_base-8 without running as
single user. This is quite odd, since I haven't had this problem
previously. 

If I'm running multi-user (as toor), the build stops when installing
glibc. In linux_base, there's actually a coredump, in linux_base-8, it
just stops. This happens even running the GENERIC kernel (I had
previously thought it was perhaps related to a custom kernel).

However, if I drop to single user mode, and make install, it
completes, although I get many of the following error messages
intended for syslogd:

linux: syscall mmap2 (obsolete or not implemented (pid = )

(I couldn't figure out which process the pid was, sorry).

and the install script gives many of:

no user/group rpm - using root.

However, the linux binaries all seem to run fine, so alls well I
guess. Still, I am curious why this should be occuring.

Anyone know?

Thanks,
Scott
-- 
[EMAIL PROTECTED]

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


Does Wine work on FreeBSD 5.1?

2003-09-07 Thread Dan Strick
Does Wine work on FreeBSD 5.1?

I always get an error like this when it starts up:

% wine98 sol
err:ntdll:RtlpWaitForCriticalSection section 0x5c0ebb00
../../scheduler/syslevel.c: Win16Mutex wait timed out in thread 000a,
blocked by 0009, retrying (60 sec)

(The error message is a single line of text.  I broke it up at blanks
into three lines to make it more readable.)

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


Re: I2O support in FreeBSD

2003-09-07 Thread Andrea Venturoli
** Reply to note from Harald Schmalzbauer [EMAIL PROTECTED] Sun, 7 Sep 2003 14:57:38 
+0200


  Does FreeBSD have anything comparable to Linux's I2O support? 
  My impression is that it is dealt with on a driver by driver basis 
  and there isn't an API per se'. 
  
 I don't know Linux's I2O support but if it is something SMBus related you c= 
 an=20 
 find the following:

BTW, what's the purpose of this?

 bye  Thanks
av.



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


Re: Does Wine work on FreeBSD 5.1?

2003-09-07 Thread Adam McLaurin
On Sun, 2003-09-07 at 12:04, Dan Strick wrote:
 Does Wine work on FreeBSD 5.1?
 
 I always get an error like this when it starts up:
 
 % wine98 sol
 err:ntdll:RtlpWaitForCriticalSection section 0x5c0ebb00
 ../../scheduler/syslevel.c: Win16Mutex wait timed out in thread 000a,
 blocked by 0009, retrying (60 sec)
 
 (The error message is a single line of text.  I broke it up at blanks
 into three lines to make it more readable.)

It works here (well, as well as can be expected).

I'd recommend using emulators/linux-winetools to configure it. That'll
make life quite a bit easier.

-- 
Adam McLaurin [EMAIL PROTECTED]


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


HP2000C foomatic+hpijs output problems

2003-09-07 Thread gte990t
Hi all, 
 
I'm having some odd output problems with my HP2000C using the 
cups/foomatic+hpijs drivers.  The printer will print, but the output is always 
distorted--it's magnified several times larger than it should be and stretched 
horizontally.  The same printer works fine using the standard cups new DeskJet 
driver as well as cups+gimp-print. 
 
Here's how I setup the printer with foomatic and hpijs: 
 
installed foomatic-db port 
 
installed hpijs port 
 
downloaded foomatic-rip and foomatic-gswrapper from LinuxPrinting.org into 
/usr/local/bin and chmod'ed to 755 
 
symlinked foomatic-rip into /usr/local/libexec/cups/filter 
 
downloaded HP-2000C-hpijs.ppd from LinuxPrinting.org, gzipped and placed in 
/usr/local/share/ppd/HP 
 
symlinked /usr/local/share/ppd/HP into /usr/local/share/cups/model 
 
went through the usual steps to install the printer in CUPS 
 
Is there anything I'm missing? 
Any help would be greatly appreciated. 
 
Thanks, 
Jason Harmening 

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


Bootable CD Problems

2003-09-07 Thread MacMan20001
Hello.

I'm trying to build a bootable BSD 4.8 CD. Nothing fancy, just a 
shell and maybe a few utilities, but I have a specific problem.

Whenever I boot from the CD, the computer asks for the root 
filesystem. I point it toward the CD (cd9660:acd0), but it hangs on 
Mounting root from cd9660:acd0 My guess is that it can't find 
the mfsroot file. So, I tried all the possibilities: a zipped and 
unzipped file, upper and lower case filename, upper and lower case 
listing in /boot/loader.conf, and nothign worked. Does anyone know 
the proper way the mfsroot file should be done, or another problem 
that could be causing this?

I have /sbin/init on the disk, and rc didn't load; I inserted 'echo 
rc loaded.' into the rc file, and didn't get any messages.

Any help would be nice, and I wil answer what questions I can about this.
--
Signed,
Dan Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random crash and/or reboots

2003-09-07 Thread Chuck Swiger
Jack L. Stone wrote:
A while back, on a couple of occasions, I posted a query about some bad
behavior on my mail server. For the past several months, it has been either
crashing/reboot or just rebooting. It's ALWAYS triggered by a SSH login,
but at random and ONLY at the su to root -- usually the most time before
reboot is about 2+ weeks and then contrasted by 2 in a row right after the
reboot -- actually no pattern. It has never happened directly at the console.
[ ... ]
There are no indications of anything in the logs, and no core dumps. It
just stops and reboots, and any random time it pick. Only a couple of times
it has crashed without the remote login.
These two paragraphs contradict each other, at least in part.  :-)

You're seeing frequent crashes, which seem to be strongly correlated with 
logging in as root, but you've also noticed crashes without the remote login, 
too?  You should build a debug kernel, and enable dumping the system to swap 
upon a panic (man crash), so that you have more information about the crash.

One tip was that I might have stale NFS mountabs -- cleared them out, but
problem persisted.
The above tip was suggested when I mentioned that on a couple or more of
the occurrences, I managed to get to the console quickly enough to see (in
bright bold) lockmgr locking against myself -- or close to that. My
google of that error does mention stale mounts, but mostly about esoteric
code stuff. No fix found anywhere.
Hmm.  Are you performing local mail delivery to NFS volumes?

Normally (or historically, anyway), NFS locking problems cause rpc.lockd to 
crash or wedge, thus resulting in NFS locking not working and possibly grim 
results to file consistency for anything being changed by two or more processes 
at the same time.

However, NFS locking problems generally do not result in a system panic.

[ ... ]
http://sageweb/tmp/1-lsof.txt
http://sageweb/tmp/2-lsof.txt
These URLs aren't fully-qualified hostnames.  Please try again.  :-)

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


[newbie] 4.8-STABLE became unreachable

2003-09-07 Thread admin



well my machine just became unreachable and trying to figure out what to do
about it.  Its the first time in my history of using freeBSD to experience
this.  we have kernel firewall enabled and running portsentry as well.  we
power cycled to clear the situation as we could not log in via the console. 
there is nothing in the hosts.deny file to create this situation. 

uname -a output:
FreeBSD typhoon.enabled.com 4.8-STABLE FreeBSD 4.8-STABLE #0: 


there was one recent modification to the Kernel to from 14 days ago.  we
increased PMAP_SHPGPERPROC.

options PMAP_SHPGPERPROC=300

this is the post we read:
http://lists.freebsd.org/pipermail/freebsd-hackers/2003-May/000695.html


I am suspecting hardware issues - perhaps the RAM memory board.  512MB single
board.

can somebody provide documentation or suggestions of ways we can figure out
what is going on here?  there is simply nothing in /var/log/messages relevant
to anything creating this situation.   in fact the machine remained having
link and stuff.


- Noah



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


Re: Use of Outlook Express with sendmail with SASL and TLS

2003-09-07 Thread Chuck Swiger
Doug Hardie wrote:
[ ... ] However, I can't seem to figure out how to configure OE to use SSL.
You would do better to ask this question on a Microsoft list; it has nothing to 
do with FreeBSD.  That being said, sufficiently recent versions of Outlook 
Express will have an Advanced tab in the account properties inspector for a 
particular mail account which contains port numbers for Outgoing mail (SMTP), 
and then a checkbox marked This server requires a secure connection (SSL).

--
-Chuck


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


Re: Spoofing, defense?

2003-09-07 Thread Mike Maltese
A complete list of valid address ranges can be found at
http://www.iana.org/assignments/ipv4-address-space.


 Alex Zivenko wrote:
  Everybody know what is spoofing.
  How can I protect my server from it? It's a router to the internet,
  but some of my friends spoof the address and go thrue the router.
  Firewall can't protect.
  Any suggestions?

 Follow an ipf howto/tutorial.
 There are MANY of them around.

 In my firewall I prevent it like:

 # Anti-spoof, no loggin [ I hate reading them ;-) ]

 block in quick on rl0 from 192.168.0.0/16 to any #RFC 1918 private IP

 block in quick on rl0 from 172.16.0.0/12 to any #RFC 1918 private IP

 block in quick on rl0 from 10.0.0.0/8 to any #RFC 1918 private IP

 block in quick on rl0 from 127.0.0.0/8 to any #loopback

 block in quick on rl0 from 0.0.0.0/8 to any #loopback

 block in quick on rl0 from 169.254.0.0/16 to any #DHCP auto-config

 block in quick on rl0 from 192.0.2.0/24 to any #reserved for doc's

 block in quick on rl0 from 204.152.64.0/23 to any #Sun cluster
interconnect

 block in quick on rl0 from 224.0.0.0/3 to any #Class D  E multicast

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


OpenOffice 1.1rc3-Linux on FreeBSD 4.6.2 installation problems

2003-09-07 Thread David Gerard
We just downloaded and installed the Linux binary of OOo 1.1rc3
on my wife's FreeBSD 4.8 box with no problems. My 4.6.2 box,
however, doesn't want to play.
I untar the install files into a directory in my home directory, run
./setup and it puts up an unpacking window (box opening and
progress bar), then a text box saying 'The script file is now being
read. Please wait a moment ...' - then an alert box saying
'Important program files were not found. The installation set may
be damaged.'
The thing is, this is the *exact* same tarball which worked on the
4.8 box.
Has anyone else encountered this? Any idea what it means?

I do have linux_base-6 and linux_base-7 installed, as does the
4.8 box.
(We also tried the FreeBSD native tarball, but it insists on trying
to install in /usr/local and doesn't seem to give the option of
installing to a home directory.)
- d.





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


Re: Random crash and/or reboots

2003-09-07 Thread Jack L. Stone
At 02:00 PM 9.7.2003 -0400, Chuck Swiger wrote:
Jack L. Stone wrote:
 A while back, on a couple of occasions, I posted a query about some bad
 behavior on my mail server. For the past several months, it has been either
 crashing/reboot or just rebooting. It's ALWAYS triggered by a SSH login,
 but at random and ONLY at the su to root -- usually the most time before
 reboot is about 2+ weeks and then contrasted by 2 in a row right after the
 reboot -- actually no pattern. It has never happened directly at the
console.
[ ... ]
 There are no indications of anything in the logs, and no core dumps. It
 just stops and reboots, and any random time it pick. Only a couple of times
 it has crashed without the remote login.

These two paragraphs contradict each other, at least in part.  :-)

You're seeing frequent crashes, which seem to be strongly correlated with 
logging in as root, but you've also noticed crashes without the remote
login, 
too?  You should build a debug kernel, and enable dumping the system to swap 
upon a panic (man crash), so that you have more information about the
crash.

 One tip was that I might have stale NFS mountabs -- cleared them out, but
 problem persisted.
 
 The above tip was suggested when I mentioned that on a couple or more of
 the occurrences, I managed to get to the console quickly enough to see (in
 bright bold) lockmgr locking against myself -- or close to that. My
 google of that error does mention stale mounts, but mostly about esoteric
 code stuff. No fix found anywhere.

Hmm.  Are you performing local mail delivery to NFS volumes?

Normally (or historically, anyway), NFS locking problems cause rpc.lockd to 
crash or wedge, thus resulting in NFS locking not working and possibly grim 
results to file consistency for anything being changed by two or more
processes 
at the same time.

However, NFS locking problems generally do not result in a system panic.

[ ... ]
 http://sageweb/tmp/1-lsof.txt
 http://sageweb/tmp/2-lsof.txt

These URLs aren't fully-qualified hostnames.  Please try again.  :-)

-- 
-Chuck

Sorry about the lack of the full web address. here it is:

http://www.sageweb.net/tmp/1-lsof.txt
http://www.sageweb.net/tmp/2-lsof.txt
http://www.sageweb.net/tmp/3-lsof.txt
http://www.sageweb.net/tmp/4-lsof.txt
http://www.sageweb.net/tmp/5-lsof.txt
http://www.sageweb.net/tmp/6-lsof.txt


Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bootable CD Problems

2003-09-07 Thread Dan Harrison
Hello Dan,

you are the fourth person except me, who has this problem and wrote it to
the list. FreeBSD is still doing nothing with it - is it such big problem to
solve it ? There is no useful advice yet, what can we do - nobody knows ?
Peter Rosa
If you're saying it's a bug in the system that a bootable CD won't 
mount, that's lousy.

If you're making a general remark about the lack of information on 
the topic, I'll keep trying.

If you're saying something else, please elaborate.
--
Signed,
Dan Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Random crash and/or reboots

2003-09-07 Thread Jack L. Stone
At 02:00 PM 9.7.2003 -0400, Chuck Swiger wrote:
Jack L. Stone wrote:
 A while back, on a couple of occasions, I posted a query about some bad
 behavior on my mail server. For the past several months, it has been either
 crashing/reboot or just rebooting. It's ALWAYS triggered by a SSH login,
 but at random and ONLY at the su to root -- usually the most time before
 reboot is about 2+ weeks and then contrasted by 2 in a row right after the
 reboot -- actually no pattern. It has never happened directly at the
console.
[ ... ]
 There are no indications of anything in the logs, and no core dumps. It
 just stops and reboots, and any random time it pick. Only a couple of times
 it has crashed without the remote login.

These two paragraphs contradict each other, at least in part.  :-)


Except, I doubt if those 2 nighttime reboots had the same problemthat's
why I said always triggered by login to root forget the 2 unrelated ones.

You're seeing frequent crashes, which seem to be strongly correlated with 
logging in as root, but you've also noticed crashes without the remote
login, 
too?  You should build a debug kernel, and enable dumping the system to swap 
upon a panic (man crash), so that you have more information about the
crash.

 One tip was that I might have stale NFS mountabs -- cleared them out, but
 problem persisted.
 
 The above tip was suggested when I mentioned that on a couple or more of
 the occurrences, I managed to get to the console quickly enough to see (in
 bright bold) lockmgr locking against myself -- or close to that. My
 google of that error does mention stale mounts, but mostly about esoteric
 code stuff. No fix found anywhere.

Hmm.  Are you performing local mail delivery to NFS volumes?

No, just running backups to backup server over NFS... and share the:
/usr/ports ... /usr/obj ... and /usr/src from the build machines.



Normally (or historically, anyway), NFS locking problems cause rpc.lockd to 
crash or wedge, thus resulting in NFS locking not working and possibly grim 
results to file consistency for anything being changed by two or more
processes 
at the same time.

However, NFS locking problems generally do not result in a system panic.

[ ... ]
 http://sageweb/tmp/1-lsof.txt
 http://sageweb/tmp/2-lsof.txt

These URLs aren't fully-qualified hostnames.  Please try again.  :-)

Yeah, drats! Already sent these:

http://www.sageweb.net/tmp/1-lsof.txt
http://www.sageweb.net/tmp/2-lsof.txt
http://www.sageweb.net/tmp/3-lsof.txt
http://www.sageweb.net/tmp/4-lsof.txt
http://www.sageweb.net/tmp/5-lsof.txt
http://www.sageweb.net/tmp/6-lsof.txt

-Chuck



Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Spoofing, defense?

2003-09-07 Thread fbsd_user
I have not read anything about using this #RFC 1918 private IP in
IPFILTER rule set.
Is this a valid phrase?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Guilmot
Mike
Sent: Sunday, September 07, 2003 9:24 AM
To: Alex Zivenko; [EMAIL PROTECTED]
Subject: Re: Spoofing, defense?

Alex Zivenko wrote:
 Everybody know what is spoofing.
 How can I protect my server from it? It's a router to the
internet,
 but some of my friends spoof the address and go thrue the router.
 Firewall can't protect.
 Any suggestions?

Follow an ipf howto/tutorial.
There are MANY of them around.

In my firewall I prevent it like:

# Anti-spoof, no loggin [ I hate reading them ;-) ]

block in quick on rl0 from 192.168.0.0/16 to any #RFC 1918 private
IP

block in quick on rl0 from 172.16.0.0/12 to any #RFC 1918 private IP

block in quick on rl0 from 10.0.0.0/8 to any #RFC 1918 private IP

block in quick on rl0 from 127.0.0.0/8 to any #loopback

block in quick on rl0 from 0.0.0.0/8 to any #loopback

block in quick on rl0 from 169.254.0.0/16 to any #DHCP auto-config

block in quick on rl0 from 192.0.2.0/24 to any #reserved for doc's

block in quick on rl0 from 204.152.64.0/23 to any #Sun cluster
interconnect

block in quick on rl0 from 224.0.0.0/3 to any #Class D  E multicast



Hope this was what you meant ...


Kind regards,

Guilmot Mike

___
[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]


Binding MAC to IP Statically

2003-09-07 Thread Colin Watson
Any way to bind a MAC address statically to an IP?. I wish to do this to prevent a 
user from changing his IP address on the subnet, so if he does he can't pass traffic. 
I have experimented with ipfw, but I can't quite see how I could accomplish the 
binding of a IP statically to a nic's MAC. Any ideas be appericated.

Many Thanks

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


Re: Random crash and/or reboots

2003-09-07 Thread Chuck Swiger
Jack L. Stone wrote:
[ ... ]
Except, I doubt if those 2 nighttime reboots had the same problemthat's
why I said always triggered by login to root forget the 2 unrelated ones.
How many unexplained crashes do you think your system should have?  :-)

Seriously, if you're running a release version of the OS, or are tracking the 
security branch, your machines should stay up until the power goes out and the 
UPS dies, or you reboot them.  You should be seeing hundred-day uptimes, unless 
you have hardware problems.

Yes, I read that you've swapped most of the hardware out without result; can you 
set up a second machine running the same software and configuration and see 
whether it crashes in a similar fashion (or at all)?

[ ... ]
http://www.sageweb.net/tmp/1-lsof.txt
http://www.sageweb.net/tmp/2-lsof.txt
http://www.sageweb.net/tmp/3-lsof.txt
http://www.sageweb.net/tmp/4-lsof.txt
http://www.sageweb.net/tmp/5-lsof.txt
http://www.sageweb.net/tmp/6-lsof.txt
These don't provide any information that seems particularly relevant to 
diagnosing the problem.

[ The data says what services you're running-- apache, perl, sendmail, 
spamassassin, and suggest that your machine was idle or under a light load when 
the crashes happened.  By weak inference, that suggests against a thermal 
problem like poor CPU cooling, but I wouldn't be certain of even that. ]

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


Re: OpenOffice 1.1rc3-Linux on FreeBSD 4.6.2 installation problems

2003-09-07 Thread T Kellers
On Sunday 07 September 2003 03:41 pm, David Gerard wrote:
 We just downloaded and installed the Linux binary of OOo 1.1rc3
 on my wife's FreeBSD 4.8 box with no problems. My 4.6.2 box,
 however, doesn't want to play.

 I untar the install files into a directory in my home directory, run
 ./setup and it puts up an unpacking window (box opening and
 progress bar), then a text box saying 'The script file is now being
 read. Please wait a moment ...' - then an alert box saying
 'Important program files were not found. The installation set may
 be damaged.'

 The thing is, this is the *exact* same tarball which worked on the
 4.8 box.

 Has anyone else encountered this? Any idea what it means?

 I do have linux_base-6 and linux_base-7 installed, as does the
 4.8 box.

 (We also tried the FreeBSD native tarball, but it insists on trying
 to install in /usr/local and doesn't seem to give the option of
 installing to a home directory.)


Do you have linprocfs mounted?

I think it's required for 4.6.2

Tim Kellers
CPE/NJIT

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


Re: OpenOffice 1.1rc3-Linux on FreeBSD 4.6.2 installation problems

2003-09-07 Thread David Gerard
On 09/07/03 20:50, T Kellers wrote:

On Sunday 07 September 2003 03:41 pm, David Gerard wrote:
 

We just downloaded and installed the Linux binary of OOo 1.1rc3
on my wife's FreeBSD 4.8 box with no problems. My 4.6.2 box,
however, doesn't want to play.
The thing is, this is the *exact* same tarball which worked on the
4.8 box.
   

Do you have linprocfs mounted?
I think it's required for 4.6.2
 

Not on either box (unless you mean something that doesn't
show with df). 4.6.2 box:
[EMAIL PROTECTED]:~ $ df
Filesystem  1K-blocks Used   Avail Capacity  Mounted on
/dev/ad0s1a  18174862 12049342 467153272%/
/dev/ad3s1   39068576 38828064  24051299%/mp3
procfs  44   0   100%/proc
4.8 box:
-bash-2.05b$ df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad1s1a  56680620  5191946 4695422610%/
procfs  440   100%/proc
/dev/ad0s1   13227720  5020460  820726038%/c
BTW, I also looked at the version of linux_base-7 - the 4.8 box
has linux_base-7.1-2, whereas the 4.6.2 box has linux_base-7.1-3!
As a last note: OpenOffice.orf 1.0.3 for Linux installed and worked
perfectly on both systems.
- d.



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


GDM Greeter cores on FreeBSD

2003-09-07 Thread Kees Jan Koster
Dear All,

I use the Gnome GDM2 greeter in graphical mode, but recent versions of
it dump core (signal 6). This happens on both machines that I use it on.
One is a desktop and the other is a laptop, so I dounbt it is a hardware
issue.

My OS is FreeBSD-stable, cvsupped as of this week. I use portupgrade to
keep my ports up to date.

To reproduce:

 * install recent (this week) version of FreeBSD's gdm2 port.
 * start it using the shell script in /usr/X11R6/etc/rc.d
 * choose the configure option
 * enter root password
 * pick graphical mode
 * *churn, churn* *POW* signal 6

warning: GDM greeter will not restart at all after following the above
procedure. I removed the port and reinstalled it to fix the problem.

Plain mode (default) works fine, so that is what I use now.

Anyone else see this problem? How do I fix this?

 Yours,
   Kees Jan

---
 Kees Jan Koster e-mail:   kjkoster at kjkoster.org
 www: http://www.kjkoster.org/
---
 Life is uncertain; eat dessert first.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Opera print issues

2003-09-07 Thread Kees Jan Koster
Dear All,

Opera won't print a site that I use regularly. I would like to know if
this is a local issue, or something that the Opera folks should know
about.

To reproduce:

 * start Opera
 * browse to http://www.routenet.nl
 * in the ik wil naar box marked plaats enter Amsterdam
 * in the ik vertrek van box marked plaats enter Rotterdam
 * Press plan route
 * in the next screen, press plan route once more.
 * press Opera's print button
 * print print in the dialog
 * move the popup around for a bit for additional effect

My platform is a very recent FreeBSD-stable, Opera 7.20 B7, Cups 1.1.19.

 Yours,
   Kees Jan

---
 Kees Jan Koster e-mail:   kjkoster at kjkoster.org
 www: http://www.kjkoster.org/
---
 Life is uncertain; eat dessert first.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recording with my sound card...

2003-09-07 Thread Kees Jan Koster
Dear All,

FreeBSD detects my sound card properly, but does not record from it.
Playing works.

From dmesg:
pcm0: VIA VT8233 (pre) port 0xe400-0xe4ff irq 11 at device 17.5 on
pci0
pcm0: Avance Logic ALC200 AC97 Codec
isa0: too many memory ranges

Is that isa0 message something I should worry about?

LikeEver% cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: VIA VT8233 (pre) at io 0xe400 irq 11 (1p/1r/0v channels duplex)

Starting audacity (from the ports) works and playback works fine.
However, I cannot edit the preferences. Each time I try to ok the
preferences (even the default ones) I get the message invalid playback
device. Both playback and recording devices are set to /dev/dsp. This
device exists.

Platform is a recent -stable.

-- 
 Yours,
   Kees Jan

---
 Kees Jan Koster e-mail:   kjkoster at kjkoster.org
 www: http://www.kjkoster.org/
---
 Life is uncertain; eat dessert first.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


wardriving question

2003-09-07 Thread Jeremy R Brinkley
I'm looking to do some wardriving. I have a cisco aironet 350 pcmcia card
and was wondering if I can capture raw packets in ethereal or ettercap. I'm
also looking for a good netstumbler type program that will work with this
card. I haven't found any decent ones. I'm considering buying an 802.11g
card. Are there any decent ones which have an external antenna connector
that are supported under freebsd?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM Greeter cores on FreeBSD

2003-09-07 Thread Joe Marcus Clarke
On Sun, 7 Sep 2003, Kees Jan Koster wrote:

 Dear All,

 I use the Gnome GDM2 greeter in graphical mode, but recent versions of
 it dump core (signal 6). This happens on both machines that I use it on.
 One is a desktop and the other is a laptop, so I dounbt it is a hardware
 issue.

 My OS is FreeBSD-stable, cvsupped as of this week. I use portupgrade to
 keep my ports up to date.

This is a known issue, and a bug has been filed in GNOME Bugzilla.

Joe


 To reproduce:

  * install recent (this week) version of FreeBSD's gdm2 port.
  * start it using the shell script in /usr/X11R6/etc/rc.d
  * choose the configure option
  * enter root password
  * pick graphical mode
  * *churn, churn* *POW* signal 6

 warning: GDM greeter will not restart at all after following the above
 procedure. I removed the port and reinstalled it to fix the problem.

 Plain mode (default) works fine, so that is what I use now.

 Anyone else see this problem? How do I fix this?

  Yours,
Kees Jan

 ---
  Kees Jan Koster e-mail:   kjkoster at kjkoster.org
  www: http://www.kjkoster.org/
 ---
  Life is uncertain; eat dessert first.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
 To unsubscribe, send any mail to [EMAIL PROTECTED]



PGP Key : http://www.marcuscom.com/pgp.asc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM Greeter cores on FreeBSD

2003-09-07 Thread Glenn Johnson
On Sun, Sep 07, 2003 at 11:18:20PM +0200, Kees Jan Koster wrote:

 Dear All,

 I use the Gnome GDM2 greeter in graphical mode, but recent versions of
 it dump core (signal 6). This happens on both machines that I use it
 on.  One is a desktop and the other is a laptop, so I dounbt it is a
 hardware issue.

 My OS is FreeBSD-stable, cvsupped as of this week. I use portupgrade
 to keep my ports up to date.
 
 To reproduce:
 
  * install recent (this week) version of FreeBSD's gdm2 port.
  * start it using the shell script in /usr/X11R6/etc/rc.d
  * choose the configure option
  * enter root password
  * pick graphical mode
  * *churn, churn* *POW* signal 6
 
 warning: GDM greeter will not restart at all after following the above
 procedure. I removed the port and reinstalled it to fix the problem.

 Plain mode (default) works fine, so that is what I use now.

 Anyone else see this problem? How do I fix this?

Yes, I see this same behavior.  It started after a recent update but
I was not paying close enough attention to know which one.  I just
switched to the standard greeter (gdmlogin) as I have had too many other
things to worry about as of late.

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


Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread fireal
Hi everyone,

I am trying to find out how to get sound configured on my machine with FreeBSD 4.8 (or 
even 5.1) for that matter.  I have a Creative Soundblaster Live! card.  I added sound 
to the kernel, rebooted, and made the device(for 4.8).  I can see the card in dmesg, 
and even get a volume control (using KDE), but cannot play any sounds.  “fstat | 
grep dsp” shows artsd running.  But running or not, I have no sound.

I have searched the various related lists, checked the handbook, google.com/bsd, etc, 
and can find no definite answer to my question.  I understand that SB Live isn’t 
supported, yet some people say that have them set up and working, and that there is no 
reason they should not work in BSD.  I’m just wondering if there is anything that I 
can do, or are any resources to check into.

Thanks in advance,

Brian

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


Re: Binding MAC to IP Statically

2003-09-07 Thread Lowell Gilbert
Chuck Swiger [EMAIL PROTECTED] writes:

 Colin Watson wrote:
 [ ...rewrapped to 80-columns... ]
  Any way to bind a MAC address statically to an IP?. I wish to do this to
  prevent a user from changing his IP address on the subnet, so if he does he
  can't pass traffic. I have experimented with ipfw, but I can't quite see how
  I could accomplish the binding of a IP statically to a nic's MAC. Any ideas
  be appericated.
 
 IPFW2 lets you perform firewall actions on a MAC address, rather than an IP.
 
 You can configure a DHCP server to staticly allocate an IP address to
 that machine via something like this in {/usr/local}/etc/dhcpd.conf:
 
 host pi.codefab.com {
  hardware ethernet 00:00:00:00:00:00;
  fixed-address 66.234.138.67;
 }

To be complete:
The arp(8) command does literally what was asked for.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: GDM Greeter cores on FreeBSD

2003-09-07 Thread Alexander Nedotsukov
Kees Jan Koster wrote:

Dear All,

I use the Gnome GDM2 greeter in graphical mode, but recent versions of
it dump core (signal 6). This happens on both machines that I use it on.
One is a desktop and the other is a laptop, so I dounbt it is a hardware
issue.
My OS is FreeBSD-stable, cvsupped as of this week. I use portupgrade to
keep my ports up to date.
To reproduce:

* install recent (this week) version of FreeBSD's gdm2 port.
* start it using the shell script in /usr/X11R6/etc/rc.d
* choose the configure option
* enter root password
* pick graphical mode
* *churn, churn* *POW* signal 6
warning: GDM greeter will not restart at all after following the above
procedure. I removed the port and reinstalled it to fix the problem.
Plain mode (default) works fine, so that is what I use now.

Anyone else see this problem? How do I fix this?

As a quick olution apply this in to libart_lgpl2.

--- art_render_gradient.c.orig  Mon Sep  8 07:32:33 2003
+++ art_render_gradient.c   Sun Sep  7 20:18:18 2003
@@ -336,10 +336,10 @@
  assert ((stops[ix-1].offset = offset_fraction + EPSILON) ||
 ((stops[ix].offset  (1.0 - EPSILON))  (offset_fraction  E
== 0.0*/)));
  assert (offset_fraction = stops[ix].offset);
-  assert (fabs (offset_fraction - stops[ix-1].offset)  EPSILON ||
+/*  assert (fabs (offset_fraction - stops[ix-1].offset)  EPSILON ||
 (d_offset = 0.0));
  assert (fabs (offset_fraction - stops[ix].offset)  EPSILON ||
- (d_offset = 0.0));
+ (d_offset = 0.0));*/
 
  while (width  0)
{

All the best,
Alexander.
Yours,
  Kees Jan
---
Kees Jan Koster e-mail:   kjkoster at kjkoster.org
www: http://www.kjkoster.org/
---
Life is uncertain; eat dessert first.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
To unsubscribe, send any mail to [EMAIL PROTECTED]
 



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


Re: Random crash and/or reboots

2003-09-07 Thread Jack L. Stone
At 04:02 PM 9.7.2003 -0400, Chuck Swiger wrote:
Jack L. Stone wrote:
[ ... ]
Yes, I read that you've swapped most of the hardware out without result;
can you 
set up a second machine running the same software and configuration and see 
whether it crashes in a similar fashion (or at all)?

As I said earlier, I did set up a second machine (after all the hardware
switching first) -- same thing. That's why I have concluded the problem
must be the system.

It did it on RELEASE-4.7 and now RELEASE-4.8

These don't provide any information that seems particularly relevant to 
diagnosing the problem.

That was my conclusion too  why I resorted to the list for help.

[ The data says what services you're running-- apache, perl, sendmail, 
spamassassin, and suggest that your machine was idle or under a light load
when 
the crashes happened.  By weak inference, that suggests against a thermal 
problem like poor CPU cooling, but I wouldn't be certain of even that. ]


Nope... plenty cool and switching the entire server eliminates ALL hardware
as being it.

-Chuck




Best regards,
Jack L. Stone,
Administrator

SageOne Net
http://www.sage-one.net
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread Kent Stewart
On Sunday 07 September 2003 01:19 pm, [EMAIL PROTECTED] wrote:
 Hi everyone,

 I am trying to find out how to get sound configured on my machine
 with FreeBSD 4.8 (or even 5.1) for that matter.  I have a Creative
 Soundblaster Live! card.  I added sound to the kernel, rebooted, and
 made the device(for 4.8).  I can see the card in dmesg, and even get
 a volume control (using KDE), but cannot play any sounds.  “fstat |
 grep dsp” shows artsd running.  But running or not, I have no
 sound.

 I have searched the various related lists, checked the handbook,
 google.com/bsd, etc, and can find no definite answer to my question. 
 I understand that SB Live isn’t supported, yet some people say that
 have them set up and working, and that there is no reason they should
 not work in BSD.  I’m just wondering if there is anything that I
 can do, or are any resources to check into.


For sound, did you add device pcm to your kernel config file? If you 
did, then did you 

cd /dev
sh MAKEDEV snd0

I have a Live 5.1 and an Audigy gamer. The live works just fine and 
has for an awfully long time.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Kernel Panic

2003-09-07 Thread Lowell Gilbert
Greg Grotyohann [EMAIL PROTECTED] writes:

Greg Grotyohann [EMAIL PROTECTED] writes:

 I'm trying to install FreeBSD on a NEC Versa LX (PII 366Mhz, 256MB) laptop.
 No matter which option I select at the Welcome to FreeBSD prompt, I get a
 kernel panic. Anyone have any ideas?

Which FreeBSD version?
How are you booting into the install?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread fireal
Yes, I did add pcm to the kernel config, and I did make the device after installing 
and rebooting to the new kernel.  Like I said, I can see the card in dmesg, and kde 
even opens the volume control on the taskbar, but I can get no sound.

My understanding is that SBLive cards are not supported, and if you get one to work 
you're lucky.  Is this correct, or should they work with no problem?  Is there 
anything I can try, or are there any resources to check?

Thanks,

Brian

-Original Message-
From: Kent Stewart [mailto:[EMAIL PROTECTED] 
Sent: Sunday, September 07, 2003 7:29 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Soundblaster Live! on FreeBSD 4.8?

On Sunday 07 September 2003 01:19 pm, [EMAIL PROTECTED] wrote:
 Hi everyone,

 I am trying to find out how to get sound configured on my machine
 with FreeBSD 4.8 (or even 5.1) for that matter.  I have a Creative
 Soundblaster Live! card.  I added sound to the kernel, rebooted, and
 made the device(for 4.8).  I can see the card in dmesg, and even get
 a volume control (using KDE), but cannot play any sounds.  “fstat |
 grep dsp” shows artsd running.  But running or not, I have no
 sound.

 I have searched the various related lists, checked the handbook,
 google.com/bsd, etc, and can find no definite answer to my question. 
 I understand that SB Live isn’t supported, yet some people say that
 have them set up and working, and that there is no reason they should
 not work in BSD.  I’m just wondering if there is anything that I
 can do, or are any resources to check into.


For sound, did you add device pcm to your kernel config file? If you 
did, then did you 

cd /dev
sh MAKEDEV snd0

I have a Live 5.1 and an Audigy gamer. The live works just fine and 
has for an awfully long time.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


RE: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread Adam McLaurin
On Sun, 2003-09-07 at 19:20, [EMAIL PROTECTED] wrote:
 My understanding is that SBLive cards are not supported, and if you get one to work 
 you're lucky.  Is this correct, or should they work with no problem?  Is there 
 anything I can try, or are there any resources to check?

This is incorrect. My SB Live has worked just fine on 4.6.2, 4.7, 4.8,
and 5.1. I didn't do anything outside of what the handbook instructed me
to do.

I'd be suspicious of artsd causing you problems. I've heard of this
before, but I don't know the solution. Check the mailing list archives.

-- 
Adam McLaurin [EMAIL PROTECTED]


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


Question on downloading and installing freeBSD4.8

2003-09-07 Thread Satish Kumar
Hello,

I am trying to download and install freeBSD4.8 as per instructions in the freeBSD 
handbook section
2.13.4 (Installing from an MS-DOS® Partition).  When I go to the following site: 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.8-RELEASE/4.8-RELEASE/

I see a number of files in the bin directory.  I am unable to open the install.html 
document.  Am I supposed to download all the files on this site?


Could you direct me to a URL from where all files are packaged and named clearly so 
that I know what to download?

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


Re: how to check which COM port modem is connected to?

2003-09-07 Thread Tadimeti Keshav
Thanks Alex,
I know that already. But I completely removed windows
98 from my machine, but forgot to take note of which
port the modem is connected to.
I included COM3,COM4 in my custom kernel.
Thanks in advance...


 --- Alex Zivenko [EMAIL PROTECTED] wrote:  You
must know it.
 In windows name of port is comx
 in Unix - /dev/cuax-1
 com1 - cua0, com2-cua1, com3 - cua2
 Have you win on this PC? Then you can see there.
 - Original Message -
 From: Tadimeti Keshav
 Subject: how to check which COM port modem is
 connected to?
 
 
  Hi folks,
  how can I check which COM port the modem is
 connected
  to? Please help. I need to set up internet
  connectivity.


=



Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Making a certain cron job

2003-09-07 Thread Jason Lieurance
Hello,

We use cronolog to rotate our apache log files so are log files look like so:

2003-09-07-error_log

Now, I want to make a cron job to mail the log to our webmaster every day but I
having terrible visualizing how to do it. If I do 'cat /var/log/http/2003-09-* |
mail -s log [EMAIL PROTECTED]' he'll get every log of the month not to mention next
month I'll have to edit the job. I know I'll need to use variables but I'm drawing a
blank. Please advise.

--
Jason


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


Re: Making a certain cron job

2003-09-07 Thread David Fleck
On Sun, 7 Sep 2003, Jason Lieurance wrote:

 Hello,

 We use cronolog to rotate our apache log files so are log files look like so:

 2003-09-07-error_log

 Now, I want to make a cron job to mail the log to our webmaster every
 day but I having terrible visualizing how to do it. If I do 'cat
 /var/log/http/2003-09-* | mail -s log [EMAIL PROTECTED]' he'll get every
 log of the month not to mention next month I'll have to edit the job. I
 know I'll need to use variables but I'm drawing a blank. Please advise.

Date=`date +%Y-%m-%d`

cat /var/log/http/${Date}-error_log | mail -s log [EMAIL PROTECTED]


?

--
David Fleck
[EMAIL PROTECTED]

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


Re: Making a certain cron job

2003-09-07 Thread Jason Lieurance
Hello,

Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`) go as part
of the cron job? Thanks again.

-- 
Jason

David Fleck said:
 On Sun, 7 Sep 2003, Jason Lieurance wrote:

 Hello,

 We use cronolog to rotate our apache log files so are log files look like so:

 2003-09-07-error_log

 Now, I want to make a cron job to mail the log to our webmaster every day but I
 having terrible visualizing how to do it. If I do 'cat /var/log/http/2003-09-* |
 mail -s log [EMAIL PROTECTED]' he'll get every log of the month not to mention
 next month I'll have to edit the job. I know I'll need to use variables but I'm
 drawing a blank. Please advise.

 Date=`date +%Y-%m-%d`

 cat /var/log/http/${Date}-error_log | mail -s log [EMAIL PROTECTED]


 ?

 --
 David Fleck
 [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]


Re: Making a certain cron job

2003-09-07 Thread Kevin Kinsey, DaleCo, S.P.
 David Fleck said:

 
  Date=`date +%Y-%m-%d`
 
  cat /var/log/http/${Date}-error_log | mail -s log
[EMAIL PROTECTED]

From: Jason Lieurance [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, September 07, 2003 9:44 PM
Subject: Re: Making a certain cron job


 Hello,

 Thank you for the response. Does the date part
 (Date=`date +%Y-%m-%d`) go as part
 of the cron job? Thanks again.

 --
 Jason

 I'd say not.  Save the lines he wrote as
somescript.sh and put the following
command in your crontab at the desired
time:

/bin/sh /path/to/somescript.sh

Kevin Kinsey
DaleCo, S.P.

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


Re: Making a certain cron job

2003-09-07 Thread David Fleck
On Sun, 7 Sep 2003, Jason Lieurance wrote:
 Thank you for the response. Does the date part (Date=`date +%Y-%m-%d`)
 go as part of the cron job? Thanks again.

Well, you could cram all this into a crontab line, but you'll probably
want to use the cron entry to run a script containing these commands.
This way, you can make the script more elaborate, do error-checking, have
possible alternate responses mailed, things like that.
For what you want to do, the script could be very simple:

 #!/bin/sh
 # send_http_log.sh : mails httpd logfile.
 Date=`date +%Y-%m-%d`
 cat /var/log/http/${Date}-error_log | mail -s log [EMAIL PROTECTED]
 exit

and then in the crontab have a line referring to the script:

0 1 * * * /usr/local/bin/send_http_log.sh

or, alternately, add the script into the /etc/periodic/* directories to
have it run by the system-wide cron.

--
David Fleck
[EMAIL PROTECTED]

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


Re: how to check which COM port modem is connected to?

2003-09-07 Thread Andrew L. Gould
On Sunday 07 September 2003 08:40 pm, Tadimeti Keshav wrote:
 Thanks Alex,
 I know that already. But I completely removed windows
 98 from my machine, but forgot to take note of which
 port the modem is connected to.
 I included COM3,COM4 in my custom kernel.
 Thanks in advance...


  --- Alex Zivenko [EMAIL PROTECTED] wrote:  You
 must know it.

  In windows name of port is comx
  in Unix - /dev/cuax-1
  com1 - cua0, com2-cua1, com3 - cua2
  Have you win on this PC? Then you can see there.
  - Original Message -
  From: Tadimeti Keshav
  Subject: how to check which COM port modem is
  connected to?
 
   Hi folks,
   how can I check which COM port the modem is
 
  connected
 
   to? Please help. I need to set up internet
   connectivity.

If you've installed KDE, you can use the the device tab in KPPP's account 
setup to query different serial devices.  It's worked for me in the past.

Also, make sure you have enough sio's.  I think the GENERIC kernel only 
creates 2; so if you have 2 hardware serial ports, a PCI modem won't show up.

I hope this helps,

Andrew L. Gould


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


IBM 120 G IDE -- problems

2003-09-07 Thread Mark Terribile

Hi,

I'm trying to add a 120G IDE drive, and FreeBSD
hangs during bootstrap.

My current storage configuration is
 3 SCSI drives on an Adaptec controller
 2 floppy drives (3+1/2 and 5+1/4 -- yes!) on
   the controller on the mobo (a Gigabyte
   GA-SINXP1394)
 1 Sony CD-ROM on the ATA 0 on the mobo, master
 1 Artec CD-RW on the ATA 1 on the mobo, master

This configuration works fine.

I tried to add the drive, an IBM (now Hitachi)
120G Deskstar, as a slave on the ATA 0 adaptor.
The BIOS recognizes is, but during bootstrap
I get a message saying that ATA 0 has timed out
on some kind of tagged operation, followed by
a message indicating a reset and three dots, and
no newline.  The bootstrap stops right here.

I've tried making the new drive the master, with
and without the CD-ROM, running that cable off the
other IDE interface, and replacing the cable, all
with no change.  I've even checked the voltages on
the board side of the power connector, and felt the
drive as it powers up (vibration suggests both
rotation and a few seeks).  I've got an Antec 420W
power supply, so there should be enough juice.

A drive problem seems unlikely; this was a new disk
sealed in silver mylar and I expect these drives
to be rock-solid.  (Should I doubt this?)

I'll be grateful for any help you can offer.  I'm
not a subscriber to the hardware list (but I did
search it for likely articles), so please reply
on freebsd-questions, or reply to me at
 [EMAIL PROTECTED]  .

  Mark Terribile


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD install corrupts neighboring partitions

2003-09-07 Thread Dan Harrison
I'm attempting to install FreeBSD 4.8 on a system which will boot it 
and also Windows 2000 Server. I've done this with two multiboot 
utilities: the simple boot manager that comes with FreeBSD and V 
Communications' System Commander.

In both cases, I have found that when I install FreeBSD it corrupts 
neighboring NTFS and FAT partitions. After the install, the OSes in 
these partitions fail to boot or the partitions become entirely 
unreadable. Whether I tell FreeBSD not to install an MBR or whether 
I tell it to install its boot manager, the result is the same: 
Neighboring partitions are being corrupted to the point where one 
can not get to data on them.

I realize that dual booting is not common, but I need to do it on 
this laptop. Has anyone else on the lists encountered this problem?
Yes. I had it corrupt a copy of Win XP on a desktop I installed it 
on. My solution, I'm sorry to say, was to get another hard drive and 
re-install Windows on that. If I wanted to use windows, switch the 
hard drives in the OS detect order in the BOIS. :\

I don't know how practical it is on a laptop, but I wanted to tell 
you that you are not alone.

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


RE: IBM 120 G IDE -- problems

2003-09-07 Thread Jonas

I have the exact same problem with two brand new MB's from Asus. The
model is P4P800 and P4P800-VM and all the drives are brand new Seagate
IDE drives. I have removed the CD-ROM drive and the box boots up fine
with Primary and Secondary master but as soon as I add a 3rd drive the
boot process hangs on ata0 (or ata1) Resetting devices. Changing
the drive to Cable-Select or putting the slave at the end of the cable
doesn't fix the problem either.

I'm going to call Asus tech support tomorrow but any thoughts
suggestions are appreciated.

Jonas Fornander - System Administrator
Netwood Communications,LLC - www.netwood.net
Find out why we're better - 310-442-1530
 


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Mark Terribile
 Sent: Sunday, September 07, 2003 8:16 PM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Subject: IBM 120 G IDE -- problems
 
 
 
 Hi,
 
 I'm trying to add a 120G IDE drive, and FreeBSD
 hangs during bootstrap.
 
 My current storage configuration is
  3 SCSI drives on an Adaptec controller
  2 floppy drives (3+1/2 and 5+1/4 -- yes!) on
the controller on the mobo (a Gigabyte
GA-SINXP1394)
  1 Sony CD-ROM on the ATA 0 on the mobo, master
  1 Artec CD-RW on the ATA 1 on the mobo, master
 
 This configuration works fine.
 
 I tried to add the drive, an IBM (now Hitachi)
 120G Deskstar, as a slave on the ATA 0 adaptor.
 The BIOS recognizes is, but during bootstrap
 I get a message saying that ATA 0 has timed out
 on some kind of tagged operation, followed by
 a message indicating a reset and three dots, and
 no newline.  The bootstrap stops right here.
 
 I've tried making the new drive the master, with
 and without the CD-ROM, running that cable off the
 other IDE interface, and replacing the cable, all
 with no change.  I've even checked the voltages on
 the board side of the power connector, and felt the
 drive as it powers up (vibration suggests both
 rotation and a few seeks).  I've got an Antec 420W
 power supply, so there should be enough juice.
 
 A drive problem seems unlikely; this was a new disk
 sealed in silver mylar and I expect these drives
 to be rock-solid.  (Should I doubt this?)
 
 I'll be grateful for any help you can offer.  I'm
 not a subscriber to the hardware list (but I did
 search it for likely articles), so please reply
 on freebsd-questions, or reply to me at
  [EMAIL PROTECTED]  .
 
   Mark Terribile
 
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site design software
 http://sitebuilder.yahoo.com
 ___
 [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: IBM 120 G IDE -- problems

2003-09-07 Thread Andrew L. Gould
On Sunday 07 September 2003 10:16 pm, Mark Terribile wrote:
 Hi,

 I'm trying to add a 120G IDE drive, and FreeBSD
 hangs during bootstrap.

 My current storage configuration is
  3 SCSI drives on an Adaptec controller
  2 floppy drives (3+1/2 and 5+1/4 -- yes!) on
the controller on the mobo (a Gigabyte
GA-SINXP1394)
  1 Sony CD-ROM on the ATA 0 on the mobo, master
  1 Artec CD-RW on the ATA 1 on the mobo, master

 This configuration works fine.

 I tried to add the drive, an IBM (now Hitachi)
 120G Deskstar, as a slave on the ATA 0 adaptor.
 The BIOS recognizes is, but during bootstrap
 I get a message saying that ATA 0 has timed out
 on some kind of tagged operation, followed by
 a message indicating a reset and three dots, and
 no newline.  The bootstrap stops right here.

 I've tried making the new drive the master, with
 and without the CD-ROM, running that cable off the
 other IDE interface, and replacing the cable, all
 with no change.  I've even checked the voltages on
 the board side of the power connector, and felt the
 drive as it powers up (vibration suggests both
 rotation and a few seeks).  I've got an Antec 420W
 power supply, so there should be enough juice.

 A drive problem seems unlikely; this was a new disk
 sealed in silver mylar and I expect these drives
 to be rock-solid.  (Should I doubt this?)

Yes, you should doubt this.  I've had new IBM and a Western Digital drives die 
on me this year.  If you can, test the drive in a different computer and/or 
operating system.

For what it's worth, I have 120GB (Maxtor) hard drives in computers running 
FreeBSD 4.8 and 5.1.


 I'll be grateful for any help you can offer.  I'm
 not a subscriber to the hardware list (but I did
 search it for likely articles), so please reply
 on freebsd-questions, or reply to me at
  [EMAIL PROTECTED]  .

   Mark Terribile

Best of luck,

Andrew L. Gould

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


Re: IBM 120 G IDE -- problems

2003-09-07 Thread John Birrell
On Sun, Sep 07, 2003 at 08:27:18PM -0700, Jonas wrote:
 
 I have the exact same problem with two brand new MB's from Asus. The
 model is P4P800 and P4P800-VM and all the drives are brand new Seagate
 IDE drives. I have removed the CD-ROM drive and the box boots up fine
 with Primary and Secondary master but as soon as I add a 3rd drive the
 boot process hangs on ata0 (or ata1) Resetting devices. Changing
 the drive to Cable-Select or putting the slave at the end of the cable
 doesn't fix the problem either.

I have that problem with an ASUS P4S533 motherboard. I add these sysctl
values to /boot/loader.conf:

hw.ata.ata_dma=0
hw.ata.atapi_dma=0

You can also interrupt the boot loader and type:

set hw.ata.ata_dma=0
set hw.ata.atapi_dma=0
boot

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


Re: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread paul beard
Adam McLaurin wrote:
On Sun, 2003-09-07 at 19:20, [EMAIL PROTECTED] wrote:

My understanding is that SBLive cards are not supported, and
if you get one to work you're lucky.  Is this correct, or
should they work with no problem?  Is there anything I can
try, or are there any resources to check?


This is incorrect. My SB Live has worked just fine on 4.6.2,
4.7, 4.8, and 5.1. I didn't do anything outside of what the
handbook instructed me to do.
I'd be suspicious of artsd causing you problems. I've heard of
this before, but I don't know the solution. Check the mailing
list archives.
The SBlive is fine with FreeBSD: I also had troubles when I was 
running KDE (unloading/reloading the pcm driver would lock up and 
reboot my system).

Try a different window manager or just try running a command line 
audio program before loading KDE/Xwindows and see how you get on. 
I found that artsd didn't always play well with others . . . .

--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
He was so narrow minded he could see through a keyhole with both
eyes ...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD install corrupts neighboring partitions

2003-09-07 Thread Andrew L. Gould
On Sunday 07 September 2003 10:25 pm, Dan Harrison wrote:
 I'm attempting to install FreeBSD 4.8 on a system which will boot it
 and also Windows 2000 Server. I've done this with two multiboot
 utilities: the simple boot manager that comes with FreeBSD and V
 Communications' System Commander.
 
 In both cases, I have found that when I install FreeBSD it corrupts
 neighboring NTFS and FAT partitions. After the install, the OSes in
 these partitions fail to boot or the partitions become entirely
 unreadable. Whether I tell FreeBSD not to install an MBR or whether
 I tell it to install its boot manager, the result is the same:
 Neighboring partitions are being corrupted to the point where one
 can not get to data on them.

During that partitioning stage of FreeBSD installation, did you mark the NTFS 
partition as bootable? (I don't **know** that this should matter.)

 
 I realize that dual booting is not common, but I need to do it on
 this laptop. Has anyone else on the lists encountered this problem?

I am dual booting Win2K Pro and FreeBSD 4.8 Stable on a Compaq Presario 910 
and a generic desktop without any problems.  The laptop has Win2K on FAT32 
and the desktop has Win2K on NTFS.  On the laptop, the Windows partition is 
adjacent to the FreeBSD partition.  In both cases I marked both the Windows 
and FreeBSD partitions as bootable and installed the FreeBSD bootloader to 
the MBR.


 Yes. I had it corrupt a copy of Win XP on a desktop I installed it
 on. My solution, I'm sorry to say, was to get another hard drive and
 re-install Windows on that. If I wanted to use windows, switch the
 hard drives in the OS detect order in the BOIS. :\

 I don't know how practical it is on a laptop, but I wanted to tell
 you that you are not alone.

 Good luck.

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


RE: IBM 120 G IDE -- problems

2003-09-07 Thread Jonas

OH MAN.. You don't know how many hours you just saved me!!! It boots
up beautifully with 3 drives.

Thank you

For future reference, do you know why this happens?

Jonas Fornander - System Administrator
Netwood Communications,LLC - www.netwood.net
Find out why we're better - 310-442-1530
 


 -Original Message-
 From: John Birrell [mailto:[EMAIL PROTECTED] 
 Sent: Sunday, September 07, 2003 8:36 PM
 To: Jonas
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: IBM 120 G IDE -- problems
 
 
 On Sun, Sep 07, 2003 at 08:27:18PM -0700, Jonas wrote:
  
  I have the exact same problem with two brand new MB's from Asus. The
  model is P4P800 and P4P800-VM and all the drives are brand 
 new Seagate
  IDE drives. I have removed the CD-ROM drive and the box 
 boots up fine
  with Primary and Secondary master but as soon as I add a 
 3rd drive the
  boot process hangs on ata0 (or ata1) Resetting 
 devices. Changing
  the drive to Cable-Select or putting the slave at the end 
 of the cable
  doesn't fix the problem either.
 
 I have that problem with an ASUS P4S533 motherboard. I add 
 these sysctl
 values to /boot/loader.conf:
 
 hw.ata.ata_dma=0
 hw.ata.atapi_dma=0
 
 You can also interrupt the boot loader and type:
 
 set hw.ata.ata_dma=0
 set hw.ata.atapi_dma=0
 boot
 
 -- 
 John Birrell
 

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


Re: IBM 120 G IDE -- problems

2003-09-07 Thread Jin Guojun [NCS]
Jonas wrote:

 I have the exact same problem with two brand new MB's from Asus. The
 model is P4P800 and P4P800-VM and all the drives are brand new Seagate
 IDE drives. I have removed the CD-ROM drive and the box boots up fine
 with Primary and Secondary master but as soon as I add a 3rd drive the
 boot process hangs on ata0 (or ata1) Resetting devices. Changing
 the drive to Cable-Select or putting the slave at the end of the cable
 doesn't fix the problem either.

 I'm going to call Asus tech support tomorrow but any thoughts
 suggestions are appreciated.

My friend had similar problem on his M/B with Intel 865 chipset, which is
P4P800 uses. Switching the CDROM and IDE drives around may solve the
problem. Since I have no one, I cannot confirm. Try to update the BIOS
with very caution because only vertain version may work properly.

Here is another example on latest Intel 875 chipset-based M/B.
It has very headache booting problem with adding devices.
Intel released a number of BIOS to fix related problem, but ???

BIOS versions 05, 06, 08, 10 and 11 are hanging on various things
during boot.
07 and 09 kindly work in general cases, but must have some other issues
so making Intel keep to update the BIOS.
BIOS version 12 is out, but it still hangs during boot, and we do not know
why because two identical machines, one can boot, where the other cannot.

Common hanging issues:
CDROM may need to be the master instead of slave
additional I/O card, such as certain video adapters,
IDE or SCSI controllers, additional external disk drives
may cause system hang.

-Jin

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


Re: IBM 120 G IDE -- problems

2003-09-07 Thread David Kelly
On Sunday 07 September 2003 10:29 pm, Andrew L. Gould wrote:
 On Sunday 07 September 2003 10:16 pm, Mark Terribile wrote:
 
  A drive problem seems unlikely; this was a new disk
  sealed in silver mylar and I expect these drives
  to be rock-solid.  (Should I doubt this?)

 Yes, you should doubt this.  I've had new IBM and a Western Digital
 drives die on me this year.  If you can, test the drive in a
 different computer and/or operating system.

A HD, like any other device, is more likely to fail when its very new 
than at any other time.

 For what it's worth, I have 120GB (Maxtor) hard drives in computers
 running FreeBSD 4.8 and 5.1.

FWIW the built-in Promise controller on my Asus A7V works well in 5.1-R 
with IBM/Hitachi 120G HD:

atapci1: Promise PDC20265 UDMA100 controller port 
0x7800-0x783f,0x8000-0x8003,0x8400-0x8407,0x8800-0x8803,0x9000-0x9007 
mem 0xdd80-0xdd81 irq 11 at device 17.0 on pci0
ata2: at 0x9000 on atapci1
ata3: at 0x8400 on atapci1

ad6: 117800MB IC35L120AVV207-1 [239340/16/63] at ata3-master UDMA100

-- 
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.

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


Re: Soundblaster Live! on FreeBSD 4.8?

2003-09-07 Thread Timothy Opie
 My understanding is that SBLive cards are not supported, and
 if you get one to work you're lucky.  Is this correct, or
 should they work with no problem?  Is there anything I can
 try, or are there any resources to check?
 This is incorrect. My SB Live has worked just fine on 4.6.2,
 4.7, 4.8, and 5.1. I didn't do anything outside of what the
 handbook instructed me to do.
 
 I'd be suspicious of artsd causing you problems. I've heard of
 this before, but I don't know the solution. Check the mailing
 list archives.

SBLive works fine on my FreeBSD 4.8 and 5.1 system. It is the SB Live Drive Panel that 
isn't supported very well. So I can't use my remote control, or MIDI ports.

I never use artsd, all my sound is generated by esound or oss.

   ___
  / Need to deal with core dumps?  cat *.core  /dev/dsp  \
 /  Timothy Opie  [EMAIL PROTECTED] /
/   http://www.granularsynthesis.live.com.au /
\___Then later you can granulate them!!! ;)_/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IBM 120 G IDE -- problems

2003-09-07 Thread John Birrell
On Sun, Sep 07, 2003 at 08:50:48PM -0700, Jonas wrote:
 
 OH MAN.. You don't know how many hours you just saved me!!! It boots
 up beautifully with 3 drives.
 
 Thank you
 
 For future reference, do you know why this happens?

No. It's on my list of things to follow up, but there are so many
other things that I have to get through first. One day... 8-)

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


Worms/FreeBSD servers/Windows clients

2003-09-07 Thread Jim Durham
After dealing with one of those idiotic worms on our LAN with FreeBSD 
servers and Windows workstations, I realized that we don't do much 
peer-to-peer sharing on our LAN and connections from workstation to 
workstation could be eliminated with only a slight loss in 
convenience, as files are usually shared on the Samba server.

However, blocking Windows-to-Windows commmunications would stop the 
spread of these silly Microsoft worms.

One expensive way to do this is with Layer 3 switches. This would be 
really cost-prohibitive for a small company.

I was wondering if anyone had any ideas on modifying or inhibiting 
ARP so that it would not give out the MAC addresses of any of the 
machines on the LAN to another machine on the LAN, except the address 
of the FreeBSD servers, which are worm-immune.

I realize that ARP would have to be defeated on the Windows machines 
in order for this to work.

I've also considered double NAT-ing the workstations and then limiting 
the ports on my layer 2 switches to kill the learn function and 
only accept one MAC on a port. Transient users and wireless users 
would then be on the outside side of the 2nd NAT. I find that these 
users are the ones that bring in the worms when coming back from a 
road trip where they were plugged into who-knows-what networks.
-- 
-Jim

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