FreeBSD beginner (NetBSD advanced)

2004-07-15 Thread Wojciech Puchar
i want to go to FreeBSD instead of NetBSD on my i386 machines because of 
all new features :( introduced in NetBSD after 1.5 mostly crashing
softdeps, strange memory/unified disk cache management (large writing to 
file almost freezes everything) etc. etc.

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

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.

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.

3) how can i disable compiling, using etc.. all that LKM (KLD) stuff?
i really prefer one static kernel.
4) is IPv6 working well? (i mean no crashes etc...) i will get real IPv6 
zone allocation soon and want to use it.

5) what is used in FreeBSD for traffic management. NetBSD has altq - 
please just give me a name i will RTFM.

6) how to turn using serial port as console on i386? my home machine is 
headless, i'm using X terminals to access it.

7) does FreeBSD support 2 CPUs on i386?
sorry if too much questions at once, i would like to move my home machine 
to FreeBSD tomorrow, test it at real for a month and then (if it will be 
better than NetBSD for my needs) replace other machines.

should i go to 4.10 or better 5.2.1? stability is really important to me.
___
[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-15 Thread Wojciech Puchar
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]


thank you

2004-07-15 Thread Wojciech Puchar
for excellent user support. now i have enough answers and can start
working tomorrow :)
___
[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]


FreeBSD beginner part2 questions

2004-07-17 Thread Wojciech Puchar
after receiving lots of support from freebsd-question i completely
(almost) moved home machine/server to freebsd.

and have question:

1) can userland ppp negotiate deflate with NetBSD pppd on other side?

my ppp.conf looks like that:

stalka:
 set log Phase Chat tun
 set device /dev/cuaa2
 disable dns
#real speed=8x28800=230400
 set speed 28800
 set crtscts on
 set deflate 15
 add default hisaddr


other side (pppd,NetBSD):

/dev/tty04 230400
local crtscts nobsdcomp persist proxyarp noauth passive
deflate 15
maxfail 0
ipparam wojtek
+ipv6


with more verbose logging ppp in FreeBSD produces such output in logs
Jul 17 17:01:57 chylonia ppp[1222]: tun0: CCP: deflink: State change
Req-Sent -- Ack-Rcvd
Jul 17 17:02:00 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:00 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:00 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:00 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:00 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:03 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:03 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:03 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:03 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:03 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:06 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:06 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:06 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:06 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:06 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:09 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:09 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:09 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:09 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:09 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:12 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:12 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:12 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:12 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:12 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:15 chylonia ppp[1222]: tun0: CCP: deflink: RecvConfigReq(4)
state = Ack-Rcvd
Jul 17 17:02:15 chylonia ppp[1222]: tun0: CCP:  DEFLATE[4] win 15
Jul 17 17:02:15 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15
Jul 17 17:02:15 chylonia ppp[1222]: tun0: CCP: deflink: SendConfigRej(4)
state = Ack-Rcvd
Jul 17 17:02:15 chylonia ppp[1222]: tun0: CCP:  MAGNALINK/DEFLATE[4] win
15


but deflate isn't enabled.

everything else works

what i'm doing wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sio errors

2004-07-17 Thread Wojciech Puchar
are messages like that normal in logs?

Jul 17 19:15:31 chylonia kernel: sio2: 681 more interrupt-level buffer
overflows (total 101746)



with NetBSD i've got similar too but very very rare, now i'm getting every
10-20 seconds.

anyway - ftp speeds doesn't look much slower.

chip is 16550A on ISA cards with 8x multiply, used at real 230400 baud.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cd clone img cd image

2004-07-17 Thread Wojciech Puchar

 hi all

 dose anyone know of a way to burn an img image that was created in
 windows

 at home i don't have any windows machines anymore

isn't windows-created images just normal images+few extra info files?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NetBSD-FreeBSD move: samba problem

2004-07-18 Thread Wojciech Puchar
i had NetBSD with samba:

Information for samba-2.2.8anb5:

Comment:
SMB/CIFS protocol server suite for UNIX


and now have FreeBSD with samba:

samba-2.2.8aA free SMB and CIFS client and server for UNIX


same versions of samba.

i moved smb.conf to /usr/local/etc and started samba under FreeBSD.

samba starts

smbclient started from host shows like everything is ok.
but - from windose i see empty network environment when clicked on
Whole network i see message that network can't be browsed etc. etc.

in log.nmbd i see:

[2004/07/18 12:37:15, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 21742 received with no matching record.
[2004/07/18 12:37:15, 0]
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 21743 received with no matching record.
[2004/07/18 12:37:19, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(114)
  *

  Samba server WOJTEK is now a domain master browser for workgroup DOM on subnet 
10.255.245.1

  *
[2004/07/18 12:37:35, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *

  Samba name server WOJTEK is now a local master browser for workgroup DOM
on subnet 10.255.245.1

  *


smbclient shows:
Sharename  Type  Comment
-    ---
domowy Disk  Katalog domowy uzytkownika
public Disk  Publiczny
faxy   Disk  FAXY odebrane
IPC$   IPC   IPC Service (wojtek)
ADMIN$ Disk  IPC Service (wojtek)

Server   Comment
----
WOJTEK   wojtek

WorkgroupMaster
----
DOM  WOJTEK


i can log in with smbclient to any exported disk with password and all
works right. but not from windoze.


i really can't believe that it can be FreeBSD problem, but i have same
config file and same samba version.

any ideas?



heve is my smb.conf

[global]

workgroup = DOM
character set = ISO8859-2
client code page = 852
bind interfaces only = yes
socket address = 10.255.245.1
server string = wojtek
netbios name = wojtek
hosts allow = 127.0.0.1 10.
load printers = no
log file = /var/log/samba.%m
max log size = 500
security = user
encrypt passwords = no
domain master = yes
local master = yes
browseable = yes
#socket options = TCP_NODELAY

# jak sa jaiies NT to mozan zwiekszyc jak nie am to niepotrzebne
os level = 65

[domowy]
   comment = Katalog domowy uzytkownika
   browseable = yes
   writable = yes
   path = %H

[public]
   comment = Publiczny
   path = /home/pub
   read only = no
   public = yes
   writable = yes
   guest ok = no
   browseable = yes

[faxy]
   comment = FAXY odebrane
   path = /home/faxy
   read only = no
   public = yes
   writable = yes
   guest ok = no
   browseable = yes
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: upgrading form 4.2 to 5.x

2004-07-18 Thread Wojciech Puchar
 Brent Bailey writes:

   The customer is running a file server samba also running apache
   running FBSD 4.2, he wants to upgrade using cvsup  the make
   buildworld procedure to upgrade to 5.x.

why they want an upgrade as 4.2 works fine?

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


Re: Our package system: Fundamentally Flawed - A Linux User.

2004-07-19 Thread Wojciech Puchar
 a different library name) like it should, pkg_add only gives a warning and an
 assumption that the install went well.

 Now, the user goes to run the package and gets a big fat error: libintl.so.X
 not found.

package 0.13 should be compatible with 0.12 or should has name 1.*

anyway - in 99.99% times
ln -s libintl.so.X libintl.so.Y where Y is required number
works :)


 For a user like myself, this is no problem. I can recognize the error and figure
 out how to fix it manually. For a user considering switching to FreeBSD from
 Linux, this is considered a fundamental flaw in our package system and may
 lead to a very annoying flame war. Can this be fixed? Why hasn't it been fixed?

war requires 2 sides to fight. simplest way to avoid is ignore them.

no one forces linux user to go to FreeBSD or otherBSD.


2 years ago mostly because linux started the only right solution and to
be better than windows i switched to NetBSD. and found that this said
to be worse *BSD are actually better.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/etc/make.conf info

2004-07-19 Thread Wojciech Puchar
where can i find info about possible options in make.conf for ports
builder
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Our package system: Fundamentally Flawed - A Linux User.

2004-07-19 Thread Wojciech Puchar

 Well, FWIU, building from source is also the preferred method, as it creates a
 much better system overall, rather than just installing binaries which have
 been built on someone else's system. This allows every install to be
 specifically built for the system on which it's installed. Not only that, but
 the code in STABLE changes regularly, so it's better to build from the
 version of the kernel you have and with your own make options. Also, FreeBSD
 isn't really a desktop OS. I'm not sure if you're being precise with that
 word, but, although it works very well as a workstation, it's not designed
 for what many home users do with their desktop systems. You can use big
 window managers like KDE and Gnome, but it's not necessarily designed for

desktop OS and windowslike OS is a big difference. so desktop os
doesn't have to mean KDE or gnome, which - except some nice graphics -
doesn't have any really useful features. i use fvwm2 and icewm as it gives
enough needed without taking lots of cpu power and RAM

anyway - good use of FreeBSD (or other unix) is to be a server with
graphics terminals (X terminals) connected through ethernet. then it could
be managed only in one place by qualified admin, while used by many
people.

definitely more stable, more easy to use and much cheaper (both
hardware and TCO) than hundreds of winputers requiring operator
intervention every few days at average.

and no chance for end user to break whole system with clicking wrong icon.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NetBSD-FreeBSD move: samba problem

2004-07-19 Thread Wojciech Puchar
thank you for all help.

the problem was that windoze got configured by DHCP with netmask
255.255.255.224 (right), while i configured FreeBSD with netmask
255.255.255.0 (wrong).

so broadcasts didn't work. today morning i changed it and samba started to
work.
thank you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Our package system: Fundamentally Flawed - A Linux User.

2004-07-19 Thread Wojciech Puchar
 though some of the rest of the stuff doesn't matter to me that much. I can
 also use KMail in any other window manager, but it does tend to be a resource

exactly. KDE programs can be used without whole KDE.


 Well, I've broken a couple of things in learning FreeBSD but managed to fix
 them. It's not a big deal. That's part of the learning experience.

but you won't break whole system not logged as root.

that's normal that something gets broken while learning.

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


Re: /etc/make.conf info

2004-07-19 Thread Wojciech Puchar
  builder

 Look at the ports(7) man page and the default make.conf (which is
 /etc/defaults/make.conf under 4.x, and
 /usr/share/examples/etc/make.conf in 5.x, or you can look at it in CVS
 via
 http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/etc/make.conf )

that's what i needed. thank you.

 Otherwise, port specific make flags can be found generally by
 inspecting the Makefiles for each port, or the Makefiles under


i found that but i needed global settings
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sio interrupt level overflows

2004-07-19 Thread Wojciech Puchar
what's the source of this so very often messages?

Jul 19 22:44:17 chylonia kernel: sio2: 9 more interrupt-level buffer
overflows (total 279433)
 ^^

after about 1 day uptime and 200MB traffic through sio at 230400bps (set
to 28800 for FreeBSD while it's ISA card with 8x multiply and 16550A
chips).


how to get rid of them? under high load it makes quite high
percentage of packet loss.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows X

2004-07-20 Thread Wojciech Puchar
 following sources will probably yield the richest results:

 o  the freebsd handbook (perhaps the best OS handbook out there):
 - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html
 - you also have a copy locally installed at /usr/share/doc/handbook.

 o the freebsd-questions mailing list archive:
- http://lists.freebsd.org/pipermail/freebsd-questions/

 o google

 o any books you may have purchased.

at least in Poland, i would recommend agains buying a book. just waste of
money, as they won't give any more information that listed URLs, while
some of them can give lot of informational noise - mostly books about
Linux. and there's very little literature available on other unices than
linux.


 regarding your question, i would recommend starting off with the handbook
 section on X:

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

 note that the handbook only touches upon 3 of the better known window
 managers/desktop environments.  if you're looking for something that won't
 be too disorienting (say you're coming from windows or mac), try KDE or
 GNOME.  these are full blown desktop enviroments (applications, games, etc)
 and HUGE installations.

i think it is very disorienting, as they try to be windows-like, and like
windows it take user away from actual knowledge as it can.

if you really wan't to learn unix, stay away of KDE and Gnome (while you
may like to use some apps from them).

 there are scads of other window managers out there and these vary
 greatly in size and functionality.  with a little time and experimentation,
 you'll eventually find the one that best suits your needs.

i recommend you icewm windows manager with icepref configurator for it.
good for beginner while fast, small, configurable. And it's actually
mostly window manager, without lots of gadgets.

 about format for mailing list questions:

 o many people reading and replying here use tools that don't react quite
 the same way as outlook express.  your messages with reach the greatest
 amount of readers while causing these the least amount of grief, if you
 'wrap' your messages at around 75 characters.  (either through a setting in

i fully agree with this. but i think (not sure) that outlook as most of
microsoft products can be configured to behave normally, it's just
difficult and usually not well documented.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows X

2004-07-20 Thread Wojciech Puchar
 space, it does slow down the system, and more software means potentially
 more security vulnerabilities.

just having X running doesn't seem to slow down system. only using slow
and memory hungry software may do it.

but i don't see anything wrong in having X on server if it's used as
workstation at the same time.

if it's started from XDM you may remove suid so no security risk.

-nolisten tcp for X server will turn off listening on TCP port - removing
rest of possible security problems.

 If you decide you must run a GUI because you are unfamiliar with CLI or
 you just like them better pick one of the lighter weight window managers.
 Yes, they are boring but you do not need a fancy desktop on a Server.

anyway why run X server just to run then Xterm and some commands to
configure services?
 understand wanting to have a cool desktop. KDE is very popular as well as
 GNOME. You can see screenshots on their respective websites.


KDE and GNOME is an attempt to replace/look like windows.
quite successful - not only in look, but in memory usage, CPU usage,
amount of bugs, and level of unneeded complexity, allowing user ONLY use
GUI configs to do something.

i think that if someone needs something like windows, windows is best
choice.

 KDE has a cool feature that if set up allows you to pick your window
 manager on login (mind you this causes KDE and X windows to be running at

this is not KDE feature as all, just kdm (xdm replacement).

you may use gdm and possibly other xdm replacements to do it, without need
to install KDE.

 The community can correct me if I am wrong but applications built for KDE
 will run fine on GNOME and vice versa. I think they just may not look as

this is not true. most GNOME apps just use GTK2 and run without gnome
itself fine. they are NOT dependent on any window manager, as GNOME
itself. gimp is an example - i use it with fvwm2. works like any other X
app.

With KDE apps it's not true. while lot of KDE apps does work without KDE,
they actually starts up some daemons taking 20MB RAM to function. this
daemons doesn't die by itself after exiting from that apps and take
quite amount of CPU time even if you don't do anything, just have app
running.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to update freebsd? newbie

2004-07-21 Thread Wojciech Puchar
 i am sorry if this is a stupid question i ask but i am willing to see if
 someone helps me to understand the freebsd update process, i just came
 from redhat so forgive me

why do you need update while you are newbie. first learn what you have.
Unix is not windows (and in last years - not Redhat) - you don't need to
have new version ust because it was released.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to send attached files on sendmail with mail tool?

2004-07-21 Thread Wojciech Puchar
 
  cat file | uuencode tgt_filname | mail -s subject [EMAIL PROTECTED]

uuencode tgt_filname | mail -s subject [EMAIL PROTECTED]

instead of cat. less one unneeded piping.

 
  subject can be derived from shell script variables if necessary.

 Do you have to do a uudecode on the receiving end to recover the file?

 I tried this - sending a pdf file from this FreeBSD system to a Windoze user
 that gets mail via POP - it didn't work. The filename came through, and it
 was listed as an attachment, but there was nothing useful in the file.


i think windoze just can't decode uuencoded attachments right.

it only supports base64 right.

metamail will be useful, possibly

/usr/local/bin/encode-base64 was installed by package p5-MIME-Base64-2.21

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


Re: Compilation

2004-07-21 Thread Wojciech Puchar
 I'm sorry, but I just can't do anything in this operating

i'm sorry too.

 system.  I mean, finally I've found a library that makes
 it simple to simply plot a pixel in a window without
 spending hours looking for a GTK tutorial that will tell

so why wasting your time and FreeBSD user's time?

come back and write new cool windows app.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Removing FreeBSD

2004-07-21 Thread Wojciech Puchar
 How do remove freebsd from my machine?  I want to format the drive to
 install windows xp.

1) don't post without subject
2) boot any usix from floppy or CD, get to shell and use dd to wipe out
beginning of disk

with FreeBSD

dd if=/dev/zero of=/dev/ad0 bs=64k count=1

with linux replace ad0 with hda, with NetBSD use rwd0d.

3) install windoze or any OS as with empty drive.


PS. i assumed your hard drive is on first IDE channel master.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Windows X

2004-07-21 Thread Wojciech Puchar
  and start browsing. :)

 I just installed the newest XFce today, and wow, it's nice. Very fast. I don't

compared to KDE - for sure fast.

 want to give up KMail, but like a lot of other KDE apps, it runs other KDE

no problem to run KMail without KDE except it will take lot of CPU too.

 processes that tend to bog it down in any wm. But it's very quick on XFce,
 faster even than on IceWM, at least on my machine. It wouldn't matter so much
 to me, but KMail is by far my favorite GUI email client. If I were a better
 programmer I'd backwards engineer it without all the hooks into KDE stuff,

nice idea. hopefully text-mode pine is fine for me, quick and can be
configured to run right programs to view attachment (like xv to view .jpg,
gif etc.)

 but maybe later ... Mozilla starts in less than two seconds without being
 preloaded. Amazing. Who said Mozilla is slow starting? Not me anymore.

slow and fast is relative. to machine and to other programs. it takes 10
seconds on my celeron/300 to load mozilla, while links -g starts in 1
second.


 I'm glad you posted this, because it reminded me to give XFce a test. IceWM
 doesn't seem to perform nearly as quickly for me (which is odd), but maybe I
 don't have it configured correctly. I think I like XFce better anyway ;)

strange, or XFce is really so fast. must try.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing FreeBSD

2004-07-21 Thread Wojciech Puchar
 
  with FreeBSD
 
  dd if=/dev/zero of=/dev/ad0 bs=64k count=1
 
  with linux replace ad0 with hda, with NetBSD use rwd0d.
 
  3) install windoze or any OS as with empty drive.
 
 
  PS. i assumed your hard drive is on first IDE channel master.

 or just start the xp install.  The installer has will ask you if you want
 to wipe the drive.

possibly - i never installed XP. i just answered question how to wipe out
FreeBSD (or anything)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cam/passthrough device question

2004-07-21 Thread Wojciech Puchar
i'm now running generic 5.2.1 kernel (to narrow list of possible sources).

i have:
atapci0: Intel PIIX4 UDMA33 controller 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]

and

GEOM: create disk ad0 dp=0xc273f560
ad0: 12419MB ST313032A [25232/16/63] at ata0-master UDMA33
acd0: CDRW RICOH CD-R/RW MP7083A at ata1-master PIO4


devfs mounted /dev/ contains /dev/xpt0

so it does have xpt interface.


camcontrol devlist -v shows:
-su-2.05b# camcontrol devlist -v
scbus-1 on xpt0 bus 0:
 at scbus-1 target -1 lun -1 (xpt0)


CD-RW drive isn't shown and of cource cdrecord doesn't see anything too.

what i'm doing wrong?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum.

2004-07-24 Thread Wojciech Puchar
 drive e device /dev/da5s1e
 drive f device /dev/da6s1e
 volume raid10
   plex org striped 512k
 sd length 0 drive a
 sd length 0 drive b
 sd length 0 drive c
   plex org striped 512k
 sd length 0 drive d
 sd length 0 drive e
 sd length 0 drive f

 I havent done any profiling but it feels a little slow to me.
 Thought i'd talk to others to see what their using and see if i should
 restructure my volume.

with linear read it will get speed of one drive, linear write - a bit
slower (2 writes must be done but in parallel).

BUT:

with 100 processes reading different things from it it could be up to 6
times faster (actually bit less as it will never get spread evenly) than
single drive. writes near 3 times faster.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: best virtual server solution?

2004-07-24 Thread Wojciech Puchar
 I've been struggling to find the best virtual server solution based on a
 FreeBSD 5.2.1 system. I was hoping some members of the list could help me
 take this decision. I have questions/thoughts regarding vmware/bsd jails:

 - Vmware
  - Does it run 5.2.1 nicely ?

i think yes. it emulates real PC so it should

  - Does a Guest OS (FreeBSD) support multiple IPs?

it's guest os feature not vmware's. yes.

  - Does vmware support Xeon CPUs? (not listen in their site)
  - Is a xual xeon 2.8ghz + 4GB ram enough to run, say, 40 virtual
  machines using vmware?

depends what this machines will do.

  - Vmware *really* needs a X session to be working?

AFAIK yes. not sure vnc may be a fix

vmware is bad idea. it's slow and memory consuming (much more that virtual
machine memory).

jails are right solution.

or even better - think well if you REALLY need separated servers.

in 99% of cases the answer is no.



 - Jails
  - Is there any patch working for multiple jail IPs under 5.2.1-p9 ?

AFAIK no. but it will change

  - What jail management tool do you use? I'm are of jailutils and
 jailadmin. I'm using jailutils now mainly because of jps, altough I
 could use jailadmin and create a quick jail ... ps link that would do
 the same.Plus, jailadmin uses a centralized configuration file
 which is easier to keep track of.
  - syslogd will die on the jail startup (using jstart), but if i run
 it manually it will stay running; same for cron.
  - Outside mounts are visible inside jails, any way to change this
 behaviour ?



 Best Regards,


 Hugo





 --
 www.6s-gaming.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]


Re: Are you truly a M$ desktop alternative?

2004-07-24 Thread Wojciech Puchar

 This email is going to any Linux house whom has pitched themselves via
 their websites and reviews, from my research as being possible

1) FreeBSD is (fortunately) not Linux. it's different things

2) FreeBSD doesn't try to be (fortunately) windows alternative in strict
sense. I mean giving same style of computing, similar functionality but
with smaller costs. It's alternative way of computing, like other unices.
For me - much better alternative but that's my choice.

3) Your mail looks like hidden commercial advertisement. Bad place for it
in that mailing list
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Are you truly a M$ desktop alternative?

2004-07-24 Thread Wojciech Puchar

 OpenOffice.org can do the job there, but a file created with OOo will be
 rather misshapen when opened with Excel and vica versa. So it's not
 advicable.

OpenOffice reads excel and word documents - so vice versa is not true.
OpenOffice can export excel documents too

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


Re: Are you truly a M$ desktop alternative?

2004-07-24 Thread Wojciech Puchar
 
  Your detailed reply appreciated

 I've got to tell you, you're looking for a lot of detailed advice for free.
 I know you _say_ you did a lot of research, but the level of knowledge you
 display in your questions does not demonstrate that you did _any_ research.

If research is defined by reading adverts and publications in popular
computer magazines he probably did really a lot of research, and didn't
understand this is a bit worthless.

 out for you, I've been doing it for business for six years now.  Feel free
 to contact me directly and I'll be happy to put a consulting package together.

possibly it's what he need i'm sure you will help him.

But for sure it's bad mailing list for that topic. if any of FreeBSD
mailing lists - maybe freebsd-advocacy, but for sure not freebsd-questions
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN with multiple offices

2004-07-24 Thread Wojciech Puchar
 companies who will need temporary access to the network while working on
 larger projects.  In addition to this we would like to give remote access for
 our road warriors from anonymous networks.

 For the our offices I believe a tunnel with esp that seems to be the is
 documented in the handbook and many other sites.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html
 http://www.daemonnews.org/200101/ipsec-howto.html
 http://www.usenix.org/publications/library/proceedings/bsdcon02/full_papers/schadow/schadow_html/


contrary to what you pointed i will recommend you vtun (ports/net/vtun).

i use it for really many things, works excellent and will have all needed
functionality including compression, encryption and is bandwidth
efficient.

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


Re: FreeBSD v4.10 - Newbie Needs Help - KDE Really Slow !!

2004-07-25 Thread Wojciech Puchar
 I just installed FreeBSD v4.10.
 All installed OK  I choose KDE as the Desktop

 Problem: KDE v3 is reallly SLOW!!

 - Takes 2 minutes to start/load !!
 - Just opening a simple Console takes almost a minute !!
 - Resolution looks really grainy - as if its 256 colors - Don't know how to change 
 this ???

 My System:
 Pentium 200Mhz
 128MB RAM
 16MB PCI Creative Graphics Blaster Riva TNT


yes KDE is really slow, quite like this on P200. the simplest solution is
not to use it at all (on faster machines too).

Unless all you need is fancy graphics KDE doesn't have anything really
useful. Use fvwm2 or icewm as window manager it's fast.

you may like to run few of KDE apps, but without KDE as a whole
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Are you truly a M$ desktop alternative?

2004-07-25 Thread Wojciech Puchar
  will be rather misshapen when opened with Excel and vica versa. So
  it's not advicable.

 What about gnumeric? There are also other assorted programs out there
 to fill the need desired.

works fine - actually i use it and works well
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Converting or Reading UFS?

2004-07-26 Thread Wojciech Puchar
I have 4 large (120- 200 Gig) hard drives   server. The server died and I'm no 
 longer using   I can get the data off these drives?


- Convert UFS to any other mountable and   OS X? If so, where? I thought maybe 
 Ghost, but   sector copies, which are not readable by Ghost

isn't OS X capable of reading UFS?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Whats the fastest Windows 2000 like Window Manager ??

2004-07-26 Thread Wojciech Puchar
 I am setting this up as a test web server with Apache etc...

 I want very BASIC Windows like GUI with a GUI Text Editor(NOT VI, more like Notepad) 
 to edit
 configuration files etc AND a Windows Explorer like File Manager to move files 
 easily around 
 from the CD(ie. NOT command line stuff!)

so why you installed FreeBSD while windows 2000 (maybe XP) is what you
want?

don't expect other software that are not windows to be windows.
fortunately they are not.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Whats the fastest Windows 2000 like Window Manager ??

2004-07-26 Thread Wojciech Puchar

  The leanest desktop environment for Linux/Unix/FreeBSD is XFCE4.

 I don't think so; look here:

   http://www.xwinman.org/otherdesktops.html

XD640 looks really cool, unfortunately it's about 1/3 done.

but i still don't understand sense of projects like XPde? what's a sense
of making things almost exactly looking like windows?!
windows is 100% windows compatible
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AMD64 support: FreeBSD v.s. Gentoo

2004-07-26 Thread Wojciech Puchar
 Does Gentoo or FreeBSD have better support for the
 AMD64 architecture at this point?
what is gentoo?

is it some new OS or linux distro?

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


Re: AMD64 support: FreeBSD v.s. Gentoo

2004-07-26 Thread Wojciech Puchar
  Does Linux or FreeBSD for the AMD64 architecture at
  this point?

 It doesn't really matter...yes gentoo is a linux
 distro. and its the only linux distro I would consider
 with the AMD64 architecture. I was looking to see if

one moment. distribution is distribution, linux is a kernel. CPU support
isn't the distribution feature. they just put everything in one CD/DVD
with some installer.

 anyone here has used (or has knowledge of) both AMD64
 OSes' support and functionality for x86-64
 applications.

i only used NetBSD and it has full support of AMD64 - i mean 64-bit mode
both for kernel and userspace, no emulation needed.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wrong Xircom card??

2004-07-26 Thread Wojciech Puchar
   I'm trying a net/ftp install of 4.8 on my Thinkpad.  The
   laptop didn't come with a builtin NIC so I bought a
   Xircom 10/100 card.  (I'm using the IBM UBS to CAT5 connector.)
   The floppy install puts up /stand/sysinstall nicely, but when
   I goto the network sections I eventually see only SLIP or PPP
   as options.

install kernel just didn't load this driver.

i'm not sure now, but when booting in boot menu there is option for
booting with PCMCIA support, but it's not default choice
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT]Re: AMD64 support: FreeBSD v.s. Gentoo

2004-07-26 Thread Wojciech Puchar
  quite sharper then it was with XFree86.

 Since some days, -current defaults to X.org. Users of other FreeBSD version
 can update their ports and have a look at /usr/ports/UPDATING howto
 switch from XFree to X.org

i'm of of topic in X.org and XFree - what's the difference?

any URL?

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


Re: question...

2004-07-27 Thread Wojciech Puchar
 do you provide also C-sources of your utilities on your web-page?
 if yes, where can i find them?

in installation.

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


Re: BigApache for Windows - Why doesn't BSD have an installerpackage like this ???

2004-07-28 Thread Wojciech Puchar
 Hi all,

 I wish BSD had a BigApache installer package, as it would make my life easier...

contribution are welcome!


 
 http://www.bigapache.org/
 The BigApache Enterprise Ready Server is free software:

 This Package provides a full implementation of Apache and it`s
 commonly used extension modules for the Win32 plattform Windows 2000  Windows XP
 This is the base package for BigApache:
 It includes
 Apache 2.x
 mod_ssl
 OpenSSL
 mod_perl
 mod_python
 mod_jk
 Mailserver Mercury
 Additional modules are available in the module distributions and in the 
 BigApache-modules
 repository.
 --

 Regards,
 DK




 __
 Do you Yahoo!?
 New and Improved Yahoo! Mail - 100MB free storage!
 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]

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


allowing cdrecord non-root

2004-07-31 Thread Wojciech Puchar
how can i allow given group to be able to write cd's?

in NetBSD doing (assuming group name cdrw)

chgrp cdrw /dev/rcd0* /dev/cd0*
chmod 660 /dev/rcd0* /dev/cd0*


in FreeBSD doing this for /dev/cd0 and /dev/acd0 doesn't work.

tried to do the same with /dev/xpt0 - doesn't work too.

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


raw devices

2004-07-31 Thread Wojciech Puchar
where are raw devices in FreeBSD? do they exist at all?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bandwidth question

2004-07-31 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Hi all

 Do you know there is bandwidth software to support
 Giga ethernet?

same place where it is to support fast ethernet.


 Thank you very much

 ___
 Do You Yahoo!?
 Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBDCggVbTJCKecqu0RAngoAJ4hmm+JMoMOjDPrZdBuy9/ItAwFZACaAxbO
lg5pnOjnazs1VICoGp/aQgI=
=6X6e
-END PGP SIGNATURE-

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


Re: bandwidth question

2004-08-01 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 Can you tell me in details?

 I need the bandwidth software to create graph in 1G
quite unclear question.

you ipfw to create counters for what you need, read it regularly (cron
etc.), then process data to greate some graphs etc. (maybe gnuplot).

Possibly there are something that will do this for you.


if you like just to get how big traffic goes through interface
you may use systat to take data.

anyway - it doesn't mean if it's 9600bps ppp link of ethernet or gigabit
ethernet
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBDWytVbTJCKecqu0RAus2AJ95EnQc695UYVmrEFFCCD7YNMzKnQCfSLri
d0Cya4oUFXlp9xrx4tVGTAM=
=XCbU
-END PGP SIGNATURE-

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


Re: Help Connecting NT 4.0 to Internet via LAN

2004-08-01 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


 I had previously attempted to repair a corrupted system file in my NT box
 but was unsuccessful.  I ended up reinstalling back to the original Service
 Pack 1.   My plan now is to upgrade the IE browser and OS on-line but I'm
 having trouble getting the browser to work.

 At this stage, the NT box can ping web sites successfully using
 their IP address but not the URL name.  The browser will search and find
 a website but eventually responds with Could not open ...

 Would appreciate any troubleshooting advice you have time to relay.


DNS doesn't work for you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBDWznVbTJCKecqu0RAlmXAKCEQu1LOvA8iM3S7z2Pi7c7LrlCIwCggveg
Qi4gRLa4OQHLJe5H2yI5ExE=
=4mKe
-END PGP SIGNATURE-

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


RE: Remote backup hosting setup?

2004-08-04 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 we are currently developing a small program/service for our customers
 exactly for this purpose.

 To just backup the data to a remote server is very easy, even on Windows:
 Use cygwin. It comes together with rsync and ssh. I recommend you use
 rsync since it is the most effective AFAIK and the transfer is safe (not
 unimportant to law companies). Then you could run a nightly task to backup
 the data.

what is unsafe of rsh for example if network through which is going the
traffic is under your control?

ssh is SLOW.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBEJoXVbTJCKecqu0RAgGUAJ9s3MErMYwxXwTxKWGnHdVWoBFTrACcCUgN
La1/dqv8okZKCIKIGc7OTbc=
=eQKl
-END PGP SIGNATURE-

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


Re: The set-user-ID-on-execution

2004-08-04 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 
  did I miss something?

 Yes.  Scripts can't utilize setuid/setgid.

 You can rewrite the script in perl and use the setuid perl interpreter
 (which is basically a workaround for this) or install sudo and give the
 script the ability to call sudo before executing commands that require
 elevated priviledges.


or even better write this in C, or at least do wrapper in C that will make
sure no tricks are in environment variables etc. it's quite difficult to
write setuid scripts without security holes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBEVKCVbTJCKecqu0RAguzAJ9M+MoEItfK84EpSFi/v+OBWbnQ9wCfQLe1
J87ReX6DCOhasKkqoyRTVCc=
=Lj+2
-END PGP SIGNATURE-

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


Re: Hacker Scans - Advice requested

2004-08-08 Thread Wojciech Puchar

 Is there any way that this can be prevented without impairing the
 services provided by the operating system.

they check passwords from dictionary etc.

my advice (i did the same, while i've got scans for guest and test):

make such account with very simple one word password home /nonexistent and
shell script as shell saying smile, hidden camera is watching you.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Swappable Hard drives?

2004-08-09 Thread Wojciech Puchar
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Soon I will have two identical 120GB IDE HDs in my FBSD 4.10
 system. One is to be basically a backup drive. Can I write a
 MBR to the second HD and then swap cables when I want to
 boot/run the system from the backup HD, assuming I've used pax
 or dump to make the file systems identical? The normal

with identical drive make copy with dd

dd if=/dev/ad0 of=/dev/ad1 bs=64k
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBFx4nVbTJCKecqu0RAvGJAJ46/hmk4mjLGMIFqY0D5Ipiu48XlACdHFeq
3dXywuA83pDKPZCX6oau7jM=
=sHfG
-END PGP SIGNATURE-

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


Re: burning mp3's

2004-08-09 Thread Wojciech Puchar
 ask...

 Is there a format specific to burn CDs with mp3 that are playable by such
 devices? or it is a normal and simple ISO with mp3 files together maybe in a
 single root directory?

normal ISO. some players supports only one level of subdirectories, but
everything else is standard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting new Software into FreeBSD

2004-08-11 Thread Wojciech Puchar
 have not yet found a way to port it into FreeBSD ports. Can any body tell me
 how its done. Are there any documentation on how to do this?

 The new software is called RURS (Remote Unix Recovery Service). Simply said,
 it is the same as WINDOWS Gost utility.

we already have dd and rsh. it's of course not the same as WINDOWS Gost
(or maybe ghost). it's much better and fer much easier to use.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: finding the ip address

2004-08-29 Thread Wojciech Puchar

 I modifies your solution slightly, so I could use it for more interfaces
 easily.

 ifconfig dc0 | grep inet|awk '{print $2}'
 ___

if your host use DHCP - you may add something to your dhclient.conf and
make some script to record it's IP.


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


Re: finding the ip address

2004-08-29 Thread Wojciech Puchar
 
 Doh!  You'd still have to deal with some text output,
 though.  Sorry.

 KDK

host -t A `hostname`|head -1|cut -f 4 -d  

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


Re: maximum hard drive capacity supported?

2004-08-30 Thread Wojciech Puchar

 Upon trying to buy a new hard drive (80 GB) I was asked
 about the capabilities of my system, and I just thought that
 these were needed to tell what kind the IDE (ATA)
 capabilities. However, the vendor said that depending on the
 BIOS the system might not be able to recognize a large disk.

BIOS is only needed to boot.

FreeBSD then drives it without BIOS


there are 3 possibilities:

1) BIOS just supports whole drive. nothing special needed

2) BIOS can't support the whole drive, it detects as much smaller one.

solution:

install system with separate /boot partition that fits in the range that
BIOS supports. after booting FreeBSD will get whole disk

3) BIOS hangs completely trying to drive your disk.
rare case but i have this with P133 machine with 80GB disk.

machine runs NetBSD, and i boot kernel from floppy, then NetBSD supports
whole drive.

with FreeBSD it could be difficult to fit kernel on floppy but it is
possible if you will compile yours with minimal set of drivers (but
including disk) and then load modules from disk by startup scripts.

my custom kernel compresses to 977000 bytes, loader takes 237568 bytes so
it could fit.

unfortunately i don't have enough FreeBSD knowledge now to tell you how
prepare such floppy.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: maximum hard drive capacity supported?

2004-08-30 Thread Wojciech Puchar

 Well if the manufacturer states that the BIOS CAN support 80G drives
 then there is no reason why you should not believe on that. Go ahead
 and get one of thoes 80G giants.

it's rather standard now :)

250GB are available and works with FreeBSD on 500Mhz class hardware :)

just /boot partition had to be separate because BIOS doesn't take it's
full capacity
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


moving to larger drive

2004-09-11 Thread Wojciech Puchar
could You help me in commands used to

1) create disklabel and mbr on blank disk
2) install boot loader

manually
?


i know how to do it in NetBSD, but here it's a bit different.

i need to move everything from one disk to another.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: moving to larger drive

2004-09-12 Thread Wojciech Puchar
  manually
  ?

 There is nothing wrong with running sysinstall(8) on a live system. Can
 even be run remotely via ssh. Suggest you skip down to the (C)onfigure
 menu. Use (F)disk and (L)abel. Put your new partitions under /mnt/ or
 someplace separate from your running system filespace. Use (W)rite once
 you have things the way you desire. Then exit from sysinstall(8).

i prefer to know what i'm doing.

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


Re: moving to larger drive

2004-09-12 Thread Wojciech Puchar

 Use fdisk to slice and do the mbr.
 In 4.xxx use disklabel to do disk labeling (partitioning) and boot block.
 In 5.xxx use bsdlabel to do disk labeling and boot block.

 Then use newfs to create filesystems in the partitions created
 with disklabel/bsdlabel.

 
  manually
  ?
 
 
  i know how to do it in NetBSD, but here it's a bit different.
 
  i need to move everything from one disk to another.

 Once you create the new drive, then, in single user, dump(8) | restore(8)
 from the old partitions/file systems to the new ones.


that is what i know but fdisk/bsdlabel i do not.

is fdisk compulsory?

in NetBSD i don't create fdisk partition table at all just bsd label
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


921kbps ppp line - problems

2005-11-19 Thread Wojciech Puchar

here is my config

default:
 set log Phase Chat LCP IPCP CCP tun command
 disable dns

stalka:
 set device /dev/cuad4
 set speed 921600
 add default HISADDR
 disable deflate pred1 deflate24



FreeBSD 6.0 on this side, puc/sio compatible interface (TITAN-800H PCI, 
8 port interface), NetBSD-current on other side. connection generally 
works but


Nov 19 21:42:31 chylonia ppp[1144]: tun0: Phase: deflink: HDLC errors - 
FCS: 50, ADDR: 0, COMD: 0, PROTO: 0


and actually there are detectable packet loss and big slowdown on 
transfers.


there is NO silo overflow errors in kernel!

what i missed?

to be clear - i have NetBSD here before and connection worked fine, so 
line/modem is OK.

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


background fsck

2005-11-20 Thread Wojciech Puchar

what is the rule to decide if filesystem may be background checked or not?

for example my / is checked foreground, while /home checked background.

can't root partition be background checked too?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Procedure for upgrading CPU

2005-11-21 Thread Wojciech Puchar

I'm thinking of upgrading the CPU in my machine running 6.0-RELEASE with an
SMP kernel.

Is it a matter of powering down the machine, swapping chips and powering 
up?


if anything more - then maybe BIOS upgrade if this won't work with new 
chips.


for FreeBSD - nothing at all. same devices, same king of CPUs, no 
compiling needed

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


Re: Question about ZFS support

2005-11-21 Thread Wojciech Puchar


Are you planning to include support for ZFS(link below) into FreeBSD in any
future releases?



http://www.opensolaris.org/os/community/zfs/docs/

while i'm not FreeBSD coder i would ask question - how does it REALLY 
work - contrary to information.


i mean how it works in practice.

IMHO checksumming every data (not just metadata) is nonsense if it cannot 
be turned off. this makes every transfer not just I/O bound but CPU and 
memory transfer/cache bound too. while disk and memory bandwidth in todays 
machines are quite comparable (memory is faster but not THAT faster than 
linear disk I/O) it isn't just a little thing.


built in compression isn't good idea IMHO - of course it doesn't hurt if 
it's optional. today disk space is rarely a problem, while huge files are 
often not much compressible.


by general description filesystem looks very nice.

thats theory - did anyone made a real test on real system?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iSCSI support

2005-11-21 Thread Wojciech Puchar

and growing. I'm currently looking at a Coraid AoE
(ATA-over-Ethernet) solution since it seems to have good support for
FreeBSD and Windows drivers in the works. On the other hand, iSCSI
has Windows support and FreeBSD in the works.

stupid question: can anyone explain me the sense and adventages of iSCSI 
compared to say NFS? for me it's just some more layer to take lots of $$$ 
from people.

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


Re: Status of 6.0 for production systems

2005-11-21 Thread Wojciech Puchar

I remember back a while when 5.x had been recently released
as STABLE and the conventional wisdom said not to use it in
production until the 5.3 release.

Is there any such conventional wisdom as regards 6.x?



my home system is actually production system that can't be stopped for a 
long time. i moved finally from NetBSD for various reasons including real 
SMP support (real=not crashing and not all-giant lock).


what i can say is

1) performance is excellent. maybe it should be named FastBSD not FreeBSD :)

2) it DO has bugs, but i already filtered those than can make a problems 
for me.


3) first bug - kldunload means danger. many kernel modules just crash the 
system when unloaded. solution: just don't do it, not a real problem.


4) using kernel-ppp+pppd=crash after not a long time. that forced my to 
learn user ppp(8) which is actually MUCH better. same solution as 3.
anyway i don't see any reason why kernel ppp is maintained at all. user 
ppp+tun interface works perfect.


5) sio driver has bugs. no crashes but overruns are reported by thousands 
unless i patched sio.c to increase buffer eightfold. the real bug is 
somewhere else, and can always be repeated with just

dd if=/dev/ad0 bs=1m of=/dev/null

the larger bs - the larger buffer have to be set to fix it until some 
value than enlarging bs to anything doesn't break things at all.


i don't know how this all works in kernel so have no idea about the real 
fix.


but this fix is enough for now. if you don't use high-speed serial it 
shouldn't be a problem for you anyway.


6) still have to learn ipfw more, an excellent tool! incomparably better 
than NetBSD's ipf!




found no bugs on other things and system works stable. for 4 days now but 
stable without any problems, having stable 921kbps ppp link (which is my 
outbound connection) and all userlevel programs working fine.



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


Re: FreeBSD 6 DVD

2005-11-21 Thread Wojciech Puchar

I would like to know when you will release the official FreeBSD 6 DVD so I
can purchase it from FreeBSDMall. Also I want to know what is including
this DVD. I think must be like other UNIX-like environments that have all
the OS files plus some extra software that you can download them from the
Internet. If so I will be very happy. I am using FreeBSD for a few months
and up to now I am very satisfied with its usage. Also recommend me some
good books how to administer or install properly a FreeBSD server.


included in /usr/share/doc/

:)

just make sure you installed docs with sysinstall.

an excellent set of books!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about ROOT LOGIN

2005-11-21 Thread Wojciech Puchar



I am sitting here beside my FreeBSD machine and suddenly see this:

login: Nov 21 11:54:27 freebsd login: ROOT LOGIN (root) ON ttyv0

and I don't know why it popped up. Isn't ttyv0 the console? You don't
think someone has hacked into my system do you?


try

w


(assuming it's not you just logged as root ;)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SCSI problem?

2005-11-22 Thread Wojciech Puchar


How to read this error message? It happens more and more lately :((

This machine is running 5.4 with one hard disk SCSI 72 MB



exactly as it seems. disk is failing


Olivier

Nov 22 17:42:50 ufo kernel: Copied 18 bytes of sense data offset 12: 0xf1 0x0 
0x3 0x0 0x51 0x3b 0x9f 0xa 0x0 0x0 0x0 0x0 0xc 0x0 0xd3 0x80 0x0 0x18
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): WRITE(10). CDB: 2a 0 0 51 ac 7f 0 
0 4 0
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): CAM Status: SCSI Status Error
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): SCSI Status: Check Condition
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Deferred Error: MEDIUM ERROR 
info:513b9f asc:c,0
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Write error field replaceable 
unit: d3 actual retry count: 24
Nov 22 17:42:50 ufo kernel: (da0:ahd1:0:0:0): Retrying Command (per Sense Data)
N
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



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


Re: iSCSI support

2005-11-22 Thread Wojciech Puchar

from people.


ICBW but to me it seems that iSCSI is like a distributed NFS backend.  You can
store the data on multiple devices, in multiple forms (as long as they
all talk iSCSI).  You can also have two storage sites (geographically
separate) connected by fibre and use those for storage.
same as NFS. while with iSCSI you have exported whole devices that can't 
be really shared with ease. and 100 times more expensive of course that 
just a cheap PC with cheap IDE drives..

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


Re: Project Management Software

2005-11-22 Thread Wojciech Puchar

Could you please tell me if there is any Project Management software that i can 
use with FreeBSD?
Something similar to MS Project..?


i don't know M$ Project but cvs works fine, and is really good as it's 
used by FreeBSD developer for many years !

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


Re: iSCSI support

2005-11-22 Thread Wojciech Puchar

just a cheap PC with cheap IDE drives..


Whole devices accessed directly can be a lot faster than NFS, since the
client doesn't have to constantly ask the NFS server whether the file
it's currently accessing has changed.


any problem to add such option to NFS?? with iSCSI you just CAN't do it.
anyway this asking isn't bandwidth intensive, while adds delays. and it 
may affect of transfer speed for ONE process reading one file, but not 
multiuser system.





And when a cheap IDE in one of the 100 servers in your server room goes
out, you have to find the server, figure out which drives it has in it
and which RAID controller it has, go to your spares cabinet and get the


if company having this 100 servers (must be really huge company or really 
bad software using to need 100 servers) and their IT managers don't know 
what it where and don't know few basic unix command to localize the 
problem source - then here is a problem, and any kind of SAN won't fix it.

the real fix is to employ someone more competent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: iSCSI support

2005-11-22 Thread Wojciech Puchar
affect of transfer speed for ONE process reading one file, but not 
multiuser system.


Regardless of whether iSCSI is any good, it's a common access method for SAN 
devices, and from what I've been told, may be the *only* access method.  So 
AFAIK it's SCSI over FC, SCSI over IP was next probably to eliminate 
expensive FC, that was invented first to make things more expensive.
looks like politicians - first they get 1000$, then give 100$ back and 
say how much they gave ;)


anyway - for already existing iSCSI devices driver won't hurt of course, 
but i'm sure nobody that understand things won't invest in such 
technologies.

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


Re: Project Management Software

2005-11-22 Thread Wojciech Puchar

used by FreeBSD developer for many years !


Software project management is only a small subset of the project
management universe.



of course. in *nix world traditionally there are lots of small programs, 
each doing well it's small work, instead of one huge program.


it's good to concentrate on that solution and then search.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0 GENERIC Kernel perfomance

2005-11-22 Thread Wojciech Puchar

It's only your own opinion until you share with us the measurements
that led you to conclude this.  FreeBSD 6.0 is much faster than
FreeBSD 5.4 in my measurements, especially in the area of filesystem
performance.


exactly same conclusion here! without even any precise benchmarking, just 
as i see doing same things that i used in both FreeBSD 5.4, and NetBSD 
2.0.


Not mentioning linux that is sometimes even faster with... one process..
(and only sometimes)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD GENERIC kernelmodules

2005-11-22 Thread Wojciech Puchar

i have no idea why almost EVERYTHING is kld-modularized, and once again in
generic kernel.

below is my almost generic kernel taking 4 times less space, the only 
difference is that some modules have to be loaded at boot (by 
loader.conf).


wouldn't it be better for true generic kernel? just install by default 
loader.conf that loads almost everything, and then in most cases just 
deleting some lines will be enough instead of recompiling!




my loader.conf and kernel config below:
autoboot_delay=2
if_fxp_load=YES
geom_gpt=YES
atapci_load=YES
atadisk_load=YES
random_load=YES
fdc_load=YES
sio_load=YES
puc_load=YES
atapicd_load=YES
cam_load=YES
atapicam_load=YES
if_tun_load=YES
nfsserver_load=YES
sysvshm_load=YES
sysvsem_load=YES
sysvmsg_load=YES
usb_load=YES
umass_load=YES
linux_load=YES

and my kernel.

ident   SMP-686
options SMP # Symmetric MultiProcessor Kernel
machine i386
cpu I686_CPU

#optionsSCHED_ULE   # ULE scheduler
options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options QUOTA
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=2000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC
device  pci

device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  vga # VGA video card driver
device  sc

# Pseudo devices.
device  loop# Network loopback
device  ether   # Ethernet support
device  pty # Pseudo-ttys (telnet etc)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter



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


growfs - to fear or not to fear?

2005-11-22 Thread Wojciech Puchar

did anyone used this little thing?

i have system like this:

# /dev/ad0:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a: 1843200004.2BSD 2048 16384 28552 (/)
  b:  2457600 18432000  swap
  c: 3125818080unused0 0
  d: 291692208 208896004.2BSD 2048 16384 43400 (/home)


and would like to have one partition+swap, not two.

after booting from CD and turning on shell will

1) copy files from partition a to d, and put files from partition d's root 
to d's home.


mount -o async,noatime /dev/ad0d /mnt
cd /mnt
mkdir home
mv * home
mount -r /dev/ad0a /mnt2
(cd /mnt2;tar cf - .)|tar xpf -
umount /mnt2
cd ..
umount /mnt

2) bsdlabel and delete b, set up a partition to end of disk-1GB, and b 
after a, not deleting d (yes it will overlap temporarily)


3) dd if=/dev/ad0d of=/dev/ad0a bs=1m to move

4) bsdlabel and remove d

5) FINALLY - growfs /dev/ad0a

6) boot0cfg to make it all bootable.




can i do 5) without fear? i want to do full dump of my data, but don't 
like to do it twice (before for sure, and then after repartitioning).

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


Re: FreeBSD GENERIC kernelmodules

2005-11-22 Thread Wojciech Puchar

# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter


Pretty lean kernel configuration.  It's impossible for the GENERIC
kernel though to satisfy everyone, for various reasons.


what i mean is to change generic kernel in FreeBSD releases.

my generic kernel will satisfy more users, and in most cases there is only 
need to rebuild one or a few modules with some added options.


i think kernel modules was invented exactly for this. and loader.conf is 
an excellent thing!


if kernels have to keep most things in it, so why having modules at all?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: recompiled 6.0 does not boot -- need help !!

2005-11-22 Thread Wojciech Puchar

boot:

Simply copy the default line and append .old, as in:

boot: 0:ad(0,a)/boot/loader.old


loader.old??? AFAIK loader is not rebuilt while compiling kernel and there 
is no such file like loader.old created!



Here, you can tell the loader to boot the previous kernel:

OK boot /boot/kernel.old



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


so much clock interrupts?!

2005-11-23 Thread Wojciech Puchar

that's what i see in systat with FreeBSD 6.0/i386-SMP


  540  534   99   pdwak  2000 cpu0: time
16825 pdpgs  2000 cpu1: time


on FreeBSD 5.3 live CD i have 100 not 2000 times per second

isn't it too much?!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: command line sound player?

2005-11-23 Thread Wojciech Puchar


I have searched high and low for a simple command-line sound player that I can 
call from other apps. I need something that just plays the sound, without any 
feedback. Like 'cat sound.wav  /dev/dsp' but without the almost zero 
signal-to-noise ratio.

Any ideas? thanks,


you simply played different type of audio that is set by default in 
/dev/dsp


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


Re: command line sound player?

2005-11-23 Thread Wojciech Puchar

I have searched high and low for a simple command-line sound player that I can 
call from other apps. I need something that just plays the sound, without any 
feedback. Like 'cat sound.wav  /dev/dsp' but without the almost zero 
signal-to-noise ratio.

Any ideas?


if it's C program much better (and much faster) way is to simply open 
file in /dev do ioctl to configure and write to it

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


Re: How the heck do you burn a VCD?

2005-11-24 Thread Wojciech Puchar

best way to burn this.  with the following:

burncd -f /dev/acd1 -d vcd star_wreck_in_the_pirkinning_subtitled_xvid.avi


you must first prepare VCD image - use vcdimager from ports
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: so much clock interrupts?!

2005-11-24 Thread Wojciech Puchar


on FreeBSD 5.3 live CD i have 100 not 2000 times per second

isn't it too much?!


Yes it is.
That's why I have kern.hz=100 in my /boot/loader.conf .
--


do you know why they set it too high in 6.0? there must be a reason!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: so much clock interrupts?!

2005-11-24 Thread Wojciech Puchar

  540  534   99   pdwak  2000 cpu0:
  time
16825 pdpgs  2000 cpu1:
time


on FreeBSD 5.3 live CD i have 100 not 2000 times per second

isn't it too much?!


No, it's just a consequence of HZ=1000 instead of HZ=100.  I've



so why 2000 not 1000?

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


growfs(8) - no fear!

2005-11-24 Thread Wojciech Puchar
i asked the question recently, no answers, but finally did it this way and 
all worked fine. i shifted my partition left with dd and resized with 
growfs.


but can bsdlabel be forced to write label with overlapping slices? for 
temporary operations it will be useful if i know what i'm doing.


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


installing without sysinstall - question.

2005-11-24 Thread Wojciech Puchar


if i would like to install FreeBSD without sysinstall, what things should 
i do after:


1) dd if=/dev/zero of=/dev/ad0 bs=1m count=1 to clean up the disk (or da0 
or else depending what king of disk is used)

2) bsdlabel -w ad0
3) bsdlabel -e ad0 and edit my slices
4) newfs my slices
5) boot0cfgbsdlabel -B.

CAN be just bsdlabel -B used with FreeBSD-only partitioning?

6) mount destination structure under /mnt  export DESTDIR=/mnt
7) in each distribution directory do ./install.sh
8) create /mnt/etc/fstab, edit rc.conf etc.


what else must be done to install system this way?

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


Re: defaultroute

2005-11-24 Thread Wojciech Puchar

Is there a way after changing the value
defaultroute in /etc/rc.conf that freebsd accepts
the change without restarting?


man route

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


Re: so much clock interrupts?!

2005-11-24 Thread Wojciech Puchar

That's why I have kern.hz=100 in my /boot/loader.conf .


Have you been able to measure a performance benefit from reducing it?
Have you shown that reducing it does not cause your performance to
*drop*?  It was increased for a reason..it actually increases
performance on some workloads.


no i'm just asking.

does hz=1000 means that if i run 1 CPU-bound process per processor it's 
switched 1000 times per second between them? or just 1000 times per second 
system call is issued that does many system duties, but switches processes 
with different frequency?

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


Re: so much clock interrupts?!

2005-11-24 Thread Wojciech Puchar

No, it's just a consequence of HZ=1000 instead of HZ=100.  I've



so why 2000 not 1000?

2000 on each processor!


Technical reasons..anyway, 2000 might look like a large number to you,
but it's really not unless you're on a very slow machine (like a 486).


i'm asking why it's 2000, not 1000.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: so much clock interrupts?!

2005-11-25 Thread Wojciech Puchar


I'm also wondering wether 1000 Hz on a Soekris net4801 (Geode 266 MHz)
won't be overkill. I'm planning to migrate some of them from 5.4 to 6.0,


probably not.

my 400Mhz PII works almost as fast with HZ=1000 and HZ=100 - tested today


and doubting wether to change the new default to its more conservative
previous setting of 100 Hz.


This may be a religious issue and everyone should use what he or she
seems fitting.


On slow CPUs, it may not be merely a religious issue. :)


Markus


-cpghost.

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



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


NCQ SATA drives

2005-11-26 Thread Wojciech Puchar
will FreeBSD make any use of that feature? it can with command queue with 
SCSI drives, and this looks similar

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


right place to load kld modules

2005-11-26 Thread Wojciech Puchar
where is right place to do it, other than loader.conf, to load it after 
kernel is started.


i would like to defer usb bus discovery so SCSI bus numbering is 
independent of USB storage devs connected.


i put it for now in usbd but is there any place made for that, like 
/etc/lkm.conf in NetBSD?

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


Re: Newbie Q: freeBSD vs openBSD

2005-11-27 Thread Wojciech Puchar


Newbie for freeBSD. One question freeBSD vs openBSD...what's the
difference...security...supportdevelopment stage...other pros  cons
for each.


People say that OpenBSD is the most secure.
I say i would be as secure as it's system administrator.

If we talk about performance, i agree with most people's opinion :)


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


GNOME+NetBSD based X-terminal

2005-11-27 Thread Wojciech Puchar
sorry for cross-posting, or exactly reposting after getting no answer, 
it's not exactly FreeBSD-related but if anyone know, please give me a 
clue.


i'm not GNOME expert, to be exact - i don't use it privately at all, but 
i have to configure it for others.


the problem:

first - system(s) configuration:

1) host machine running NetBSD, or FreeBSD or linux (no matter, same effects) 
with GNOME version 2.=10 (all version give same effects), running gdm for 
remote displays. no X local display.


2) X-terminals which are super-cut version of NetBSD 1.5.3+statically compiled 
X server that runs with -query to host machine 1). No fonts, uses font server 
on 1) too.



such configuration works perfect if i use fvwm2 and icewm and twm, using 
both gdm and xdm for logging in.


it works perfect too if after using fvwm2 or icewm i will log out and THEN log 
on into gnome desktop.


BUT - if i log on into gnome desktop at first time (after X server started) it 
crashes after a short while - before displaying any progress, or quickly after 
displaying gnome startup window.


X crashes without first putting anything to it's log.


problem is at first login after X server start, NOT X terminal's NetBSD start. 
if i would press CTRL-ALT-Backspace so X server will exit and (by script on 
terminal) restart, it works as first start.


could anyone help me how to find a problem at all. i just have no idea where to 
search!



after this: my X terminals have no problem handling any apps, with and without 
gnome. i'm actually using them in many places for many uses - no problems.

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


Re: Newbie Q: freeBSD vs openBSD

2005-11-27 Thread Wojciech Puchar
it seems the OpenBSD group doesn't actually like questions. You can get 
flamed for the best worded question. Under FreeBSD, the community is more 
open to ideas and people trying things.


In addition...some parts of the core of OpenBSD cannot easily be upgraded w/o 
issues. (Like openSSL for example)...and if you try and fail and ask for 
helpwell read above again !


but they have nice 2.6MB photo available at the main webpage about how 
many machines do they have ;)


citation:

Only one remote hole in the default install, in more than 8 years! 

well:

MS-DOS

No security hole in default install from beginning to the end!

mostly because no network is supported in DOS.

similarly - OpenBSD just don't run any services in default install, like 
NetBSD, so it's strange it has even one security hole.


i'm not sure with NetBSD (which i'm using some time) but AFAIK it's zero 
security holes in default install because only syslogd is started by 
default. With FreeBSD there is no default install as there are couple of 
questions about network, NFS, inetd etc..


assuming one will answer no to all, how many security holes will there be.

last thing - lots of things (most) are from ports. and no matter what BSD 
is it, or linux, there are same programs having same bugs.



for all that think about security please don't use popular books, learn by 
yourself, and don't configure and use things like everyone else do!


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


Re: sendmail from src on 6.0

2005-11-27 Thread Wojciech Puchar


i'm in database libraries well, but default sendmail from FreeBSD 6.0 
install - which i use - looks that way


[EMAIL PROTECTED] file aliases.db
aliases.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)

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


Re: right place to load kld modules

2005-11-27 Thread Wojciech Puchar

/etc/lkm.conf in NetBSD?


How about /etc/rc.local or create a script file to go in
/usr/local/etc/rc.d to do what you want?


rc.local starts after usbd, and module driver that is attached after 
inserting the device does not attach!


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


Re: right place to load kld modules

2005-11-27 Thread Wojciech Puchar


rc.local starts after usbd, and module driver that is attached after 
inserting the device does not attach!


is it bug?



don't we load modules in /boot/loader.conf ?



yes i do, but kldload is too here.

if i - say - attach USB pendrive with no umass.ko loaded, nothing is of 
course attached


after kldload umass there is STILL nothing attached.

after removing the device and plugging again - it's attached.

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


  1   2   3   4   5   6   7   8   9   10   >