freebsd urdu support

2004-01-22 Thread S H A N
hi,
i am interested in developing urdu language support for FreeBSD. my questions 
are:

- where to kickoff for such a development?
- are there any pointers for internationalization of freebsd? (mailling list, 
websites etc..)

thanks  rgds,

S H A N

Seeing yourself as you want to be is the key to personal growth.
- Unknown 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail help?

2004-01-22 Thread Adam Bozanich

Hi all.  I am having a really hard time getting sendmail to work for me.
I have a dial up DSL account that gives me an outgoing smtp account that
requires smtp authentication.

For now, I'd simply like to be able to send mail from this local machine.
I think the problem I am having is that the from: field in emails still
has my local user name, rather than the one required by my isp.

Here is the sendmail section of /etc/rc.conf:

###  Mail Transfer Agent (MTA) options  ##
##

mta_start_script=/etc/rc.sendmail
# Script to start your chosen MTA, called by /etc/rc.
# Settings for /etc/rc.sendmail:
sendmail_flags=-L sm-mta -bd  # Flags to sendmail (as a server)
sendmail_submit_enable=YES# Start a localhost-only MTA for mail submission
sendmail_submit_flags=-L sm-mta -bd -ODaemonPortOptions=Addr=localhost
# Flags for localhost-only MTA
sendmail_outbound_enable=YES  # Dequeue stuck mail (YES/NO).
sendmail_outbound_flags=-L sm-queue -q1m  # Flags to sendmail (outbound only)
sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO).
# sendmail _msp_queue_flags=-L sm-msp-queue -Ac -q30m
sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q1m 



I don't really understand this at all.  I changed the -q1m parts because
I don't want sendmail to wait to send stuff... but I'm not sure if I should
have.

What does sendmail_msp_que do?  Do I need it?


Here is the configuration I am using.  I have added 'authinfo' to the hashes
that the makefile looks after.

I hope someone can help, I'm stuck.

Thanks,
Adam

VERSIONID(`kayak.mc')dnl
OSTYPE(freebsd5)dnl

undefine(`UUCP_RELAY')dnl
undefine(`BITNET_RELAY')dnl

define(`ALIAS_FILE', `/etc/mail/aliases')dnl
define(`SMART_HOST',`smtp.sbcglobal.yahoo.com')dnl
define(`confCON_EXPENSIVE',`True')dnl
define(`SMTP_MAILER_FLAGS',`e')dnl
define(`confAUTH_MECHANISMS',`CRAM-MD5 PLAIN LOGIN')dnl

FEATURE(`authinfo',`hash -o /etc/mail/authinfo')dnl

define(`confTO_QUEUEWARN',`')dnl
define(`confTO_INITIAL',`10s')dnl
define(`confTO_CONNECT',`10s')dnl
define(`confTO_ICONNECT',`10s')dnl
define(`confCW_FILE',`/etc/mail/local-host-names')dnl


FEATURE(`always_add_domain')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`nocanonify')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(genericstable, `hash -o /etc/mail/genericstable')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/genericsdomain')dnl

FEATURE(`access_db')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`accept_unresolvable_domains')dnl

MAILER(`local')dnl
MAILER(`smtp')dnl

#
# aliases:
#
root:   [EMAIL PROTECTED]
etc...

#
# genericstable:
#

# who is who on the outside
adam [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

root [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

#
# local-host-names:
#

localhost
kayak
kayak.flatland
localhost.flatland

#
# genericsdomain
#

localhost
kayak
kayak.flatland
localhost.flatland

#
# authinfo:
#

AuthInfo:my_isp.net I:[EMAIL PROTECTED] P:Pass


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


ipsec in transport mode

2004-01-22 Thread Antony Pyatkov
Hi!
I'm trying to establish ipsec communication between FreeBSD 5.1 server 
and Win2k client.
I've recompiled kernel to support ipsec, installed racoon and spd using 
setkey.
Here is my config files:
---
ipsec.conf:

spdadd 194.186.33.213/32 24.81.230.61/32 any -P in ipsec 
esp/transport//require;
spdadd 24.81.230.61/32 194.186.33.213/32 any -P out ipsec 
esp/transport//require;
---
racoon.conf:

# $KAME: racoon.conf.in,v 1.18 2001/08/16 06:33:40 itojun Exp $

#
# search this file for pre_shared_key with various ID key.
path pre_shared_key /usr/local/etc/racoon/psk.txt ;
# racoon will look for certificate file in the directory,
# if the certificate/certificate request payload is received.
#path certificate /usr/local/etc/cert ;
# log specifies logging level.  It is followed by either notify, debug
# or debug2.
log debug2;
# padding defines some parameter of padding.  You should not touch these.

padding
{
   maximum_length 20;  # maximum padding length.
   randomize off;  # enable randomize length.
   strict_check off;   # enable strict check.
   exclusive_tail off; # extract last one octet.
}
# if no listen directive is specified, racoon will listen to all
# available interface addresses.
listen
{
   #isakmp ::1 [7000];
   #isakmp 202.249.11.124 [500];
   #admin [7002];  # administrative's port by kmpstat.
   #strict_address;# required all addresses must be bound.
}
# Specification of default various timer.
timer
{
   # These value can be changed per remote node.
   counter 5;  # maximum trying count to send.
   interval 20 sec;# maximum interval to resend.
   persend 1;  # the number of packets per a send.
   # timer for waiting to complete each phase.
   phase1 30 sec;
   phase2 15 sec;
}
remote anonymous
{
   exchange_mode main,aggressive,base;
   #doi ipsec_doi;
   #situation identity_only;
   #nonce_size 16;
   #lifetime time 30 min;  # sec,min,hour
   #initial_contact on;
   #support_mip6 on;
   #proposal_check obey;   # obey, strict or claim
   proposal {
   encryption_algorithm des;
   hash_algorithm md5;
   authentication_method pre_shared_key ;
   dh_group 1 ;
   }
}
sainfo anonymous
{
   pfs_group 1;
   #lifetime time 36000 sec;
   encryption_algorithm 3des,des,cast128,blowfish;
   authentication_algorithm non_auth,hmac_sha1,hmac_md5;
   compression_algorithm deflate ;
}


While connecting racoon says the following:

2004-01-22 00:04:36: DEBUG: isakmp.c:221:isakmp_handler(): ===
2004-01-22 00:04:36: DEBUG: isakmp.c:222:isakmp_handler(): 216 bytes 
message received from 194.186.33.213[500]
2004-01-22 00:04:36: DEBUG: plog.c:193:plogdump():
9df7e197 e3040472   01100200  00d8 0da4
0001 0001 0098 01010004 0324 0101 80010005 80020002
80040002 80030001 800b0001 000c0004 7080 0324 0201 80010005
80020001 80040002 80030001 800b0001 000c0004 7080 0324 0301
80010001 80020002 80040001 80030001 800b0001 000c0004 7080 0024
0401 80010001 80020001 80040001 80030001 800b0001 000c0004 7080
0018 1e2b5169 05991c7d 7c96fcbf b587e461 0002
2004-01-22 00:04:36: DEBUG: isakmp.c:2248:isakmp_printpacket(): begin.
04:36.449884 194.186.33.213:500 - 24.81.230.61:500: isakmp 1.0 msgid 
 cookie 9df7e197e3040472-: phase 1 I ident:
   (sa: doi=ipsec situation=identity
   (p: #1 protoid=isakmp transform=4
   (t: #1 id=ike (type=enc value=3des)(type=hash 
value=sha1)(type=group desc value=modp1024)(type=auth 
value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 
value=7080))
   (t: #2 id=ike (type=enc value=3des)(type=hash 
value=md5)(type=group desc value=modp1024)(type=auth 
value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 
value=7080))
   (t: #3 id=ike (type=enc value=1des)(type=hash 
value=sha1)(type=group desc value=modp768)(type=auth 
value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 
value=7080))
   (t: #4 id=ike (type=enc value=1des)(type=hash 
value=md5)(type=group desc value=modp768)(type=auth 
value=preshared)(type=lifetype value=sec)(type=lifeduration len=4 
value=7080
   (vid: len=20)
2004-01-22 00:04:36: DEBUG: remoteconf.c:129:getrmconf(): anonymous 
configuration selected for 194.186.33.213[500].
2004-01-22 00:04:36: DEBUG: isakmp.c:889:isakmp_ph1begin_r(): ===
2004-01-22 00:04:36: INFO: isakmp.c:894:isakmp_ph1begin_r(): respond new 
phase 1 negotiation: 24.81.230.61[500]=194.186.33.213[500]
2004-01-22 00:04:36: INFO: isakmp.c:899:isakmp_ph1begin_r(): begin 
Identity Protection mode.
2004-01-22 00:04:36: DEBUG: isakmp.c:1112:isakmp_parsewoh(): begin.
2004-01-22 00:04:36: DEBUG: 

Re: arp problem in /var/log/messages

2004-01-22 Thread Kenneth Sundby
From: Jack L. Stone [EMAIL PROTECTED]
 BTW, the Windows machines never did resolve the new NIC MAC after several
 hours, but the FBSD's did within about an hour. Lesson learned.

You can use arp -d * to delete the arp cache on windows.

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


compiling apach2 for freebsd

2004-01-22 Thread Didier WIROTH
Hi,

I'm using a smp freebsd 5.2 test server.

I would like to compile apache2 with --with-mpm. Which process model would
you recommand for freebsd 5.2 and a SMP enabled kernel:

MPM={beos|worker|prefork|mpmt_os2|perchild|leader|threadpool}

Many thanks for the advice

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


Thank you

2004-01-22 Thread Khoi - San Zulu
Good day.

I would like to extend to you, whomever you are, my
heartfelt gratitude for this operating system. 

I come from a poor community in the heart of South
Africa. I learned about computers and how they work,
using Microsoft operating systems. I have had no
experience with any other operating system besides
this.

Windows NT, 2000 and XP. I was given a copy of FreeBSD
release 5.0 by a gentleman I happened to meet whom is
into the Unix Operating system. He gave me 2 CD-Rom
disks and 2 Stiffy disks. I have read your site, I
found it most informative. I installed the FreeBSD
Operating System onto a Pentium II computer. It worked
first time, Great  I searched on Google for
commands and have found some. 

I searched your site, but my burning question is, How
do I start the Graphical Interfaces, KDE and Gnome? I
did a Custom Installation following the directions of
the website. I installed all the packages and Ports. I
want to learn everything. 

I am of the understanding that the Operating System
loves command line. I dont feel that I am at that
level yet to configure from the command line. An old
adage in South AFrica goes, work from what you know,
to what you don't know. I want to learn everything
about the Operating System. I see its Potential is
GREAT So much can be done for the people who
cannot afford old or new computers never mind the
licenses for the Other operating systems here like
Novell and Microsoft.  I desperately want to learn
about this. I have come to an internet cafe to educate
myself further. My problem is that resources are
limited here regarding our access to Alternative
Operating Systems and equipment. The potential that
the discovery of this Operating System and what it
offers makes me salivate with happiness. I can make a
meal of this and do so many things within the
community along the lines of empowerment I have
heard about Linux, but have read from a few sources
that the FreeBSD Operating system is amongst the more
secure out there as well as that FreeBSD 5.0 has the
ability to emulate linux. So In my understanding I get
multiple Operating Systems, with Multiple capabilities
all roled into 1 ( well 2 disks!).

Please help in this regard. If possible, please help
me with the commands or where I can find them!!!  I
would appreciate this greatly  

Thank You so much for this Operating. Please pass this
on to whomever is concerned. My compliments and
gratitude to one and all 

Thanking You as well as hoping for a favourable
response. 

Yours Sincerely 
Adam   

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with foppy drive

2004-01-22 Thread
Hello friend

I did everything you wrote about and it didn't help me.
dmesg did not change at all so floppy drive didn't work.
All PnP options was disable from the hole beginning and they are disable
and now.
But I fount in BIOS one option :OnBoard FDC.
I disabled it and found that some things have changed in dmesg.boot.
There disappeared lines with some fdc0 errors (i send it in this e-mail)

Also I send you my kernel configuration maybe i should write or delete some
lines there.



-dmesg-

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Wed Jan 21 16:35:32 MSK 2004
root@:/usr/src/sys/i386/compile/NovAD3c
Preloaded elf kernel /boot/kernel/kernel at 0xc050b000.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1817950912 Hz
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz (1817.95-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf24  Stepping = 4
  
Features=0x3febf9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
real memory  = 536805376 (511 MB)
avail memory = 515895296 (491 MB)
Pentium Pro MTRR support enabled
acpi0: AMIINT INTEL845 on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 6 entries at 0xc00f78a0
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 
0xc150ed20), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 
0xc150ec60), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0._CRS] (Node 
0xc150ec60), AE_AML_REGION_LIMIT
can't fetch resources for \\_SB_.PCI0 - AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.MDET] (Node 
0xc150ed20), AE_AML_REGION_LIMIT
ACPI-1287: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 
0xc4046a20), AE_AML_REGION_LIMIT
ACPI-0175: *** Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 
0xc4046a20), AE_AML_REGION_LIMIT
can't fetch resources for \\_SB_.MEM_ - AE_AML_REGION_LIMIT
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel 82845 host to AGP bridge mem 0xe000-0xe7ff at device 0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
pcm0: Creative EMU10K1 port 0xc800-0xc81f irq 12 at device 3.0 on pci2
pcm0: SigmaTel STAC9708/11 AC97 Codec
pci2: simple comms at device 4.0 (no driver attached)
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH2 UDMA100 controller port 0xfc00-0xfc0f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: Intel 82801BA/BAM (ICH2) USB controller USB-A port 0xe800-0xe81f irq 12 at 
device 31.2 on pci0
usb0: Intel 82801BA/BAM (ICH2) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: serial bus, SMBus at device 31.3 (no driver attached)
uhci1: Intel 82801BA/BAM (ICH2) USB controller USB-B port 0xec00-0xec1f irq 10 at 
device 31.4 on pci0
usb1: Intel 82801BA/BAM (ICH2) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
npx0: math processor on motherboard
npx0: INT 16 interface
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
pcic0 at port 0x3e0 iomem 0xd-0xd1fff irq 5 on isa0
pcic_attach: attach found no sockets
device_probe_and_attach: pcic0 attach returned 6
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 38166MB ST340016A [77545/16/63] at ata0-master UDMA100
acd0: CD-RW YAMAHA CRW3200E at ata1-master PIO4
acd1: CDROM ASUS CD-S500/A at ata1-slave PIO4
Mounting root 

Re: freebsd urdu support

2004-01-22 Thread Khairil Yusof
On Thu, 2004-01-22 at 15:30 +0800, S H A N wrote:

 - are there any pointers for internationalization of freebsd? 
 (mailling list, websites etc..)

http://lists.freebsd.org/mailman/listinfo/freebsd-i18n

If you're interested in translating the handbook and articles:
http://www.freebsd.org/docproj/

-- 
You keep using that word. I do not think it means what you think it
means. 

FreeBSD 5.2-CURRENT i386 
5:15pm up 6:58, 2 users, load averages: 0.59, 0.96, 0.92

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


NTP doesn't work behind IPF firewall?

2004-01-22 Thread Edward Aronyk
Good day all,

I'm attempting to setup NTP on two FreeBSD servers. To maximize security, I
have configured NTP to only synchronize itself from a few other servers, and
not offer NTP to other servers. The server runs IPF, which also blocks
access to NTP. The problem is, the servers don't seem to update the time at
all. I know ntp is running because it updates the driftfile, and ps shows
it's active:

# ps -aux | grep ntp
root   81  0.0  0.2  1328  960  ??  Ss9Jan04   1:06.65
/usr/sbin/ntpd -p /var/run/ntpd.pid
root   83  0.0  0.2  1364  992  ??  S 9Jan04   0:15.67
/usr/sbin/ntpd -p /var/run/ntpd.pid
root47532  0.0  0.0   304  164  p0  R+2:14AM   0:00.00 grep ntp

I can't seem to connect to it locally, however:

# ntpq -p
127.0.0.1: timed out, nothing received
***Request timed out

It is properly started from rc.conf:

# cat /etc/rc.conf | grep ntp
xntpd_enable=YES

And it does seem to be started during bootup:

# cat /var/log/messages | grep ntp
Jan  4 01:27:43 boudica /kernel: IOAPIC #0 intpin 2 - irq 0
Jan  4 01:27:43 boudica /kernel: APIC_IO: routing 8254 via IOAPIC #0 intpin
2
Jan  4 01:27:43 boudica ntpd[82]: ntpd 4.1.0-a Mon Oct 13 17:59:47 MDT 2003
(1)
Jan  4 01:27:43 boudica ntpd[82]: kernel time discipline status 2040
Jan  9 20:51:21 boudica /kernel: IOAPIC #0 intpin 2 - irq 0
Jan  9 20:51:21 boudica /kernel: APIC_IO: routing 8254 via IOAPIC #0 intpin
2
Jan  9 20:51:21 boudica ntpd[81]: ntpd 4.1.0-a Mon Oct 13 17:59:47 MDT 2003
(1)
Jan  9 20:51:21 boudica ntpd[81]: kernel time discipline status 2040

Does anyone have any advice? I'd prefer to leave the NTP port closed if
possible. This problem is present for me on both FreeBSD 4.8 and 5.1. I have
included my NTP configuration and IPF ruleset below incase it helps anyone.

---ntp.conf---
# cat /etc/ntp.conf
server subitaneous.cpsc.ucalgary.ca prefer
server tick.mit.edu
server ntp1.cmc.ec.gc.ca
server ntp2.cmc.ec.gc.ca
server clock1.unc.edu

driftfile /etc/ntp.drift

restrict default ignore

---ntp.drift---
# cat /etc/ntp.drift
0.000

---ipf.rules---
# cat /etc/ipf.rules
# Default deny
block in on fxp0

# Pass in and out on loopback
pass in quick on lo0
pass out quick on lo0

# Anti-spoofing
block in quick on fxp0 from 192.168.0.0/16 to any
block in quick on fxp0 from 172.16.0.0/12 to any
block in quick on fxp0 from 10.0.0.0/8 to any
block in quick on fxp0 from 127.0.0.1/8 to any
block in quick on fxp0 from 0.0.0.0/8 to any

# Allow certain useful ICMP packets
pass in quick on fxp0 proto icmp from any to any icmp-type 0
pass in quick on fxp0 proto icmp from any to any icmp-type 8
pass in quick on fxp0 proto icmp from any to any icmp-type 11
block in log quick on fxp0 proto icmp from any to any

# Allow outbound connections
pass out quick on fxp0 proto tcp/udp from any to any keep state
pass out quick on fxp0 proto icmp from any to any keep state

# Allow inbound useful packets
pass in quick on fxp0 proto tcp from any to any port = 22 flags S keep state
keep frags # SSH
pass in quick on fxp0 proto tcp from any to any port = 25 flags S keep state
keep frags # SMTP
pass in quick on fxp0 proto tcp from any to any port = 80 flags S keep state
keep frags # HTTP
pass in quick on fxp0 proto tcp from any to any port = 110 flags S keep
state keep frags # POP
pass in quick on fxp0 proto tcp from any to any port = 143 flags S keep
state keep frags # IMAP
pass in quick on fxp0 proto tcp from any to any port = 993 flags S keep
state keep frags # IMAP/SSL



Thanks for your time,
Edward Aronyk
[EMAIL PROTECTED]

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


Re: ideas for an old BSD laptop?

2004-01-22 Thread anubis
On Wed, 21 Jan 2004 8:36 am, Jonathon McKitrick wrote:
 Hi all,

 I haven't used my infamous Toshiba Satellite with FreeBSD 4.8 very much
 since I got my desktop system with a flatscreen.  I'm trying to think of
 something interesting to do with it now.  I don't really need a separate
 firewall, and it doesn't make sense to use it as a fileserver.  With a ppp
 connection, it couldn't easily be a webserver either.

 Any ideas on something interesting to use it for?  Maybe some kind of
 learning experience?

 NOTE: Please CC me, as I am not currently subscribed.  Thanks.

 jm

We have an old laptop and are going to turn it into a music on hold service 
for our pabx.  

Will be uploading files to it via ftp and running a cron job to list all files 
in the ftp directory and start playing them.  People can listen while on hold 
or we can listen in on the loudspeaker on the phone.

There are plenty of command line driven players out there I am sure.

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


Looking for C example of ARP lookup on FreeBSD

2004-01-22 Thread Laslett, Greg

Hi,

The code that is being ported uses the 'ioctl' method to request a MAC address.
eg:
struct arpreqReqARP;
struct sockaddr_in  *pAddr_in;
SOCKET s;
.
.
s = socket(AF_INET, SOCK_DGRAM, 0);
ioctl(s, SIOCGARP, ReqARP);
.
.

This does not appear to be supported under FreeBSD.  Presumably a sysctl or other 
mechanism exists.

Can anyone provide a code fragment showing IP4 to MAC address translation.

Thanks,
Greg.

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


RE: NTP doesn't work behind IPF firewall?

2004-01-22 Thread Scott Mitchell
[EMAIL PROTECTED] wrote:
 I know ntp is running because it updates the driftfile,
 and ps shows it's active:
 
 # ps -aux | grep ntp
 root   81  0.0  0.2  1328  960  ??  Ss9Jan04   1:06.65
 /usr/sbin/ntpd -p /var/run/ntpd.pid
 root   83  0.0  0.2  1364  992  ??  S 9Jan04   0:15.67
 /usr/sbin/ntpd -p /var/run/ntpd.pid
 root47532  0.0  0.0   304  164  p0  R+2:14AM 0:00.00 grep
 ntp 

I'm not sure why you have 2 ntpd processes running there - I only ever see
one:

(505) llama:~ $ ps uaxww | grep ntpd
root 77934  0.0  0.2  1312  900  ??  Ss   Sun04pm   0:12.45
/usr/sbin/ntpd -p /var/run/ntpd.pid

I'd suggest killing both of those ntpd processes and starting it up again.
Actually, before you restarting, try manually synchronising with one of your
servers, eg:

# ntpdate subitaneous.cpsc.ucalgary.ca

That will at least tell you that you can talk NTP with this server.  I
assume all the servers in your ntp.conf are public ones that your host is
allowed to use?

The firewall rules look OK, although you might want to add 'log' to your
default block rule while diagnosing a problem like this, so you'll be told
if ipf is blocking any of the packets you're interested in.

Scott

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


DHCP and multiple vlans

2004-01-22 Thread Guy Antony Halse
I'm trying to configure a FreeBSD 5.1-RELEASE system to act as the default
gateway for several virtual lans.  I've got two NICs in the box, one which
supplies the uplink, and one which has about 40 vlan(4) vlans on it.

I was trying to run isc-dhcp3's dhcrelay to relay DHCP messages to our DHCP
server when I ran into a problem.  Only the first ten vlans (vlan0 through
vlan9) are serviced by dhcrelay.

I originally thought that this was a dhcrelay limitation, so I tried using
the wide-dhcp relay as well.  The same problem occurs, but with a useful
error message if I try and configure more than ten vlans:

 [EMAIL PROTECTED]:~# relay -d vlan1 vlan2 vlan3 vlan4 vlan5 vlan6 vlan7 vlan8 vlan9
 ^C 
 [EMAIL PROTECTED]:~# relay -d vlan1 vlan2 vlan3 vlan4 vlan5 vlan6 vlan7 vlan8 vlan9 
vlan10
 relay[15320]: can't open bpf in open_if()
 [EMAIL PROTECTED]:~#

It appears to me that there is a limit of ten bpf devices somewhere.  This
is backed up by what I see in dhcrelay.

So the question is how do I overcome this limitation?

In FreeBSD 4.x you used to specify the number of BPF devices in the kernel
configuration pseudo-device line.  That doesn't appear to be the case now.

I tried creating more BPF devices in /dev - I now have 80 /dev/bpf* entries,
but that didn't help.

Any assistance would be appreciated.

- Guy
-- 
Systems Manager, IT Division, Rhodes University, Grahamstown, South Africa
Email: [EMAIL PROTECTED]   Web: http://mombe.org/  IRC: [EMAIL PROTECTED]
*** ANSI Standard Disclaimer ***   J.A.P.H

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


Re: Thank you

2004-01-22 Thread Kent Stewart
On Thursday 22 January 2004 12:44 am, Khoi - San Zulu wrote:
 Good day.

 I would like to extend to you, whomever you are, my
 heartfelt gratitude for this operating system.

 I come from a poor community in the heart of South
 Africa. I learned about computers and how they work,
 using Microsoft operating systems. I have had no
 experience with any other operating system besides
 this.

 Windows NT, 2000 and XP. I was given a copy of FreeBSD
 release 5.0 by a gentleman I happened to meet whom is
 into the Unix Operating system. He gave me 2 CD-Rom
 disks and 2 Stiffy disks. I have read your site, I
 found it most informative. I installed the FreeBSD
 Operating System onto a Pentium II computer. It worked
 first time, Great  I searched on Google for
 commands and have found some.

 I searched your site, but my burning question is, How
 do I start the Graphical Interfaces, KDE and Gnome? I
 did a Custom Installation following the directions of
 the website. I installed all the packages and Ports. I
 want to learn everything.

I don't know about gnome but for KDE, add the line 
exec startkde 
in to a local file called .xinitrc. There are ways to make it startup 
at login but I choose to type startx at the command line.

Kent


 I am of the understanding that the Operating System
 loves command line. I dont feel that I am at that
 level yet to configure from the command line. An old
 adage in South AFrica goes, work from what you know,
 to what you don't know. I want to learn everything
 about the Operating System. I see its Potential is
 GREAT So much can be done for the people who
 cannot afford old or new computers never mind the
 licenses for the Other operating systems here like
 Novell and Microsoft.  I desperately want to learn
 about this. I have come to an internet cafe to educate
 myself further. My problem is that resources are
 limited here regarding our access to Alternative
 Operating Systems and equipment. The potential that
 the discovery of this Operating System and what it
 offers makes me salivate with happiness. I can make a
 meal of this and do so many things within the
 community along the lines of empowerment I have
 heard about Linux, but have read from a few sources
 that the FreeBSD Operating system is amongst the more
 secure out there as well as that FreeBSD 5.0 has the
 ability to emulate linux. So In my understanding I get
 multiple Operating Systems, with Multiple capabilities
 all roled into 1 ( well 2 disks!).

 Please help in this regard. If possible, please help
 me with the commands or where I can find them!!!  I
 would appreciate this greatly

 Thank You so much for this Operating. Please pass this
 on to whomever is concerned. My compliments and
 gratitude to one and all 

 Thanking You as well as hoping for a favourable
 response.

 Yours Sincerely
 Adam

 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free web site building tool. Try it!
 http://webhosting.yahoo.com/ps/sb/
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Kent Stewart
Richland, WA

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

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


C programming: ADT support

2004-01-22 Thread r t g tan
Hi,

I'm looking for some ADT's  like lists trees and
such, to be used in C programs. 

Is there a librarie out there?

Tnx,

---
robert t g tan

pgp0.pgp
Description: PGP signature


Newbie Graphic card question

2004-01-22 Thread Gafgo
Hello. I am trying to install v 5.2 on my new computer. I have done 
succesful installations on my old computer where everything worked 
perfect. My problem now is that I can´t find my graphic card when I am 
conf Xfree86. I have a Asus (ATI) Radeon 9200 SE. When I try to start X 
it doesn´t work, even if I try vga generic and other settings. Is it so 
bad that I have to buy a new card or is there other sollutions?? I have 
looked at Xfree86.org driver section and my card isn´t mentioned even in 
their latest release.
Hope that someone has an answer that will be cheaper than buying a new card.
Many thanks Nicolas
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: man question

2004-01-22 Thread Ruben de Groot
On Thu, Jan 22, 2004 at 12:30:55AM +0100, Didier Wiroth typed:
 Hi,
 
 I've compiled and installed software by my own in this directory:
 /home/me/custom/
 
 In this directory I have the following directories and subdirectories:
 /home/me/custom/man
 /home/me/custom/man/man1
 /home/me/custom/man/man8
 
 The man8 and man1 directory contains some .8 and .1 man files.
 
 For example /home/me/custom/man/man8/logrotate.8
 When I enter: man 8 logrotate 
 I get: No entry for logrotate in section 8 of the manual
 or 
 man logrotate: 
 No manual entry for logrotate
 
 What do I have to do, to be able to use/view those man files, only ME? I don't want 
 to modif manpath.config (as this is a global configuration file)?

Look at the manpath(1) manpage. If you add /home/me/custom to your $PATH,
/home/me/custom/man will be automatically added to your search path.

Ruben

 
 thx
 
 
 ___
 [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: NTP doesn't work behind IPF firewall?

2004-01-22 Thread Edward Aronyk
If I kill both ntpd processes so the socket is no longer in use, I can
manually set the time with ntpdate. I can't figure out why two ntpd
processes get spawned - it's like that on both servers, and even after a
reboot both appear again...

EA

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Mitchell
Sent: Thursday, January 22, 2004 2:42 AM
To: 'Edward Aronyk'; [EMAIL PROTECTED]
Subject: RE: NTP doesn't work behind IPF firewall?

[EMAIL PROTECTED] wrote:
 I know ntp is running because it updates the driftfile,
 and ps shows it's active:
 
 # ps -aux | grep ntp
 root   81  0.0  0.2  1328  960  ??  Ss9Jan04   1:06.65
 /usr/sbin/ntpd -p /var/run/ntpd.pid
 root   83  0.0  0.2  1364  992  ??  S 9Jan04   0:15.67
 /usr/sbin/ntpd -p /var/run/ntpd.pid
 root47532  0.0  0.0   304  164  p0  R+2:14AM 0:00.00 grep
 ntp 

I'm not sure why you have 2 ntpd processes running there - I only ever see
one:

(505) llama:~ $ ps uaxww | grep ntpd
root 77934  0.0  0.2  1312  900  ??  Ss   Sun04pm   0:12.45
/usr/sbin/ntpd -p /var/run/ntpd.pid

I'd suggest killing both of those ntpd processes and starting it up again.
Actually, before you restarting, try manually synchronising with one of your
servers, eg:

# ntpdate subitaneous.cpsc.ucalgary.ca

That will at least tell you that you can talk NTP with this server.  I
assume all the servers in your ntp.conf are public ones that your host is
allowed to use?

The firewall rules look OK, although you might want to add 'log' to your
default block rule while diagnosing a problem like this, so you'll be told
if ipf is blocking any of the packets you're interested in.

Scott

___
[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: Formatting Zip Drive Disks

2004-01-22 Thread Gerard Seibert

On Thursday, January 22, 2004 2:34:32 AM  you wrote:

 I am attempting to format a 100 mb. ZIP disk, but am getting
 nowhere. The ZIP drive worked fine under Windows. The disk is
 presently formatted as NTFS, if that makes any difference. Nothing I
 try seems to work . Since I am new to BSD, I assume that I am using
 the wrong commands.
 
 I am presently using version 5.2 of BSD. Can anyone assist me.?

Zip-drives and FreeBSD:
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/zip-drive/index.html

and to some extent

Formatting media on FreeBSD
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/formatting-media/index.html

** Reply Separator **

Thursday, January 22, 2004 5:37:52 AM

I have went that route. It seems that no matter what I do, I receive the following 
error message when attempting to mount the disk:

Incorrect Super block

Do you have any suggestions? I have tried mounting in various ways, but they all fail. 
Formatting via /stand/sysinstall has not corrected the problem.

Gerard Seibert
[EMAIL PROTECTED]


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


Re: record single files in IDE CDRW

2004-01-22 Thread Roberto Pereyra
Hi

cdrecord works with ATAPI CD burner ?

thanks 

roberto





On Thu, Jan 22, 2004 at 11:49:46AM +1100, Gautam Gopalakrishnan wrote:
 On Wed, Jan 21, 2004 at 12:33:11PM -0300, Roberto Pereyra wrote:
  Hi all !
  How can I burn single files in a cdrom (RW-IDE) ?
  Burncd allow burn iso files only ?
  I want to burn files many times with the same cdrom (open session). 
 
 I can't get burncd to work properly, but cdrecord will. Steps are
 (all as root):
 
 - Install sysutils/cdrtools and sysutils/mkisofs
 - Get the device name:
   # cdrecord -scanbus
 - First time you want to burn something:
   # mkisofs a.txt | cdrecord dev=xxx -multi -
 - Next time you want to append:
   # cdrecord -msinfo
   (this will give a number like 0,19304 or something)
   # mkisofs -M xxx -C 0,19304 b.txt | cdrecord dev=xxx -multi -
 
 If you use files with long names (more than 8.3), try the -J -R
 flags to mkisofs
 
 Seems like a lot of work... You could try k3b (with kde)
 or bashburn http://bashburn.sf.net/ for console use
 
 hth
 Gautam
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: record single files in IDE CDRW

2004-01-22 Thread Gautam Gopalakrishnan
On Thu, Jan 22, 2004 at 07:54:22AM -0300, Roberto Pereyra wrote:
 Hi
 
 cdrecord works with ATAPI CD burner ?
 
 thanks 
 
 roberto

Yup, mine is a Lite-On drive which works very well. You must have
the following in your kernel. Please refer to the handbook for more
info.

device atapicam
device scbus
device cd
device pass

Gautam

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


Re: Looking for C example of ARP lookup on FreeBSD

2004-01-22 Thread Ruben de Groot
On Thu, Jan 22, 2004 at 05:24:31PM +0800, Laslett, Greg typed:
 
 Hi,
 
 The code that is being ported uses the 'ioctl' method to request a MAC address.
 eg:
 struct arpreqReqARP;
 struct sockaddr_in  *pAddr_in;
 SOCKET s;
 .
 .
 s = socket(AF_INET, SOCK_DGRAM, 0);
 ioctl(s, SIOCGARP, ReqARP);
 .
 .
 
 This does not appear to be supported under FreeBSD.  Presumably a sysctl or other 
 mechanism exists.
 
 Can anyone provide a code fragment showing IP4 to MAC address translation.
 
Maybe a look at /usr/src/usr.sbin/arp/arp.c will help you.

Ruben

 Thanks,
 Greg.
 
 ___
 [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: Swapping hard drives

2004-01-22 Thread Malcolm Kay
On Thu, 22 Jan 2004 18:32, David LeCount wrote:
 Hello. I'm swapping my second hard drive for a larger
 one. This is the drive with my / partition on it. Well
 I've made the partitions on the other drive and copied
 my data. I made the partition active, though every
 time I return to fdisk in sysinstall, it doesn't show
 it as active anymore. Lastly, I fixed fstab. Remember
 that it's actually my second hard drive and Lilo is on
 the first, so no need to mess with that. So I put the
 drive where the other one was, but when I booted, it
 said invalid partition. It prompts me for the kernel,
 and I type in 1:ad(1,d)/kernel but it still says
 invalid kernel. The new / partition is ad2s1d when
 it's hooked up as the third drive. I've played with it
 for hours, and can't find a tutorial on doing this
 anywhere. Any help is apppreciated.


I believe FreeBSD likes to find / in an 'a' partition.
You could try renaming ad2s1d to ad2s1a using 
disklabel (bsdlabel on 5.x), and updating references
particularly in fstab on the new disk. I believe this is
probably possible without interfering with the file 
systems and data so long as you don't mess with the
partition sizes and offsets but only change the names.
(Do it with all ad2s1 partitions unmounted.)

I think you would have had difficulty creating another 
'a' partition using sysinstall while one is already visible 
somewhere in the disk system. But you could have 
pre-created partitions using disklabel before running 
sysinstall, which would then find and offer those partitions.

Use these suggestions with caution, there should be 
people out there more knowledgable in regard to disk 
organisation than myself.

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


Re: Port Forwarding

2004-01-22 Thread Rishi Chopra
James,

I've configured my Win2k box to contact DNS directly, and both Direct 
Connect and VNC Server are running smoothly (port forwarding is being 
accomplished (per your suggestion) by natd.conf).

I've set the firewall type to 'OPEN' (the Win2k client has ZoneAlarm 
protection of its own); this is truly the only sticking point.  I'm 
under the impression that selecting 'SIMPLE' rather than 'OPEN' provides 
an additional layer of protection to the gateway by preventing certain 
spoofing attacks.  Unfortunately, I seem unable to switch the firewall 
type without crippling my Win2k box's functionality.  Perhaps I'll give 
it a go again sometime in the future.

Here's a copy of the relevant files:

//natd.conf

unregistered_only
interface rl0
use_sockets
dynamic
redirect_port tcp 192.168.0.2:5800 5800
redirect_port tcp 192.168.0.2:5900 5900
redirect_port tcp 192.168.0.2:412 412
redirect_port tcp 192.168.0.2:1412 1412
punch_fw 2000:50
//rc.conf

gateway_enable=YES
hostname=usha.dyndns.org
ifconfig_rl0=DHCP
ifconfig_rl1=inet 192.168.0.1 netmask 255.255.255.0
kern_securelevel_enable=NO
firewall_enable=YES
firewall_type=OPEN
# firewall_type=SIMPLE
firewall_quiet=NO
natd_enable=YES
natd_interface=rl0
natd_flags=-f /etc/natd.conf
linux_enable=YES
sendmail_enable=NO
sshd_enable=YES
-R

James Earl wrote:
If you want your gateway to forward DNS queries from your private
network, you will probably have to run named to answer the DNS queries
and forward them out to your ISP's name servers.
You may also want to run a DHCP server.

I don't believe ipfw has the forwarding capability your looking for in
this case.
You may want to get the DNS setup first, and then enable ipfw once you
know that named is setup properly.
As for the firewall rules, you'd probably just have to modify slightly
the DNS related ones that already exist under SIMPLE.  Instead of
letting DNS queries in from the outside, you want to let DNS queries in
from the inside.
Let me know if you have any other questions, and I'll try to help.

James

On Mon, 2004-01-19 at 21:06, Rishi Chopra wrote:

If I want the gateway to forward DNS queries (e.g. have the win2k box 
query the gateway for DNS requests) what do I need to do?  What would 
the rule look like?

James Earl wrote:


On Mon, 2004-01-19 at 13:58, Rishi Chopra wrote:


What I want to do:  (1) Change firewall type from 'OPEN' to 'SIMPLE' and 
(2) Forward ports 412 and 5800 to my Win2k box.

What I have:  The setup is pictured below. 
IPFIREWALL_DEFAULT_TO_ACCEPT, IPDIVERT and IPFILTER are all enabled in 
my kernel config file,  are also enabled.  Rule-of-thumb advice about 
how best to secure a network is not necessary in this case (the Win2k 
box has its own firewall installed (ZoneAlarm) and I already know too 
much about security).

ISP  FreeBSD GatewayWin2k Box



--rl0--rl1---
ALLDHCP 192.168.0.1 192.168.0.2

The problem:  When I chenge the firewall type to SIMPLE from OPEN, the 
Win2k box can no longer query DNS and pings to the 192.168.0.1 address 
do not work.  With the firewall type set to OPEN, there are no problems 
whatsoever.  I am also new to the IPFW syntax.

What I would like to know is: (1) the syntax for forwarding incomming 
connections from rl0 to rl1 (and ultimately to 192.168.0.2) and (2) 
whether the syntax for allowing connections to the outside network (such 
as DNS) is correct and if some other problem is preventing the win2k box 

from querying DNS when SIMPLE is enabled.


The FreeBSD Handbook can describe port redirection using NAT better than
I can:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html

With the SIMPLE firewall rules, all your machines on your LAN should be
able to establish connections.  Make sure that you have your ISP's DNS
servers IP's specified on the win2k machine, and also that your FreeBSD
machines IP is setup as the default gateway in win2k.
You shouldn't be able to ping the FreeBSD gateway from the win2k machine
because of the FreeBSD gateway's firewall.
Anther test... try accessing a machine out on the Internet using it's ip
address and see if you get out.
James








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


Re: sendmail help?

2004-01-22 Thread Matthew Seaman
On Wed, Jan 21, 2004 at 11:33:57PM -0800, Adam Bozanich wrote:
 
 Hi all.  I am having a really hard time getting sendmail to work for me.
 I have a dial up DSL account that gives me an outgoing smtp account that
 requires smtp authentication.

Judging by the .mc files and so forth you attached, you seem to have
gone a long way towards achieving that.

You don't mention SASL (Simple Authentication and Security Layer) --
by default, the sendmail on FreeBSD doesn't contain any SASL
functionality, but you will need to add it in order to use
authentication.

First install the security/cyrus-sasl2 port.  Then edit your
/etc/make.conf to change the sendmail(8) compilation to include
linking in the SASL libraries:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

Then rebuild and re-install sendmail from the system sources.  Easiest
way to do that is to do a complete 'make buildworld, make
installworld' cycle as documented in the handbook.  Then you need to
add the SASL options to your sendmail configuration, as you have done.

There are some more detailed instructions here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html

(Those instructions actually apply to SASL v1 -- but it works almost
identically with the SASL2 settingd as I showed above).  See also:

http://www.sendmail.org/~ca/email/auth.html

but those instructions are for an older version of sendmail, so you'll
have to take care to work out what is still applicable.  
 
 For now, I'd simply like to be able to send mail from this local machine.
 I think the problem I am having is that the from: field in emails still
 has my local user name, rather than the one required by my isp.

That's what the genericstable stuff should fix for you.  It's
something that generally works really easily, so there's not that much
in the way of HOWTOs about.  See items 6 and 7 of:

http://www.sendmail.org/virtual-hosting.html

You don't need the rest of the stuff described on that page.  Use
sendmail's address test mode (sendmail -bt) to check that the
rewriting is occuring as intended.
 
 Here is the sendmail section of /etc/rc.conf:
 
 ###  Mail Transfer Agent (MTA) options  ##
 ##
 
 mta_start_script=/etc/rc.sendmail
   # Script to start your chosen MTA, called by /etc/rc.
 # Settings for /etc/rc.sendmail:
 sendmail_flags=-L sm-mta -bd  # Flags to sendmail (as a server)
 sendmail_submit_enable=YES  # Start a localhost-only MTA for mail submission
 sendmail_submit_flags=-L sm-mta -bd -ODaemonPortOptions=Addr=localhost
   # Flags for localhost-only MTA
 sendmail_outbound_enable=YES# Dequeue stuck mail (YES/NO).
 sendmail_outbound_flags=-L sm-queue -q1m  # Flags to sendmail (outbound only)
 sendmail_msp_queue_enable=YES   # Dequeue stuck clientmqueue mail (YES/NO).
 # sendmail _msp_queue_flags=-L sm-msp-queue -Ac -q30m
 sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q1m 
 
 I don't really understand this at all.  I changed the -q1m parts because
 I don't want sendmail to wait to send stuff... but I'm not sure if I should
 have.

Eeek! Don't do that.  '-q1m' means process the queue at a frequency of
once per minute, not wait for a minute before doing anything.  Sendmail
MSP (Mail Submission Process) will try and send the message
immediately (unless you go out of your way to configure it not to do
that) -- you haven't mentioned any modifications to freebsd.submit.mc,
which probably means you're using the default version.  That's good --
it's quite unlikely you'll need to change that at all.

If the message cannot be delivered at once, sendmail MSP will deposit
it in the queue file for later action.  Running the queue once per
minute is far too often for a typical home user machine.  There's no
point in trying to flush the queue too often, as you need to give the
intended recipients a chance to fix whatever was wrong.

Plus you don't need to copy the defaults out of /etc/defaults/rc.conf
wholesale.  You can put just the settings you've modified into
/etc/rc.conf.
 
 What does sendmail_msp_que do?  Do I need it?

That's a sendmail process that checks the MSP queue
(/var/spool/clientmqueue) and attempts to inject any as yet
unprocessed messages into your sendmail MTA (Mail Transport Agent).
Yes, you almost definitely need it.  

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: NTP doesn't work behind IPF firewall?

2004-01-22 Thread Scott Mitchell
[EMAIL PROTECTED] wrote:
 If I kill both ntpd processes so the socket is no longer in use, I can
 manually set the time with ntpdate. I can't figure out why two ntpd
 processes get spawned - it's like that on both servers, and
 even after a
 reboot both appear again...
 
 EA

Most odd.  What happens if you set xntpd_enable=NO in rc.conf?  Do you
still end up with an ntpd process running after a reboot?

On the plus side, it looks as though your firewall is fine.

Scott

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


umass.o error

2004-01-22 Thread stefan
Hey
I tried compiling with quota and commented out a few things that i thought i didn't 
need for the specific box and got this error while doing make.

umass.o: In function `umass_cam_attach_sim':
umass.o(.text+0x142b): undefined reference to `cam_simq_alloc'
umass.o(.text+0x1451): undefined reference to `cam_sim_alloc'
umass.o(.text+0x146a): undefined reference to `xpt_bus_register'
umass.o(.text+0x147a): undefined reference to `cam_simq_free'
umass.o: In function `umass_cam_rescan_callback':
umass.o(.text+0x1493): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_rescan':
umass.o(.text+0x14dd): undefined reference to `xpt_periph'
umass.o(.text+0x14e6): undefined reference to `xpt_create_path'
umass.o(.text+0x14f9): undefined reference to `xpt_setup_ccb'
umass.o(.text+0x1514): undefined reference to `xpt_action'
umass.o: In function `umass_cam_detach_sim':
umass.o(.text+0x15cb): undefined reference to `xpt_bus_deregister'
umass.o(.text+0x15e9): undefined reference to `cam_sim_free'
umass.o: In function `umass_cam_detach':
umass.o(.text+0x162a): undefined reference to `xpt_create_path'
umass.o(.text+0x164b): undefined reference to `xpt_async'
umass.o(.text+0x1653): undefined reference to `xpt_free_path'
umass.o: In function `umass_cam_action':
umass.o(.text+0x19d3): undefined reference to `xpt_done'
umass.o(.text+0x19e5): undefined reference to `xpt_done'
umass.o: In function `umass_cam_cb':
umass.o(.text+0x1afd): undefined reference to `xpt_done'
umass.o: In function `umass_cam_sense_cb':
umass.o(.text+0x1c04): undefined reference to `xpt_done'
umass.o(.text+0x1c15): undefined reference to `xpt_done'
umass.o(.text+0x1c2f): more undefined references to `xpt_done' follow
*** Error code 1

Stop in /usr/src/sys/compile/FLUXM.

I am clueless to what to do here.
This is my conf file.

machine i386
#cpuI386_CPU
cpu I486_CPU
cpu I586_CPU
cpu I686_CPU
ident   FLUXM
maxusers0

#makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols

#optionsMATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
#optionsINET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
#optionsSOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
#optionsMFS #Memory Filesystem
options MD_ROOT #MD is a potential root device
#optionsNFS #Network Filesystem
#optionsNFS_ROOT#NFS usable as root device, NFS required
#optionsMSDOSFS #MSDOS Filesystem
options CD9660  #ISO 9660 Filesystem
options CD9660_ROOT #CD-ROM usable as root, CD9660 required
options PROCFS  #Process filesystem
options COMPAT_43   #Compatible with BSD 4.3 [KEEP THIS!]
#optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI
options UCONSOLE#Allow users to grab the console
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) support
options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores
options P1003_1B#Posix P1003_1B real-time extensions
options _KPOSIX_PRIORITY_SCHEDULING
options ICMP_BANDLIM#Rate limit bad replies
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
#optionsAPIC_IO # Symmetric (APIC) I/O

# To support HyperThreading, HTT is needed in addition to SMP and APIC_IO
#optionsHTT # HyperThreading Technology

device  isa
device  eisa
device  pci

# Floppy drives
device  fdc0at isa? port IO_FD1 irq 6 drq 2
device  fd0 at fdc0 drive 0
device  fd1 at fdc0 drive 1
#
# If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy,
# don't use the above line for fdc0 but the following one:
#device fdc0

# ATA and ATAPI devices
device  ata0at 

Re: umass.o error

2004-01-22 Thread Erik Trulsson
On Thu, Jan 22, 2004 at 11:47:54AM +0100, [EMAIL PROTECTED] wrote:
 Hey I tried compiling with quota and commented out a few things that
 i thought i didn't need for the specific box and got this error while
 doing make.
 
 umass.o: In function `umass_cam_attach_sim':
 umass.o(.text+0x142b): undefined reference to `cam_simq_alloc'

[snip] 

 # SCSI peripherals
 #device scbus   # SCSI bus (required)
 #device da  # Direct Access (disks)

[snip]

 device  umass   # Disks/Mass storage - Requires scbus and da

Enable scbus and da, and then things should work better.


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


Re: umass.o error

2004-01-22 Thread Joost Bekkers
On Thu, Jan 22, 2004 at 11:47:54AM +0100, [EMAIL PROTECTED] wrote:
 Hey
 I tried compiling with quota and commented out a few things that i thought i didn't 
 need for the specific box and got this error while doing make.
 
 umass.o: In function `umass_cam_attach_sim':
[...]
 *** Error code 1

Did you read the comment after 'device umass' in your kernel config?

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


network and firewall questions

2004-01-22 Thread Andrew L. Gould
I'm still very much a newbie regarding networking issues and firewalls; so if 
I need to be slapped, please be gentle.  ;-)

Most of my home computers are behind a NAT router with very simple firewalls 
-- let all requests out, allow established in, deny everything else.  I put a 
test computer in the DMZ the other day to experiment with firewalls, and 
remote access as I travel next week.

Can someone access your computer by a port if nothing is listening to that 
port?

If not, then if you turn off services that you don't use and need to access 
used services remotely (i.e. let them through a firewall), do you need a 
firewall?

Thanks,

Andrew Gould

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


Re: record single files in IDE CDRW

2004-01-22 Thread Ion-Mihai Tetcu
On Wed, 21 Jan 2004 12:33:11 -0300
Roberto Pereyra [EMAIL PROTECTED] wrote:

 Hi all !
 
 How can I burn single files in a cdrom (RW-IDE) ?
 
 Burncd allow burn iso files only ?

# burncd -f device -s speed my_single_file

where device == your CDRW
speed == teh speed you want
my_single_file = the file you want to burn

 I want to burn files many times with the same cdrom (open session). 

to *close* the session you would use fixate as the last thing on the
burncd line; so don't use it.
 
 Any hint ?

Reading the files written this way could be a little bit difficult.

 
 Thanks in advance (excuse my english, I not english speaker)
 
 roberto 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Re: Thank you

2004-01-22 Thread Daan Vreeken [PA4DAN]
On Thursday 22 January 2004 09:44, Khoi - San Zulu wrote:
 Good day.

 I would like to extend to you, whomever you are, my
 heartfelt gratitude for this operating system.

 I come from a poor community in the heart of South
 Africa. I learned about computers and how they work,
 using Microsoft operating systems. I have had no
 experience with any other operating system besides
 this.

 Windows NT, 2000 and XP. I was given a copy of FreeBSD
 release 5.0 by a gentleman I happened to meet whom is
 into the Unix Operating system. He gave me 2 CD-Rom
 disks and 2 Stiffy disks. I have read your site, I
 found it most informative. I installed the FreeBSD
 Operating System onto a Pentium II computer. It worked
 first time, Great  I searched on Google for
 commands and have found some.

 I searched your site, but my burning question is, How
 do I start the Graphical Interfaces, KDE and Gnome? I
 did a Custom Installation following the directions of
 the website. I installed all the packages and Ports. I
 want to learn everything.
You should have XFree86 and KDE or Gnome installed. When you're done with that 
it's time to configure your video card. This can be done in 2 ways : 
graphical or in text-mode by selecting your hardware from a list.
The command to start the graphical configuration utility is :
xf86cfg
And the command to start the text-based configuration utility is :
xf86config

When you're done, make sure that you have the config-file that has been 
generated in /etc/X11/XF86Config .

Now when you type kdm you should get a graphical login-screen where you can 
login with your username and password. After logging in KDE should apear.

 I am of the understanding that the Operating System
 loves command line. I dont feel that I am at that
 level yet to configure from the command line. An old
 adage in South AFrica goes, work from what you know,
 to what you don't know. I want to learn everything
 about the Operating System. I see its Potential is
 GREAT So much can be done for the people who
 cannot afford old or new computers never mind the
 licenses for the Other operating systems here like
 Novell and Microsoft.  I desperately want to learn
 about this. I have come to an internet cafe to educate
 myself further. My problem is that resources are
 limited here regarding our access to Alternative
 Operating Systems and equipment. The potential that
 the discovery of this Operating System and what it
 offers makes me salivate with happiness. I can make a
 meal of this and do so many things within the
 community along the lines of empowerment I have
 heard about Linux, but have read from a few sources
 that the FreeBSD Operating system is amongst the more
 secure out there as well as that FreeBSD 5.0 has the
 ability to emulate linux. So In my understanding I get
 multiple Operating Systems, with Multiple capabilities
 all roled into 1 ( well 2 disks!).

 Please help in this regard. If possible, please help
 me with the commands or where I can find them!!!  I
 would appreciate this greatly
First of all : Remember, Google is your friend :)
With Google you can find a lot of shell introduction pages (searching for 
things like shell script commands or learning shell scripts )
A good example of a page that explains some basic shell commands can be found 
here :
http://www.ii.uned.es/~apm/Doc/Shell1.html


Good luck finding your way into FreeBSD !

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


RE: how to tell if my ISP is blocking email web ports

2004-01-22 Thread fbsd_user
Thanks to all of you that responded.

I did not want to install Apache just to have something listening
on port 80. So I edited /etc/services and commented out the
http 80 statements and the telnet 23 statements and them copied
the telnet tcp statement and changes it's port to 80.
Enabled inetd in rc.conf.

I used one of my LAN PC's to telnet into to port 80 and it worked.
I then called my friend with winme box who uses different ISP.
He logged on and used native dos to try to telnet into my
port 25 and 80. In both cases he was not able to connect to my
IP address.
This proves that Adelphia cable service is blocking those 2 ports.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of michael
Alexander
Sent: Wednesday, January 21, 2004 5:09 PM
To: [EMAIL PROTECTED]
Subject: RE: how to tell if my ISP is blocking email  web ports

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
fbsd_user
 Sent: Wednesday, January 21, 2004 2:39 PM
 To: Dinesh Nair
 Cc: [EMAIL PROTECTED] ORG
 Subject: RE: how to tell if my ISP is blocking email  web ports


 My friends PC is an MS/Windows 98 box.
 I know all windows system have telnet in command.com.
 Which is reachable from start/run and opens an native dos window.

 Would anybody know the syntax of the native dos telnet command
  to include the port number to use?

 telnet xxx.xxx.xxx.xxx would get me to the telnet port
 at that IP address.

I believe Just add the port number at the end...
Telnet xxx.xxx.xxx.xxx 25
For testing a mail server connection for example.  I don't have
anything
that old to test it on though.  Works in XP for sure, I use it
frequently.

-Mike

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

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


RE: sendmail help?

2004-01-22 Thread fbsd_user
I think you are barking up the wrong tree.
I don't think you  understand how your ISP works.
ISP's do not allow direct smtp access to their email servers,
they consider it an security risk to their environment.
Did your ISP tech support tell you they allow direct smtp access to
their
email services, or are you confusing pop3 access with smtp?
You have to use fetchmail to retrieve your email from your ISP's
pop3 server
to populate your sendmail server. This is how all non-commercial
users do it.
Beside it's a whole lot easier to install the fetchmail package then
reinstall
sendmail with sasl support.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Matthew
Seaman
Sent: Thursday, January 22, 2004 7:10 AM
To: Adam Bozanich
Cc: [EMAIL PROTECTED]
Subject: Re: sendmail help?

On Wed, Jan 21, 2004 at 11:33:57PM -0800, Adam Bozanich wrote:

 Hi all.  I am having a really hard time getting sendmail to work
for me.
 I have a dial up DSL account that gives me an outgoing smtp
account that
 requires smtp authentication.

Judging by the .mc files and so forth you attached, you seem to have
gone a long way towards achieving that.

You don't mention SASL (Simple Authentication and Security Layer) --
by default, the sendmail on FreeBSD doesn't contain any SASL
functionality, but you will need to add it in order to use
authentication.

First install the security/cyrus-sasl2 port.  Then edit your
/etc/make.conf to change the sendmail(8) compilation to include
linking in the SASL libraries:

SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

Then rebuild and re-install sendmail from the system sources.
Easiest
way to do that is to do a complete 'make buildworld, make
installworld' cycle as documented in the handbook.  Then you need to
add the SASL options to your sendmail configuration, as you have
done.

There are some more detailed instructions here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.
html

(Those instructions actually apply to SASL v1 -- but it works almost
identically with the SASL2 settingd as I showed above).  See also:

http://www.sendmail.org/~ca/email/auth.html

but those instructions are for an older version of sendmail, so
you'll
have to take care to work out what is still applicable.

 For now, I'd simply like to be able to send mail from this local
machine.
 I think the problem I am having is that the from: field in
emails still
 has my local user name, rather than the one required by my isp.

That's what the genericstable stuff should fix for you.  It's
something that generally works really easily, so there's not that
much
in the way of HOWTOs about.  See items 6 and 7 of:

http://www.sendmail.org/virtual-hosting.html

You don't need the rest of the stuff described on that page.  Use
sendmail's address test mode (sendmail -bt) to check that the
rewriting is occuring as intended.

 Here is the sendmail section of /etc/rc.conf:

 ###  Mail Transfer Agent (MTA) options  ##
 ##

 mta_start_script=/etc/rc.sendmail
   # Script to start your chosen MTA, called by
/etc/rc.
 # Settings for /etc/rc.sendmail:
 sendmail_flags=-L sm-mta -bd  # Flags to sendmail (as a server)
 sendmail_submit_enable=YES  # Start a localhost-only MTA for
mail submission
 sendmail_submit_flags=-L
sm-mta -bd -ODaemonPortOptions=Addr=localhost
   # Flags for localhost-only MTA
 sendmail_outbound_enable=YES# Dequeue stuck mail
(YES/NO).
 sendmail_outbound_flags=-L sm-queue -q1m  # Flags to sendmail
(outbound only)
 sendmail_msp_queue_enable=YES   # Dequeue stuck clientmqueue
mail (YES/NO).
 # sendmail _msp_queue_flags=-L sm-msp-queue -Ac -q30m
 sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q1m 

 I don't really understand this at all.  I changed the -q1m parts
because
 I don't want sendmail to wait to send stuff... but I'm not sure if
I should
 have.

Eeek! Don't do that.  '-q1m' means process the queue at a frequency
of
once per minute, not wait for a minute before doing anything.
Sendmail
MSP (Mail Submission Process) will try and send the message
immediately (unless you go out of your way to configure it not to do
that) -- you haven't mentioned any modifications to
freebsd.submit.mc,
which probably means you're using the default version.  That's
good --
it's quite unlikely you'll need to change that at all.

If the message cannot be delivered at once, sendmail MSP will
deposit
it in the queue file for later action.  Running the queue once per
minute is far too often for a typical home user machine.  There's no
point in trying to flush the queue too often, as you need to give
the
intended recipients a chance to fix whatever was wrong.

Plus you don't need to copy the defaults out of
/etc/defaults/rc.conf
wholesale.  You can put just the settings you've modified 

Re: Newbie Graphic card question

2004-01-22 Thread Ion-Mihai Tetcu
On Wed, 21 Jan 2004 11:23:31 +0100
Gafgo [EMAIL PROTECTED] wrote:

 Hello. I am trying to install v 5.2 on my new computer. I have done 
 succesful installations on my old computer where everything worked 
 perfect. My problem now is that I can´t find my graphic card when I am 
 conf Xfree86. I have a Asus (ATI) Radeon 9200 SE. When I try to start X 
 it doesn´t work, even if I try vga generic and other settings. Is it so 
 bad that I have to buy a new card or is there other sollutions?? I have 
 looked at Xfree86.org driver section and my card isn´t mentioned even in 
 their latest release.
 Hope that someone has an answer that will be cheaper than buying a new card.
 Many thanks Nicolas

http://www.xfree86.org/current/Status6.html#6


Bellow it's my X config; I'm using a Radeon 9000. The thing you are
after is: Driver ati in the Device section; or radeon might work.

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  record
Load  xtrap
Load  speedo
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
#   Option  Buttons 
#   Option  XAxisMapping 4 5
#   Option  YAxisMapping 8 9
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor

#DisplaySize  300   230 # mm
Identifier   Monitor0
VendorName   NOK
ModelNameNokia 447Za
ModeLine [EMAIL PROTECTED] 108.0 1152 1216 1344 1600 864 865 868 900 
+hsync +vsync
ModeLine [EMAIL PROTECTED] 78.8 1024 1040 1136 1312 768 769 772 800 
+hsync +vsync
ModeLine [EMAIL PROTECTED] 49.5 800 816 896 1056 600 601 604 625 +hsync 
+vsync
Option  DPMS
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 NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option Dac6Bit   # [bool]
#Option Dac8Bit   # [bool]
#Option ForcePCIMode  # [bool]
#Option CPPIOMode # [bool]
#Option CPusecTimeout # i
#Option AGPMode   # i
#Option AGPFastWrite  # [bool]
#Option AGPSize   # i
#Option RingSize  # i
#Option BufferSize# i
#Option EnableDepthMoves  # [bool]
#Option EnablePageFlip# [bool]
#Option NoBackBuffer  # [bool]
#Option PanelOff  # [bool]
#Option DDCMode   # [bool]
#Option CloneDisplay  # i
#Option CloneMode # [str]
#Option CloneHSync# [str]
#Option CloneVRefresh # [str]
#Option UseFBDev  # [bool]
#Option VideoKey  # i
Identifier  Card0
Driver  ati
VendorName  ATI Technologies Inc
BoardName   Radeon R250 If [Radeon 9000]
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth24
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
Modes 1152x864
EndSubSection
EndSection


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


Re: C programming: ADT support

2004-01-22 Thread Sergey 'DoubleF' Zaharchenko
On Thu, 22 Jan 2004 11:11:23 +0100
r t g tan [EMAIL PROTECTED] probably wrote:

 Hi,
 
 I'm looking for some ADT's  like lists trees and
 such, to be used in C programs. 
 
 Is there a librarie out there?
 
 Tnx,
 
 ---
 robert t g tan

I imply the word `for FreeBSD' somewhere in your question (if not,
Google is your friend - go find the libs yourself).

$ apropos singly-linked list
SLIST_EMPTY(3), SLIST_ENTRY(3), SLIST_FIRST(3), SLIST_FOREACH(3),
... and a screenful more of
implementations of singly-linked lists, singly-linked tail
queues, lists, tail queues and circular queues

Have fun!

P.S. Is it so difficult to make them yourself?

-- 
DoubleF
Eggheads unite!  You have nothing to lose but your yolks.
-- Adlai Stevenson



pgp0.pgp
Description: PGP signature


RE: sendmail help?

2004-01-22 Thread Scott Mitchell
[EMAIL PROTECTED] wrote:
 I think you are barking up the wrong tree.
 I don't think you  understand how your ISP works.
 ISP's do not allow direct smtp access to their email servers,
 they consider it an security risk to their environment.

Erm, the OP is trying to send mail, not receive it:

 Hi all.  I am having a really hard time getting sendmail to work for
 me. I have a dial up DSL account that gives me an outgoing smtp
 account that requires smtp authentication.

ISPs generally do allow access to their servers for outgoing mail.  Most of
them positively encourage it, in fact :-)

Scott


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


remote X display

2004-01-22 Thread Jonathon McKitrick

Hi all,

I have been looking all over for a concise howto for remote X on FreeBSD.  I
see some that involve changing config files in the xdm directory, others use
xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT.

All I want to do is use a laptop in a local network to be an X client
connected to a more powerful desktop machine.  I'm not worried about
security.

Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
all of the xdm configuration hoops?

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail help?

2004-01-22 Thread Peter Risdon
fbsd_user wrote:

I think you are barking up the wrong tree.
I don't think you  understand how your ISP works.
ISP's do not allow direct smtp access to their email servers,
they consider it an security risk to their environment.
 

Sorry, this isn't true. But they don't operate open relays. There are a 
number of ways to limit use to valid customers, such as only relaying 
for computers with ip addresses in a particular range or subnet or, as 
in this case, some form of authentication. If you have a dsl connection, 
you sometimes _have to_ send outgoing mail via your ISP's smtp servers. 
Some ISPs actually block all outgoing smtp traffic that is NOT routed 
through one of their servers. In other cases, ip address blocks used for 
DSL connections get blacklisted. I've just come across an example where 
this has happened with a major US academic institution and to quote 
their security team anonymously:

quote

We've received many complaints from our staff about spam which came
directly from poorly administered/hacked machines in this particular
domainname.obscured.com range, so we've blocked it.  If you can arrange
with someone else (ISP-name-obscured, for instance) to have your outbound
e-mail sent through their mail servers, then we can accept your e-mail,
but we no longer accept e-mail sent directly to us from mail servers
sitting on dialup/DSL/cable/broadband/pooled connections.
/quote

I've been routing outgoing e-mail via the smtp servers of various ISPs 
for years.

PWR.

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


RE: Formatting Zip Drive Disks

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, Gerard Seibert wrote:

 Do you have any suggestions? I have tried mounting in various ways, but
 they all fail. Formatting via /stand/sysinstall has not corrected the
 problem.

have you considered making a filesystem on the zip disk ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: sendmail help?

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, fbsd_user wrote:

 I think you are barking up the wrong tree. I don't think you understand
 how your ISP works. ISP's do not allow direct smtp access to their email
 servers, they consider it an security risk to their environment. Did

are you serious ? i sometimes send mail out, by connecting to my ISP's
smtp servers. i believe this practice is the same worldwide. however, due
to spam and open relays, some isps may filter access to their smtp server
to only allow thier customers. this can be done either thru smtp
authentication or by ip address filtering (which malaysian isps use).

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


RE: how to tell if my ISP is blocking email web ports

2004-01-22 Thread Dinesh Nair

On Thu, 22 Jan 2004, fbsd_user wrote:

 port 25 and 80. In both cases he was not able to connect to my IP
 address. This proves that Adelphia cable service is blocking those 2
 ports.

has adelphia given you a public ip address or are you behind a NAT box
(perhaps on the adelphia network itself) ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo==+
| for a in past present future; do|
|   for b in clients employers associates relatives neighbours pets; do   |
|   echo The opinions here in no way reflect the opinions of my $a $b.  |
| done; done  |
+=+

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


Re: remote X display

2004-01-22 Thread Jason Stewart
On 22/01/04 14:53 +, Jonathon McKitrick wrote:
 
 Hi all,
 
 I have been looking all over for a concise howto for remote X on FreeBSD.  I
 see some that involve changing config files in the xdm directory, others use
 xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT.
 
 All I want to do is use a laptop in a local network to be an X client
 connected to a more powerful desktop machine.  I'm not worried about
 security.
 
 Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
 all of the xdm configuration hoops?
 

One idea is to use SSH.
If you have sshd on the remote desktop you can use ssh -X to enable
X11 forwarding. Just ssh into the remote box and run the X
application and you're set to go, provided that X11 forwarding is
enabled in the remote sshd_config.

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


Re: remote X display

2004-01-22 Thread albi
On Thu, Jan 22, 2004 at 02:53:53PM +, Jonathon McKitrick wrote:

 All I want to do is use a laptop in a local network to be an X client
 connected to a more powerful desktop machine.  I'm not worried about
 security.
 
 Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
 all of the xdm configuration hoops?

you can do the following :

run gdm on the server, start gdmconfig as root, enable XDMCP
then on the client start X as following :
X -query ipaddress_of_your_server

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


Re: remote X display

2004-01-22 Thread Cordula's Web
 I have been looking all over for a concise howto for remote X on FreeBSD.  I
 see some that involve changing config files in the xdm directory, others use
 xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT.

Use ssh's -X flag:

somehost ssh -X [EMAIL PROTECTED]
remotemachine echo $DISPLAY
somehost.example.com:10.0
remotemachine xclock 

Don't forget to enable X forwarding in /etc/ssh/sshd_config:
X11Forwarding yes

 All I want to do is use a laptop in a local network to be an X client
 connected to a more powerful desktop machine.  I'm not worried about
 security.
 
 Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
 all of the xdm configuration hoops?

ssh X11 forwarding is much more secure than DISPLAY/xhosts/xdm etc...,
because:
  1. Your X11 server doesn't have to listen to port 6000
 (You don't have to add '-listen_tcp' to startx command)
  2. The communication between server and client is encrypted

Of course, YMMV.

 NOTE: Please CC me, as I am not currently subscribed.  Thanks.
 
 jm
 -- 
 My other computer is your windows box.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: remote X display

2004-01-22 Thread Jonathon McKitrick
On Thu, Jan 22, 2004 at 10:08:46AM -0500, Jason Stewart wrote:
: On 22/01/04 14:53 +, Jonathon McKitrick wrote:
:  
:  Hi all,
:  
:  I have been looking all over for a concise howto for remote X on FreeBSD.  I
:  see some that involve changing config files in the xdm directory, others use
:  xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT.
:  
:  All I want to do is use a laptop in a local network to be an X client
:  connected to a more powerful desktop machine.  I'm not worried about
:  security.
:  
:  Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
:  all of the xdm configuration hoops?
:  
: 
: One idea is to use SSH.
: If you have sshd on the remote desktop you can use ssh -X to enable
: X11 forwarding. Just ssh into the remote box and run the X
: application and you're set to go, provided that X11 forwarding is
: enabled in the remote sshd_config.

Ah, I remember seeing this before, now that I think about it.  Thanks for
the reminder.

Do I do this from the console or from an xterm?  In other words, should X
already be running?


NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote X display

2004-01-22 Thread Cordula's Web
 : One idea is to use SSH.
 : If you have sshd on the remote desktop you can use ssh -X to enable
 : X11 forwarding. Just ssh into the remote box and run the X
 : application and you're set to go, provided that X11 forwarding is
 : enabled in the remote sshd_config.
 
 Ah, I remember seeing this before, now that I think about it.  Thanks for
 the reminder.
 
 Do I do this from the console or from an xterm?  In other words, should X
 already be running?

X should be already running.

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: remote X display

2004-01-22 Thread Malcolm Kay
On Fri, 23 Jan 2004 01:23, Jonathon McKitrick wrote:
 Hi all,

 I have been looking all over for a concise howto for remote X on FreeBSD. 
 I see some that involve changing config files in the xdm directory, others
 use xhost, and another uses xfig, which doesn't exist under FreeBSD AFAICT.

 All I want to do is use a laptop in a local network to be an X client
 connected to a more powerful desktop machine.  I'm not worried about
 security.

 Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
 all of the xdm configuration hoops?


The machine you're actually sitting at needs to be running X-terminal software,
that is X server and xdm or some equivalent. X applications can be run on either 
machine for control from there.

In my opinion ssh is a much tidier way than rsh/xhost for running X applications 
remotely. Have a look at the special options in ssh for X transport in the man page, 
particularly -X and -f.

xfig I only know as a (rather good) vector based drawing program but 
is just an ordinary X application without any special connection with operating
across the network.

Malcolm Kay

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


local mail delivery

2004-01-22 Thread mikko
Hi,

I am wondering how should I setup a server.
I have installed spamassassin, and am using
fetchmail to get mail from another host.
Now, I wouldn't want to install procmail.

I do not understand how the mail travels:

I make a ssh connection to start imapd
on the target mail-host with fetchmail, to
get the mail, but to whom program does
fetchmail give it to? sendmail? Or does it
put it directly in the mailspool?
Some other program?

I have spamd running, so does it know
that sendmail/spool/other is getting these mails,
and would know to scan them?

I am running 5.1 out-of-the-box with
programs installed from a recent ports-tree.

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


web site on freebsd

2004-01-22 Thread Charles-Andr Landemaine
Dear Sirs,

I would like to create a website on FreeBSD to promote it and offer support, and 
boards.
I read on the official FreeBSD website the copyright statement. Would you allow me 
please to
create such a web site?
Looking forward to hearing from you soon.
Thanks,

Charles.

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


Re: remote X display

2004-01-22 Thread Kenzo
what about setting the server with VNC?
then the client connects with vnc client and you can run all the apps from
the server from any machine.
Unless I'm totally off.


- Original Message - 
From: Malcolm Kay [EMAIL PROTECTED]
To: Jonathon McKitrick [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 9:26 AM
Subject: Re: remote X display


On Fri, 23 Jan 2004 01:23, Jonathon McKitrick wrote:
 Hi all,

 I have been looking all over for a concise howto for remote X on FreeBSD.
 I see some that involve changing config files in the xdm directory, others
 use xhost, and another uses xfig, which doesn't exist under FreeBSD
AFAICT.

 All I want to do is use a laptop in a local network to be an X client
 connected to a more powerful desktop machine.  I'm not worried about
 security.

 Is xhosts and the DISPLAY variable all I need?  Or do I need to go through
 all of the xdm configuration hoops?


The machine you're actually sitting at needs to be running X-terminal
software,
that is X server and xdm or some equivalent. X applications can be run on
either
machine for control from there.

In my opinion ssh is a much tidier way than rsh/xhost for running X
applications
remotely. Have a look at the special options in ssh for X transport in the
man page,
particularly -X and -f.

xfig I only know as a (rather good) vector based drawing program but
is just an ordinary X application without any special connection with
operating
across the network.

Malcolm Kay

___
[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: local mail delivery

2004-01-22 Thread me
Fetchmail retrieves mail from remote mail servers and forwards it via 
SMTP, so it can then be read by normal mail user agents such as mutt, 
elm(1) or BSD Mail. It allows all your system MTA's filtering, 
forwarding, and aliasing facilities to work just as they would on normal 
mail.

in short: it is fetched and inserted into your mta

taken from http://www.catb.org/~esr/fetchmail/



greetings
ruediger
mikko wrote:
Hi,

I am wondering how should I setup a server.
I have installed spamassassin, and am using
fetchmail to get mail from another host.
Now, I wouldn't want to install procmail.
I do not understand how the mail travels:

I make a ssh connection to start imapd
on the target mail-host with fetchmail, to
get the mail, but to whom program does
fetchmail give it to? sendmail? Or does it
put it directly in the mailspool?
Some other program?
I have spamd running, so does it know
that sendmail/spool/other is getting these mails,
and would know to scan them?
I am running 5.1 out-of-the-box with
programs installed from a recent ports-tree.
Thank you in advance.
___
[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: how to tell if my ISP is blocking email web ports

2004-01-22 Thread fbsd_user
This is  public ip  67.20.101.xxx as far as I know.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dinesh Nair
Sent: Thursday, January 22, 2004 9:39 AM
To: fbsd_user
Cc: [EMAIL PROTECTED]; michael Alexander;
[EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: RE: how to tell if my ISP is blocking email  web ports


On Thu, 22 Jan 2004, fbsd_user wrote:

 port 25 and 80. In both cases he was not able to connect to my IP
 address. This proves that Adelphia cable service is blocking those
2
 ports.

has adelphia given you a public ip address or are you behind a NAT
box
(perhaps on the adelphia network itself) ?

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo
==+
| for a in past present future; do
|
|   for b in clients employers associates relatives neighbours pets;
do   |
|   echo The opinions here in no way reflect the opinions of my $a
$b.  |
| done; done
|
+===
==+

___
[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: local mail delivery

2004-01-22 Thread Matthew Seaman
On Thu, Jan 22, 2004 at 06:05:09PM +0200, mikko wrote:

 I make a ssh connection to start imapd
 on the target mail-host with fetchmail, to
 get the mail, but to whom program does
 fetchmail give it to? sendmail? Or does it
 put it directly in the mailspool?
 Some other program?

fetchmail(1) generally hands off the received mail to sendmail(8) for
local delivery.  However, you can configure it to pass the mail
directly to procmail(1) or some other local delivery agent if you know
that all the incoming mail is addressed to just one account.  Since
you don't want to use procmail(8), probably that would have to be the
default delivery agent: mail.local(8)

Since you're using spamd, you need some way of feeding the mail to it
for scanning.  That's generally done via procmail rules, but you can
use a sendmail milter instead -- see the mail/spamass-milter port for
example.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


RE: sendmail help?

2004-01-22 Thread fbsd_user
Yes I am serious. I have used 5 different ISP's over the years and
not one let sendmail have direct access to their smtp email servers.
They all required me to use their pop3 server which is something
totally different. I believe the original poster was asking about
using sendmail to retrieve email from his ISP's smtp server.  And
it's still a lot easier to install fetchmail than to reinstall
sendmail.

-Original Message-
From: Dinesh Nair [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 9:42 AM
To: fbsd_user
Cc: Matthew Seaman; Adam Bozanich; [EMAIL PROTECTED]
Subject: RE: sendmail help?


On Thu, 22 Jan 2004, fbsd_user wrote:

 I think you are barking up the wrong tree. I don't think you
understand
 how your ISP works. ISP's do not allow direct smtp access to their
email
 servers, they consider it an security risk to their environment.
Did

are you serious ? i sometimes send mail out, by connecting to my
ISP's
smtp servers. i believe this practice is the same worldwide.
however, due
to spam and open relays, some isps may filter access to their smtp
server
to only allow thier customers. this can be done either thru smtp
authentication or by ip address filtering (which malaysian isps
use).

Regards,   /\_/\   All dogs go to heaven.
[EMAIL PROTECTED](0 0)http://www.alphaque.com/
+==oOO--(_)--OOo
==+
| for a in past present future; do
|
|   for b in clients employers associates relatives neighbours pets;
do   |
|   echo The opinions here in no way reflect the opinions of my $a
$b.  |
| done; done
|
+===
==+

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


upgrading mysql

2004-01-22 Thread Christer Solskogen
It seems like some port i want to install depend on mysql4, but i have
some programs that depends on mysql-client-3.23.58_1 ( I also have
mysql-server-3.23.58_1 installed)

I was wondering upgrading the mysql ports to 4.x series. should this be okay?

gallery-1.4.1 ,p5-Mysql-modules-1.2219, php4-4.3.4_5, phpMyAdmin-2.5.4,
phpSysInfo-2.1 and squirrelmail-1.4.2_1 seems to like mysql-3, and i was
wondering if these ports will work with mysql4.

and if this works, how will be the correct way of upgrading the mysql
packages?

-- 
Med vennlig hilsen / Best regards
Christer Solskogen
http://dtz.cjb.net - http://carebears.mine.nu

Cheap, but not as cheap as your girlfriend!
-Spider Jerusalem

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


Re: sendmail help?

2004-01-22 Thread Matthew Seaman
On Thu, Jan 22, 2004 at 11:43:45AM -0500, fbsd_user wrote:

I believe the original poster was asking about
 using sendmail to retrieve email from his ISP's smtp server.  And
 it's still a lot easier to install fetchmail than to reinstall
 sendmail.

The OP said:

 I have a dial up DSL account that gives me an outgoing smtp account that
 requires smtp authentication.

Which part of outgoing are you having difficulty understanding?

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: local mail delivery

2004-01-22 Thread me
i made my fetchmail feed it into my exim using my local mailaddress as 
recipient so it will go through amavis, spamassassin and finally 
maildrop so it is inserted into my maildir.



greetings
ruediger
Matthew Seaman wrote:
On Thu, Jan 22, 2004 at 06:05:09PM +0200, mikko wrote:


I make a ssh connection to start imapd
on the target mail-host with fetchmail, to
get the mail, but to whom program does
fetchmail give it to? sendmail? Or does it
put it directly in the mailspool?
Some other program?


fetchmail(1) generally hands off the received mail to sendmail(8) for
local delivery.  However, you can configure it to pass the mail
directly to procmail(1) or some other local delivery agent if you know
that all the incoming mail is addressed to just one account.  Since
you don't want to use procmail(8), probably that would have to be the
default delivery agent: mail.local(8)
Since you're using spamd, you need some way of feeding the mail to it
for scanning.  That's generally done via procmail rules, but you can
use a sendmail milter instead -- see the mail/spamass-milter port for
example.
	Cheers,

	Matthew

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


Re: C programming: ADT support

2004-01-22 Thread r t g tan
Make that C++

--- robert t g tan

On Thu, Jan 22, 2004 at 11:11:23AM +0100, r t g tan wrote:
 Hi,
 
 I'm looking for some ADT's  like lists trees and
 such, to be used in C programs. 
 
 Is there a librarie out there?
 
 Tnx,
 
 ---
 robert t g tan



pgp0.pgp
Description: PGP signature


Re: upgrading mysql

2004-01-22 Thread Andrew L. Gould
On Thursday 22 January 2004 10:51 am, Christer Solskogen wrote:
 It seems like some port i want to install depend on mysql4, but i have
 some programs that depends on mysql-client-3.23.58_1 ( I also have
 mysql-server-3.23.58_1 installed)

 I was wondering upgrading the mysql ports to 4.x series. should this be
 okay?

 gallery-1.4.1 ,p5-Mysql-modules-1.2219, php4-4.3.4_5, phpMyAdmin-2.5.4,
 phpSysInfo-2.1 and squirrelmail-1.4.2_1 seems to like mysql-3, and i was
 wondering if these ports will work with mysql4.

 and if this works, how will be the correct way of upgrading the mysql
 packages?

Below is a link to an article about portupgrade, a port that manages the 
upgrading of ports.  Portupgrade has options to upgrade port dependencies as 
well as other ports that use the port you're upgrading.  If you use the -n 
switch, portupgrade will report the steps required without actually 
performing the upgrade.

http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html

Best of luck,

Andrew Gould

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


Re: upgrading mysql

2004-01-22 Thread Christer Solskogen
 On Thursday 22 January 2004 10:51 am, Christer Solskogen wrote:
 It seems like some port i want to install depend on mysql4, but i have
 some programs that depends on mysql-client-3.23.58_1 ( I also have
 mysql-server-3.23.58_1 installed)

 I was wondering upgrading the mysql ports to 4.x series. should this be
 okay?

 gallery-1.4.1 ,p5-Mysql-modules-1.2219, php4-4.3.4_5, phpMyAdmin-2.5.4,
 phpSysInfo-2.1 and squirrelmail-1.4.2_1 seems to like mysql-3, and i was
 wondering if these ports will work with mysql4.

 and if this works, how will be the correct way of upgrading the mysql
 packages?

 Below is a link to an article about portupgrade, a port that manages the
 upgrading of ports.  Portupgrade has options to upgrade port dependencies
 as
 well as other ports that use the port you're upgrading.  If you use the -n
 switch, portupgrade will report the steps required without actually
 performing the upgrade.

 http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html


thanks, but i know this. my mysql-3 ports are up to date. but i want to
migrate to mysql-4, and portupgrade wont do that for me.

-- 
Med vennlig hilsen / Best regards
Christer Solskogen
http://dtz.cjb.net - http://carebears.mine.nu

Cheap, but not as cheap as your girlfriend!
-Spider Jerusalem

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


Re: sendmail help?

2004-01-22 Thread Micheal Patterson


- Original Message - 
From: fbsd_user [EMAIL PROTECTED]
To: Dinesh Nair [EMAIL PROTECTED]
Cc: Adam Bozanich [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:43 AM
Subject: RE: sendmail help?


 Yes I am serious. I have used 5 different ISP's over the years and
 not one let sendmail have direct access to their smtp email servers.
 They all required me to use their pop3 server which is something
 totally different. I believe the original poster was asking about
 using sendmail to retrieve email from his ISP's smtp server.  And
 it's still a lot easier to install fetchmail than to reinstall
 sendmail.


Did you place pop3.ispname.com in your smtp server field of Outlook and
change the default port 25 to something else? If you didn't change the port,
then their smtp daemon is listening for your traffinc on port 25 of the same
server that they're running pop3 on. This isn't too uncommon. If the OP was
asking about getting the ISP smtp server to send to his sendmail. For that
to happen, at minimum, the following has to be done. He's got a static ip
and the isp places a forward on his ISP account to forward to
[EMAIL PROTECTED] and his system is configured to accept mail for
xxx.xxx.xxx.xxx, or, he has a domain assigned with an mx record pointing to
his home system. Fetchmail can't retrieve mail from an smtp server that I am
currently aware of as it's designed to speak pop protocol and then deliver
it locally to an awaiting smtp server for local delivery.

--

Micheal Patterson
TSG Network Administration
405-917-0600

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


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


Re: sendmail help?

2004-01-22 Thread Micheal Patterson

- Original Message - 
From: Matthew Seaman [EMAIL PROTECTED]
To: fbsd_user [EMAIL PROTECTED]
Cc: Dinesh Nair [EMAIL PROTECTED]; Adam Bozanich
[EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 10:57 AM
Subject: Re: sendmail help?

On Thu, Jan 22, 2004 at 11:43:45AM -0500, fbsd_user wrote:

I believe the original poster was asking about
 using sendmail to retrieve email from his ISP's smtp server.  And
 it's still a lot easier to install fetchmail than to reinstall
 sendmail.

The OP said:

 I have a dial up DSL account that gives me an outgoing smtp account that
 requires smtp authentication.

Which part of outgoing are you having difficulty understanding?

 Cheers,

 Matthew

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


Apparently he's having trouble understanding a number of things lately and
I'm beginning to wonder if he's a troll or not.

To assist the OP on this issue, check out this link:

http://www.sendmail.org/~ca/email/auth.html#DefaultAuthInfo

Within that site, it will give you assistance in setting up sendmail to act
as an smtp client using smtp-auth.

snippet

DefaultAuthInfo (confDEF_AUTH_INFO)
specifies a file in which the authorization identity, the authentication
identity, the secret, and the realm to be used for authentication are
stored. This file must be in a safe directory and unreadable by everyone
except root (or TrustedUser). It is used when sendmail acts as a client to
authenticate itself to a server. Example:
admin
admin
MySecretPassword
example.domain

Notes: all data is case sensitive (usually) and the entire line is used in
each case (including any white space!).
recommended filename: /etc/mail/default-auth-info

/snippet

I trust this is what the OP's original intentions were.


--

Micheal Patterson
TSG Network Administration
405-917-0600

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


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


Re: upgrading mysql

2004-01-22 Thread Matthew Seaman
On Thu, Jan 22, 2004 at 05:51:52PM +0100, Christer Solskogen wrote:
 It seems like some port i want to install depend on mysql4, but i have
 some programs that depends on mysql-client-3.23.58_1 ( I also have
 mysql-server-3.23.58_1 installed)
 
 I was wondering upgrading the mysql ports to 4.x series. should this be okay?
 
 gallery-1.4.1 ,p5-Mysql-modules-1.2219, php4-4.3.4_5, phpMyAdmin-2.5.4,
 phpSysInfo-2.1 and squirrelmail-1.4.2_1 seems to like mysql-3, and i was
 wondering if these ports will work with mysql4.

Apart from gallery-1.4.1 and phpSysInfo-2.1 I have all of those
working just fine with mysql-4.0.17.  PHP will certainly link against
any of the mysql versions available in ports, as will the perl DBI
stuff and the MySQL JDBC interface.  Anything that depends on those
interfaces is therefore pretty much guarranteed to work.
 
 and if this works, how will be the correct way of upgrading the mysql
 packages?

Take a backup of your database contents and any my.cnf files, just in
case.

Deinstall the mysql-3.x ports, using the '-f' (force) option.  This
should not destroy the actual data files used by mysql, just remove
the various binaries and documentation.

Now install which ever mysql-4.x port you require.  Use 'pkgdb -F' to
convice the ports system that all ports which formerly depended on
mysql-3 now depend on mysql-4.  This should be able to read the
mysql-3 datafiles directly, although it may do some internal
modifications, so don't count on being able to downgrade so easily.

Nb. Some of the internal privilege control tables are different in
mysql-4: you should review all of your GRANTS within the mysql
database after doing the upgrade.  Although as the difference is that
there are some new privileges added everything should work pretty
much straight away.

Finally, rebuild all of the ports that depend on mysql-client so that
they link against the correct shared libraries:

# portupgrade -fNr -x databases/mysql40-client databases/mysql40-client

(assuming you want the production version -- mysql-4.0.17)

Most ports that require MySQL connectivity will automatically adjust
to use the version you have installed.

Cheers,

Matthew

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


pgp0.pgp
Description: PGP signature


Re: sendmail help?

2004-01-22 Thread Peter Risdon
Micheal Patterson wrote:

Fetchmail can't retrieve mail from an smtp server that I am

currently aware of as it's designed to speak pop protocol and then deliver
it locally to an awaiting smtp server for local delivery.
 

Fetchmail can use various protocols, including etrn, which is used to 
flush queues on smtp servers. This is a common protocol: Microsoft 
Exchange 2000 and 2003 ship without a pop3 client and use etrn 
exclusively (unless you install some 3rd party client).

So you can use sendmail to collect mail using etrn, and most ISPs offer 
etrn, but this isn't what the OP was asking about.

PWR.

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


Vim startup time much longer than expected

2004-01-22 Thread Tillman Hodgson
Howdy folks,

I NFS export my home directory from a 4-STABLE box. In this home
directory are my .vimrc file and a couple of vim plugins that I use.

When I launch vim (which I use with mutt) from a workstation running
RedHat 7.3 it loads and is ready for input virtually instantly. When I
launch vim from the server itself (local disk!) it takes several seconds
before it's ready for input.

As the config files are identical, I can't think of what else might be
causing the difference. Perhaps compile options for the vim port (I use
-WITHOUT_X on the FreeBSD server end)?

It does seem, though I haven't attempted to profile or trace the process,
that it's hanging much longer while displaying this in the status line:

 Pattern not found: ^ -- .*

That's the result of my quoted .sig dumper for email replies (and thus
isn't called when I'm composing a new mail):

  EMAIL
  Make VIM use shorter lines for emails
 au BufNewFile,BufRead .letter,mutt*,nn.*,snd.* set tw=72
  Delete quoted .sig's
 au BufRead /tmp/mutt-* normal :g/^ -- .*/,/^$/-1d

I don't understand why that would be faster on the workstation (which is
half the box CPU-wise and NFS'ed) than the server. Perhaps the FreeBSD
port of vim (6.2 rather than 6.1 on the client) incorporates a
deliberate delay for warnings like that?

In any case, if anyone is able to pass me some insight I'd much
appreciate it.

-T


-- 
Beauty is more important in computing than anywhere else in technology
because software is so complicated. Beauty is the ultimate defense against
complexity. -- David Gelernter, Machine Beauty: Elegance and the Heart of
Technology
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port Forwarding

2004-01-22 Thread James Earl
If the variables for the 'SIMPLE' rules are setup properly, 'SIMPLE'
should be no different than using 'OPEN' from your win2k's perspective. 
This is assuming you don't have a broken rc.firewall file.

Looking at your original post, your sample was missing the 'onet'
variable.

# set these to your outside interface network and netmask and ip
oif=rl0
onet=???.???.???.???
omask=255.255.255.0  -- make sure this is right!!!
oip=me

# set these to your inside interface network and netmask and ip
iif=rl1
inet=192.168.0.1
imask=255.255.255.0
iip=192.168.0.1

Also, you shouldn't be using IPFIREWALL_DEFAULT_TO_ACCEPT in your kernel
configuration.  I use:

options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPDIVERT

Also see IPFIREWALL_VERBOSE_LIMIT in the firewall section of the
Handbook.

IPFIREWALL_VERBOSE allows you to get helpfull information in
/var/log/security.  If you are having troubles with connectivity, look
in /var/log/security to see if it shows what's being blocked and by what
rule.

Hope this helps.

James

On Thu, 2004-01-22 at 04:54, Rishi Chopra wrote:
 James,
 
 I've configured my Win2k box to contact DNS directly, and both Direct 
 Connect and VNC Server are running smoothly (port forwarding is being 
 accomplished (per your suggestion) by natd.conf).
 
 I've set the firewall type to 'OPEN' (the Win2k client has ZoneAlarm 
 protection of its own); this is truly the only sticking point.  I'm 
 under the impression that selecting 'SIMPLE' rather than 'OPEN' provides 
 an additional layer of protection to the gateway by preventing certain 
 spoofing attacks.  Unfortunately, I seem unable to switch the firewall 
 type without crippling my Win2k box's functionality.  Perhaps I'll give 
 it a go again sometime in the future.
 
 
 Here's a copy of the relevant files:
 
 //natd.conf
 
 unregistered_only
 interface rl0
 use_sockets
 dynamic
 redirect_port tcp 192.168.0.2:5800 5800
 redirect_port tcp 192.168.0.2:5900 5900
 redirect_port tcp 192.168.0.2:412 412
 redirect_port tcp 192.168.0.2:1412 1412
 punch_fw 2000:50
 
 //rc.conf
 
 gateway_enable=YES
 hostname=usha.dyndns.org
 ifconfig_rl0=DHCP
 ifconfig_rl1=inet 192.168.0.1 netmask 255.255.255.0
 kern_securelevel_enable=NO
 firewall_enable=YES
 firewall_type=OPEN
 # firewall_type=SIMPLE
 firewall_quiet=NO
 natd_enable=YES
 natd_interface=rl0
 natd_flags=-f /etc/natd.conf
 linux_enable=YES
 sendmail_enable=NO
 sshd_enable=YES
 
 -R


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


Re: C programming: ADT support

2004-01-22 Thread Cordula's Web
  I'm looking for some ADT's  like lists trees and
  such, to be used in C programs.=20
 =20
  Is there a librarie out there?

 Make that C++

Isn't the STL enough?

  http://www.stlport.org/
  http://www.boost.org/

Examples for using the STL:
  http://www.josuttis.com/libbook/index.html

-- 
Cordula's Web. http://www.cordula.ws/

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


Re: syslog news log?

2004-01-22 Thread Larry Rosenman


--On Thursday, January 22, 2004 14:02:49 -0500 fbsd_user 
[EMAIL PROTECTED] wrote:

What is the facility news used for?
Can I remove all the news stuff from /etc/syslog.conf file?
If you aren't running a news server (news/inn, news/leafnode, others),
yes, you can remove it. (I'd comment it out, but that's me).
LER

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


--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgp0.pgp
Description: PGP signature


Linux compatible tools

2004-01-22 Thread Ivailo Tanusheff
Hi,

I'm trying to install linux_base and linux_devtools ports, but FreeBSD
can't fetch proper rpm's. And they are not on the given search sites. Is
there some place I can redirect the search to or a place from which I
can download missing rpm's?

Regards,
Ivailo Tanusheff

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


Re: syslog news log?

2004-01-22 Thread Charles Swiger
On Jan 22, 2004, at 2:02 PM, fbsd_user wrote:
What is the facility news used for?
Usenet news.  See /usr/ports/news/inn.

Can I remove all the news stuff from /etc/syslog.conf file?
Sure.  But it doesn't do any harm to leave the defaults alone.

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


Domain name for local network?

2004-01-22 Thread Jonathon McKitrick

If I have a couple of boxes in a home network that connects to the Internet
via ppp, is there any way I can name my network?  I don't want to register
a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
or something similar rather than '10.0.0.1'.

NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ideas for an old BSD laptop?

2004-01-22 Thread Jonathon McKitrick
On Wed, Jan 21, 2004 at 07:06:17PM -0500, parv wrote:
: in message [EMAIL PROTECTED],
: wrote Jonathon McKitrick thusly...
: 
:  I haven't used my infamous Toshiba Satellite with FreeBSD 4.8 very
:  much since I got my desktop system with a flatscreen.  I'm trying
:  to think of something interesting to do with it now.
:  
:  Any ideas on something interesting to use it for?  Maybe some kind
:  of learning experience?
: 
: Try to run (Free|Net)BSD-current?  Or even, Sun Solaris 2.9?

Solaris?  That might be interesting.  You can order Solaris for x86 on CD
free from Sun, correct?

Does it work pretty well with laptop hardware?


NOTE: Please CC me, as I am not currently subscribed.  Thanks.

jm
-- 
My other computer is your windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Domain name for local network?

2004-01-22 Thread Jonathan Chen
On Thu, Jan 22, 2004 at 07:32:36PM +, Jonathon McKitrick wrote:
 
 If I have a couple of boxes in a home network that connects to the Internet
 via ppp, is there any way I can name my network?  I don't want to register
 a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
 or something similar rather than '10.0.0.1'.

You can name it anything you like. If it were me, I'd set up an
internal DNS which is authoritative for the local domain name you've
chosen. That way it'll pick up the local machines for the domain-name
but still work for non-local domains.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ideas for an old BSD laptop?

2004-01-22 Thread Jonathon McKitrick
On Thu, Jan 22, 2004 at 07:23:52PM +1000, anubis wrote:
: We have an old laptop and are going to turn it into a music on hold service 
: for our pabx.  
: 
: Will be uploading files to it via ftp and running a cron job to list all files 
: in the ftp directory and start playing them.  People can listen while on hold 
: or we can listen in on the loudspeaker on the phone.
: 
: There are plenty of command line driven players out there I am sure.

Why a cron job to play them?  Why not just ssh in and run it that way?


jm
-- 
My other computer is your Windows box.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Please see this page: 
http://lantech.geekvenue.net/chucktips/jason/chuck/1044789670/index_html

This is exactly the problem I am having now whenever I try to install either 
FreeBSD 4.9 or 5.1.  Clearly, a lot of other users out there are having this 
problem too.  FDisk absolutely refuses to accept the correct geometry values 
(the ones my BIOS tells me it is using to address the disk), instead 
insisting on using some values that are not even close to correct.  Then 
after installation completes and I try to boot, I get a missing operating 
system message, which is no surprise given that the disk was addressed by 
the installer using the wrong geometry settings.

Why the hell doesn't FDisk properly read the geometry settings from the BIOS 
in the first place (so that don't have to look them up and enter them myself 
during install), and why the hell doesn't it accept the correct values when 
I enter them?  Isn't there *ANY* way to force it to accept the values I give 
it?

I have a hard time imagining how this could be considered low priority or 
not important by the developers of the system.  This is clearly a major 
defect in either documentation (if this is user error, a LOT of users are 
having the problem, so documentation must be deficient), or a major defect 
in the code.

DISCLAIMER: I don't know if you folks are like the Linux community, but 
don't tell me to find the bug and fix it yourself, or to quit whining. 
It's perfectly reasonable for a user of a piece of software to expect it to 
work right.  I'm not a developer, and shouldn't have to be.  That's why 
*other* people are developers, so that I don't have to be.

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


Re: Thank you

2004-01-22 Thread Andrew Boothman
Khoi - San Zulu wrote:

I am of the understanding that the Operating System
loves command line. I dont feel that I am at that
level yet to configure from the command line. 
Make sure you read the New to Unix guide on 
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html 
and you might also want to have a look at the Unix documentation 
produced by my University, the University of Edinburgh, which is 
designed for people who never used Unix before - http://unixhelp.ed.ac.uk

One thing that newcomers to FreeBSD soon realise is that you can't keep 
away from the command line for long - best to learn and experiment with it!

Andrew

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


Re: Domain name for local network?

2004-01-22 Thread Andrew Boothman
Jonathan Chen wrote:

On Thu, Jan 22, 2004 at 07:32:36PM +, Jonathon McKitrick wrote:

If I have a couple of boxes in a home network that connects to the Internet
via ppp, is there any way I can name my network?  I don't want to register
a name, just use it locally.  This way I can refer to 'neptune.jonathon.org'
or something similar rather than '10.0.0.1'.


You can name it anything you like. If it were me, I'd set up an
internal DNS which is authoritative for the local domain name you've
chosen. That way it'll pick up the local machines for the domain-name
but still work for non-local domains.
I use this method all the time.

If you look at the headers of this email you'll find that my mail server 
on my LAN refers to my desktop machine as spatula.flat which clearly 
isn't a valid domain name :)

Here's how I set my local DNS up. Whenever I have to set it up again 
somewhere else I always struggle to get it right, so hopefully this'll 
help you out and mean that I can look it up in the archives next time I 
forget. :D

I add the following to /etc/namedb/named.conf

-- start --
zone flat {
type master;
file flat.fwd;
};
zone 0.168.192.IN-ADDR.ARPA {
type master;
file 0.168.192.rev;
};
-- end --
Create /etc/namedb/flat.fwd with :

-- start --
; Zonefile for .flat
$TTL86400   ;default ttl 1day
@   IN  SOA myriad.flat root.myriad.flat. (
2003102501  ;serial number  YYMMDDNN
28800   ;refresh8 hours
7200;retry  2 hours
864000  ;expire 10 days
86400 ) ;min ttl1 day
		NS 	myriad.flat.

$ORIGIN flat.

ewenIN  A   192.168.0.1
spatula IN  A   192.168.0.2
simmy   IN  A   192.168.0.2
guest0  IN  A   192.168.0.100
guest1  IN  A   192.168.0.101
guest2  IN  A   192.168.0.102
myriad 	IN	A	192.168.0.254

smtpIN  PTR myriad.flat.
mailIN  PTR myriad.flat.
pop3IN  PTR myriad.flat.
imap4   IN  PTR myriad.flat.
-- end --
And create /etc/namedb/0.168.192.rev containing:

-- start --
$TTL 86400
@IN SOA myriad.home. root.myriad.home (
200401080
86400
7200
864
86400 )
	IN NS myriad.home.

1 IN PTR ewen.flat.
2 IN PTR spatula.flat.
3 IN PTR simmy.flat.
4 IN PTR spatula.home.
100 IN PTR guest0.flat.
101 IN PTR guest1.flat.
102 IN PTR guest3.flat.
254 IN PTR myriad.flat.
-- end --
Hopefully they're not to difficult to understand. The syntax of the 
files is pretty specific though.

Oh and you need named_enable=YES in /etc/rc.conf

Mail back if you have any problems!

Andrew

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


Problem with login.conf classes

2004-01-22 Thread Chris Riley
Hello.

I'm trying to create a login class on a 4.9 box that will add additional 
restrictions for some users. I can add the login.class entries to the 
default class and they work, but they apply to everyone. I only want 
them to apply to certain users, but this isn't working.

Here's what I'm doing:

I create a copy of the default entry with the name mygroup and add 
these entries to it:
	:login-backoff=0:
	:passwordtime=30d:

mygroup:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin 
/usr/local/bin /usr/X11R6/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=unlimited:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=037:\
:login-backoff=0:\
:passwordtime=30d:

Then I run cap_mkdb /etc/login.conf like it says at the top of the file.

Then I run chpass jrandom add put him in the mygroup class. I verify 
the master.passwd entry has mygroup in it.

Then I try to login as jrandom, but I use an invalid password. Using 
login-backoff=0 it should delay 5 seconds before giving another login 
prompt. It doesn't.

However, if I add the 2 lines to the default entry in login.conf it 
does work, but it works for everyone.

How can I make it so that these entries are only applied to people in 
mygroup?

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


Re: problems with filesystems 1TB

2004-01-22 Thread Brooks Davis
On Wed, Jan 21, 2004 at 08:59:32PM -0500, Eric wrote:
 hello...
 
 i have been trying (for many moons now) to create a filesystem larger than
 1TB. I've had a variety of RAID controllers in my boxes, and I have 250GB
 drives, so it adds up quick. I've also tried doing this with vinum, but
 that fails too.
 
 i've searched for help on this topic, and i've found lots of info, but
 nothing substantial. I've read everything from it being a sysinstall
 issue, to needing new versions of the CLI tools (newfs, dd, disklabel), to
 newfs using the wrong variable type to store fssize, to having to update
 to fbsd 5.x to use UFS2. Other reports say it's a softlimit imposed
 somewhere, some say to make the frag size in newfs to 1024B for a 2TB max
 volume, it has to be dedicated, it has to be non-dedicated... the list of
 suggestions goes on and on.

I've got several boxes running 5.x that have 1TB file systems.  The
only issue I ran into (other then the insane fsck times) is the fact
that sysinstall's fdisk blows up somewhere over 1TB.  The workaround if
you have to install on a large array is to use sysinstall's fdisk to
create a slice large enough to hold the OS and leave the rest of the
disk unpartitioned.  You can then add a slice for the rest of the disk
later since fdisk works with larger volumes.  Default newfs parameters
in 5.x seem to work OK on a 1.7TB array.  With disks that large, it's
probably wise to think a bit more then usual about the average file size
so you can choose your parameters correctly.

I'm almost certain you will have no luck in 4.x.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgp0.pgp
Description: PGP signature


courier confusion

2004-01-22 Thread Mauricio
	I installed the courier mail server using portupgrade in this 
freebsd 5.1 box.  pkg_info reports it as

courier-ldap-mysql-pgsql-0.44.0 Courier SMTP IMAP POP3 HTTP mail server suite

so, I then decided to confiigure it so I can actually use it.  From 
the documentation, most of the files I need to access are in 
/usr/lib/courier.  But, when I look for the courier directory, I 
find it in many places but the one that is mentioned above:

daffy# find / -name courier -print
/usr/local/etc/courier
/usr/local/libexec/courier
/usr/local/sbin/courier
/usr/local/share/doc/courier
/usr/local/share/courier
/usr/ports/mail/courier
/var/mail/courier
/var/spool/courier
daffy#
Now, that makes me feel a bit concerned.  I have no problem with it 
sitting on /usr/local, but since the docs mention a lot the lib 
directory, and I cannot find it, I get concerned.  Further down in 
the documentation, there is a mention of the file 
/usr/lib/courier/bin/sendmail.  Looking for sendmail, I found it 
everywhere but inside a courier directory:

daffy# find / -name sendmail -print
/usr/libexec/sendmail
/usr/libexec/sendmail/sendmail
/usr/local/bin/sendmail
/usr/sbin/sendmail
/usr/share/sendmail
/usr/src/contrib/file/Magdir/sendmail
/usr/src/contrib/sendmail
/usr/src/contrib/sendmail/include/sendmail
/usr/src/etc/rc.d/sendmail
/usr/src/etc/sendmail
/usr/src/share/sendmail
/usr/src/usr.sbin/sendmail
/usr/ports/mail/sendmail
/usr/obj/usr/src/usr.sbin/sendmail
/usr/obj/usr/src/usr.sbin/sendmail/sendmail
/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/libexec/sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/share/sendmail
/etc/rc.d/sendmail
/etc.old/rc.d/sendmail
daffy#
Am I missing something here?  Because, it does feel like courier's 
sendmail may have been installed wherever it felt doing so.  Or 
nowhere at all. =(
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vim startup time much longer than expected

2004-01-22 Thread Jez Hancock
On Thu, Jan 22, 2004 at 11:43:46AM -0600, Tillman Hodgson wrote:
 Howdy folks,
 
 I NFS export my home directory from a 4-STABLE box. In this home
 directory are my .vimrc file and a couple of vim plugins that I use.
 
 When I launch vim (which I use with mutt) from a workstation running
 RedHat 7.3 it loads and is ready for input virtually instantly. When I
 launch vim from the server itself (local disk!) it takes several seconds
 before it's ready for input.
 
 As the config files are identical, I can't think of what else might be
 causing the difference. Perhaps compile options for the vim port (I use
 -WITHOUT_X on the FreeBSD server end)?
I had this problem before and iirc found it was due to the size of my vim
history setting.  Given what you say below though, perhaps this isn't
your problem here.

 It does seem, though I haven't attempted to profile or trace the process,
 that it's hanging much longer while displaying this in the status line:
 
  Pattern not found: ^ -- .*
 
 That's the result of my quoted .sig dumper for email replies (and thus
 isn't called when I'm composing a new mail):
 
   EMAIL
   Make VIM use shorter lines for emails
  au BufNewFile,BufRead .letter,mutt*,nn.*,snd.* set tw=72
   Delete quoted .sig's
  au BufRead /tmp/mutt-* normal :g/^ -- .*/,/^$/-1d
 
 I don't understand why that would be faster on the workstation (which is
 half the box CPU-wise and NFS'ed) than the server. Perhaps the FreeBSD
 port of vim (6.2 rather than 6.1 on the client) incorporates a
 deliberate delay for warnings like that?
Perhaps you could add a 'shortmess' line to the .vimrc file to inhibit those
messages? 

-- 
Jez Hancock
 - System Administrator / PHP Developer

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


Re: sendmail help?

2004-01-22 Thread Adam Bozanich


On Thu, 22 Jan 2004, Micheal Patterson wrote:


 I believe the original poster was asking about
  using sendmail to retrieve email from his ISP's smtp server.  And
  it's still a lot easier to install fetchmail than to reinstall
  sendmail.

I use fetchmail to retrieve mail from my isp's pop server.

 Apparently he's having trouble understanding a number of things lately and
 I'm beginning to wonder if he's a troll or not.

That's a bit harsh.

 http://www.sendmail.org/~ca/email/auth.html#DefaultAuthInfo

 Within that site, it will give you assistance in setting up sendmail to act
 as an smtp client using smtp-auth.

 snippet

 DefaultAuthInfo (confDEF_AUTH_INFO)
 specifies a file in which the authorization identity, the authentication
 identity, the secret, and the realm to be used for authentication are
 stored. This file must be in a safe directory and unreadable by everyone
 except root (or TrustedUser). It is used when sendmail acts as a client to
 authenticate itself to a server. Example:
 admin
 admin
 MySecretPassword
 example.domain

 Notes: all data is case sensitive (usually) and the entire line is used in
 each case (including any white space!).
 recommended filename: /etc/mail/default-auth-info

 /snippet

 I trust this is what the OP's original intentions were.

Yes, it was.  Thank you.  I really don't see what the big mix up was... I
guess I didn't post my problem clearly.

I have tried the /etc/mail/default-auth-info method (I have read that
page), but I just can't get it to work.  I have also read that the new way
to do it is with the /etc/mail/authinfo file, with the format I gave
earlier.

I have compiled sendmail with sasl (1) support.  But I don't think that
the smtp-auth part is the issue.

As I stated before, I believe the problem is that sendmail is not
translating my name in the from section of the email.  When The mail
gets rejected, it gets send back with From: [EMAIL PROTECTED], My isp wants it
to be From [EMAIL PROTECTED]

I think this is probably not too difficult to fix, but I can't see where I
am going wrong.

I can't seem to find any good tutorials/documentation on getting a simple
sendmail client working with a dynamic ip address using smtp authentication,
If anybody has any references they'd like to share, or any suggestions for me
to try it would be greatly appreciated.

What about my sendmail_msp_que question?  what does this component of
sendmail do?  (do I need it?)

TIA
-Adam


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


Re: Problem with login.conf classes

2004-01-22 Thread Melvyn Sopacua
On Thursday 22 January 2004 20:55, Chris Riley wrote:

 I'm trying to create a login class on a 4.9 box that will add additional
 restrictions for some users. I can add the login.class entries to the
 default class and they work, but they apply to everyone. I only want
 them to apply to certain users, but this isn't working.

 Here's what I'm doing:

 I create a copy of the default entry with the name mygroup and add

You don't need to create a copy, just enter the changes and close with:
:tc=default:


 However, if I add the 2 lines to the default entry in login.conf it
 does work, but it works for everyone.

 How can I make it so that these entries are only applied to people in
 mygroup?

You can't, the following values are fetched from the default class *always*:
login_prompt
passwd_prompt
login-retries
login-backoff

See lines 283 and following of /usr/src/usr.bin/login/login.c

-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: new install of 5.2 ISO aft hour system freeze cold reboot onlyoption

2004-01-22 Thread [EMAIL PROTECTED]
 Everything runs fine for about an hour and a half then everything freezes
( 
 doesnt recognize keyboard, mouse, anything etc ) and i have to do a cold 
 reboot ( ouch! ).

Do you have X running or any additional cards/devices/drivers in use in
the machine when this occurs? Which ethernet are you using etc.

-with X running or not, the only possibly 'non-standard' thing running is
the 4-way usb/multimeida kvm switch i'm using. (iogear) but other than
being a half-assed cheap switch it's working correctly and doesnt' seem to
have anything to do with this.
I have 2 onboard nics, a 3-com and nvida built in but i'm using a SMC
(Accton|SMC2-1211TX) which is working fine, also seems to be unrelated.

 I do believe this to be related to ACPI but have no proof. 

Does this still happen with ACPI disabled?

- good question, i have been trying to track this down to bios or other
settings or issues before running the kernel with ACPI permently disabled
but that may do it.  I'll boot tonight with it off and see if that helps.


Having ACPI enabled can also cause interrupt related problems in some
configurations.

- do you mean disabling ACPI in the kernel when it asks if you want to
permanetly disable? 


-
I also recieved this answer from a user:
In bios 
Disable power management options. 
Set operation system option to other, or just not ms/windows, 
disable all plug-n-play options. 


I did this last night and it ran for 2 hours without incident.
(had to go out, didn't want to take the chance of it freezing up when not
home, so i shutdown) but it did run for 2 hours with no problems and did
not freeze up.


thanks for the responses






mail2web - Check your email from the web at
http://mail2web.com/ .


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


Re: Domain name for local network?

2004-01-22 Thread Melvyn Sopacua
On Thursday 22 January 2004 20:32, Jonathon McKitrick wrote:

 If I have a couple of boxes in a home network that connects to the Internet
 via ppp, is there any way I can name my network?  I don't want to register
 a name, just use it locally.  This way I can refer to
 'neptune.jonathon.org' or something similar rather than '10.0.0.1'.

Andrew gave a good HOW-TO.
In general, you would choose a TLD (the last part of a domainname, like .org 
or .net) that does not exist on the internet, so that you never confuse it 
with a real domainname.

.lan, .home or .here are good candidates.
-- 
Melvyn

===
FreeBSD sarevok.webteckies.org 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue Dec 30 
14:31:47 CET 2003 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG  i386
===


pgp0.pgp
Description: signature


Re: VMware 3 crashes 5.2 system

2004-01-22 Thread Quintin Riis
I'm pretty sure that VMware doesn't currently support 5.x in any fashion.

		Quintin

Konrad Heuer wrote:

Does anyone successfully run VMware 3 on 5.2-R? After upgrading from 5.1-R
to 5.2-R my system crashes shortly after VMware begins to initialize.
The modules vmmon etc. have been rebuild after the upgrade.

Thanks for any hint.

Konrad

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany
___
[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: Domain name for local network?

2004-01-22 Thread Chris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 22 January 2004 03:31 pm, Melvyn Sopacua wrote:
 On Thursday 22 January 2004 20:32, Jonathon McKitrick wrote:
  If I have a couple of boxes in a home network that connects to the
  Internet via ppp, is there any way I can name my network?  I don't want
  to register a name, just use it locally.  This way I can refer to
  'neptune.jonathon.org' or something similar rather than '10.0.0.1'.

 Andrew gave a good HOW-TO.
 In general, you would choose a TLD (the last part of a domainname, like
 .org or .net) that does not exist on the internet, so that you never
 confuse it with a real domainname.

 .lan, .home or .here are good candidates.

If he's behind some sort of routing device, he can certainly setup a DNS witin 
his own network.

- -- 
Best regards,
Chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAEEMKD5P/gMAbw2MRAvuUAJ9YHF3dH+VPpeDPNTysaVGaoZCVPwCgl6VT
QYMOOZgA4cxGgeNUCj5tr4w=
=rTss
-END PGP SIGNATURE-

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


RE: courier confusion

2004-01-22 Thread Lee Mx
From: Mauricio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: courier confusion
Date: Thu, 22 Jan 2004 15:02:07 -0500
	I installed the courier mail server using portupgrade in this freebsd 5.1 
box.  pkg_info reports it as

courier-ldap-mysql-pgsql-0.44.0 Courier SMTP IMAP POP3 HTTP mail server 
suite
For starters, I would suggest upgrading the port to 44.2 which is the 
latest.
so, I then decided to confiigure it so I can actually use it.  From the 
documentation, most of the files I need to access are in /usr/lib/courier.  
But, when I look for the courier directory, I find it in many places but 
the one that is mentioned above:
Courier is designed so you can install it basically anywhere and what you 
have found are the FreeBSD default location.

daffy# find / -name courier -print
/usr/local/etc/courier
This is where you  will configure courier.  I suggest you read
/usr/local/libexec/courier
and /usr/local/libexec/authlib is also courier :)

/usr/local/sbin/courier
See Install - post installation checks.

/usr/local/share/doc/courier
This are the docs for courier.  You certainly want to read INSTALL and FAQ 
at a minimum and that should answer most of your questions.  They exist in 
both this and the html directory.
/usr/local/share/courier
Mostly configuration executibles for configuring Courier.
/usr/ports/mail/courier
/var/mail/courier
/var/spool/courier
daffy#
Now, that makes me feel a bit concerned.  I have no problem with it sitting 
on /usr/local, but since the docs mention a lot the lib directory, and I 
cannot find it, I get concerned.  Further down in the documentation, there 
is a mention of the file /usr/lib/courier/bin/sendmail.  Looking for 
sendmail, I found it everywhere but inside a courier directory:
See: /etc/mail/mailer.conf should give courier paths also you might want to 
do a
ls -l `which sendmail` should help understand.

daffy# find / -name sendmail -print
/usr/libexec/sendmail
/usr/libexec/sendmail/sendmail
/usr/local/bin/sendmail
/usr/sbin/sendmail
/usr/share/sendmail
/usr/src/contrib/file/Magdir/sendmail
/usr/src/contrib/sendmail
/usr/src/contrib/sendmail/include/sendmail
/usr/src/etc/rc.d/sendmail
/usr/src/etc/sendmail
/usr/src/share/sendmail
/usr/src/usr.sbin/sendmail
/usr/ports/mail/sendmail
/usr/obj/usr/src/usr.sbin/sendmail
/usr/obj/usr/src/usr.sbin/sendmail/sendmail
/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/libexec/sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/share/sendmail
/etc/rc.d/sendmail
/etc.old/rc.d/sendmail
daffy#
Am I missing something here?  Because, it does feel like courier's sendmail 
may have been installed wherever it felt doing so.  Or nowhere at all. =(
Courier's sendmail in in /usr/local/bin/sendmail.  I suggest you read the 
courier docs and you might want to do man mailer.conf

I'm running courier from the 44.2 port every since it was updated with no 
problems what so ever.

Good luck,

_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-uspage=hotmail/es2ST=1

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


Re: Linux compatible tools

2004-01-22 Thread Kris Kennaway
On Thu, Jan 22, 2004 at 09:12:43PM +0200, Ivailo Tanusheff wrote:
 Hi,
 
 I'm trying to install linux_base and linux_devtools ports, but FreeBSD
 can't fetch proper rpm's. And they are not on the given search sites. Is
 there some place I can redirect the search to or a place from which I
 can download missing rpm's?

ftp.freebsd.org or a mirror closer to you.

Kris


pgp0.pgp
Description: PGP signature


Re: C programming: ADT support

2004-01-22 Thread r t g tan
That's it, thank you,

---
robert t g tan

On Thu, Jan 22, 2004 at 07:23:59PM +0100, Cordula's Web wrote:
   I'm looking for some ADT's  like lists trees and
   such, to be used in C programs.=20
  =20
   Is there a librarie out there?
 
  Make that C++
 
 Isn't the STL enough?
 
   http://www.stlport.org/
   http://www.boost.org/
 
 Examples for using the STL:
   http://www.josuttis.com/libbook/index.html
 
 -- 
 Cordula's Web. http://www.cordula.ws/












pgp0.pgp
Description: PGP signature


Nis

2004-01-22 Thread Joe Stuart
Hi,
I'm running NIS with freebsd as the server and using redhat clients.  I
have authentication working fine but I cant seem to get changing the
passwords to work. If you change the password from a redhat box it just
changes the NIS password not the system password and changing the
password while on the freebsd server complains and says passwd Unknown
NIS user: username . I have in rc.conf 

nisdomainname=nisdomain   # Domain Name
nis_server_enable=YES # run NIS server
nis_server_flags= # Flags to ypserv
nis_yppasswdd_enable=YES  # Run Passwd Server
nis_yppasswdd_flags= -sf -t /etc/master.passwd 

and I'm changing the password from the server with passwd -y.

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


problem mounting USB CDRW, umass0/pass0

2004-01-22 Thread scott renna
Hello,

I'm running into a problem mounting this external usb
cdrw drive i have.  My kernel has scbus, da, and umass
in it, as well as ehci(for usb2.0 support).

dmesg shows the device:

umass0: Acer Communications  Multimedia Inc. USB
Optical Storage Device, rev 1.00/a.03, addr 3

pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: USB CD-R/RW 6X4X6 E.CC Removable CD-ROM
SCSI-0 device 
pass0: 1.000MB/s transfers

I've tried to mount it as /dev/pass0 but I get:
mount: /dev/pass0: Block device required

Attempting to mount as /dev/umass0 yields:
mount: /dev/umass0: No such file or directory

Can anyone offer any guidance?


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Thanks for your thoughtful and helpful reply.  I should have given more 
technical details.

I already tried (with both 4.9 and 5.1) letting the FreeBSD install proceed 
with fdisk's  geometry value assumptions, and what I always get is a 
non-bootable hard drive that gives the Missing operating system error at 
boot.

The hard drive is IDE, not SCSI.  It is a Maxtor UltraMax 40GB ATA/100 drive 
purchased shy of two years ago.  The physical geometry reported by Maxtor 
in the specs for the drive is different from the geometry my BIOS reports 
that it has auto-detected and is using to address the drive.  And both of 
*those* geometries are different from the one that fdisk keeps trying to 
assume.

I've already read all the FAQs, handbooks, and support sites I could find 
regarding FreeBSD and disk geometry.  None of them have contained any 
information specific to IDE drives (they all seem SCSI-centric), and none of 
them have clearly explained all the background context about how drive 
geometries work.  I guess there is a physical geometry provided by the 
drive manufacturer, and then different geometries (all of which may be 
valid) your BIOS might use to address the drive depending on the mode it is 
using (LBA, etc).  As far as I can tell, the geometry values a user is 
supposed to feed to fdisk are the values that the BIOS reports that it is 
using to address the drive, but I'm not even sure if that is correct because 
the documentation is so impenetrable.  And of course many users are running 
into this issue where the drive geometries reported and used by their BIOS 
are simply rejected by fdisk as invalid whenever they try to enter them 
into fdisk, which makes no sense to me.



- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]; 
[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 12:44 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 
  Please see this page:
  http://lantech.geekvenue.net/chucktips/jason/chuck/1044789670/index_html
 
  This is exactly the problem I am having now whenever I try to install 
  either
  FreeBSD 4.9 or 5.1.  Clearly, a lot of other users out there are having 
  this
  problem too.  FDisk absolutely refuses to accept the correct geometry 
  values
  (the ones my BIOS tells me it is using to address the disk), instead
  insisting on using some values that are not even close to correct.  Then
  after installation completes and I try to boot, I get a missing 
  operating
  system message, which is no surprise given that the disk was addressed 
  by
  the installer using the wrong geometry settings.

 Of about 100 to 110 FreeBSD systems we have up and going, I have never
 had the fdisk reported geometry match the BIOS reported information
 but I have never had a system fail to install and boot by just ignoring
 the whole issue and letting it (sysinstall, fdisk, etc) do its own thing
 as long as I didn't try to tinker with the geometry.  This has been with
 both SCSI and IDE disks, but mostly SCSI and almost entirely on mainstream
 hardware such as what comes with Dell, Compaq, etc, not homebuilts.
 The FreeBSD versions have been most of 3.xx through most of 4.xx. I
 haven't tried any 5.xx yet but the person in the box (cubicle) next to
 me has 5.1 going and sees the same thing.

 There have been lots of things written about this. I don't know which
 ones apply in your case.  But, the geometries on recent disks and
 recent versions of software (recent = in the last 6 or 7 years) are
 all virtual as far as I can see.So, just try letting it fly
 and without trying to tinker or reconcile what appears to be a conflict.

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Chris Pressey
On Thu, 22 Jan 2004 14:24:19 -0800
Keith Kelly [EMAIL PROTECTED] wrote:

 Thanks for your thoughtful and helpful reply.  I should have given
 more technical details.
 
 I already tried (with both 4.9 and 5.1) letting the FreeBSD install
 proceed with fdisk's  geometry value assumptions, and what I always
 get is a non-bootable hard drive that gives the Missing operating
 system error at boot.

Hi Keith,

Just to be sure - did you elect to install BootMgr (or a regular boot
record) on the drive when sysinstall asks?

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


Fetchmail config help

2004-01-22 Thread fbsd_user
I have an registered domain name. The company that hosts my domain
name has an application that allows me to forward all my different
users email to an single account at my ISP. This was ok when all the
email was for me, but now the family also wants to use my domain
name. I want to configure the FBSD root account to run fetchmail in
daemon mode and retrieve all the email in that single account and
post it into each users separate sendmail mailbox.
I have the daemon mode working But having hard time making heads or
tails out of the fetchmail documentation at
http://www.catb.org/~esr/fetchmail/fetchmail-man.html#3

It kind of implies that I have to have an account at
my ISP called 'maildrop' for this to work.
Is that correct?

Would this work
user tomisp with pass tom722 is * here

How do I change the user statement to do
the multdrop thing at my end?

Would also like to tell fetchmail to use the
syslogd local3 facility to post it's messages to.

This is what I an using now.

set postmaster root
set no bouncemail
set no spambounce
poll mail.xx.net proto pop3
   user tomisp there with password tom722 is tomFBSD here


Thanks for your help.


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


Re: Domain name for local network?

2004-01-22 Thread Robert Huff

Chris writes:

  If he's behind some sort of routing device, he can certainly
  setup a DNS witin his own network.

Of course; the trick is to do it in such a way that when - may
it be soon! - he gets out from behind that routing device changing
to a real DNS setup will be quick, relatively painless, and not
complicate anyone else's life.  I recommended installing Bind 9 and
using views.


Robert Huff


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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Charles Swiger
On Jan 22, 2004, at 5:24 PM, Keith Kelly wrote:
I already tried (with both 4.9 and 5.1) letting the FreeBSD install 
proceed
with fdisk's  geometry value assumptions, and what I always get is a
non-bootable hard drive that gives the Missing operating system 
error at
boot.
Sufficiently old motherboards and BIOS versions don't understand the 
LBA addressing mode used by modern drives, and are limited to seeing 
approx 8.4 GB using the classic C/H/S values.  See whether the BIOS 
lets you configure the drive to LBA mode rather than automatic, 
C/H/S, or extended C/H/S mode.  If it doesn't, check to see whether 
there is a BIOS update available for your hardware.

It may be the case that this doesn't resolve the issue.  You can try to 
create a small (say 32MB) DOS partition using classic MS-DOS 6.x or a 
utility from the drive manufacturer, and verify whether you can boot 
into that.  If you can't and still get the missing OS error, you've 
got hardware issues and should consider replacing your MB.  If you can 
boot to a DOS partition on the hard disk, then try installing FreeBSD 
to the remaining space, leaving the DOS partition intact.  This will 
give you a better shot of using a geometry that your BIOS is able to 
boot.

[ The only hardware I've seen which required that kind of thing was a 
no-name P133 grade machine... ]

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
Yes, I tried it both ways (installing BootMgr, and installing a standard 
MBR).


- Original Message - 
From: Chris Pressey [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:38 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 On Thu, 22 Jan 2004 14:24:19 -0800
 Keith Kelly [EMAIL PROTECTED] wrote:

  Thanks for your thoughtful and helpful reply.  I should have given
  more technical details.
 
  I already tried (with both 4.9 and 5.1) letting the FreeBSD install
  proceed with fdisk's  geometry value assumptions, and what I always
  get is a non-bootable hard drive that gives the Missing operating
  system error at boot.

 Hi Keith,

 Just to be sure - did you elect to install BootMgr (or a regular boot
 record) on the drive when sysinstall asks?

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


Re: FDisk won't detect or accept correct disk geometry from BIOS

2004-01-22 Thread Keith Kelly
See comments in-line.

- Original Message - 
From: Charles Swiger [EMAIL PROTECTED]
To: Keith Kelly [EMAIL PROTECTED]
Cc: freebsd-questions [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 2:56 PM
Subject: Re: FDisk won't detect or accept correct disk geometry from BIOS


 On Jan 22, 2004, at 5:24 PM, Keith Kelly wrote:
  I already tried (with both 4.9 and 5.1) letting the FreeBSD install
  proceed
  with fdisk's  geometry value assumptions, and what I always get is a
  non-bootable hard drive that gives the Missing operating system
  error at
  boot.

 Sufficiently old motherboards and BIOS versions don't understand the
 LBA addressing mode used by modern drives, and are limited to seeing
 approx 8.4 GB using the classic C/H/S values.  See whether the BIOS
 lets you configure the drive to LBA mode rather than automatic,
 C/H/S, or extended C/H/S mode.  If it doesn't, check to see whether
 there is a BIOS update available for your hardware.

The motherboard is not old.  It is an MSI KT4 Ultra motherboard, if I 
remember the model number correctly off the top of my head, for the Athlon 
XP architecture.  The BIOS doesn't even explicitly list what mode (LBA, CHS, 
extended CHS) it is using to address the drive -- I just set it to Auto, 
it detects the device name, and fills out a small listing telling me the 
C/H/S geometry it is using.  The motherboard is already running the latest 
available BIOS update from MSI.

 It may be the case that this doesn't resolve the issue.  You can try to
 create a small (say 32MB) DOS partition using classic MS-DOS 6.x or a
 utility from the drive manufacturer, and verify whether you can boot
 into that.  If you can't and still get the missing OS error, you've
 got hardware issues and should consider replacing your MB.

I definitely do not have hardware issues, because Linux, Windows XP, Windows 
2000, BeOS, and SkyOS have all worked fine at various points, and Windows XP 
continues to work fine :-)

 If you can
 boot to a DOS partition on the hard disk, then try installing FreeBSD
 to the remaining space, leaving the DOS partition intact.  This will
 give you a better shot of using a geometry that your BIOS is able to
 boot.

 [ The only hardware I've seen which required that kind of thing was a
 no-name P133 grade machine... ]

 -- 
 -Chuck

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


  1   2   >