Re: how to talk to the serial and parallel ports through a C

2003-06-12 Thread Dan Nelson
In the last episode (Jun 11), Bernard Dugas said:
 Not sure, but i'm using the serial port only to read and write
 electrical values, to command power relays. On mickey systems, serial
 drivers are far to complicated for that.
 
 Did anybody write a simple kernel module doing just that ?
 
 #include sys/io.h
 #include stdio.h
 
 void getComValues(int adr,unsigned char *p_TxdS3,
 unsigned char *p_DtrS4,unsigned char *p_RtsS7,
 unsigned char *p_CtsE8,unsigned char *p_DsrE6,
 unsigned char *p_RiE9,unsigned char *p_DcdE1)
 {
   unsigned char val3,val4,val6;
 
   val3=inb(adr+3);
   *p_TxdS3=(val364)6 ; //rcupre le bit 6
 
   val4=inb(adr+4);
   *p_DtrS4=val41 ;   //rcupre le bit 0
   *p_RtsS7=(val42)1 ;  //rcupre le bit 1
 
   val6=inb(adr+6);
   *p_CtsE8=(val616)4 ;  //rcupre le bit 4
   *p_DsrE6=(val632)5 ;  //rcupre le bit 5
   *p_RiE9=(val664)6 ;   //rcupre le bit 6
   *p_DcdE1=(val6128)7 ; //rcupre le bit 7

Take a look at the tty(4) manpage; you should be able to open
/dev/cuaa0 (aka COM1), then use the TIOCMGET and TIOCMSET ioctls to get
and set the appropriate status bits, all from userland.  The
comms/sredird port uses this to provide remote virtual serial ports
with perfect control.

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


Re: resolver problem

2003-06-12 Thread Uwe Doering
exec wrote:
It seems I have a problem with resolver.
[...]
/etc/resolv.conf is right:

domain my.uni.org
nameserver xx.xx.xx.xx
nameserver yy.yy.yy.yy
nameserver zz.zz.zz.zz
All nameservers are working properly on every other machine. I deleted 
host.conf file (which was also right) and nothing changes.
What makes you think that deleting host.conf was the right thing to do?

Commands host, nslookup, and dig all work very well for both internal an
external sites. But ping for example fails:
cannot resolve www.xxx.yy: Unknown host
[...]
Host, nslookup, and dig use DNS automatically and exclusively, so there 
doesn't have to be any directive in the system telling them to do so. 
Most programs, however, use gethostbyname() etc. and need the 'bind' 
entry in host.conf, which you just removed by deleting this file.  If 
you restore the file DNS lookups will work.

   Uwe
--
Uwe Doering |  EscapeBox - Managed On-Demand UNIX Servers
[EMAIL PROTECTED]  |  http://www.escapebox.net
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with sendmail

2003-06-12 Thread Jonathan
Hi all,

I've just upgraded a server from 4.3-RELEASE to 4.8-STABLE and I'm now 
having sendmail problems. I was intending to leave the original sendmail 
in place, pending a migration to qmail, but unfortunately, I made use of 
the wrong make.conf and I'm now sitting in front of a new sendmail setup 
and I've not used sendmail for about 7 years.

The original problem was permission denied on /var/spool/clientmqueue 
which I sorted by chowning to smmsp:smmsp.

I'm not getting the following in the logs (when trying to send email 
through PHP's mail function):

Jun 12 08:13:51 server3 sendmail[59396]: h5C7DphJ059396: from=www, 
size=81, class=0, nrcpts=0, 
msgid=[EMAIL PROTECTED], 
[EMAIL PROTECTED]
Jun 12 08:13:51 server3 sendmail[59396]: h5C7DphJ059396: h5C7DphK059396: 
DSN: [EMAIL PROTECTED]; [EMAIL PROTECTED] Invalid route address

I'm sure this is a simple problem, but I'm not sure where to start. Any 
assistance would be much appreciated.

My main fear is screwing the server up - it's running correctly for 
incoming mails for the domains configured on it and emails from the 
command line are working, so I'm assuming that I need to setup 
authorisation for sirtis.co.uk to send mail?

TIA,

Jonathan

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


Re: * FreeBSD AntiVirus Solutions *

2003-06-12 Thread Volker Kindermann
 We have noticed that Kaspersky and Sophos are placed at your web site
 but we wonder if we have any other / new alternatives more then these
 two SW ?

as nobody has mentioned them yet, there is HB EDV which have a
(native?) FreeBSD version of their scanners:

http://www.hbedv.com

I'm currently testing their virus scanner for OpenBSD, so I don't have
any long-term stats. But it looks quite good so far.

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


Re: * FreeBSD AntiVirus Solutions *

2003-06-12 Thread Rob
Volker Kindermann wrote:
We have noticed that Kaspersky and Sophos are placed at your web site
but we wonder if we have any other / new alternatives more then these
two SW ?


as nobody has mentioned them yet, there is HB EDV which have a
(native?) FreeBSD version of their scanners:
http://www.hbedv.com

I'm currently testing their virus scanner for OpenBSD, so I don't have
any long-term stats. But it looks quite good so far.
 -volker
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Clamav is a free virus-scanner, it has regular updates. I've been 
using it for a few months without any problems.

Rob Evers

--
f u cn rd ths u r usng unx
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer and subtitles..

2003-06-12 Thread Shantanu Mahajan
+-- Dick Hoogendijk [freebsd] [11-06-03 13:51 +0200]:
| Under windows I normally use bsplayer which automatically loads the
| subtitles for a given movie. Mplayer does the same luckely, BUT..
| 
| Bsplayer shows the subtitles *very-neatly* _under_ the (widescreen)
| movie, without taking up space on the moviescreen itself.. This is a
| very nice property imho.
| 
| ** My question is: can this be done with mplayer (gmplayer) as well?
| 
| Right now I get the subtitles over the movie.. Not nice at all.
| I know, I can switch them off, but sometimes it's just very relaxed not
| to listen to a foreign language to hear/know what's going on ;-))
| 
| -- 
| dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
| ++ Running FreeBSD 4.8 ++ Debian GNU/Linux (Woody)
| 
| --

man mplayer
check out the -noautosub option

Regards,
Shantanu


-- 
To change an environment variable in tcsh you use: setenv NAME value
where NAME is the name of the variable and value its new value.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IMAP stealing mails from POP3 server (Squirrelmail)

2003-06-12 Thread Andreas Widerøe Andersen


Hi,
I'm running a FreeBSD 4.7 STABLE server with qpopper 4.0.4, Squirrelmail 
1.2.11 and imap-uw-2002_1 together with other things such as Apache and 
Proftpd. For outgoing mail I'm using Sendmail and normal FreeBSD mail (not 
maildir).

I'm mainly using POP3 for fetching my emails, but when I'm out travelling 
I'd like to be using Squirrelmail. Therefore I installed IMAP-UW and 
Squirrelmail a while back. Everything works perfect except for one thing:

When I'm logged into Squirrelmail and a new mail arrives. Squirrelmail 
shows it and I can do what I want with it. However, when I try to download 
it later with my POP3 account it's not there... but it's in Squirrelmail! 
My guess is that IMAP steals it from my POP3 server. The first server to 
open an email gets it. Is this correct?

How can I use both Squirrelmail with IMAP (which it requires) and a POP3 
server together and can this be fixed with my configuration?

Thanks!
Andreas
---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS
http://www.pragma.no 

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


Re: fdimage.exe on win 2000

2003-06-12 Thread Alex de Kruijff
On Wed, Jun 11, 2003 at 09:09:59PM -0400, Steve wrote:
 I'm on win 2000 using fdimage.exe from ftp.freebsd.org to make the
 kern.flp and mfsroot.flp images to install, but apparently 2000 dosent
 like fdimage.exe cause it throws an illegal operation, any ideas or
 suggestions? And no, I dont have any 95, 98, ME boxes.
 
 Steve

You could try a fdimage.exe of another version. It worked ok for me
in the past.

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


buffered fifo?

2003-06-12 Thread Paul Chvostek

Hi all.

I need to write a simple server that will take input and do stuff with
it as it comes in.  Server function is atomic-per-item, but I want to
have multiple clients submitting requests.  The submission rate averages
about 2 per day, sometimes many per second, often slower.  And to
make things fun, the server gets written in bash.  :-)

mkfifo is dandy for handling one-to-one relationships, but it forces the
submitter to block until the fifo's been cleared.  So if it takes the
server a minute to do stuff once in a while, the clients will all be
waiting, which is unacceptable.

The ideal solution would of course be something that allows many-to-many
client-server relationships; the ability to have N clients pop things on
to one end of the queue and M servers popping things off the other end,
servers blocking while they wait for input.  But I'd settle for single-
server-multiple-client (i.e. a single `tail -f fifo | while read line`
and dot-locking for the clients).

I don't care if data gets lost in a crash, but I'd really rather not get
into alot of programming.  Is there an elegant way to achieve any of
this in shell?

Thanks.  :)

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/
  Free PHP web hosting!http://www.it.ca/web/

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


Entry in /etc/hosts not used

2003-06-12 Thread Roger Merritt
I've been trying to install a Content Management System for evaluation 
purposes. The system needs to have some virtual domains set up and the docs 
recommend putting the dummy addresses in the /etc/hosts file. That's fine 
by me, because I use /etc/hosts for all the DNS queries for machines on my 
LAN, but I had not realized a single IP address could resolve to more than 
one name. The entries in /etc/hosts are:

10.3.16.125 editor.imp.ac.theditor
10.3.16.125 www.imp.ac.th   www
10.3.16.125 admin.imp.ac.th admin
10.3.16.125 su.imp.ac.thsu
My resolv.conf file is:

domain  imp.ac.th
nameserver  202.21.144.1
My host.conf file is:

# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis
At this point, I'm baffled. Apache is running on the machine that acts as 
the server for the office lan as well as the gateway to the internet. I 
have two NIC's, ed0 set as 203.151.134.xxx, and ed1 set as 10.3.16.125.

If I set all four names to the IP address 203.151.134.xxx, I'm able to ping 
three of them from machines on my LAN, but not editor.imp.ac.th. When I set 
the four names to the IP address 10.3.16.125, I'm not able to ping any of 
them from the LAN. When I changed the entries in /etc/hosts back to 
10.3.16.125, I'm still able to ping admin, www, and su, but ping shows 
their addresses as still being 203.151.134.xxx!

When I point my browser (Mozilla, 1.3.1) at www, admin, or su.imp.ac.th, it 
displays the root document from the Content Management System I'm trying to 
configure, but it gives me an error message, editor.imp.ac.th could not be 
found, please check and try again.

I'm baffled and haven't been able to find anything from Google searches. I 
don't understand why the name editor.imp.ac.th is being treated differently 
from the other three, and I don't understand why I can ping the interface 
*not* in my LAN but not the interface that directly connects with the 
machines in my LAN.

Can anyone suggest what to try next? Oh -- it's essential I be able to 
connect my browser to editor.imp.ac.th, because that's the only way to log 
in to the CMS.

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


Re: Lynx

2003-06-12 Thread Alex de Kruijff
On Wed, Jun 11, 2003 at 04:13:15PM +0930, Shaun Branden wrote:
 On Tue, Jun 10, 2003 at 10:36:33PM -0700, Rick wrote:
  
  I'm running FreeBSD 4.8 and am experiencing a problem while running lynx. The 
  error message I'm receiving is as follows:
  
  ./lynx: Permission denied
  
  While in /usr/ports/www
 
 It is unlikely that you have a lynx binary in /usr/ports/www. If lynx
 is already installed it should be in /usr/local/bin and should be in
 your path, so typing:
 lynx .
 in /usr/ports/www will allow you to use it as a local browser and look
 around.
 
 If your problem is that you are trying to install lynx, then cd into the
 +directory /usr/ports/www/lynx and type:
 make install clean
 

Be sure to 'su' to root before installing it.

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


Re: Entry in /etc/hosts not used

2003-06-12 Thread Jez Hancock
On Thu, Jun 12, 2003 at 03:40:50PM +0700, Roger Merritt wrote:
 Can anyone suggest what to try next? Oh -- it's essential I be able to 
 connect my browser to editor.imp.ac.th, because that's the only way to log 
 in to the CMS.
Have you considered installing a local caching nameserver (I presume
you're not running one already).  I'm no DNS expert, but it seems as
though the names are being cached locally somewhere - again I'm no
expert, I'd like to here more on how freebsd caches names when no
nameserver is running locally...

If you could run your own caching nameserver locally (ie ONLY for
queries on the loopback address), you could easily just flush the cache
whenever you want to be sure you're getting 'fresh' names.

djbdns is really nice (dnscache for caching) and a breeze to setup.

These docs are useful:
http://cr.yp.to/djbdns.html
http://matt.simerson.net/computing/dns/djbdns-freebsd.shtml
http://www.lifewithdjbdns.org/

- a lot of info in the above docs, try and read as much of the first
  link as you can and follow on to the second link for setting up dnscache as
  a local caching server

Once you're done, you'd still use /etc/hosts to override any hosts you
want, but use dnscache for everything else (with 'nameserver 127.0.0.1'
in /etc/resolv.conf) and to 'flush' the cache just do 'svc -t
/var/service/dnscache' (or wherever you link dnscache service dir to).

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


Problem on installing BSD 5.x on laptop ...

2003-06-12 Thread Damien Touraine
Hello,
I have a 3CCFEM556BI pccard connected on my laptop.
However, I don't manage to get the device working during the install of 
FreeBSD 5.0 and 5.1. Actually the pcmcia driver work fine as it 
recognized my APA 1480A cardbus. During the boot there is a message 
ep0: eeprom failed to come ready. When I switch on the second console 
during the installation, I have a message ep0: No I/O space?!

How could I get my 3CCFEM556BI work during the install process of FreeBSD ?

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


Routing daemon not working properly?

2003-06-12 Thread B.Bonev
routed can't route my ppp connection
FreeBSD 4.8 Release
Is any other information is needed?
How can I solve problem?
router# Jun 12 11:26:03 router routed[63]: IP_ADD_MEMBERSHIP ALLHOSTS: can't
assign requested address
router# Jun 12 11:26:03 router routed[63]: setsockopt (IP_ADD_MEMBERSHIP
RIP): can't assign requested address
router# Jun 12 11:26:03 router routed[63]: ignore RTM_CHANGE without mask
router# Jun 12 11:26:03 router routed[63]: ignore RTM_CHANGE without mask

Thanks


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


pilot-link, Visor USB

2003-06-12 Thread Tony Hacche
Hi,

I know there are issues with syncing Palms via USB, but thought I would ask
the colective wisdom of this list anyway ;o)

I followed the howto at http://www.geekhome.net/palm.html to get my HandSpring
Visor syncing with pilot-link via the USB port (running FreeBSD v4.8 by the
way).

What I did went something like this:

(1) Reconfigured kernel to include support for ucom and uvisor (uhci and usb
support was already there). Removed support for all other usb related stuff
that I don't use (ohci, ugen, uhid, ulpt, umass, ums, uscanner, urio, aue,
cue, kue).

(2) make buildkernel KERNCONF=LOCAL   (LOCAL being the name of my modified)
make installkernel KERNCONF=LOCAL (kernel configuration file)

(3) Removed all the crap from /etc/usbd.conf and added:
device Handspring Visor
   devname ucom0
   vendor  0x082d
   product 0x0100
   release 0x0100

(4) Created the appropriate devices in /dev:
sh MAKEDEV ucom
sh MAKEDEV ucom0
ln -s /dev/ucom0 pilot
ln -s /dev/ucom0 palm
ln -s /dev/ucom0 visor

(5) Added my user login to the dialer group.

(6) Installed JPilot (and therefore pilot-link) from the ports collection.

(7) Rebooted.

(8) Ran tail -f /var/log/messages and hit the HotSync button on the USB
cradle to check thhat the Visor was talking to ucom0

bash-2.05b$ tail -f /var/log/messages 
Jun 11 16:32:30 mulder /kernel: ucom0: Handspring Inc Handspring Visor, rev
1.00/1.00, addr 2
Jun 11 16:32:30 mulder /kernel: ucom0: Handspring Inc Handspring Visor, rev
 1.00/1.00, addr 2
Jun 11 16:32:35 mulder /kernel: ucom0: at uhub0 port 2 (addr 2) disconnected
Jun 11 16:32:35 mulder /kernel: ucom0: detached

(9) Added the PILOTPORT=/dev/ucom0 environment variable to my login script.

(10) Fired up install-user from the pilot-link application (hit HotSync button
 on USB cradle first to get Visor talking to ucom0) which claims then to be
 listening to ucom0, /var/log/messages reported and IO error and
 install-user just sits there. When you kill install-user this crashes the
 machine and forces it to reboot. Not nice.

It was all going so well until the last part ;o) Can anyone offer any words of
wisdom as to where I went wrong and how to correct it?

Thanks,

Tony

-- 

**
* Tony Hacche*
* ULCC   *
* 20 Guilford Street *
* London WC1N 1DZ*
**
* JOD: 0870 850 6672 *
* DDI: 020 7692 1440 *
* FAX: 0870 850 6673 *
* MOB: 07866 623093  *
**

There is nothing which has yet been contrived
by man, by which so much happiness is produced
as by a good tavern or inn.  (Samuel Johnson)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help with vinum configuration

2003-06-12 Thread Francis Vidal
Hi,

I'm using FreeBSD 4.8-STABLE on an Pentium III machine. I'm trying to
configure a RAID-5 storage consisting of 5 80GB IDE drives connected to
two (2) Promise Ultra-133 TX2 controllers (1 disk on each channel and one
on channel 2 of the system board). The disks were configured as
dangerously dedicated (using /stand/sysinstall).

Here's the output of `fdisk ad2':

*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=10767 heads=236 sectors/track=63 (14868 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=10767 heads=236 sectors/track=63 (14868 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 0, size 160086528 (78167 Meg), flag 80 (active)
beg: cyl 0/ head 0/ sector 1;
end: cyl 1023/ head 235/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

Here's the output of one of the disks (ad2) `disklabel ad2':

# /dev/ad2c:
type: ESDI
disk: ad2s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9964
sectors/unit: 160086528
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 1600865280unused0 0# (Cyl.0 -
9964*)
  e: 1600865280 vinum   # (Cyl.0 -
9964*)


Here's my vinum configuration file (/etc/vinum.conf):

drive d1 device /dev/ad2s1e
drive d2 device /dev/ad4s1e
drive d3 device /dev/ad6s1e
drive d4 device /dev/ad8s1e
drive d5 device /dev/ad10s1e
volume raid
 plex org raid5 512k
  sd length 76345m drive d1
  sd length 76345m drive d2
  sd length 76345m drive d3
  sd length 76345m drive d4
  sd length 76345m drive d5

Here's the output of `vinum list' after doing `vinum create -v
/etc/vinum.conf':

5 drives:
D d1  State: up   Device /dev/ad2s1e  Avail: 1822/78167 MB (2%)
D d2  State: up   Device /dev/ad4s1e  Avail: 1822/78167 MB (2%)
D d3  State: up   Device /dev/ad6s1e  Avail: 0/76345 MB (0%)
D d4  State: up   Device /dev/ad8s1e  Avail: 1822/78167 MB (2%)
D d5  State: up   Device /dev/ad10s1e Avail: 1822/78167 MB (2%)

1 volumes:
V raid  State: down Plexes:   1 Size:298
GB

1 plexes:
P raid.p0R5 State: init Subdisks: 5 Size:298
GB

5 subdisks:
S raid.p0.s0State: emptyPO:0  B Size: 74
GB
S raid.p0.s1State: emptyPO:  512 kB Size: 74
GB
S raid.p0.s2State: emptyPO: 1024 kB Size: 74
GB
S raid.p0.s3State: emptyPO: 1536 kB Size: 74
GB
S raid.p0.s4State: emptyPO: 2048 kB Size: 74
GB

I can't figure out what's wrong with my configuration.

---
 francis a. vidal [bitstop network services] | http://www.bnshosting.net
 streaming media + web hosting   | http://www.bitstop.ph
 v(02)330-2871,(02)330-2872; f(02)330-2873   | http://www.kuro.ph
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: * FreeBSD AntiVirus Solutions *

2003-06-12 Thread Bill Moran
Olivier Nicole wrote:
i am using the norton av eval version with auto updates
works fine so far, i will let you know when i finish evaluating it.
The debate may become OT, but problem with Norton and other McAfee is
that updates are committed at a very low frequency (few days?) which
leave you with a large risk window when you know that new viruses
usually circulate the world round in less than 12 hours.
Sophos (from what they claim) and Kaspersky (to a lesser extend) will
provide updates on the hour basis (I do automatic update every other
hour). That makes a huge difference on th einsecure window.
I can vouch for Sophos doing this.  I got an email about the Bugbear-B
from Sophos telling me to update my profiles to get protection before
I heard about it from anywhere else.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Entry in /etc/hosts not used

2003-06-12 Thread Bill Moran
Roger Merritt wrote:
I've been trying to install a Content Management System for evaluation 
purposes. The system needs to have some virtual domains set up and the 
docs recommend putting the dummy addresses in the /etc/hosts file. 
That's fine by me, because I use /etc/hosts for all the DNS queries for 
machines on my LAN, but I had not realized a single IP address could 
resolve to more than one name. The entries in /etc/hosts are:

10.3.16.125 editor.imp.ac.theditor
10.3.16.125 www.imp.ac.th   www
10.3.16.125 admin.imp.ac.th admin
10.3.16.125 su.imp.ac.thsu
My resolv.conf file is:

domain  imp.ac.th
nameserver  202.21.144.1
My host.conf file is:

# $FreeBSD: src/etc/host.conf,v 1.6 1999/08/27 23:23:41 peter Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis
At this point, I'm baffled. Apache is running on the machine that acts 
as the server for the office lan as well as the gateway to the internet. 
I have two NIC's, ed0 set as 203.151.134.xxx, and ed1 set as 10.3.16.125.

If I set all four names to the IP address 203.151.134.xxx, I'm able to 
ping three of them from machines on my LAN, but not editor.imp.ac.th. 
When I set the four names to the IP address 10.3.16.125, I'm not able to 
ping any of them from the LAN. When I changed the entries in /etc/hosts 
back to 10.3.16.125, I'm still able to ping admin, www, and su, but ping 
shows their addresses as still being 203.151.134.xxx!
Huh?  I don't understand your explanation of the symptoms.

I can say that you've got a complex setup there.  You didn't post anything
about your nat configuration and firewall rules, but those will have a
great impact on how this thing behaves.  If you can afford it, setting
up seperate machines for the web server and the nat will make life easier.
You also claim that you can/can't ping things from other machines on the
network.  What are these machines?  And do they have the same resolver
configuration as this machine?  Are you sure?
When I point my browser (Mozilla, 1.3.1) at www, admin, or su.imp.ac.th, 
it displays the root document from the Content Management System I'm 
trying to configure, but it gives me an error message, editor.imp.ac.th 
could not be found, please check and try again.
That's pretty strange.  Grab a copy of Ethereal and sniff the communication
between the two machines, I'm sure the results will be enlightening.  (Which
means I'm not sure why it's doing this, but experience tells me you'll say
Huh? Look at that once you've seen the Ethereal capture)
I'm baffled and haven't been able to find anything from Google searches. 
I don't understand why the name editor.imp.ac.th is being treated 
differently from the other three, and I don't understand why I can ping 
the interface *not* in my LAN but not the interface that directly 
connects with the machines in my LAN.
Firewall/nat rules, I would guess.

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


Re: Help with vinum configuration

2003-06-12 Thread Bill Moran
Francis Vidal wrote:
Hi,

I'm using FreeBSD 4.8-STABLE on an Pentium III machine. I'm trying to
configure a RAID-5 storage consisting of 5 80GB IDE drives connected to
two (2) Promise Ultra-133 TX2 controllers (1 disk on each channel and one
on channel 2 of the system board). The disks were configured as
dangerously dedicated (using /stand/sysinstall).
Here's the output of `fdisk ad2':

snip
Here's my vinum configuration file (/etc/vinum.conf):

drive d1 device /dev/ad2s1e
drive d2 device /dev/ad4s1e
drive d3 device /dev/ad6s1e
drive d4 device /dev/ad8s1e
drive d5 device /dev/ad10s1e
volume raid
 plex org raid5 512k
  sd length 76345m drive d1
  sd length 76345m drive d2
  sd length 76345m drive d3
  sd length 76345m drive d4
  sd length 76345m drive d5
Here's the output of `vinum list' after doing `vinum create -v
/etc/vinum.conf':
5 drives:
D d1  State: up   Device /dev/ad2s1e  Avail: 1822/78167 MB (2%)
D d2  State: up   Device /dev/ad4s1e  Avail: 1822/78167 MB (2%)
D d3  State: up   Device /dev/ad6s1e  Avail: 0/76345 MB (0%)
D d4  State: up   Device /dev/ad8s1e  Avail: 1822/78167 MB (2%)
D d5  State: up   Device /dev/ad10s1e Avail: 1822/78167 MB (2%)
1 volumes:
V raid  State: down Plexes:   1 Size:298
GB
1 plexes:
P raid.p0R5 State: init Subdisks: 5 Size:298
GB
5 subdisks:
S raid.p0.s0State: emptyPO:0  B Size: 74
GB
S raid.p0.s1State: emptyPO:  512 kB Size: 74
GB
S raid.p0.s2State: emptyPO: 1024 kB Size: 74
GB
S raid.p0.s3State: emptyPO: 1536 kB Size: 74
GB
S raid.p0.s4State: emptyPO: 2048 kB Size: 74
GB
I can't figure out what's wrong with my configuration.
I don't actually see anything wrong.  What makes you think something is wrong?

Wait for the plex to finish the init state and then do vinum start raid.
There may be another step in there somewhere, such as vinum start raid.p0,
but I'm not 100% sure.
It can take a bit of time to init 298G of raid 5.

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


Re: Are there STABLE/CURRENT/RELEASE tags for ports?

2003-06-12 Thread chris corayer
You could try specifying a date in your cvsupfile.  This isn't exactly what
you are looking for but if you tried to update a port and find it no longer
works, you could then roll back the changes made with another cvsup for the
ports.  I have done this in the past but don't recall the exact syntax.  Try
man cvsup.  I would consider setting up another cvsup file for just this
purpose if you think it will happen often.  You could set the date to when
the new version came out, sort of a release date, or just increment it
until you get it to the point where you know it builds and go from there.

Hope this helps a little.

-Chris

- Original Message - 
From: DoubleF [EMAIL PROTECTED]
To: Mark Miller [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, 12 June, 2003 0:23
Subject: Re: Are there STABLE/CURRENT/RELEASE tags for ports?


  Are there any equivalents to STABLE/RELEASE/CURRENT for ports?  I've
been
  cvsup'ing with tag=. for awhile and I keep getting build errors (bug
  reports will be filed soon).  Is there a way to just track -STABLE ports
  (maybe that only have bugfixes and security updates) that are more
likely
  to play nicely with each other?  If not, is there any way to make this
  happen?

 Arghh I wish there were such tags.

 In the meantime you might consider CTM for ports, downloading the deltas
 from the FTP. If you do that and NEVER EVER remove the deltas, you may
 be able to 'roll back' to any date you want to try to find the non-broken
 port version (if there was any, of course...).

 I am also rather tired of build errors. What I can suggest is probably
 kludgy, but it is the least kludgy way I could find to compile some
 ports. Before you install any ports,

 1) Save the deltas...

 hier kludge start
 2) Symlink /usr/X11R6 to /usr/local. Many ports put files in the wrong
 one, and symlinking individual files is, ahm,... AFAIK, there are no
 colliding files in them.

 3) Try putting /usr/local and /var/db/pkg (and /etc/X11, and /usr/ports
 maybe, but I don't) on a separate filesystem. Make two such filesystems,
 current and stable. Make / and the remaining /usr as read-only as
 possible. Make a mountpoint, say, /switch. Symlink /usr/local to
 /switch/usr.local, /var/db/pkg to /switch/var.db.pkg... Then change the
 fstab file to mount stable at startup. You can always mount current
 after boot on top of stable and so emulate what you wish. You may want
 to make the WRKDIRPREFIX to point to a directory shared between the
 current and stable to save compilation time (otherwise you will
 compile each port twice), but I wouldn't recommend it (to be on the safe
 side).
 hier kludge end

 It's just what I do. I know it breaks the normal hierarchy (and takes 2x
 space), but at least it does it in a polite way.

 HTH,
 DoubleF



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


Re: network settings auto-config

2003-06-12 Thread John DeStefano
Thanks Lowell; but a solution be to change something in /etc/rc.conf instead?
Pete pointed me toward /etc/rc.conf, which contains the following line:
ifconfig_dc0=DHCP
Seeing this made me remember something: someone once told me that commenting this line 
out would keep DHCP from running.  While that is somewhat true, it also killed my 
whole NIC interface!  So the solution must be not to comment it out, but to change the 
variable value DHCP to something else.  I've been searching for proper values but 
haven't seen them anywhere yet, but I did see the following in man rc.conf:
 pccard_ifconfig
 (str) List of arguments to be passed to ifconfig(8) at boot
 time or on insertion of the card (e.g. ``inet 192.168.1.1
 netmask 255.255.255.0'' for a fixed address or ``DHCP'' for a
 DHCP client).
...
 It is possible to bring up an interface with DHCP by setting
 the ifconfig_interface variable to ``DHCP''.  For instance,
 to initialize the ed0 device via DHCP, it is possible to use
 something like:
 ifconfig_ed0=DHCP

So the line in my config file matches the man page, but the man page doesn't say what 
other variables are available that won't break the interface.
Any ideas?
Thanks,
~John

Lowell Gilbert [EMAIL PROTECTED] wrote:
John DeStefano writes:

 Is there another file/setting that's being consulted somewhere at boot time? Gary 
 mentioned it may be due to a smbd, netbios-ssn, or DCHP setting, but he's unfamiliar 
 with those services.

Add some overrides to the dhclient.conf(5) file to put in your
preferred DNS server. I use the prepend modifier, but you 
might want supersede instead.


-
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 4.8 to 5.0

2003-06-12 Thread Jesse Guardiani
Alex de Kruijff wrote:

 On Sun, Jun 08, 2003 at 11:12:23AM +0200, Doron Shmaryahu wrote:
 Hi,
 
  
 
 I have been considering upgrading my machine from 4.8 – 5.0. Is it a easy
 buildworld or can anyone give me advice on any problems before upgrading.
 
 
 If i where you i would joing the current maillinglist and then wait for
 5.1 to come out and download it. When it does download it (with cvsup)
 and then wait another two weeks to compile the code. If there are any
 big bugs they will come up on the mailling list.

5.1-RELEASE ISOs have been available from the FreeBSD website for the past
three days now.


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

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


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


Re: System for generating C/C++ references?

2003-06-12 Thread Simon Barner
Hi,

 I am looking for some sort of software which would allow me
 to generate C/C++ (and preferably other languages, like Python
 or PHP) references for a given project.

You should have a look at doxygen (ports/devel/doxygen,
http://www.doxygen.org). It generates nice documentation for C, C++,
Java and PHP - but I do not know how the result will look like if the
source code is not prepared with special descriptive comments.

Simon


signature.asc
Description: Digital signature


Re: IMAP stealing mails from POP3 server (Squirrelmail)

2003-06-12 Thread Alfonso Romero
I use squrrelmail and uw-imap. I can use pop3 and imap without any problems.

Alfonso Romero

- Original Message -
From: Andreas Widerøe Andersen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 3:16 AM
Subject: IMAP stealing mails from POP3 server (Squirrelmail)




Hi,
I'm running a FreeBSD 4.7 STABLE server with qpopper 4.0.4, Squirrelmail
1.2.11 and imap-uw-2002_1 together with other things such as Apache and
Proftpd. For outgoing mail I'm using Sendmail and normal FreeBSD mail (not
maildir).

I'm mainly using POP3 for fetching my emails, but when I'm out travelling
I'd like to be using Squirrelmail. Therefore I installed IMAP-UW and
Squirrelmail a while back. Everything works perfect except for one thing:

When I'm logged into Squirrelmail and a new mail arrives. Squirrelmail
shows it and I can do what I want with it. However, when I try to download
it later with my POP3 account it's not there... but it's in Squirrelmail!
My guess is that IMAP steals it from my POP3 server. The first server to
open an email gets it. Is this correct?

How can I use both Squirrelmail with IMAP (which it requires) and a POP3
server together and can this be fixed with my configuration?

Thanks!
Andreas

---
Andreas Widerøe Andersen [EMAIL PROTECTED]
Pragma AS

http://www.pragma.no

___
[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: System for generating C/C++ references?

2003-06-12 Thread Malcolm Kay
On Thu, 12 Jun 2003 06:18, Michal Pasternak wrote:
 Hello,

 I am looking for some sort of software which would allow me
 to generate C/C++ (and preferably other languages, like Python
 or PHP) references for a given project. Suppose I am browsing
 FreeBSD kernel, notice, that a function uses ,,struct somestruct''
 as it's parameter. I want to see, what other functions use this
 struct and where's that struct defined. I know, that tools like
 find and grep might be helpful :) but it is uncomfortable
 to grep kernel sources every time I want to find something.

 I am sure I have seen projects like this, but I cant remember
 the name. Could you? Thanks in advance.

 Please CC: me, as I am not quite a subscriber of this list.

 Regards,

'global' and its associated utilities might help.

In particular the 'htags' utility will produce a browsable HTML library.

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


RE: 4.8 to 5.0

2003-06-12 Thread Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jesse Guardiani
Sent: Thursday, June 12, 2003 8:41 AM
To: [EMAIL PROTECTED]
Subject: Re: 4.8 to 5.0


Alex de Kruijff wrote:

 On Sun, Jun 08, 2003 at 11:12:23AM +0200, Doron Shmaryahu wrote:
 Hi,



 I have been considering upgrading my machine from 4.8 – 5.0. Is it a easy
 buildworld or can anyone give me advice on any problems before upgrading.


 If i where you i would joing the current maillinglist and then wait for
 5.1 to come out and download it. When it does download it (with cvsup)
 and then wait another two weeks to compile the code. If there are any
 big bugs they will come up on the mailling list.

5.1-RELEASE ISOs have been available from the FreeBSD website for the past
three days now.

While this is true - the question that remains unaddressed is, can he CVSUP
from 4.8 to 5.1
I too would like to see how users are doing this without a complete wipe of
the drive in favor of a virgin install.

Chris


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

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


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



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


Boot Error from BIOS after try to install 5.1-RELEASE

2003-06-12 Thread Carter, Mr. James A.
Greetings List:

After trying to install 5.1-RELEASE from CD (which fails miserably during
the BTX stage), my hard drive stopped booting. When the BIOS reaches my
hard-drive while scanning for bootable devices, it displays the message
Boot Error.

I then inserted a Windows ME  CD and selected Boot From HD. This booted
into System Commander (which is what used to happen automatically).

System Commander detects no errors in the partitions on the hard-drive, and
obviously the MBR is in place (or else SC would not have loaded).

Any ideas on what I fried and how I can fix it? Is there a way to get
FreeBSD to fix the boot sector on my HDD?

Thanks,
James


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


Re: 4.8 to 5.0

2003-06-12 Thread Bill Moran
Chris wrote:
-Original Message-
From: [EMAIL PROTECTED]
Alex de Kruijff wrote:

On Sun, Jun 08, 2003 at 11:12:23AM +0200, Doron Shmaryahu wrote:

Hi,

I have been considering upgrading my machine from 4.8  5.0. Is it a easy
buildworld or can anyone give me advice on any problems before upgrading.
If i where you i would joing the current maillinglist and then wait for
5.1 to come out and download it. When it does download it (with cvsup)
and then wait another two weeks to compile the code. If there are any
big bugs they will come up on the mailling list.

5.1-RELEASE ISOs have been available from the FreeBSD website for the past
three days now.
While this is true - the question that remains unaddressed is, can he CVSUP
from 4.8 to 5.1
I too would like to see how users are doing this without a complete wipe of
the drive in favor of a virgin install.
Check the archives.  There was recently a thread on -CURRENT about 5 not building
on a 4.x system.  I believe the utilities in 4 (gcc et al) are too old to build
5's source tree, but check the archives for the details.
For my part, I did a clean wipe of the drive and reinstalled.  It was an unholy
headache and I regret it, but now that I've got 5.1 running I'm pretty happy.
Make sure to get 5.1, at least.  A lot of issues have been resolved in 5.1 that
existed in 5, and don't cvsup to HEAD on any machine that you need to work.
The developers have been nice enough to put together a RELENG_5_1 branch that
is relatively safe to follow.
And subscribe to the -CURRENT mailing list as long as you're using it.

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


Upgrading 5.0 - 5.1

2003-06-12 Thread Andrew Robinson
Hi all,

I'm trying to figure out what options I have for upgrading from 5.0 to 5.1.  
Can I just use csvup to change my local copy of the source code, and 
recompile?  Ie do the same steps that I've done to upgrade after security 
announcements?  Would that just entail editing my standard-supfile to replace

*default release=cvs tag=RELENG_5_0

with

*default release=cvs tag=RELENG_5_1

and running csvsup, then compiling a new kernel?

I'd appreciate confirmation, cautions, or tips.  

Thanks!

Andrew
-- 
Andrew Robinson  Ph: 208 885 7115
Department of Forest Resources   Fa: 208 885 6226
University of Idaho  E : [EMAIL PROTECTED]
PO Box 441133W : http://www.uidaho.edu/~andrewr
Moscow ID 83843  Or: http://www.biometrics.uidaho.edu
No statement above necessarily represents my employer's opinion.

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


Re: Upgrading 5.0 - 5.1

2003-06-12 Thread Bill Moran
Andrew Robinson wrote:
Hi all,

I'm trying to figure out what options I have for upgrading from 5.0 to 5.1.  
Can I just use csvup to change my local copy of the source code, and 
recompile?  Ie do the same steps that I've done to upgrade after security 
announcements?  Would that just entail editing my standard-supfile to replace

*default release=cvs tag=RELENG_5_0

with

*default release=cvs tag=RELENG_5_1

and running csvsup, then compiling a new kernel?
I did those exact steps when 5.1 was first released and it built with no
problems (I'm using it right now).
I guess that's a confirmation, huh?

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


Hard disc space availble? Hard drive size

2003-06-12 Thread DanB
How do you tell what size your hard drive is. And how much free space is
left.

Dan

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


Re: Hard disc space availble? Hard drive size

2003-06-12 Thread Rus Foster
On Thu, 12 Jun 2003, DanB wrote:

 How do you tell what size your hard drive is. And how much free space is
 left.

 Dan


To find out disk space left do df -h. For the size looks at the output of
dmesg

Rgds

Rus
--
www: http://www.65535.net   | Hosting - Shell Accounts
MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | 10% Donation on every FreeBSD product
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard disc space availble? Hard drive size

2003-06-12 Thread Jerry McAllister
 
 How do you tell what size your hard drive is. And how much free space is
 left.

Easiest is the  df(1)  command.

Generally I do  df -k  so I can see sizes listed in KiloBytes, 
but you can check the man page and pick your own set of switches.

jerry

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


2.2.8 update to 5.0 how hard is it to do running Apachenow,radius,mail server

2003-06-12 Thread DanB
2.2.8 update to 5.0 how hard is it to do running Apache now, radius,mail
server.

Dan

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


RE: Boot Error from BIOS after try to install 5.1-RELEASE

2003-06-12 Thread Carter, Mr. James A.
Thomas:

Thank you for your response. I agree that Windows ME is junk. Until last
night, it was just another coaster.

I had FreeBSD (4.8-Release) replace the MBR by doing fdisk -b and it
didn't work (actually it toasted the MBR). So System Commander replaced the
MBR, but the BIOS still gives me that error.

-Original Message-
From: Thomas T. Veldhouse [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 7:49 AM
To: Carter, Mr. James A.
Subject: Re: Boot Error from BIOS after try to install 5.1-RELEASE


Boot to a prompt using your Windows ME disk (blah ... the worst version of
Windows EVER).

At the prompt:

fdisk /mbr

Tom Veldhouse

- Original Message -
From: Carter, Mr. James A. [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 9:46 AM
Subject: Boot Error from BIOS after try to install 5.1-RELEASE


 Greetings List:

 After trying to install 5.1-RELEASE from CD (which fails miserably during
 the BTX stage), my hard drive stopped booting. When the BIOS reaches my
 hard-drive while scanning for bootable devices, it displays the message
 Boot Error.

 I then inserted a Windows ME  CD and selected Boot From HD. This booted
 into System Commander (which is what used to happen automatically).

 System Commander detects no errors in the partitions on the hard-drive,
and
 obviously the MBR is in place (or else SC would not have loaded).

 Any ideas on what I fried and how I can fix it? Is there a way to get
 FreeBSD to fix the boot sector on my HDD?

 Thanks,
 James


 ___
 [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: 2.2.8 update to 5.0 how hard is it to do runningApachenow,radius,mail server

2003-06-12 Thread Jeff MacDonald
That's a pretty vague questions.

It's harder than using Adobe Acrobat,
but easier than building a car from clay and paperbags.

jeff.

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of DanB
 Sent: Thursday, June 12, 2003 10:32 AM
 To: freebsd
 Subject: 2.2.8 update to 5.0 how hard is it to do running 
 Apachenow,radius,mail server
 
 
 2.2.8 update to 5.0 how hard is it to do running Apache now, 
 radius,mail
 server.
 
 Dan
 
 ___
 [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: 2.2.8 update to 5.0 how hard is it to do runningApachenow,radius,mail server

2003-06-12 Thread Bill Moran
DanB wrote:
2.2.8 update to 5.0 how hard is it to do running Apache now, radius,mail
server.
I think you're looking at it being easier to completely reinstall.

There are a LOT of things changed over that number of releases.

You would have to stage it (at the least) ... 2.2.8 to 3.? to 4.? to 5,
you may even have to jump a few additional steps.
Considering the fact that the 2.2.8 machine is probably rather old, I'd
grab a new computer and get it up and running on 4.8 (don't use 5 in
a production environment) and once you've got everything working in 4.8,
just swap the machines out.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hard disc space availble? Hard drive size

2003-06-12 Thread Jerry McAllister
 
 How do you tell what size your hard drive is. And how much free space is
 left.

Also, for absolute size (before partitioning and newfsing, etc)
use fdisk(8).   Without any switches telling it to write, it will
give the total disk size in (512 byte) blocks and list the slices 
and their sizes and tell which ones are bootable.  Note that with
modern disks the geometry (cylinders, tracks, sectors) is sort of 
a virtual geometry and not the actual physical layout of the disk.

So, su to root
fdisk da0   (for example of a SCSI disk 0, substitute the 
 appropriate device name - use df or look in /etc/fstab)

jerry

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


nge and vlans

2003-06-12 Thread Nicolas Ross
Hi there !

We are trying to setup a router with freebsd and an asante 3548 swicth. The
switch is connected to the bsd box via an asante giganix (nge driver) card.

I searched this list for answer on this question, searching for nge and vlan
reveals to me the same problem I have :

Packets that go trought vlans on the switchs are shown in tcpdump on nge0
with the incorrect vlan tags :

http://www.freebsd.org/cgi/getmsg.cgi?fetch=2102763+2107441+/usr/local/www/db/text/2003/freebsd-questions/20030413.freebsd-questions

http://www.freebsd.org/cgi/getmsg.cgi?fetch=1816764+1821123+/usr/local/www/db/text/2003/freebsd-questions/20030413.freebsd-questions

Mike Hogsett and Cejka Rudolf seems to have found also this problem.

So I wounder if there is a solution to this problem ?

Thanks,

Nicolas Ross


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


Re: 2.2.8 update to 5.0 how hard is it to do running Apache

2003-06-12 Thread Jerry McAllister
 
 2.2.8 update to 5.0 how hard is it to do running Apache now, radius,mail
 server.

Two things.

- There is so much difference between 2.2.xx and 5.xx (or 4.xx) that
  you should just start over on a new machine or at least a new disk.
  Keep the old one around for updating your locally created stuff like 
  web pages.   Even the Apache you would now install is probably so
  much different from what you probably have running on FreeBSD 2.2.8 
  that is would be easier to just start over and carefully create a
  new configuration.

- Unless you have a very compelling reason to need 5.xx probably it is 
  better to go to FreeBSD 4.8 rather than 5.xx for now.   Under any 
  circumstance, don't make it 5.0.   If you need 5.xx then use 5.1
  which is newly out - but really, go to 4.8.

jerry

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


Re: Hard disc space availble? Hard drive size

2003-06-12 Thread Jerry McAllister
Hi again,

Actually, if you are really at FreeBSD 2.2.8 as your other message
seems to imply, I might be a little cautious about using fdisk in 
this way.   More recent versions of fdisk are much more sophisticated
and work well.   I vaguely remember that this might not be so easy
under FreeBSD 2.xxx, though I don't have one around now to check.

Read the man page carefully.

jerry

 
  
  How do you tell what size your hard drive is. And how much free space is
  left.
 
 Also, for absolute size (before partitioning and newfsing, etc)
 use fdisk(8).   Without any switches telling it to write, it will
 give the total disk size in (512 byte) blocks and list the slices 
 and their sizes and tell which ones are bootable.  Note that with
 modern disks the geometry (cylinders, tracks, sectors) is sort of 
 a virtual geometry and not the actual physical layout of the disk.
 
 So, su to root
 fdisk da0   (for example of a SCSI disk 0, substitute the 
  appropriate device name - use df or look in /etc/fstab)
 
 jerry
 
  
  Dan
  
  ___
 ___
 [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]


Invitation to join the MewBkd group

2003-06-12 Thread MewBkd moderator

Hello [EMAIL PROTECTED],

[EMAIL PROTECTED] has invited to join the MewBkd group
hosted by Yahoo! Groups, a free, easy-to-use community service.

By joining MewBkd, you will be able to receive
email announcements, share photos and files, coordinate events and more.

NOTE: This is an announcement or newsletter group, so only the group
moderator may post messages.

This invitation will expire in 7 days.

Here's an introductory message from [EMAIL PROTECTED]:


GOING BEYOND CNN 

Dear friend,
If you want to know what is happening in the Middle East, you
will want to join our FREE list, which provides exclusive translations
in-depth analyses you won't find in most mass media - opinions from
Syria, Saudi Arabia, kuwait, Egypt, Palestine and Israel, as well as leading
USA and European commentators. Interviews from Middle East media including
Al-Jazeera, Yediot Ahronot and others.

 

It is a lot of mail - but if you care about Middle East News, you won't want to miss 
it.  And - you can set your account to get a single email each day in digest mode.  


MEWBKD provides balanced opinion and analysis - brought to you by MidEastWeb
www.mideastweb.org.

To see what we send - go to www.mideastweb.org/mewnews2.htm 

To join the list, just reply to this e-mail. YOU WILL NOT BE ADDED TO ANY MAILING
LIST IF YOU DO NOT REPLY TO THIS SUBSCRIPTION INVITATION MAIL. 

Sincerely,
Ami Isseroff  



JOIN NOW, IT'S EASY: 

1) Go to the Yahoo! Groups site by clicking on this link:
   http://groups.yahoo.com/i?i=lTxlY7RgTkZOJ59hx4A0E4xmbkAe=questions%40freebsd%2Eorg 

  (If clicking doesn't work, Cut and Paste the line above into your 
   Web browser's address bar.)

-OR-

2) REPLY to this email by clicking Reply and then Send
   in your email program

If you do not wish to join the MewBkd group, please
ignore this invitation.

SPECIAL NOTE FROM Yahoo! Groups:  Because Yahoo! Groups values your
privacy, it is a violation of our service rules for moderators to
abuse this invitation feature. If you feel this has happened, 
please notify us at [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No login shell with ssh/nis on FreeBSD 5.1

2003-06-12 Thread Stefan Schwarzer
Hi,

today, I used cvsup to update a server from FreeBSD 5.0 Release to
FreeBSD 5.1 Release. I didn't forget to run mergemaster.

Now I find, I can no longer get a login shell for a NIS-supported
account if I try to log into the server via ssh:

| [EMAIL PROTECTED]:~$ ssh server
| [EMAIL PROTECTED]'s password:
| Connection to server closed by remote host.
| Connection to server closed.

However, the authentication seems to work, as I see it in
/var/log/auth.log on the server. Also, I can invoke commands via ssh
(just not get a login shell):

| [EMAIL PROTECTED]:~$ ssh server ls
| [EMAIL PROTECTED]'s password:
| [home directory listing is shown]

On the other hand, a ssh login for a user with an account locally on
the server works, as does a (temporarily tested) telnet login of the
NIS user. Console logins work, too, for both local and NIS users.

Summary in a table:

command user known by NIS   user known locally (w.r.t. server)

ssh doesn't workworks
ssh ls  works   works
telnet  works   works
console login   works   works

Can anyone help? Please reply not only to the list but also by private
mail because I'm not subscribed to the list. Thank you!

Stefan

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


setting up webcam on FreeBSD machine

2003-06-12 Thread Tkachenko, Artem N
Hi,

I have a Logitech QuickCam Web and a FreeBSD machine. I have no clue how to
make the webcam work to this machine. I really need help. I am new to
FreeBSD environment so I would not mind a detailed information. But any type
of help will be greatly appreciated. Thank you

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


profiling

2003-06-12 Thread Benjamin Mayer
I am looking to do profiling of one of my programs. I know about gprof and cachegrind 
for linux but was wondering if there are other tools that are recommended to have or 
to use instead. The test systems I have access to are Linux, FreeBSD, and some nice 
Sun machines.

Thank you,

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


Tool to determine BIOS configuration

2003-06-12 Thread Carter, Mr. James A.
Hello:

Does a tool exist for FreeBSD that will return information about your BIOS?

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


newbie: shout 0.8.0 issues

2003-06-12 Thread admin
Hi,

who can I write regarding some shout0.8.0 configuration issues on a FreebSD
4.8 machine.  I cant quite figure out why the password is not being accepted
by my sc_serv shoutcast binary.

--- form sv_serv logs ---

06/12/[EMAIL PROTECTED]:02:20 [source] invalid password from SOURCE password / 
127.0.0.1
06/12/[EMAIL PROTECTED]:04:42 [source] invalid password from SOURCE password 
/content
127.0.0.1

 snip -

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


Cant write filemarks on DDS-4 Tapes

2003-06-12 Thread pcasidy
[As posted on freebsd-scsi]

Hello

I currently face a strange problems.

I use several type of tapes; from 1Gb to 20Gb tapes.
I can read and write from of them but DDS-4 (20Gb)!

I can read DDS-4 btu cannot write on them.

When I try to write on a DDS-4 I encounter an error:
[gueway] ~# tar c /
tar: Removing leading `/' from member names
tar: /dev/sa0: Wrote only 0 of 10240 bytes
tar: Error is not recoverable: exiting now

and /var/log/messages says:
Jun  5 12:28:09 gueway /kernel: (sa0:sym0:0:5:0): WRITE FILEMARKS. CDB: 10 0 0 0 1 0 
Jun  5 12:28:09 gueway /kernel: (sa0:sym0:0:5:0): MEDIUM ERROR info:1 asc:c,0
Jun  5 12:28:09 gueway /kernel: (sa0:sym0:0:5:0): Write error
Jun  5 12:28:09 gueway /kernel: (sa0:sym0:0:5:0): failed to write terminating 
filemark(s)

every time a filemark has to be written, I have the same error.

For information, mt status gives:
[gueway] ~# mt status
Mode  Density  Blocksize  bpi  Compression
Current:  0x26:DDS-4   variable   97000DCLZ
-available modes-
0:0x26:DDS-4   variable   97000DCLZ
1:0x26:DDS-4   variable   97000DCLZ
2:0x26:DDS-4   variable   97000DCLZ
3:0x26:DDS-4   variable   97000DCLZ
-
Current Driver State: at rest.
-
File Number: 0  Record Number: 0Residual Count 0

Changing comp to off, or blocksize to 1024 does not help.

I do not understand why i can write on DDS-2 or DDS-3 but not on DDS-4
(i used to several months ago).

I need your help ;)

Thanks

Phil.

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


ipfw + squid

2003-06-12 Thread Kliment Andreev
I have ipfw + squid (ext NIC: fxp0, int NIC: dc0). Squid is listening on
port 3128.

Using ipfilter I will do

rdr dc0 0/0 port 80 - 127.0.0.1 port 3128 tcp

How can I do this in ipfw

00050 36764 12234591 divert 8668 ip from any to any via fxp0
   00060 00 divert 80 tcp from any to any 3128
00100  4732 13839892 allow ip from any to any via lo0
00200 00 deny ip from any to 127.0.0.0/8
00300 00 deny ip from 127.0.0.0/8 to any
65000 53018 18345167 allow ip from any to any
65535 1  328 allow ip from any to any


Line 60 doesn't seem to work for me.

Thanks!

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


Re: Upgrading 5.0 - 5.1

2003-06-12 Thread Joshua Oreman
On Thu, Jun 12, 2003 at 10:51:50AM -0500 or thereabouts, Thomas T. Veldhouse seemed to 
write:
 You will need a whole new world as well.
 
 cvsup
 (cd /usr/src  make world)
 (cd /usr/src/sys/i386/conf  config GENERIC  cd ../compile/GENERIC 
 make all install)
 reboot
 
 
 Approximately.  I guess there is a way to make the kernel from the top level
 tree, but I have always done it that above way and don't plan to change
 unless I must.

You should *really* use 'make buildkernel' in the toplevel if you're
combining it with a world update. Recommended procedure:
~# cvsup /my/5.1.supfile
~# cd /usr/src
/usr/src# make buildworld
/usr/src# make buildkernel KERNCONF=yourKERNELname
/usr/src# make installkernel KERNCONF=yourKERNELname
/usr/src# reboot
OK boot -s
# fsck -p  mount -a
# ( cd /usr/src  make installworld )
# reboot
OK boot

Also read chapter 21 of the Handbook.

-- Josh

 
 Tom Veldhouse
 
 - Original Message -
 From: Andrew Robinson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, June 12, 2003 10:05 AM
 Subject: Upgrading 5.0 - 5.1
 
 
  Hi all,
 
  I'm trying to figure out what options I have for upgrading from 5.0 to
 5.1.
  Can I just use csvup to change my local copy of the source code, and
  recompile?  Ie do the same steps that I've done to upgrade after security
  announcements?  Would that just entail editing my standard-supfile to
 replace
 
  *default release=cvs tag=RELENG_5_0
 
  with
 
  *default release=cvs tag=RELENG_5_1
 
  and running csvsup, then compiling a new kernel?
 
  I'd appreciate confirmation, cautions, or tips.
 
  Thanks!
 
  Andrew
  --
  Andrew Robinson  Ph: 208 885 7115
  Department of Forest Resources   Fa: 208 885 6226
  University of Idaho  E : [EMAIL PROTECTED]
  PO Box 441133W : http://www.uidaho.edu/~andrewr
  Moscow ID 83843  Or: http://www.biometrics.uidaho.edu
  No statement above necessarily represents my employer's opinion.
 
  ___
  [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]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


List of popular DNS blacklists for spam?

2003-06-12 Thread Philip Hallstrom
Hi all -
I'm testing the use of some DNS blacklists to cut down on my spam
and there are a lot of servers to choose from.  I was wondering if there
is a list of popular servers.  I've seen comparison lists, but I'm hoping
for more of a survey of sysadmins and what they use (if anything).

If something like that doesn't exist, if I setup the survey would you all
take the time to list what servers you use?

Thanks!

-philip

(please cc me on replies as I've unsubscribed while testing my various
spam filters)


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


Re: ipfw + squid

2003-06-12 Thread Bill Moran
Kliment Andreev wrote:
I have ipfw + squid (ext NIC: fxp0, int NIC: dc0). Squid is listening on
port 3128.
Using ipfilter I will do

rdr dc0 0/0 port 80 - 127.0.0.1 port 3128 tcp

How can I do this in ipfw

00050 36764 12234591 divert 8668 ip from any to any via fxp0
   00060 00 divert 80 tcp from any to any 3128
00100  4732 13839892 allow ip from any to any via lo0
00200 00 deny ip from any to 127.0.0.0/8
00300 00 deny ip from 127.0.0.0/8 to any
65000 53018 18345167 allow ip from any to any
65535 1  328 allow ip from any to any
Line 60 doesn't seem to work for me.
Nope.

You don't do it with an IPFW rule, you need to pass instructions to
natd.
The canonical way to do this is in /etc/rc.conf.  Add a line like:
natd_flags=-redirect_port tcp 127.0.0.1:80 3128
If you already have a natd_flags= line in rc.conf, just add that
to it.  Also read the man page on natd for more details.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrading 5.0 - 5.1

2003-06-12 Thread Chris
I kmow this is not the proper venue, but why do you have a site like yours
that not only seems to be running FreeBSD, but has Free, Net and GNUDarwin
listed as a Linux Distro?

This bothers me - Seeing FreeBSD misrepresented in such a mannor - that goes
for linuxiso.org too.

#-Original Message-
#From: [EMAIL PROTECTED]
#[mailto:[EMAIL PROTECTED] Behalf Of Joshua Oreman
#Sent: Thursday, June 12, 2003 1:34 PM
#To: Thomas T. Veldhouse
#Cc: [EMAIL PROTECTED]
#Subject: Re: Upgrading 5.0 - 5.1
#
#
#On Thu, Jun 12, 2003 at 10:51:50AM -0500 or thereabouts, Thomas T.
#Veldhouse seemed to write:
# You will need a whole new world as well.
#
# cvsup
# (cd /usr/src  make world)
# (cd /usr/src/sys/i386/conf  config GENERIC  cd ../compile/GENERIC 
# make all install)
# reboot
#
#
# Approximately.  I guess there is a way to make the kernel from
#the top level
# tree, but I have always done it that above way and don't plan to change
# unless I must.
#
#You should *really* use 'make buildkernel' in the toplevel if you're
#combining it with a world update. Recommended procedure:
#~# cvsup /my/5.1.supfile
#~# cd /usr/src
#/usr/src# make buildworld
#/usr/src# make buildkernel KERNCONF=yourKERNELname
#/usr/src# make installkernel KERNCONF=yourKERNELname
#/usr/src# reboot
#OK boot -s
## fsck -p  mount -a
## ( cd /usr/src  make installworld )
## reboot
#OK boot
#
#Also read chapter 21 of the Handbook.
#
#-- Josh
#
#
# Tom Veldhouse
#
# - Original Message -
# From: Andrew Robinson [EMAIL PROTECTED]
# To: [EMAIL PROTECTED]
# Sent: Thursday, June 12, 2003 10:05 AM
# Subject: Upgrading 5.0 - 5.1
#
#
#  Hi all,
# 
#  I'm trying to figure out what options I have for upgrading from 5.0 to
# 5.1.
#  Can I just use csvup to change my local copy of the source code, and
#  recompile?  Ie do the same steps that I've done to upgrade
#after security
#  announcements?  Would that just entail editing my standard-supfile to
# replace
# 
#  *default release=cvs tag=RELENG_5_0
# 
#  with
# 
#  *default release=cvs tag=RELENG_5_1
# 
#  and running csvsup, then compiling a new kernel?
# 
#  I'd appreciate confirmation, cautions, or tips.
# 
#  Thanks!
# 
#  Andrew
#  --
#  Andrew Robinson  Ph: 208 885 7115
#  Department of Forest Resources   Fa: 208 885 6226
#  University of Idaho  E : [EMAIL PROTECTED]
#  PO Box 441133W : http://www.uidaho.edu/~andrewr
#  Moscow ID 83843  Or:
http://www.biometrics.uidaho.edu
  No statement above necessarily represents my employer's opinion.
 
  ___
  [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]
___
[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]


Help routing

2003-06-12 Thread warren maxwell
Im setting up a serial line connection and i am unable to ping because it says no 
host. How do i set up my base local address to be 192.168.2.1? The commands i am 
running are as follows,
slattach -h -l -n -s 19200 /dev/cuaa0
ifconfig sl0 192.168.2.2 192.168.2.3 up

Do i need to add a route command like this?
route add -net 192.168.2 192.168.2.0 255.255.255.0

Thanks for all the help in advance guys, much appreciated.
Bryan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem with large aio_write()s to raw device with Compaq cissdriver

2003-06-12 Thread Bob Bawn
Hello,

I am running FreeBSD 4.7 on a Compaq DL 380 with a Compaq Smart Array
5i.
My application accesses a raw device (e.g. /dev/da0s1g) using
aio_write(2).
aio_writes of buffers larger than 224 (512-byte) blocks fail with EIO.

This works on various other hardware configurations (Dell RAID, SCSI
disk, IDE disk, etc.) so I suspect the ciss driver.
Synchronous (write(2)) writes larger than 224 blocks to the raw device
succeed.
aio_writes to normal files succeed.

Glancing through the ciss source, I noticed that 224 * 512 = 28 * 4096
where 28 is CISS_COMMAND_SG_LENGTH (the max number of scatter/gather per
command??). So maybe the write fails if the s/g vector doesn't fit in
a single command? (I am a non-expert in this area, so this is
speculative...)
I could maybe understand aio_write returning a partial successful write
here but EIO seems pretty harsh.
It's seems possible that I have something mis-configured. Here are the
boot messages from ciss:
Jun  6 10:00:16 queso /kernel: pci0: PCI bus on pcib0
Jun  6 10:00:16 queso /kernel: ciss0: Compaq Smart Array 5i port
0x2000-0x20ff mem 0xf5ef-0xf5ef3fff,0xf7ec-0xf7ef irq 3 at
device 1.0 on pci0
Jun  6 10:00:16 queso /kernel: ciss0: using 256 of 1024 available
commands
Jun  6 10:00:16 queso /kernel: ciss0:   3 logical drives configured
Jun  6 10:00:16 queso /kernel: ciss0:   firmware 1.92
Jun  6 10:00:16 queso /kernel: ciss0:   2 SCSI channels
Jun  6 10:00:16 queso /kernel: ciss0:   signature 'CISS'
Jun  6 10:00:16 queso /kernel: ciss0:   valence 1
Jun  6 10:00:16 queso /kernel: ciss0:   supported I/O methods
0xesimple,performant,MEMQ
Jun  6 10:00:16 queso /kernel: ciss0:   active I/O method 0x3simple
Jun  6 10:00:16 queso /kernel: ciss0:   4G page base 0x
Jun  6 10:00:16 queso /kernel: ciss0:   interrupt coalesce delay 1000us
Jun  6 10:00:16 queso /kernel: ciss0:   interrupt coalesce count 16
Jun  6 10:00:16 queso /kernel: ciss0:   max outstanding commands 1024
Jun  6 10:00:16 queso /kernel: ciss0:   bus types 0x2ultra3
Jun  6 10:00:16 queso /kernel: ciss0:   server name ''
Jun  6 10:00:16 queso /kernel: ciss0:   heartbeat 0x1033
Jun  6 10:00:16 queso /kernel: ciss0: 3 logical drives
Jun  6 10:00:16 queso /kernel: ciss0: logical drive 0: RAID 5, 92160MB
online
Jun  6 10:00:16 queso /kernel: ciss0: logical drive 1: RAID 5, 92160MB
online
Jun  6 10:00:16 queso /kernel: ciss0: logical drive 2: RAID 5, 92160MB
online
Thanks,
Bob Bawn
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Upgrading 5.0 - 5.1

2003-06-12 Thread Chris
Allow me to appologize to Tom and the list - this was intended to go to one
person.
Me bad, Flame on.

Chris

#-Original Message-
#From: [EMAIL PROTECTED]
#[mailto:[EMAIL PROTECTED] Behalf Of Joshua Oreman
#Sent: Thursday, June 12, 2003 1:34 PM
#To: Thomas T. Veldhouse
#Cc: [EMAIL PROTECTED]
#Subject: Re: Upgrading 5.0 - 5.1
#
#
#On Thu, Jun 12, 2003 at 10:51:50AM -0500 or thereabouts, Thomas T.
#Veldhouse seemed to write:
# You will need a whole new world as well.
#
# cvsup
# (cd /usr/src  make world)
# (cd /usr/src/sys/i386/conf  config GENERIC  cd ../compile/GENERIC 
# make all install)
# reboot
#
#
# Approximately.  I guess there is a way to make the kernel from
#the top level
# tree, but I have always done it that above way and don't plan to change
# unless I must.
#
#You should *really* use 'make buildkernel' in the toplevel if you're
#combining it with a world update. Recommended procedure:
#~# cvsup /my/5.1.supfile
#~# cd /usr/src
#/usr/src# make buildworld
#/usr/src# make buildkernel KERNCONF=yourKERNELname
#/usr/src# make installkernel KERNCONF=yourKERNELname
#/usr/src# reboot
#OK boot -s
## fsck -p  mount -a
## ( cd /usr/src  make installworld )
## reboot
#OK boot
#
#Also read chapter 21 of the Handbook.
#
#-- Josh
#
#
# Tom Veldhouse
#
# - Original Message -
# From: Andrew Robinson [EMAIL PROTECTED]
# To: [EMAIL PROTECTED]
# Sent: Thursday, June 12, 2003 10:05 AM
# Subject: Upgrading 5.0 - 5.1
#
#
#  Hi all,
# 
#  I'm trying to figure out what options I have for upgrading from 5.0 to
# 5.1.
#  Can I just use csvup to change my local copy of the source code, and
#  recompile?  Ie do the same steps that I've done to upgrade
#after security
#  announcements?  Would that just entail editing my standard-supfile to
# replace
# 
#  *default release=cvs tag=RELENG_5_0
# 
#  with
# 
#  *default release=cvs tag=RELENG_5_1
# 
#  and running csvsup, then compiling a new kernel?
# 
#  I'd appreciate confirmation, cautions, or tips.
# 
#  Thanks!
# 
#  Andrew
#  --
#  Andrew Robinson  Ph: 208 885 7115
#  Department of Forest Resources   Fa: 208 885 6226
#  University of Idaho  E : [EMAIL PROTECTED]
#  PO Box 441133W : http://www.uidaho.edu/~andrewr
#  Moscow ID 83843  Or:
http://www.biometrics.uidaho.edu
  No statement above necessarily represents my employer's opinion.
 
  ___
  [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]
___
[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: List of popular DNS blacklists for spam?

2003-06-12 Thread Dan Nelson
In the last episode (Jun 12), Philip Hallstrom said:
   I'm testing the use of some DNS blacklists to cut down on my
 spam and there are a lot of servers to choose from.  I was wondering
 if there is a list of popular servers.  I've seen comparison lists,
 but I'm hoping for more of a survey of sysadmins and what they use
 (if anything).
 
 If something like that doesn't exist, if I setup the survey would you
 all take the time to list what servers you use?

I block everything in relays.ordb.org via sendmail, and also use
whatever Spamassassin defaults to, and reject anything with a score
over 20.

 (please cc me on replies as I've unsubscribed while testing my
 various spam filters)

That's standard procedure on these lists.

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


shell scripting - automating rotation of files in differentdirectories

2003-06-12 Thread Dave [Hawk-Systems]
have looked at a couple of the ports for log rotation and such, but none seem to
come close to the simplicity and complexity of what I am looking for.

have user directories and log files in each directory... each user requests to
have 1 day ro 30 days of logs made available for them to download at any given
time.

Looking for a way to simply touch or delete log files and have the script
identify the correct rotation to.

For example,
brutally pseudo script
for($i=30; $i0;$1--){ # 30 days is maximum retained
for LOG in `ls /users/*/logs/ | grep .$i'`; do
# move any of the previous logs into the current existing
# so that we don't add to number of logs per user
$prevLOG = strreplace(($i-1)($i) on $LOG)
mv $prevLOG $LOG
done
)
/brutally pseudoscript

this way, if a user wants more logs, just touch (create empty) logs files, and
the next time the script runs it will rotate all them...  need less, simply
delete the unneeded log files and they will not be rotated into.

Am thinking that the shell script will need to drop to awk to perform the
disection of the log number extensions...  any thoughts on this/easier methods
before I sit down and devote some time to it?

thanks

Dave



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


Re: Help routing

2003-06-12 Thread Bill Moran
warren maxwell wrote:
Im setting up a serial line connection and i am unable to ping because it says no 
host. How do i set up my base local address to be 192.168.2.1? The commands i am 
running are as follows,
slattach -h -l -n -s 19200 /dev/cuaa0
ifconfig sl0 192.168.2.2 192.168.2.3 up
Do i need to add a route command like this?
route add -net 192.168.2 192.168.2.0 255.255.255.0
Thanks for all the help in advance guys, much appreciated.
Bryan
Check 'netstat -rn' and see if an appropriate route is in
there, if not you'll probably have to add it manually each
time you connect.  It seems that some types of interfaces
create a route automatically (ethernet, for example) while
others don't.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Are there STABLE/CURRENT/RELEASE tags for ports?

2003-06-12 Thread Mark Miller
DoubleF,

Thanks for the suggestions, I definitely feel your pain.  I just wish I
had the disk for that sort of system...

On a more pragmatic note, are there any particular reasons that port
maintainers can't use the -STABLE tag for their updates?  It seems like a
general guideline of stable lags current by X weeks might help things
tremendously.

Mark

On Thu, 12 Jun 2003, DoubleF wrote:

 Are there any equivalents to STABLE/RELEASE/CURRENT for ports?  I've been
 cvsup'ing with tag=. for awhile and I keep getting build errors (bug
 reports will be filed soon).  Is there a way to just track -STABLE ports
 (maybe that only have bugfixes and security updates) that are more likely
 to play nicely with each other?  If not, is there any way to make this
 happen?

Arghh I wish there were such tags.

In the meantime you might consider CTM for ports, downloading the deltas
from the FTP. If you do that and NEVER EVER remove the deltas, you may
be able to 'roll back' to any date you want to try to find the non-broken
port version (if there was any, of course...).

I am also rather tired of build errors. What I can suggest is probably
kludgy, but it is the least kludgy way I could find to compile some
ports. Before you install any ports,

1) Save the deltas...

   hier kludge start
2) Symlink /usr/X11R6 to /usr/local. Many ports put files in the wrong
one, and symlinking individual files is, ahm,... AFAIK, there are no
colliding files in them.

3) Try putting /usr/local and /var/db/pkg (and /etc/X11, and /usr/ports
maybe, but I don't) on a separate filesystem. Make two such filesystems,
current and stable. Make / and the remaining /usr as read-only as
possible. Make a mountpoint, say, /switch. Symlink /usr/local to
/switch/usr.local, /var/db/pkg to /switch/var.db.pkg... Then change the
fstab file to mount stable at startup. You can always mount current
after boot on top of stable and so emulate what you wish. You may want
to make the WRKDIRPREFIX to point to a directory shared between the
current and stable to save compilation time (otherwise you will
compile each port twice), but I wouldn't recommend it (to be on the safe
side).
   hier kludge end

It's just what I do. I know it breaks the normal hierarchy (and takes 2x
space), but at least it does it in a polite way.

HTH,
   DoubleF


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


Re: shell scripting - automating rotation of files in differentdirectories

2003-06-12 Thread Matthew D. Fuller
On Thu, Jun 12, 2003 at 02:58:32PM -0400 I heard the voice of
Dave [Hawk-Systems], and lo! it spake thus:
 For example,
 brutally pseudo script
 for($i=30; $i0;$1--){ # 30 days is maximum retained
   for LOG in `ls /users/*/logs/ | grep .$i'`; do
   # move any of the previous logs into the current existing
   # so that we don't add to number of logs per user
   $prevLOG = strreplace(($i-1)($i) on $LOG)
   mv $prevLOG $LOG
   done
 )
 /brutally pseudoscript
 
 Am thinking that the shell script will need to drop to awk to perform the
 disection of the log number extensions...  any thoughts on this/easier methods
 before I sit down and devote some time to it?

You want jot(1) and expr(1).

Something along the lines of:

for i in `jot 29 29 1`; do
if [ -r /some/dir/log.${i} ] ; then
mv -f /some/dir/log.${i} /some/dir/log.`expr ${i} + 1`
fi
done

(more simplistic than yours, since it doesn't recurse across directories,
but the idea gets across)


-- 
Matthew Fuller (MF4839)   |  [EMAIL PROTECTED]
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

The only reason I'm burning my candle at both ends, is because I
  haven't figured out how to light the middle yet
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to close port 22 ?

2003-06-12 Thread Jarungwit BOONPERM
Dear sir,
  I used FreeBSD 4.5. I want to close port 22 (ssh).
  I comment at line ssh in /etc/services and
restart system.
  But dont work. I still can connect port 22.
Please let me know how to close port 22.
thank you very much.
 regards,
Jarungwit.

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


Re: How to close port 22 ?

2003-06-12 Thread Rus Foster
On Fri, 13 Jun 2003, Jarungwit BOONPERM wrote:

 Dear sir,
   I used FreeBSD 4.5. I want to close port 22 (ssh).
   I comment at line ssh in /etc/services and
 restart system.
   But dont work. I still can connect port 22.

Hi,
Make sure there is aline that says sshd_enable=no in /etc/rc.conf

Rgds

Rus Foster
--
www: http://www.65535.net   | Hosting - Shell Accounts
MSNM: [EMAIL PROTECTED] | Virtual Servers from just $15/mo
e: [EMAIL PROTECTED]   | Community: http://www.65535.org
t: +44 (0) 7092016595   | 10% Donation on every FreeBSD product
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.1 on a 386

2003-06-12 Thread John Nielsen
Hi folks-

I am setting up FreeBSD 5.1-RELEASE on a 386DX.  I'm mostly doing it as a 
learning exercise (or perhaps because I'm a masochist), but the machine may 
be used as a firewall at some point.  I have the OS installed with a custom 
kernel, and things are actually going quite well.

There are (of course) some problems though.  Most of the userland utilities 
work great, but some just dump core.  The one I miss in particular is groff 
(for manpages, etc).  I suspect that the problems are a result of CPU 
instructions that the poor 386 doesn't understand.

I do have a separate build machine (soon to be running 5.1 as well), so I'd 
like to recompile everything (kernel, userland, and 
ports-to-be-made-into-packages) for the 386 with the appropriate flags to 
gcc and friends.  Hopefully that will take care of the issues I'm seeing.

So my question is, what flags should I use and where should I put them?  I'd 
like to be able to switch easily between builds for the 386 and normal 
builds (for everything else).  Can I just put an override in /etc/make.conf 
or do I have to futz with /usr/share/mk/bsd.cpu.mk?  (In the case of the 
latter, detailed hints would be appreciated.. I don't grok Make all that 
well yet.)

Thanks,

JN

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


Re: 5.1 on a 386

2003-06-12 Thread Thomas T. Veldhouse
I could be wrong, but I thought that they finally gave up on 386 support and
now the base minimum is 486.  It could very well be that you can't compile
the system for a 386 without significant modification.

Tom Veldhouse

- Original Message -
From: John Nielsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:25 PM
Subject: 5.1 on a 386


 Hi folks-

 I am setting up FreeBSD 5.1-RELEASE on a 386DX.  I'm mostly doing it as a
 learning exercise (or perhaps because I'm a masochist), but the machine
may
 be used as a firewall at some point.  I have the OS installed with a
custom
 kernel, and things are actually going quite well.

 There are (of course) some problems though.  Most of the userland
utilities
 work great, but some just dump core.  The one I miss in particular is
groff
 (for manpages, etc).  I suspect that the problems are a result of CPU
 instructions that the poor 386 doesn't understand.

 I do have a separate build machine (soon to be running 5.1 as well), so
I'd
 like to recompile everything (kernel, userland, and
 ports-to-be-made-into-packages) for the 386 with the appropriate flags to
 gcc and friends.  Hopefully that will take care of the issues I'm seeing.

 So my question is, what flags should I use and where should I put them?
I'd
 like to be able to switch easily between builds for the 386 and normal
 builds (for everything else).  Can I just put an override in
/etc/make.conf
 or do I have to futz with /usr/share/mk/bsd.cpu.mk?  (In the case of the
 latter, detailed hints would be appreciated.. I don't grok Make all that
 well yet.)

 Thanks,

 JN

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


3+ TB Storage... CCD, growfs, etc...

2003-06-12 Thread Max Clark
Hi all,

I am looking at the promise ultratrak RM 15000
(http://www.promise.com/product/product_detail_eng.asp?productId=109familyI
d=6) Raid appliance with a 3TB disk configuration. This box connects to the
host with a SCSI 160 interface which is no problem, and as I understand it
UFS2 is 64 bit so I am not constrained by a 2TB filesystem limit. The
smallest size file on this box will be 11GB, and there will be lots of them.

My questions are.
1) What is the maximum filesystem size with UFS2? Are there any special
tuning parameters that I should be aware of that will better optimize the
disk?
2) How much CPU/Ram would be suggested per TB of disk attached?
3) If I wanted to eventually strip two+ of these external boxes what would I
need to do? Given this configuration would Vinum or CCD be better? Why?

Oh... and this will be running Samba to serve these files to windows pc's
over 1Gb copper ethernet.

Thanks in advance,
Max

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


disk geometry problem

2003-06-12 Thread prodigy
Dear freebsd.org:

I got a problem with installation of freebsd v.4.8
I cannot get past the boot manager's F? prompt after installation. Where and How can I 
find out exact disc geometry.
 
Could you help me, please? 

Thank you for response.
Martin

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


Re: 5.1 on a 386

2003-06-12 Thread Bill Moran
Thomas T. Veldhouse wrote:
I could be wrong, but I thought that they finally gave up on 386 support and
now the base minimum is 486.  It could very well be that you can't compile
the system for a 386 without significant modification.
If this is the case, then the hardware notes need updated, I quote:
All Intel processors beginning with the 80386 are supported, including the
80386, ...
... and ...
While technically supported, the use of the 80386SX is specifically not
recommended.
That last sentence is slightly vague.  I assume that they recommend against
the 386 simply because it's not powerful enough to be worthwhile, but it
doesn't say specifically why.
Tom Veldhouse

- Original Message -
From: John Nielsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:25 PM
Subject: 5.1 on a 386


Hi folks-

I am setting up FreeBSD 5.1-RELEASE on a 386DX.  I'm mostly doing it as a
learning exercise (or perhaps because I'm a masochist), but the machine
may

be used as a firewall at some point.  I have the OS installed with a
custom

kernel, and things are actually going quite well.

There are (of course) some problems though.  Most of the userland
utilities

work great, but some just dump core.  The one I miss in particular is
groff

(for manpages, etc).  I suspect that the problems are a result of CPU
instructions that the poor 386 doesn't understand.
I do have a separate build machine (soon to be running 5.1 as well), so
I'd

like to recompile everything (kernel, userland, and
ports-to-be-made-into-packages) for the 386 with the appropriate flags to
gcc and friends.  Hopefully that will take care of the issues I'm seeing.
So my question is, what flags should I use and where should I put them?
I'd

like to be able to switch easily between builds for the 386 and normal
builds (for everything else).  Can I just put an override in
/etc/make.conf

or do I have to futz with /usr/share/mk/bsd.cpu.mk?  (In the case of the
latter, detailed hints would be appreciated.. I don't grok Make all that
well yet.)
Thanks,

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


Re: 5.1 on a 386

2003-06-12 Thread Lowell Gilbert
 Thomas T. Veldhouse wrote:
  I could be wrong, but I thought that they finally gave up on 386 support and
  now the base minimum is 486.  It could very well be that you can't compile
  the system for a 386 without significant modification.

No, it's just that a 386 isn't supported in the base install.  Given
how far the original poster had gotten, he appears to have a better
handle on the details of this issue.

Bill Moran [EMAIL PROTECTED] writes:

 If this is the case, then the hardware notes need updated, I quote:
 All Intel processors beginning with the 80386 are supported, including the
 80386, ...
 ... and ...
 While technically supported, the use of the 80386SX is specifically not
 recommended.
 That last sentence is slightly vague.  I assume that they recommend against
 the 386 simply because it's not powerful enough to be worthwhile, but it
 doesn't say specifically why.

No, the 386SX is a problem because it has no floating point registers
(or any other floating point support, for that matter).  The 386DX
(with the floating point support onboard) is supported just fine, as I
understand it.

The original poster probably needs to go to the -CURRENT mailing list,
where the details of the changed build procedures are understood a
little better than, well, than in my own head...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1 on a 386

2003-06-12 Thread Thomas T. Veldhouse
I recall conversation in current about dropping i386 support.  Still, the
kernel config files back me up.

In GENERIC of the 4.x series

machine i386
cpu I386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC


In GENERIC of the 5.x series

machine i386
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   GENERIC


And I find this in NOTES

#
# You must specify at least one CPU (the one you intend to run on);
# deleting the specification for CPUs you don't need to use may make
# parts of the system run faster.
# I386_CPU is mutually exclusive with the other CPU types.
#
#cpuI386_CPU
cpu I486_CPU
cpu I586_CPU# aka Pentium(tm)
cpu I686_CPU# aka Pentium Pro(tm)

So, support is there, but I wonder how much.

Tom Veldhouse

- Original Message -
From: Bill Moran [EMAIL PROTECTED]
To: Thomas T. Veldhouse [EMAIL PROTECTED]
Cc: John Nielsen [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 2:42 PM
Subject: Re: 5.1 on a 386


 Thomas T. Veldhouse wrote:
  I could be wrong, but I thought that they finally gave up on 386 support
and
  now the base minimum is 486.  It could very well be that you can't
compile
  the system for a 386 without significant modification.

 If this is the case, then the hardware notes need updated, I quote:
 All Intel processors beginning with the 80386 are supported, including
the
 80386, ...
 ... and ...
 While technically supported, the use of the 80386SX is specifically not
 recommended.
 That last sentence is slightly vague.  I assume that they recommend
against
 the 386 simply because it's not powerful enough to be worthwhile, but it
 doesn't say specifically why.

 
  Tom Veldhouse
 
  - Original Message -
  From: John Nielsen [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Thursday, June 12, 2003 2:25 PM
  Subject: 5.1 on a 386
 
 
 
 Hi folks-
 
 I am setting up FreeBSD 5.1-RELEASE on a 386DX.  I'm mostly doing it as
a
 learning exercise (or perhaps because I'm a masochist), but the machine
 
  may
 
 be used as a firewall at some point.  I have the OS installed with a
 
  custom
 
 kernel, and things are actually going quite well.
 
 There are (of course) some problems though.  Most of the userland
 
  utilities
 
 work great, but some just dump core.  The one I miss in particular is
 
  groff
 
 (for manpages, etc).  I suspect that the problems are a result of CPU
 instructions that the poor 386 doesn't understand.
 
 I do have a separate build machine (soon to be running 5.1 as well), so
 
  I'd
 
 like to recompile everything (kernel, userland, and
 ports-to-be-made-into-packages) for the 386 with the appropriate flags
to
 gcc and friends.  Hopefully that will take care of the issues I'm
seeing.
 
 So my question is, what flags should I use and where should I put them?
 
  I'd
 
 like to be able to switch easily between builds for the 386 and normal
 builds (for everything else).  Can I just put an override in
 
  /etc/make.conf
 
 or do I have to futz with /usr/share/mk/bsd.cpu.mk?  (In the case of the
 latter, detailed hints would be appreciated.. I don't grok Make all that
 well yet.)
 
 Thanks,
 
 JN

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com



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


Re: disk geometry problem

2003-06-12 Thread Adam
On Thu, 2003-06-12 at 15:47, prodigy wrote:
 I got a problem with installation of freebsd v.4.8
 I cannot get past the boot manager's F? prompt after installation. Where and How can 
 I find out exact disc geometry.

You can get it in 2 ways:

a) From the system BIOS
b) From the FreeBSD install CD, when setting up your partitions (it
reports the disk geometry at the top of the screen)

Hope this helps,
-- 
Adam [EMAIL PROTECTED]

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


Re: 5.1 on a 386

2003-06-12 Thread John Nielsen
On Thursday 12 June 2003 13:58, Lowell Gilbert wrote:
  Thomas T. Veldhouse wrote:
 Bill Moran [EMAIL PROTECTED] writes:
  If this is the case, then the hardware notes need updated, I quote:
  All Intel processors beginning with the 80386 are supported, including
  the 80386, ...
  ... and ...
  While technically supported, the use of the 80386SX is specifically
  not recommended.
  That last sentence is slightly vague.  I assume that they recommend
  against the 386 simply because it's not powerful enough to be
  worthwhile, but it doesn't say specifically why.

 No, the 386SX is a problem because it has no floating point registers
 (or any other floating point support, for that matter).  The 386DX
 (with the floating point support onboard) is supported just fine, as I
 understand it.

I've wondered about that myself.  My 386DX does appear to be a happy camper.

 The original poster probably needs to go to the -CURRENT mailing list,
 where the details of the changed build procedures are understood a
 little better than, well, than in my own head...

That was my next recourse.  Thanks. :)

JN

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


NAT Question

2003-06-12 Thread Koroush Saraf




  Hi all,

  I'm trying to setup a BSD box to act as a NAT gateway between private net and public 
Internet.  My requirements is to map the src and destination of the packet according 
to a set of rules.

  The BSD box has two public IP addresses. Depending on which interface the packet 
arrives on it will get routed to a different private destination address.

  I'm using ipnat with the following mapping on the NAT box.
  The Nat box has only 1 interface xl0
  the ip addresses of this interface are: 
  public  129.197,244.6/24,129.197.244.7/24, 129.197.244.8/24 
  private 10.77.1.2/24, 10.77.2.2/24

  The servers on the private lan are 10.77.1.1/24 and 10.77.2.1/24 on two different 
subnets.

  to 
  List of active MAP/Redirect filters:
  map xl0 129.197.244.7/32 - 10.77.1.1/32
  map xl0 129.197.244.8/32 - 10.77.2.1/32
  map xl0 10.77.1.1/32 - 129.197.244.7/32
  map xl0 10.77.2.1/32 - 129.197.244.8/32

  However I'm not getting the desired results.

  From a computer with ip address of 129.197.244.2 I ping 129.197.244.8. I expect the 
icmp packet to reach the BSDNAT box and get translated to the 10.77.2.1 address and 
forwarded with src address of 10.77.2.2 out of xl0 to the particular server.  Then the 
server would reply back to 10.77.2.2 and it would get translated back to 129.197.244.2 
with a source address of 129.197.244.8.  But this is not happening.

  If the source of the Ping is a BSD box, the reply comes back as if I was routed to 
the destination server, but in reality its not being routed since the destination 
server doesn't see the packet

  for example:

  ping from Freebsd box

  Pinging 129.197.244.8 with 32 bytes of data:
  Reply from 10.77.2.1: bytes=32 time10ms TTL=255

  But 10.77.2.1 doesn't really see the ping packets.  (verified using tcpdump and the 
delay metric which remains the same whether I ping 129.197.244.6)

  and ping from a windows box doesn't even get translated and times out.

  So In short I need someone to tell me the correct synthax to setup the mapping so 
that I can map any src and dst IP address into any other Src and dst address and 
retain the return path as well.


  thanks for your thoughts in advance,
  ~koroush
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.1 on a 386

2003-06-12 Thread Fernando Gleiser
On 12 Jun 2003, Lowell Gilbert wrote:


 No, the 386SX is a problem because it has no floating point registers
 (or any other floating point support, for that matter).  The 386DX
 (with the floating point support onboard) is supported just fine, as I
 understand it.

No. That's the diference between the 486SX and the 486DX. The 386
never had FP on chip, you need a separate 387. The 386SX is a 386
with a 16-bit data bus, instead of the 32-bit data bus of the 386.


Fer

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


Re: FreeBSD Port/Distribution Installation

2003-06-12 Thread Sukhbinder Singh
Hello,

   I had downloaded the program files into my local disk running freebsd 
but I
am not able to run them. For, example I need to run emacs or netscape I
cannot run them. Can someone please tell the steps of what I need to do in
order to install these programs. They have been downloaded and is in my 
local harddisk.
Any help will be helpful.

Thanks

Singh.
([EMAIL PROTECTED])
_
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: Help routing

2003-06-12 Thread Bill Moran
[Please keep freebsd-questions in the CC]

warren maxwell wrote:
- Original Message -
From: Bill Moran [EMAIL PROTECTED]
warren maxwell wrote:

Im setting up a serial line connection and i am unable to ping because
it says no host. How do i set up my base local address to be 192.168.2.1?
The commands i am running are as follows,
slattach -h -l -n -s 19200 /dev/cuaa0
ifconfig sl0 192.168.2.2 192.168.2.3 up
Do i need to add a route command like this?
route add -net 192.168.2 192.168.2.0 255.255.255.0
Thanks for all the help in advance guys, much appreciated.
Bryan
Check 'netstat -rn' and see if an appropriate route is in
there, if not you'll probably have to add it manually each
time you connect.  It seems that some types of interfaces
create a route automatically (ethernet, for example) while
others don't.
Well i added the route command like this,
route add -net 192.168.2 localhost 255.255.255.0, this allowed me to ping
the 192.168.2.2 side of things but the 192.168.2.3 gave me this error, ping:
sendto: Network dropped connection on reset
Any ideas? Thanks once again in advance, I am a newbie at this linux stuff,
but the one thing I love about is all the help from the community. Thanks :)
Bryan
Please send the complete output of 'ifconfig' and 'netstat -rn'.  I'm wondering
if there is a config problem elsewhere that is causing problems with the
routing.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Port/Distribution Installation

2003-06-12 Thread Bill Moran
Sukhbinder Singh wrote:
Hello,

   I had downloaded the program files into my local disk running freebsd 
but I
am not able to run them. For, example I need to run emacs or netscape I
cannot run them. Can someone please tell the steps of what I need to do in
order to install these programs. They have been downloaded and is in my 
local harddisk.
Any help will be helpful.
Read this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
If that doesn't answer your question, then please ask again with more detail.
It's difficult to understand exactly what you're doing from the description
you provide.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sysinstall debug screen

2003-06-12 Thread Jesse Guardiani
Howdy list,

I've gotten a few errors now at different times from
sysinstall during a package install under 5.1-RELEASE.

Each time it tells me to view the 'debug screen' for
more info. What debug screen? How do I view it?

Thanks!

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


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


FreeBSD 4.7: Perl Questions

2003-06-12 Thread Jason Lieurance
Hello,


I have Freebsd 4.7 and I have perl 5.00503 and I ran 'perl -MCPAN -e
shell' Then at the cpan prompt I ran  install bundle or something and it
started loading a bunch of things but finally it had an error and couldn't
finish. But  now I have my original perl in /usr/bin and another perl in
/usr/local/bin. I don't think the 5.8 finished because of the error but
its there. How do I clear up the perl mess? Should I upgrade to 5.8? I
need some perl modules installed for some programs but I get this error
when I go to install the modules 'don't know how to make
/usr/libdata/perl/5.00503/mach/CORE/opnames.h. Stop'. That's why I'm
trying to upgrade in the first place. Thanks.

-- 
Jason



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


Re: NAT Question

2003-06-12 Thread Bill Moran
[Please wrap your lines around 70 chars or so]

Koroush Saraf wrote:
  Hi all,

  I'm trying to setup a BSD box to act as a NAT gateway between private
 net and public Internet.  My requirements is to map the src and destination
 of the packet according to a set of rules.
  The BSD box has two public IP addresses. Depending on which interface the
 packet arrives on it will get routed to a different private destination
 address.
  I'm using ipnat with the following mapping on the NAT box.
  The Nat box has only 1 interface xl0
  the ip addresses of this interface are: 
  public  129.197,244.6/24,129.197.244.7/24, 129.197.244.8/24 
  private 10.77.1.2/24, 10.77.2.2/24
This is not a particularly good setup.  I hope you aren't expecting this to
act as a firewall or provide any security?  You'd probably be better off
setting up the machines with the IP addresses directly, instead of natting.
Otherwise, get a second NIC ... it's the right thing to do.
Please provide the output of ifconfig.  What you describe above is wrong,
but it's possible that you mistyped it.  If you actually try to have two
IPs on the same NIC that equate to the same network number, your networking
will not work as expected.
  The servers on the private lan are 10.77.1.1/24 and 10.77.2.1/24 on two
 different subnets.
  to 
  List of active MAP/Redirect filters:
  map xl0 129.197.244.7/32 - 10.77.1.1/32
  map xl0 129.197.244.8/32 - 10.77.2.1/32
  map xl0 10.77.1.1/32 - 129.197.244.7/32
  map xl0 10.77.2.1/32 - 129.197.244.8/32

  However I'm not getting the desired results.
You're using the wrong command.  Use rdr.

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


Re: FreeBSD 4.7: Perl Questions

2003-06-12 Thread Bill Moran
Jason Lieurance wrote:
Hello,

I have Freebsd 4.7 and I have perl 5.00503 and I ran 'perl -MCPAN -e
shell' Then at the cpan prompt I ran  install bundle or something and it
started loading a bunch of things but finally it had an error and couldn't
finish. But  now I have my original perl in /usr/bin and another perl in
/usr/local/bin. I don't think the 5.8 finished because of the error but
its there. How do I clear up the perl mess? Should I upgrade to 5.8? I
need some perl modules installed for some programs but I get this error
when I go to install the modules 'don't know how to make
/usr/libdata/perl/5.00503/mach/CORE/opnames.h. Stop'. That's why I'm
trying to upgrade in the first place. Thanks.
I recommend using the ports to install perl modules.

Not knowing exactly what you did, it's difficult to tell you how to clean
it up.  I would suggest backing up /usr/local/bin and then trying to manually
rm any perl directories.  If you delete something you shouldn't you can
restore from backup.
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gnumeric2 Won't Print Properly

2003-06-12 Thread Scott Reese
[Please cc: me in any replies as I'm not currently subscribed to this 
list.  Thank you.]

I can't get Gnumeric to print a simple spreadsheet properly.  It uses 
a font other than the one I've specified (I specified Helvetica and 
it's trying to use a different font for printing for some reason...the 
font it's trying to use also happens to be the first one in the font 
list, if that datapoint helps at all) and the cells come out blank or 
as little squares (this may be due in part to the limitations of the 
font that Gnumeric is trying to print with, though).  Any ideas on how 
to fix this or on who to bug to get this fixed?

I'm running 5.1-RELEASE and I'm using Gnome 2 for my windowing system. 
 Any suggestions or pointers would be greatly appreciated.

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


Re: shell scripting - automating rotation of files in differentdirectories

2003-06-12 Thread Jez Hancock
On Thu, Jun 12, 2003 at 02:58:32PM -0400, Dave [Hawk-Systems] wrote:
 have looked at a couple of the ports for log rotation and such, but none seem to
Maybe cronolog could be useful to you:
/usr/ports/sysutils/cronolog

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


Re: 5.1 on a 386

2003-06-12 Thread Lowell Gilbert
Fernando Gleiser [EMAIL PROTECTED] writes:

 On 12 Jun 2003, Lowell Gilbert wrote:
 
 
  No, the 386SX is a problem because it has no floating point registers
  (or any other floating point support, for that matter).  The 386DX
  (with the floating point support onboard) is supported just fine, as I
  understand it.
 
 No. That's the diference between the 486SX and the 486DX. The 386
 never had FP on chip, you need a separate 387. The 386SX is a 386
 with a 16-bit data bus, instead of the 32-bit data bus of the 386.

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


RE: ipfw + squid

2003-06-12 Thread Doron Shmaryahu
Hi,

This rule works for

00050  7660668   803774726 fwd 127.0.0.1,3128 tcp from any to any 80

what I would suggest is go to www.squid-cache.org and under the FAQ the have
transparent caching with Freebsd. Follow it step by step it works 100%.

Kind Regards

Doron Shmaryahu

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran
Sent: 12 June 2003 08:40 PM
To: Kliment Andreev
Cc: [EMAIL PROTECTED]
Subject: Re: ipfw + squid

Kliment Andreev wrote:
 I have ipfw + squid (ext NIC: fxp0, int NIC: dc0). Squid is listening on
 port 3128.
 
 Using ipfilter I will do
 
 rdr dc0 0/0 port 80 - 127.0.0.1 port 3128 tcp
 
 How can I do this in ipfw
 
 00050 36764 12234591 divert 8668 ip from any to any via fxp0
    00060 00 divert 80 tcp from any to any 3128
 00100  4732 13839892 allow ip from any to any via lo0
 00200 00 deny ip from any to 127.0.0.0/8
 00300 00 deny ip from 127.0.0.0/8 to any
 65000 53018 18345167 allow ip from any to any
 65535 1  328 allow ip from any to any
 
 
 Line 60 doesn't seem to work for me.

Nope.

You don't do it with an IPFW rule, you need to pass instructions to
natd.

The canonical way to do this is in /etc/rc.conf.  Add a line like:
natd_flags=-redirect_port tcp 127.0.0.1:80 3128

If you already have a natd_flags= line in rc.conf, just add that
to it.  Also read the man page on natd for more details.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com

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

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


film-printer

2003-06-12 Thread ingo
hi.

i want to know where to search for people, who are knowing about film-printer and 
raster technology.
i have a polaroid CI5000S and want to know, if theres a driver for freebsd, and how 
the device can work under freebsd.

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


wine/freebsd/kazaa.. (fwd)

2003-06-12 Thread Jason
nobody knows? I asked the wine-users list twice and nobody there answered
either.

-- Forwarded message --
Date: Tue, 10 Jun 2003 20:18:55 -0400 (EDT)
To: [EMAIL PROTECTED]
Subject: wine/freebsd/kazaa.. (fwd)


freebsd fans.. running freebsd 4.8-stable and have
installed wine from
the ports. Wine-20030508.tar.gz
It installed fine and I can run notepad with no problems..
Im running the kazaalite install binary for windows and it gets so far..
then it bombs out with

err:module:BUILTIN32_dlopen failed to load .so lib for builtin
msacm.imaadpcm: Cannot open /usr/local/lib/wine/msacm.imaadpcm.so
err:module:BUILTIN32_dlopen failed to load .so lib for builtin
msacm.msadpcm: Cannot open /usr/local/lib/wine/msacm.msadpcm.so

(I cannot find those files on my system anywhere. btw. where should they
come from?)

I cant find anything useful on google/usenet about this. any ideas?

regards,
Jason
--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
wine-users mailing list
[EMAIL PROTECTED]
http://www.winehq.com/mailman/listinfo/wine-users
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Starting applications

2003-06-12 Thread Rod Person
On Wed, 11 Jun 2003 19:39:15 -0600
Ken Thompson [EMAIL PROTECTED] wrote:

 I have FreeBSD 5.0 installed and working pretty good but being so new to it I 
 find myself a bit lost.
 I used the portinstall webmin command and it looked for all the world like it 
 grabbed the package, compiled it and installed it. Now I can't get it to 
 start and can't seem to find any executible or any command to make it start 
 (service webmin start in Mandrake 9.0).. I have the same problem with Apache, 
 it's not started during boot and I can't figure out how to get it started..
 Can someone rescue me??

/usr/local/sbin/apachectl -start will start apache manually

/usr/local/lib/webmin has the setup script but if you installed from ports it should 
have prompted you with the default port to connect to. Start you web browser and 
connect to http://localhost:portnumber if you set for secure connections use https

Rod

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


FreeBSD 5.0-RELEASE (GENERIC) #0 Xfree86 Version 4.2.1 / X WindowSystem...

2003-06-12 Thread Tom Karnes
When starting X I get a Fatal server error:
(EE) No devices detected.
no screens found
I tried both the Fully graphical XFree 86 configuration tool  the 
Shell-script based XFree86 configuration tool.
The video card is the ELSA Gloria Synergy AGP /w 8 MB vram  the monitor 
is the Nokia Multigraph 445X 21. Attached is the XF86Config.new file 
created with the Shell-script tool.

Tom Karnes
Section ServerLayout
Identifier XFree86 Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/Speedo/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  pex5
Load  record
Load  xie
Load  xtrap
Load  speedo
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol MouseSystems
Option  Device /dev/sysmouse
EndSection

Section Monitor
Identifier   Monitor0
VendorName   Monitor Vendor
ModelNameMonitor Model
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option SWcursor  # [bool]
#Option HWcursor  # [bool]
#Option PciRetry  # [bool]
#Option SyncOnGreen   # [bool]
#Option NoAccel   # [bool]
#Option ShowCache # [bool]
#Option Overlay   # [str]
#Option MGASDRAM  # [bool]
#Option ShadowFB  # [bool]
#Option UseFBDev  # [bool]
#Option ColorKey  # i
#Option SetMclk   # freq
#Option OverclockMem  # [bool]
#Option VideoKey  # i
#Option Rotate# [str]
#Option TexturedVideo # [bool]
#Option Crtc2Half # [bool]
#Option Crtc2Ram  # i
#Option Int10 # [bool]
#Option AGPMode   # i
#Option DigitalScreen # [bool]
#Option TV# [bool]
#Option TVStandard# [str]
#Option CableType # [str]
#Option NoHal # [bool]
#Option SwappedHead   # [bool]
#Option DRI   # [bool]
Identifier  Card0
Driver  mga
VendorName  Matrox
BoardName   MGA G400 AGP
BusID   PCI:4:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
SubSection Display
Depth 1
EndSubSection
SubSection Display
Depth 4
EndSubSection
SubSection Display
Depth 8
EndSubSection
SubSection Display
Depth 15
EndSubSection
SubSection Display
Depth 16
EndSubSection
SubSection Display
Depth 24
EndSubSection
EndSection

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


Two questions (local network and system logs)

2003-06-12 Thread Man Alive
Hello all,

I am setting up a local mail network with no outside connection, just
users on local network emailing each other - can postfix be set up to
do this? I have no registered domain name, so how do I define
domain/host/origin? I have had trouble finding website that explains
how to set up an unconnected mail network with no registered domain
names. If you could explain how to set up these names (a sample
configuration) or point me to the website that helps me to set it up,
I would appreciate it very much.

Secondly, what is the best way to mail all system logs to root mailbox
before they are rotated? Are there any ports that can do that? Or
if better, which is recommended - using crontab -e or setting up a
shell script? Again, either website or sample configuration/script
would help me tremendously.

Best regards,

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


VueScan and FreeBSD's Linux (USB) emulation

2003-06-12 Thread Are Bryne
Hello,

I am trying to get the Linux version of VueScan (http://www.hamrick.com/)
to work under FreeBSD's Linux emulation.

With FreeBSD 4.7-RELEASE-p9, linux_base-7.1_5, and RedHat's
gtk+-1.2.9-4.i386.rpm, it starts and operates ok, except for not finding
any USB devices. I have an Epson USB scanner that operates fine under
Sane, but find the available frontends lacking when wanting to scan
negatives...

Is this supposed to work? I.e., should VueScan and other Linux programs be
able to access USB connected scanners and other devices?

There does not seem to be any major changes to the Linux code further down
the RELENG_4 branch...

Does anyone have any suggestions as to how I could make this work?

Thank you in advance.

Regards,
Are Bryne
[Please keep [EMAIL PROTECTED] CC'd as I am not on the list. Thx.]
-- 
Communiqué DAOffice:   +47 22 44 33 99
Postboks 9050 Grønland   Mobile:+47 900 22 009
NO-0133 Oslo URL: http://www.communique.no
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing to a PS/2 keyboard after install

2003-06-12 Thread Gary Schenk
On Wednesday 11 June 2003 02:30 am, Scott Mitchell wrote:

  Here is dmesg after booting without UserConfig:
 
  Copyright (c) 1992-2002 The FreeBSD Project.
  Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993,
  1994 The Regents of the University of California. All rights
  reserved. FreeBSD 4.7-RELEASE #6: Mon Jun  9 16:47:15 PDT 2003
  [EMAIL PROTECTED]:/usr/src/sys/compile/FUZZ
  Timecounter i8254  frequency 1193182 Hz
  CPU: Pentium III/Pentium III Xeon/Celeron (598.48-MHz 686-class
  CPU) Origin = GenuineIntel  Id = 0x681  Stepping = 1
 
  Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,
 MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory  = 134205440 (131060K
  bytes)
  config di atkbd0
  config di sn0
  config di lnc0
  config di ie0
  config di fe0
  config di cs0
  config q

 OK, I'm still a little confused as to exactly how we got here, but I
 think I'm starting to see what's going on :-)  That 'di atkbd0' line
 above is, erm, disabling the keyboard driver, so you can see below
 that the keyboard controller is detected but no keyboard is actually
 being configured:

 [...snippage...]

  atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0

 The 'di atkbd0' was probably added through UserConfig.  You should be
 able to remove it with 'en atkbd0' in UserConfig or by just deleting
 the 'di atkbd0' line from /boot/kernel.conf.

 What happens when you make this change?  I'd expect the keyboard to
 start working, but I'm not sure there isn't something else strange
 going on here.

That worked! Obviously I am not understanding how UserConfig works. I'll 
work on that.

 Source upgrades (with cvsup) are not as bad as you'd expect, although
 the first one is pretty scary :-)  It's very cool seeing your whole
 system rebuild itself from source.  The handbook covers the whole
 process in great detail.

 5.1 is a great improvement on 5.0, but it'll still have a few rough
 edges. I'd be cautious running it on my only machine, or one I
 couldn't live without if something horrible did happen.

 Cheers,

   Scott

Thanks for your help. It is much appreciated. I'm not sure I would have 
figured this one out on my own. So much to learn.

And I'll think more about going with 5.1.

Gary

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


cinelerra

2003-06-12 Thread ingo
hello.

im seraching for someone who has cinelerra installed on a freebsd.

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


Re: Upgrading 5.0 - 5.1

2003-06-12 Thread cp
 You should *really* use 'make buildkernel' in the toplevel if you're
 combining it with a world update. Recommended procedure:
 ~# cvsup /my/5.1.supfile
 ~# cd /usr/src
 /usr/src# make buildworld
 /usr/src# make buildkernel KERNCONF=yourKERNELname
 /usr/src# make installkernel KERNCONF=yourKERNELname
 /usr/src# reboot
 OK boot -s
 # fsck -p  mount -a
 # ( cd /usr/src  make installworld )
 # reboot
 OK boot
 
 Also read chapter 21 of the Handbook.

I have a related question on this if you would permit.
I just did the same thing (5.0-5.1), I started to follow
the handbook but became concerned in reading posts
on the subject that suggested to installworld prior to
building the kernel and booting. I also do not have
access to the console in any convenient manner so I
knew that it would never come back from
the boot (it would be a week before I could then 
get it up). So I did this:

cvsup (src=all) RELENG_5_1
buildworld
installworld
make buildkernel KERNCONF=MINE

At this point, it won't complete the kernel build and is
showing signs of being unusable (e.g. ipfw show just
dumps core). Is it too late to correct this or is a 
reinstall and reconfigure next week the only option left?

Thanks,
a different Chris than started this thread

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


Re: Upgrading 5.0 - 5.1

2003-06-12 Thread Joshua Oreman
On Thu, Jun 12, 2003 at 06:16:50PM -0700 or thereabouts, cp seemed to write:
  You should *really* use 'make buildkernel' in the toplevel if you're
  combining it with a world update. Recommended procedure:
  ~# cvsup /my/5.1.supfile
  ~# cd /usr/src
  /usr/src# make buildworld
  /usr/src# make buildkernel KERNCONF=yourKERNELname
  /usr/src# make installkernel KERNCONF=yourKERNELname
  /usr/src# reboot
  OK boot -s
  # fsck -p  mount -a
  # ( cd /usr/src  make installworld )
  # reboot
  OK boot
  
  Also read chapter 21 of the Handbook.
 
 I have a related question on this if you would permit.
 I just did the same thing (5.0-5.1), I started to follow
 the handbook but became concerned in reading posts
 on the subject that suggested to installworld prior to
 building the kernel and booting. I also do not have
 access to the console in any convenient manner so I
 knew that it would never come back from
 the boot (it would be a week before I could then 
 get it up). So I did this:
 
 cvsup (src=all) RELENG_5_1
 buildworld
 installworld
 make buildkernel KERNCONF=MINE
 
 At this point, it won't complete the kernel build and is
 showing signs of being unusable (e.g. ipfw show just
 dumps core). Is it too late to correct this or is a 
 reinstall and reconfigure next week the only option left?

I ran into the same thing once. Alas, there is no uninstallworld
target :-)

You *may* be able to get the system usable again, by doing a
upgrade (from sysinstall) back to your old version. If that
works, then build the kernel, install it, reboot, then installworld
and all should be A-OK. But that's only if you're lucky.

-- Josh

 
 Thanks,
 a different Chris than started this thread
 
 ___
 [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/freebsd/kazaa.. (fwd)

2003-06-12 Thread Manuel Rabade - MiG
How do you run wine ?? with a fake windows or with a current windows instalation?

In my case i run wine with a fake windows drive (.wine/c/) and i have to do the
followin steps to get kazaa working in freebsd:

- Copy this dlls from a windows instalation to .wine/c/Windows/System
comctl32.dll
commctrl.dll
shdoclc.dll
shlwapi.dll
wininet.dll
comdlg32.dll
msvcrt.dll
shdocvw.dll
urlmon.dll
- Add to .wine/config the following:

[AppDefaults\\Kazaa.exe\\DllOverrides]
commctrl = native
comctl32 = native
comdlg32 = native
msvcrt = native
shdoclc = native
shdocvw = native
shlwapi = native
urlmon = native
wininet = native
rasapi32 = native

- Run the instalation of Kazza (i am currently working with Kazaa Lite Retro
Edition 1.7.2, i tired to install Kazaa Lite 2.x but seems to be a problem
with the port of wine, and i can't run Kazaa 2.x, but a friend can run it
on Linux).

- Enjoy it ¡¡, to run Kazaa:

wine $HOME/.wine/c/Windows/Program Files/Kazaa Lite/Kazaa.exe


Note: to get working the initial config and all the hierarchy of the fake
windows, you could try to install 'linux-winetools' (also in ports), and
create the initial .wine hierarchy and config file with it.

In one month i will make a guide of this and publish it.

Also i have a tgz with the .wine directory with dll's, config file and kazaa already
installed, (ready to untar it and run kazaa), if you want this, drop me a line (in
a month i will put it online also).


On Thu, Jun 12, 2003 at 06:51:40PM -0400, Jason wrote:
 nobody knows? I asked the wine-users list twice and nobody there answered
 either.
 
 -- Forwarded message --
 Date: Tue, 10 Jun 2003 20:18:55 -0400 (EDT)
 To: [EMAIL PROTECTED]
 Subject: wine/freebsd/kazaa.. (fwd)
 
 
 freebsd fans.. running freebsd 4.8-stable and have
 installed wine from
 the ports. Wine-20030508.tar.gz
 It installed fine and I can run notepad with no problems..
 Im running the kazaalite install binary for windows and it gets so far..
 then it bombs out with
 
 err:module:BUILTIN32_dlopen failed to load .so lib for builtin
 msacm.imaadpcm: Cannot open /usr/local/lib/wine/msacm.imaadpcm.so
 err:module:BUILTIN32_dlopen failed to load .so lib for builtin
 msacm.msadpcm: Cannot open /usr/local/lib/wine/msacm.msadpcm.so
 
 (I cannot find those files on my system anywhere. btw. where should they
 come from?)
 
 I cant find anything useful on google/usenet about this. any ideas?
 
 regards,
 Jason
 --
 43rd Law of Computing:
   Anything that can go wr
 fortune: Segmentation violation -- Core dumped
 ___
 wine-users mailing list
 [EMAIL PROTECTED]
 http://www.winehq.com/mailman/listinfo/wine-users
 ___
 [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]


undefined reference

2003-06-12 Thread Steve Bertrand
Hi all,

Here late trying to upgrade 4.3 RELENG_4 and getting an error that does
not seem to be solved anywhere. (at least with a solid answer).

I was getting the error while # make buildworld while doing the games, but
I moved that directory, and the same error occurs:

undefined reference to `_stderrp`
undefined reference to `_stdinp`

I can see that this is a global thing, is there a # make flag I can set to
alleviate this issue? Or would it be recommended to upgrade to a release
closer to 4.3 and then jump again to 4.8 (releng) ?

Tks.

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


Re: * FreeBSD AntiVirus Solutions *

2003-06-12 Thread Olivier Nicole
  Sophos (from what they claim) and Kaspersky (to a lesser extend) will
  provide updates on the hour basis (I do automatic update every other
  hour). That makes a huge difference on th einsecure window.
 
 I can vouch for Sophos doing this.  I got an email about the Bugbear-B
 from Sophos telling me to update my profiles to get protection before
 I heard about it from anywhere else.

I recommend that you do some automatic download of update (at least
once a day). Waiting for the information email may be just a little
bit too late :))

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


Re: Gnumeric2 Won't Print Properly

2003-06-12 Thread Joe Marcus Clarke
On Thu, 2003-06-12 at 17:13, Scott Reese wrote:
 [Please cc: me in any replies as I'm not currently subscribed to this 
 list.  Thank you.]
 
 I can't get Gnumeric to print a simple spreadsheet properly.  It uses 
 a font other than the one I've specified (I specified Helvetica and 
 it's trying to use a different font for printing for some reason...the 
 font it's trying to use also happens to be the first one in the font 
 list, if that datapoint helps at all) and the cells come out blank or 
 as little squares (this may be due in part to the limitations of the 
 font that Gnumeric is trying to print with, though).  Any ideas on how 
 to fix this or on who to bug to get this fixed?
 
 I'm running 5.1-RELEASE and I'm using Gnome 2 for my windowing system. 
   Any suggestions or pointers would be greatly appreciated.

What version of Gnumeric are you using?  How do you know what font is
being used for printing?

Joe

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




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


Re: Upgrading 5.0 - 5.1

2003-06-12 Thread Bill Moran
cp wrote:
You should *really* use 'make buildkernel' in the toplevel if you're
combining it with a world update. Recommended procedure:
~# cvsup /my/5.1.supfile
~# cd /usr/src
/usr/src# make buildworld
/usr/src# make buildkernel KERNCONF=yourKERNELname
/usr/src# make installkernel KERNCONF=yourKERNELname
/usr/src# reboot
OK boot -s
# fsck -p  mount -a
# ( cd /usr/src  make installworld )
# reboot
OK boot
Also read chapter 21 of the Handbook.


I have a related question on this if you would permit.
I just did the same thing (5.0-5.1), I started to follow
the handbook but became concerned in reading posts
on the subject that suggested to installworld prior to
building the kernel and booting. I also do not have
access to the console in any convenient manner so I
knew that it would never come back from
the boot (it would be a week before I could then 
get it up). So I did this:

cvsup (src=all) RELENG_5_1
buildworld
installworld
make buildkernel KERNCONF=MINE
Wow.  Don't do this.  Here's the reason:
Running kernel and world out of sync can potentially cause
all sorts of problems (and usually does).  The buildworld,
buildkernel, installkernel, reboot, installworld sequence
is designed to specifically reduce the chances of getting
you into a corner you can't back out of.
For example:
make buildworld
make buildkernel
 anywhere before this point, if you have problems or change
  your mind, you just delete /usr/obj and everything is
  back to normal
make installkernel
 After this point, reverting consists of copying kernel.old
  back to kernel and /modules.old back to /modules
reboot into single user mode
 if the new kernel doesn't boot, you can boot kernel.old and
  follow the steps above to get things back to where they were
make installworld
 If you got this far ... chances are everything went well and
  you'll have no reason to revert.
At this point, it won't complete the kernel build and is
showing signs of being unusable (e.g. ipfw show just
dumps core). Is it too late to correct this or is a 
reinstall and reconfigure next week the only option left?
I would suggest recvsupping to RELENG_5_0 and try the buildworld,
buildkernel again ... if they both succeed, continue with the
installkernel, reboot, installworld process and you should be
back to a fully functioning 5.0 system
I actually had to do this once, and it worked.
From there, you should be able to do the 5.0 - 5.1 upgrade
process again.
Even better, if you know the exact date of the sources used to
build the kernel that's currently running, you can use the date
keyword to cvsup sources to exactly that date.  That would be
even safer:
*default release=cvs date=2003.03.23.10.00.00
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >