Re: Problem(s) resolving names with natd/ipfw.

2003-09-14 Thread chael
1. I would try enabling named on the FreeBSD gateway and set it as a
forwarder to the DNS of my ISP. Then set all the clients' primary DNS to
that of the internal IP of your gateway.
2. I would also not use OPEN firewall type. I would not be comfortable
with it.
3. I would also take out the lines firewall_type and firewall_script from
rc.conf and instead create a shell script in a startup_dir (eg
/usr/local/etc/rc.d) and put all my ipfw rules in there and chmod it to be
executable. I think the original /etc/rc.firewall awaits variables set in
rc.conf eg firewall_type, etc.


- Original Message -
From: Jose Albores [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 14, 2003 12:57 PM
Subject: Problem(s) resolving names with natd/ipfw.


 The problem summary is as follows:
 I'm setting up a very simple LAN at home using only
 two machines with fixed private ip addresses either.
 The FreeBSD gateway is connected to the internet
 through my cablemodem ISP's modem.

 The problem is that the Windows XP client CANNOT
 access the Internet with alphabetic names (should be
 called a DNS problem?) but it YES CAN do it with ip
 addresses (numbers).

 AFAIK (being a newbie in networking issues) it seems
 that no problems arise from the gateway side after
 setting up natd/ipfw.

 From the client, I can ping to numeric addresses
 locally and outside. And (again using ip-numbers) I
 can telnet to my pop server's 110 port. But not with
 names.
 The (gateway) server has NO problems with alphabetic
 addresses. Neither pinging the local network nor with
 the internet.

 Maybe I forgot some flag for natd in my
 /etc/rc.conf?
 Is/are there other option/s in my kernel-configuration
 file needeed?
 Any hint will be appreciated. Please feel free to ask
 for any necessary info.


 These are the details.
 It's my first job with networks, and the scenario is
 as follows:
 The server:
· Pentium 233 MMX.
· OS: FreeBSD 4.8-RELEASE. Alternating with Win 98
 for testing.
· dc0: interfase to my cablemodem ISP.
· vr0: interfase to my local network connected to a
 hub.

 The client:
· AMD athlon xp 2.0 Ghz.
· OS: Windows XP.
 Adding DNS servers to the network config in the client
 didn't solve the problem.
 BTW it's not necessary to add DNS entries when the
 server boots with Win 98 + Microsoft's ICS.

 On the server side, I built a new kernel with (all?)
 the necessary options:
· The GENERIC kernel, adding:
options IPDIVERT
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_VERBOSE_LIMIT=200
options IPFIREWALL_DEFAULT_TO_ACCEPT

 The /etc/hosts file has three entries:
 127.0.0.1 localhost  localhost.homenet.org
 192.168.0.1 daviddavid.homenet.org
 192.198.0.2 goliath  goliath.homenet.org

 My /etc/resolv.conf has been automagically generated
 when first configured the interfases.
 Maybe? it updates on every boot.

 And my networking-related lines in /etc/resolv.conf
 are as follows:
 --- Begin of /etc/rc.conf ---
 hostname=david.homenet.org
 # [...] chunking a few not-networking lines...
 ifconfig_dc0=DHCP
 ifconfig_vr0=inet 192.168.0.1 netmask 255.255.255.0
 gateway_enable=YES
 firewall_enable=YES
 firewall_type=OPEN
 firewall_script=/etc/my.rc.firewall
 #firewall_script=/etc/rc.firewall ### did not work
 either!!!
 natd_enable=YES
 natd_interface=dc0
 natd_flags=
 --- End of /etc/rc.conf ---


 The COMPLETE /etc/my.rc.firewall is extremely simple:
 --- Begin ---
 #!/bin/sh
 /sbin/ipfw -f flush
 /sbin/ipfw add divert natd all from any to any via dc0
 /sbin/ipfw add pass all from any to any
 --- End ---
 Testing blindly the /etc/rc.firewall also did not
 work.
 Learning ipfw secrets will be left for the immediate
 future ;o))).


 TIA.
 --
 José Albores - [EMAIL PROTECTED]

 
 Internet GRATIS es Yahoo! Conexión
 4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
 Más ciudades: http://conexion.yahoo.com.ar
 ___
 [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]


Dual VGA out on Radeon 8500

2003-09-14 Thread David L
Just want to know if anyone here has gotten dual head working on a Ati Radeon 
8500 Le graphics card. If so, can you tell me how you get the PCI bus ID of 
the DVI port, I beleive you need that to set it in the XFree86 config file.

when I do pciconf -v -l it only shows

[EMAIL PROTECTED]:0:0:  class=0x03 card=0x00041681 chip=0x514c1002 rev=0x00 
hdr=0x00
vendor   = 'ATI Technologies'
device   = 'R200 Radeon 8500 / 8500LE'
class= display
subclass = VGA

Thanks

David

___
[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-24 - 2003-09-13

2003-09-14 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]


OpenGL software rendering

2003-09-14 Thread Phillip Neiswanger
Hello,

Has anyone tried OpenGL software rendering with Nate Robins tutorial 
programs located here:  http://www.xmission.com/~nate/tutors/tutors.zip

I get a black background and the menus seem to be working, but that's 
it. Sometimes the programs produce areas of randomly colored pixels. 
However, if I then load the kernel module for my graphics card (Voodoo 5 
5500) and restart X so I get hardware acceleration then the programs 
produce appropriate output.  Currently, I'm learning GL programming 
using software rendering because the dri voodoo driver has a problem 
with colormaps.  Anyway, I was just wondering if anyone else experiences 
similar problems with software rendering.

My system is using the following:

AMD Athlon classic 850Mhz
EPOX EP-7KXA motherboard
Voodoo 5 5500 vid card
FreeBSD 4.7 with my own configuration
XFree86 4.3.0 packages from packages-4-stable
--
phil
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sound problem

2003-09-14 Thread Ricardo Britto
Greetings, 
 
I have a Ensoniq sound card (es1370). I have compiled my kernel with that 
directive (device pcm) it seems that worked (KDE doesn't anoy like before). I 
have FreeBSD 5.1, so the command 
# sh MAKEDEV snd0 
does'nt work (there's now devfs - I don't know how to use it). 
 
I saw the /dev directory and I haven't noticed pcm nor snd0 devices. Only 
what I saw where those: audio0.0, audio0.1, audio1.0 and audio1.1 . 
 
I can't hear any sound. I have already tried command: 
 
# mixer pcm 100 vol 100 cd 100 
 
but it doesn't work. 
 
Any suggestions? 
 
Thank you in advance, 
 
Ricardo.

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


mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Rob Lahaye


Hi,

I am trying to learn the buildworld and mergemaster process from the Handbook.

The handbook says:

[...]
To begin simply type mergemaster at your prompt, and watch it start going.
[..]
SO I did type mergemaster and all went well.

Decided then to remove the temproot directory, but failed!

# rm -rf /var/tmp/temproot
rm: /var/tmp/temproot/var/empty: Operation not permitted
rm: /var/tmp/temproot/var: Directory not empty
rm: /var/tmp/temproot/: Directory not empty
Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty
has the schg flag set. Very, very confusing.
Is there any reason why it is like that?
If not, then do not create the empty directory with schg !!
Regards,
Rob.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firewall

2003-09-14 Thread Robert Storey
Dear All,

I'm having a hard time configuring a firewall. I ALMOST understand it,
but I've run into one problem. I think I don't actually have my
/etc/rc.firewall set up properly. Maybe I don't really understand what
the ip setting should be, and I've made it the same as my net
setting. Anyway, what I can say is that with the configuration I have, I
can access my internal (ethernet) network, but ppp is totally blocked,
which of course I don't want.

Below are the configuration settings I've made, and the results I get. I
hope that somebody can help.

best regards,
Robert Storey

FROM /etc/rc.conf:

  firewall_enable=YES
  firewall_script=/etc/rc.firewall
  firewall_type=client

FROM /etc/rc.firewall:

# set these to your network and netmask and ip
net=192.168.0.2
mask=255.255.255.0
ip=192.168.0.2

CONTENT OF /etc/hosts:
#
::1 localhost localhost.utopia.com
127.0.0.1   localhost localhost.utopia.com
#
192.168.0.3 ibm.utopia.com  ibm
192.168.0.2 sonic.utopia.comsonic
192.168.0.1 pro.utopia.com  pro


OUTPUT OF ipfw -a list:

00100 0 0 allow ip from any to any via lo0
00200 0 0 deny ip from any to 127.0.0.0/8
00300 0 0 deny ip from 127.0.0.0/8 to any
00400 0 0 allow ip from 192.168.0.2 to 192.168.0.0/24
00500 0 0 allow ip from 192.168.0.0/24 to 192.168.0.2
00600 0 0 allow tcp from any to any established
00700 0 0 allow ip from any to any frag
00800 0 0 allow tcp from any to 192.168.0.2 dst-port 25 setup
00900 0 0 allow tcp from 192.168.0.2 to any setup
01000 0 0 deny tcp from any to any setup
01100 0 0 allow udp from 192.168.0.2 to any dst-port 53 keep-state
01200 0 0 allow udp from 192.168.0.2 to any dst-port 123 keep-state
65535 0 0 deny ip from any to any


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


Re: Problems Compiling Apache with Mod_Perl and Mod_SSL

2003-09-14 Thread Matthew Seaman
On Sat, Sep 13, 2003 at 05:11:07PM -0500, Jason L. Schwab wrote:
 Heya Folks;
 
   System Specs:
 
   FreeBSD 4.8-STABLE
   OpenSSL 0.9.7a (OS Installed)
   Apache 1.3.27
   Mod_Perl 1.28
   Mod_SSL 1.3.28 / 2.8.15
   Perl 5.8.0 (ports/lang/perl58 installed)
(use.perl port)
 
   I have tried many, many ways to get mod_ssl and mod_perl to
   compile on many servers, all with near same configurations,
   with absolutely no luck.

That's funny.  Works fine for me just compiling from ports.  You need
to start by installing the apache13-modssl port: mod_ssl can't be
installed as a stand-alone module to load into plain apache, and
furthermore any other modules need to be compiled against the
apache13-modssl combination.

A very useful trick is to add:

APACHE_PORT=${PORTSDIR}/www/apache13-modssl

into /etc/make.conf, which convinces most apache related ports to
depend on the mod_ssl-ified apache.
 
   All I can ever to get to compile is either just mod_ssl, just
   mod_perl, and with same configurtation options, I can get it
   to say and show and compile SSL and modperl, but httpd -l
   shows no mod_perl ? only mod_ssl, or vice versa!

httpd -l only shows the *compiled in* modules, not the dynamically
loaded modules.  My httpd with both mod_perl and mod_ssl produces:

% httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c

   Altho, when the above happens, apache's configure shows it
   adding both SSL and ModPerl uses Config/End Config/Start,
   normal stuff, and it even goes thro the directories for the
   compile and has no errors.

If you can add mod_ssl or mod_perl configuration directives to
httpd.conf (outside any IfModule ../IfModule block and run
'apachectl configtest' without apache complaining, that means your
apache does have the required support.

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Replacement for WinRar?

2003-09-14 Thread Dragoncrest
I know that there's a list out there that states xx nix app will 
replace yy windows app (got the bookmark to it.  hehe) but one thing the 
list doesn't tell me is what is a good replacement in nix that does 
everything winrar does.  I love winrar cause it takes all the power of rar 
and puts it into one very simple and easy to use graphical interface.  I'd 
love to be able to do much the same things with rar when I'm in KDE, so I'm 
looking for something other than Ark that would do the trick and be as 
useful as winrar.  Anyone know of any?  Thanks.  Anyone know from 
experience which nix apps will do what I'm wanting to?  The list suggests 
these apps.

1) Ark (kdeutils).
2) http://www.geocities.com/SiliconValley/9757/gnozip.htmlGnozip.
3) http://perso.wanadoo.fr/coquelle/karchiver/KArchiveur.
4) http://gnochive.sourceforge.net/Gnochive.
5) http://fileroller.sourceforge.netFileRoller.
6) http://www.winace.com/Unace.
7) LinZip.
8) http://www.woodsway.com/TkZip/TkZip.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Kris Kennaway
On Sun, Sep 14, 2003 at 06:08:57PM +0900, Rob Lahaye wrote:

 Is there any reason why it is like that?

Yes, it's used to chroot into, and must not be writable.

Kris


pgp0.pgp
Description: PGP signature


Re: samba PDC vs IBM T21 keyboard

2003-09-14 Thread Stacey Roberts
Hello,

On Sun, 2003-09-14 at 03:48, Micheal Patterson wrote:
 - Original Message - 
 From: Stacey Roberts [EMAIL PROTECTED]
 To: FreeBSD Questions [EMAIL PROTECTED]
 Sent: Saturday, September 13, 2003 9:25 PM
 Subject: samba PDC vs IBM T21 keyboard
 
 
  Hello,
 I've got a strange (to me at least) problem here.
 
  I'm running samba (version: samba-2.2.8a) as a PDC on a network. I've
  just joined an IBM T21 WinXP Pro laptop to the domain, which went
  through okay, except for one unexpected factor:
 
  The T21's keymapping appears to be all crazy. By that, I'd refer you to
  keys U, I, O, P, J, K, L, : and M.
 
  All of these keys have alternate chars printed on them - for instance
  the P has * and O has a 6, and so on.
 
  Whenever a user logs onto the domain, these secondary chars appear to
  be the ones in use, and what you'd expect for P actually gets output
  as the * char. This happens regardless of the user that logs in, as
  long as its on the network, then those other chars appear to take
  precedence. This behaviour appears in all applications as well, from M$
  Word to attempts at typing a url into the address bar in IE.
 
  If I didn't know any better, I'd almost want to suggest that the key
  mapping appears to be that of a regular PS/2 keyboard!
 
  Has anyone noticed anything like this? If there's any more info I can
  provide, I'm willing to.
 
  Thanks for the time.
 
  Regards,
 
  Stacey
  -- 
  Stacey Roberts
  B.Sc (HONS) Computer Science
 
  Web: www.vickiandstacey.com
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 Sounds like the 10 key function of the keyboard has been enabled.
 

Not heard of this., I'll have a google round and see what I can find out
about it. This is some sort of accessibility thing?

Regards,

Stacey

 --
 
 Micheal Patterson
 Network Administration
 Cancer Care Network
 405-917-0600
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com


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


[5.1] Xfree86 in state 'rdnrel'??

2003-09-14 Thread Jacques Beigbeder
Configuration:
. FreeBSD 5.1, GENERIC kernel; Pentium P4, Hyperthreading
. XFree86: Version 4.3.0, 27 February 2003
. graphic hardware: ATI Technologies Inc, Radeon R200 QH [Radeon 8500]
. sample of syslog output:
drm0: ATI Radeon QH FireGL 8x00 ...
[drm] AGP at 0xe800 128MB
[drm] Initialized radeon 1.8.0 20020828 on minor 0
[drm] Loading R200 Microcode

My problem: top(1) shows:
  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
  640 root   00 89188K 78936K rdnrel   5:00 84.86% 84.86% XFree86
  ^^^^

So XFree86 uses all CPU available, and the process is in state 'rdnrel'.
The process can't be killed, I have to reboot...

Is this a known problem? Do you have a fix?

--
Jacques Beigbeder|  [EMAIL PROTECTED]
Service de Prestations Informatiques | http://www.spi.ens.fr
Ecole normale supérieure |
45 rue d'Ulm |Tel : (+33 1)1 44 32 37 96
F75230 Paris cedex 05|Fax : (+33 1)1 44 32 20 75

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


Re: SHELL scripts..... HOW TO START LEARN????

2003-09-14 Thread Mark Terribile

Denis,

 Do you happen to know where is some helpful
 information about SHELL
 programming???

Others have posted some fine references; I'd like to
belabor you with a piece of experience:

 There is a difference between writing shell
 scripts and writing shell programs.

 o A script is a series of commands as you might enter
   them at the keyboard.

 o A program is a sequence of commands that are
   composed with the same care that one would (or
   should) employ when programming in other
   languages; care regarding the ability of someone
   else to read and understand the program; care
   regarding one's own ability to read and understand
   it six months, or sixty months, later; care that
   inputs are validated and variables are used
   consistently, etc.

Since shell programs invoke shell commands and
pipelines, and since commands and pipelines of
commands all use different argument syntaxes, it's
very important to make sure that the person trying to
read the overall flow doesn't get lost in the minutia.

This requires that program organization be at least
as good as the organization of a C or C++ program ten
times the size of the shell program.  Keep related
computations together in groups, just as you put
related sentences in order in a paragraph.

It also requires more attention to naming what you
are doing.  If you have a pipeline constructed with
arcane commands to do subtle and magical things, put
it in a shell function and name it clearly.  (If your
shell does not support functions, switch to one that
does.  I like  ksh , but  bash  is good too.)  Use
functions freely and test them independently of each
other.  (It's easier in the shell than in most
programming languages.)

Since most shells do not support structured data,
you cannot use  structs  (or records, or classes)
to describe your data layout.  Comment your data
accurately.  This does not necessarily mean profusely.

When you use a new variable in a function scope, use
whatever the shell gives you to make sure that you
are using a local instance, and not writing over a
variable in an outer (dynamic) scope.

There's lots more, but this will get you started.

 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]


ringtones..mp3 in browser

2003-09-14 Thread Dick Hoogendijk
I can't get mp3 files to work in mozilla. I have plugger-4.0 installed
and the plugins state that mp3 files should be played.
## stream, preload: mpg123 -q -b 1024 -
Mpg123 is of course installed ;-))

No matter what I try, even installing helper programs within mozilla
itself; nothing works. http://xx.yy.zz.zzz/file.mp3 won't play in the
browser.

Does anybody know how to setup mozilla to play mp3 files?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: COM ports

2003-09-14 Thread Bernd Walter
On Thu, Sep 11, 2003 at 09:29:44AM -0700, Claudiu Bichir wrote:
 Hy folks !
 I have FreeBSD 5.0 installed on my computer and I wanted to know how can I 
 enable the COM3  COM4 ports. The ports are disabled by default in 5.0.
 I tried to modify /boot/device.hints but with no hope .
 I commented hint.sio.2.disabled=1 and hint.sio.3.disabled=1 out but when I 
 rebooted it said smt like irq 5 not in bitmap of probed irqs 0 ;port may not be 
 enabled; the same goes for sio3(but with 9 instead of 5) .I'm just starting so ... 
 don't know what to do anymore.
 I already read the handbook and the sio(4) manual page but I haven't found something 
 helpfull yet.
 I'm asking all this because I have an Aztech UM9800 external modem which's on 
 COM3(at least that's what Windows shows )and I cannot change its COM port to 1 or 2 .
 It is recognized as ugen0 when the system boots.
 It is an usb modem but I was told by people on this list that I can use it with 
 FreeBSD.
 If I can then I would appreciate any help from you on how to set it up.
 Thanks people !

The sio driver is not for usb devices.
Build a kernel with umodem/ucom if your modem is really a modem and not
one of those softmodem things.
In the later case there is almost no hope to get it working - and it's not
really worth it IMHO.

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [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 read CF card via USB with umass on 4.7-STABLE?

2003-09-14 Thread Bernd Walter
On Fri, Sep 12, 2003 at 06:52:13PM -0400, Chris Shenton wrote:
 I have an old digital camera which has a 64MB CF card in it. A friend
 loaned me a USB card reader to extract the images.  I don't seem to be
 able to mount it on FreeBSD-4.7-STABLE per the umass man page.
 
 After plugging in the card and USB reader, dmesg shows:
 
   umass0: PQI Travel Flash, rev 1.10/2.05, addr 2
   da1 at umass-sim0 bus 0 target 0 lun 0
   da1: General Flash Disk Drive 2.05 Removable Direct Access SCSI-2 device 
   da1: 650KB/s transfers
   da1: 62MB (126976 512 byte sectors: 64H 32S/T 62C)

Looks good.

 The man page says:
 
camcontrol rescan 0
 
  Rescan a Zip drive that was added after boot.  The command above assumes
  that the Zip drive is the first SCSI bus in the system.
 
disklabel -w -r da0 zip100
newfs da0c
mount -t ufs /dev/da0c /mnt
 
 I do the camcontrol and it appears to see it:
 
   thanatos# camcontrol rescan 0
   Re-scan of bus 0 was successful
   thanatos# camcontrol devlist -v
   scbus0 on ahc0 bus 0:
   SEAGATE ST19171W 0024at scbus0 target 0 lun 0 (pass0,da0)
at scbus0 target -1 lun -1 ()
   scbus1 on umass-sim0 bus 0:
   General Flash Disk Drive 2.05at scbus1 target 0 lun 0 (da1,pass1)
   scbus-1 on xpt0 bus 0:
at scbus-1 target -1 lun -1 (xpt0)

Not need to do this as the device is already working.

 I skip the disklabel and newfs since I've got photos on it already.
 Attempts to mount fail:
 
   thanatos# mount -t ufs /dev/da1c /mnt
   mount: /dev/da1c on /mnt: incorrect super block
   thanatos# mount -t msdos /dev/da1c /mnt
   msdos: /dev/da1c: Invalid argument
 
 Any clues? Thanks.

A photo disk is most likely not ufs - it's msdosfs.
msdosfs is not is normaly not used on the whole device (exeptions are
floppies), so you want using the correct slice.
E.g. mount -t msdos /dev/da1s1 /mnt

-- 
B.Walter   BWCThttp://www.bwct.de
[EMAIL PROTECTED]  [EMAIL PROTECTED]

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


procmail filtering replacement w/ cyrus

2003-09-14 Thread dick hoogendijk

Hi,

I used to run procmail as my local mailer (w/ sendmail as MTU). The .procmailrc 
filters the incoming mail into separate folders.

Now I've changed to cyrus-imapd and no longer use procmail. Cyrus has it's own local 
mailer (cyrdeliver). That's fine with me, bu now all mail is droped into the INBOX. 
The only way to filter it is through an mailclient running under X.

Does someone know of a good way to filter my incoming mail _not_ only to user.xxx but 
to his/her other (imap) mailboxes as well?

I was rather font of using mutt on the cli (which is much more complicated w/ imap) 
but losing my  sorted filtered mailboxes does not make me happy.

If filtering does not exist I think I'll go back to QPopper (pop3) and 
sendmail/procmail.

Please help..?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Replacement for WinRar?

2003-09-14 Thread David L
Unfortunately this wont answer your question, I use the cli zip  tar 
programs. However I was wondering what the site is that states what replaces 
what?
  I know that there's a list out there that states xx nix app will
 replace yy windows app (got the bookmark to it.  hehe) but one thing the
 list doesn't tell me is what is a good replacement in nix that does
 everything winrar does.  I love winrar cause it takes all the power of rar
 and puts it into one very simple and easy to use graphical interface.  I'd
 love to be able to do much the same things with rar when I'm in KDE, so I'm
 looking for something other than Ark that would do the trick and be as
 useful as winrar.  Anyone know of any?  Thanks.  Anyone know from
 experience which nix apps will do what I'm wanting to?  The list suggests
 these apps.

 1) Ark (kdeutils).
 2) http://www.geocities.com/SiliconValley/9757/gnozip.htmlGnozip.
 3) http://perso.wanadoo.fr/coquelle/karchiver/KArchiveur.
 4) http://gnochive.sourceforge.net/Gnochive.
 5) http://fileroller.sourceforge.netFileRoller.
 6) http://www.winace.com/Unace.
 7) LinZip.
 8) http://www.woodsway.com/TkZip/TkZip.


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


Q: mergemaster 'm'-merge option results in empty file

2003-09-14 Thread Rob Lahaye


Hi,

I'm trying to get grip of mergemaster.
Either my logic is up-side-down or mergemaster is not so intuitive,
but learning mergemaster seems a tough process for me.
My problem now:

	# mergemaster -v

This does some things, and then presents me a list of files that
are only in my installed /etc directory. Ok, understand that.
It then also takes me file by file to make a decision as:

  Use 'd' to delete the temporary ./etc/hosts
  Use 'i' to install the temporary ./etc/hosts
  Use 'm' to merge the temporary and installed versions
  Use 'v' to view the diff results again
Using 'd' or 'i' works alright, but 'm' is totally uncomprehensive.
E.g. I want to merge with my original /etc/hosts file, which has
my own list of ips/hosts When typing 'm', I enter sdiff, which talks
about a left and a right version, totally out-of-the-blue:
%h
l:  use the left version
r:  use the right version
e l:edit then use the left version
e r:edit then use the right version
e b:edit then use the left and right versions concatenated
e:  edit a new version
s:  silently include common lines
v:  verbosely include common lines
q:  quit
What is left and right in the mergemaster context???
'man sdiff' doesn't seem to help out here.
I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
totally empty!!
Any idea where I went wrong?

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


Soft shutdown when using power button with ACPI ...

2003-09-14 Thread Damien Touraine
Hello,

my computer is running FreeBSD 5.1 and I would like to know how to 
configure FreeBSD to recognize when I press the power button to do a 
software shutdown.

Actually, this computer was previously configured with Linux and under 
Linux, and there was a daemon that was listening for the ACPI buttons. 
Thus when I pressed the power button, it runs the configured command (ie 
: shutdown -h now). Under FreeBSD, when I press the power button, the 
system directly power off without doing any software shutdown.

Is there any way to configure FreeBSD to do a soft shutdown when I press 
the power button ?

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


ldap and schema for user classes

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

HI !

I set up a FreeBSD-5.1 test server with LDAP centralized authentication (with 
pam_ldap and nss_ldap).
It works well, but now I would like to be able to set user classes for my 
users (set in /etc/login.conf). How can I achieve this ? Is there a schema 
somewhere I could try ?

Thanks in advance.

- -- 
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/ZF9GY3Hnhkr+5cQRAv2iAJ4uZnHzbqiFFPSdp77hobQbkCF2NgCfY7mM
boERTzaSYy50QUINXRRpsMk=
=xk14
-END PGP SIGNATURE-

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


Egypt Support Center

2003-09-14 Thread Walaa Waguih
Dear Sirs ,
me and some of my freinds that use and adore FreeBSD OS was thinking about
opening something like branch for FreeBSD here in Egypt .
and we was wondering is it posible or not .. and what will be needed to do
something like that ??
and we are ready for what ever needed to be official distributer or
supporter for FreeBSD in Egypt ( and may be later in all middle east )..
so could you inform me about what needed for that ???


Best Regards
Walaa W. Henein
Phone : 002-03-4891199
Fax : 002-03-4891133
Mobile : 002-012-7330674
_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: HOW TO USE C-R-O-N?????

2003-09-14 Thread Alex de Kruijff
On Sun, Sep 14, 2003 at 02:58:21AM +0200, Alex de Kruijff wrote:
 On Sat, Sep 13, 2003 at 03:09:12PM +0400, Denis wrote:
  Hi All!!!
  
Does anybody can show me how i can use Cron???
For example, I want to start:
/usr/bin/perl /usr/scripts/my.pl
every 30 seconds. Can i to do it?
 
 No cron doesn't handle minutes. For more information type man cron from
 the command line.

Sorry i meant it doesn't handle second here. You can specify any minute
hour, day, ect.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail server setup

2003-09-14 Thread Technical Director

Aaron,

First question you might want to answer is can I solve the relaying 
problem on the system I have now? Certainly SCO Unix is ugly to me,
but if it is working and your time is as limited as the rest you might be
best to upgrade to the lastest version of Sendmail. It not only fixes the
latest in known bugs/overflows in Sendmail, but by default rejects
relaying attempts.

R.

On Sat, 13 Sep 2003, Aaron Walters wrote:

 I am setting up freebsd as an incoming mail server running
sendmail.  Is there documentation to do this and make sure i do this
right??  I am having problems with people relaying through my existing
mail server running sco unix and sendmail. Please advise about
documentation to do this.
 
 Thank you
  Aaron
 [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]


how long is installation time

2003-09-14 Thread radu.florin
Hello,
I am a newbie, using Windows, a Mandrake Linux and a Slackware installed 
on my Athlon PC.
So I intended to test FreeBSD on my old PC:
Pentium, 133MHz, 16 Mo memory.
I used floppies as indicated ( I had to use the drivers one equally for my 
CD reader to be detected ).
The base has been installed in a moderate time.
But as I wanted to get graphics advantage, I choosed to add KDE tools, 
fonts, etc.
Install time: 16 hours (!). And I still don't have xf86cfg to get my 
graphic screen. (in what package is it ?)
So, my question: is the time duration normal ? And what is the minimum 
packages to install in
way to get a minimum of graphics, so usefull for a beginner .
Thank you
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Replacement for WinRar?

2003-09-14 Thread David Fleck
On Sun, 14 Sep 2003, Dragoncrest wrote:
 ...but one thing the list doesn't tell me is what is a good replacement
 in nix that does everything winrar does.

What exactly does WinRar do that you want to replicate?
'Everything' is pretty broad.


--
David Fleck
[EMAIL PROTECTED]

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


dd to duplicate a disk.

2003-09-14 Thread Lewis Thompson
Hi,

I'm trying to setup a vinum mirrored root fs.  I've not got very far
(although I have some excellent help once I get past this stage ;) --
I'm trying to duplicate my disk.

  Right now I have /dev/ad0s1(n) and I'd like an exactly copy of that
slice on /dev/ad2s1.  I've been trying to use dd (which I know very
little about):

dd if=/dev/ad0s1 of=/dev/ad2s1

I don't know if that's the right way to go about it or not, but I get
the error ``dd: /dev/ad2s1: Operation not permitted'', which leads me to
believe I've messed something up.  I'm in single user when trying to do
this and the /dev/ad0s1(n) partitions are mounted.

  Any tips would be greatly appreciated.  Thanks,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: usb mouse probs

2003-09-14 Thread Lee Harr
I looked at the hand book
played with rc.conf and all the stuff  i need in the kerel is there
there is a /dev/ums0 too
dmesg says it found my
micrsoft wirless optical usb mouse
but i can not seem to get it to work



What does the mouse section of /etc/X11/XF86Config look like?

_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: mldonkey which name?

2003-09-14 Thread Benjamin Kohler
On Sat, 13 Sep 2003 17:49:56 +0200
Dick Hoogendijk [EMAIL PROTECTED] wrote:
 What do I run when I want a P2P session under X?

mlguistart

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


Re: Xterm-color

2003-09-14 Thread Nathan Kinkade
On Sun, Sep 14, 2003 at 02:24:41AM +0100, Daniel Bye wrote:
 On Sat, Sep 13, 2003 at 06:43:24PM -0400, Bob Hall wrote:
  On Sat, Sep 13, 2003 at 06:22:29PM -0400, Todd Stephens wrote:
   Probably a no-brainer, but how can I make my xterm start as xterm-color?  
   If I want color ls, I have to type TERM=xterm-color from the command 
   line every time I start a new terminal window.  What file do I need to 
   edit to make X start with xterm-color?
  
  ~/.Xdefaults
  ---
  xterm*background: green
  xterm*foreground: yellow
  xterm*highlightColor: purple
  
  I don't necessarily endorse those color choices.
 
 But those colours are so beautiful in combination...  ;-)
 
 Set
 
 XTerm*termName: xterm-color
 
 as well, if you want to be certain that anything that cares about ${TERM}
 gets an appropriate value.
 
 Dan

alternatively, you could just launch xterm like:

$ xterm -tn xterm-color

it appears that you are using 4.8-RELEASE, but apparently sometime
around Aug 27, 2002 xterm's termcap entry supports color by default.
per /usr/src/UPDATING:

20020827:
Our /etc/termcap now has all the entries from the XFree86 xterm
almost unchanged. This means xterm now supports color by default.
If you used TERM=xterm-color in the past you now should use
TERM=xterm. (xterm-color will lead to benign warnings).

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


Re: Sound problem

2003-09-14 Thread Lee Harr
Greetings, ^M

Hmm... sounds ok to me. Except for that little hiccup at the end.
Looks more like a windows problem though   :o)
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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


Re: firewall

2003-09-14 Thread Nathan Kinkade
On Sun, Sep 14, 2003 at 05:27:15PM +0800, Robert Storey wrote:
 Dear All,
 
 I'm having a hard time configuring a firewall. I ALMOST understand it,
 but I've run into one problem. I think I don't actually have my
 /etc/rc.firewall set up properly. Maybe I don't really understand what
 the ip setting should be, and I've made it the same as my net
 setting. Anyway, what I can say is that with the configuration I have, I
 can access my internal (ethernet) network, but ppp is totally blocked,
 which of course I don't want.
 
 Below are the configuration settings I've made, and the results I get. I
 hope that somebody can help.
 
 best regards,
 Robert Storey
 
 FROM /etc/rc.conf:
 
   firewall_enable=YES
   firewall_script=/etc/rc.firewall
   firewall_type=client
 
 FROM /etc/rc.firewall:
 
   # set these to your network and netmask and ip
   net=192.168.0.2
   mask=255.255.255.0
   ip=192.168.0.2
 
 CONTENT OF /etc/hosts:
 #
 ::1   localhost localhost.utopia.com
 127.0.0.1 localhost localhost.utopia.com
 #
 192.168.0.3   ibm.utopia.com  ibm
 192.168.0.2   sonic.utopia.comsonic
 192.168.0.1   pro.utopia.com  pro
 
 
 OUTPUT OF ipfw -a list:
 
 00100 0 0 allow ip from any to any via lo0
 00200 0 0 deny ip from any to 127.0.0.0/8
 00300 0 0 deny ip from 127.0.0.0/8 to any
 00400 0 0 allow ip from 192.168.0.2 to 192.168.0.0/24
 00500 0 0 allow ip from 192.168.0.0/24 to 192.168.0.2
 00600 0 0 allow tcp from any to any established
 00700 0 0 allow ip from any to any frag
 00800 0 0 allow tcp from any to 192.168.0.2 dst-port 25 setup
 00900 0 0 allow tcp from 192.168.0.2 to any setup
 01000 0 0 deny tcp from any to any setup
 01100 0 0 allow udp from 192.168.0.2 to any dst-port 53 keep-state
 01200 0 0 allow udp from 192.168.0.2 to any dst-port 123 keep-state
 65535 0 0 deny ip from any to any

It doesn't look it's really made a diff, but your net settings should
be 192.168.0.0.  The rules you pasted would appear to allow your local
machine (192.168.0.2) out - the other interesting thing is that all of
the counters in your listing are 0.  If everything was totally broken I
would still expect to see the counters for rule 65535 with values.  Is
this box a gateway on your network or just another machine on the LAN?
What is the output of `ifconfig -a'?

Nathan
-- 
gpg --keyserver pgp.mit.edu --recv-keys D8527E49


pgp0.pgp
Description: PGP signature


?IRC -newbie?

2003-09-14 Thread Alex Zivenko
I need to learn more about IRC. What that thing?
You can give me channels about FreeBSD, hack  humor.
Somebody help
you can give me link to ftp docs, but not to http. Our firewall get's me out when I'm 
going to the WWW.
Thank's all.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: procmail filtering replacement w/ cyrus

2003-09-14 Thread Matthew Seaman
On Sun, Sep 14, 2003 at 01:32:33PM +0200, dick hoogendijk wrote:
 
 Hi,
 
 I used to run procmail as my local mailer (w/ sendmail as MTU). The .procmailrc 
 filters the incoming mail into separate folders.
 
 Now I've changed to cyrus-imapd and no longer use procmail. Cyrus has it's own local 
 mailer (cyrdeliver). That's fine with me, bu now all mail is droped into the INBOX. 
 The only way to filter it is through an mailclient running under X.
 
 Does someone know of a good way to filter my incoming mail _not_ only to user.xxx 
 but to his/her other (imap) mailboxes as well?
 
 I was rather font of using mutt on the cli (which is much more complicated w/ imap) 
 but losing my  sorted filtered mailboxes does not make me happy.
 
 If filtering does not exist I think I'll go back to QPopper (pop3) and 
 sendmail/procmail.

Actually, this is quite a popular topic on the FreeBSD lists.  A few
moments searching a http://freebsd.rambler.ru/ will get you such handy
messages as:

http://freebsd.rambler.ru/bsdmail/freebsd-questions_2003/msg11082.html

or 

http://freebsd.rambler.ru/bsdmail/freebsd-isp_2001/msg01947.html

or

http://freebsd.rambler.ru/bsdmail/freebsd-chat_2002/msg01762.html

But note that Cyrus deliver has a built in 'sieve' function which will
do a lot of what procmail does, and it has a remote interface which is
handy when you want to set up a mail server box without giving login
accounts to all of your mail users.

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Re: ?IRC -newbie?

2003-09-14 Thread Guilmot Mike
Alex Zivenko wrote:
 I need to learn more about IRC. What that thing?
 You can give me channels about FreeBSD, hack  humor.
 Somebody help
 you can give me link to ftp docs, but not to http. Our firewall get's
 me out when I'm going to the WWW. 
 Thank's all.

irc.freenode.net , #FreeBSD

I guess that's what you're looking for.

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: how long is installation time

2003-09-14 Thread David L
16mb of ram and you want to run KDE? I dont think that all that good an idea. 
Try a light weight window manager  this site

http://www.plig.org/xwinman/others.html

has a list of heaps of different windows manager and desktops, try something 
labelled as minimalistic eg. fvwm or xfce maybe.

As far as installing it is concerned, your best bet is to go through 
/stand/sysinstall and select configure, then distibutions and select the 
Xfree distributions. once that is installed configure your x server ( 
configure= xserver configuration once again in /stand/sysinstall )
and then install your windowmanager.

Hope that helps

David
 Hello,
  I am a newbie, using Windows, a Mandrake Linux and a Slackware installed
 on my Athlon PC.
 So I intended to test FreeBSD on my old PC:
 Pentium, 133MHz, 16 Mo memory.
 I used floppies as indicated ( I had to use the drivers one equally for my
 CD reader to be detected ).
 The base has been installed in a moderate time.
 But as I wanted to get graphics advantage, I choosed to add KDE tools,
 fonts, etc.
 Install time: 16 hours (!). And I still don't have xf86cfg to get my
 graphic screen. (in what package is it ?)
 So, my question: is the time duration normal ? And what is the minimum
 packages to install in
 way to get a minimum of graphics, so usefull for a beginner .
 Thank you

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


Bus-error hardware or software?

2003-09-14 Thread Mark
Every once in a while, an httpd (Apache 3.28) child exits with a seg-fault of sorts. I 
hope someone can tell me whether or not this is hardware-related:

asarian-host.net kernel log messages:
 9 10/100BaseTX port 0xa000-0xa0ff mem 0xda00-0xdaff irq 11 at device 13.0 
 on pci0
 pid 15369 (httpd), uid 65534: exited on signal 11

asarian-host.net kernel log messages:
 daff irq 11 at device 13.0 on pci0
 pid 1478 (httpd), uid 65534: exited on signal 10

It seems to me a matter of software; a read on a wrong memory address, to be precise. 
But since the log talks about a device on a pci bus, and one of the signals is a bus 
error (signal 10), maybe it is hardware after all.

I must say, though, that I only ever experience this with the http daemon. The rest is 
rock-solid. Any diagnostic help is appreciated.

Thanks,

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


486SX, 100MB HDD - need FreeBSD, how?

2003-09-14 Thread Alex Zivenko
How to install freebsd on this machine? (Intel486SX-25Mhz, 8 Mb Memory, 100Mb HDD). 
There isn't cdrom.
Maby I can setup it from other system, the recompile kernel for that processor, or 
what?
Without x, witout any cool programs.
I just need to do it log-server.

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


Re: mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Jerry McAllister
 
 Hi,
 
 I am trying to learn the buildworld and mergemaster process from the Handbook.
 
 The handbook says:
 
 [...]
 To begin simply type mergemaster at your prompt, and watch it start going.
 [..]
 
 SO I did type mergemaster and all went well.
 
 Decided then to remove the temproot directory, but failed!
 
 # rm -rf /var/tmp/temproot
 rm: /var/tmp/temproot/var/empty: Operation not permitted
 rm: /var/tmp/temproot/var: Directory not empty
 rm: /var/tmp/temproot/: Directory not empty
 
 Took me a long while to figure out the /var/tmp/temproot/var/empty direcoty
 has the schg flag set. Very, very confusing.
 Is there any reason why it is like that?
 If not, then do not create the empty directory with schg !!

Because /var/empty should not be deleted.  Some programs use it.
I don't know about that particilar variation.

jerry

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


Re: PCI and PCIX Fiber SCSI host adapters (HBAs) [was: EMCsq/SAN]

2003-09-14 Thread Philip Kizer
Danny Braniss [EMAIL PROTECTED] wrote on freebsd-hackers:
   Any experiance with EMCsq./SAN? I know FreeBSD is not on their
list, but was wondering if it works even without the 'qualified' stamp.

   If not, then is there some recomendation for any other SAN?

I'm following up in -questions with a question of my own, point me to the
best place (-scsi or -stable?) and I'll happily repost my question in a
more suitable venue.

the related question I have been meaning to ask is which Fiber HBAs are
prople using with success on 4-STABLE?  (And have there been any notable
additions to 5-CUR for that matter?)

We love the JNIs on our Solaris boxes, but when I talked to Qlogic they
stated the semi-reasonable we will support the hardware, but we don't do
anything with the driver and do not provide any support to FreeBSD
response.  That aside, from looking at the isp(4) man page, it looks like
Qlogic hardware has fairly complete drivers.

So, what Fiber SCSI HBAs are people using out there, we'll have both PCI
and PCIX, mostly Dell 2550/2650/etc.  Any recommendations?


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


Re: Q: mergemaster 'm'-merge option results in empty file

2003-09-14 Thread Matthew Seaman
On Sun, Sep 14, 2003 at 08:46:52PM +0900, Rob Lahaye wrote:

 What is left and right in the mergemaster context???
 'man sdiff' doesn't seem to help out here.
 I've tried a bit (I typed 'v' and 'q'), but then found /etc/hosts
 totally empty!!
 
 Any idea where I went wrong?

'sdiff' does a side-by-side comparison of two files, and lets you
generate a file where some or all of those differences have been
merged together.  'left' and 'right' in this context refer to the two
columns that sdiff divides the screen into, where it shows you the
blocks of lines that differ between the two files you're comparing.

Perhaps an example is in order.  Run these commands to get two
different versions of the GENERIC kernel configuration from cvs:

# cd /tmp
# fetch -o GENERIC-CURRENT 
'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/conf/GENERIC?rev=1.246.2.51.2.2content-type=text/plain'
# fetch -o GENERIC-STABLE 
'http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/i386/conf/GENERIC?rev=1.246.2.54content-type=text/plain'

(As the names suggest, those are just the latest versions from the
HEAD and RELENG_4 branches)

Now, assuming you're in an xterm or similar, stretch the window until
it is at least 160 characters wide.  If you're in a fixed width
window, substitute the width of the window for the number after '-w'
below.  It's clearer to see what's going on if you can use as wide a
screen as possible.  Now run:

# setenv EDITOR=vi
# sdiff -o GENERIC.n -s -w 160 GENERIC-STABLE GENERIC-CURRENT

The first output you will see is:

# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 | # 
$FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/0
%

(Which probably won't make a lot of sense unless your mail client
doesn't automatically wrap long lines and you happen to be reading
this in a fairly wide screen)

What this is doing is asking which $FreeBSD$ tag should go into the
merged file.  Choose 'l' for the left-hand version, which comes from
GENERIC-STABLE. If you're in a narrow window, you probably can't
see the difference between those two lines as it's too far over to be
displayed.

The next chunk looks like:

  
# FireWire support
device  firewire# FireWire bus code   
device  sbp # SCSI over FireWire (Requires scbus and da)  
device  fwe # Ethernet over FireWire (non-standard!)  
%

because the firewire support is only in the GENERIC-STABLE kernel config.

Here, choose 'r' for the right hand version which comes from
GENERIC-CURRENT.

What you should end up with is a new file GENERIC.n where:

% diff -u GENERIC-STABLE GENERIC.n
--- GENERIC-STABLE  Mon Apr 28 04:41:46 2003
+++ GENERIC.n   Sun Sep 14 16:51:22 2003
@@ -264,8 +264,3 @@
 device aue # ADMtek USB ethernet
 device cue # CATC USB ethernet
 device kue # Kawasaki LSI USB ethernet
-
-# FireWire support
-device firewire# FireWire bus code
-device sbp # SCSI over FireWire (Requires scbus and da)
-device fwe # Ethernet over FireWire (non-standard!)

and

% diff -u GENERIC-CURRENT GENERIC.n
--- GENERIC-CURRENTTue Mar 25 23:35:15 2003
+++ GENERIC.n   Sun Sep 14 16:51:22 2003
@@ -15,7 +15,7 @@
 # device lines is also present in the ./LINT configuration file. If you are
 # in doubt as to the purpose or necessity of a line, check first in LINT.
 #
-# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.51.2.2 2003/03/25 
23:35:15 jhb Exp $
+# $FreeBSD: /repoman/r/ncvs/src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 
03:41:46 simokawa Exp $
 
 machinei386
 cpuI386_CPU


One thing that may trip you up: don't set your $EDITOR variable to
'emacs' -- because of the way emacs works by immediately copying the
temporary file sdiff(1) generates, and renaming the original as a
backup, it confuses sdiff(1), and you won't see any of your edits in
the output.  vi(1) just works directly on the temporary file and all
is well.  

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Re: Replacement for WinRar?

2003-09-14 Thread Alex de Kruijff
On Sun, Sep 14, 2003 at 05:57:44AM -0700, Dragoncrest wrote:
 I know that there's a list out there that states xx nix app will 
 replace yy windows app (got the bookmark to it.  hehe) but one thing the 
 list doesn't tell me is what is a good replacement in nix that does 
 everything winrar does.  I love winrar cause it takes all the power of rar 
 and puts it into one very simple and easy to use graphical interface.  I'd 
 love to be able to do much the same things with rar when I'm in KDE, so I'm 
 looking for something other than Ark that would do the trick and be as 
 useful as winrar.  Anyone know of any?  Thanks.  Anyone know from 
 experience which nix apps will do what I'm wanting to?  The list suggests 
 these apps.

I use the command line version of rar under FreeBSD. Its in the port
system.
# cd /usr/ports/
# make search name=rar

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.1 and a USB pen drive

2003-09-14 Thread Lowell Gilbert
Richard Dymond [EMAIL PROTECTED] writes:

 I've googled and Usenet-ed high and low for info on this, but to no
 avail.
 
 I've got one of those handy 256MB USB pen drives that I'd like to get
 working with FreeBSD 5.1. As a long-time linux user I'm used to plugging
 the device in, loading the usb-storage kernel module - which recognises
 the device and slaps it on /dev/sda - and then issuing an appropriate
 mount command.
 
 I'm assuming the process with FreeBSD is similar, but I need some tips.
 Specifically, what options/devices do I need to enable in the kernel? (I
 thought I'd picked the relevant ones already - usb, ugen, umass, scbus,
 da - but perhaps I'm missing something.) And once I've plugged the USB
 drive in, what commands do I need to run to get the device recognised,
 and to mount the vfat filesystem thereon?
 
 At the moment, all that happens when I plug the USB drive in is a big
 fat nothing. No kernel log messages. Not even a flicker of the little
 power light on the device.

Half a minute reading the first, obvious, manual (usb(4)) told me that
you need the uhub device.  I don't know if that's all you need (you'll
probably need usbd(8) to attach devices, at a guess), but it's a start.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem(s) resolving names with natd/ipfw.

2003-09-14 Thread Jose Albores
Just enabling named solved the problem. I only added two or three
named_... entries from /etc/default/rc.conf to /etc/rc.conf, changing
NO for YES and nothing else.
Even without modifying de default config files (named.conf and any
other, eventually) the FreeBSD gateway began to forward name-requests
without problems.

But I'm almost sure that none of the documents I read said it was
necessary to enable named in the gateway in order to resolve names.
Maybe this should be added o I should recheck.

Thank you very much. Your help was in fact extremely useful to me.

I also prefer sometimes to perform a few tasks with my personals
scripts and avoid the default programs doing them. As I review what I
wrote it seems that I know what exactly the program does!

Thanks again.
--
José Albores - [EMAIL PROTECTED]


 --- [EMAIL PROTECTED] escribió: 

 1. I would try enabling named on the FreeBSD gateway and set it as a
 forwarder to the DNS of my ISP. Then set all the clients' primary DNS
 to
 that of the internal IP of your gateway.
 [...]
 
 - Original Message -
 [...]
 
  The problem summary is as follows:
  I'm setting up a very simple LAN at home using only
  two machines with fixed private ip addresses either.
  The FreeBSD gateway is connected to the internet
  through my cablemodem ISP's modem.
 
  The problem is that the Windows XP client CANNOT
  access the Internet with alphabetic names (should be
  called a DNS problem?) but it YES CAN do it with ip
  addresses (numbers).
  [...]



Internet GRATIS es Yahoo! Conexión
4004-1010 desde Buenos Aires. Usuario: yahoo; contraseña: yahoo
Más ciudades: http://conexion.yahoo.com.ar
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gnome2 Logout

2003-09-14 Thread Sebastian Ssmoller
hi, 
another newbie question :) 

i am running freebsd 5.1 release. 

each time i want to use the logout menuitem of the gnome menu the gnome
panel hangs. i searched the web and found several infos about it but no
solution. any gnome2 user here having solved the probem ? 

thx 
seb 

ps: gnomepanel is verison 2.2.2.2_1 



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


RE: firewall

2003-09-14 Thread fbsd_user
Your problem is that you are using the sample rules file provided by
IPFW.  You are correct, you do not understand what you are doing.
You are suppose to edit the sample rules file to create your own
rules file. That sample is only there as a starting point for you to
build your own rules. You need to do a lot of reading about ipfw
rules, check the man pages.

I know that the FBSD handbook gives the reader the impression that
IPFW is the only firewall available to FBSD, but that is a false
impression. FBSD has IPFILTER which is also a built in firewall like
IPFW and the netbsd firewall IPF has been ported to FBSD so there
other options. I have used both IPFW and IPFILTER, IPFW's keep state
rules do not function correctly on a DSL or cable internet
connection, it has just been upgraded in FBSD 5.2 with a lot fluff
that does nothing but confuses the general user.

For a newbe, you should use IPFILTER firewall. It's rules are
documented to all most anyone with some knowledge can write rules
unlike IPFW.


Here is my IPFILTER environment config.
I have also included some other hard to find kernel
internal knobs to add tighter packet security.

http://www.obfuscation.org/ipf/

http://www.obfuscation.org/ipf/ipf-howto.html

NOTE: beware of line wrap in the below lines


/etc/rc.conf

# Activate IPFILTER IPNAT function auto start at boot time
ipfilter_enable=YES# Start ipfilter firewall
ipfilter_flags=# turn off flags
ipfilter_rules=/etc/ipf.rules  # rules definition file for
ipfilter
ipnat_enable=YES   # Start ipnat function
ipnat_rules=/etc/ipnat.rules   # rules definition file for
ipnat
ipmon_enable=YES   # Start ip monitor log
ipmon_flags=-Ds# D = start as daemon
 # s = log to syslog
 # v = log tcp window, ack, seq
fields
 # n = map ip  port to names

# Extra kernel tcp/ip stack packet security options

log_in_vain=YES   # NO is default. YES enables logging of
# connection attempts to ports that have
no
# listening socket on them. Puts msg on
console

icmp_drop_redirect=YES# YES will cause the kernel to ignore
# ICMP REDIRECT packets.

icmp_log_redirect=YES# YES will cause the kernel to log
ignored
# ICMP REDIRECT packets.

#tcp_drop_synfin=YES   # YES will cause the kernel to ignore
TCP
# frames that have both the SYN and FIN
flags
# set. Only available if the kernel was
built
# with the TCP_DROP_SYNFIN option.
# change to NO if webserver behind
firewall.

tcp_restrict_rst=YES  # YES will cause the kernel to refrain
from
# emitting TCP RST frames in response to
# invalid TCP packets (e.g., frames
destined
# for closed ports). This option is only
# available if the kernel was built with
the
# TCP_RESTRICT_RST option.

syslogd_flags=-ss # Don't use network sockets so portscan
  # will not find (security tip)

portmap_enable=NO # Don't allow nfs portmapper (security
tip)


/etc/ipnat.rules
# Provide NAT services for LAN users.
# NAT my private LAN ip address to what every my dynamic ISP address
is.
map rl0 10.0.10.0/29 - 0/32

# Provide NAT services for user ppp Dial in tun0 connections.
map rl0 10.0.0.0/29 - 0/32

# Provide special NAT services for Active FTP from LAN users.
map rl0 0/0 - 0/32 proxy port 21 ftp/tcp


/etc/ipf.rules
# usage notes:
# 1. rule line numbers in rule file are not used in
#ipfstat -ion listing of active rules
# 2. keep state is applied on private ip address before being
#handed off to nat function.
# 3. /etc/rc.conf file has ipfilter options to tell ipfmon what
#info to log.  -a  rule with log option + nat convert + keep
state


#
#
# Generic for all interfaces
#
#

@010 block in log quick all with opt lsrr
@011 block in log quick all with opt ssrr
@012 block in log quick all with ipopts
@013 block in log quick all with short
@014 block in log quick all with frag

#
# Outside Interface to Public internet  (Outbound Section)
# Interrogate packets originating from behind the firewall, private
net.
# destine for the public internet.
#

# Allow out access to my ISP's Domain name server.
@100 pass out quick on rl0 proto tcp from any to 24.50.201.66 port =
53 flags S keep state
@101 pass out quick 

Backup router, new hard drive.

2003-09-14 Thread DanB
How do I copy the  whole harddrive to a larger drive than the one  being
copied?
This is an router that cant go down  for more than a few minutes.  I
want to replace whole system to the  new  harddirve old one has noisy
bearings. I have no backup at all.

Dan

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


Problems trying to boot from an 80GB Seagate

2003-09-14 Thread Sean A Reith

I'm trying to get my first FreeBSD (4.8-RELEASE) installation working, and
I am having trouble getting a system which boots, primarily due to what
appear to be disk geometry issues (but this is a complete newbie guess).

The hardware:
  Gigabyte GA-6BXC motherboard 
http://tw.giga-byte.com/motherboard/products/products_ga-6bxc.htm
  (BIOS V.F4c http://tw.giga-byte.com/motherboard/support/bios/BIOS_GA-6BXC.htm)
  Celeron 366
  448 MB RAM
  Seagate ST380011A 80GB HDD
http://www.seagate.com/cda/products/discsales/marketing/detail/0,1081,581,00.html
  Mitsumi CD-ROM FX320S
  Delta CD-Writer
  No FDD
  AcerLAN ALN-325 10/100 PCI Ethernet Adapter (Realtek 8139 chipset)
  Creative Soundblaster SB16 CT2960 ISA sound card
  Diamond Viper 330 AGP
  HP 4033B monitor

My first attempt at installing FreeBSD (using the bootable CDROM images
for 4.8-RELEASE) was rewarded with Missing Operating System on next
boot.  FreeBSD guesses the geometry as being 155061/16/63, which it
then discards as incorrect (the first time through the install I accepted
its assumed geometry of 9729/255/63).

The BIOS CMOS is configured to Auto detect the drives on boot, if I
change it to User it defaults to 38307/16/255 - but sysinstall/fdisk
rejects this geometry outright.

Next, I created a NTFS partition on the drive with an XP install CD,
and then booted from the FreeBSD install CDs with -v, and got the
following output:

BIOS Geometries:
  0:03fe0f3f 0..1022=1023 cylinders, 0..15=16 heads, 1..63=63 sectors
  0 accounted for
Device configuration finished

...

Creating DISK ad0
ar: FreeBSD check1 failed
ad0: ST380011A/3.06 ATA-6 disk at ata0-master
ad0: 76319MB (156301488 sectors), 155061 C, 16H, 63S, 512B
ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
ata1-master: piomode=4 dmamode=2 udmamode=4 dmaflag=1
ata1-master: success setting PIO4 on generic chip

So I tried installing with 1023/16/63.  Still the Missing Operating
System error.

Out of other ideas, I resorted to Dangerous Dedicated, which at least
gave a different error:

No /boot/loader

 FreeBSD/i386 BOOT
Default: 0:ad(0,a)/kernel
boot:
No /kernel

A bit of googling suggested 0:ad(0,c)/kernel as an alternative boot
command, but it had no greater success for my case.

So other suggestions would be appreciated!

As my plan is to use the machine as a dedicated server, Dangeously
Dedicated is not an issue for me, as long this won't be a problem
for future FreeBSD releases...?

It's also worth noting that I upgraded the BIOS to v.F4c as the
system would not boot with the ST380011A connected (BIOS hung trying to
display the drive size).  Interestingly the release notes state
Support 75GB HDD, rather than 75GB+...  Particularly since
the FreeBSD sysinstall partitioning/slice tool reports the drive size
as 76319MB (less than 75GB), even though it is meant to be an 80GB
drive.

BTW, when installing/configuring XFree86 I selected nv RIVA 128 as
my video card, as this seemed the closest to the Viper 330 (given I
understand it uses the Riva 128 chipset).  Is this the right selection?
If I try and run the graphical X-windows configuration tool it fails, so I
set the above through the curses interface...

Fare thee well,
Sean.

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


Re: dd to duplicate a disk.

2003-09-14 Thread Sebastian Ssmoller
Am Son, 2003-09-14 um 16.31 schrieb Lewis Thompson:
 Hi,
 
 I'm trying to setup a vinum mirrored root fs.  I've not got very far
 (although I have some excellent help once I get past this stage ;) --
 I'm trying to duplicate my disk.

why do u want to double ur disk ? i have no knowledge about vinum yet
but some time ago i set up a mirror with linux which doubled the disks
automatically first time i add a new disk to the raid array ... guess
this would be similar with vinum (?)


 
   Right now I have /dev/ad0s1(n) and I'd like an exactly copy of that
 slice on /dev/ad2s1.  I've been trying to use dd (which I know very
 little about):
 
 dd if=/dev/ad0s1 of=/dev/ad2s1
 
 I don't know if that's the right way to go about it or not, but I get
 the error ``dd: /dev/ad2s1: Operation not permitted'', which leads me to
 believe I've messed something up.  I'm in single user when trying to do
 this and the /dev/ad0s1(n) partitions are mounted.

i am not sure whether u can move partitions/slices in this way. if u
really wonna double ur disk
dd if=/dev/ad0 of=/dev/ad2 is the command i would use (NOT TESTED!)


seb

 
   Any tips would be greatly appreciated.  Thanks,
 
 -lewiz.
 
 -- 
 I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.
 
 -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


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


Re: 486SX, 100MB HDD - need FreeBSD, how?

2003-09-14 Thread Technical Director

Alex,

If your 486SX has a floppy that works then you are okay. FreeBSD will
install from 2 floppies, takes a little longer but still works. 

This IS based upon the assumption that you either have:

a) A CD-ROM on your 486SX and a FreeBSD CD-ROM.
b) A network card (or similar device eg: ppp) that can tie you to a
FreeBSD source.

You can find out more information here:

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

Also from the FreeBSD.org website:

3.4. What do I need in order to run FreeBSD?

You will need a 386 or better PC, with 5 MB or more of RAM and at least 60
MB of hard disk space. It can run with a low end MDA graphics card but to
run X11R6, a VGA or better video card is needed.

So you should be fine.

R.

On Sun, 14 Sep 2003, Alex Zivenko wrote:

 How to install freebsd on this machine? (Intel486SX-25Mhz, 8 Mb Memory, 100Mb HDD). 
 There isn't cdrom.
 Maby I can setup it from other system, the recompile kernel for that processor, or 
 what?
 Without x, witout any cool programs.
 I just need to do it log-server.
 
 Thank's all!
 ___
 [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: Problems trying to boot from an 80GB Seagate

2003-09-14 Thread Andrew L. Gould
On Sunday 14 September 2003 12:06 pm, Sean A Reith wrote:
 I'm trying to get my first FreeBSD (4.8-RELEASE) installation working, and
 I am having trouble getting a system which boots, primarily due to what
 appear to be disk geometry issues (but this is a complete newbie guess).

 The hardware:
   Gigabyte GA-6BXC motherboard
 http://tw.giga-byte.com/motherboard/products/products_ga-6bxc.htm (BIOS
 V.F4c http://tw.giga-byte.com/motherboard/support/bios/BIOS_GA-6BXC.htm)
 Celeron 366
   448 MB RAM
   Seagate ST380011A 80GB HDD

 http://www.seagate.com/cda/products/discsales/marketing/detail/0,1081,581,
00.html Mitsumi CD-ROM FX320S
   Delta CD-Writer
   No FDD
   AcerLAN ALN-325 10/100 PCI Ethernet Adapter (Realtek 8139 chipset)
   Creative Soundblaster SB16 CT2960 ISA sound card
   Diamond Viper 330 AGP
   HP 4033B monitor

 My first attempt at installing FreeBSD (using the bootable CDROM images
 for 4.8-RELEASE) was rewarded with Missing Operating System on next
 boot.  FreeBSD guesses the geometry as being 155061/16/63, which it
 then discards as incorrect (the first time through the install I accepted
 its assumed geometry of 9729/255/63).

 The BIOS CMOS is configured to Auto detect the drives on boot, if I
 change it to User it defaults to 38307/16/255 - but sysinstall/fdisk
 rejects this geometry outright.

 Next, I created a NTFS partition on the drive with an XP install CD,
 and then booted from the FreeBSD install CDs with -v, and got the
 following output:

 BIOS Geometries:
   0:03fe0f3f 0..1022=1023 cylinders, 0..15=16 heads, 1..63=63 sectors
   0 accounted for
 Device configuration finished

 ...

 Creating DISK ad0
 ar: FreeBSD check1 failed
 ad0: ST380011A/3.06 ATA-6 disk at ata0-master
 ad0: 76319MB (156301488 sectors), 155061 C, 16H, 63S, 512B
 ad0: piomode=4 dmamode=2 udmamode=5 cblid=1
 ata1-master: piomode=4 dmamode=2 udmamode=4 dmaflag=1
 ata1-master: success setting PIO4 on generic chip

 So I tried installing with 1023/16/63.  Still the Missing Operating
 System error.

 Out of other ideas, I resorted to Dangerous Dedicated, which at least
 gave a different error:

 No /boot/loader

  FreeBSD/i386 BOOT

 Default: 0:ad(0,a)/kernel
 boot:
 No /kernel

 A bit of googling suggested 0:ad(0,c)/kernel as an alternative boot
 command, but it had no greater success for my case.

 So other suggestions would be appreciated!

 As my plan is to use the machine as a dedicated server, Dangeously
 Dedicated is not an issue for me, as long this won't be a problem
 for future FreeBSD releases...?

 It's also worth noting that I upgraded the BIOS to v.F4c as the
 system would not boot with the ST380011A connected (BIOS hung trying to
 display the drive size).  Interestingly the release notes state
 Support 75GB HDD, rather than 75GB+...  Particularly since
 the FreeBSD sysinstall partitioning/slice tool reports the drive size
 as 76319MB (less than 75GB), even though it is meant to be an 80GB
 drive.

 BTW, when installing/configuring XFree86 I selected nv RIVA 128 as
 my video card, as this seemed the closest to the Viper 330 (given I
 understand it uses the Riva 128 chipset).  Is this the right selection?
 If I try and run the graphical X-windows configuration tool it fails, so I
 set the above through the curses interface...

 Fare thee well,
 Sean.


1.  While partitioning the hard drive, did you mark the FreeBSD partition as 
bootable?
2.  After partitioning, but before disk labelling, did you select an option to 
install the boot loader into the MBR?

It sounds like you missed one or both of those steps during one or both of 
your installation attempts.  You may be able to fix those steps using the 
installation CD without repeating the entire installation.

In the past, I frequently got the warnings about incorrect hard drive 
geometries.  I have always ignored the message and let FreeBSD use the values 
it wants, and have never had any problems.  This may be dangerous advice; so 
follow it at your own discretion/risk.  (Or better yet, wait for an expert to 
chime in!)

Best of luck,

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


PEAP (wireless authentication) support

2003-09-14 Thread Stijn Hoop
Hi,

here at my workplace they're installing a wireless network. Since this
is all new to me, I was asking around a bit and discovered that they're
using the PEAP protocol for authentication on the network. Unfortunately
my search for network software that supports this on FreeBSD has turned
up no results. Can anyone point me in the right direction, or is this
simply not possible yet?

Thanks!

--Stijn

-- 
An adult is a child who has more ethics and morals, that's all.
-- Shigeru Miyamoto


pgp0.pgp
Description: PGP signature


Re: how long is installation time

2003-09-14 Thread Vulpes Velox
That is odd. It should not take that long. I've been bored enought to see how
long KDE takes to start on a 486dx4, before...  it takes just a little while to
install and 15 minutes or so for it to start...

I why not just put that drive in the amd system and use it there? If you are
looking to experiment with FreeBSD, I would really suggest that. Far better
compile times and ect.

If you want to keep using p133, I suggest trying to find a bit more ram and use
a light windows manager. Blackbox, fvwm, WindowsMaker, and the like should all
work nicely on it.

On Sun, 14 Sep 2003 16:22:48 +0200
radu.florin [EMAIL PROTECTED] wrote:

 Hello,
  I am a newbie, using Windows, a Mandrake Linux and a Slackware installed 
 on my Athlon PC.
 So I intended to test FreeBSD on my old PC:
 Pentium, 133MHz, 16 Mo memory.
 I used floppies as indicated ( I had to use the drivers one equally for my 
 CD reader to be detected ).
 The base has been installed in a moderate time.
 But as I wanted to get graphics advantage, I choosed to add KDE tools, 
 fonts, etc.
 Install time: 16 hours (!). And I still don't have xf86cfg to get my 
 graphic screen. (in what package is it ?)
 So, my question: is the time duration normal ? And what is the minimum 
 packages to install in
 way to get a minimum of graphics, so usefull for a beginner .
 Thank you
 -- 
 Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
 ___
 [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: 802.11g and FreeBSD based access point ...

2003-09-14 Thread Greg Lehey
On Friday,  5 September 2003 at 17:55:14 +0200, Hans Vledder wrote:
 All,

 I am considering building a 802.11g FreeBSD access point. I've read
 that I will need a network adapter that supports hostap (access
 point mode). Does anyone known a brand/model (PCI) that's being
 supported by FreeBSD ?

I don't have a direct answer to this question, but a bit of
information:

Last weekend I bought a couple of 802.11b/g wireless routers (AirLink,
I think).  These boxes contain an access point, a four-port Ethernet
switch and an additional downlink Ethernet port.  They're intended as
cable or ADSL gateways, accessed by the downlink port.  You can
configure the downlink port to access the other networks by NAT or
directly, and you can run a mini-firewall if you want.  It can also
function as a DHCP server.  These boxes cost me $80 at Fry's, the same
price as a basic 802.11b access point.

This weekend I went back to Fry's looking for Atheros-based wireless
cards.  The cheapest I could find cost $100.

Based on that, it's not clear why you would want to build an AP from a
wireless card.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SSH: failed password after fresh install

2003-09-14 Thread Bryn Dyment
I've installed two FreeBSD boxes on my LAN.  On the first box, the only
thing I did after the install process was edit /etc/ssh/sshd_config,
setting PermitRootLogin to yes, then issuing killall -1 sshd.  After
this change, I could successfully connect to this box via my SSH client.

I did the same thing with the second box, but I cannot login via my SSH
client.  I get an invalid password error, and Failed password also appears
on the server in /var/log/auth.log.  I have rebooted, and also
reinstalled, to no avail.  Any idea as to what could be causing this error?

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


Re: color in Xwindows

2003-09-14 Thread Gerald S Stoller


On Fri, 12 Sep 2003 08:54:16 + Nathan Kinkade [EMAIL PROTECTED]
writes:
 On Thu, Sep 11, 2003 at 06:03:19PM -0400, Gerald S Stoller wrote:
  FreeBSD  4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 
 GMT 2001
  [EMAIL PROTECTED]:/usr/src/sys/compile/GENERIC  i386
  
   I am trying to put color in some of my messages (I am 
 using 
  Xwindows ).  One place where I found mention of color is in the 
 manual
  page of the  ls  command (search in there for the string COLOR.  
 I
  picked a window and in it set  TERM  to  xterm-color  and exported 
 it,
  set  CLICOLOR  to a nonnull value and exported it, set  LSCOLORS  
 to the
  default value mentioned there and exported it.  Did an  ls -l  but 
 it
  showed up as usual.  Then tried changing  TERM  to  cons25  (also
  mentioned in the man page) and exported it.  Still nothing.
 Can anyone direct me to documentation that will tell me 
 how to
  insert color in messages, both the fone and the backgroun, or 
 write to me
  how to do it?  Thanks in advance.
 
 Try using `ls -G` for color output in ls.  If that works, just put 
I tried it, still the same output, no color.
 an alias in your shells config file.  For bash it would look something
 like:
 alias ls='ls -G'
 
 don't know about other shells, though.
 
 Nathan
 -- 
 gpg --keyserver pgp.mit.edu --recv-keys D8527E49

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


OpenOffice

2003-09-14 Thread Todd Stephens
I am installing this from ports.  Considering everything else that is 
getting installed along with it (gcc 3.2.3 among others), how long 
should I expect this to take?  Anyone have any experience with this?  
Running a K6-2 500Mhz (FBSD 4.8)


-- 
Todd Stephens
ICQ# 3150790
A witty saying proves nothing.
-Voltaire

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


Re: color in Xwindows

2003-09-14 Thread Todd Stephens
On Sunday 14 September 2003 01:23 pm, Gerald S Stoller wrote:

 I tried it, still the same output, no color.

This may be related to my question regarding using xterm-color.  Try 
typing this at your command line:
$ TERM=xterm-color

Then try ls -G and see if you get color or not.

-- 
Todd Stephens
ICQ# 3150790
A witty saying proves nothing.
-Voltaire

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


Re: OpenOffice

2003-09-14 Thread Lewis Thompson
On Sun, Sep 14, 2003 at 02:06:38PM -0400, Todd Stephens wrote:
 I am installing this from ports.  Considering everything else that is 
 getting installed along with it (gcc 3.2.3 among others), how long 
 should I expect this to take?  Anyone have any experience with this?  
 Running a K6-2 500Mhz (FBSD 4.8)

I installed it on a 533MHz Celeron and it took about 24 hours.  Give or
take.  Make sure you have lots of disk space for it.  Oh, and I think it
was 4.7-RELEASE I used, so not gcc3.

  Best wishes,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Re: OpenOffice

2003-09-14 Thread Todd Stephens
On Sunday 14 September 2003 02:20 pm, you wrote:


 I installed it on a 533MHz Celeron and it took about 24 hours.  Give
 or take.  Make sure you have lots of disk space for it.  Oh, and I
 think it was 4.7-RELEASE I used, so not gcc3.


Wow!  Thanks for the speedy response.  My original message to the list 
hasn't even shown up in my inbox yet!  I think I need to have a talk 
with my ISP :)  Actually, I was expecting at least a day or so for the 
install.  I guess it is not so bad.  My main fear was that someone was 
going to say 3 days.

-- 
Todd Stephens
ICQ# 3150790
A witty saying proves nothing.
-Voltaire

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


CHAT ON LAN WITH WIN MACHINES?

2003-09-14 Thread Alex Zivenko
Hi again!
 Are there Programs to chat on LAN on FreeBSD ports, 
(clients may be on WIN).
And what does I need?

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


No networking on 4.9-PRERELEASE

2003-09-14 Thread Mike Meyer
I updated (via source) to 4.9-prerelease. No, I *tried* to update to
4.9-prerelease as of Sep 13th. The problem is that networking seems to
be failing in the 4.9-prerelease kernel. I build on one system and
test on a second system, installing via nfs. Following the nsame steps
I always follow to install a new kernel and world fails when I try and
install the world running the new kernel, as the nfs mount never
happens. Trying to ping the build system results in Host is down
messages. I can ping localhost and the ip address of the test machine
with no problems; those both use the loopback network. The interface
that's failing is xl0.

Does anyone have an xl that's working with 4.9-prerelease? How about
anyone else having network problems with 4.9-prelease. A solution
would be best of all, of course.

Thanks,
mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Office 2000 Pro

2003-09-14 Thread Martin Rubenstein
My question for you is simply;  Will FreeBSD support windows Office 2000 
Pro?My wife _must_ use MS Office for work at home in order to be 
compatible with her work in the office.  Powerpoint, Word, Access, Excel 
 Outlook.
 Thank You,
   Martin
--
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firewall

2003-09-14 Thread Scott Ballantyne
fbsd_user [EMAIL PROTECTED] writes:

 I know that the FBSD handbook gives the reader the impression that
 IPFW is the only firewall available to FBSD, but that is a false
 impression. FBSD has IPFILTER which is also a built in firewall.

PF is also in ports, which is interesting. That's appealing because it
provides an option to use tables rather than lists. I've heard good
thinks about IPF.

 like IPFW and the netbsd firewall IPF has been ported to FBSD so
 there other options. I have used both IPFW and IPFILTER, IPFW's keep
 state rules do not function correctly on a DSL or cable internet
 connection, it has just been upgraded in FBSD 5.2 with a lot fluff
 that does nothing but confuses the general user.
 

I'm interested to hear what the problem is with IPFW and keep-state,
they have been working fine here, as far as I can tell.

 I have never used IPFW with ppp, but it looks like the original
poster needs to provide a natd_interface, so that a divert rule gets
enabled. Note that all the addresses he uses on his lan were RFC1918
ones.

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


Re: Office 2000 Pro

2003-09-14 Thread paul beard
Martin Rubenstein wrote:
My question for you is simply;  Will FreeBSD support windows Office 2000 
Pro?My wife _must_ use MS Office for work at home in order to be 
compatible with her work in the office.  Powerpoint, Word, Access, Excel 
 Outlook.
The question might be better phrased as will MSFT support 
FreeBSD and I think we know the answer.

Why not buy a bargain-basement commodity PC for Office and network 
it through the freebsd system (some protection from the worms is 
always good)?



--
Paul Beard
http://paulbeard.no-ip.org/movabletype/
whois -h whois.networksolutions.com ha=pb202
Serenity through viciousness.

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


Re: CHAT ON LAN WITH WIN MACHINES?

2003-09-14 Thread Vulpes Velox
I would just throw a ircd on the FreeBSD box... that way all that is needed is a
irc client on the others.

On Sun, 14 Sep 2003 21:33:18 +0300
Alex Zivenko [EMAIL PROTECTED] wrote:

 Hi again!
  Are there Programs to chat on LAN on FreeBSD ports, 
 (clients may be on WIN).
 And what does I need?
 
 ___
 [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: 802.11g and FreeBSD based access point ...

2003-09-14 Thread Vincent Poy
On Sat, 13 Sep 2003, Greg Lehey wrote:

 On Friday,  5 September 2003 at 17:55:14 +0200, Hans Vledder wrote:
  All,
 
  I am considering building a 802.11g FreeBSD access point. I've read
  that I will need a network adapter that supports hostap (access
  point mode). Does anyone known a brand/model (PCI) that's being
  supported by FreeBSD ?

 I don't have a direct answer to this question, but a bit of
 information:

 Last weekend I bought a couple of 802.11b/g wireless routers (AirLink,
 I think).  These boxes contain an access point, a four-port Ethernet
 switch and an additional downlink Ethernet port.  They're intended as
 cable or ADSL gateways, accessed by the downlink port.  You can
 configure the downlink port to access the other networks by NAT or
 directly, and you can run a mini-firewall if you want.  It can also
 function as a DHCP server.  These boxes cost me $80 at Fry's, the same
 price as a basic 802.11b access point.

 This weekend I went back to Fry's looking for Atheros-based wireless
 cards.  The cheapest I could find cost $100.

 Based on that, it's not clear why you would want to build an AP from a
 wireless card.

 Greg

I think the reason is probably because the other reason to go all
Atheros is because it supports the SuperA/G as well which allows 108Mbps
raw data or 90Mbps active throughput and that's only possible with Atheros
but the routers so far that has Atheros are the D-Link DI-774 and the
Netgear FWAG114 and they are atleast $230 each.  For PCMCIA and Desktop
cards, the Netgear A+G or D-Link A+G has the Atheros inside.


Cheers,
Vince - [EMAIL PROTECTED] - Vice President    __ 
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[]
[EMAIL PROTECTED] - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin

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


Re: another newbie struggling with ppp/modem issues - still struggling

2003-09-14 Thread Alex
Thanks to all who responded. I think I've narrowed this down to a problem
recognizing the port (rather than a hardware problem), but this still
doesn't have me much closer to success. The actual modem is a US Robotics
Performance Pro (not a Winmodem), so I doubt that's the source of my
troubles.

I did run sh MAKEDEV to make sure that all the devices existed. Then I used
Kermit to try to contact the modem and I got a message that read:

connection to /dev/cuaa2 failed: Device not configured

Also, on startup, I'm still getting this error message that reads:

sio2: configured irq 5 not in bitmap of probed irqs 0

Can anyone see what I might be missing here?

Thanks a lot,
Alex

PS- Here, once again, are the lines from my kernel config file:

# Serial (COM) ports
device   sio0at isa? port IO_COM1 flags 0x10 irq 4
device   sio1at isa? port IO_COM2 irq 3
device   sio2at isa? port IO_COM3 irq 5
device   sio3at isa? disable port IO_COM4 irq

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


D-Link DFE-530TX NIC not recognized...

2003-09-14 Thread ngin
Hello,

I have a D-Link DFE-530TX Ethernet NIC installed in a FreeBSD 4.6.2 box. Looking at:

freebsd.org/releases/4.6.2R/hardware-i386.html#ETHERNET

I see my card is supported:

RealTek 8129/8139 Fast Ethernet NICs ( rl(4) driver)
D-Link DFE-530TX+, DFE-538TX

But when kernel boots I see no sign of any ethernet card... I think it should be 
displayed at these lines:

pci1:unknown card(vendor=0x1106,dev=0x3106)at 9.0 irq 11
pci1:unknown card(vendor=0x127a,dev=0x1005)at 13.0 irq 11

I just don't know how to have it recognize my card. Any suggestions as to what should 
be done?

Thank you,
Dan
-- 
___
OperaMail free e-mail - http://www.operamail.com
OperaMail Premium - 28MB, POP3, more! US$29.99/year

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


Re: CHAT ON LAN WITH WIN MACHINES?

2003-09-14 Thread Simon Barner
  Are there Programs to chat on LAN on FreeBSD ports, 
 (clients may be on WIN).
 And what does I need?

You could use LinPopup (ports/linpopup) and Samba to send and recieve smb
messages. For the windows clients, there is something like winmessenger
AFAIR) (or use `net send').

Regards,
 Simon


signature.asc
Description: Digital signature


Re: Office 2000 Pro

2003-09-14 Thread Jonathan Chen
On Sun, Sep 14, 2003 at 12:48:10PM -0600, Martin Rubenstein wrote:
 My question for you is simply;  Will FreeBSD support windows Office 2000 
 Pro?My wife _must_ use MS Office for work at home in order to be 
 compatible with her work in the office.  Powerpoint, Word, Access, Excel 
  Outlook.

FreeBSD won't run Office 2000. However, the OpenOffice package in
FreeBSD *may* be able to handle the documents from Office 2000,
depending on complexity. It handles manages to handle *all* of the
Office-stuff I get.
-- 
Jonathan Chen [EMAIL PROTECTED]
---
I love deadlines. I like the whooshing sound they make as they fly by
- Douglas Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Charles Howse
  SO I did type mergemaster and all went well.
  
  Decided then to remove the temproot directory, but failed!
  
  # rm -rf /var/tmp/temproot
  rm: /var/tmp/temproot/var/empty: Operation not permitted
  rm: /var/tmp/temproot/var: Directory not empty
  rm: /var/tmp/temproot/: Directory not empty
  
  Took me a long while to figure out the 
 /var/tmp/temproot/var/empty direcoty
  has the schg flag set. Very, very confusing.
  Is there any reason why it is like that?
  If not, then do not create the empty directory with schg !!
 
 Because /var/empty should not be deleted.  Some programs use it.
 I don't know about that particilar variation.

I'm confused here, but that's nothing new...
I'm running 4.8-RELEASE-p4.

I can read what Jerry says, but does he mean that /var/empty should not
be deleted, or that /var/tmp/temproot/var/empty should not be deleted?

These two directories are completely different, and if I'm rebuilding
from source for, say, the second time, then /var/tmp/temproot/var/empty
might exist and definitly should be deleted, right?


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


ipfw2 loss of feature ?

2003-09-14 Thread Bruce Campbell


With ipfw1 on 4.8 I use this:

ipfw add 10 check-state
ipfw add 20 allow tcp from xxx.xxx.xxx.0/24 to any keep-state limit src-addr 10

to provide stateful firewalling, and limit the number of simultaneous
tcp sessions to 10 per client.  Seems to work great.

On 4.8 I tried ipfw2

(kernel with options IPFW2 and rebuilt ipfw and libalias with -DIPFW2
as instructed in man ipfw)

When I tried ipfw2, as I wanted keepalives, I get an error
when I run ipfw

  only one of keep-state and limit is allowed

How can I do both the stateful firewalling and limit
the simultaneous sessions, with ipfw2 ?

Thanks



ps. As an aside,  I also patch /usr/src/sys/netinet/ip_fw.c to
be more verbose when it drops a session...

--- ip_fw.c Sun Sep 14 15:33:16 2003
+++ ip_fw.old   Sun Sep 14 15:31:10 2003
@@ -999,9 +999,7 @@
if (fw_verbose  last_log != time_second) {
last_log = time_second;
log(LOG_SECURITY | LOG_DEBUG,
-   drop session 0x%08x %u - 0x%08x %u, TOO many entries
\n,
-  (args-f_id.src_ip), (args-f_id.src_port),
-   (args-f_id.dst_ip), (args-f_id.dst_port));
+   drop session, too many entries\n);
}
return 1;
}


-- 
Bruce Campbell
Engineering Computing
CPH-2374B
University of Waterloo
(519)888-4567 ext 5889


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


FreeBSD 5.x and bind 9.x

2003-09-14 Thread alexus
Hello

I'm using following:

OS: FreeBSD 5.1-RELEASE
Bind: bind-9.2.2

both, release/stable version not a development and I'm expereincing two
major problem with bind (also I didn't had that problem while using same
bind on FreeBSD 4.x-STABLE/RELEASE )

anyway here is what's going on

I run bind it seems to be running without any errors however, resolving part
doesn't work and rndc part doesn't work. After I run bind I checked if at
least port is open and yes it's open

here is my named.conf

alexus# cat /usr/local/etc/named.conf
key rndc-key {
  algorithm hmac-md5;
  secret x;
};

controls {
  inet 127.0.0.1 port 953
  allow { 127.0.0.1; } keys { rndc-key; };
};

options {
allow-recursion {
127.0.0.1/32;
192.168.0.0/16;
172.16.0.0/12;
10.0.0.0/8;
};
directory /usr/local/etc/namedb;
pid-file /var/run/named/named.pid;
version unknown;
};

zone . { type hint; file hint; };
zone 0.0.127.in-addr.arpa { type master; file localhost; notify no; };
alexus#

and here is my hint file

alexus# cat /usr/local/etc/namedb/hint

;  DiG 9.2.2  @internic.net
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 31193
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13

;; QUESTION SECTION:
;.  IN  NS

;; ANSWER SECTION:
.   14293   IN  NS  I.ROOT-SERVERS.NET.
.   14293   IN  NS  J.ROOT-SERVERS.NET.
.   14293   IN  NS  K.ROOT-SERVERS.NET.
.   14293   IN  NS  L.ROOT-SERVERS.NET.
.   14293   IN  NS  M.ROOT-SERVERS.NET.
.   14293   IN  NS  A.ROOT-SERVERS.NET.
.   14293   IN  NS  B.ROOT-SERVERS.NET.
.   14293   IN  NS  C.ROOT-SERVERS.NET.
.   14293   IN  NS  D.ROOT-SERVERS.NET.
.   14293   IN  NS  E.ROOT-SERVERS.NET.
.   14293   IN  NS  F.ROOT-SERVERS.NET.
.   14293   IN  NS  G.ROOT-SERVERS.NET.
.   14293   IN  NS  H.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET. 4482IN  A   198.41.0.4
B.ROOT-SERVERS.NET. 6346IN  A   128.9.0.107
C.ROOT-SERVERS.NET. 6346IN  A   192.33.4.12
D.ROOT-SERVERS.NET. 6346IN  A   128.8.10.90
E.ROOT-SERVERS.NET. 7810IN  A   192.203.230.10
F.ROOT-SERVERS.NET. 6346IN  A   192.5.5.241
G.ROOT-SERVERS.NET. 7810IN  A   192.112.36.4
H.ROOT-SERVERS.NET. 7810IN  A   128.63.2.53
I.ROOT-SERVERS.NET. 6346IN  A   192.36.148.17
J.ROOT-SERVERS.NET. 14293   IN  A   192.58.128.30
K.ROOT-SERVERS.NET. 6346IN  A   193.0.14.129
L.ROOT-SERVERS.NET. 6346IN  A   198.32.64.12
M.ROOT-SERVERS.NET. 6346IN  A   202.12.27.33

;; Query time: 10 msec
;; SERVER: 198.41.0.6#53(internic.net)
;; WHEN: Fri Aug 29 23:48:08 2003
;; MSG SIZE  rcvd: 436

alexus#

and here is my local

alexus# cat /usr/local/etc/namedb/localhost
$TTL0
@   SOA alexus.no-ip.org.   root.alexus.no-ip.org. ( 0 0 0 0 0 )
NS  alexus.no-ip.org.
1   PTR alexus.no-ip.org.
alexus#

for rnds i get this in my logs

Sep 14 16:53:56 alexus named[301]: invalid command from 127.0.0.1#49184: bad
auth
Sep 14 16:53:56 alexus kernel: Sep 14 16:53:56 alexus named[301]: invalid
command from 127.0.0.1#49184: bad auth

oh and here is my rndc.conf

alexus# cat /etc/rndc.conf
# Start of rndc.conf
key rndc-key {
algorithm hmac-md5;
secret xx;
};

options {
default-key rndc-key;
default-server 127.0.0.1;
default-port 953;
};
# End of rndc.conf

# Use with the following in named.conf, adjusting the allow list as needed:
# key rndc-key {
#   algorithm hmac-md5;
#   secret ;
# };
#
# controls {
#   inet 127.0.0.1 port 953
#   allow { 127.0.0.1; } keys { rndc-key; };
# };
# End of named.conf
alexus#

ofcourse i changed my real secret to xxx :)

any ideas, suggestions would be very much appreciated.

Thanks in advance

alexus


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


Re: D-Link DFE-530TX NIC not recognized...

2003-09-14 Thread Don Croyle
ngin  [EMAIL PROTECTED] writes:

 I have a D-Link DFE-530TX Ethernet NIC installed in a FreeBSD 4.6.2 box. Looking at:

 freebsd.org/releases/4.6.2R/hardware-i386.html#ETHERNET

 I see my card is supported:

 RealTek 8129/8139 Fast Ethernet NICs ( rl(4) driver)
 D-Link DFE-530TX+, DFE-538TX

 But when kernel boots I see no sign of any ethernet card... I think it should be 
 displayed at these lines:

 pci1:unknown card(vendor=0x1106,dev=0x3106)at 9.0 irq 11
 pci1:unknown card(vendor=0x127a,dev=0x1005)at 13.0 irq 11

 I just don't know how to have it recognize my card. Any suggestions as to what 
 should be done?

Is the rl driver in your kernel?  If it isn't try loading it from the
command line with 'kldload /modules/if_rl.ko'.

If that works, you need to either add 'device rl' to your kernel
configuration and build a new kernel or add 'rl_load=YES' to
/boot/loader.conf.
-- 
I've always wanted to be a dilettante, but I've never quite been ready
to make the commitment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: D-Link DFE-530TX NIC not recognized...

2003-09-14 Thread yo _
The DFE-530TX and DFE-530TX+ use different ethernet chipsets. The D-Link 
website has information about the older model and what chipset it uses, it's 
not RealTek 8139, i forget what it actually is though. I remember being 
concerned with this when i got my 530TX+ though. Good Luck!
-rian


From: Don Croyle [EMAIL PROTECTED]
To: ngin  [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: D-Link DFE-530TX NIC not recognized...
Date: Sun, 14 Sep 2003 16:07:45 -0500
ngin  [EMAIL PROTECTED] writes:

 I have a D-Link DFE-530TX Ethernet NIC installed in a FreeBSD 4.6.2 box. 
Looking at:

 freebsd.org/releases/4.6.2R/hardware-i386.html#ETHERNET

 I see my card is supported:

 RealTek 8129/8139 Fast Ethernet NICs ( rl(4) driver)
 D-Link DFE-530TX+, DFE-538TX

 But when kernel boots I see no sign of any ethernet card... I think it 
should be displayed at these lines:

 pci1:unknown card(vendor=0x1106,dev=0x3106)at 9.0 irq 11
 pci1:unknown card(vendor=0x127a,dev=0x1005)at 13.0 irq 11

 I just don't know how to have it recognize my card. Any suggestions as 
to what should be done?

Is the rl driver in your kernel?  If it isn't try loading it from the
command line with 'kldload /modules/if_rl.ko'.
If that works, you need to either add 'device rl' to your kernel
configuration and build a new kernel or add 'rl_load=YES' to
/boot/loader.conf.
--
I've always wanted to be a dilettante, but I've never quite been ready
to make the commitment.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
Compare Cable, DSL or Satellite plans: As low as $29.95.  
https://broadband.msn.com

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


Re: mergemaster: schg flag for temproot/var/emtpy ??

2003-09-14 Thread Matthew Seaman
On Sun, Sep 14, 2003 at 03:26:43PM -0500, Charles Howse wrote:
   SO I did type mergemaster and all went well.
   
   Decided then to remove the temproot directory, but failed!
   
   # rm -rf /var/tmp/temproot
   rm: /var/tmp/temproot/var/empty: Operation not permitted
   rm: /var/tmp/temproot/var: Directory not empty
   rm: /var/tmp/temproot/: Directory not empty
   
   Took me a long while to figure out the 
  /var/tmp/temproot/var/empty direcoty
   has the schg flag set. Very, very confusing.
   Is there any reason why it is like that?
   If not, then do not create the empty directory with schg !!
  
  Because /var/empty should not be deleted.  Some programs use it.
  I don't know about that particilar variation.
 
 I'm confused here, but that's nothing new...
 I'm running 4.8-RELEASE-p4.
 
 I can read what Jerry says, but does he mean that /var/empty should not
 be deleted, or that /var/tmp/temproot/var/empty should not be deleted?
 
 These two directories are completely different, and if I'm rebuilding
 from source for, say, the second time, then /var/tmp/temproot/var/empty
 might exist and definitly should be deleted, right?
 

/var/tmp/temproot/var/empty should be deleted by mergemaster along
with the rest of temproot.  There were some modifications a few months
back to enable it to deal with the .../var/empty directory --
essentially it just does a 'rm -rf' to get rid of as much as possible,
then a 'chflags -R 0' to de-flag the rest and 'rm -rf' again to finish
off the job.

Perhaps you have an older version of mergemaster before that
capability was added.  Anyhow, feel free to zap the contents of
/var/tmp/temproot manually.  Leave /var/empty alone, unless you've got
something against ssh(1) working properly.

Cheers,

Matthew

-- 
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


pgp0.pgp
Description: PGP signature


Re: Backup router, new hard drive.

2003-09-14 Thread Sitting Bear
Le 14.09.03, à 17:09, DanB s'est exclamé :

How do I copy the  whole harddrive to a larger drive than the one  being
copied?
This is an router that cant go down  for more than a few minutes.  I
want to replace whole system to the  new  harddirve old one has noisy
bearings. I have no backup at all.

Dan

Hi,

HOWTO: Move FreeBSD to a new hard disk from Chucktips

http://lantech.geekvenue.net/chucktips/jason/chuck/1004897633/index_html

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


WINE

2003-09-14 Thread Haris Kazic

- Original Message -
From: Haris Kazic [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 12:26 AM
Subject: WINE


 Does anyone have a nice and simple tutorial on how to
install/configure/run
 wine on FreeBSD 4.8?

 Greets,

 Haris


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


Re: CHAT ON LAN WITH WIN MACHINES?

2003-09-14 Thread otterr
Alex,
If it was just Unix operating systems, I'd suggest talk/ytalk between two people. 
Since you say some maybe Windows clients, and the thought crossed my mind that it may 
be several people, consider setting up a local ircd server. Some may want to use IM 
clients. Most, if not all, of those require authentication outside your LAN.
-Otterr
 -Original Message-
 From: Alex Zivenko [mailto:[EMAIL PROTECTED]
 Sent: Sunday, September 14, 2003 06:33 PM
 To: [EMAIL PROTECTED]
 Subject: CHAT ON LAN WITH WIN MACHINES?

 Hi again!
  Are there Programs to chat on LAN on FreeBSD ports,
 (clients may be on WIN).
 And what does I need?

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


Fwd: Re: FreeBSD CDROM Installation

2003-09-14 Thread David Nobles
Per David's suggestion, I'm redirecting this question to this list.  My
FreeBSD CDs are for 3.2.  Not sure what additional information might
be helpful.

 My old hard drive with Win98 died and I just got a new 40GB for my
 laptop so I decided to install FreeBSD instead .
Woo hoo!

  I created the Kernel and MFS floppies per the instructions in my
 book (FreeBSD 3rd edition) and it sets up my partition, asks what
 type of installation I want (selected Novice).  I then tell it the
 installation media is CDROM but when it boot it appears to scan the
 CDROM (led flashes) but then boots from the hard drive giving me a
 message that 0:wd(0,a)/kernel is the default and placing me at the
 boot: prompts.
The sequence of events above doesn't make sense. It sounds as if when
you set your media type it subsequently reboots. It shouldn't be doing
that at all.
You should redirect this question to the freebsd-questions list, as the
charter of this list prohibits the answering of technical questions.
The only way we can keep FreeBSD's reputation of stability and
robustness is to direct people with technical questions to those who
actually know the answers.
David
Regards,

David Nobles
http://www.dnobles.com
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html  
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WINE

2003-09-14 Thread Haris Kazic
Does anyone have a nice and simple tutorial on how to
install/configure/run wine on FreeBSD 4.8?

Greets,
Haris



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


Re: Egypt Support Center

2003-09-14 Thread Kris Kennaway
On Sun, Sep 14, 2003 at 01:06:07PM +, Walaa Waguih wrote:
 
 Dear Sirs ,
 me and some of my freinds that use and adore FreeBSD OS was thinking about
 opening something like branch for FreeBSD here in Egypt .
 and we was wondering is it posible or not .. and what will be needed to do
 something like that ??

Just go ahead and do it (assuming there isn't one already)..lots of
countries and regions have their own local support mailing lists.
Once you're set up, contact the doc@ people to get the contact details
documented in the handbook.

 and we are ready for what ever needed to be official distributer or
 supporter for FreeBSD in Egypt ( and may be later in all middle east )..
 so could you inform me about what needed for that ???

Are you talking about starting a mirror site, or selling CDs?

Kris


pgp0.pgp
Description: PGP signature


FTP EMAIL response

2003-09-14 Thread ftpmail
FTP EMAIL response
-
Due to the heavy load of the server, please restrict your request to
research and academic sites only. This helps the server live longer.
-

ftpmail has failed to queue your request with an error of:
Must have an 'open [site [user [pass]]]'

Your original input was
From [EMAIL PROTECTED] Mon Sep 15 08:14:03 2003
Received: from leu.dna.affrc.go.jp (leu.dna.affrc.go.jp [150.26.230.58])
   by gua08.dna.affrc.go.jp (8.12.9/8.12.9) with ESMTP id h8ENE3GT026876
   for [EMAIL PROTECTED]; Mon, 15 Sep 2003 08:14:03 +0900 (JST)
Received: from asn08.dna.affrc.go.jp (asn08.dna.affrc.go.jp [150.26.230.163])
   by leu.dna.affrc.go.jp (8.12.9/8.12.9) with ESMTP id h8ENFvED004281
   for [EMAIL PROTECTED]; Mon, 15 Sep 2003 08:15:59 +0900 (JST)
Received: from val02.dna.affrc.go.jp (val02.dna.affrc.go.jp [150.26.230.130])
   by asn08.dna.affrc.go.jp (8.12.9/8.12.9) with ESMTP id h8ENFurS020955
   for [EMAIL PROTECTED]; Mon, 15 Sep 2003 08:15:56 +0900 (JST)
Received: from LK ([61.236.200.149])
   by val02.dna.affrc.go.jp (8.9.3p2/3.7W-2920) with ESMTP id IAA14335
   for [EMAIL PROTECTED]; Mon, 15 Sep 2003 08:15:44 +0900 (JST)
From: [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Thank you!
Date: Sun, 15 Sep 2002 7:15:29 +0800
X-MailScanner: Found to be clean
Importance: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MSMail-Priority: Normal
X-Priority: 3 (Normal)
MIME-Version: 1.0
Content-Type: multipart/mixed;
   boundary=_NextPart_000_1D606168

This is a multipart message in MIME format

--_NextPart_000_1D606168
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

--  Virus Warning Message (on asn08)

Found virus WORM_SOBIG.F in file your_details.pif
The uncleanable file your_details.pif is moved to /var/tmp/virOGBZ8aGDN.

Please contact your network administrator for further information.

-

--_NextPart_000_1D606168
Content-Type: text/plain;
   charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Please see the attached file for details.
--_NextPart_000_1D606168
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


--  Virus Warning Message (on asn08)

your_details.pif is removed from here because it contains a virus.

-
--_NextPart_000_1D606168--

End of your input

#
   DISC FTP-mail service, HELP document
#

[EMAIL PROTECTED] - ftp's files and sends them back via electronic mail.

If you have problems please email [EMAIL PROTECTED]


Valid commands to the ftpmail gateway are:

reply-to email-address  Who to send the response to.  This is
 optional and defaults to the users email address

Followed by one of:

helpJust send back help
delete jobidDelete the given job
open [site [user [pass]]]   Site to ftp to.  Defaults are
 ftp.dna.affrc.go.jp anonymous reply-to-address.

If there was an open then it can be followed by up to 24 of the
following commands

cd pathname Change directory.
ls [pathname]   short listing of pathname. Default pathname
 is current directory.
dir [pathname]  long listing of pathname. Default pathname
 is current directory.
get pathnameGet a file and email it back.

compressCompress files/dir-listings before emailing back
gzipGzip files/dir-listings before emailing back

uuencodeThese are mutually exclusive options for
 converting a binary file before emailing.

force uuencode  Force all files or directory listings to
 be encoded before sending back.

mime
Send the message as a Mime Verson 1.0 message.
Text will be sent as text/plain charset=US-ASCII
Non-text as application/octet-stream.
If the file is splitup then it will be sent
as a message/partial.

force mime
As mime but force text files to be sent as
application/octet-stream

no [compress|gzip|uuencode|btoa|mime]
Turn the option off.

size num[K|M]
Set the max size a file can 

Re: How to read CF card via USB with umass on 4.7-STABLE?

2003-09-14 Thread Chris Shenton
Bernd Walter [EMAIL PROTECTED] writes:

 A photo disk is most likely not ufs - it's msdosfs.
 msdosfs is not is normaly not used on the whole device (exeptions are
 floppies), so you want using the correct slice.
 E.g. mount -t msdos /dev/da1s1 /mnt

Yeah, I tried msdos as well (man page is wrong specifying ufs), still
no joy.  

I was able to mount it on my 5.1 system so I'm happy now :-)
Thanks!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Odd vmware / vnconfig (?) configuration.

2003-09-14 Thread Lewis Thompson
Hi,

This is quite a complicated setup, I think.

  I've got a single 80GB disk in my machine, which currently has Windows
XP and FreeBSD installed.  Since I only use WinXP from time-to-time I
would like to be able to boot it from VMware3 WS (which is installed and
working).

  FreeBSD is /dev/ad0s1 and WinXP is /dev/ad0s2.

  VMWare doesn't seem to like having the raw disk /dev/ad0 used.  I'm
guessing this is because I'm using that for FreeBSD at the same time.
Therefore -- I wanted to know if it was possible to maybe provide a sort
of symlink to /dev/ad0s2 that can be read as a file.  I thought maybe
vnconfig was the way to do this.

  If there are any VMWare xperts -- could it be possible that this
``file'' could be used as a raw disk?  Anything to do this would be very
helpful as I'm totally stuck.

  Thanks very much,

-lewiz.

-- 
I was so much older then, I'm younger than that now.  --Bob Dylan, 1964.

-| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |-


pgp0.pgp
Description: PGP signature


Can't open audio device /dev/dsp: Device busy ?

2003-09-14 Thread Rob Lahaye


Hi,

How can I find out which app. keeps /dev/dsp busy?

Without any other sound application running, I got this message when
starting mplayer or realaudio. Somehow the system got muddled up.
After some random trial and error, I finally discovered that everything
came back to normal when I killed xscreensaver.
So for some reason xscreensaver kept /dev/dsp busy.
Is there a command to find out directly which app. keeps /dev/dsp busy?

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


Netware Client for FreeBSD

2003-09-14 Thread James Leone
I have access to a Netware IV server and am trying to connect to it from 
my FreeBSD 5.1-Current desktop.  My goal is to figure out how it works 
in FreeBSD, so I can add support for FreeBSD to the Netwhere client for 
Linux:

http://forge.novell.com/modules/xfmod/project/?nwcunix

It took me a long time to get the recipe for Linux correct, and I hope 
to get the FreeBSD recipe right in a reasonable amount of time.

I have compiled a series of clues, extracted from all of the 
documentation that I have searched for and read over. However, after 
following these steps, I am still unable to connect to the Netware 
server, and how they relate to each other is unclear.

1. . I compiled IPX support into the kernel

2. I installed the Ncplib port

There is a ncplib port in /usr/ports/net/ncplib. I performed a standard 
make install clean, and it seems to have installed correctly, however, I 
cannot find any useful instructions. The 
/usr/ports/net/ncplib/README.html file asks me to please read the 
description file, which only states this:

cplib is a free client for Novell NetWare servers.
WWW: http://rbp.chat.ru/ncplen.html
--
Boris Popov
[EMAIL PROTECTED]
However, when I go to http://rbp.chat.ru/ncplen.html which is refered to 
in README.html and the description file, the page says:

An error occured while loading http://www http//rbp.chat.ru/ncplen.html:

Unknown host www http
So, I take a look at /usr/ports/net/ncplib/pkg-plist file, it shows:

bin/ncpasswd
bin/ncplist
bin/ncplogin
bin/ncplogout
bin/ncplpd
bin/ncprint
bin/ncpsend
bin/ncpurge
sbin/ncpsvc
@cwd /
modules/nwfs.ko
sbin/mount_nwfs
There are man pages for these commands, but when I actually run the 
commands, they give me the following errors:

This command check the network for Netware servers:

ncplist s
Can't find any file server
I also check out the man page for mount_nwfs and run a command to log 
into the netware server on a temporary account that does not have a 
password. I have tested its access in Linux and Windows and they both work:

mount_nwfs -S BAM -U testbsd -V sys /nw
mount_nwfs: can't find server BAM: syserr = Protocol not supported


Obviously I am missing some information, so I search the net and find 
this page:

http://people.freebsd.org/~bp/ipxen.html

The first thing I noticed was that hte page is missing a date. This is 
important, because it instructs the user to replace some of the source 
code that comes with FreeBSD 5.1-Current with code available for 
download, and then to compile that into the kernel.  I did not do this, 
because I had no idea if these changes have already been merged into the 
tree. I did compile my kernel adding the IPX option, but did not 
download ipxrt.tgz, because IPXrouted was already installed on my 
machine. I also know from my experience with Linux, that Mars-nwe is 
required to login to a Netware 4.11 server.  I tried using Mars-nwe, but 
that didn't seem to help either. Yes, I read the man pages, but 
unfortunately, configuration information has not been provided.

Thanks to some additional searching and for the information recently 
provided by Cristian Salan I:

1. Added these lines to /etc/rc.conf:

ifconfig_rl0f2_ipx=ipx 0x350 #IPX address family entry
(I also tried: ifconfig_rl0f2_ipx=ipx 12345678 #IPX address family entry)

ipxrouted_enable=YES  # Set to YES to run the IPX routing daemon
Note that when I run ifconfig, my device is normally rl0.

2. Added these lines to /boot/loader.conf:

if_ef_load=YES
nwfs_load=YES
ncp_load=YES


3. However when I run ncplist s, I still get a goose egg:

localhost# ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.0.133 netmask 0xff00 broadcast 192.168.0.255
inet6 fe80::240:f4ff:fe64:766f%rl0 prefixlen 64 scopeid 0x1
ether 00:40:f4:64:76:6f
media: Ethernet autoselect (100baseTX full-duplex)
status: active
lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
rl0f0: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:40:f4:64:76:6f
rl0f1: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:40:f4:64:76:6f
rl0f2: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ipx bc614e.40f464766f
inet6 fe80::240:f4ff:fe64:766f%rl0f2 prefixlen 64 scopeid 0x5
ether 00:40:f4:64:76:6f
rl0f3: flags=8842BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:40:f4:64:76:6f
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
inet 127.0.0.1 netmask 0xff00
localhost# ncplist s
Can't find any file server
localhost#
4. I ran kldstat to determine if the required network drivers were loaded:

localhost# kldstat
Id Refs AddressSize Name
 1   13 0xc010 622f74   kernel
 21 0xc0723000 2d38 if_ef.ko
 31 0xc0726000 cb60 nwfs.ko
 45 0xc0733000 2c0c libmchain.ko
 

Re: No networking on 4.9-PRERELEASE

2003-09-14 Thread chael
Dude, same here! Although mine's not an xl but an rl.

I have posted it under subject sendto: buffer space not available. I tried
several times with that 4.9-PRERELEASE. But after every 12hrs, I get the
buffer space error.

Now I brought it back to 4.8-RELEASE-p4 via cvsup and everything seems to be
running fine and it's been 13+hrs already non-stop (crossing fingers)


- Original Message - 
From: Mike Meyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 2:40 AM
Subject: No networking on 4.9-PRERELEASE


 I updated (via source) to 4.9-prerelease. No, I *tried* to update to
 4.9-prerelease as of Sep 13th. The problem is that networking seems to
 be failing in the 4.9-prerelease kernel. I build on one system and
 test on a second system, installing via nfs. Following the nsame steps
 I always follow to install a new kernel and world fails when I try and
 install the world running the new kernel, as the nfs mount never
 happens. Trying to ping the build system results in Host is down
 messages. I can ping localhost and the ip address of the test machine
 with no problems; those both use the loopback network. The interface
 that's failing is xl0.

 Does anyone have an xl that's working with 4.9-prerelease? How about
 anyone else having network problems with 4.9-prelease. A solution
 would be best of all, of course.

 Thanks,
 mike
 -- 
 Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html
 Independent Network/Unix/Perforce consultant, email for more information.
 ___
 [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: WINE

2003-09-14 Thread Dan Strick

 Does anyone have a nice and simple tutorial on how to
 install/configure/run wine on FreeBSD 4.8?


No.


(This is the most direct and accurate answer to the question you asked.)

In order to get the most out of Wine, you have to be an expert in both
Microsoft Windows and Wine.  However, you may be able to get something
useful out of Wine with only a moderately severe investment of time and
intellectual energy.

In a nutshell, to install Wine:

cd /usr/ports/emulators/wine
make install
make clean

This takes a couple of hours and more than half a GB of scratch disk space
on my old machine (and a little over 10 minutes on my new machine!).
After you do the make install, examine the last batch of lines output
in the window in which you did the make.  You should see block of text
beginning with:

  In order to use Wine on FreeBSD 4.x, you need a kernel with option USER_LDT
  enabled.  You also need options SYSVSHM, SYSVSEM, and SYSVMSG; these are
  default on FreeBSD 4.x and above.

and ending with:

  For more information, and contact details about the security
  status of this software, see the following webpage: 
  http://www.winehq.com/

Read this text somewhat carefully.  You might want to save it in a file.
It mentions some useful man pages, doc files, and a configuration file.

Also check out /usr/ports/emulators/linux-winetools.  I have never used
this port but it looks like it might be useful.

I am sorry I can't be more helpful, but I don't think anything else I can
write would do you much good.  You have to learn about Wine yourself
(mostly the hard way).

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: 486SX, 100MB HDD - need FreeBSD, how?

2003-09-14 Thread Technical Director

Alex,

If you are really desperate or have a just gonna do this for
fun attitude you could do the following:

1) If you have more than 1 computer, steal the Floppy Drive for the time
it takes you to install.
2) If you have a laplink or even a parallel port xover cable you can use
that to install.
3) If you don't have either of the above  you really are in a situation
that doesn't merit the time IMHO. 

R.


On Sun, 14 Sep 2003, Alex Zivenko wrote:

 Thank's for advice. But there is a problem. I have not a floppy on this
 machine. I have not  ethernet devices there too. But I'll try. Anyway,
 thank's.
 - Original Message -
 From: Technical Director [EMAIL PROTECTED]
 To: Alex Zivenko [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Sunday, September 14, 2003 9:21 PM
 Subject: Re: 486SX, 100MB HDD - need FreeBSD, how?
 
 
 
  Alex,
 
  If your 486SX has a floppy that works then you are okay. FreeBSD will
  install from 2 floppies, takes a little longer but still works.
 
  This IS based upon the assumption that you either have:
 
  a) A CD-ROM on your 486SX and a FreeBSD CD-ROM.
  b) A network card (or similar device eg: ppp) that can tie you to a
  FreeBSD source.
 
  You can find out more information here:
 
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html
 
  Also from the FreeBSD.org website:
 
  3.4. What do I need in order to run FreeBSD?
 
  You will need a 386 or better PC, with 5 MB or more of RAM and at least 60
  MB of hard disk space. It can run with a low end MDA graphics card but to
  run X11R6, a VGA or better video card is needed.
 
  So you should be fine.
 
  R.
 
  On Sun, 14 Sep 2003, Alex Zivenko wrote:
 
   How to install freebsd on this machine? (Intel486SX-25Mhz, 8 Mb Memory,
 100Mb HDD). There isn't cdrom.
   Maby I can setup it from other system, the recompile kernel for that
 processor, or what?
   Without x, witout any cool programs.
   I just need to do it log-server.
  
   Thank's all!
   ___
   [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]


Ideas To Save Failing System?

2003-09-14 Thread Drew Tomlinson
I have system running 4.8 that seems to be losing a hard drive.  I have many
entries such as these in /var/log/messages:

Sep 14 17:44:43 blacksheep /kernel: ad0s1a: UDMA ICRC error writing fsbn
131265 of 65600-65615 (ad0s1 bn 131265; cn 10 tn 93 sn 36) status=51
error=ff

Sep 14 17:44:43 blacksheep /kernel: ad0s1a: hard error writing fsbn 131808
of 65872-65887 (ad0s1 bn 131808; cn 10 tn 102 sn 12) status=51 error=04

I have a root session on the machine but it will not respond to any
commands.  Everything gets errors such as these:

blacksheep# shutdown -r now
/sbin/shutdown: Input/output error.

blacksheep# ps -acux
/bin/ps: Input/output error.

blacksheep# ls
Segmentation fault (core dumped)

Is there anything I can do to save this machine?  I'm afraid if I power it
off, the disk will be corrupt and it probably won't boot.  I'd really like
to make a backup and then replace the disk.  Any ideas?

Thanks,

Drew

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


4.8 Install for Web Server

2003-09-14 Thread Chris

Any pointers or suggestions on a fresh install of 4.8, when the box will be used for a 
web server running in a handful of jails? It has 80gig HD, so one of the issues I'm 
inquiring about is a good partitioning scheme.
Thanks,
Chris

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


Re: WINE

2003-09-14 Thread JacobRhoden
On Mon, 15 Sep 2003 08:57 am, Haris Kazic wrote:
 Does anyone have a nice and simple tutorial on how to
 install/configure/run wine on FreeBSD 4.8?

 Greets,
 Haris

Wine is not a simple program, once it is installed, only some windows can run. 
Each program often needs a special set of wine configuration settings to make 
it work properly, which you learn by trial and error, or searching on google. 
Good luck! (:

 - Jacob


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


Re: Problems trying to boot from an 80GB

2003-09-14 Thread Mark Terribile

Sean and Andrew,

I'm no expert, but two things strike me as odd.
Perhaps some greater Guru can tell us whether or not
they represent a problem.

 I'm trying to get my first FreeBSD (4.8-RELEASE)
 installation working, ...

 Next, I created a NTFS partition on the drive
 with an XP install CD,  ...
 Out of other ideas, I resorted to Dangerous 
 Dedicated, which ... gave a different error:
  No /boot/loader
 Default: 0:ad(0,a)/kernel boot:
   No /kernel

As I understand it (and check the man page for
boot(8)) the MBR boot record has to pull a larger
boot program from the partition or slice (?) which
pulls in a Forth interpreter and a Forth program.
It is this loader which gives you the initial
messages about `8 seconds to boot' and allows you
to interrupt it, chose another kernel file, set
sysctl variables, etc.

This loader has to be able to read the root directory
on the file system.

I see two possible problems.  First, the loader has
to know how to read the root directory and find the
blocks of the file.  Can it do this if the file
system is an NTFS file system?  (I understand  NTFS
to mean one of the Windows FS types.)  Second, if
you use the Dangerously Dedicated structure, with no
FreeBSD slice table, is there a place for the second
stage boot block and the boot loader to be stored?

Mark Terribile

 

A novice was trying to fix a broken Lisp machine by
turning the power off and on.

Knight, seeing what the student was doing, spoke
sternly: “You cannot fix a machine by just
power-cycling it with no understanding of what is
going wrong.”

Knight turned the machine off and on.

The machine worked.
   From _The New Hacker's Dictionary_,
   at http://www.catb.org/~esr/jargon,
   maintained by Eric S. Raymond



__
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]


OK w/ 4.8R: sendto: buffer space not available

2003-09-14 Thread chael
IMO, I think this area of dev should be revisited before 4.9-RELEASE.
Because when I brought it down to 4.8-RELEASE via cvsup, it has not failed
yet. It usually fails around 12 hrs from boot. And it has been 14+ hours now
running very fine.

One thing I noticed though... it seems that over time, the peak values on
netstat -m grows. Although it is still far from the max value I set in
kern.ipc.nmbclusters. Last value before networking stalls is around 9000 to
1+ on my mbuf clusters. Now with 4.8-RELEASE, the netstat -m shows a
steady peak value of just 5226.

Thanks.


 Yes, exact kernel configurations too. To be specific, I just copy/pasted
the
 extra options plus the pseudo-device gre. And, yes. The same, on a 256MB
 machine.

 I have also tried the advice of Colin to set the sysctl :

 net.inet.raw.recvspace=131072
 net.inet.raw.maxdgram=8192
 net.inet.tcp.sendspace=131072
 net.inet.tcp.recvspace=131072
 net.inet.udp.maxdgram=8192
 net.inet.udp.recvspace=131072

 kern.ipc.nmbclusters=16384 at /boot/loader.conf
 (nmbufs automatically sets itself to x4 of nmbclusters)

 But that didn't work either.

 netstat -m peaks just over 9000 for mbuf clusters.

 I should try bring it back to 4.8-RELEASE now.

 Thanks.


  [EMAIL PROTECTED] writes:
 
   This is serious. I have just cvsuped stable-supfile again and did all
   necessary steps re kernel/world. It is still having this problem.
 Anybody
   stumbled accross the same? Should I just reinstall back to
4.8-RELEASE?
   Because I got another identical hardware/machine working without this
 error
   on 4.8-RELEASE.
 
  Same kernel configuration?
 
   options MAXDSIZ=(256*1024*1024)
   options MAXSSIZ=(256*1024*1024)
   options DFLDSIZ=(256*1024*1024)
   options NMBCLUSTERS=131072
 
  On a 256MB machine?
 
 

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


having trouble mounting cd rom

2003-09-14 Thread Charlie
not sure why but when i run the command mount -t cd9660 -o ro /dev/acd0c 
/cdrom it gives me this error message cd9660: /dev/acd0c: Invalid argument
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Replacement for WinRar?

2003-09-14 Thread Dragoncrest
This one to be precise.

http://linuxshop.ru/linuxbegin/win-lin-soft-en/

I'm using it as a guide while we're moving all our windows systems 
over to Freebsd.  :)  It came courtesy of one of the mailing list members.

At 09:31 PM 9/14/03 +1000, David L wrote:
Unfortunately this wont answer your question, I use the cli zip  tar
programs. However I was wondering what the site is that states what replaces
what?
  I know that there's a list out there that states xx nix app will
 replace yy windows app (got the bookmark to it.  hehe) but one thing the
 list doesn't tell me is what is a good replacement in nix that does
 everything winrar does.  I love winrar cause it takes all the power of rar
 and puts it into one very simple and easy to use graphical interface.  I'd
 love to be able to do much the same things with rar when I'm in KDE, so I'm
 looking for something other than Ark that would do the trick and be as
 useful as winrar.  Anyone know of any?  Thanks.  Anyone know from
 experience which nix apps will do what I'm wanting to?  The list suggests
 these apps.

 1) Ark (kdeutils).
 2) http://www.geocities.com/SiliconValley/9757/gnozip.htmlGnozip.
 3) http://perso.wanadoo.fr/coquelle/karchiver/KArchiveur.
 4) http://gnochive.sourceforge.net/Gnochive.
 5) http://fileroller.sourceforge.netFileRoller.
 6) http://www.winace.com/Unace.
 7) LinZip.
 8) http://www.woodsway.com/TkZip/TkZip.


 ___
 [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: Replacement for WinRar?

2003-09-14 Thread Dragoncrest
Well, file splitting (breaking up a rar file by user selected byte 
size), simple GUI interface, right click and archive, double click extract, 
file preview, tunable compression ratios.  Those are just for 
starters.  It's one of the reasons I use WinRar on windows cause of all the 
stuff it does.  The biggest selling point for a BSD equivalent would be the 
ability to do both Rar and Zip and to be able to split a large archive into 
smaller pieces.  Those are the two things I like most about it.  :)  Not 
that it does them, but does them in the most idiot proof manor.  Something 
even I can't screw up!  :D

At 09:24 AM 9/14/03 -0500, David Fleck wrote:
On Sun, 14 Sep 2003, Dragoncrest wrote:
 ...but one thing the list doesn't tell me is what is a good replacement
 in nix that does everything winrar does.
What exactly does WinRar do that you want to replicate?
'Everything' is pretty broad.
--
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: having trouble mounting cd rom

2003-09-14 Thread jason
Charlie wrote:

not sure why but when i run the command mount -t cd9660 -o ro /dev/acd0c 
/cdrom it gives me this error message cd9660: /dev/acd0c: Invalid argument
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

 

try $df to make sure your cdrom is /acd0c
Here's how I do it on my machine
$mount_cd9660 /dev/acd0 /cdrom
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >