Re: miibus.ko if_aue.ko crash

2004-07-16 Thread Dinesh Nair

On Fri, 16 Jul 2004, Tomoki Taniguchi wrote:

> 
> aue0: flags=8802(BROADCAST,SIMPLEX,MULTICAST) mtu 1500
>tunnel inet  -->
>ether XX:XX:XX:XX:XX:XX
>media: Ethernet autoselect (100baseTX )
>status: active
>vlan: 0 parent interface: 
>ssid ""
>stationname ""
>channel 0 authmode NONE powersavemode OFF
>wepmode OFF weptxkey 1
> 
>
> Then at this point if I run "dhclient aue0", the system crashes giving
> me the same errors as when I boot the system with the usb ethernet
> plugged in.

i see a similar response from ifconfig when using an ADMTEK AN986 USB
Ethernet device with HomePNA. i've submitted patch if_aue.c at
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/61300 but it works only on
4.9-RELEASE. with 4.10-RELEASE (and thus -STABLE), that patch won't work
anymore. if anyone wants the updated patch for 4.10 and STABLE, let me
know.

nevertheless, to get back to the point, the device in both HomePNA media
and Ethernet media works fine without crashing, though ifconfig produces
the same output you see.

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

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


Re: FreeBSD beginner (NetBSD advanced)

2004-07-16 Thread Nikos Vassiliadis
I have used a single 256MB mfs on FreeBSD for months without any problem.
I was not doing heavy IO on it, it was used in a /tmp fashion and most of the
time was swapped out, going down to 8MB resident size at times.

> softdeps in NetBSD is very buggy. putting very high load like deleting
> huge tree or unpacking it easily triggers DDB with ffs_something panic :(

I have the feeling that NetBSD without softdeps performs much better than
FreeBSD. I can live without them on NetBSD.

I think you will miss ALTQ. There is a patch for FreeBSD-4.8 at Kenjiro's page.

NikV

On Friday 16 July 2004 00:50, Wojciech Puchar wrote:
> > Wojciech Puchar wrote:
> >> i installed FreeBSD once to do quick performance tests, and at least in
> >> disk I/O and fair scheduling it's MUCH better (tested 4.10 and 5.1).
> >
> > It's nice to be welcomed by higher performance when you switch OSes.  :-)
>
> while high performance is always cool, stable performance is even more
> important under load. I mean if i do 5 things it shouldn't slow down 100
> times.
>
> in NetBSD especially if you start large file copying whole system slows
> down terribly. not true with FreeBSD.
>
> softdeps in NetBSD is very buggy. putting very high load like deleting
> huge tree or unpacking it easily triggers DDB with ffs_something panic :(
>
> >> my questions:
> >>
> >> 1) what is Buf and Cache in top exactly? why buf on 96MB machine gets to
> >> near 20MB and never goes down? it's almost 1/4 of memory size.
> >
> > Cache: number of pages used for VM-level disk caching
> > Buf:   number of pages used for BIO-level disk caching
>
> can you explain more? (or redirect me to URL about it)
>
> is all things double-buffered?!! it would be lots of memory traffic.
>
>
> BTW is mfs usable and stable in FreeBSD? and does it make real sense?
>
> in NetBSD mfs is terribly unstable. especially large mfs disks easily
> crash things.
>
> >> 2) can i compile kernel with -march=pentium,pentium[234] -O2
> >> optimization? in NetBSD 2.0 doing -march=pentium produces kernel that
> >> doesn't boot at all, just resets.
> >
> > If you want to tune your system, tweaking the options from GENERIC by
> > removing at least:
> >
> > cpu I386_CPU
> > cpu I486_CPU
>
> did this.
>
> > ...will probably result in the greatest improvement, along with disabling
> > WITNESS and such if using -CURRENT.  See "man tuning".
>
> oh - i never did it...
>
> > Using -march=pentium is likely to be worthwhile (assuming you don't have
> > a
>
> with heavy CPU-bound userland binaries i measured 10-25% gain.
>
> > 386 :-), higher than that may run into problems.  Higher optimizations
> > than -O are not supported, although work is underway to fix the remaining
> > code issues (mainly in libalias used by NAT), as I understand.
> >
> > If you want to try -O2, give it a shot, but you might consider using
> > either "-Os" rather than "-O2", or try "-O2 -fno-strict-aliasing".
>
> why -Os? it makes slower but smaller code?
>
> will lower memory traffic/better cache hitting give more gain than it's
> lost because of slower code.
>
> >> 3) how can i disable compiling, using etc.. all that LKM (KLD) stuff?
> >>
> >> i really prefer one static kernel.
> >
> > Read the handbook on building the kernel.
>
> what i missed?
>
> i already built a kernel, found how to disable modules but all kld stuff
> is still compiled in!
>
> yes i can just do rm *.ko but removing kld from kernel would be even
> nicer.
>
> >> 4) is IPv6 working well? (i mean no crashes etc...) i will get real IPv6
> >> zone allocation soon and want to use it.
> >
> > IPv6 seems to work well, yes.
> >
> >> 5) what is used in FreeBSD for traffic management. NetBSD has altq -
> >> please just give me a name i will RTFM.
> >
> > If you want to use that, ipf/altq should be available in -CURRENT.
> > Otherwise, ipfw & dummynet is another choice.
> >
> >> 6) how to turn using serial port as console on i386? my home machine is
> >> headless, i'm using X terminals to access it.
> >
> > See the handbook.
> >
> >> 7) does FreeBSD support 2 CPUs on i386?
> >
> > Sure.  See the SMP section of the kernel config file.
> >
> >> should i go to 4.10 or better 5.2.1? stability is really important to
> >> me.
> >
> > 4.10, unless there's a feature from -CURRENT that you don't want to live
> > without.
>
> i don't think it is unless 4.10 has:
>
> 1) multiCPU
> 2) traffic shaping
> 3) nat
> 4) firewalling
> 5) IPv6
> 6) tun device
>
> i don't think i need anything more
> ___
> [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: "sanitizing" disks: wiping swap, non-allocated space, and file-tails

2004-07-16 Thread cpghost
David Kreil wrote:
I'm also interested in people's personal experiences in using partition or 
file system encryption options.
 

gbde(1) works fine for me, even for swap and /tmp.
The only problem is that you can't reboot without
operator assistance to enter the passphrase(s).
David.
 

-cpghost.
--
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


need help with UTF-8 !

2004-07-16 Thread Sebastian Kutsch
Hi,

I need some help with UTF-8 on FreeBSD 5.2.1.

My primary goal is to use filenames with none ASCII-characters like
german umlauts or kyrillic-characters.
I have installed the utf8local port, set the environment variable
"LC_CTYPE=de_DE.UTF-8" in ~/.login for each user (including root) and
use the sysconsolefont "iso15-8x16".
This works fine for german umlauts when using the console only. But I
get problems when using somthing like samba or rox-filer. I think they
use libiconv, because using iconve to encode none-ASCII-characters from
ISO_8859-15 to UTF-8 on the console I get the same glibberish as using
samba (with a samba client like xsmbrows or windows) or konqueror or
rox-filer... I don't know if it is problem with the font I use (I did
not find a UTF-8 consolefont), the utf8local port or with libiconv. I
have googled the web, searched the mailinglists, looked in to the
Handbook and did not find a solution.

I would realy appreciate your help.

thx

Sebastian


--

If you share pain
there is less of it.
If you share joy
there is more of it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mkisofs not found

2004-07-16 Thread Miguel Mendez
On Fri, 16 Jul 2004 11:24:25 +0800
"kinux" <[EMAIL PROTECTED]> wrote:


Hi,

> i have a 4.10 box, today i try to install mkisofs, i cvsup first, then
> got a problem i have never seen before..  with following..
> # uname -r
> 4.10-STABLE
> # make search name='mkisofs' | grep Path
> Path:   /usr/ports/chinese/mkisofs
> Path:   /usr/ports/korean/mkisofs
> Path:   /usr/ports/sysutils/mkisofs
> Path:   /usr/ports/sysutils/mkisofs-devel
> # cd /usr/ports/sysutils/mkisofs
> /usr/ports/sysutils/mkisofs: No such file or directory.

Sounds like an outdated INDEX to me, which is what make search uses.
mkisofs is part of the sysutils/cdrtools port now.


Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
PGP Key: 0xDC8514F1



pgpe2wTEJXoo7.pgp
Description: PGP signature


system crashed, help needed

2004-07-16 Thread Piotr Gnyp
Today out of nowhere system crashed and rebooted:
system:
FreeBSD discordia.pl 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #31: Thu 
Jul  1 15:41:12 CEST 2004 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/OBLIVION  i386

info on reboot:
Jul 16 09:28:05 discordia savecore: reboot after panic: softdep_lock: 
lock held by 0xcbda2c80
Jul 16 09:28:05 discordia savecore: writing core to vmcore.6

dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights 
reserved.
FreeBSD 5.2.1-RELEASE-p9 #31: Thu Jul  1 15:41:12 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/OBLIVION
Preloaded elf kernel "/boot/kernel/kernel" at 0xc077b000.
Preloaded elf module "/boot/kernel/lrexec.ko" at 0xc077b1f4.
MPTable: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (999.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10

Features=0x383fbff
real memory  = 402567168 (383 MB)
avail memory = 384917504 (367 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  3
 cpu1 (AP): APIC ID:  0
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 16
ioapic1  irqs 16-31 on motherboard
ioapic0  irqs 0-15 on motherboard
Pentium Pro MTRR support enabled
VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc00c0b8d (cb8d)
VESA: S3 Incorporated. Savage4
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pcib0: slot 2 INTA routed to irq 27
pcib0: slot 10 INTA routed to irq 18
pcib0: slot 15 INTA routed to irq 10
pci0:  at device 1.0 (no driver attached)
fxp0:  port 0x2200-0x223f mem 
0xfea0-0xfeaf,0xfeb7f000-0xfeb7 irq 27 at device 2.0
on pci0
fxp0: Ethernet address 00:02:55:6d:12:1a
miibus0:  on fxp0
inphy0:  on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x2280-0x22ff mem 
0xfeb7ec00-0xfeb7ec7f irq 18 at device 10.0 on pci0
xl0: Ethernet address: 00:04:76:91:78:3f
miibus1:  on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus1
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0:  port 0x440-0x44f at device 15.0 on pci0
isa0:  on isab0
atapci0:  port 0x700-0x70f at 
device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
ohci0:  mem 0xfeb7d000-0xfeb7dfff irq 10 
at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0:  on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib1:  at pcibus 1 on motherboard
pci1:  on pcib1
pcib1: slot 3 INTA routed to irq 28
ahc0:  port 0x2300-0x23ff mem 
0xe000-0xefff irq 28 at device 3.0 on pci1
aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
orm0:  at iomem 
0xca800-0xcefff,0xca000-0xca7ff,0xc-0xc9fff on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0:  on ppc0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on 
isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
unknown:  can't assign resources (port)
Timecounters tick every 10.000 msec
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
acd0: CDROM  at ata0-master PIO4
Waiting 5 seconds for SCSI devices to settle
GEOM: create disk da0 dp=0xcba85450
da0 at ahc0 bus 0 target 0 lun 0
da0:  Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged 
Queueing Enabled
da0: 34715MB (71096640 512 byte sectors: 255H 63S/T 4425C)
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
Accounting enabled
xl0: promiscuous mode enabled

kldstat:
Id Refs AddressSize Name
 16 0xc040 375bf8   kernel
 21 0xc0776000 33bc lrexec.ko
 31 0xcbc77000 19000linux.ko
gdb backtrace:
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc0503677 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:372
#2  0xc05039ee in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc0546ab1 in bremfreel (bp=0xd357f8e8) at 
/usr/src/sys/kern/vfs_bio.c:647
#4  0xc05469e5 in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:629
#5  0xc054a4a4 in getblk (vp=0xcbbd7104, blkno=0, size=16384, slpflag=0, 
slptimeo=0, flags=0)
at /usr/src/sys/kern/vfs_bio.c:2468
#6  0xc0546b92 in breadn (

Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?

2004-07-16 Thread Andreas Ntaflos
Thank you all who took time to reply! The problem really seems to be one
of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines. 
No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I 
am going to replace it with something more reliable. Any recommendations?

Is there a card with Really Good(TM) driver implementation for FreeBSD?
Anything one would use in a production server (we use 3com cards almost
exclusively at work, although mostly in Linux servers)?

Anyway, thanks for all the input, I really appreciate it!

Andreas
-- 
Andreas "daff" Ntaflos | "A cynic is a man who knows the price of
daff AT dword DOT org  | everything, and the value of nothing."
Vienna, AUSTRIA|  Oscar Wilde
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 100Mbit/s LAN slow, TX only ~3MB/s (esp. file transfer) -- why?

2004-07-16 Thread Wojciech Puchar
Thank you all who took time to reply! The problem really seems to be one
of the (or maybe even both, even the LinkSys!) NICs in the FreeBSD machines.
No wonder, the RealTek card is a cheap piece of crap (around EUR 6), I
am going to replace it with something more reliable. Any recommendations?
Is there a card with Really Good(TM) driver implementation for FreeBSD?
Anything one would use in a production server (we use 3com cards almost
exclusively at work, although mostly in Linux servers)?
once i've got cheap cards (20PLN=about 4 EUR) and bought 20 of them but i 
used only in NetBSD. but it seems fast (no problem to do 9MB/s on pentium 
166 NFS)

got detected like that
tlp0 at pci0 dev 8 function 0: ADMtek AN985 Ethernet, pass 1.1
tlp0: interrupting at irq 9
tlp0: Ethernet address 00:0a:cd:05:46:e2
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000749, model 0x0001, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
but it regularly gives
tlp0: receive error: CRC error
tlp0: receive error: CRC error
tlp0: receive error: CRC error
while except polluting logs it doesn't harm speed. i don't know if it's 
switch, NetBSD or something else

this is good too (even better) but no more is available for now where i 
buy.

sip0 at pci0 dev 8 function 0: NatSemi DP83815 10/100 Ethernet, rev 00
sip0: interrupting at irq 12
sip0: Ethernet address 00:50:fc:62:24:a6
nsphyter0 at sip0 phy 0: DP83815 10/100 media interface, rev. 1
nsphyter0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD beginner (NetBSD advanced)

2004-07-16 Thread Wojciech Puchar
I have used a single 256MB mfs on FreeBSD for months without any problem.
I was not doing heavy IO on it, it was used in a /tmp fashion and most of the
time was swapped out, going down to 8MB resident size at times.
does FreeBSD deallocate pages that are unused.
NetBSD does not. if you create 100MB file on mfs and delete it, VM size of 
mfs is still over 100MB. while it will get swapped out it's a kind of 
nonsense IMHO


softdeps in NetBSD is very buggy. putting very high load like deleting
huge tree or unpacking it easily triggers DDB with ffs_something panic :(
I have the feeling that NetBSD without softdeps performs much better than
FreeBSD. I can live without them on NetBSD.
i have too. anyway softdeps is big speedup.
i tried async and doing sync every 5 seconds. looks good.

I think you will miss ALTQ. There is a patch for FreeBSD-4.8 at Kenjiro's page.
i read manual page about ipfw yesterday. i think i will not  miss :)
NikV
On Friday 16 July 2004 00:50, Wojciech Puchar wrote:
Wojciech Puchar wrote:
i installed FreeBSD once to do quick performance tests, and at least in
disk I/O and fair scheduling it's MUCH better (tested 4.10 and 5.1).
It's nice to be welcomed by higher performance when you switch OSes.  :-)
while high performance is always cool, stable performance is even more
important under load. I mean if i do 5 things it shouldn't slow down 100
times.
in NetBSD especially if you start large file copying whole system slows
down terribly. not true with FreeBSD.
softdeps in NetBSD is very buggy. putting very high load like deleting
huge tree or unpacking it easily triggers DDB with ffs_something panic :(
my questions:
1) what is Buf and Cache in top exactly? why buf on 96MB machine gets to
near 20MB and never goes down? it's almost 1/4 of memory size.
Cache: number of pages used for VM-level disk caching
Buf:   number of pages used for BIO-level disk caching
can you explain more? (or redirect me to URL about it)
is all things double-buffered?!! it would be lots of memory traffic.
BTW is mfs usable and stable in FreeBSD? and does it make real sense?
in NetBSD mfs is terribly unstable. especially large mfs disks easily
crash things.
2) can i compile kernel with -march=pentium,pentium[234] -O2
optimization? in NetBSD 2.0 doing -march=pentium produces kernel that
doesn't boot at all, just resets.
If you want to tune your system, tweaking the options from GENERIC by
removing at least:
cpu I386_CPU
cpu I486_CPU
did this.
...will probably result in the greatest improvement, along with disabling
WITNESS and such if using -CURRENT.  See "man tuning".
oh - i never did it...
Using -march=pentium is likely to be worthwhile (assuming you don't have
a
with heavy CPU-bound userland binaries i measured 10-25% gain.
386 :-), higher than that may run into problems.  Higher optimizations
than -O are not supported, although work is underway to fix the remaining
code issues (mainly in libalias used by NAT), as I understand.
If you want to try -O2, give it a shot, but you might consider using
either "-Os" rather than "-O2", or try "-O2 -fno-strict-aliasing".
why -Os? it makes slower but smaller code?
will lower memory traffic/better cache hitting give more gain than it's
lost because of slower code.
3) how can i disable compiling, using etc.. all that LKM (KLD) stuff?
i really prefer one static kernel.
Read the handbook on building the kernel.
what i missed?
i already built a kernel, found how to disable modules but all kld stuff
is still compiled in!
yes i can just do rm *.ko but removing kld from kernel would be even
nicer.
4) is IPv6 working well? (i mean no crashes etc...) i will get real IPv6
zone allocation soon and want to use it.
IPv6 seems to work well, yes.
5) what is used in FreeBSD for traffic management. NetBSD has altq -
please just give me a name i will RTFM.
If you want to use that, ipf/altq should be available in -CURRENT.
Otherwise, ipfw & dummynet is another choice.
6) how to turn using serial port as console on i386? my home machine is
headless, i'm using X terminals to access it.
See the handbook.
7) does FreeBSD support 2 CPUs on i386?
Sure.  See the SMP section of the kernel config file.
should i go to 4.10 or better 5.2.1? stability is really important to
me.
4.10, unless there's a feature from -CURRENT that you don't want to live
without.
i don't think it is unless 4.10 has:
1) multiCPU
2) traffic shaping
3) nat
4) firewalling
5) IPv6
6) tun device
i don't think i need anything more
___
[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: KDE

2004-07-16 Thread Teilhard Knight
> On Wed, 14 Jul 2004 00:05:24 -0500
> "Teilhard Knight" <[EMAIL PROTECTED]> wrote:
>
> > Hello:
> >
> > I just installed FreeBSD 4.10, and everything went all right. I typed:
> > "startx", and I could enter KDE and do some tweakings. Then I shut down
> > and rebooted, and something happened I cannot enter KDE, nor as a root
or
> > as a user anymore. I get the message:
>
> do you have any clue about what 'tweakings' you might have done?  did you
> touch /etc/ttys or the 'kern_securelevel' settings in /etc/rc.conf?
making
> certain changes to either of these can seriously hamper your ability to
use
> X.


No, I didn't touch those files. Actually I guess I used the word "tweaking"
in the wrong way. I only did things like selecting desktop mat, registering
my root password, setting myself as a user, etc. (install didn't do it in
the end).


> > "X connection to :0.0 broken (explicit kill or server shutdown)"
>
> though it sounds as though X was working, another possibility is that your
> XF86Config is misconfigured, thus broken.  how did you set-up X?  during
> the install or after with xf86config?


During install. I used /stand/sysinstall only when X was broken, but X was
already installed.


> please check/var/log/XFree86.0.log for error messages.  i'm pretty sure
> that you'll see something that will point you in the right direction.
>
> if you think that it is X that is 'broken', please have another look at
the
> handbook section on X:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html
>
> if you think that it was one of your 'tweaks', please let us know what you
> did, so that we can help you undo it.


Actually, I have installed again, and now everything is all right. I could
have tryied to fix the problem as a challenge, but I felt I am too newbie
for that. That is, it was too much for me.


> > Does it mean I'll have to re-install?
>
> almost certainly not.  we just need to figure out what happened.

I very much appreciate your feedback; I am grateful for that.

Cordially,

Teilhard.

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


PPPoE misbehaving?

2004-07-16 Thread Chris Knipe
Lo all,

I recently upgraded to FreeBSD 5.2 to get support for the ath devices... All
it well (so far), but I'm baffled as to why my PPPoEd aren't operating...

A quick example...

su-2.05b# ifconfig
ath0: flags=8843 mtu 1250
ether 00:02:6f:20:98:bb
media: IEEE 802.11 Wireless Ethernet DS/1Mbps  (autoselect
)
status: associated
ssid VARYNET-HS01 1:VARYNET-HS01
channel 6 authmode OPEN powersavemode OFF powersavesleep 100
wepmode MIXED weptxkey 1
wepkey 1:40-bit

All is fine, the WLAN is up and working.  When I do assign IP addresses on
the interface, the WiFi Client can talk to the server via the wireless
network.  Thus, the network itself is fine...  Next, I start up PPPoEd:

su-2.05b# /usr/libexec/pppoed -Fd -l pppoe ath0
Sending NGM_LISTHOOKS to ath0:
Got reply from id [1]: Type ether with 1 hooks
  Got [1]:orphans -> [4]:ethernet
Sending PPPOE_LISTEN to .:pppoe-5086, provider
pppoed[5086]: Listening


Also fine  Lastly, the client fires off a PPPoE session... TCPDump shows
the packets without problems...
tcpdump: listening on ath0
12:31:09.050286 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
12:31:09.122091 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
^C
2 packets received by filter
0 packets dropped by kernel

However, the PPPoE Deamon simply does not pick it up and does nothing.  No
session is initiated, no ppp processes are spawned, nothing... This exact
same configuration over a wired network works perfectly with FBSD4.10... Has
something changed?

--
me


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


Re: ADI AD1888 AC'97 audio CODEC on ASUS P4P800S [SOLVED]

2004-07-16 Thread Srot BULL
Sorry again for responding to my own post..
Hi Mr. Danny MacMillan
Danny MacMillan wrote: 
It sounds to me like you don't have the little digital cable
connecting from your CD-ROM to your sound card.  The equivalent
task may work in Windows if they read the music through the
IDE interface and pipe it through the sound card instead of
channeling it through that "back-channel" communications
channel.  I'm not up on the lingo but that's the first thing
I'd check.

YesWell, I think...
That PC was my first ever assembled PC, it took me a lot of courage to 
built that one...
I can still remember that I only connected both the power supply and 
that "bus cable thing"...I have already mixed all of the unused cables 
in one box...now I will have to dig/find that digital cable and go for a 
trial and error thing...of course, I will have to look at the User Guide 
of my MainBoard first...
I have connected the little digital cable that you have mentioned above 
and!viola! (don't know what language is this, but I see some people 
use this in the ML to express their happiness, I am )...
Through trial-and-error I can finally listen to music in my own FreeBSD 
system...and most of all...I learned a little more about PC assembly...
I have to admit, after reading your response...

Thank you very much...to you all of those who helped...
Srot BULL
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD beginner (NetBSD advanced)

2004-07-16 Thread Nikos Vassiliadis
> does FreeBSD deallocate pages that are unused.
>
> NetBSD does not. if you create 100MB file on mfs and delete it, VM size of
> mfs is still over 100MB. while it will get swapped out it's a kind of
> nonsense IMHO

FreeBSD tries to swap out idle pages. That means that you'll have more
physical memory available for programs, cacheing, etc. So it's nice:)
I am not by any means FreeBSD kernel expert. Not at all expert! There
is a vmm description on your new FreeBSD system by Matthew Dillon who
has made many improvments to it.
/usr/share/doc/en/articles/vm-design

Cheers, NikV

On Friday 16 July 2004 13:38, Wojciech Puchar wrote:
> > I have used a single 256MB mfs on FreeBSD for months without any problem.
> > I was not doing heavy IO on it, it was used in a /tmp fashion and most of
> > the time was swapped out, going down to 8MB resident size at times.
>
> does FreeBSD deallocate pages that are unused.
>
> NetBSD does not. if you create 100MB file on mfs and delete it, VM size of
> mfs is still over 100MB. while it will get swapped out it's a kind of
> nonsense IMHO
>
> >> softdeps in NetBSD is very buggy. putting very high load like deleting
> >> huge tree or unpacking it easily triggers DDB with ffs_something panic
> >> :(
> >
> > I have the feeling that NetBSD without softdeps performs much better than
> > FreeBSD. I can live without them on NetBSD.
>
> i have too. anyway softdeps is big speedup.
>
> i tried async and doing sync every 5 seconds. looks good.
>
> > I think you will miss ALTQ. There is a patch for FreeBSD-4.8 at Kenjiro's
> > page.
>
> i read manual page about ipfw yesterday. i think i will not  miss :)
>
> > NikV
> >
> > On Friday 16 July 2004 00:50, Wojciech Puchar wrote:
> >>> Wojciech Puchar wrote:
>  i installed FreeBSD once to do quick performance tests, and at least
>  in disk I/O and fair scheduling it's MUCH better (tested 4.10 and
>  5.1).
> >>>
> >>> It's nice to be welcomed by higher performance when you switch OSes. 
> >>> :-)
> >>
> >> while high performance is always cool, stable performance is even more
> >> important under load. I mean if i do 5 things it shouldn't slow down 100
> >> times.
> >>
> >> in NetBSD especially if you start large file copying whole system slows
> >> down terribly. not true with FreeBSD.
> >>
> >> softdeps in NetBSD is very buggy. putting very high load like deleting
> >> huge tree or unpacking it easily triggers DDB with ffs_something panic
> >> :(
> >>
>  my questions:
> 
>  1) what is Buf and Cache in top exactly? why buf on 96MB machine gets
>  to near 20MB and never goes down? it's almost 1/4 of memory size.
> >>>
> >>> Cache: number of pages used for VM-level disk caching
> >>> Buf:   number of pages used for BIO-level disk caching
> >>
> >> can you explain more? (or redirect me to URL about it)
> >>
> >> is all things double-buffered?!! it would be lots of memory traffic.
> >>
> >>
> >> BTW is mfs usable and stable in FreeBSD? and does it make real sense?
> >>
> >> in NetBSD mfs is terribly unstable. especially large mfs disks easily
> >> crash things.
> >>
>  2) can i compile kernel with -march=pentium,pentium[234] -O2
>  optimization? in NetBSD 2.0 doing -march=pentium produces kernel that
>  doesn't boot at all, just resets.
> >>>
> >>> If you want to tune your system, tweaking the options from GENERIC by
> >>> removing at least:
> >>>
> >>> cpu I386_CPU
> >>> cpu I486_CPU
> >>
> >> did this.
> >>
> >>> ...will probably result in the greatest improvement, along with
> >>> disabling WITNESS and such if using -CURRENT.  See "man tuning".
> >>
> >> oh - i never did it...
> >>
> >>> Using -march=pentium is likely to be worthwhile (assuming you don't
> >>> have a
> >>
> >> with heavy CPU-bound userland binaries i measured 10-25% gain.
> >>
> >>> 386 :-), higher than that may run into problems.  Higher optimizations
> >>> than -O are not supported, although work is underway to fix the
> >>> remaining code issues (mainly in libalias used by NAT), as I
> >>> understand.
> >>>
> >>> If you want to try -O2, give it a shot, but you might consider using
> >>> either "-Os" rather than "-O2", or try "-O2 -fno-strict-aliasing".
> >>
> >> why -Os? it makes slower but smaller code?
> >>
> >> will lower memory traffic/better cache hitting give more gain than it's
> >> lost because of slower code.
> >>
>  3) how can i disable compiling, using etc.. all that LKM (KLD) stuff?
> 
>  i really prefer one static kernel.
> >>>
> >>> Read the handbook on building the kernel.
> >>
> >> what i missed?
> >>
> >> i already built a kernel, found how to disable modules but all kld stuff
> >> is still compiled in!
> >>
> >> yes i can just do rm *.ko but removing kld from kernel would be even
> >> nicer.
> >>
>  4) is IPv6 working well? (i mean no crashes etc...) i will get real
>  IPv6 zone allocation soon and want to use it.
> >>>
> >>> IPv6 seems to work well, yes.
> >>>
>  5) wh

Re: Running processes...

2004-07-16 Thread Lowell Gilbert
[EMAIL PROTECTED] (Uwe Klann) writes:

> in the message Running processes fom Sat Feb 14 08:26:45 PST2004
> it is writen in the artical that IPFILTER sample rule is available.
> I am interested to get a copy. Thank you.

You mean like /usr/share/examples/ipfilter/* ?

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


Tomcat Goes Its Own Way

2004-07-16 Thread Jason Dusek
Hi,
I am having a weird problem with Tomcat:
If I go into the jsp examples and modify the .jspx files, my changes have no 
effect on how they are executed! I can even delete them, it doesn't matter - 
they run just as before. But deleting or modifying .html files in the same 
directory has the expected effected. I have tried restarting Tomcat, and I 've 
even rebooted my machine - it doesn't seem to make any difference.

How is this happening? Does Tomcat keep redundant copies of the .jspx files 
somewhere?

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


Re: 'su' problem

2004-07-16 Thread Jerry McAllister
> 
> Hello list...
> 
> When I try to run 'su' it does not run and returns a message:
> 
> su: Sorry.
> 
> and returns to the shell prompt... I guess it is 'cos some kind of 
> permission... just read the 'su' manpage and it tells about a /etc/pam.conf 
> but the file is not present... should I create it by hand? or there is an 
> utility to add users or something like?

Are you running it as root?  If so, you are probably mistyping something.

If you are not root and trying to su to root, then your id has to be 
in the wheel group.

jerry

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


Re: Anjuta and libtools problem

2004-07-16 Thread "Christian Schüler"

Chuck:
thanks, I did cvsup the ports collection, then the make command builds
Anjuta 1.2.2_1.

I just did a fresh install of FreeBSD 5.2.1 from FTP a week ago, so I never
dreamt of anything being out of date form this install. Why do I have to
cvsup the ports collection?

Anyway, Anjuta builds, but the libtools problem remains the same :-(
I cannot create a default project.

I'm now trying a portupgrade -a, and it is taking forever ...


Henrik:
My project is in ~/Projects, I'm currently on Windoze so I cannot give a ls.
Do you have an "ltconfig" file in your project directories?


-chris



Christian Schüler wrote:

>> Why don't you build it from ports and save yourself a lot of problems?
>
>
> (1) because this doesn't build 1.2.2, it starts building "1.0.2" when I
type
> make install.


This strongly suggests that your ports tree is out-of-date.
This port's Makefile should start with:

# New ports collection makefile for:anjuta
# Date created: 31 March 2001
# Whom: Dmitry Sivachenko
<[EMAIL PROTECTED]>
#
# $FreeBSD: ports/devel/anjuta/Makefile,v 1.26 2004/05/06 02:54:02 bland Exp
$
#

PORTNAME=   anjuta
PORTVERSION=1.2.2
[ ... ]

> So if anyone has more help to offer besides "use the ports" that would be
> really great.


How about: "update your ports collection first, then use the ports".

-- 
-Chuck 

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


using NDIS

2004-07-16 Thread Jason Dusek
I built the ndisulator last night and it appears to work:
  ndis0:  mem 0xfafee000-0xfafe irq
  11 at device 3.0 on pci2
  ndis0: [GIANT-LOCKED]
  can't re-use a leaf (Country)!
  can't re-use a leaf (Channel)!
  ndis0: NDIS API version: 5.0
  ndis0: Ethernet address: 00:90:96:b9:95:64
  ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
  ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps
So how do I use my wireless card? Is there some command that I run to turn it on 
and off? I have tried searching the lists, and I've gone to the NDIS web site on 
sourceforge, but it seems that other people's questions focus on getting the 
ndisulator to compile. I am completely clueless here, so any help would be 
greatly appreciated.

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


Connect from Freebsd 4.10 to Oracle 9i

2004-07-16 Thread Volker Lieder
Hello List,
i have a strange problem.
I have to connect to an oracle 9i server with a freebsd 4.10 machine.
I have tried to compile a 9i client for freebsd, but run in severeal 
problems.
Has anybody a solution or an idea to handle this problem?
Perhaps its possible to connect to the database with an older version?
We tried the shipped in version 7 from freebsd, but this don't work.

Hope anybody has a hint, i spend several hours in this problem :-(
Volker Lieder
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PPPoE misbehaving?

2004-07-16 Thread Andrew
Chris Knipe wrote:

> Lo all,
>
> I recently upgraded to FreeBSD 5.2 to get support for the ath
devices... All
> it well (so far), but I'm baffled as to why my PPPoEd aren't
operating...
>
> A quick example...
>
> su-2.05b# ifconfig
> ath0: flags=8843 mtu 1250
> ether 00:02:6f:20:98:bb
> media: IEEE 802.11 Wireless Ethernet DS/1Mbps 
(autoselect
> )
> status: associated
> ssid VARYNET-HS01 1:VARYNET-HS01
> channel 6 authmode OPEN powersavemode OFF powersavesleep 100
> wepmode MIXED weptxkey 1
> wepkey 1:40-bit
>
> All is fine, the WLAN is up and working.  When I do assign IP
addresses on
> the interface, the WiFi Client can talk to the server via the wireless
> network.  Thus, the network itself is fine...  Next, I start up
PPPoEd:
>
> su-2.05b# /usr/libexec/pppoed -Fd -l pppoe ath0
> Sending NGM_LISTHOOKS to ath0:
> Got reply from id [1]: Type ether with 1 hooks
>   Got [1]:orphans -> [4]:ethernet
> Sending PPPOE_LISTEN to .:pppoe-5086, provider
> pppoed[5086]: Listening
>
>
> Also fine  Lastly, the client fires off a PPPoE session... TCPDump
shows
> the packets without problems...
> tcpdump: listening on ath0
> 12:31:09.050286 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
> 12:31:09.122091 PPPoE PADI [Service-Name] [Host-Uniq UTF8]
> ^C
> 2 packets received by filter
> 0 packets dropped by kernel
>
> However, the PPPoE Deamon simply does not pick it up and does nothing.
No
> session is initiated, no ppp processes are spawned, nothing... This
exact
> same configuration over a wired network works perfectly with
FBSD4.10... Has
> something changed?

I don't really know what's the problem, but try to explicitly tell
pppoed what to execute (-e switch). Try some arbitrary program, like
top, to see if it is actually bringing up anything.

Have a nice,
Andrew

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


Reboots after "OR AL,1 MOV CR0, EAX" on some computers.

2004-07-16 Thread breath
Hi. I need some help. I think you'll be interested. I develop a little OS
that will boot from floppy. It's still under construction and has about
five thousand lines of assembly source now. I use Bochs emulator to debug
it and after that I test it on my real computer. I have all working
correctly on my compter. But I started to test it around other machines
recently and encountered a problem I can't solve. But I'm sure there are
lot of minds in FreeBSD world who know how to help me. I can't figure out
what happens because on my computer I get all things well, but I can't
conduct test of this kind on other computers.
Here is the problem. My OS's boot loader (after loading the main module)
switches CPU to very limited protected mode and jumps to module's entry
point. After it, main module reloads all tables like GDT etc to make a
good free environment for initialization and further running. Shortly: ON
SOME COMPUTERS (MAYBE CPUS) I GET REBOOTING JUST ON 'JMP' INSTRUCTION
AFTER PE BIT IS ENABLED. I've got no reboots on all i386, i486, i586
computers that I tryed to boot from. I have a Pentium III Celeron
(Coppermine) 900MHz - no reboots. Also tested on some Pentium II 400MHz -
no reboots. But on other side Pentium IV (don't remember speed) gave me a
reboot. And other computer I was not able to see processor model (maybe
PentiumIV !?) gave me a reboot too. Using endless loop stop points I
figured out that reboot is before any instruction pointed by 'protected'
label and that reboot happens after setting the PE bit.
Here's very diminished boot sector code that reflects the error. It must
be compiled with nasm as a binary so that result will be a floppy disk
image file. Then it must be written to a floppy from scratch (from boot
sector). Created floppy is expected to be bootable disk.
Normal:
When you boot from the floppy you get something like black screen and
computer hangs up (but not reboots)
Abnormal:
When you boot from the floppy you get a screen splash and then back to
reboot POST procedure.
Here goes the code. PLEASE, even if you're not interested in this
'puzzle':( MAKE AND TEST IT ON YOUR COMPUTER. EMAIL ME RESULTS AND
COMPUTER MODEL.
It was HARD work to make this OS. I believe that some people understand me
and will give me a clue. From my side I'll show them the full version.
;-
; Compile: %nasm thisfile.asm -o fd
; Insert a floppy
; Write (as root): #dd if=fd of=/dev/fd0
org 0x7C00  ; Expecting to be loaded at 7C00 by BIOS
bits 16
real:
cli
xor ax, ax
mov ss, ax
mov sp, 0x7C00  ; Temp stack just under myself
callreal_open_A20   ; For 32 bit address space
callreal_init_gdt   ; Load GDTR
mov eax, cr0
or  al, 0x1 ; cr0 |= PE
mov cr0, eax
; If I place 'jmp $' here all computers stop here normally
jmp 0x10: protected
real_open_A20:
.l1:in al, 0x64
test al, 0x2
jnz .l1
mov al, 0xD1
out 0x64, al
.l2:in al, 0x64
test al, 0x2
jnz .l2
mov al, 0xDF
out 0x60, al
ret
real_init_gdt:
lgdt[.gdtr]
ret
.gdt0   dw  0x, 0x, 0x, 0x
.data   dw  0x, 0x, 0x9200, 0x00CF
.code   dw  0x, 0x, 0x9800, 0x00CF
.gdtr   dw  $ - .gdt0 - 1
dd  .gdt0
bits 32
protected:
; Wherever I place 'jmp $' after the 'protected' label,
; on some computers I get reboot to hell.
; (In that case CS:IP is never points to 'jmp $'
; - something happens before)
mov ax, 0x8
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
mov esp, 0x7C00
jmp $
times 512 - 2 - ($ - $$) db 0   ; Fill the rest of sector
dw 0xAA55   ; Bootable sector sign
times 1474560 - ($ - $$) db 0   ; Fill the rest of floppy
;-
Best regards,
Yuri Grebenkin
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anjuta and libtools problem

2004-07-16 Thread Henrik W Lund
Radu MOLNAR wrote:

>
I also have the same problem that you say you found the solution to 
but i dont know how to pass the cpu-manufacturer-os-kernel argument to 
the configure script. I get the error that you mentioned in your 
script when i try to create a project. So at that stage how come there 
exists a configure script? And also you said autogen.sh creates the 
configure script. Isn't that file (autogen.sh) also created only then, 
when i create the project? I dont know much (about anything) about the 
auto* stuff so that's why my questions could be really stupid. I would 
also want to configure everything from the gui if possible to make it 
as painless as possible if you know how.

Thanks
Radu
-Henrik W Lund

Greetings!
I don't know where the autogen.sh script comes from, but it is this 
script that Anjuta executes in order to pull in stuff like libtool, 
ltconfig, aclocal and the like. This script then runs autoconf (having 
first copied it into the project directory), generating the familiar 
./configure.

In order to not have the configure script fail with a libtool error 
regarding the --no-verify flag, you need to pass it 
`--target=cpu-manufacturer-os-kernel' (I don't know why the --target 
argument to ./configure is passed as the host variable to ltconfig. It's 
just one of those quirks, I guess). The most painless way of doing this 
entirely via the gui, I found to be the following procedure:

Make new project - watch autogen.sh fail once. Go to the menu bar and 
look for a menu entry that says "Configure args" (I think it's in the 
Project menu. If not, try the Build menu. It's been a while since I used 
Anjuta). In the entry box that pops up, enter 
`--target=cpu-manufacturer-os-kernel' and press ok. To find out what 
cpu-manufacturer-os-kernel that's right for you, check out the log from 
the initial run of ./configure. It's on a line going something like 
"Determining host type...".

This is what's weird... It does find it out, it just never puts it in a 
variable where ltconfig can find it! This doesn't really have anything 
to do with Anjuta, it's the whole autoconf process. Like I said, Anjuta 
doesn't even need to be running (as it's just an abstraction of good 
old-fashioned command line work).

Hope this helps!
-Henrik W Lund
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


4.x Installation failure - White Stripes on initial boot.

2004-07-16 Thread Ron McCy
 Computer: SpaceWalker-Pentium III.800mHz, 256MB, 20GB
 hd running FreeBSD 4.8 as the only operating system.
 Goal: Non graphical work stattion - possible Samba
 server.
After an minimal installation the system "freezes"
shortly after passing the boot manager and the monitor
shows several long, white vertical stripes that
resemble bar codes. The system is unresponsive and has
to be forced to cold boot.  I was trying to install 4.8
or 4.9 but multiple reloads all produce the same
result.  Before it was a Win2000 box I had FreeBSD 4.4
on it briefly but I don't have those disks anymore.
It's as if BSD has some major problem with the
hardware, but everything 'installs' without complaint.
SuSe Linux was just loaded and it seems to be happy. I
do have output from its dmesg in hopes that there is
some detailed info about the hardware there.
Any ideas about where to start?
Thanks.

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


Re: using NDIS

2004-07-16 Thread Daniela
On Friday 16 July 2004 14:48, Jason Dusek wrote:
> I built the ndisulator last night and it appears to work:
>
>ndis0:  mem
> 0xfafee000-0xfafe irq 11 at device 3.0 on pci2
>ndis0: [GIANT-LOCKED]
>can't re-use a leaf (Country)!
>can't re-use a leaf (Channel)!
>ndis0: NDIS API version: 5.0
>ndis0: Ethernet address: 00:90:96:b9:95:64
>ndis0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>ndis0: 11g rates: 6Mbps 9Mbps 12Mbps 18Mbps 36Mbps 48Mbps 54Mbps

Did you get these messages on boot?

> So how do I use my wireless card? Is there some command that I run to turn
> it on and off? I have tried searching the lists, and I've gone to the NDIS
> web site on sourceforge, but it seems that other people's questions focus
> on getting the ndisulator to compile. I am completely clueless here, so any
> help would be greatly appreciated.

What's the output of `ifconfig ndis0`? If the interface is marked down, you 
can try `ifconfig ndis0 up` to get it running. Does it have an IP yet?

Daniela


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


FreeBSD Hosting

2004-07-16 Thread Joseph Koenig
Hi,

I'm sure this question comes up, but I am looking at switching hosting
companies and am considering going with a dedicated server or co-locating
some servers somewhere. Regardless of which way I go, I want to make sure
the hosting facility has technicians who have experience with FreeBSD, in
especially with jails. If I go with a co-location set-up, I'd like to find
somewhere that will manage security patches, OS updates, etc - whether it is
through the hosting facility or through a 3rd party consultant. We are a
small firm and do not have the time to effectively manage all aspects of the
system, yet we are more than capable of handling the day-to-day basics of
the system (installing software, supporting web, db, and e-mail, etc). I'd
appreciate any recommendations anyone has on hosting facilities /
consultants that would be able to effectively handle these issues for us.
Thank you,

Joe Koenig
Production Manager
jWeb New Media Design
[EMAIL PROTECTED]
http://www.jwebmedia.com/
636.928.3162 

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


floppy drive not configured

2004-07-16 Thread Aggelos
I just intalled freebsd 5.2.1-RELEASE, and cannot access my floppy disk 
drive, as you can see from attached dmesg.
(fdc0: cannot reserve I/O port range...)
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a35000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a351f4.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x383f9ff
real memory  = 335478784 (319 MB)
avail memory = 316243968 (301 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
acpi0:  on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdef0
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
ACPI-1287: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 
0xc33e8d60), AE_AML_UNINITIALIZED_LOCAL
ACPI-0175: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.FDC0._CRS] (Node 
0xc33e8d60), AE_AML_UNINITIALIZED_LOCAL
can't fetch resources for \\_SB_.PCI0.ISA_.FDC0 - AE_AML_UNINITIALIZED_LOCAL
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
acpi_cpu0:  on acpi0
acpi_tz0:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib0: slot 7 INTD is routed to irq 10
pcib0: slot 11 INTA is routed to irq 11
pcib0: slot 19 INTA is routed to irq 11
pcib0: slot 19 INTB is routed to irq 11
agp0:  mem 0xd000-0xd3ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pcib0: slot 1 INTA is routed to irq 9
pcib1: slot 0 INTA is routed to irq 9
pci1:  at device 0.0 (no driver attached)
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0xd000-0xd01f irq 10 at device 
7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0:  at device 7.3 (no driver attached)
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xd900-0xd97f 
irq 11 at device 11.0 on pci0
xl0: Ethernet address: 00:10:4b:45:63:b8
miibus0:  on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
atapci1:  port 
0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xd800 on atapci1
ata2: [MPSAFE]
atapci2:  port 
0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 11 at device 19.1 on pci0
atapci2: [MPSAFE]
ata3: at 0xe400 on atapci2
ata3: [MPSAFE]
fdc0: cannot reserve I/O port range (1 ports)
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0: cannot reserve I/O port range (1 ports)
orm0:  at iomem 0xd-0xd17ff,0xc-0xc on isa0
pmtimer0 on isa0
fdc0: cannot reserve I/O port range (6 ports)
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounter "TSC" frequency 451024533 Hz quality 800
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 2 steps (100% to 50.0%), currently 100.0%
GEOM: create disk ad0 dp=0xc34c8a60
ad0: 4121MB  [8374/16/63] at ata0-master UDMA33
GEOM: create disk ad1 dp=0xc34c8760
ad1: 3079MB  [6256/16/63] at ata0-slave UDMA33
acd0: CDROM  at ata1-master PIO4
GEOM: create disk ad4 dp=0xc3444c60
ad4: 19092MB  [38792/16/63] at ata2-master UDMA66
GEOM: create disk ad6 dp=0xc34dcc60
ad6: 8063MB  [16383/16/63] at ata3-master UDMA66
Mounting root from ufs:/dev/ad1s1a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD Hosting

2004-07-16 Thread Bill Moran
Joseph Koenig <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm sure this question comes up, but I am looking at switching hosting
> companies and am considering going with a dedicated server or co-locating
> some servers somewhere. Regardless of which way I go, I want to make sure
> the hosting facility has technicians who have experience with FreeBSD, in
> especially with jails. If I go with a co-location set-up, I'd like to find
> somewhere that will manage security patches, OS updates, etc - whether it is
> through the hosting facility or through a 3rd party consultant. We are a
> small firm and do not have the time to effectively manage all aspects of the
> system, yet we are more than capable of handling the day-to-day basics of
> the system (installing software, supporting web, db, and e-mail, etc). I'd
> appreciate any recommendations anyone has on hosting facilities /
> consultants that would be able to effectively handle these issues for us.
> Thank you,

I have experience maintaining FreeBSD/jail systems for a local ISP in the
Pittsburgh area as well as other clients in other areas.  We do not do
provide hosting at this time, but I can recommend a few different providers
in the Pittsburgh area, or I am willing to work with providers elsewhere.

Let me know if you're interested or want more information.

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


Re: floppy drive not configured

2004-07-16 Thread Aggelos
Aggelos wrote:
I just intalled freebsd 5.2.1-RELEASE, and cannot access my floppy disk 
drive, as you can see from attached dmesg.
(fdc0: cannot reserve I/O port range...)


I just realised that booting with ACPI disabled the floppy drive is 
properly configured.
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc09e3000.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium III/Pentium III Xeon/Celeron (451.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  
Features=0x383f9ff
real memory  = 335478784 (319 MB)
avail memory = 316252160 (301 MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00fdef0
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci_cfgintr: 0:7 INTD BIOS irq 10
pci_cfgintr: 0:11 INTA BIOS irq 11
pci_cfgintr: 0:19 INTA BIOS irq 11
pci_cfgintr: 0:19 INTB BIOS irq 11
agp0:  mem 0xd000-0xd3ff at device 
0.0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
pci1:  at device 0.0 (no driver attached)
isab0:  at device 7.0 on pci0
isa0:  on isab0
atapci0:  port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0:  port 0xd000-0xd01f irq 10 at device 
7.2 on pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
piix0:  port 0x5000-0x500f at device 7.3 on pci0
Timecounter "PIIX" frequency 3579545 Hz quality 0
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0-0x7f irq 11 at device 11.0 on pci0
xl0: reset didn't complete
xl0: command never completed!
xl0: command never completed!
xl0: eeprom failed to come ready
xl0: failed to read station address
device_probe_and_attach: xl0 attach returned 6
atapci1:  port 
0xe000-0xe0ff,0xdc00-0xdc03,0xd800-0xd807 irq 11 at device 19.0 on pci0
atapci1: [MPSAFE]
ata2: at 0xd800 on atapci1
ata2: [MPSAFE]
atapci2:  port 
0xec00-0xecff,0xe800-0xe803,0xe400-0xe407 irq 11 at device 19.1 on pci0
atapci2: [MPSAFE]
ata3: at 0xe400 on atapci2
ata3: [MPSAFE]
orm0:  at iomem 0xd-0xd17ff,0xc-0xc on isa0
pmtimer0 on isa0
atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
fdc0:  at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0:  on ppc0
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (irq)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
unknown:  can't assign resources (port)
Timecounter "TSC" frequency 451024601 Hz quality 800
Timecounters tick every 10.000 msec
GEOM: create disk ad0 dp=0xc341d860
ad0: 4121MB  [8374/16/63] at ata0-master UDMA33
GEOM: create disk ad1 dp=0xc34b3b60
ad1: 3079MB  [6256/16/63] at ata0-slave UDMA33
acd0: CDROM  at ata1-master PIO4
GEOM: create disk ad4 dp=0xc34b3160
ad4: 19092MB  [38792/16/63] at ata2-master UDMA66
GEOM: create disk ad6 dp=0xc341e760
ad6: 8063MB  [16383/16/63] at ata3-master UDMA66
Mounting root from ufs:/dev/ad1s1a
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Reboots after "OR AL,1 MOV CR0, EAX" on some computers.

2004-07-16 Thread Sergey Zaharchenko
On Fri, Jul 16, 2004 at 12:32:24AM +0400,
 breath probably wrote:

> Normal:
> When you boot from the floppy you get something like black screen and
> computer hangs up (but not reboots)
> 
> Abnormal:
> When you boot from the floppy you get a screen splash and then back to
> reboot POST procedure.

Heh. The only thing I can think of right now is an interrupt not masked
by the cli you issued. You could try inserting a `mov ss, something'
just before the jump. This will prevent any processor from doing any
interrupts, as the immediately next instruction should be `mov sp,
something' (it was documented somewhere). Like

>   mov eax, cr0
>   or  al, 0x1 ; cr0 |= PE

mov dx, 0x8

>   mov cr0, eax

mov ss, dx

>   jmp 0x10: protected



> .gdt0 dw  0x, 0x, 0x, 0x
> .data dw  0x, 0x, 0x9200, 0x00CF
> .code dw  0x, 0x, 0x9800, 0x00CF
> .gdtr dw  $ - .gdt0 - 1

And why `-1'?

>   dd  .gdt0

You could also try adding CPUID's between all instructions for
synchronization, in case it's that kind of issue.

> Here goes the code. PLEASE, even if you're not interested in this
> 'puzzle':( MAKE AND TEST IT ON YOUR COMPUTER. EMAIL ME RESULTS AND
> COMPUTER MODEL.

As soon as I have access to the 'puter with nasm, maybe.

P.S. Does booting DOS, and running a DOS-extended program succeed or
fail?

-- 
DoubleF
New York is real.  The rest is done with mirrors.


pgpl4lyIP4UZt.pgp
Description: PGP signature


Re: FreeBSD Hosting

2004-07-16 Thread Jon Drews
Hello Joseph:

 I don't know about the jails part but you might want to inquire with 
http://www.liquidneon.com/

I use them for hosting and they are very good. They are an all FreeBSD
hosting company.

On Fri, 16 Jul 2004 11:16:26 -0500, Joseph Koenig <[EMAIL PROTECTED]> wrote:
> Regardless of which way I go, I want to make sure
> the hosting facility has technicians who have experience with FreeBSD,
___
[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

2004-07-16 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 l

"The Complete FreeBSD": errata and addenda

2004-07-16 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]"


Re: KDE

2004-07-16 Thread Joshua Tinnin
On Friday 16 July 2004 03:44 am, "Teilhard Knight" <[EMAIL PROTECTED]> 
wrote:

> No, I didn't touch those files. Actually I guess I used the word "tweaking"
> in the wrong way. I only did things like selecting desktop mat, registering
> my root password, setting myself as a user, etc. (install didn't do it in
> the end).

Wait ... did you use the KDE program KUser to deal with users? (It's also in 
the KDE control center under User Account.) I used that once, and it deleted 
the root user. I didn't know this was the cause until I did some searching. 
Turns out some other people have had similar problems, and the recommendation 
is: don't use KUser for user management in FreeBSD. It breaks it. The good 
news is there is an easy fix (just do a search on freebsd+kuser), but the bad 
news is it only fixes the problems it causes but doesn't prevent KUser from 
messing up the user info again. This is probably less helpful to you now that 
you're back up and running, but if you used KUser (or even if not), then 
definitely remember this. This has been an issue for some time, though 
supposedly it's fixed in later KDE versions after 3.1.4. Can't remember off 
the top of my head if I were using a 3.1.4 or earlier KDE version at the time 
(it was a new install without any port upgrades), but I'm not going near it 
again until I have a good look at it, and even then, it's easier for me to 
use FreeBSD's user management.

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


pthread

2004-07-16 Thread aaron
If I compile a program with -pthread should the program show links to 
both libc and libc_r in the output of ldd? In 5.x shows link for both. 
In 4.x only shows a link for libc_r.
-Aaron Myles Landwehr
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anjuta and libtools problem

2004-07-16 Thread Chuck Swiger
Christian Schüler wrote:
thanks, I did cvsup the ports collection, then the make command builds
Anjuta 1.2.2_1.
OK, this is more reasonable.
I just did a fresh install of FreeBSD 5.2.1 from FTP a week ago, so I never
dreamt of anything being out of date form this install. Why do I have to
cvsup the ports collection?
The ports collection changes over time.
If you don't update it, you will install software which is out-of-date. 
Normally, that's OK, but you're the one who wanted to get the lastest version 
of "anjuta", yes?

With particular relevance to your situation, the committers refrain from 
making major changes to the ports tree during the last stages of creating a 
release to ensure stability, which is known as the "ports freeze".  So the 
ports tree is already a little outdated on any release image, even if you use 
it the day the ISO becomes available.

In other words, your 5.2.1 CD has a ports tree that's probably five months old 
by now

Anyway, Anjuta builds, but the libtools problem remains the same :-(
I cannot create a default project.
This, I know nothing about.  :-)
libtool struck me as a bad idea from the start, and I haven't seen many signs 
that it is any less subject to backwards-incompatible changes than the vendor 
supplied compiler toolchains that libtool was supposed to work around in some 
better & platform-independent fashion.  But I digress, and someone else who 
uses anjuta could provide better assistance from here, probably

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


Re: need help with UTF-8 !

2004-07-16 Thread Chuck Swiger
Sebastian Kutsch wrote:
My primary goal is to use filenames with none ASCII-characters like
german umlauts or kyrillic-characters.
You might want to use a Mac and it's HFS+ filesystem instead: that platform 
handles foreign-language filenames significantly better than I've seen any 
Unix using UFS do.

I have installed the utf8local port, set the environment variable
"LC_CTYPE=de_DE.UTF-8" in ~/.login for each user (including root) and
use the sysconsolefont "iso15-8x16".
This works fine for german umlauts when using the console only. But I
get problems when using somthing like samba or rox-filer. I think they
use libiconv, because using iconve to encode none-ASCII-characters from
ISO_8859-15 to UTF-8 on the console I get the same glibberish as using
samba (with a samba client like xsmbrows or windows) or konqueror or
rox-filer...
Dunno.  How does Samba handle the mapping for Windows-style case-insensitive 
filenames when using foreign language codesets?  I suspect there are going to 
be some pretty wacky issues there.  The notion that there are capital letters 
which don't have a lowercase letter has broken an entire generation of tr 
scripts, for example.  :-)

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


FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
OK - I have taken everyone's advice and made some
changes to my  rc.conf.  Things have improved ...

All my computers can ping each other!  BUT I can only
connect to the internet from the FreeBSD server.  All
requests made by the WinXP machines go unanswered!! 
Yet when I ping from them, they can connect to any
computer on the network BUT CANNOT ping OUTSIDE the
network nor fetch any information outside this
network.  

Any ideas why my FreeBSD machine is not routing these
requests and putting up a road block?

RC.CONF

font8x14="NO"
font8x16="swiss-8x16"
font8x8="swiss-8x8"
inetd_enable="YES"
linux_enable="YES"
moused_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
nfs_client_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
saver="rain"
scrnmap="NO"
usbd_enable="YES"
ifconfig_vr0="DHCP"
ifconfig_ed0="DHCP"

##initialise NIC
network_interfaces="vr0 ed0 lo0 tun0"
ifconfig tun0

#ifconfig vr0= "media 10baseT/UTP up"
#ifconfig_ed0="inet 192.168.0.3  netmask 255.255.0.0"

#Changes as suggested:
ifconfig_ed0="inet 192.168.1.1/24"
ifconfig_vr0="inet 192.168.0.1/24 media 10baseT/UTP
up"

#ifconfig_vr0="inet 192.168.0.1  netmask 255.255.0.0"

hostname="my.server.com"

##User ppp configuration
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="bellnet"
#ppp_user="root"


## Firewall
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
#firewall_quiet="NO"
firewall_script="/etc/rc/firewall"
natd_enable="YES"
natd_interface="vr0"
natd_flags="redirect_port tcp 192.168.1.1:80 80"
rpc_statd_enable="YES"
tcp_extensions="YES"

## Mail
sendmail_enable="YES"




__
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


How to send attached files on sendmail with mail tool?

2004-07-16 Thread Carla Neves
Hi Dear all,
I'm doing some scripts to automaticly deliver to some email accounts 
Unix system printouts. I'm using sendmail on Freebsd 4.9 and the mail 
tool to send my emails. What I would like to know is: is it possible 
to send emails with files attached using the sendmail and the mail 
tool? Which syntax should I aply to send an attached file in the 
message?

I would appreciate your help.

P.S: I' using this syntax so far for sending emails

mail -s "Automatic Message" [EMAIL PROTECTED] 

Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread Chuck Swiger
freebsder wrote:
Any ideas why my FreeBSD machine is not routing these
requests and putting up a road block?
[ ... ]
firewall_type="OPEN"
#firewall_quiet="NO"
firewall_script="/etc/rc/firewall"
natd_enable="YES"
There's likely to be a problem with /etc/rc/firewall, assuming that even 
exists.  Does "ipfw -a list" show a divert rule to natd?

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


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
Hi Chuck, 

This is what I get:

# ipfw -a list
00100 49820 12066079 allow ip from any to any
00100 00 allow tcp from any to any
65535 2   96 deny ip from any to any

The Second and Third lines don't seem right..  What do
I need to do correct the problem here.

The Firewall Type is set to OPEN - doesn't that mean
that it would not really matter how the firewall
issetup.  (btw, please excuse my overt ignorance.)  I
had it set to SIMPLE before and made some changes to
the firewall file but it was not working so I just set
it at OPEN and was able to access the internet. 
Although now this may pose a problem with this
network.  Please advise.  I can send you a copy of my
existing firewall file if needed ...

Thanks as always 

freebsder wrote:
> Any ideas why my FreeBSD machine is not routing
these
> requests and putting up a road block?
[ ... ]
>   firewall_type="OPEN"
>   #firewall_quiet="NO"
>   firewall_script="/etc/rc/firewall"
>   natd_enable="YES"

There's likely to be a problem with /etc/rc/firewall,
assuming that 
even 
exists.  Does "ipfw -a list" show a divert rule to
natd?

-- 
-Chuck







__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


RE: problem while installing FreeBSD

2004-07-16 Thread Bawan
I deleted the partition and made 1.5Gb of DOS partition. I made two floppy
disks as per the instruction. When installing, it read first floppy and ask
for second and After that I get kernel configuration menu, I treid "skip
kernel" other "configure kernel in visual mode". After "save" option, it
says rebooting...and after reboot, I don't get Sysconfig menu. When I remove
disk, it boots to dos and when I reboot without removing disk, it says 

>>FreeBSD/i386 BOOT
Default:0:fd(0,a)/kernel
Boot:

I don't what to do after this. I am windows guy and this is my first FreeBSD
installation.
Its kind of frustration for me now. Please help. Do I have to format the dos
partition without loading OS on it or what.
Thanks. 

-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 1:38 PM
To: Bawan
Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
Subject: Re: problem while installing FreeBSD

> 
> It's the same problem when I remove CD. Does it make sense: I am
installing
> on the machine which already have Windows 2003 server, and file system
NTFS.
> I thought FreeBSD may take care of this file system or it may allow me to
do
> partition while installing. Thanks. 

Oh.  Did you use something to resize the disk slices before you started
the install?FreeBSD will only install [correctly] into empty space
on the disk or wipe out everything and install over the top of the
whole thing.It will not resize the NTFS slice for you.

If you want to install FreeBSD on the machine as a dual-boot system
and keep the preinstalled Win2k stuff running, then you need to
shrink the NTFS down to make room for FreeBSD.

A disk can have up to 4 primary slices (which MS calls 'partitions', by
the way) that are numbered 1..4.   Generally if you buy a machine and 
it has something MS preinstalled on it, that MS stuff takes all of the 
disk and makes it one slice, leaving 3 logically to work with, but no
room for them.   

If the system was from some vendor like Dell, they might have also put a 
slice with their own diagnostics on the machine, thus using two slices 
and leaving only 2 slices that can be created.  The diagnostic slice 
usually is very small and MS takes the rest of the disk. 

Now, if you want to add FreeBSD and still keep the MS (and possibly the
diagnostic) slice[s] you need to shrink the MS slice to make room to
create another slice, using one of the remaining slice numbers. (The
diagnostic slice would be to small to bother with and should just be
left alone)

If you need to shrink the NTFS slice, then you need something like
Partition Magic which is put out by Power Quest to do that before
you start with the FreeBSD installation.   If it was a FAT or FAT32
slice, there are some free utilities that can be used, but the last
I knew, they would not safely handle NTFS.   Partition Magic seems
to be the most readily available one that can handle shrinking NTFS.
It is not free, but is pretty cheap.  You can usually find it at
such places as Best Buy and Circuit City in the USA and by some 
online stores.  The price was about $69 US.

When you get it, 
 - take the CD and make the two floppies according to
   the instructions.  Forget trying to use it by installing it.
 - Then boot from the floppies.
 - Look around until you are familiar and clear what you already 
   have on disk.
 - Shrink the NTFS slice from the top - eg don't try to make room
   before it, make it at the end of the NTFS slice.
 - Have Partition Magic complete its pending operations - just quit
   and say yes to its questions about completing them.
 - Boot up again from the floppies.
 - Create a new primary slice out of the new empty space and make
   it an unspecified (unknown) type (or maybe FAT32 might also be OK).
   but don't make it any kind of extended slice or other MS sort of
   thing.
 - Again make it complete pending operations.
 - At this time you should be able to install FreeBSD in the newly 
   created slice.   When you do, make sure that is what you select
   and not the 'use the whole disk' option.   It will be slice 2 if
   there is only MS already on the disk and slice 3 if there is both
   a diagnostic slice and an MS slice.   If you also have Linux or
   something else there as well, it might be slice 4.   If there are
   already 4 slices being used on the disk, you can't do it without
   getting rid of something first.
 - During the part in the FreeBSD install where you choose the slice
   and create it, first you should might want to tell it to delete
   the new slice and then create it again - it will use only the empty 
   space.   You shouldn't have to do this I don't think, but I have 
   had trouble in the past if I just tried to accept the slice as it
   was created by Partition Magic without having FreeBSD do it too.
   Then, make sure you tell it to make the slice bootable by selecting
   that slice and choosing that option.

After all this, then you go on to make UNIX partitions withi

RE: problem while installing FreeBSD

2004-07-16 Thread Michael Clark
You will actually need "volume magic" instead of partition magic I believe.
Unless the product has changed partition magic will not work with the server
OS's from Microsoft.

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


> -Original Message-
> From: Bawan [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 5:17 PM
> To: 'Jerry McAllister'
> Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
> Subject: RE: problem while installing FreeBSD
> 
> 
> I deleted the partition and made 1.5Gb of DOS partition. I 
> made two floppy
> disks as per the instruction. When installing, it read first 
> floppy and ask
> for second and After that I get kernel configuration menu, I 
> treid "skip
> kernel" other "configure kernel in visual mode". After "save" 
> option, it
> says rebooting...and after reboot, I don't get Sysconfig 
> menu. When I remove
> disk, it boots to dos and when I reboot without removing 
> disk, it says 
> 
> >>FreeBSD/i386 BOOT
> Default:0:fd(0,a)/kernel
> Boot:
> 
> I don't what to do after this. I am windows guy and this is 
> my first FreeBSD
> installation.
> Its kind of frustration for me now. Please help. Do I have to 
> format the dos
> partition without loading OS on it or what.
> Thanks. 
> 
> -Original Message-
> From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 15, 2004 1:38 PM
> To: Bawan
> Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
> Subject: Re: problem while installing FreeBSD
> 
> > 
> > It's the same problem when I remove CD. Does it make sense: I am
> installing
> > on the machine which already have Windows 2003 server, and 
> file system
> NTFS.
> > I thought FreeBSD may take care of this file system or it 
> may allow me to
> do
> > partition while installing. Thanks. 
> 
> Oh.  Did you use something to resize the disk slices before 
> you started
> the install?FreeBSD will only install [correctly] into empty space
> on the disk or wipe out everything and install over the top of the
> whole thing.It will not resize the NTFS slice for you.
> 
> If you want to install FreeBSD on the machine as a dual-boot system
> and keep the preinstalled Win2k stuff running, then you need to
> shrink the NTFS down to make room for FreeBSD.
> 
> A disk can have up to 4 primary slices (which MS calls 
> 'partitions', by
> the way) that are numbered 1..4.   Generally if you buy a machine and 
> it has something MS preinstalled on it, that MS stuff takes 
> all of the 
> disk and makes it one slice, leaving 3 logically to work with, but no
> room for them.   
> 
> If the system was from some vendor like Dell, they might have 
> also put a 
> slice with their own diagnostics on the machine, thus using 
> two slices 
> and leaving only 2 slices that can be created.  The diagnostic slice 
> usually is very small and MS takes the rest of the disk. 
> 
> Now, if you want to add FreeBSD and still keep the MS (and 
> possibly the
> diagnostic) slice[s] you need to shrink the MS slice to make room to
> create another slice, using one of the remaining slice numbers. (The
> diagnostic slice would be to small to bother with and should just be
> left alone)
> 
> If you need to shrink the NTFS slice, then you need something like
> Partition Magic which is put out by Power Quest to do that before
> you start with the FreeBSD installation.   If it was a FAT or FAT32
> slice, there are some free utilities that can be used, but the last
> I knew, they would not safely handle NTFS.   Partition Magic seems
> to be the most readily available one that can handle shrinking NTFS.
> It is not free, but is pretty cheap.  You can usually find it at
> such places as Best Buy and Circuit City in the USA and by some 
> online stores.  The price was about $69 US.
> 
> When you get it, 
>  - take the CD and make the two floppies according to
>the instructions.  Forget trying to use it by installing it.
>  - Then boot from the floppies.
>  - Look around until you are familiar and clear what you already 
>have on disk.
>  - Shrink the NTFS slice from the top - eg don't try to make room
>before it, make it at the end of the NTFS slice.
>  - Have Partition Magic complete its pending operations - just quit
>and say yes to its questions about completing them.
>  - Boot up again from the floppies.
>  - Create a new primary slice out of the new empty space and make
>it an unspecified (unknown) type (or maybe FAT32 might also be OK).
>but don't make it any kind of extended slice or other MS sort of
>thing.
>  - Again make it complete pending operations.
>  - At this time you should be able to install FreeBSD in the newly 
>created slice.   When you do, make sure that is what you select
>and not the 'use the whole disk' option.   It will be slice 2 if
>there is only MS already on the disk and slice 3 if there is both
>a diagnostic slice and an MS slice.   If yo

hi res logo ?

2004-07-16 Thread Jon Barnard
Hello,
 Is a hi resolution logo available of the FreeBSD (with tagline, Daemon 
and yellow behind text? GIFS are just too small.
Many THX.

Best regards,
Jon Barnard
Marketing Communications Manager
PFU Systems, Inc. a Fujitsu company
1331 Lawrence Expressway, Suite 200
Santa Clara, CA 95051-3501
Tel (408) 236-3034
Fax (408) 236-3099
Cel 510.908.2093
Email: [EMAIL PROTECTED]
PFUsystems.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


rc script fails to start on boot

2004-07-16 Thread Paul Schmehl
I've written a very simple rc script, using the new format, to control a 
process.  The script works fine from the commandline. 
(start|stop|restart|rcvar|status|etc all work fine.)  But the script fails 
to start up the process on reboot.

I've googled til I'm blue in the face, but I can't figure out what is wrong 
with the script.  I'm sure it's something simple that I've overlooked, so 
I'm hoping putting more eyes on the problem will solve it quickly.

Here's the script, without any of the comments:
bash-2.05b# grep -v "#" /usr/local/etc/rc.d/extractor.sh
#!/bin/sh
# $Id$
# PROVIDE: extractor
# BEFORE:  LOGIN
# KEYWORD: FreeBSD
. /usr/local/etc/rc.subr
name="extractor"
rcvar=`set_rcvar`
command="/usr/local/bin/${name}"
load_rc_config $name
run_rc_command "$1"
Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/ir/security/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: problem while installing FreeBSD

2004-07-16 Thread Jerry McAllister
> 
> You will actually need "volume magic" instead of partition magic I believe.
> Unless the product has changed partition magic will not work with the server
> OS's from Microsoft.

I used it with Win 2000 and XP-pro, but not win 2003.
I had no problems with those two.   But, I had to make the PM boot 
floppies as it tells in the PM instructions.  I made those under Win 2K
and they worked fine for both and to look at another machine delievered
with no OS on it.

I haven't heard of "Vo.ume Magic".

jerry

> 
> Michael Clark
> Nemschoff Chairs Inc
> mclark at nemschoff dot com
> CompTIA A+, Network+, Server+, MCP
> Voice: (920) 457 7726 x294
> Fax:  (920) 453 6594
> 
> 
> > -Original Message-
> > From: Bawan [mailto:[EMAIL PROTECTED]
> > Sent: Friday, July 16, 2004 5:17 PM
> > To: 'Jerry McAllister'
> > Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
> > Subject: RE: problem while installing FreeBSD
> > 
> > 
> > I deleted the partition and made 1.5Gb of DOS partition. I 
> > made two floppy
> > disks as per the instruction. When installing, it read first 
> > floppy and ask
> > for second and After that I get kernel configuration menu, I 
> > treid "skip
> > kernel" other "configure kernel in visual mode". After "save" 
> > option, it
> > says rebooting...and after reboot, I don't get Sysconfig 
> > menu. When I remove
> > disk, it boots to dos and when I reboot without removing 
> > disk, it says 
> > 
> > >>FreeBSD/i386 BOOT
> > Default:0:fd(0,a)/kernel
> > Boot:
> > 
> > I don't what to do after this. I am windows guy and this is 
> > my first FreeBSD
> > installation.
> > Its kind of frustration for me now. Please help. Do I have to 
> > format the dos
> > partition without loading OS on it or what.
> > Thanks. 
> > 
> > -Original Message-
> > From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
> > Sent: Thursday, July 15, 2004 1:38 PM
> > To: Bawan
> > Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
> > Subject: Re: problem while installing FreeBSD
> > 
> > > 
> > > It's the same problem when I remove CD. Does it make sense: I am
> > installing
> > > on the machine which already have Windows 2003 server, and 
> > file system
> > NTFS.
> > > I thought FreeBSD may take care of this file system or it 
> > may allow me to
> > do
> > > partition while installing. Thanks. 
> > 
> > Oh.  Did you use something to resize the disk slices before 
> > you started
> > the install?FreeBSD will only install [correctly] into empty space
> > on the disk or wipe out everything and install over the top of the
> > whole thing.It will not resize the NTFS slice for you.
> > 
> > If you want to install FreeBSD on the machine as a dual-boot system
> > and keep the preinstalled Win2k stuff running, then you need to
> > shrink the NTFS down to make room for FreeBSD.
> > 
> > A disk can have up to 4 primary slices (which MS calls 
> > 'partitions', by
> > the way) that are numbered 1..4.   Generally if you buy a machine and 
> > it has something MS preinstalled on it, that MS stuff takes 
> > all of the 
> > disk and makes it one slice, leaving 3 logically to work with, but no
> > room for them.   
> > 
> > If the system was from some vendor like Dell, they might have 
> > also put a 
> > slice with their own diagnostics on the machine, thus using 
> > two slices 
> > and leaving only 2 slices that can be created.  The diagnostic slice 
> > usually is very small and MS takes the rest of the disk. 
> > 
> > Now, if you want to add FreeBSD and still keep the MS (and 
> > possibly the
> > diagnostic) slice[s] you need to shrink the MS slice to make room to
> > create another slice, using one of the remaining slice numbers. (The
> > diagnostic slice would be to small to bother with and should just be
> > left alone)
> > 
> > If you need to shrink the NTFS slice, then you need something like
> > Partition Magic which is put out by Power Quest to do that before
> > you start with the FreeBSD installation.   If it was a FAT or FAT32
> > slice, there are some free utilities that can be used, but the last
> > I knew, they would not safely handle NTFS.   Partition Magic seems
> > to be the most readily available one that can handle shrinking NTFS.
> > It is not free, but is pretty cheap.  You can usually find it at
> > such places as Best Buy and Circuit City in the USA and by some 
> > online stores.  The price was about $69 US.
> > 
> > When you get it, 
> >  - take the CD and make the two floppies according to
> >the instructions.  Forget trying to use it by installing it.
> >  - Then boot from the floppies.
> >  - Look around until you are familiar and clear what you already 
> >have on disk.
> >  - Shrink the NTFS slice from the top - eg don't try to make room
> >before it, make it at the end of the NTFS slice.
> >  - Have Partition Magic complete its pending operations - just quit
> >and say yes to its questions about completing them.
> >  - Boot up again from the floppies.
> >  - Create a new primary sli

Re: 'su' problem

2004-07-16 Thread Jerry McAllister
> 
> > > su: Sorry.
> > Are you running it as root?  If so, you are probably mistyping something.
> > If you are not root and trying to su to root, then your id has to be
> > in the wheel group.
> 
> I run it as normal user, and only replies like this
> 
> $ su
> su: Sorry,
> $
> 
> What problem could be? I have freebsd 5.2.1

First, when you respond, make sure you cc the list and don't just
send a message back to an individual.   It lets others follow the
thread and possibly respond and it also gets responses in the archive.

The other thing I mentioned, and I think some else did to is that
you must be in the wheel group.   So, put yourself in the wheel
group and then try it.   If you are unable to do that - eg do not
have sufficient access to do it, then you aren't allowed to use su 
either.

Groups are in /etc/group

jerry

> 
> Thanx!
> 
> 

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


Re: problem while installing FreeBSD

2004-07-16 Thread Aaron Myles Landwehr
I've used Acronis Partition Expert on a ntfs(w2k3) partition and it 
worked just fine.

I'm not quite sure who this is directed as i missed the most of the 
post.(Just signed up to questions)
   -Aaron Myles Landwehr

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


Re: problem while installing FreeBSD

2004-07-16 Thread Jerry McAllister
> 
> I deleted the partition and made 1.5Gb of DOS partition. I made two floppy
> disks as per the instruction. When installing, it read first floppy and ask
> for second and After that I get kernel configuration menu, I treid "skip
> kernel" other "configure kernel in visual mode". After "save" option, it
> says rebooting...and after reboot, I don't get Sysconfig menu. When I remove
> disk, it boots to dos and when I reboot without removing disk, it says 
> 
> >>FreeBSD/i386 BOOT
> Default:0:fd(0,a)/kernel
> Boot:
> 
> I don't what to do after this. I am windows guy and this is my first FreeBSD
> installation.
> Its kind of frustration for me now. Please help. Do I have to format the dos
> partition without loading OS on it or what.
> Thanks. 

Well, I am having trouble visualizing what you are doing.  It doesn't 
sound like you used anything else to resize the DOS/NTFS slice (with
something like Partition Magic - there are other commercial utilities,
but I don't know of a free utility that properly handles NTFS) before
attempting the FreeBSD install.   If that is true, then nothing will
work.   

The only thing you have to do in the configure kernel section is make 
sure it has the devices you need and that none of them conflict with 
their interrupts and addressing.   If you only have PCI devices then
you can skip kernel config.

I don't know why it would immediately reboot.  It should back up a
screen and you choose the next thing.

jerry

> 
> -Original Message-
> From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, July 15, 2004 1:38 PM
> To: Bawan
> Cc: 'Steve Bertrand'; [EMAIL PROTECTED]
> Subject: Re: problem while installing FreeBSD
> 
> > 
> > It's the same problem when I remove CD. Does it make sense: I am
> installing
> > on the machine which already have Windows 2003 server, and file system
> NTFS.
> > I thought FreeBSD may take care of this file system or it may allow me to
> do
> > partition while installing. Thanks. 
> 
> Oh.  Did you use something to resize the disk slices before you started
> the install?FreeBSD will only install [correctly] into empty space
> on the disk or wipe out everything and install over the top of the
> whole thing.It will not resize the NTFS slice for you.
> 
> If you want to install FreeBSD on the machine as a dual-boot system
> and keep the preinstalled Win2k stuff running, then you need to
> shrink the NTFS down to make room for FreeBSD.
> 
> A disk can have up to 4 primary slices (which MS calls 'partitions', by
> the way) that are numbered 1..4.   Generally if you buy a machine and 
> it has something MS preinstalled on it, that MS stuff takes all of the 
> disk and makes it one slice, leaving 3 logically to work with, but no
> room for them.   
> 
> If the system was from some vendor like Dell, they might have also put a 
> slice with their own diagnostics on the machine, thus using two slices 
> and leaving only 2 slices that can be created.  The diagnostic slice 
> usually is very small and MS takes the rest of the disk. 
> 
> Now, if you want to add FreeBSD and still keep the MS (and possibly the
> diagnostic) slice[s] you need to shrink the MS slice to make room to
> create another slice, using one of the remaining slice numbers. (The
> diagnostic slice would be to small to bother with and should just be
> left alone)
> 
> If you need to shrink the NTFS slice, then you need something like
> Partition Magic which is put out by Power Quest to do that before
> you start with the FreeBSD installation.   If it was a FAT or FAT32
> slice, there are some free utilities that can be used, but the last
> I knew, they would not safely handle NTFS.   Partition Magic seems
> to be the most readily available one that can handle shrinking NTFS.
> It is not free, but is pretty cheap.  You can usually find it at
> such places as Best Buy and Circuit City in the USA and by some 
> online stores.  The price was about $69 US.
> 
> When you get it, 
>  - take the CD and make the two floppies according to
>the instructions.  Forget trying to use it by installing it.
>  - Then boot from the floppies.
>  - Look around until you are familiar and clear what you already 
>have on disk.
>  - Shrink the NTFS slice from the top - eg don't try to make room
>before it, make it at the end of the NTFS slice.
>  - Have Partition Magic complete its pending operations - just quit
>and say yes to its questions about completing them.
>  - Boot up again from the floppies.
>  - Create a new primary slice out of the new empty space and make
>it an unspecified (unknown) type (or maybe FAT32 might also be OK).
>but don't make it any kind of extended slice or other MS sort of
>thing.
>  - Again make it complete pending operations.
>  - At this time you should be able to install FreeBSD in the newly 
>created slice.   When you do, make sure that is what you select
>and not the 'use the whole disk' option.   It will be slice 2 i

Re: Tomcat Goes Its Own Way

2004-07-16 Thread Robert Helmer
On Fri, Jul 16, 2004 at 09:33:42AM -0500, Jason Dusek wrote:
> Hi,
> 
> I am having a weird problem with Tomcat:
> 
> If I go into the jsp examples and modify the .jspx files, my changes have 
> no effect on how they are executed! I can even delete them, it doesn't 
> matter - they run just as before. But deleting or modifying .html files in 
> the same directory has the expected effected. I have tried restarting 
> Tomcat, and I 've even rebooted my machine - it doesn't seem to make any 
> difference.
> 
> How is this happening? Does Tomcat keep redundant copies of the .jspx files 
> somewhere?

Tomcat keeps it's own copies in $TOMCAT_HOME/work/ of the .java
and .class files generated from the JSPs (JSPs are really converted
to servlets at runtime).

However if you update the JSP Tomcat is *supposed* to recompile the JSP
next time you hit it.. I believe it does this by checking the mtime
of the file, did you have the date set incorrectly at any point? Could
the initial modification time of the JSP have been in the future?

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


Re: problem while installing FreeBSD

2004-07-16 Thread Jerry McAllister
> 
> I've used Acronis Partition Expert on a ntfs(w2k3) partition and it 
> worked just fine.

Is that a new one on the market?  I haven't seen that one before.

Partition Magic has been the only one readily available off the 
shelf in this area.  Others have to be mail-ordered.  It handled 
NTFS fine for me, though that was for Win2k.  If it is NTFS and
it is from the boot floppies, I don't see why being win2k3 would
matter, but I avoid Microsloth stuff as much as possible so don't
know any of the details there.

jerry

> 
> I'm not quite sure who this is directed as i missed the most of the 
> post.(Just signed up to questions)
> -Aaron Myles Landwehr
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread Bill Moran
freebsder <[EMAIL PROTECTED]> wrote:
> All my computers can ping each other!  BUT I can only
> connect to the internet from the FreeBSD server.  All
> requests made by the WinXP machines go unanswered!! 
> Yet when I ping from them, they can connect to any
> computer on the network BUT CANNOT ping OUTSIDE the
> network nor fetch any information outside this
> network.  
> 
> Any ideas why my FreeBSD machine is not routing these
> requests and putting up a road block?
> 
> RC.CONF
> 
> font8x14="NO"
>   font8x16="swiss-8x16"
>   font8x8="swiss-8x8"
>   inetd_enable="YES"
>   linux_enable="YES"
>   moused_enable="YES"
>   moused_port="/dev/psm0"
>   moused_type="auto"
>   nfs_client_enable="YES"
>   nfs_server_enable="YES"
>   rpcbind_enable="YES"
>   saver="rain"
>   scrnmap="NO"
>   usbd_enable="YES"
>   ifconfig_vr0="DHCP"
>   ifconfig_ed0="DHCP"
> 
> ##initialise NIC
>   network_interfaces="vr0 ed0 lo0 tun0"
>   ifconfig tun0
> 
>   #ifconfig vr0= "media 10baseT/UTP up"
>   #ifconfig_ed0="inet 192.168.0.3  netmask 255.255.0.0"
> 
>   #Changes as suggested:
>   ifconfig_ed0="inet 192.168.1.1/24"
>   ifconfig_vr0="inet 192.168.0.1/24 media 10baseT/UTP
> up"
> 
>   #ifconfig_vr0="inet 192.168.0.1  netmask 255.255.0.0"
> 
>   hostname="my.server.com"
> 
> ##User ppp configuration
>   ppp_enable="YES"
>   ppp_mode="ddial"
>   ppp_nat="NO"
>   ppp_profile="bellnet"
>   #ppp_user="root"
> 
> 
> ## Firewall
>   gateway_enable="YES"
>   firewall_enable="YES"
>   firewall_type="OPEN"
>   #firewall_quiet="NO"
>   firewall_script="/etc/rc/firewall"
>   natd_enable="YES"
>   natd_interface="vr0"

I believe you'll want:
natd_interface="ppp0"
or is it "tun0"?  I don't remember (long time since I've used ppp) but the
upshot is that whatever interface ppp creates when it dials, that's what you
want natd_interface set to.

>   natd_flags="redirect_port tcp 192.168.1.1:80 80"
>   rpc_statd_enable="YES"
>   tcp_extensions="YES"
> 
> ## Mail
>   sendmail_enable="YES"


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


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread Warren Block
On Fri, 16 Jul 2004, freebsder wrote:
Hi Chuck,
This is what I get:
# ipfw -a list
00100 49820 12066079 allow ip from any to any
00100 00 allow tcp from any to any
65535 2   96 deny ip from any to any
The Second and Third lines don't seem right..  What do
I need to do correct the problem here.
First, you need to stop top-posting, which makes it difficult to reply.
If you carefully read Chuck's response to you:
There's likely to be a problem with /etc/rc/firewall,
  
He's trying to tell you that should be /etc/rc.firewall (note the dot).
-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: rc script fails to start on boot

2004-07-16 Thread Warren Block
On Fri, 16 Jul 2004, Paul Schmehl wrote:
I've written a very simple rc script, using the new format, to control a 
process.  The script works fine from the commandline. 
(start|stop|restart|rcvar|status|etc all work fine.)  But the script fails to 
start up the process on reboot.

Here's the script, without any of the comments:
bash-2.05b# grep -v "#" /usr/local/etc/rc.d/extractor.sh
#!/bin/sh
# $Id$
# PROVIDE: extractor
# BEFORE:  LOGIN
# KEYWORD: FreeBSD
. /usr/local/etc/rc.subr
name="extractor"
rcvar=`set_rcvar`
command="/usr/local/bin/${name}"
load_rc_config $name
run_rc_command "$1"
Have you added extractor_enable="YES" to /etc/rc.conf?  The newer rcng 
stuff you're using will need that.

-Warren Block * Rapid City, South Dakota USA
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Mpact AGP Adapter?

2004-07-16 Thread Bill Schmitt (software)
I'm new to FreeBSD and am attempting to install it on a Gateway PII/300. 
The graphics adapter isn't being recognized. A little research and I've 
learned that the motherboard has an integrated MPact AGP adapter, and that 
was subsequently acquired by Chromatic Research which was then acquired by 
ATI which dropped all support. X doesn't come up in any intelligible form 
(either a garbled screen or nothing at all). Can anyone point me to where I 
might find information on getting this to work? (there's really no 
information at all about it on the Gateway site except an executable for 
reinstalling it under Windows)

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


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread freebsder
Hi Bill,

The interface creates tun0 when it dials but I tried
both "tun0" and "ppp0" and neither seemed to do the
trick.

Any other trouble shooting thoughts or ideas?

Nav

new RC.CONF :

## Firewall

[...]
natd_interface="tun0"
#natd_interface="ppp0"
#natd_interface="vr0"
natd_flags="redirect_port tcp 192.168.1.1:80 80"
rpc_statd_enable="YES"
tcp_extensions="YES"

## Mail
sendmail_enable="YES"

IFCONFIG :

#ifconfig
ed0:
flags=8843 mtu
1500
inet 192.168.1.1 netmask 0xff00 broadcast
192.168.1.255
inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
64 scopeid 0x1
ether 00:80:c8:de:c9:37
vr0:
flags=8843 mtu
1500
inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
64 scopeid 0x2
inet 192.168.0.1 netmask 0xff00 broadcast
192.168.0.255
ether 00:0e:a6:9c:c8:1d
media: Ethernet 10baseT/UTP
status: active
lp0: flags=8810 mtu
1500
lo0: flags=8049 mtu
16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff00
tun0: flags=8051 mtu
1492
inet 6X.7X.5X.23X --> 6X.23X.25X.12X netmask
0x
Opened by PID 215



ORIGINAL MESSAGE
Subject:
 Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE
#2


freebsder <[EMAIL PROTECTED]> wrote:
> All my computers can ping each other!  BUT I can
only
> connect to the internet from the FreeBSD server. 
All
> requests made by the WinXP machines go unanswered!! 
> Yet when I ping from them, they can connect to any
> computer on the network BUT CANNOT ping OUTSIDE the
> network nor fetch any information outside this
> network.  
> 
> Any ideas why my FreeBSD machine is not routing
these
> requests and putting up a road block?
> 
> RC.CONF
> 
> font8x14="NO"
>   font8x16="swiss-8x16"
>   font8x8="swiss-8x8"
>   inetd_enable="YES"
>   linux_enable="YES"
>   moused_enable="YES"
>   moused_port="/dev/psm0"
>   moused_type="auto"
>   nfs_client_enable="YES"
>   nfs_server_enable="YES"
>   rpcbind_enable="YES"
>   saver="rain"
>   scrnmap="NO"
>   usbd_enable="YES"
>   ifconfig_vr0="DHCP"
>   ifconfig_ed0="DHCP"
> 
> ##initialise NIC
>   network_interfaces="vr0 ed0 lo0 tun0"
>   ifconfig tun0
> 
>   #ifconfig vr0= "media 10baseT/UTP up"
>   #ifconfig_ed0="inet 192.168.0.3  netmask
255.255.0.0"
> 
>   #Changes as suggested:
>   ifconfig_ed0="inet 192.168.1.1/24"
>   ifconfig_vr0="inet 192.168.0.1/24 media
10baseT/UTP
> up"
> 
>   #ifconfig_vr0="inet 192.168.0.1  netmask
255.255.0.0"
> 
>   hostname="my.server.com"
> 
> ##User ppp configuration
>   ppp_enable="YES"
>   ppp_mode="ddial"
>   ppp_nat="NO"
>   ppp_profile="bellnet"
>   #ppp_user="root"
> 
> 
> ## Firewall
>   gateway_enable="YES"
>   firewall_enable="YES"
>   firewall_type="OPEN"
>   #firewall_quiet="NO"
>   firewall_script="/etc/rc/firewall"
>   natd_enable="YES"
>   natd_interface="vr0"

I believe you'll want:
natd_interface="ppp0"
or is it "tun0"?  I don't remember (long time since
I've used ppp) but 
the
upshot is that whatever interface ppp creates when it
dials, that's 
what you
want natd_interface set to.

>   natd_flags="redirect_port tcp 192.168.1.1:80
80"
>   rpc_statd_enable="YES"
>   tcp_extensions="YES"
> 
> ## Mail
>   sendmail_enable="YES"



__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


Re: "sanitizing" disks: wiping swap, non-allocated space, and file-tails

2004-07-16 Thread David Kreil

Dear cpghost,

Thanks for your fast and helpful comment.

The Handbook describes a basic gdbe setup but mentions that getting other 
volumes (like /home) onto a gdbe partition was trickier.
Can you tell me which volumes you have on gdbe and what was required to get 
this working?
I wonder, in particular, how "system" directories like /var would be kept on a 
gdbe partition.

With many thanks again for your help

and best regards,

David.


Dr David Philip Kreil ("`-''-/").___..--''"`-._
Research Fellow`6_ 6  )   `-.  ( ).`-.__.`)
University of Cambridge(_Y_.)'  ._   )  `._ `. ``-..-'
++44 1223 764107, fax 333992 _..`--'_..-_/  /--'_.' ,'
www.inference.phy.cam.ac.uk/dpk20   (il),-''  (li),'  ((!.-'


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


Is /usr/ports/graphcs/lcms broken ???

2004-07-16 Thread a k
Is /usr/ports/graphics/lcms is broken or am I doing
something silly???

This is under freebsd 4.10 stable and:
pc1# more distinfo
MD5 (lcms-1.13.tar.gz) =
902ea29818ab4f3c86225ec7d6b5d5b6
SIZE (lcms-1.13.tar.gz) = 585716




/bin/sh ../libtool --mode=link cc  -O -pipe  
-L/usr/local/lib -o testcms -L/usr /local/lib
testcms.o ../src/liblcms.la
mkdir .libs
cc -O -pipe -L/usr/local/lib -o .libs/testcms
-L/usr/local/lib testcms.o ../src/ .libs/liblcms.so
-lm  -Wl,--rpath -Wl,/usr/local/lib
creating testcms
./testcms
little cms testbed. Ver 1.13 [build Jul 16 2004
22:47:52]

Testing fixed point:2.884667 = 2.884672
Testing fixed scaling...pass.
Testing curves join ...pass.
Testing reversing of curves ...Coarse error! 16 on
entry 1021: FFD4/FFBE*** Erro r code 1

Stop in /f/ports/graphics/lcms/work/lcms-1.13/testbed.
*** Error code 1








__
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

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


Re: rc script fails to start on boot

2004-07-16 Thread Paul Schmehl
--On Friday, July 16, 2004 6:12 PM -0600 Warren Block <[EMAIL PROTECTED]> 
wrote:

On Fri, 16 Jul 2004, Paul Schmehl wrote:
I've written a very simple rc script, using the new format, to control a
process.  The script works fine from the commandline.
(start|stop|restart|rcvar|status|etc all work fine.)  But the script
fails to  start up the process on reboot.
Have you added extractor_enable="YES" to /etc/rc.conf?  The newer rcng
stuff you're using will need that.
Yes, I have.  Sorry - I should have included that information when I posted 
the question.

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE #2

2004-07-16 Thread Mark
On Fri, Jul 16, 2004 at 06:37:08PM -0700, freebsder wrote:

Jumping in late, 

natd_enable="YES" # forward from inside
natd_interface="tun0"  # this being the connection to outside world 
natd_flags="-dynamic" # because the ip addy may change


I don't know what your trying to do here??
>natd_flags="redirect_port tcp 192.168.1.1:80 80"
I would remove this until you get everything else working.

> Hi Bill,
> 
> The interface creates tun0 when it dials but I tried
> both "tun0" and "ppp0" and neither seemed to do the
> trick.
> 
> Any other trouble shooting thoughts or ideas?
> 
> Nav
> 
> new RC.CONF :
> 
> ## Firewall
> 
>   [...]
>   natd_interface="tun0"
>   #natd_interface="ppp0"
>   #natd_interface="vr0"
>   natd_flags="redirect_port tcp 192.168.1.1:80 80"
>   rpc_statd_enable="YES"
>   tcp_extensions="YES"
> 
> ## Mail
>   sendmail_enable="YES"
> 
> IFCONFIG :
> 
> #ifconfig
> ed0:
> flags=8843 mtu
> 1500
> inet 192.168.1.1 netmask 0xff00 broadcast
> 192.168.1.255
> inet6 fe80::280:c8ff:fede:c937%ed0 prefixlen
> 64 scopeid 0x1
> ether 00:80:c8:de:c9:37
> vr0:
> flags=8843 mtu
> 1500
> inet6 fe80::20e:a6ff:fe9c:c81d%vr0 prefixlen
> 64 scopeid 0x2
> inet 192.168.0.1 netmask 0xff00 broadcast
> 192.168.0.255
> ether 00:0e:a6:9c:c8:1d
> media: Ethernet 10baseT/UTP
> status: active
> lp0: flags=8810 mtu
> 1500
> lo0: flags=8049 mtu
> 16384
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
> inet 127.0.0.1 netmask 0xff00
> tun0: flags=8051 mtu
> 1492
> inet 6X.7X.5X.23X --> 6X.23X.25X.12X netmask
> 0x
> Opened by PID 215
> 
> 
> 
> ORIGINAL MESSAGE
> Subject:
>  Re: FreeBSD 5.1 <-> WinXP Networking Problem UPDATE
> #2
> 
> 
> freebsder <[EMAIL PROTECTED]> wrote:
> > All my computers can ping each other!  BUT I can
> only
> > connect to the internet from the FreeBSD server. 
> All
> > requests made by the WinXP machines go unanswered!! 
> > Yet when I ping from them, they can connect to any
> > computer on the network BUT CANNOT ping OUTSIDE the
> > network nor fetch any information outside this
> > network.  
> > 
> > Any ideas why my FreeBSD machine is not routing
> these
> > requests and putting up a road block?
> > 
> > RC.CONF
> > 
> > font8x14="NO"
> >   font8x16="swiss-8x16"
> >   font8x8="swiss-8x8"
> >   inetd_enable="YES"
> >   linux_enable="YES"
> >   moused_enable="YES"
> >   moused_port="/dev/psm0"
> >   moused_type="auto"
> >   nfs_client_enable="YES"
> >   nfs_server_enable="YES"
> >   rpcbind_enable="YES"
> >   saver="rain"
> >   scrnmap="NO"
> >   usbd_enable="YES"
> >   ifconfig_vr0="DHCP"
> >   ifconfig_ed0="DHCP"
> > 
> > ##initialise NIC
> >   network_interfaces="vr0 ed0 lo0 tun0"
> >   ifconfig tun0
> > 
> >   #ifconfig vr0= "media 10baseT/UTP up"
> >   #ifconfig_ed0="inet 192.168.0.3  netmask
> 255.255.0.0"
> > 
> >   #Changes as suggested:
> >   ifconfig_ed0="inet 192.168.1.1/24"
> >   ifconfig_vr0="inet 192.168.0.1/24 media
> 10baseT/UTP
> > up"
> > 
> >   #ifconfig_vr0="inet 192.168.0.1  netmask
> 255.255.0.0"
> > 
> >   hostname="my.server.com"
> > 
> > ##User ppp configuration
> >   ppp_enable="YES"
> >   ppp_mode="ddial"
> >   ppp_nat="NO"
> >   ppp_profile="bellnet"
> >   #ppp_user="root"
> > 
> > 
> > ## Firewall
> >   gateway_enable="YES"
> >   firewall_enable="YES"
> >   firewall_type="OPEN"
> >   #firewall_quiet="NO"
> >   firewall_script="/etc/rc/firewall"
> >   natd_enable="YES"
> >   natd_interface="vr0"
> 
> I believe you'll want:
> natd_interface="ppp0"
> or is it "tun0"?  I don't remember (long time since
> I've used ppp) but 
> the
> upshot is that whatever interface ppp creates when it
> dials, that's 
> what you
> want natd_interface set to.
> 
> >   natd_flags="redirect_port tcp 192.168.1.1:80
> 80"
> >   rpc_statd_enable="YES"
> >   tcp_extensions="YES"
> > 
> > ## Mail
> >   sendmail_enable="YES"
> 
> 
>   
> __
> Do you Yahoo!?
> Vote for the stars of Yahoo!'s next ad campaign!
> http://advision.webevents.yahoo.com/yahoo/votelifeengine/
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-- 
--
**
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of the
addressee.  Unauthorized use, disclosure, distribution or copying is strictly
prohibited and may be unlawful.  If you have received this communication in
error, please notify the sender immediately.
**
==

adsl bittorrent speeds troubleshooting

2004-07-16 Thread eodyna
hi guys,

Im a newbie with this, im having trouble with my
download speeds with my adsl modem, and i just wanted
to elimanate that the problem isn't my computers
configuration. This is my first time with adsl so im
not 100% that the configuration is correct.

I have reinstalled 5.1-release.(i haven't changed any
of the configuration) The adsl modem is a billion
5100. the modem is configured with the following:

mode as Bridge.
encapsulation to RFC 1483.
Multiplex to LLC.
VPI 8 
VCI 35
IP address to 0.0.0.0
Network Address Translation to None.

(ie. ive switched the routing options off, so i can
have it purely as a modem)

rc.conf
--
has the following entries:
gateway_enable="yes"
kern_securelevel_enable="no"
moused_enable="YES"
sendmail_enable="none"
sshd_enable="Yes"
usbd_enable="yes"
#networking
network_interfaces="fxp0 dc0 lp0 tun0"
ifconfig_fxp0="inet 10.0.5.1 netmask 255.255.255.0
broadcast 10.0.5.255"

# PPPoE for dsl
ppp_enable="YES"
ppp_mode="ddial"
ppp_profile="curl"

sysctl.conf
---
net.inet.ip.forwarding=1

ppp.conf
-
default:
set device PPPoE:dc0:curl
set log Phase Chat LCP IPCP CCP tun command
set speed sync
set mru 1492
set mtu 1492
set ctsrts off
enable lqr
set timeout 0
enable dns
add default HISADDR
set redial 0 0

curl:
set authname my_username
set authkey my_password

im running the default kernel, i haven't recompiled it
yet with any new/additional options.

packages installed
cvsup-without-gui
expat
gettext
gmake
isc=dhcp3-server
libiconv
libtool
lynx-ssl
py23-Bittorrent-core
python

Im getting decent speeds with http downloads(90kbps),
but when i run the bittorrent client i average speeds
of 30-40 BYTES. its enough to make me cry.  Is there
anything i should be looking at or doing or should
configure?

i run bittorrent

/usr/local/bin/btdownloadcurses.py torrent_filename.

Thanks in advance for your help.

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


trouble with 5.2.1-RELEASE install

2004-07-16 Thread eodyna
hi,

it doesn't seam that today is my day :P

ive tried to install 5.2.1 on a machine and i get the
following error 
(sorry i had to type it)

freebsd 5.2.1-release #0
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
preloaded elf kernel "/boot/kernel/kernel" at
0xc0e1b000
preloaded mfs_root "/boot/mfsroot" at 0xc0e1b0cc.
time coutner "i8254" frequency 1193182 Hz quality 0
CPU: intel pentum III (597.96-Mhz 686-class cpu)
orgin="genineintel" id = 0x681 stepping =1
features=0x387f9ff
real memory= 268435456( 256MB)
avail memory = 246931456 (235MB)
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: on motherboard
npx0: INT 16 interface
PCIbios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00ed150
pcib0:  at pcibus 0 on motherboard
pci0:  on pcib0
pci_cfgintr:0:31 INTD BIOS irq 11
pci_cfgintr:0:31 INTD BIOS irq 11
agp0:  mem
0x4400-0x47ff at device 0,0 on pci0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1


fatal trap 12; page fault while in kernel mode
cpuid = 0; apic id =00
fault virtual address = 0x240
fault code = supervisor read, page no present
instruction pointer =0x8:0xc7dc36f
stack pointer = 0x10:0xc10218f2
frame pointer = 0x10:0xc1021932
code segment = base 0x0; limit 0xff,type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrrupt enabled, resume, IOPL=0
current porcess = 0(swapper)
trap number = 12
panic: 0;
cpuid =0;
uptime=1s

--

can someone help me troubleshoot this? Im not sure how
to go about it, or what this actually mean.
sorry im kinda new.

thanks again


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


which port is xterm from

2004-07-16 Thread Tomoki Taniguchi
I have a dependancy issue with xterm

Shared object "libexpat.so.4" not found, required by "xterm"

I can go through reinstalling all X related ports, but I figured I'd ask first.

does anyone one know what port contains the xterm binary?

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


Re: problem while installing FreeBSD

2004-07-16 Thread Aaron Myles Landwehr
Jerry McAllister wrote:
Is that a new one on the market? I haven't seen that one before.

No its not new, just not popular.
Partition Magic has been the only one readily available off the shelf 
in this area.  Others have to be mail-ordered.  It handled NTFS fine 
for me, though that was for Win2k.  If it is NTFS and
it is from the boot floppies, I don't see why being win2k3 would
matter, but I avoid Microsloth stuff as much as possible so don't
know any of the details there.
 

The acronis one installs in windows and lets you configure how you want 
you want to resize,
etc  in windows, then reboots to do its job. I initially tried  
partition magic, but i couldn't get it to install; on 2k3.
However I never tried boot floppies.
-Aaron Myles Landwehr
(Oops originally forgot to send back questions@)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which port is xterm from

2004-07-16 Thread Dan Nelson
In the last episode (Jul 17), Tomoki Taniguchi said:
> I have a dependancy issue with xterm
> 
> Shared object "libexpat.so.4" not found, required by "xterm"
> 
> I can go through reinstalling all X related ports, but I figured I'd ask first.
> 
> does anyone one know what port contains the xterm binary?

If you have portupgrade installed, pkg_which will tell you:

  $ pkg_which xterm
  XFree86-clients-4.3.0_8
  $ pkg_info -o XFree86-clients-4.3.0_8
  Information for XFree86-clients-4.3.0_8:

  Origin:
  x11/XFree86-4-clients


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


.qmail, autorespond config for naive end-users

2004-07-16 Thread Eric Heintzberger
Hello everyone!
I run qmail, courier-imap, and FreeBSD as a mail server for a 
small business network. Most of the end-users have no 
familiarity with UNIX, and so training them to SSH into the mail 
server and uncomment the autoresponder line in their .qmail 
configuration file &c. is a bit tedious and probably unnecessary.

Would anyone have any suggestions about a GUI interface (perhaps 
a java applet or php app), or some other way to enable end-users 
to modify, in a simple and straightfoward manner, their .qmail 
configuration files and autorespond messages on the mail server?

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


Re: trouble with 5.2.1-RELEASE install

2004-07-16 Thread epilogue
On Sat, 17 Jul 2004 15:09:48 +1000 (EST)
eodyna <[EMAIL PROTECTED]> wrote:

> hi,
> 
> it doesn't seam that today is my day :P
> 
> ive tried to install 5.2.1 on a machine and i get the
> following error 
> (sorry i had to type it)

hello eo,

i'm sorry that you had to type it too.;)
 
> freebsd 5.2.1-release #0
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
> preloaded elf kernel "/boot/kernel/kernel" at
> 0xc0e1b000
> preloaded mfs_root "/boot/mfsroot" at 0xc0e1b0cc.
> time coutner "i8254" frequency 1193182 Hz quality 0
> CPU: intel pentum III (597.96-Mhz 686-class cpu)
> orgin="genineintel" id = 0x681 stepping =1
> features=0x387f9ff 
> MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
> real memory= 268435456( 256MB)
> avail memory = 246931456 (235MB)
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: on motherboard
> npx0: INT 16 interface
> PCIbios: BIOS version 2.10
> Using $PIR table, 9 entries at 0xc00ed150
> pcib0:  at pcibus 0 on motherboard
> pci0:  on pcib0
> pci_cfgintr:0:31 INTD BIOS irq 11
> pci_cfgintr:0:31 INTD BIOS irq 11
> agp0:  mem
> 0x4400-0x47ff at device 0,0 on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1

this is only a guess but, if you have any 'non-essential' peripherals
plugged into your machine (via firewire, usb, pcmcia, or other), i would
suggest that you remove them and try the install again.

(or just sit tight and wait for an educated response.   ;)

you may want to have a look at this thread:
http://lists.freebsd.org/pipermail/freebsd-questions/2003-November/026083.html

if you this error looks the same to you, perhaps you could run that memtest
program and post your results?

either way, it would probably be helpful if you gave us as much information
as you could about the system on which you're trying to install (ex. cpu,
motherboard, harddrive,...)


cheers,
epi


> fatal trap 12; page fault while in kernel mode
> cpuid = 0; apic id =00
> fault virtual address = 0x240
> fault code = supervisor read, page no present
> instruction pointer =0x8:0xc7dc36f
> stack pointer = 0x10:0xc10218f2
> frame pointer = 0x10:0xc1021932
> code segment = base 0x0; limit 0xff,type 0x1b
>   = DPL 0, pres 1, def32 1, gran 1
> processor eflags = interrrupt enabled, resume, IOPL=0
> current porcess = 0(swapper)
> trap number = 12
> panic: 0;
> cpuid =0;
> uptime=1s
> 
> --
> 
> can someone help me troubleshoot this? Im not sure how
> to go about it, or what this actually mean.
> sorry im kinda new.
> 
> thanks again
> 
> 
> Find local movie times and trailers on Yahoo! Movies.
> http://au.movies.yahoo.com
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"