VMWare 3, USB, devusbfs... Oh my...

2003-12-26 Thread Jacob S. Barrett
So I have done some googling and have come up with more questions than 
answers.  Has anyone been successful at getting USB devices to work with the 
vmware3 port?  I saw some messages over a year ago about needing to port 
usbdevfs to FreeBSD for Linux compat.  After that I can't find any reference 
to the effort.  Has that effort died?  Has anyone found a solution to this 
problem?

-- 
Jacob S. Barrett
[EMAIL PROTECTED]
www.amduat.net

I don't suffer from insanity, I enjoy every minute of it.

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


Re: escape to kernel debugger

2003-12-26 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Your MUA is not handling quoted-printable correctly.

On Friday, 26 December 2003 at  9:35:05 +0200, Danny Braniss wrote:
 On Friday, 26 December 2003 at  9:13:57 +0200, Danny Braniss wrote:
 hi,
 how can i break into the kernel debugger when the console
 is a serial one? (Ctrl-Alt-Esc has now ascii equivalent :-)

 Try:

   sysctl debug.enter_debugger=gdb

 to go into gdb, or

   sysctl debug.enter_debugger=ddb

 to go into ddb.

 wups, sorry, forgot to mention,

   the machine is hung

In that case, you could have trouble either way.  There are
possibilities with firewire, but you've probably lost.  If you can't
get local access, I think it's time for the Big Red Button.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: Procmail + Mutt

2003-12-26 Thread Matthew Seaman
On Fri, Dec 26, 2003 at 07:57:55AM +1100, Gautam Gopalakrishnan wrote:
 On Thu, Dec 25, 2003 at 03:43:01PM -0600, Bryan Cassidy wrote:
  I am using FreeBSD 4.8 with Mutt 1.5 and Procmail 3.22 and have setup
  some filters. In my .procmailrc I have the following
  
  :0: * [EMAIL PROTECTED] FreeBSD_Questions :0: *
  ^TO_questions FreeBSD_Questions
  
 
 That must read:
 
 :0:
 * ^(To|C[Cc]):[EMAIL PROTECTED]
 freebsd-questions
 
 because sometimes people CC freebsd-questions

Except that '^TO_' in procmail recipies is a variable that expands
into a regular expression that matches pretty much all of the possible
header lines that can contain the delivery address.  From
procmailrc(1):

   If the regular expression contains `^TO_' it will be substituted by
   `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
   |Apparently(-Resent)?)-To):(.*[^-a-zA-Z0-9_.])?)', which should catch
   all destination specifications containing a specific address.

There's another very similar pre-defined expression ^TO which I use --
I also match on the List-ID header, which is the most effective way of
catching messages delivered by through list: the ^TO stuff is to catch
messages CC'd to me as well as to the list:

# FreeBSD Questions
:0:
* (^TO|^List-ID:.*)(freebsd-)?questions(\.|@)FreeBSD\.ORG
| ${FORMAIL} -AX-Folder: FreeBSD/Questions  FreeBSD/Questions

Note too that '.' in these REs is a wildcard, matching every single
character.  You need to escape it '\.' to match it literally.

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: Any (easy)way to copy contents of a file into X clipboard?

2003-12-26 Thread Pat Lashley
--On Sunday, December 21, 2003 20:50:22 -0500 Scott W [EMAIL PROTECTED] wrote:

Hey all..was wondering if anyone knew of a utlity to copy the contents
of a text file into an X clipboard buffer?
It's possible via the use of xmessage or any other X editor that allows
you to select all text, but something command line only would be useful...
I'm sure something exists somewhere, but I'm not having any luck as of
yet...anyone?
Have you tried /usr/ports/x11/xclip ?



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


Re: problem with ld-elf.so.1

2003-12-26 Thread hymette
You were right right from the start : it was gettext that I had 
portupgraded without the -u flag. Now that it's done and everything 
works fine I realize I could have found the answer by myself : it did 
not appear so simple before. Freebsd runs so well usually that you 
forget the little tricks between 2 upgrades. For me 2004 will begin 
with a clean system : many thanks and happy new year.

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


Re: problem with ld-elf.so.1

2003-12-26 Thread Kent Stewart
On Friday 26 December 2003 02:23 am, [EMAIL PROTECTED] wrote:
 You were right right from the start : it was gettext that I had
 portupgraded without the -u flag. Now that it's done and everything
 works fine I realize I could have found the answer by myself : it did
 not appear so simple before. Freebsd runs so well usually that you
 forget the little tricks between 2 upgrades. For me 2004 will begin
 with a clean system : many thanks and happy new year.


It is much easier after you have encountered the symptons and found the fix. 
KDE has been erroring off with a message about ld-elf.so.1 can not find 
libvorbisfile.so.3. If artsd doesn't start, you don't have knotify sounds. It 
turns out that arts is dependant on libvorbis but doesn't have it as a 
dependancy. A short time ago, libvorbis was updated and a -u didn't update 
arts.

Happy new year,

Kent

-- 
Kent Stewart
Richland, WA

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

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


[no subject]

2003-12-26 Thread Tomasz Królikowski
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.56 2003/12/19 22:52:44 jhb Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   ORLANDO
maxusers0

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

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #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!]
options SCSI_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.
options IPFILTER#ipfilter support
options IPFILTER_LOG#ipfilter logging

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

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 isa? port IO_WD1 irq 14
device  ata1at isa? port IO_WD2 irq 15
device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
device  atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   #Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device mpt # LSI-Logic MPT/Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets)
#optionsSYM_SETUP_LP_PROBE_MAP=0x40
# Allow ncr to attach legacy NCR devices when 

[no subject]

2003-12-26 Thread Tomasz Królikowski
sbp.o(.text+0xf71): undefined reference to sbp_agent_reset_callback':
sbp.o(.text+0x1067): undefined reference to sbp_orb_pointer':
sbp.o(.text+0x1375): undefined reference to sbp_recv1':
sbp.o(.text+0x1d87): undefined reference to xpt_done'
sbp.o: In function cam_simq_alloc'
sbp.o(.text+0x21d8): undefined reference to cam_simq_free'
sbp.o(.text+0x21fa): undefined reference to xpt_periph'
sbp.o(.text+0x221e): undefined reference to xpt_bus_deregister'
sbp.o(.text+0x2318): undefined reference to cam_sim_free'
sbp.o: In function xpt_async'
sbp.o(.text+0x2541): undefined reference to xpt_bus_deregister'
sbp.o(.text+0x2559): undefined reference to sbp_cam_detach_sdev':
sbp.o(.text+0x2638): undefined reference to xpt_async'
sbp.o(.text+0x2655): undefined reference to sbp_target_reset':
sbp.o(.text+0x26f8): undefined reference to sbp_timeout':
sbp.o(.text+0x2804): undefined reference to sbp_action1':
sbp.o(.text+0x2df5): undefined reference to xpt_done'
sbp.o: In function xpt_done'
*** Error code 1

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


problem

2003-12-26 Thread Charlie ROOT
sbp.o(.text+0xf71): undefined reference to `xpt_create_path'
sbp.o: In function `sbp_agent_reset_callback':
sbp.o(.text+0x1067): undefined reference to `xpt_release_devq'
sbp.o: In function `sbp_orb_pointer':
sbp.o(.text+0x1375): undefined reference to `xpt_done'
sbp.o: In function `sbp_recv1':
sbp.o(.text+0x1d87): undefined reference to `xpt_freeze_devq'
sbp.o(.text+0x2066): undefined reference to `xpt_done'
sbp.o: In function `sbp_attach':
sbp.o(.text+0x217f): undefined reference to `cam_simq_alloc'
sbp.o(.text+0x21d8): undefined reference to `cam_sim_alloc'
sbp.o(.text+0x21e8): undefined reference to `cam_simq_free'
sbp.o(.text+0x21fa): undefined reference to `xpt_bus_register'
sbp.o(.text+0x2215): undefined reference to `xpt_periph'
sbp.o(.text+0x221e): undefined reference to `xpt_create_path'
sbp.o(.text+0x2231): undefined reference to `xpt_bus_deregister'
sbp.o(.text+0x2318): undefined reference to `xpt_async'
sbp.o(.text+0x2326): undefined reference to `cam_sim_free'
sbp.o: In function `sbp_detach':
sbp.o(.text+0x2539): undefined reference to `xpt_async'
sbp.o(.text+0x2541): undefined reference to `xpt_free_path'
sbp.o(.text+0x254f): undefined reference to `xpt_bus_deregister'
sbp.o(.text+0x2559): undefined reference to `cam_sim_free'
sbp.o: In function `sbp_cam_detach_sdev':
sbp.o(.text+0x2638): undefined reference to `xpt_release_devq'
sbp.o(.text+0x264d): undefined reference to `xpt_async'
sbp.o(.text+0x2655): undefined reference to `xpt_free_path'
sbp.o: In function `sbp_target_reset':
sbp.o(.text+0x26f8): undefined reference to `xpt_freeze_devq'
sbp.o: In function `sbp_timeout':
sbp.o(.text+0x2804): undefined reference to `xpt_freeze_devq'
sbp.o: In function `sbp_action1':
sbp.o(.text+0x2df5): undefined reference to `xpt_done'
sbp.o(.text+0x2e05): undefined reference to `xpt_done'
sbp.o: In function `sbp_abort_ocb':
sbp.o(.text+0x33e6): undefined reference to `xpt_done'
*** Error code 1

Stop in /usr/src/sys/compile/ORLANDO.
[EMAIL PROTECTED]:/usr/src/sys/compile/ORLANDO]$
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ./LINT configuration file. If you are
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.56 2003/12/19 22:52:44 jhb Exp $

machine i386
#cpuI386_CPU
#cpuI486_CPU
cpu I586_CPU
#cpuI686_CPU
ident   ORLANDO
maxusers0

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

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options INET6   #IPv6 communications protocols
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep this!]
options SOFTUPDATES #Enable FFS soft updates support
options UFS_DIRHASH #Improve performance on big directories
options MFS #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!]
options SCSI_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 

RTC BIOS diagnostic error 20 (4.9-REL)

2003-12-26 Thread J.D. Bronson®
I have noticed the following on 4.9-REL i386 but only once in awhile..

...
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x100
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
RTC BIOS diagnostic error 20config_unit
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
...
I searched and found others had asked this, but there didnt seem any 
concrete answer...

The machine runs quite well and I am not aware of -any- issues...but 
someone out there MUST know what this actually meansboot -v does not 
yield any further information.

Help?





--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Fax: 414.328.8282 // Pager: 414.314.8282
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't traceroute to my box

2003-12-26 Thread Frank DeChellis
Hi.

I am new to FreeBSD.  I have been using NetBSD for about 9 years.  I have
FreeBSD v. 4.8 Release #1 running.  Everything is smooth expect for one
thing.

I can't traceroute to the box.  I can do a traceroute -I to it, but not a
regular traceroute, which tells me something about UDP, but I don't know
where to look.

IS there a file somewhere that is closing certain UDP ports that respond to
traceroute?

Other than this, the box is working fine.

Thanks and I look forward to learning more about FreeBSD.

Frank

-
Frank DeChellis, President
Internet Access Worldwide
3 East Main St.  Welland, ON, Canada L3B 3W4
1-905-714-1400   http://www.iaw.com
-


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


Re: A Challenge... NAT for PPP dial in user

2003-12-26 Thread Lowell Gilbert
Drew Robertson [EMAIL PROTECTED] writes:

 I've been playing around with this for a while.
 
 I have a FreeBSD 4.8 box set as a gateway on my home LAN.  I have 1 pc
 downstairs, and a few dial up users... FreeBSD box has 2 network
 cards, 1 for internal, 1 for external internet using cable  1 56k
 modem.
 
 Very simple problem... when a dial in user connects to the FreeBSD
 gateway/router using PPP, NAT stops working on the PC downstairs and
 won't work on the dial in PC either...
 
 I have complete LAN access (telnet, ssh, samba, ping etc) on both the
 dial in PC and the downstairs PC, but somewhere my config is
 preventing everyone from being able to access the internet at once.
 
 In rc.conf, I have my Gateway_enable=YES, defaultrouter=192.168.1.1,
 router_enable=yes, proxyarp_all=yes...
 
 PPP.conf is simple...
 
   enable pap
   enable passwdauth
   set ifaddr 192.168.1.1 192.168.1.100-192.168.1.199 255.255.255.0
   add HISADDR 255.255.255.0 MYADDR
   accept dns
   set dns 203.2.75.132
   enable proxy
 
 In natd.conf
 
 interface tl0
 sameports yes
 dynamic yes
 
 I'm running a firewall, but it is open for the TUN0 interface...
 
 I also have a divert natd (8668) allow all from any to any out via tl0
 
 All other PC's on the LAN are windows clients... the one downstairs I
 was able to just set a default gateway and it was up and running on
 the internet, unfortunately it isn't done like that on a dial in setup
 on windows...  I can't use DHCP for the clients, as I'm not supposed
 to have internet sharing running...
 
 Do I need to have an add statement in the PPP.conf, or do i have to
 enable proxyall rather than enable proxy??
 
 Worst thing about this is I can't find enough doco on it on the
 net... I'll write my own when I get it done...

I think that natd(8) and the NAT from ppp(8) are stepping on each
other's toes.  Try not enabling NAT in ppp(8) at all, and letting
natd(8) take care of it.  It's the same outside interface, after all;
it should just work.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dynamic link problem

2003-12-26 Thread Lowell Gilbert
Jesse Guardiani [EMAIL PROTECTED] writes:

 I've got an old copy of Wordperfect (now deleted from ports) that I use at work.
 
 When I run the program, I get this output:
 
 % xwp
 /usr/local/lib/corel/wpbin/xwp: can't load library 'libXt.so.6'
 Exit 16
 
 Obviously a dynamic link problem, so I run ldd on it:
 
 % ldd -a /usr/local/lib/corel/wpbin/xwp
 libXt.so.6 = not found
 libX11.so.6 = not found
 libXpm.so.4 = not found
 libm.so.5 = not found
 libc.so.5 = /usr/lib/libc.so.5 (0x28749000)
 
 OK. Fair enough. It can't find the first four libraries.
 But why? libXt.so.6 is listed by ldconfig:
 
 % ldconfig -r | grep libXt.so.6
 140:-lXt.6 = /usr/X11R6/lib/libXt.so.6
 
 So are the other three:
 
 % ldconfig -r | grep libX11.so.6
 162:-lX11.6 = /usr/X11R6/lib/libX11.so.6
 
 % ldconfig -r | grep libXpm.so.4
 143:-lXpm.4 = /usr/X11R6/lib/libXpm.so.4
 
 % ldconfig -r | grep libm.so.5
 712:-lm.5 = /usr/compat/linux/usr/i486-linux-libc5/lib/libm.so.5
 
 So how do I fix this?

If I recall correctly, that was a Linux program.  So you need all of
the libraries to exist under the Linux compatibility tree.  Make sure
you've got linux_base installed, and if some of the libraries aren't
in there, take directory-tree hints from the ones that are.

Good luck.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does a make world with NO_BIND=true also omit libresolv?

2003-12-26 Thread Lowell Gilbert
Hari Bhaskaran [EMAIL PROTECTED] writes:

 Does a make world with NO_BIND=true also omit libresolv?

Sure looks like it to me.

 I have seen many references to using NO_BIND=true to avoid
 compiling the DNS 'server' bind (which I dont use). Does 
 it also omit libresolv? Isn't libresolv an integral part of
 the OS? How would gethostbyname work without it?

Well, *bind* is considered a part of the base system, and therefore
you're expected to be on your own if you cut parts of it out.  The
NO_BIND option is really intended for people who are installing DNS
code separately.

 Any help is appreciated.

Hope that helps...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Forward and NAT question

2003-12-26 Thread Pierrick Brossin
Hi!

I'm a little bit confused.
I got my server up and running with nat and stuff for a little while now
and I was wondering why would one need both net.inet.ip.forwarding set
to 1 and NAT ?

I've been searching in the docs and on google for 3 days but I can't
figure out what is forwarding needed for if NAT is enabled...

Regards

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


errors building kernel (Re: none)

2003-12-26 Thread Lowell Gilbert
You deleted the SCSI support devices, but not everything that uses SCSI.


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem

2003-12-26 Thread Lowell Gilbert
Charlie ROOT [EMAIL PROTECTED] writes:

 devicesbp # SCSI over FireWire (Requires scbus and da)

Please note that comment.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't traceroute to my box

2003-12-26 Thread Fernando Gleiser
On Fri, 26 Dec 2003, Frank DeChellis wrote:

 Hi.

 I am new to FreeBSD.  I have been using NetBSD for about 9 years.  I have
 FreeBSD v. 4.8 Release #1 running.  Everything is smooth expect for one
 thing.

 I can't traceroute to the box.  I can do a traceroute -I to it, but not a
 regular traceroute, which tells me something about UDP, but I don't know
 where to look.

Are you using a firewall of some kind? The last hop of a traceroute
ends with a 'Port unreachable ICMP. If the firewall is blocking UDP,
you get no response.


 IS there a file somewhere that is closing certain UDP ports that respond to
 traceroute?

No that I am aware off, unless you're using a firewall.


Fer

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


Invalid Partition - help on setting up loader

2003-12-26 Thread Joseph
Hi list. Merry Christmas!!

This is my first post on a Freebsd Mailing List, so don't be too harsh on me if my 
ettiquette isn't acceptable.

Ok, I guess I'll get to the heart of this post:

I'm trying to figure out how to boot 5-releng-1 alongside my 4-stable slice.

After a surprisingly successful buildworld/kernel, installworld, I used 
/stand/sysinstall to fdisk/disklabel the appropriate partitions. By the way, both 
slices exist on the same disk.

Booting to stable was fine, however, booting to current gave me:

invalid partion

I was, however, able to get it to work, when I pointed the boot to 
0:ad(2,e)/boot/loader (which is the location of my current's root partition.)

I'm happy with how my current installation went, but I may have missed a crucial step 
along the way.

Any advice welcome

[edit] I was referred here from the newbies list. Go figure.
If this isn't a newb question, what is?

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


Re: Any (easy)way to copy contents of a file into X clipboard?

2003-12-26 Thread Scott W
Pat Lashley wrote:

--On Sunday, December 21, 2003 20:50:22 -0500 Scott W 
[EMAIL PROTECTED] wrote:

Hey all..was wondering if anyone knew of a utlity to copy the contents
of a text file into an X clipboard buffer?
It's possible via the use of xmessage or any other X editor that allows
you to select all text, but something command line only would be 
useful...
I'm sure something exists somewhere, but I'm not having any luck as of
yet...anyone?


Have you tried /usr/ports/x11/xclip ?



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

Actually, no...it hadn't been installed, so I did so.  I just tried it, 
but it appears to have a buffer size limitation, or I may be using it wrong:
xclip -i /home/wegster/bsd/freeBSDInstall.txt
completes, but then doesn't seem to have filled the X clipboard buffer, 
as pasting into an open text file produces no output.

xclip -i Makefile (using xclips Makefile)
does work as advertised,
while cat /home/wegster/bsd/freeBSDInstall.txt | xclip
doesn't produce any output,
but
cat Makefile | xclip
worksso looks like a non-dynamic buffer being used.  If anyone has 
any ideas (cmd params I'm missing) I'd appreciate it, otherwise I'll dig 
into the source and see what it's doing with respect to buffer allocation.

Thanks,  (definately closer than I was )

Scott

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


Re: Fixing an Assimilated MBR?

2003-12-26 Thread Dan Strick

 Is there an official way to fix an MBR that has been overwritten such
 that there is still a valid partition table and valid MBR, but not the
 one you want?

   ...

 I was able to rig it back by going into the custom installation option
 and just setting a drive as active and choosing to reload the MBR.
 However, it isn't readily apparent that this is what is happening as
 sysinstall will then complain about different things before rewriting
 the MBR/partition table. However, it does work...

   ...


Check out the boot0cfg command.

You can also use the fdisk command, but I don't know which master
bootstrap program it likes to install.

You probably won't need to reinstall the next level bootstrap program.
The program that would install it for you is called disklabel or
bsdlabel.

If you can't boot the FreeBSD OS that you previously installed, you should
be able to boot your installation media and run these commands in fixit
mode (or whatever it is called these days).  You will need either the fixit
floppy or the live file system CD (...disc2.iso).

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


Re: shutdown and reboot

2003-12-26 Thread Dave McCammon

--- pics [EMAIL PROTECTED] wrote:
 Hi,
 I've had experience with RH Linux but am not very
 familiar with FreeBsd. For some reason, I cannot get
 the machine to reboot or to shutdown. I looked at
 the man pages for the shutdown command, and, for
 rebooting, typed #shutdown -r now. but I still have
 the same problem as I did with the reboot command:
 
 ...
 Saving firewall state tables:.
 Dec 23 17:08:40 syslogd: exiting on signal 15
 Waiting (max 60 seconds) for system process 'vnlru'
 to stop...stopped
 
 and that's where it just freezes!!!
 Also, for shutdown, after printing some stuff on the
 screen, it asks me for a shell then gives me the
 shell's prompt like nothing happened.

This is shutting down to single user mode. Not halting
or rebooting the machine.


 I'm no sys admin so some help is appreciated.
 Thanks.


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need learning direction suggestions on using editors

2003-12-26 Thread Jez Hancock
On Thu, Dec 25, 2003 at 04:48:11PM +0800, Zhang Weiwu wrote:
 Hello. I have been using the vi that comes with FreeBSD for more than a 
 year. I now can manage to use lots of vi features except the tag mode which 
 I don't know clear about its concept (perhaps because of my bad English).
 
 Now I think vi is not sufficient. I hate to type !perl % each time I edit 
 and re-try my perl script, and I'd like to load related files quickly. (say 
 load a included php file when I see it is being included.)
 
 Should I advance to vim right now or emacs, or is it that I didn't dig into 
 vi deep enough to release its full power? I wonder how many programmers are 
 still using 4BSD vi (compare to enchanced vi's)? Maybe none? Maybe many?
 I know very few about editors other than vi, if I'm going to learn another 
 editor now, I wish I can be using that forever, and I wish the editor have 
 good L10N (esp. Chinese). I do some Java program, php and perl program but 
 not C, and I'd likely to do these kind of program in the coming years, so 
 what is the best editor for my kind?
The major benefits of vi over vim are multiple buffers and the concept
of windows.  A buffer allows you to load more than one file into vim at
a time and you can then view those other files in other 'windows'.

For example if I type a filename such as /usr/ports/editors/vim/Makefile
and then place the cursor over a part of the filename above and hit
'gf', vim will open the Makefile for vim! 

I can then switch back to this buffer by hitting 'ctrl-^'.

You can also edit whole directories at once in this way (read only
though) - this is more useful if, say, you know that a file exists in a
certain directory but you don't remember exactly what the file is called
:P

To create a new 'window', you hit 'ctrl-w n'.  You can then open a
buffer in that new window by typing ':bn' in command mode, where 'n' is
the number of the buffer you want to open. 

Another great feature is 'visual' mode - hitting 'V' in command mode
switches into visual line mode and allows you to select complete lines
of text.  Hitting 'v' in command mode takes you into visual mode so you
can highlight and select text per character.  There's also 'visual
block' mode, which allows you to select vertical blocks of text - you
enter visual block mode by hitting 'ctrl-v'.


There are a lot of other great features such as tab completion for
completing filenames and vim commands and too many other numerous things
to mention here!

In summary, if you already know vi commands then vim should be great for
you.

To learn more about vim I found the vim website very useful - especially
the 'vim tips' section where you can read about lots of useful vim stuff
- the vimtips page is here:

http://www.vim.org/tips/index.php

One of the first things to do if you decide to switch to vim is to get a
decent ~/.vimrc file set up.  I'll include mine here since it has lots
of comments - to find out more info about each command type ':help
command' - ie ':help wmnu' to learn about the wildmenu command

Good luck :)

My ~/.vimrc file is here:

-snip-
 Do syntax highlighting:
syn on

set autoindent
set tabstop=4

 keep a longer history list than usual - may want to change this if
 things seem slow in vim:
set history=1000
set ignorecase
set shiftwidth=4

 shows the current command in the status line:
set sc

 'wildmenu' allows you to open new files with tab autocomplete on:
set wmnu

 nice status line
set ls=2
set ruler

set comments=b:#,:%,fb:-,n:,n:),sr:/*,mb:*,ex:*/,b://

 This is important for ease of use of buffers/windows:
set hidden

 Set 'g' substitute flag on.
set gdefault

 keeps cursor in middle of screen
set scrolloff=

 set vim to use 'short messages'.
set shortmess=at

 showmatch: Show the matching bracket for the last ')'?
set showmatch

set background=dark

 prompt for confirmation before quitting:
set confirm

 Last Modified file path (hit ,e)
map ,e :e C-R=expand(%:p:h) . / CR

 map a toggle for pasting:
:set pastetoggle=F12

set textwidth=72

 a search and replace function - with cursor on a word, hit
 '\r' to search/replace all instances of that word in the document:
fun! ()
let s:word = input(  . expand('cword') .  with:)
:exe 'bufdo! %s/' . expand('cword') . '/' . s:word . '/ge'
:unlet! s:word
endfun
map \r :call ()CR
map F2 aC-R=strftime(%c)CREsc

 function to provide help on a vim command.  Hit 'F1' when on a word in
 a document to view the vim help file for that command
fun! HelpOnWord()
:exe ':help '.expand('cword')
endfun
map F1 :call HelpOnWord()CR

 Function to autoopen the manpage of a word the cursor is on; hit 'K'
 when on a word to use.
fun! ReadMan()
 Assign current word under cursor to a script variable:
let s:man_word = expand('cword')

 Open a new window:
:exe :wincmd n

 Read in the manpage for man_word (col -b is for formatting):
:exe :r!man  . s:man_word .  | col -b

 Goto first line...
  

Re: Forward and NAT question

2003-12-26 Thread Micheal Patterson

- Original Message - 
From: Pierrick Brossin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 9:02 AM
Subject: Forward and NAT question


 Hi!

 I'm a little bit confused.
 I got my server up and running with nat and stuff for a little while now
 and I was wondering why would one need both net.inet.ip.forwarding set
 to 1 and NAT ?

 I've been searching in the docs and on google for 3 days but I can't
 figure out what is forwarding needed for if NAT is enabled...

 Regards

 -Pierrick Brossin
 http://www.swissgeeks.com


From the FreeBSD handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/ppp-primer/x237.html)

By default the FreeBSD system will not forward IP packets between various
network interfaces. In other words, routing functions (also known as gateway
functions) are disabled.

If you're running NATD, you have at least 2 interfaces, this has to be
enabled for the packets to traverse the interfaces properly. NATD and packet
forwarding don't go hand in hand, NATD and IPFW do.

net.inet.ip.forwarding allows traffic from the internal interface to gain
access to the external interface where NATD is by default listening.

Normal NATD traffic flow is this:

- Packet is inbound via internal interface
- net.inet.ip.forwarding allows the traffic to traverse to external
interface
- IPFW intercepts traffic at external interface and diverts it to NATD
- NATD translates the packet and injects it at the next IPFW rule set
- If traffic is allowed by IPFW, traffic exits the system to it's
destination

Without net.inet.ip.forwarding enabled, the FreeBSD system is merely a
system on each network instead of a gateway between them.

That's my take on it in a nut shell.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


4.9, 5.1 boot failure after install

2003-12-26 Thread danl
Hello,

I had 4.9 release working and did a clean install of 5.1 release over 
the 4.9 and ended up with boot failure after install. Using allBSD 
partition and standard MBR I get a missing operating system error. If I 
use the FreeBSD boot I just get default F1 and a beep. Now trying to 
install the 4.9 gives the same results.

I'm using a Mylex DAC960ptl (accelraid 250) with the primary disk 
setup as JBOD. I set the bootable disk as active but everytime I go 
back to config fdisk the flag is not set. 

I then upgraded and flashed the RAID card, reformatted the disks and 
tried a 4.9 install, again with the same results.

Is there an issue with the DAC card geometry or BIOS? Or a subtle 
quirk that isn't documented yet?

thanks,
Dan

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


natd problem (but close!)

2003-12-26 Thread The Bean
Hi all,

I've been trying to get natd up on a FreeBSD 4.9-Stable box. 
I think I've followed every step, and it's still not quite working, 
although I believe it's getting close. My dual-homed box has 
two interfaces: internal ed0=10.13.0.1/8, and external 
xl0=xx.yy.zz.187/29 (note I've cleverly obscured the IP). 

Here's what I've done on the dual-homed box:
- Kernel compiled with IPFIREWALL  IPDIVERT
- gateway_enabled=YES, verified with sysctl -a list | grep ipforwarding
- firewall set to open
- natd_enabled=YES
- natd_interface=my external interface
- natd_flags=-f /etc/natd.conf
- /etc/natd.conf contains one line: redirect_address 10.0.0.13 xx.yy.zz.186, 
where xx.yy.zz.186 is the desired public IP for a client on my internal 
network, whose internal IP is 10.0.0.13

On my client, I've set the default router to 10.13.0.1, which is the IP for the 
internal interface for the gateway box.

The gateway can access the Internet just fine. The client has some problems, 
which I've attempted to diagnose by running tcpdump on the gateway, and 
trying a ping and a lynx from the client. Here are the results, as reported
by the gateway:

ping 151.164.1.8 (from client to one of my ISP's nameservers)
-
10:14:39.738942 xx.yy.zz.186  151.164.1.8: icmp: echo request
10:14:39.760288 151.164.1.8  xx.yy.zz.186: icmp: echo reply
10:14:40.748798 xx.yy.zz.186  151.164.1.8: icmp: echo request
10:14:40.770406 151.164.1.8  xx.yy.zz.186: icmp: echo reply
(etc)

lynx www.yahoo.com
-
10:16:55.827709 xx.yy.zz.186.2559  216.109.118.64.http: S 552730403:552730403(0) win 
57344 mss
1460,nop,wscale 0,nop,nop,timestamp 35611940 0 (DF)
10:16:55.920315 216.109.118.64.http  xx.yy.zz.186.2559: S 2144501521:2144501521(0) 
ack 552730404
win 65535 mss 1460,nop,wscale 1,nop,nop,timestamp 582477747 35611940 (DF)

On both ping and lynx, the client hangs. It doesn't report any problems (other than
timeout). It just hangs. Also, tcpdump reports packets as being received by 'filter',
and reports 0 packets dropped by kernel.

What's interesting to me, is that in both cases it looks like the connection is 
being made. Since the gateway is referring to xx.yy.zz.186, which is my alias in 
natd.conf for the client, it looks like natd is working to some extent -- the 
client's NIC is configured only as 10.0.0.13 and so the only reason the gateway 
would be using 66.139.244.186 would be because natd said so. However, it almost seems
like the gateway can't go in the other direction, like it has no idea that 
packets destined for 66.139.244.186 should be directed to 10.0.0.13. This, even
though it knows to rewrite packets coming *from* 10.0.0.13 as having come
from 66.139.244.186.

One other data point: my gateway can ping the client's internal IP, but not
its external IP.

Does sound familiar to anyone? I'm hopeful that it's something small.

Thank you,
T.B.



__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Backup Server

2003-12-26 Thread samy lancher
Hello all,
I have a 4.5 FreeBSD server. It is our Email, web and database server. I would like to 
setup a backup server so that when the main server goes down the backup server takes 
over its job.
Could some one please tell me the best way to setup a backup server and also suggest 
some good documentation.
 
Thanks in advance,
Naveen.


-
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Warning message : Timecounter was not properly dismounted

2003-12-26 Thread Ajitesh K
Hi friend,

I am get this  warning / error message. What should I do?

pop3.mail.com kernel log messages:
 Timecounter TSC  frequency 133637174 Hz
 WARNING: / was not properly dismounted

Is it some thing to do with CPU. Please guide us.

Thanks.

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


Re: DAT drives

2003-12-26 Thread Bob Collins
On Wed, Dec 24, 2003, Mike Maltese wrote:
  Okay, probably a dumb question but I can't readily find an answer
  in the archives..
 
  I just picked up a (used) surestore C1533A (thats an HP device) and am
  having some problems getting it work quite right. I've got the dip
 switches
  set correctly (I was able to find at least 3 corroborating pages for that)
  but can't manage to get it to write correctly. It will only write about
  50 megs using 0a as dump flags. Trying to specify -B and estimating
  compression got me to about 200 but it's a 4 gig drive. All it wants to
  do is write a few blocks, sit and sputter for a second or two, write a few
  more, (repeat for about 15 minutes) and then tell me it's at EOM well
 before
  it should be.
 
  There are notes in the hardware compatability section that says this
  drive has been made to work onder FreeBSD so I know at least that it's
  not simply an unsupported device.
 
  Any suggestions from the folks in the audience?
 
 This is a DDS2 SCSI drive, correct? I have a C1553A in an autoloader and it
 works flawlessly.
 
 I would check the following:
 
 1. Since you're getting EOM, check that the tape is, in fact, rewound.
 
 2. Try a new tape.
 
 3. Run a cleaning tape.
 
 4. Ensure that the SCSI bus is correctly configured and terminated.
 

I would add a second to the SCSI termination. I ran into an error with
my DDS-2 a few weeks back due to a failing or flaky terminator in the
tape drive. I had to add a true terminator to the SCSI cable.

I had many such troubles with tape errors EOM etc., until I checked the
termination. FWIW, I had read that the internal terminator on many older
SCSI devices are often flaky and touch and go.

Good Luck.

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


uname weirdness after kernel/OS update

2003-12-26 Thread Jaime
I was previously running 4.9-PRERELEASE.  I used cvsup to download
new source code and compile the OS, as I've done many times over the years
that I've used FreeBSD.  Now, uname -a will show me 4.9-PRERELEASE and Aug
26, 2003 instead of 4.9-RELEASE or 4.9-STABLE and any of the December
dates that I've attempted to compile a new kernel.

I've tried mv /usr/src /usr/src.old and a new cvsup.  I've tried
rm -rf /usr/obj/* (after the chflags command) and that didn't help.  I've
even tried using /stand/sysinstall to install a new bin and crypto binary
set, then recompile the kernel.  Still no luck.

Does anyone have any idea what is going on?

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


Re: natd problem (but close!)

2003-12-26 Thread The Bean
Thanks Michael. Yep, that rule is there:

(in response to a bash-2.0.4# ipfw -a list)
00050 1398666 172283391 divert 8668 ip from any to any via xl0
001001202127228 allow ip from any to any via lo0
... etc ...

Very first rule. (I was going to mention this in my initial email
but I guess I forgot). I believe I was helped in this by 
rc.firewall itself -- looks like that for 'open' and
'simple' it adds the divert rule if natd_enable is set.
I'm guessing this is newish, as the docs I read insisted
that I add the rule myself. In any case, it's there.

Thanks again,
T.B.


--- Micheal Patterson [EMAIL PROTECTED] wrote:
 
 
 - Original Message - 
 From: The Bean [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, December 26, 2003 11:27 AM
 Subject: natd problem (but close!)
 
 
  Hi all,
 
  I've been trying to get natd up on a FreeBSD 4.9-Stable box.
  I think I've followed every step, and it's still not quite working,
  although I believe it's getting close. My dual-homed box has
  two interfaces: internal ed0=10.13.0.1/8, and external
  xl0=xx.yy.zz.187/29 (note I've cleverly obscured the IP).
 
  Here's what I've done on the dual-homed box:
  - Kernel compiled with IPFIREWALL  IPDIVERT
  - gateway_enabled=YES, verified with sysctl -a list | grep ipforwarding
  - firewall set to open
  - natd_enabled=YES
  - natd_interface=my external interface
  - natd_flags=-f /etc/natd.conf
  - /etc/natd.conf contains one line: redirect_address 10.0.0.13
 xx.yy.zz.186,
  where xx.yy.zz.186 is the desired public IP for a client on my internal
  network, whose internal IP is 10.0.0.13
 
  On my client, I've set the default router to 10.13.0.1, which is the IP
 for the
  internal interface for the gateway box.
 
  The gateway can access the Internet just fine. The client has some
 problems,
  which I've attempted to diagnose by running tcpdump on the gateway, and
  trying a ping and a lynx from the client. Here are the results, as
 reported
  by the gateway:
 
 snip
 
 Do an ipfw list and you should see an entry at or very near the top similar
 to:
 divert 8668 ip from any to any via xl0
 
 If you don't, traffic isn't being diverted to NAT and it's trying to route
 the 10 /8 traffic to it's connected router and dieing there.
 
 
 --
 
 Micheal Patterson
 Network Administration
 TSG Incorporated
 405-917-0600
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname weirdness after kernel/OS update

2003-12-26 Thread jaime
On Fri, 26 Dec 2003, Kent Stewart wrote:
 On Friday 26 December 2003 11:05 am, Jaime wrote:
 Are you sure that you are building and installing a kernel. That would be
 about the only thing that wouldn't update your boot message.

I am completely certain.  I've used make buildkernel
KERNCONF=... and make installkernel KERNCONF=... as well as the older
/usr/sbin/config method.  An ls -l / shows a newer time stamp.

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


Re: Migrate /usr (ufs) to different partition (ufs2) on different slice

2003-12-26 Thread Ion-Mihai Tetcu
On Fri, 26 Dec 2003 12:23:27 -0600
Joseph [EMAIL PROTECTED] wrote:

 Is it possible for me, in one way or another, to newfs a ufs2 partition from a 
 differently partitioned slice?

[..]
 
 Merge space from unused ad0s1;
 newfs to ufs2;
 Create new /usr partition based on ad0s1's given space;
 Create new /var partition   
 Configure Loader to only recognise the 5_1_releng partition.
 
 I understand the implications of this procedure. Namely, I'll lose a Stable 
 Partition, whilst having to deal with Current's quirks.
 
 This isn't a production server, it's more of a hobby machine where I can learn how 
 to implement commands, and understand
 coding structure/debug/fix.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
will probably respond to your needs.



-- 
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: uname weirdness after kernel/OS update

2003-12-26 Thread Erik Trulsson
On Fri, Dec 26, 2003 at 02:22:27PM -0500, [EMAIL PROTECTED] wrote:
 On Fri, 26 Dec 2003, Kent Stewart wrote:
  On Friday 26 December 2003 11:05 am, Jaime wrote:
  Are you sure that you are building and installing a kernel. That would be
  about the only thing that wouldn't update your boot message.
 
   I am completely certain.  I've used make buildkernel
 KERNCONF=... and make installkernel KERNCONF=... as well as the older
 /usr/sbin/config method.  An ls -l / shows a newer time stamp.

And you did reboot as well, so as to actually use the new kernel?  
(Just asking since you didn't say explicitly that you had done that.)

-- 
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: Moving from a single to dual CPU setup

2003-12-26 Thread Lowell Gilbert
Gerard Samuel [EMAIL PROTECTED] writes:

 Is there a particular sequence of events that must happen when going to a dual 
 CPU setup??

Make sure that you always have a working uniprocessor kernel...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname weirdness after kernel/OS update

2003-12-26 Thread Jaime

On Fri, 26 Dec 2003, Erik Trulsson wrote:
 And you did reboot as well, so as to actually use the new kernel?

Yes.


 (Just asking since you didn't say explicitly that you had done that.)

Fair enough.  We all would have felt pretty dumb if it was
something that obvious and yet we didn't check.  :)

FWIW, I've been using the make-world process since 1997.  The only
other time that I've ever had a problem (including several years of
updating the box in question) was when I had bad hardware.

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


secure telnet

2003-12-26 Thread fbsd_user
Using FBSD telnet between 2 FBSD boxes. 
Telnet ip_address  displays this message 
'Trying SRA secure login'
I enter my ID  password on remote site
Then get this message
'SRA accepts you'

I checked the 'man telnet'  'man telnetd'
They say that telnet can use AUTHENTICATION and do 
data encryption, but not a word about SRA.

What is SRA? 
Is the id and password passed as clear text?
Where is the documentation on SRA?
Where is the documentation on using these 
options to make telnet secure?





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


Re: uname weirdness after kernel/OS update

2003-12-26 Thread T Kellers
Did you do a make kernel KERNCONF=YOURKERNELFILE, too?

I'm only asking because you mentioned make world, and while that rebuilds the 
OS, it doesn't make (or install) the kernel.  

I have to ask simple questions; the problem, if not simple, is flat-out weird.

Tim Kellers
CPE/NJIT

On Friday 26 December 2003 02:40 pm, Jaime wrote:
 On Fri, 26 Dec 2003, Erik Trulsson wrote:
  And you did reboot as well, so as to actually use the new kernel?

   Yes.

  (Just asking since you didn't say explicitly that you had done that.)

   Fair enough.  We all would have felt pretty dumb if it was
 something that obvious and yet we didn't check.  :)

   FWIW, I've been using the make-world process since 1997.  The only
 other time that I've ever had a problem (including several years of
 updating the box in question) was when I had bad hardware.

   Jaime
 ___
 [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: uname weirdness after kernel/OS update

2003-12-26 Thread jaime
On Fri, 26 Dec 2003, T Kellers wrote:
 Did you do a make kernel KERNCONF=YOURKERNELFILE, too?

Yes.  I followed the directions in the /usr/src/UPDATING file that
I have followed at least 8 times previously and successfully on this very
same server over the last few years.

cvsup -g -L 2 stable-supfile (after editing)
cd /usr/src
make buildworld
make buildkernel KERNCONF=ZEUS
make installkernel KERNCONF=ZEUS
reboot (single user)
make installworld
mergemaster
reboot

I have tried simple kernel recompiles since then.  I am currently
in the process of recompiling the entire OS via a third instance of the
above procedure.

 I have to ask simple questions; the problem, if not simple, is flat-out weird.

I understand.  Its just frustrating.

Let's start from the other end, though.  From where does uname
draw its data?  With that information, I might be able to track down the
problem.

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


Re: Moving from a single to dual CPU setup

2003-12-26 Thread Lowell Gilbert
Gerard Samuel [EMAIL PROTECTED] writes:

 I did a bit of googling, and came up with an instance, that there may be a 
 problem with FreeBSD 4.9/SMP/ACPI combo.
 Even though (well at least I believe) ACPI is off, Im having something similar 
 to what this google search was saying.
 Maybe this weekend, Ill try backing down to 4.8 and see how she does there...

The fact that it hangs at different places each time argues for a
hardware problem of some sort...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname weirdness after kernel/OS update

2003-12-26 Thread Ion-Mihai Tetcu
On Fri, 26 Dec 2003 15:11:20 -0500 (EST)
[EMAIL PROTECTED] wrote:

 On Fri, 26 Dec 2003, T Kellers wrote:
  Did you do a make kernel KERNCONF=YOURKERNELFILE, too?
 
   Yes.  I followed the directions in the /usr/src/UPDATING file that
 I have followed at least 8 times previously and successfully on this very
 same server over the last few years.
 
 cvsup -g -L 2 stable-supfile (after editing)
 cd /usr/src
 make buildworld
 make buildkernel KERNCONF=ZEUS
 make installkernel KERNCONF=ZEUS
 reboot (single user)
 make installworld
 mergemaster
 reboot
 
   I have tried simple kernel recompiles since then.  I am currently
 in the process of recompiling the entire OS via a third instance of the
 above procedure.
 
  I have to ask simple questions; the problem, if not simple, is flat-out weird.
 
   I understand.  Its just frustrating.
 
   Let's start from the other end, though.  From where does uname
 draw its data?  

By interogating sysctl's mibs. See uname(3).

 With that information, I might be able to track down the
 problem.
 
   Jaime
 ___
 [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: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread Tim Kellers
On Friday 26 December 2003 03:36 pm, The Bean wrote:
 I've made a tad of progress. Since everyone and his
 brother can configure FreeBSD to act as a gateway,
 I decided to focus on the one difference between my
 setup and the generic gateway setup: my one-line
 natd.conf file, with the line

   redirect_address 10.0.0.13 xx.yy.zz.186

 It looked like the gateway was doing the internal-to-
 external translation on outgoing packets, but was unable
 to translate from external to internal. Anyway, I commented
 that one line, so my natd.conf is essentially empty.
 Success -- I can get packets forwarded no problem (otherwise
 you wouldn't be reading this!)

 Of course, this means I can't really serve anything, so
 I'm not done yet. It would make sense I have a snag in my
 natd.conf file, since it's the one piece I was taking a wild
 stab at. Does anyone know what that file should look like,
 for a simple address redirection?

 Thanks a lot,
 T.B.

I don't have a natd.conf file on one of my development boxes, but I do have 
this in /etc/rc.conf:

firewall_enable=YES
firewall_type=OPEN
natd_enable=YES
natd_flags=-redirect_port tcp 10.0.1.9:5800-6600 5800-6600

Yeah, it's wide open and insecure, but it does work and might be a starting 
point for you.  

(The above snip is from a 4.9-STABLE installation)

Tim Kellers
CPE/NJIT

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


Re: uname weirdness after kernel/OS update

2003-12-26 Thread jaime
On Fri, 26 Dec 2003, Tim Kellers wrote:
 I'm building world/kernel on a spare box right now to see if it shakes
 an idea or two loose.  I'm also wondering if your /usr/src files are
 actually building a new world, too.  Trying to think of what might break
 if you are running a STABLE world with a pre-release kernel.  Top is the
 classic utility that breaks when your world and kernel don't match, but
 I'm not sure if that will happen if you don't cross version boundaries.

Well, I've compiled with 4.9-RELEASE binaries and 4.9-STABLE
(12/24/03) binaries and had no observable effects.  Likewise, the symptoms
were first noticed when the world and kernel were the same.  They have
repeted themselves within every combination that I've tried.

FWIW, I tried rm -rf /usr/obj and recompile, but that didn't
improve things.  I also tried mv /usr/src /usr/src.old and then re-cvsup
and recompile.  That didn't help, either.

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


VIA Tech Mini-ITX

2003-12-26 Thread Anclo
I'm considering to build a small VIA Tech Mini-ITX system using the C3 800 MHz 
motherboard/CPU or the Eden 533 MHz. This box would serve as a gateway/router.

Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to use 
it to run 4.9-RELEASE.

Any advice would be appreciated - I'd hate to find out that there is no FreeBSD 
driver for the built-in network card...

Anclo

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


Re: VIA Tech Mini-ITX

2003-12-26 Thread Harald Schmalzbauer
On Friday 26 December 2003 21:59, Anclo wrote:
 I'm considering to build a small VIA Tech Mini-ITX system using the C3 800
 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
 gateway/router.

 Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to
 use it to run 4.9-RELEASE.

 Any advice would be appreciated - I'd hate to find out that there is no
 FreeBSD driver for the built-in network card...

I'm using a older C3 800 miniITX without any problem.
AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet. Also 
the PLE266 should work, but of course you cannot use the mpeg2 decoder. Don't 
know any OS which could make use of it.

-Harry


 Anclo

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


pgp0.pgp
Description: signature


Re: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread Micheal Patterson


- Original Message - 
From: The Bean [EMAIL PROTECTED]
To: freebsd [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 2:36 PM
Subject: natd.conf problem (was: natd problem (but close!) )


 I've made a tad of progress. Since everyone and his
 brother can configure FreeBSD to act as a gateway,
 I decided to focus on the one difference between my
 setup and the generic gateway setup: my one-line
 natd.conf file, with the line

   redirect_address 10.0.0.13 xx.yy.zz.186

 It looked like the gateway was doing the internal-to-
 external translation on outgoing packets, but was unable
 to translate from external to internal. Anyway, I commented
 that one line, so my natd.conf is essentially empty.
 Success -- I can get packets forwarded no problem (otherwise
 you wouldn't be reading this!)

 Of course, this means I can't really serve anything, so
 I'm not done yet. It would make sense I have a snag in my
 natd.conf file, since it's the one piece I was taking a wild
 stab at. Does anyone know what that file should look like,
 for a simple address redirection?

 Thanks a lot,
 T.B.

Um. How many real IP's you have sitting on XL0?

If it's only one, you don't to redirect_address on it otherwise, it will
lose internet access itself since all return traffic will go to the internal
address. If you have multiple IP's on xl0, redirect one of the aliased IP's
to the internal system. Otherwise, use redirect_port instead.

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


RE: uname weirdness after kernel/OS update

2003-12-26 Thread Eric F Crist
Try a rm -rf /usr/src/* and then rebuild using the config method from
/usr/src/sys/i386/conf with make depend; make; make install after
configuring.

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 1:22 PM
To: Kent Stewart
Cc: [EMAIL PROTECTED]
Subject: Re: uname weirdness after kernel/OS update


On Fri, 26 Dec 2003, Kent Stewart wrote:
 On Friday 26 December 2003 11:05 am, Jaime wrote:
 Are you sure that you are building and installing a kernel. That would

 be about the only thing that wouldn't update your boot message.

I am completely certain.  I've used make buildkernel
KERNCONF=... and make installkernel KERNCONF=... as well as the older
/usr/sbin/config method.  An ls -l / shows a newer time stamp.

Jaime
___
[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: Can't traceroute to my box

2003-12-26 Thread Joseph
I'm just curious, Fernando.. On which platform are you using Netbsd?
- Original Message - 
From: Fernando Gleiser [EMAIL PROTECTED]
To: Frank DeChellis [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 9:13 AM
Subject: Re: Can't traceroute to my box


 On Fri, 26 Dec 2003, Frank DeChellis wrote:

  Hi.
 
  I am new to FreeBSD.  I have been using NetBSD for about 9 years.  I
have
  FreeBSD v. 4.8 Release #1 running.  Everything is smooth expect for one
  thing.
 
  I can't traceroute to the box.  I can do a traceroute -I to it, but not
a
  regular traceroute, which tells me something about UDP, but I don't know
  where to look.

 Are you using a firewall of some kind? The last hop of a traceroute
 ends with a 'Port unreachable ICMP. If the firewall is blocking UDP,
 you get no response.

 
  IS there a file somewhere that is closing certain UDP ports that respond
to
  traceroute?

 No that I am aware off, unless you're using a firewall.


 Fer

 ___
 [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: uname weirdness after kernel/OS update

2003-12-26 Thread Eric F Crist
I forgot, you'll need to re-cvsup after you delete your src directory
contents.  :-O



Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric F Crist
Sent: Friday, December 26, 2003 2:48 PM
To: [EMAIL PROTECTED]; 'Kent Stewart'
Cc: [EMAIL PROTECTED]
Subject: RE: uname weirdness after kernel/OS update


Try a rm -rf /usr/src/* and then rebuild using the config method from
/usr/src/sys/i386/conf with make depend; make; make install after
configuring.

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 1:22 PM
To: Kent Stewart
Cc: [EMAIL PROTECTED]
Subject: Re: uname weirdness after kernel/OS update


On Fri, 26 Dec 2003, Kent Stewart wrote:
 On Friday 26 December 2003 11:05 am, Jaime wrote:
 Are you sure that you are building and installing a kernel. That would

 be about the only thing that wouldn't update your boot message.

I am completely certain.  I've used make buildkernel
KERNCONF=... and make installkernel KERNCONF=... as well as the older
/usr/sbin/config method.  An ls -l / shows a newer time stamp.

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




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




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


Re: VIA Tech Mini-ITX

2003-12-26 Thread Marc Wiz
On Fri, Dec 26, 2003 at 10:06:43PM +0100, Harald Schmalzbauer wrote:
Content-Description: signed data
 On Friday 26 December 2003 21:59, Anclo wrote:
  I'm considering to build a small VIA Tech Mini-ITX system using the C3 800
  MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
  gateway/router.
 
  Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to
  use it to run 4.9-RELEASE.
 
  Any advice would be appreciated - I'd hate to find out that there is no
  FreeBSD driver for the built-in network card...
 
 I'm using a older C3 800 miniITX without any problem.
 AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet. Also 
 the PLE266 should work, but of course you cannot use the mpeg2 decoder. Don't 
 know any OS which could make use of it.

There are patches for Linux to use the hardware MPEG-2 decoder.

Check out http://www.linitx.org

I have the board with the 1 Ghz chip but haven't tried FreeBSD yet.

Marc

-- 
Marc Wiz
[EMAIL PROTECTED]
Yes, that really is my last name.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


logitech usb camera driver and setup howto

2003-12-26 Thread Steve Howard
did you ever find anything to get a logitech webcam working? I have same problem, I'd 
be grateful for any help.  - thank steve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA Tech Mini-ITX

2003-12-26 Thread Anclo
At 04:06 PM 12/26/2003, you wrote:
On Friday 26 December 2003 21:59, Anclo wrote:
 I'm considering to build a small VIA Tech Mini-ITX system using the C3 800
 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
 gateway/router.

 Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd like to
 use it to run 4.9-RELEASE.

 Any advice would be appreciated - I'd hate to find out that there is no
 FreeBSD driver for the built-in network card...
I'm using a older C3 800 miniITX without any problem.
AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet. Also
the PLE266 should work, but of course you cannot use the mpeg2 decoder. Don't
know any OS which could make use of it.
-Harry
Harry,

many thanx - my 10 year old system which I just set up as gateway has 
expired and I figured that a C3 800 would be a relatively inexpensive 
replacement.

Just curious - what driver does your system say it uses for the C3 800 
miniITX's NIC?

Anclo

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


jdk1_2_2-L-src-linux-09_Mar.zip??

2003-12-26 Thread Gary Kline

Folks,

Trying to upgrade the apache-ant port fails because I
need  jdk1_2_2-src.tar.gz.  Before I download 18 megs,
is the file  jdk1_2_2-L-src-linux-09_Mar.zip 
equivalent?  Do I need to mess with the zip file to 
build the apache-ant port?  If there is another URL 
to retrieve jdk-1.2.2p11 please let me know.

tia,

gary


-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Out of memory error

2003-12-26 Thread Elliot Finley
4.8-R

I have a process that needs to keep about 700MB of data in RAM.  It crashes
when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
none of them jumped out at me.  Same with man tuning'

Any pointers would be appreciated.

TIA

Elliot

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


Re: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread The Bean
 Um. How many real IP's you have sitting on XL0?
 
 If it's only one, you don't to redirect_address on it otherwise, it will
 lose internet access itself since all return traffic will go to the internal
 address. If you have multiple IP's on xl0, redirect one of the aliased IP's
 to the internal system. Otherwise, use redirect_port instead.

I have 1 real IP sitting on xl0 on the gateway, and 1 real IP sitting 
on xl0 on the client (they both use xl0, coincidentally). The gateway's 
xl0 is configured for public IP xx.yy.zz.187 -- however, I'm doing 
redirect_address on xx.yy.zz.186, which isn't assigned to any interface. 
I suppose that's why my gateway could still access the Internet even though
I had a redirect_address on.

H, I'm starting to feel like I've been misunderstanding how to
use redirect_address . . . could it be that if I want to redirect a
public IP to an interal host on my LAN, I must create an alias for that IP
on the gateway's external interface? That would make sense -- otherwise, the NIC
wouldn't know to use it.

If so, where would I have read this? I'm not saying it's undocced; I'm sure it is,
and so I'm wondering what I misread!

Thanks Micheal -- I look forward to being educated.
- T.B.
 
 --
 
 Micheal Patterson
 Network Administration
 TSG Incorporated
 405-917-0600
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VIA Tech Mini-ITX

2003-12-26 Thread Harald Schmalzbauer
On Friday 26 December 2003 22:39, Anclo wrote:
 At 04:06 PM 12/26/2003, you wrote:
 On Friday 26 December 2003 21:59, Anclo wrote:
   I'm considering to build a small VIA Tech Mini-ITX system using the C3
   800 MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
   gateway/router.
  
   Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd
   like to use it to run 4.9-RELEASE.
  
   Any advice would be appreciated - I'd hate to find out that there is no
   FreeBSD driver for the built-in network card...
 
 I'm using a older C3 800 miniITX without any problem.
 AFAIK even the latest miniITX has the VIA Rhine chipset for ethernet.
  Also the PLE266 should work, but of course you cannot use the mpeg2
  decoder. Don't know any OS which could make use of it.
 
 -Harry

 Harry,

 many thanx - my 10 year old system which I just set up as gateway has
 expired and I figured that a C3 800 would be a relatively inexpensive
 replacement.

 Just curious - what driver does your system say it uses for the C3 800
 miniITX's NIC?

You can watch the dmesg at http://www.schmalzbauer.de/netz
It's machine tek

-Harry

P.S. I heard that there is linux development for the mpeg2 decoder but didn't 
know that it's yet available. Good to hear :)


 Anclo


pgp0.pgp
Description: signature


Re: Invalid Partition - help on setting up loader

2003-12-26 Thread Joseph
Following up on my own question: I've been browsing the net for any
pertinent information

Most of the results I've found indicate that Freebsd Partitions are booted
from their first partition.

For instance, my 0:ad(2,e)/boot/loader workaround can't be deployed
permanently. Apparently I should have created a ad0s2a partition in order to
get things working. My researching into boot0cfg, disklabel ( I guess those
are the only binaries pertinent to my situation. I'm not interested in
running lilo, or grub, as I want to make certain that ufs2 is widely tested
first.


If I'm wrong - and I hope that I am, could somebody comment on this?

Thanks in advance :)

- Original Message - 
From: Joseph [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 9:33 AM
Subject: Invalid Partition - help on setting up loader


Hi list. Merry Christmas!!

This is my first post on a Freebsd Mailing List, so don't be too harsh on me
if my ettiquette isn't acceptable.

Ok, I guess I'll get to the heart of this post:

I'm trying to figure out how to boot 5-releng-1 alongside my 4-stable slice.

After a surprisingly successful buildworld/kernel, installworld, I used
/stand/sysinstall to fdisk/disklabel the appropriate partitions. By the way,
both slices exist on the same disk.

Booting to stable was fine, however, booting to current gave me:

invalid partion

I was, however, able to get it to work, when I pointed the boot to
0:ad(2,e)/boot/loader (which is the location of my current's root
partition.)

I'm happy with how my current installation went, but I may have missed a
crucial step along the way.

Any advice welcome

[edit] I was referred here from the newbies list. Go figure.
If this isn't a newb question, what is?

___
[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: VIA Tech Mini-ITX

2003-12-26 Thread Sean Hafeez
http://www.gctglobal.com/Products/Set_Top_Box/STB1030_3036/ 
stb1030_3036.html

i use this with 256mb flash w/4.8 and 4.9.

works great.

On Dec 26, 2003, at 1:06 PM, Harald Schmalzbauer wrote:

On Friday 26 December 2003 21:59, Anclo wrote:
I'm considering to build a small VIA Tech Mini-ITX system using the  
C3 800
MHz motherboard/CPU or the Eden 533 MHz. This box would serve as a
gateway/router.

Has anyone have experience with VIA Tech Mini-ITX motherboards? I'd  
like to
use it to run 4.9-RELEASE.

Any advice would be appreciated - I'd hate to find out that there is  
no
FreeBSD driver for the built-in network card...
I'm using a older C3 800 miniITX without any problem.
AFAIK even the latest miniITX has the VIA Rhine chipset for  
ethernet. Also
the PLE266 should work, but of course you cannot use the mpeg2  
decoder. Don't
know any OS which could make use of it.

-Harry

Anclo

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


Help please - ghostscript fails to install in fbsd5.1-release

2003-12-26 Thread Chip Wiegand
I am trying to install the port Lilypond, but it fails due to 
ghostscript-gnu failing. I try ghostscript by itself and it fails with 
the following errors -

there are a bunch of warnings about non-static declarations, then this -
src/gdev1256.c:307: warning: implicit declaration of function gl_line
gmake: ***[obj/gdev1256.0] error 1
*** error code 2
stop in /usr/ports/print/ghostscript-gnu
** command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall1996777.0 make
** fix the problem and try again
** the following packages were not installed or upgraded (*:skipped / 
!:failed)
! print/ghostscript-gnu (missing header)

Any ideas what I need to do to make this work?
thankyou,
Chip
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Migrate /usr (ufs) to different partition (ufs2) on different slice

2003-12-26 Thread Joseph
I followed the instructions exactly..

I moved my root from ad0s2e to ad0s1a, hoping that it would fix things.

Now the bootloader just gives me Not ufs

Ad0s2e doesn't work anymore either. (No /boot/loader -- it worked before,
thought)

Currently, my computer can't be used!!

Nooo!!

Please help :(

- Original Message - 
From: Joseph [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 12:23 PM
Subject: Migrate /usr (ufs) to different partition (ufs2) on different slice


Is it possible for me, in one way or another, to newfs a ufs2 partition from
a differently partitioned slice?

I'm using 5_1_releng at the moment, with no evident problems. My Settings
are:

/dev/ad0s2e on / (ufs, local, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1g on /home (ufs, local, soft-updates)--- 
Shared
/dev/ad0s2h on /usr (ufs, local, soft-updates)
/dev/ad0s2f on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
/dev/ad0s1h on /usr/ports/distfiles (ufs, local, soft-updates) --- 
Shared
/dev/ad0s1d on /bleh (ufs, local, soft-updates)--- 
Stray

...

Additional partions from disklabel:

ad0s1anone400
ad0s1enone64
ad0s1fnone256

The aforementioned shared slices used to belong to my 4_Stable Partition
that I had initially installed as the main o/s.

A fortnight ago, I decided to test 5_1_releng out on some extra space that I
had assigned to document-storage.

The installation went Great! I had all the functionality of 4-Stable, with a
few added benefits.

Apparently, it went so smoothly that I had now decided to use ad0s1's
(original slice) greater storage capacity to migrate my /usr  /var over.

I will still keep my root partition intact on slice ad0s2e, and I was hoping
that there was some way I could painlessly
migrate over the settings.

In essence, what I'm trying to do is:

Merge space from unused ad0s1;
newfs to ufs2;
Create new /usr partition based on ad0s1's given space;
Create new /var partition   
Configure Loader to only recognise the 5_1_releng partition.

I understand the implications of this procedure. Namely, I'll lose a Stable
Partition, whilst having to deal with Current's quirks.

This isn't a production server, it's more of a hobby machine where I can
learn how to implement commands, and understand
coding structure/debug/fix.

___
[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: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread Micheal Patterson


- Original Message - 
From: The Bean [EMAIL PROTECTED]
To: Micheal Patterson [EMAIL PROTECTED]; freebsd
[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 4:05 PM
Subject: Re: natd.conf problem (was: natd problem (but close!) )


  Um. How many real IP's you have sitting on XL0?
 
  If it's only one, you don't to redirect_address on it otherwise, it will
  lose internet access itself since all return traffic will go to the
internal
  address. If you have multiple IP's on xl0, redirect one of the aliased
IP's
  to the internal system. Otherwise, use redirect_port instead.

 I have 1 real IP sitting on xl0 on the gateway, and 1 real IP sitting
 on xl0 on the client (they both use xl0, coincidentally). The gateway's
 xl0 is configured for public IP xx.yy.zz.187 -- however, I'm doing
 redirect_address on xx.yy.zz.186, which isn't assigned to any interface.
 I suppose that's why my gateway could still access the Internet even
though
 I had a redirect_address on.

 H, I'm starting to feel like I've been misunderstanding how to
 use redirect_address . . . could it be that if I want to redirect a
 public IP to an interal host on my LAN, I must create an alias for that IP
 on the gateway's external interface? That would make sense -- otherwise,
the NIC
 wouldn't know to use it.

 If so, where would I have read this? I'm not saying it's undocced; I'm
sure it is,
 and so I'm wondering what I misread!

 Thanks Micheal -- I look forward to being educated.
 - T.B.


You're getting the idea. You're trying to set up a static nat configuration
instead of a dynamic nat. Dynamic NAT uses one IP for all traffic from the
internal systems. Perhaps I should've stated it this way first, my bad. For
Static Nat setups, a gateway has to have the redirected IP associated with
it's external nic. It's best if this is an aliased IP so that no traffic to
the gateway is lost. Then redirect that address to the internal system.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
specifically,  section 19.13.5 Address Redirection describes this best.

Address redirection is useful if several IP addresses are available, yet
they must be on one machine. With this, natd(8) can assign each LAN client
its own external IP address. natd(8) then rewrites outgoing packets from the
LAN clients with the proper external IP address and redirects all traffic
incoming on that particular IP address back to the specific LAN client. This
is also known as static NAT


--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


Re: A Challenge... NAT for PPP dial in user

2003-12-26 Thread Q
I must have missed the original email, but I  think the fact that the
local end of the ppp link has the same IP address as the machine's
default gateway is probably more to blame.

The ppp ifaddr range should be either on a different subnet, or use an
address range not already in use on the lan. This means BOTH ends of the
link. So take out '192.168.1.1' and replace it with something unused.
You will probably need to change the add route statement to 
'add HISADDR 255.255.255.255 MYADDR' because you don't want to route the
whole subnet down the ppp interface.

Seeya...Q

On Sat, 2003-12-27 at 00:45, Lowell Gilbert wrote:
 Drew Robertson [EMAIL PROTECTED] writes:
 
  I've been playing around with this for a while.
  
  I have a FreeBSD 4.8 box set as a gateway on my home LAN.  I have 1 pc
  downstairs, and a few dial up users... FreeBSD box has 2 network
  cards, 1 for internal, 1 for external internet using cable  1 56k
  modem.
  
  Very simple problem... when a dial in user connects to the FreeBSD
  gateway/router using PPP, NAT stops working on the PC downstairs and
  won't work on the dial in PC either...
  
  I have complete LAN access (telnet, ssh, samba, ping etc) on both the
  dial in PC and the downstairs PC, but somewhere my config is
  preventing everyone from being able to access the internet at once.
  
  In rc.conf, I have my Gateway_enable=YES, defaultrouter=192.168.1.1,
  router_enable=yes, proxyarp_all=yes...
  
  PPP.conf is simple...
  
enable pap
enable passwdauth
set ifaddr 192.168.1.1 192.168.1.100-192.168.1.199 255.255.255.0
add HISADDR 255.255.255.0 MYADDR
accept dns
set dns 203.2.75.132
enable proxy
  
  In natd.conf
  
  interface tl0
  sameports yes
  dynamic yes
  
  I'm running a firewall, but it is open for the TUN0 interface...
  
  I also have a divert natd (8668) allow all from any to any out via tl0
  
  All other PC's on the LAN are windows clients... the one downstairs I
  was able to just set a default gateway and it was up and running on
  the internet, unfortunately it isn't done like that on a dial in setup
  on windows...  I can't use DHCP for the clients, as I'm not supposed
  to have internet sharing running...
  
  Do I need to have an add statement in the PPP.conf, or do i have to
  enable proxyall rather than enable proxy??
  
  Worst thing about this is I can't find enough doco on it on the
  net... I'll write my own when I get it done...
 
 I think that natd(8) and the NAT from ppp(8) are stepping on each
 other's toes.  Try not enabling NAT in ppp(8) at all, and letting
 natd(8) take care of it.  It's the same outside interface, after all;
 it should just work.

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


Re: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread The Bean
 You're getting the idea. You're trying to set up a static nat configuration
 instead of a dynamic nat. Dynamic NAT uses one IP for all traffic from the
 internal systems. Perhaps I should've stated it this way first, my bad. For
 Static Nat setups, a gateway has to have the redirected IP associated with
 it's external nic. It's best if this is an aliased IP so that no traffic to
 the gateway is lost. Then redirect that address to the internal system.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
 specifically,  section 19.13.5 Address Redirection describes this best.

Indeed, from 19.3.5 (which I just checked) . . .

The external IP addresses on the natd machine must be active and aliased 
to the external interface.

I'm sure I read this section. Since that quote was right at the end, I'm 
also sure I got lost before I got to that part . . . but since I checked
that section off my list, I probably never reread it.

Anyway, I took a stab at this a while ago, and sure enough, it fixed the problem.

Your bad? I beg to differ -- you're the guy who fixed this!!! And it's been 
bugging me for weeks. Aaaa!!!

Thanks so much Micheal.
- The Bean
 Address redirection is useful if several IP addresses are available, yet
 they must be on one machine. With this, natd(8) can assign each LAN client
 its own external IP address. natd(8) then rewrites outgoing packets from the
 LAN clients with the proper external IP address and redirects all traffic
 incoming on that particular IP address back to the specific LAN client. This
 is also known as static NAT
 
 
 --
 
 Micheal Patterson
 Network Administration
 TSG Incorporated
 405-917-0600
 


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moving from a single to dual CPU setup

2003-12-26 Thread Gerard Samuel
On Friday 26 December 2003 03:28 pm, Lowell Gilbert wrote:
 Gerard Samuel [EMAIL PROTECTED] writes:
  I did a bit of googling, and came up with an instance, that there may be
  a problem with FreeBSD 4.9/SMP/ACPI combo.
  Even though (well at least I believe) ACPI is off, Im having something
  similar to what this google search was saying.
  Maybe this weekend, Ill try backing down to 4.8 and see how she does
  there...

 The fact that it hangs at different places each time argues for a
 hardware problem of some sort...

The thought did cross my mind.
At the time I was putting the box together, I was also mixing PC133  PC100 
memory to which I've come to realise that the board is picky about that (also 
found a reference via google that supports that notion).
Currently Im only using the PC133 memory, and what Ill do is try booting up 
with the 2nd processor installed, and pay attention to see where it hangs (it 
was late the other night, and I don't remember if I was trying the 2nd cpu 
with the PC100 memory).
Ill report back on my findings...

Thanks

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


Re: natd.conf problem (was: natd problem (but close!) )

2003-12-26 Thread Micheal Patterson



- Original Message - 
From: The Bean [EMAIL PROTECTED]
To: Micheal Patterson [EMAIL PROTECTED]; freebsd
[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 5:19 PM
Subject: Re: natd.conf problem (was: natd problem (but close!) )


  You're getting the idea. You're trying to set up a static nat
configuration
  instead of a dynamic nat. Dynamic NAT uses one IP for all traffic from
the
  internal systems. Perhaps I should've stated it this way first, my bad.
For
  Static Nat setups, a gateway has to have the redirected IP associated
with
  it's external nic. It's best if this is an aliased IP so that no traffic
to
  the gateway is lost. Then redirect that address to the internal system.
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
  specifically,  section 19.13.5 Address Redirection describes this best.

 Indeed, from 19.3.5 (which I just checked) . . .

 The external IP addresses on the natd machine must be active and aliased
 to the external interface.

 I'm sure I read this section. Since that quote was right at the end, I'm
 also sure I got lost before I got to that part . . . but since I checked
 that section off my list, I probably never reread it.

 Anyway, I took a stab at this a while ago, and sure enough, it fixed the
problem.

 Your bad? I beg to differ -- you're the guy who fixed this!!! And it's
been
 bugging me for weeks.
Aaaa!!!

 Thanks so much Micheal.
 - The Bean


Glad I could help. I've been using static NAT for about 2 years now here at
home. :)

--

Micheal Patterson
Network Administration
TSG Incorporated
405-917-0600

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


How to get best results from FreeBSD-questions

2003-12-26 Thread Greg Lehey
How to get the best results from FreeBSD questions.
===

Last update $Date: 2003/03/09 22:09:31 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions, -newbies or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst other things, it
told you how to unsubscribe.  Here's a typical message:

  Welcome to the freebsd-questions mailing list!

  If you ever want to remove yourself from this mailing list,
  you can send mail to [EMAIL PROTECTED] with the following command
  in the body of your email message:

  unsubscribe freebsd-questions Greg Lehey [EMAIL PROTECTED]

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  FreeBSD-questions.  If that's the case, you'll have to figure out
  which one it is and get your name taken off that one.  If you're
  not sure which one it might be, check the headers of the
  messages you receive from freebsd-questions: maybe there's a
  clue there.

If you've done all this, and you still can't figure out what's going
on, send a message to [EMAIL PROTECTED], and he will sort things
out for you.  Don't send a message to FreeBSD-questions: they can't
help you.

III: Should I ask -questions, -newbies or -hackers?
===

Two mailing lists handle general questions about FreeBSD,
FreeBSD-questions and FreeBSD-hackers.  In addition, the
FreeBSD-newbies list caters 

The Complete FreeBSD: errata and addenda

2003-12-26 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


setting login.conf doesn't limit my users

2003-12-26 Thread Alexander
Hello,

after setting a new login classes in login.conf the users still don't get
limited and worse - they can change the limits by themselves !

How do I restrict that ?

I'm using FreeBSD 4.9-STABLE. Most of the users are using bash. They
are in the login class that should put them the limits and I ran cap_mkdb
/etc/login.conf after adding the new class. The users login via sshd.

P.S. The FBSD handbook and the login.conf manpage doesn't help much. They
only say that I should put the limits I want in login.conf and everything
should be done. Do I miss something ?

thanks

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


Dynamic DNS Updates

2003-12-26 Thread Evan Sayer
	FreeBSD-
I would like to know how to make my server running 4.9 update my 
networks Dynamic Ip  address on my domains DNS servers.  My ip is 
always changing because it's dynamic, so a domain is essentially 
pointless unless i can get this up and running.  You could say i want 
my domain to function as though it were assigned to a Static IP.  I 
have been googleing for hours, and i can't understand any of it.  
Please be advised, i am somewhat new to FreeBSD.

Thanks a lot.

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


Re: How to find package name

2003-12-26 Thread Dorin H

--- fbsd_user [EMAIL PROTECTED] wrote:
 What is the sure fired way to get the correct
 spelling  of the 
 package name to use with pkg_add -r  command?
 

If you have installed ports, and you know the port
name (which you can find easily), you can go to
/usr/ports/portpath and cat/sed distinfo file.
HIH,
/Dorin.

 ___
 [EMAIL PROTECTED] mailing list

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


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum

2003-12-26 Thread Greg 'groggy' Lehey
On Friday, 26 December 2003 at 15:16:38 +0100, [EMAIL PROTECTED] wrote:
 hello folks, i have a little problem with my vinum on
 - FreeBSD 5.1

 i wanted to create an LogVol with vinum. I have 4 physikal hard drives
 in my pc. and i wanted to combine 3 of them with vinum.
 After i have read the handbook and the manpages i configured my vinum
 without problems, but after restart all my configs are lost.
 Here are the steps I've done:

 touch /etc/vinum.conf
 - vinum create -f -v /etc/vinum.conf

 In this file there are these entrys:

drive d1 device /dev/ad1s1
drive d2 device /dev/ad2s1
drive d3 device /dev/ad3s1

These are slices, not partitions.  From the man page:

DRIVE LAYOUT CONSIDERATIONS
 vinum drives are currently BSD disk partitions.  They must be of type
 vinum in order to avoid overwriting data used for other purposes.  Use
 disklabel -e to edit a partition type definition.  The following display
 shows a typical partition layout as shown by disklabel(8):

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:81920   3440644.2BSD0 0 0   # (Cyl.  240*- 297*)
   b:   26214481920  swap# (Cyl.   57*- 240*)
   c:  42267250unused0 0 # (Cyl.0 - 2955*)
   e:8192004.2BSD0 0 0   # (Cyl.0 - 57*)
   f:  190   4259844.2BSD0 0 0   # (Cyl.  297*- 1626*)
   g:  1900741  2325984 vinum0 0 0   # (Cyl. 1626*- 2955*)

 In this example, partition ``g'' may be used as a vinum partition.  Par-
 titions ``a'', ``e'' and ``f'' may be used as UFS file systems or ccd
 partitions.  Partition ``b'' is a swap partition, and partition ``c''
 represents the whole disk and should not be used for any other purpose.

volume doc1s1 setupstate
   plex org concat
  sd length 0 drive d1
  sd length 0 drive d2
  sd lenght 0 drive d3


 after I did this, all plexes are up without errors.

Yes, this is a bug.  You shouldn't be able to do this.

 then I did:

 - newfs /dev/vinum/doc1s1
 - disklabel -e /dev/vinum/doc1s1

You shouldn't run disklabel on the volume.  Run it on /dev/ad1s1,
/dev/ad2s1 and /dev/ad3s1 instead.  Then create drives on, say,
/dev/ad1s1g, /dev/ad2s1g and /dev/ad3s1g, modify your configuration
file, and all should be well.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgp0.pgp
Description: PGP signature


Re: minor `cp -R` question

2003-12-26 Thread Tom McLaughlin
On Wed, 2003-12-24 at 21:05, Lowell Gilbert wrote:
 Tom McLaughlin [EMAIL PROTECTED] writes:
 
  Hi, I have a quick question about the cp command and recursively copying
  a directory.  If I type:
  
  $ cp -R /foo/file/ ~/
  
  I get in my home directory a file called file.  If I type:
  
  $ cp -R /foo/file ~/
  
  I get in my home directory a directory called foo and a file called
  file.  Can someone explain why the trailing slash cp to behave
  differently?  
  
  My user shell is pdksh and the root shell is csh.  I have pdksh set to
  use complete-list and csh to use autolist.  Is this behavior just
  something unique to FreeBSD?  I tried the same on my OpenBSD box and the
  two commands worked the same and created a directory with a file in it. 
  I also don't remember these working differently on linux.  Do I possibly
  have something setup wrong with my shells?  Thanks.
 
 I can't reproduce this under any shell, including pdksh.
 I'm running -STABLE (and have the pdksh port) as of last Sunday.

Thanks Lowell.  I looked at cvsweb and their have been some changes
since 4.9.

Tom

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


Re: Dynamic DNS Updates

2003-12-26 Thread Gautam Gopalakrishnan
On Fri, Dec 26, 2003 at 05:59:49PM -0800, Evan Sayer wrote:
   FreeBSD-
 I would like to know how to make my server running 4.9 update my 
 networks Dynamic Ip  address on my domains DNS servers.  My ip is 
 always changing because it's dynamic, so a domain is essentially 
 pointless unless i can get this up and running.  You could say i want 
 my domain to function as though it were assigned to a Static IP.  I 
 have been googleing for hours, and i can't understand any of it.  
 Please be advised, i am somewhat new to FreeBSD.


You could sign up with a subdomain provider such as www.dyndns.org,
www.no-ip.com, www.dhs.org, www.homedns.org, etc. They would have
clients which update the ip address in their dns servers once it
changes in your machine.

hth
Gautam


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


Re: Using maildrop from sendmail aliases file

2003-12-26 Thread W. Sierke
W. Sierke wrote:
 More guessing (as I'm still not clear on the specifics of what is
 failing)...

 Is sendmail running as user:smmsp when it's calling maildrop? That would
 explain why maildrop isn't able to change itself to user:vmail, no? Should
 setting the setuid bit circumvent this? When I try that I get:

 Dec 26 15:08:20 maildrop[93442]: You are not a trusted user.

 where I guess You = smmsp?

 If this is the case, then it must be a problem for any program run from
 /etc/mail/aliases, is this just too hard to do on a default FreeBSD? Still
 out of my depth here but learning a bit more. :)

I'm curious about the lack of response since I was thinking there was a good
chance this would be a fairly obvious one for our more experienced players.
Am I wrong in thinking that this is just a permissions/security issue? Just
to recap: I'm trying to run maildrop from /etc/mail/aliases with the
following entry:

second-domain-tld:|/usr/local/bin/maildrop -d [EMAIL PROTECTED]

where second-domain-tld is from an entry in virtusertable.

Initially this gave me:

Dec 25 17:05:19 maildrop[75657]: Cannot set my user or group id.


so as per the above included text, I tried making maildrop setuid:

Dec 26 15:08:20 maildrop[93442]: You are not a trusted user.


Any and all hints, suggestions, advice and abuse welcome as all my research
efforts are getting me nowhere at the moment.


Wayne

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


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-26 Thread Peter Leftwich
On Tue, 23 Dec 2003, Matt Emmerton wrote:
  (I am posting this because a search for the subject above in Google turned
  up not much... not much 'tall!)
 
  What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is
  missing on 4.7-RELEASE?  Can said user `touch /usr/libexec/ld-elf.so.1` as
  a decent fix?  Or mount their drive from another OS and copy over a
  friend's or a web-hosted ld-elf.so.1 file?  Or could I, I mean my friend,
  use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via
  compiling) this needed file??  Please help.  It could be your gift to me.

 You could probably accomplish this by booting with a fixit disk and copying
 over ld-elf.so.1 from a live CD (Disc 2 in the 4-disk set) to /usr/libexec.
 Or you could install the drive in another FreeBSD box, mount /usr and copy
 the file over.   -Matt

Thank you Matt and others.  The trick of running `echo *` to accomplish a
task similar to `ls` worked.  Along with `pwd` and `echo *` I was able to
poke my way around the 4.7-RELEASE CD-R and fixit shell (Emergency
Holographic Shell on VTY F4 accessible by Ctrl-Alt-F4).

The problem I now have is that I would like to mount_msdos a regular floppy
then copy (cp or cpio?) a file from it called ld-elf.so.1 to the
mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk.

Typing just mount is not found.  Oddly enough, typing help or cd /bin
then ./help says Permission denied.  I cannot locate a mount binary,
however, I found mount_nfs and mount_mfs so would either of those work
for mounting both an msdos floppy then my 4.7 partition?  Then must I use
cpio to copy A:\ld-elf.so.1 over to the 4.7 partition??

Thanks, I really appreciate it.  When I am back online, I plan to make a
donation to the freebsd foundation or whichever way that www.freebsd.org
takes donations!!!

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: missing /usr/libexec/ld-elf.so.1 ... not found

2003-12-26 Thread Peter Leftwich
On Sat, 27 Dec 2003, Peter Leftwich wrote:
 On Tue, 23 Dec 2003, Matt Emmerton wrote:
   (I am posting this because a search for the subject above in Google turned
   up not much... not much 'tall!)
  
   What should a user do if their, uhm, /usr/libexec/ld-elf.so.1 file is
   missing on 4.7-RELEASE?  Can said user `touch /usr/libexec/ld-elf.so.1` as
   a decent fix?  Or mount their drive from another OS and copy over a
   friend's or a web-hosted ld-elf.so.1 file?  Or could I, I mean my friend,
   use some of the contents of src/ on a 4.7-RELEASE CD-R to recreate (via
   compiling) this needed file??  Please help.  It could be your gift to me.
 
  You could probably accomplish this by booting with a fixit disk and copying
  over ld-elf.so.1 from a live CD (Disc 2 in the 4-disk set) to /usr/libexec.
  Or you could install the drive in another FreeBSD box, mount /usr and copy
  the file over.   -Matt

 Thank you Matt and others.  The trick of running `echo *` to accomplish a
 task similar to `ls` worked.  Along with `pwd` and `echo *` I was able to
 poke my way around the 4.7-RELEASE CD-R and fixit shell (Emergency
 Holographic Shell on VTY F4 accessible by Ctrl-Alt-F4).

 The problem I now have is that I would like to mount_msdos a regular floppy
 then copy (cp or cpio?) a file from it called ld-elf.so.1 to the
 mounted partition which contains FreeBSD 4.7-RELEASE on my hard disk.

 Typing just mount is not found.  Oddly enough, typing help or cd /bin
 then ./help says Permission denied.  I cannot locate a mount binary,
 however, I found mount_nfs and mount_mfs so would either of those work
 for mounting both an msdos floppy then my 4.7 partition?  Then must I use
 cpio to copy A:\ld-elf.so.1 over to the 4.7 partition??

 Thanks, I really appreciate it.  When I am back online, I plan to make a
 donation to the freebsd foundation or whichever way that www.freebsd.org
 takes donations!!!

FYI - http://www.seabug.org/archive/1999-12/msg00136.html no help with mount!

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need learning direction suggestions on using editors

2003-12-26 Thread parv
in message [EMAIL PROTECTED], wrote Jez Hancock
thusly...

 On Thu, Dec 25, 2003 at 04:48:11PM +0800, Zhang Weiwu wrote:

(something about increasing vi knowledge  moving to vim or emacs)

 The major benefits of vi over vim are multiple buffers and the concept
^^^
^^^
 of windows.

Surely Zhang meant that vim has major benefits over (n)vi, not the other
way around, given the vim's virtues being extolled.  Right Zhang?


  - Parv

-- 

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