problem in Linux-emulation and may be in NVidia drivers

2004-08-03 Thread Roman Vasiliev
Hi.
I have two question. I hope what someone helps me.
First:
  I have NVidia fx5600 and installs drivers from
/usr/ports/x11/nvidia-driver

# cat /boot/loader.conf
hw.ata.ata_dma=0
nvidia_load=YES
linux_load=YES # Linux emulation

First run glxgears shows ~2000 fps but second ~10 fps. And whole OpenGL
application lags.
Problem solves in changing on NVidia mx 4400. All works fine.
Second:
I have Maya 6.0 and 5.0. And on 4.10 Jul

# stat /usr/src/UPDATING
291840 340045 -rw-r--r-- 1 root wheel 1395128 43781 Jul 28 13:45:10
2004 Jul 17 18:33:11 2004 Jul 17 18:33:11 2004 16384 88 0
/usr/src/UPDATING

17 18:33:11 2004
After normal start. and showing interface both Maya 5.0 and 6.0 fails.

%/compat/linux/bin/csh /compat/linux/usr/aw/maya5.0/bin/maya
Maya (R), Version 5.0, 2003 04 01 00 02
Copyright 1997-2003 Alias|Wavefront, a division of Silicon Graphics Limited.
All rights reserved.
Graph Layout Toolkit
Copyright 1992-1997 Tom Sawyer Software, Berkeley, California
All rights reserved.
maya encountered a fatal error
Signal: 4 (Unknown Signal)
Attempting to save in
   /usr/tmp/romis.20040728.1326.ma

The same result on 5.2.1 current.
But near by 2 years ago i runs Maya 4.5 on FreeBSD somthing like 4.6.
And all works fine.
Please help. For me very convinient development on FreeBSD. And for that
me needed Maya.
But old version I haven't now.

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


using a disk mirrored with dd

2004-08-03 Thread Matt
I have a machine running 4.10-RELEASE-p2 with two identical hard disks
-- ad0 and ad2. I would like to make a complete copy of the first disk
to the second disk nightly for quick disaster recovery.

I've dd'ed the disk as follows

# dd if=/dev/ad0 of=/dev/ad2

and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows

# disklabel -e -r ad2

However, I'm still unable to mount the root partion (or any other
partition) of the second disk to tweak /etc/fstab etc. even though

# mount /dev/ad2s1a /mnt
mount: /dev/ad2s1a: Operation not permitted

What am I missing? Is there anything else I need to do beyond editing
the disklabel to allow me to use the mirrored disk?

Output of disklabel for the two disks follows:

# disklabel ad0
# /dev/ad0c:
type: ESDI
disk: ad0s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 4864
sectors/unit: 78156162
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
  b:  5242880   409600  swap# (Cyl.   25*- 351*)
  c: 781561620unused0 0 # (Cyl.0 - 4864*)
  e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
  f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
  g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

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

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
  b:  5242880   409600  swap# (Cyl.   25*- 351*)
  c: 781561620unused0 0 # (Cyl.0 - 4864*)
  e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
  f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
  g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

Thanks for any insight, and let me know if you need to see anything else.

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


Re: using a disk mirrored with dd

2004-08-03 Thread Konrad Heuer

On Tue, 3 Aug 2004, Matt wrote:

 I have a machine running 4.10-RELEASE-p2 with two identical hard disks
 -- ad0 and ad2. I would like to make a complete copy of the first disk
 to the second disk nightly for quick disaster recovery.

 I've dd'ed the disk as follows

 # dd if=/dev/ad0 of=/dev/ad2

 and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows

 # disklabel -e -r ad2

 However, I'm still unable to mount the root partion (or any other
 partition) of the second disk to tweak /etc/fstab etc. even though

 # mount /dev/ad2s1a /mnt
 mount: /dev/ad2s1a: Operation not permitted

 What am I missing? Is there anything else I need to do beyond editing
 the disklabel to allow me to use the mirrored disk?

 Output of disklabel for the two disks follows:

 # disklabel ad0
 # /dev/ad0c:
 type: ESDI
 disk: ad0s1
 label:
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4864
 sectors/unit: 78156162
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

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

 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)

 Thanks for any insight, and let me know if you need to see anything else.

Did you do the dd-copy while the system was running multi-user from the
first disk? I'd expect larger problems then because the file systems
inconsistencies on the second disk may never be resolved.

If you did it in single user mode, a 'fsck -y' for each file system on the
second disk before trying to mount may help.

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]

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


Re: using a disk mirrored with dd

2004-08-03 Thread Matt
On Tue, 3 Aug 2004 08:43:24 +0200 (CEST), Konrad Heuer [EMAIL PROTECTED] wrote:
 
 
 
 On Tue, 3 Aug 2004, Matt wrote:
 
  I have a machine running 4.10-RELEASE-p2 with two identical hard disks
  -- ad0 and ad2. I would like to make a complete copy of the first disk
  to the second disk nightly for quick disaster recovery.
 
  I've dd'ed the disk as follows
 
  # dd if=/dev/ad0 of=/dev/ad2
 
  and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows
 
  # disklabel -e -r ad2
 
  However, I'm still unable to mount the root partion (or any other
  partition) of the second disk to tweak /etc/fstab etc. even though
 
  # mount /dev/ad2s1a /mnt
  mount: /dev/ad2s1a: Operation not permitted
 
[snip]
  Thanks for any insight, and let me know if you need to see anything else.
 
 Did you do the dd-copy while the system was running multi-user from the
 first disk? I'd expect larger problems then because the file systems
 inconsistencies on the second disk may never be resolved.
 
 If you did it in single user mode, a 'fsck -y' for each file system on the
 second disk before trying to mount may help.

Yep, slaps self fsck -y did the trick.

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


Re: Headless Install

2004-08-03 Thread Maksym Marchenko

I try to install 4.10 on headless PC(without a monitor and vga output)
So I've used my laptop as a serial console (via null modem cable).
All was wonderfull, but after end of install procedure und reboot,
I see with this terminal (cu -l /dev/cuaa0) all and the date for
the login line. But not the login prompt. So I can't to log in and
do anything.
What have I to do, to log in this headless PC?
Maksym, you need to start a getty process on the serial line,
by editing /etc/ttys like this:
console noneunknown off secure
ttyv0   /usr/libexec/getty Pc cons25  off  secure
ttyv1   /usr/libexec/getty Pc cons25  off  secure
ttyv2   /usr/libexec/getty Pc cons25  off  secure
ttyv3   /usr/libexec/getty Pc cons25  off  secure
ttyv4   /usr/libexec/getty Pc cons25  off  secure
ttyv5   /usr/libexec/getty Pc cons25  off  secure
ttyv6   /usr/libexec/getty Pc cons25  off  secure
ttyv7   /usr/libexec/getty Pc cons25  off  secure
ttyd0   /usr/libexec/getty std.9600   dialup  on secure
ttyd1   /usr/libexec/getty std.9600   dialup  off secure
ttyd2   /usr/libexec/getty std.9600   dialup  off secure
ttyd3   /usr/libexec/getty std.9600   dialup  off secure
In /stand/sysinstall (or /usr/sbin/sysinstall), you can edit
ttys.
I'm running 5.2-CURRENT on net4801 Soekris hardware, and this
is exaclty what is needed to get login prompt on the serial
console.

Thanks! It works pre[tty] good! :-)
I have two more questions :
Sometimes I see warning:
terminal is not fully functional.
So I can't edit kernel file mit ee - the text is shown shifted in their 
lines.
Must I use another terminal program to help this?

And what you can do with headless PC? Can you control this PC only in
command prompt? Or (may be) you can use anything like X - twm?
Thanks in advance.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wm dropping keypresses since moving to xorg (strange) -- SOLVED

2004-08-03 Thread epilogue
On Mon, 2 Aug 2004 20:17:08 -0400
epilogue [EMAIL PROTECTED] wrote:

 
 thanks to some very kind help from dejan, and after a little stress
 testing on my end, i believe that it is safe to declare this problem
 solved.
 
 --
 the fix:
 --
 
 /usr/X11R6/lib/X11/xkb/symbols/pc/pc
 
 snip
   //  Fake keys for virtual-real modifiers mapping 
 key LVL3 {[ ISO_Level3_Shift  ]   };
 key MDSW {[ Mode_switch   ]   };
 modifier_map Mod5   { LVL3, MDSW };
 
 key ALT  {[ NoSymbol, Alt_L   ]   };
 modifier_map Mod1   { ALT, LALT };
 snip
 
 add RALT to:
 modifier_map Mod1   { ALT, LALT, RALT };

since the first adjustment, i eventually noted a slight change in the way
the windows key was functioning (dropping certain keypresses). to restore
the expected behaviour, i simply added LWIN and RWIN to another line in
the same section of file mentioned above:

key SUPR {[ NoSymbol, Super_L ]   };
//  modifier_map Mod4   { SUPR };
modifier_map Mod4   { SUPR, LWIN, RWIN };

as there is only 1 windows key on my keyboard, i am not certain whether
both WIN values were strictly necessary, but all seems now to be working.


 save file and restart x.
 
 
 hello anholt,
 copying you in case you want to feed this back up the pipe to xorg. 
 dejan also located this old link, which you might find of interest:
 
 http://bugs.xfree86.org/show_bug.cgi?id=580
 
 
 cheers,
 epi
 
 --
 On Mon, 2 Aug 2004 15:42:53 -0400
 epilogue [EMAIL PROTECTED] wrote:
 
  
  hello all,
  
  well, i was beginning to think that i was either hallucinating or
  suffering from some sort of bizarre nerve damage...   but i seem to
  have made some progress in analysing this problem.
  
  i have attached a (sorted and commented) file with output from xev. 
  the problem always affects only the right-alt key, despite the various
  xkbmodels i select (or leave blank).
  
  i also came across two other reports of the same behaviour:
  
  http://lists.debian.org/debian-devel/2004/06/msg01410.html
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261816
  
  as you can see, they're from deb.  they seem to have isolated the
  problem to a symbols/pc file within x11, not fluxbox.  a patch is
  provided, but it does not apply cleanly to the version of xorg that i
  have installed.
  
  i would very much appreciate any suggestions.
  
  
  thank you,
  epi
  
  ---
  Begin forwarded message:
  
  Date: Tue, 27 Jul 2004 00:33:30 -0400
  From: epilogue [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: wm dropping keypresses since moving to xorg (strange)
  
  
  hello x11, questions,
  
  i have some reservations about sending this in, because it sounds a bit
  weird, but i've jumped through all the usual self-serve hoops and i'm
  about at my wits end.
  
  since switching to xorg, when i alt+tab to a window with my wm of
  choice(fluxbox-devel), the 1st keypress is always dropped in the new
  window, regardless of whether that window is a *term, mail client,
  browser, ...
  
  say i alt+tab to an xterm.  for 'man' to appear on the command line, i
  must type 'mman' or 'ccd' for 'cd'.
  
  the window only drops that 1st key.  if i alt+tab away and come back,
  it will again drop only the 1st key.
  
  
  here is what i know:
  
  1) it doesn't happen if i use the mouse.
  2) this problem was not apparent when i tested for it with icewm or
  xfce4. 3) fluxbox used to play very nicely with xfree.
  
  
  here is what i've tried:
  
  1) google, fbsd and xorg mailing lists.
  2) contacted the fluxbox developers over irc.  several are running xorg
  and fluxbox on linux without the problems i'm seeing.(?!)
  3) rebuilt xorg then fluxbox-devel.  removed .fluxbox to ensure that
  the default settings would load.
  4) played with xorg.conf (used old xfree.conf, built a new xorg.conf,
  and changed various settings withing xorg.conf)
  5) attempted to pinpoint the issue via xev, but failed miserably.
  
  
  it smells like some sort of 'focus' problem to me.  any suggestions
  would be very much appreciated.
  
  hoping that i'm not alone here.
  
  
  thanks,
  epi
  
  
  p.s. a little additional info for any of you who know a bit about
  fluxbox settings.  the problem seems only to occur with those
  keybindings(like alt+tab) which are mapped to 'NextWindow' or
  'NextWindow 1' but_not_ with 'NextTab'.  naturally, the same holds true
  for the shift+foo combos which translate to 'Previous'.
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-x11
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-x11
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  

Re: FreeBSD 5.2.1 kernel w/ SMP under high load = panic

2004-08-03 Thread Jorn Argelo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 03 August 2004 02:07, Chuck Rock wrote:
 I had a similar problem with this release running on any Dell 2550 Rack
 server I had. I tried three different servers with the same config, and I
 had kernel panics at various times. All of them had different information
 on the screen at each panic.

 I had several people tel lme they had no such problems with the same
 systems.

 I chalked it up to bad driver for the PERC3/DC raid controller. All panics
 seemd to happen under very high disk I/O. The machine would run fine for a
 few days, then just puke.

 I moved all the stuff over to a refurb Compaq Dual Xeon 2.8, and have had
 only one problem lockup in the 5 months I've been running it under
 increasing loads. The last lockup I had also seemed related to disk I/O.

 Otherwise, 5.2.1 has been a very stable production server processing over
 1 million E-mail's a day incoming and hundred thousand out.

 Chuck


During my traineeship we had an PowerEdge 2650 (Dual Xeon with FreeBSD 5.1 at 
that time). The machine had quite high loads (8.00 - 11.00, which was 24/7), 
but it kept working most times. Sometimes after a few days or weeks it 
resulted in a panic. My mentor (who was the Unix specialist) said that it was 
probably been caused by the RAID controller as well. It was a PERC2/DC or 
PERC3/DC, not really sure. I think it's the latter. Anyway, when 5.2 came 
out, my mentor immediately upgraded to 5.2, and the machine became rock 
solid, even with very high loads. It was a monitoring machine, which 
collected over 1600 SMNP requests from every server, so I'm not really sure 
if that produces an high disk I/O or not. 

Perhaps the story is not interesting, but I felt like sharing that.

Cheers,

Jorn


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD0gQs2lBCry7iusRAozeAJ9ID3yBuNSui9EU7tuLJaPZcOc67wCfT7UQ
LB+IWXbsYiQQZNs/2CJYz64=
=r1AQ
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


optio 30 freebsd 5.2.1 p9

2004-08-03 Thread mark rowlands
Any one had any luck getting this to work under 5.2.1 p9?
It is detected as a pentax pentax optio 30 (that's not a misprint)
but as attatches as ugen0 which I presume means that umass does not
recognize it? 

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


Can't log in KDE, kdeinit.core ksplash.core dumps

2004-08-03 Thread Ahmad Zulkarnain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi guys,
I try loggin in KDE usin Alsemo (my normal user's id) and put the
password then I hit [Enter]. The KDE's splash screen appeared and all
of the sudden the splash screen is gone and froze. Ctrl+Alt+F* and
Ctrl+Alt+BackSpace didn't do any good and the mouse is immobilized. I
had to hard-reboot and when the KDM greeted me again, I try loggin in
to KDE again usin Alsemo but after I hit [Enter], the screen went back
to KDM creatin an endless cycle of tryin to log in but failed. dmesg
tells me:
pid 676 (ksplash), uid 1001: exited on signal 11 (core dumped)
pid 687 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 688 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 690 (kdeinit), uid 1001: exited on signal 11 (core dumped)
pid 693 (kdeinit), uid 1001: exited on signal 11 (core dumped)
and there's kdeinit.core and ksplash.core dumps in my home directory.
There's also a .xsession-errors file which says:
startkde: Starting up...
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
QSettings: malformed line '' in group 'General'
QSettings: malformed line '' in group 'General'
QSettings: malformed line '' in group 'General'
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
QSettings: malformed line '' in group 'General'
DCOP aborting call from 'anonymous-686' to 'kded'
ERROR: Communication problem with kded, it probably crashed.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
QSettings: malformed line '' in group 'General'
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
QSettings: malformed line '' in group 'General'
DCOP aborting call from 'anonymous-689' to 'knotify'
ERROR: Communication problem with knotify, it probably crashed.
Xlib:  extension GLX missing on display :0.0.
Xlib:  extension GLX missing on display :0.0.
QSettings: malformed line '' in group 'General'
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
I'm totally lost. I tried disablin KDM in /etc/ttys and Alsemo can log
in X (not KDE). When I enable KDM again, the same error persist. The
mind-bogglin thing bout this is that root can log in KDE without
problem. Help/tips are very much appreciated. If the output of
kdeinit.core  ksplash.core is needed, I'll post it in the next email.
Thanks!
- --
Karl
http://www.alsemo.isdangerous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBD2wJZ7L55/p4Pw4RAlJgAKDPVsGrBUk/zNzuHZM4vCAr5mQ0YACgzsgT
+dQ/U9oc8ot7xjYoS1bQy6U=
=TpdH
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't log in KDE, kdeinit.core ksplash.core dumps

2004-08-03 Thread Jorn Argelo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 03 August 2004 12:42, Ahmad Zulkarnain wrote:
 Hi guys,

[snip]

 startkde: Starting up...
 Xlib:  extension GLX missing on display :0.0.

You already gave the answer to your problem. Make sure you load the GLX 
module, which can be enabled in your XF86Config file.

Cheers,

Jorn


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD3AZs2lBCry7iusRAmyKAKCxaDr69FdbIeLgIUhsk2PlCYIGkACbB9HF
4Ka65wBcc6rB3HXKw3DCwog=
=5f4T
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't log in KDE, kdeinit.core ksplash.core dumps

2004-08-03 Thread Ahmad Zulkarnain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jorn Argelo wrote:
| On Tuesday 03 August 2004 12:42, Ahmad Zulkarnain wrote:
|
| Hi guys,
|
| [snip]
|
| startkde: Starting up... Xlib:  extension GLX missing on
| display :0.0.
|
|
| You already gave the answer to your problem. Make sure you load the
| GLX module, which can be enabled in your XF86Config file.
|
| Cheers,
|
| Jorn
|
|
The Glx problem seems to be solve (Thanks Jorn) but my normal user's
id still can't log in KDE. Here's the new .xsession-errors output.
startkde: Starting up...
QSettings: malformed line '' in group 'General'
QSettings: malformed line '' in group 'General'
QSettings: malformed line '' in group 'General'
QPixmap: Cannot create a QPixmap when no GUI is being used
QPixmap: Cannot create a QPixmap when no GUI is being used
QSettings: malformed line '' in group 'General'
DCOP aborting call from 'anonymous-559' to 'kded'
ERROR: Communication problem with kded, it probably crashed.
QSettings: malformed line '' in group 'General'
QSettings: malformed line '' in group 'General'
DCOP aborting call from 'anonymous-562' to 'knotify'
ERROR: Communication problem with knotify, it probably crashed.
QSettings: malformed line '' in group 'General'
startkde: Shutting down...
KLauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
and I got this new xclock.core dump in my home directory. Help is
appreciated. Thanks.
vampire# uname -a
FreeBSD vampire.home.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sun
Jun 20 03:25:38 MYT 2004
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/VAMKERNEL i386
runnin on Clevo M22ES
- --
Karl
http://www.alsemo.isdangerous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBD3w9Z7L55/p4Pw4RArP8AJ4waS/prnoYuVB6Y0x7iVrwr2qj/ACfTkHi
SBLcyGMUwdHRyBf9br8mO70=
=tT+3
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't log in KDE, kdeinit.core ksplash.core dumps

2004-08-03 Thread Jorn Argelo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 03 August 2004 13:51, Ahmad Zulkarnain wrote:
 Jorn Argelo wrote:
 | On Tuesday 03 August 2004 12:42, Ahmad Zulkarnain wrote:
 | Hi guys,
 |
 | [snip]
 |
 | startkde: Starting up... Xlib:  extension GLX missing on
 | display :0.0.
 |
 | You already gave the answer to your problem. Make sure you load the
 | GLX module, which can be enabled in your XF86Config file.
 |
 | Cheers,
 |
 | Jorn

 The Glx problem seems to be solve (Thanks Jorn) but my normal user's
 id still can't log in KDE. Here's the new .xsession-errors output.

 startkde: Starting up...
 QSettings: malformed line '' in group 'General'
 QSettings: malformed line '' in group 'General'
 QSettings: malformed line '' in group 'General'
 QPixmap: Cannot create a QPixmap when no GUI is being used
 QPixmap: Cannot create a QPixmap when no GUI is being used
 QSettings: malformed line '' in group 'General'
 DCOP aborting call from 'anonymous-559' to 'kded'
 ERROR: Communication problem with kded, it probably crashed.
 QSettings: malformed line '' in group 'General'
 QSettings: malformed line '' in group 'General'
 DCOP aborting call from 'anonymous-562' to 'knotify'
 ERROR: Communication problem with knotify, it probably crashed.
 QSettings: malformed line '' in group 'General'
 startkde: Shutting down...
 KLauncher: Exiting on signal 1
 startkde: Running shutdown scripts...
 startkde: Done.

 and I got this new xclock.core dump in my home directory. Help is
 appreciated. Thanks.

 vampire# uname -a
 FreeBSD vampire.home.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Sun
 Jun 20 03:25:38 MYT 2004
 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/VAMKERNEL i386

 runnin on Clevo M22ES

Can you give us your XF86Config file? Also, post all the relevant errors 
from /var/log/XFree86.log 

Jorn

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD35Ys2lBCry7iusRAgzEAJoD+2hUNCPOjMIz9BeqpRzJkq+GEgCgkDi+
r0FYbiDLRVsplepPcWxBfu0=
=SSX9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NTFS alternative driver

2004-08-03 Thread Kyryll Mirnenko
If found out ntfs kernel module doesn't support writing. Is there an
alternative way to get r/w (!) access to NTFS (I'm running 5.2.1)? No
advanced features (like ACL, resident files, etc.) are needed, just simple
write operations to make some apps run in wine.

--
Regards, Mirya

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


Samsung ML-1510 under FreeBSD

2004-08-03 Thread Gareth Bailey
Hello all,

I am trying to set up a Samsung ML-1510 on my 4.10 release server. I've
had a look at linuxprinting.org and it is supported but i'm not clear on
what i need to install/do to get it working on FreeBSD.

Can i use cups? I see there is cups and cups-lpr in ports.

Could anyone give some advice on an easy way to get this up-and-running?

Thanks,
Gareth Bailey


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


Re: Can't log in KDE, kdeinit.core ksplash.core dumps

2004-08-03 Thread Ahmad Zulkarnain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jorn Argelo wrote:
| On Tuesday 03 August 2004 13:51, Ahmad Zulkarnain wrote:
|
| Jorn Argelo wrote: | On Tuesday 03 August 2004 12:42, Ahmad
| Zulkarnain wrote: | Hi guys, | | [snip] | | startkde: Starting
| up... Xlib:  extension GLX missing on | display :0.0. | |
| You already gave the answer to your problem. Make sure you load
| the | GLX module, which can be enabled in your XF86Config file. |
|  | Cheers, | | Jorn
|
| The Glx problem seems to be solve (Thanks Jorn) but my normal
| user's id still can't log in KDE. Here's the new .xsession-errors
| output.
|
| startkde: Starting up... QSettings: malformed line '' in group
| 'General' QSettings: malformed line '' in group 'General'
| QSettings: malformed line '' in group 'General' QPixmap: Cannot
| create a QPixmap when no GUI is being used QPixmap: Cannot create
| a QPixmap when no GUI is being used QSettings: malformed line ''
| in group 'General' DCOP aborting call from 'anonymous-559' to
| 'kded' ERROR: Communication problem with kded, it probably
| crashed. QSettings: malformed line '' in group 'General'
| QSettings: malformed line '' in group 'General' DCOP aborting
| call from 'anonymous-562' to 'knotify' ERROR: Communication
| problem with knotify, it probably crashed. QSettings: malformed
| line '' in group 'General' startkde: Shutting down... KLauncher:
| Exiting on signal 1 startkde: Running shutdown scripts...
| startkde: Done.
|
| and I got this new xclock.core dump in my home directory. Help is
|  appreciated. Thanks.
|
| vampire# uname -a FreeBSD vampire.home.net 5.2.1-RELEASE FreeBSD
| 5.2.1-RELEASE #2: Sun Jun 20 03:25:38 MYT 2004
| [EMAIL PROTECTED]:/usr/src/sys/i386/compile/VAMKERNEL i386
|
| runnin on Clevo M22ES
|
|
| Can you give us your XF86Config file? Also, post all the relevant
| errors from /var/log/XFree86.log
|
| Jorn
|
Sorry fer late reply, I have to swap back  forth from FreeBSD - XP
coz FreeBSD is currently unable to go internet.
As I'm still dumb bout FreeBSD, I can't make out what's the relevant
error(s) that I should post. Because the files is quite lengthy, I
hope url is ok fer postin and I've just uploaded the files as stated
below.
a
href=http://home.graffiti.net/alsemo/contents/XF86Config.txt;/etc/X11/XF86Config/a
a
href=http://home.graffiti.net/alsemo/contents/kdm.log.txt;/var/log/kdm.log/a
a
href=http://home.graffiti.net/alsemo/contents/XFree86.0.log.txt;/var/log/XFree86.0.log/a
a
href=http://home.graffiti.net/alsemo/contents/XFree86.8.log.txt;/var/log/XFree86.8.log/a
I hope this is the correct files. My root account seems to be fine
when loggin in KDE with no error whatsoever. Thanks again. Sorry fer
takin your time.
- --
Karl
http://www.alsemo.isdangerous.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBD4nqZ7L55/p4Pw4RAvN9AJ4jAw5qwNWfUeKD3eE5bz2WUdAUIQCfZx3e
cDdDQJknynZuHQgBqS47eRI=
=425Q
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kdm or GNOME-session hangs?

2004-08-03 Thread Vlad Tudorache
I'm using FreeBSD 4.10 with a custom kernel. I have two problems:
1) If ACPI support activated, my fdc0 does not work (the kernel can not reserve I/O 
port addresses for it). Without ACPI, everything works OK, but:
2) When using kdm as display manager, if I select GNOME session as root and then try 
to halt/reboot directly from the GNOME's logout menu, the system appears to hang until 
I press Ctrl-Alt-Del. After that, the system reboots (of course). What's the problem? 
How can I solve it? This is not encountered in Linux, for example.
Thank you.






Home, no matter how far...
http://www.home.ro
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samsung ML-1510 under FreeBSD

2004-08-03 Thread Ruslan N. Gogunsci
Hello,

On Tue, 3 Aug 2004 14:47:48 +0200
Gareth Bailey [EMAIL PROTECTED] wrote:

 Hello all,
 
 I am trying to set up a Samsung ML-1510 on my 4.10 release server. I've
 had a look at linuxprinting.org and it is supported but i'm not clear on
 what i need to install/do to get it working on FreeBSD.
 
 Can i use cups? I see there is cups and cups-lpr in ports.
I don't have 1510, but i use ML-1250 and cups without any problems. I don't remember 
where, but when i interested does freebsd support my printer, i read that i must 
choose type like HP LaserJet 4 series
 
 Could anyone give some advice on an easy way to get this up-and-running?
 
 Thanks,
 Gareth Bailey
 
 
 ___
 [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: using a disk mirrored with dd

2004-08-03 Thread Bill Moran
Matt [EMAIL PROTECTED] wrote:

 I have a machine running 4.10-RELEASE-p2 with two identical hard disks
 -- ad0 and ad2. I would like to make a complete copy of the first disk
 to the second disk nightly for quick disaster recovery.
 
 I've dd'ed the disk as follows
 
 # dd if=/dev/ad0 of=/dev/ad2
 
 and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows
 
 # disklabel -e -r ad2
 
 However, I'm still unable to mount the root partion (or any other
 partition) of the second disk to tweak /etc/fstab etc. even though
 
 # mount /dev/ad2s1a /mnt
 mount: /dev/ad2s1a: Operation not permitted

What is your securelevel?  See man securelevel.

 
 What am I missing? Is there anything else I need to do beyond editing
 the disklabel to allow me to use the mirrored disk?
 
 Output of disklabel for the two disks follows:
 
 # disklabel ad0
 # /dev/ad0c:
 type: ESDI
 disk: ad0s1
 label: 
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4864
 sectors/unit: 78156162
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0 
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)
 
 # disklabel ad2
 # /dev/ad2c:
 type: ESDI
 disk: ad2s1
 label: 
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 4864
 sectors/unit: 78156162
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # milliseconds
 track-to-track seek: 0  # milliseconds
 drivedata: 0 
 
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
   b:  5242880   409600  swap# (Cyl.   25*- 351*)
   c: 781561620unused0 0 # (Cyl.0 - 4864*)
   e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
   f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
   g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)
 
 Thanks for any insight, and let me know if you need to see anything else.
 
 -Matt
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


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


Disk mirroring with 'dd' and (expletives) USB ISDN modem

2004-08-03 Thread Chris Martinus
For years I have backed up my FreeBSD systems using tcopy.  I use removeable disk 
trays for fast recovery.  All disks are configured bus master and are connected to 
different IDE controllers.
 
tcopy /dev/ad0 /dev/ad2
fsck -y /dev/ad2a
 
works just great!  There's just a whinge from tcopy when it tries to rewind the disk 
(tcopy = 'tape copy').  The only caveat is that the drives should be identical.
 
Now for my question.  I have been trying to get a USB ISDN modem (Microcom ISDN USB 
Travel/C) hooked up.  Currently using FreeBSD 4.8.  After googling etc I found 
references to device umodem  device ucom.  Tried compiling them in, but nothing 
other than the ugen driver finds the modem.
 
The modem never even powers up, though it works fine with Windoze.  Can anyone point 
me in the right direction?
 
Chris Martinus
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using a disk mirrored with dd

2004-08-03 Thread Jerry McAllister
 
 Matt [EMAIL PROTECTED] wrote:
 
  I have a machine running 4.10-RELEASE-p2 with two identical hard disks
  -- ad0 and ad2. I would like to make a complete copy of the first disk
  to the second disk nightly for quick disaster recovery.
  
  I've dd'ed the disk as follows
  
  # dd if=/dev/ad0 of=/dev/ad2
  
  and edited the disklabel of the second disk to change ad0s1 to ad2s1 as follows
  
  # disklabel -e -r ad2
  
  However, I'm still unable to mount the root partion (or any other
  partition) of the second disk to tweak /etc/fstab etc. even though
  
  # mount /dev/ad2s1a /mnt
  mount: /dev/ad2s1a: Operation not permitted

Not an answer to your specific question, but I would suggest doing
the whole thing a little differently.

First fdisk, disklabel and newfs the drive to make the filesystems
you want, including making the slice bootable, etc.   Then copy
each filesystem on the previous disk using dump(8)/restore(8).   
If you have enough scratch space, you can dump to files in spare space 
and then restore from those.  Or, you can pipe a dump to a restore.  
It is preferable to using dd for something like this.

jerry

 
 What is your securelevel?  See man securelevel.
 
  
  What am I missing? Is there anything else I need to do beyond editing
  the disklabel to allow me to use the mirrored disk?
  
  Output of disklabel for the two disks follows:
  
  # disklabel ad0
  # /dev/ad0c:
  type: ESDI
  disk: ad0s1
  label: 
  flags:
  bytes/sector: 512
  sectors/track: 63
  tracks/cylinder: 255
  sectors/cylinder: 16065
  cylinders: 4864
  sectors/unit: 78156162
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0   # milliseconds
  track-to-track seek: 0  # milliseconds
  drivedata: 0 
  
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
b:  5242880   409600  swap# (Cyl.   25*- 351*)
c: 781561620unused0 0 # (Cyl.0 - 4864*)
e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)
  
  # disklabel ad2
  # /dev/ad2c:
  type: ESDI
  disk: ad2s1
  label: 
  flags:
  bytes/sector: 512
  sectors/track: 63
  tracks/cylinder: 255
  sectors/cylinder: 16065
  cylinders: 4864
  sectors/unit: 78156162
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0   # milliseconds
  track-to-track seek: 0  # milliseconds
  drivedata: 0 
  
  8 partitions:
  #size   offsetfstype   [fsize bsize bps/cpg]
a:   40960004.2BSD 2048 1638497   # (Cyl.0 - 25*)
b:  5242880   409600  swap# (Cyl.   25*- 351*)
c: 781561620unused0 0 # (Cyl.0 - 4864*)
e:  4194304  56524804.2BSD 2048 1638489   # (Cyl.  351*- 612*)
f: 10485760  98467844.2BSD 2048 1638489   # (Cyl.  612*- 1265*)
g: 18874368 203325444.2BSD 2048 1638489   # (Cyl. 1265*- 2440*)
  
  Thanks for any insight, and let me know if you need to see anything else.
  
  -Matt
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 -- 
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

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


RE: Disk mirroring with 'dd' and (expletives) USB ISDN modem

2004-08-03 Thread JJB
Now for my question.  I have been trying to get a USB ISDN modem
(Microcom ISDN USB Travel/C) hooked up.  Currently using FreeBSD
4.8.  After googling etc I found references to device umodem 
device ucom.  Tried compiling them in, but nothing other than the
ugen driver finds the modem.

The modem never even powers up, though it works fine with Windoze.
Can anyone point me in the right direction?

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


***
Sounds like your USB modem is a ms/windows modem.  They are not
supported in FreeBSD.

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


Certification Program

2004-08-03 Thread Ismael Alves dos S. Filho
Hi there,
I would like to know if there is a Certification Program for FreeBSD, 
OpenBSD or
NetBSD, like SUN's Solaris Certification Program for example.

If there is, what is the procedure to make the exam(s)? I am in
Salvador/Bahia/BRAZIL.
Thanks in advance,
Ismael Filho.
--
What was and what may be, lie, like children whose faces we cannot see, in 
the
arms of silence. All we ever have is here, now. - Ursula K. Le Guin -

_
MSN Messenger: instale grátis e converse com seus amigos. 
http://messenger.msn.com.br

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


Certification Program

2004-08-03 Thread Ismael Alves dos S. Filho
Hi there,
I would like to know if there is a Certification Program for FreeBSD, 
OpenBSD or
NetBSD, like SUN's Solaris Certification Program for example.

If there is, what is the procedure to make the exam(s)? I am in
Salvador/Bahia/BRAZIL.
Thanks in advance,
Ismael Filho.
--
What was and what may be, lie, like children whose faces we cannot see, in 
the
arms of silence. All we ever have is here, now. - Ursula K. Le Guin -

_
MSN Messenger: instale grátis e converse com seus amigos. 
http://messenger.msn.com.br

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


Virus found in sent message hello

2004-08-03 Thread Mail System Anti-Virus Administrator
Attention: [EMAIL PROTECTED]


A Virus was found in an Email message you sent. 
This Email scanner intercepted it and stopped the entire message
reaching it's destination. 

The Virus was reported to be: 

 W32/[EMAIL PROTECTED]


Please update your virus scanner or contact your I.T support 
personnel as soon as possible as you have a virus on your system.


Your message was sent with the following envelope:

MAIL FROM: [EMAIL PROTECTED]
RCPT TO:   [EMAIL PROTECTED] 

... and with the following headers:

From:[EMAIL PROTECTED]
To:  [EMAIL PROTECTED]
Subject: hello
Date:Tue, 3 Aug 2004 15:36:11 +0100



The original message is kept in:

  mail.fam.ulusiada.pt:/var/spool/qmailscan/quarantine

where the Mail System Anti-Virus Administrator can further diagnose it.

The Email scanner reported the following when it scanned that message:

--- 

---fprot results ---
Virus scanning report  -  3. August 2004   15:32

F-PROT 3.11b
SIGN.DEF created 31. July 2004
SIGN2.DEF created 31. July 2004
MACRO.DEF created 2. August 2004

Search: /var/spool/qmailscan/mail.fam.ulusiada.pt109154352140421398 
/var/spool/qmailscan/working/new/mail.fam.ulusiada.pt109154352140421398
Action: Report only
Files: Dumb scan of all files
Switches: /ARCHIVE /AI

/var/spool/qmailscan/mail.fam.ulusiada.pt109154352140421398/talk.htm.exe  Infection: 
W32/[EMAIL PROTECTED]
/var/spool/qmailscan/working/new/mail.fam.ulusiada.pt109154352140421398-talk.zip-talk.htm.exe
  Infection: W32/[EMAIL PROTECTED]

Results of virus scanning:

Files: 3
MBRs: 0
Boot sectors: 0
Objects scanned: 5
Infected: 2
Suspicious: 0
Disinfected: 0
Deleted: 0
Renamed: 0

Time: 0:00

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


(no subject)

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Mark wrote:

 The goal is simple: I want to limit connections to port 25 to 32 in
 total, targeted at me. And of those 32, only 4 per source. Like so:

 ipfw add 1 check-state
 ...
 ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
 ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4

 Please, tell me then how all wrong this is. Because I *still* get
 the impression that rule 12 is never reached. And, so far, ipfw
 show does, indeed, only show activity on rule 11.

If at all possible, I would still like to hear a suggestion as to how to
combine the two rules. From my pov, the first allow in rule 11 makes a
packet pass, provided there are less then 32 connections in total. Thus,
rule 12 never gets invoked (which, indeed, seems to be the case).

Someone suggested to me I was at fault for numbering the rules. Quite
frankly, that does not compute to me, as ipfw autonumbers anyway (in default
steps of 100, I believe). Seriously, I do not mind hearing how all wrong
my rules are; but, at the same time, I have not heard a proper way of doing
this.

I appreciate suggestions,

- Mark

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Bill Moran
Mark [EMAIL PROTECTED] wrote:

 Mark wrote:
 
  The goal is simple: I want to limit connections to port 25 to 32 in
  total, targeted at me. And of those 32, only 4 per source. Like so:
 
  ipfw add 1 check-state
  ...
  ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
  ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
 
  Please, tell me then how all wrong this is. Because I *still* get
  the impression that rule 12 is never reached. And, so far, ipfw
  show does, indeed, only show activity on rule 11.
 
 If at all possible, I would still like to hear a suggestion as to how to
 combine the two rules. From my pov, the first allow in rule 11 makes a
 packet pass, provided there are less then 32 connections in total. Thus,
 rule 12 never gets invoked (which, indeed, seems to be the case).

How about using skipto instead of allow?  Thus, if it passes the first one,
it can just skipto the next rule to be checked.  i.e.:

ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4

Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should reject
as always.  The end result is that a packet _must_ pass both rules to be
allowed.

Note that I haven't tried this, so I could be wrong in how it works.

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


Re: bandwidth question

2004-08-03 Thread adrian kok
Dear Chuck

I tried mrtg in net-mgmt before. but the graphic only
supports max 10M. I read newsgroup and don't know how
to make it in 1000M

I am just upgrading the lease line from 100M to 1000M
and know where to get software to monitor on it

Thank you very much



 --- Chuck Swiger [EMAIL PROTECTED] wrote: 
 adrian kok wrote:
  Can you tell me in details?
 
 Sure-- if you ask a specific question, you will get
 a detailed answer.
 
  I need the bandwidth software to create graph in
 1G
 
 Your question is unclear.  You may be asking about
 drivers for gigabit 
 ethernet NICs (see man gx, man bge, man sk). 
 Or maybe bandwidth 
 management and traffic shaping (see man dummynet),
 or maybe you're talking 
 about something else like network management tools
 which produce pretty charts 
 and graphs (see ls /usr/ports/net-mgmt).
 
 -- 
 -Chuck
 
  

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


Re: bandwidth question

2004-08-03 Thread adrian kok
Dear Sir

Thank you for your help

Can dummynet apply in router also?

I run the freebsd as router

I saw doc about dummynet is in bridge in the freebsd
handbook

Thank yo again 

 --- Wojciech Puchar [EMAIL PROTECTED]
wrote: 
 -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-
 
  

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


using FreeBSD within a cluster

2004-08-03 Thread
Hi there. :$
Perhaps it is not a good start for a letter to such an organization, but I hope to be 
excused (please). And, quite straightforward, i wish to ask you a question. I can't 
find an answer to it in any FreeBSD FAQ, so - 

The problem that I have is how to orgainze cluster between (with) a number of FreeBSD 
AND Linux servers. OR, if that is not suitable, using several FreeBSD servers. I 
couldn't find any information explaining that variant of using FreeBSD, so here goes 
the question: 

are FreeBSD-with-Linux clusters really possible?

And, in case of positive answer, here is the next question - where can I find any 
information about how it will become possible?
How to make Linux/FreeBSD (preferably), or only FreeBSD servers work together in a 
cluster?

Again wishing you all the best and waiting for answer - 
Anton Suhonosenko
[EMAIL PROTECTED]
ICQ 143779294

P.S. I am sorry for my terrible english.
___
[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-03 Thread Alex Moundalexis
Then you didn't search too far. MRTG can easily be adapted to display
link speeds of any value. Read up on the MRTG documentation,
specifically MaxBytes values.

- Alex
web: http://www.moundalexis.com

On Tue, 3 Aug 2004 03:24:27 +0800 (CST), adrian kok
[EMAIL PROTECTED] wrote:
 Dear Chuck
 
 I tried mrtg in net-mgmt before. but the graphic only
 supports max 10M. I read newsgroup and don't know how
 to make it in 1000M
 
 I am just upgrading the lease line from 100M to 1000M
 and know where to get software to monitor on it
 
 Thank you very much
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Certification Program

2004-08-03 Thread Jerry McAllister
 
 Hi there,
 
 I would like to know if there is a Certification Program for FreeBSD, 
 OpenBSD or
 NetBSD, like SUN's Solaris Certification Program for example.
 
 If there is, what is the procedure to make the exam(s)? I am in
 Salvador/Bahia/BRAZIL.

The short answer is no.
Some other people may wish to give a more comprehensive answer.

Anyway, the FreeBSD organization is not a company in the same sense 
as Sun or Microsloth, etc that can set up a program to certify people 
in its wonders.The FreeBSD organization is a group of volunteers 
from all over the world that contribute to make the system.  Although
there is a core group that steers the project and tries to make sure
additions and modifications are clean and meet standards, there is
nothing that specifies the official way you must use the system.

But, I have heard of some organizations that have undertaken to make
up some training for FreeBSD and for UNIX in general.   It seemd even
like one might be in Brazil.  But, I do not remember names or addresses.
You might do some Google searching for FreeBSD training or something
like that and see what you get.

jerry

 
 Thanks in advance,
 
 
 Ismael Filho.
 --
 What was and what may be, lie, like children whose faces we cannot see, in 
 the
 arms of silence. All we ever have is here, now. - Ursula K. Le Guin -
 
 _
 MSN Messenger: instale grátis e converse com seus amigos. 
 http://messenger.msn.com.br
 
 ___
 [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]


SOLVED! Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

 Mark wrote:
 
 The goal is simple: I want to limit connections to port 25 to 32 in
 total, targeted at me. And of those 32, only 4 per source. Like
 so: 
 
 ipfw add 1 check-state
 ...
 ipfw add 11 allow tcp from any to me 25 setup limit dst-addr 32
 ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
 
 Please, tell me then how all wrong this is. Because I *still* get
 the impression that rule 12 is never reached. And, so far, ipfw
 show does, indeed, only show activity on rule 11.
 
 If at all possible, I would still like to hear a suggestion as to
 how to combine the two rules. From my pov, the first allow in rule
 11 makes a packet pass, provided there are less then 32 connections
 in total. Thus, rule 12 never gets invoked (which, indeed, seems to
 be the case). 
 
 How about using skipto instead of allow?  Thus, if it passes the
 first one, it can just skipto the next rule to be checked.  i.e.:
 
 ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
 ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
 
 Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
 reject as always. The end result is that a packet _must_ pass both
 rules to be allowed.

Thanks!! This does, indeed, exactly what I want. :)

- Mark

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


Re: using FreeBSD within a cluster

2004-08-03 Thread Jerry McAllister
 
 Hi there. :$
 Perhaps it is not a good start for a letter to such an organization, but I hope to 
 be excused (please). And, quite straightforward, i wish to ask you a question. I 
 can't find an answer to it in any FreeBSD FAQ, so - 
 
 The problem that I have is how to orgainze cluster between (with) a number of 
 FreeBSD AND Linux servers. OR, if that is not suitable, using several FreeBSD 
 servers. I couldn't find any information explaining that variant of using FreeBSD, 
 so here goes the question: 
 
 are FreeBSD-with-Linux clusters really possible?

Just to be clear:
By cluster, do you mean multiple hosts working on some large computational
problem with message passing, may MPI?You might check in the ports
to see if there is something to support this sort of thing.  I haven't 
looked, but wouldn't be real surprised.

Go to:http://www.freebsd.org/ports/

and do some fishing.   Then do some Googling or other searches.

Sounds interesting.
Good luck,

jerry

 
 And, in case of positive answer, here is the next question - where can I find any 
 information about how it will become possible?
 How to make Linux/FreeBSD (preferably), or only FreeBSD servers work together in a 
 cluster?
 
 Again wishing you all the best and waiting for answer - 
   Anton Suhonosenko
   [EMAIL PROTECTED]
   ICQ 143779294
 
 P.S. I am sorry for my terrible english.
 ___
 [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]


New-style PHP and Sybase DB-Lib

2004-08-03 Thread Jim Hatfield
Just looking at the Makefile for lang/php4-extensions
and I see in the list of options SYBASE_CT but no SYBASE_DB.

I think my existing PHP setup was compiled with SYBASE_DB, 
certainly phpinfo() reveals in the Sybase section:

 $Id: dblib.c,v 1.160.2.1 2004/04/04 09:07:04 freddy77 Exp $

I also recall I did try SYBASE_CT last time I installed but
had no success. So now I'm concerned that if I upgrade PHP I
will lose Sybase connectivity.

If anyone has upgraded and think they previously used DB-Lib
I'd appreciate knowing whether everything was OK after the
upgrade.

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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

 How about using skipto instead of allow?  Thus, if it passes the
 first one, it can just skipto the next rule to be checked.  i.e.:
 
 ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
 ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
 
 Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
 reject as always.  The end result is that a packet _must_ pass both
 rules to be allowed.

I spoke too soon. :( It seems this sort of rules evokes a bug:

http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-April/001084.html

My whole console is flooded with messages like these:

ipfw: install_state: entry already present, done

Is there a known patch?

Thanks,

- Mark

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


Use acpi.throttle on a desktop?

2004-08-03 Thread Ernest Chiang
I am using an DTR athlon 64 3200 and a desktop mainboard, but the cpu
speed  kernel detects is only 800MHz. Is there solution to increase
the cpu working frequency? I know that acpi.throttle sets might do the
job, but they are unavailable on the desktop system.

So can acpi.throttle.* be used on a desktop? Or anyone have the
problem same as me?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using FreeBSD within a cluster

2004-08-03 Thread Micheal Patterson


- Original Message - 
From:   [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 03, 2004 1:22 AM
Subject: using FreeBSD within a cluster


 Hi there. :$
 Perhaps it is not a good start for a letter to such an organization, but I
hope to be excused (please). And, quite straightforward, i wish to ask you a
question. I can't find an answer to it in any FreeBSD FAQ, so -

 The problem that I have is how to orgainze cluster between (with) a number
of FreeBSD AND Linux servers. OR, if that is not suitable, using several
FreeBSD servers. I couldn't find any information explaining that variant of
using FreeBSD, so here goes the question:

 are FreeBSD-with-Linux clusters really possible?

 And, in case of positive answer, here is the next question - where can I
find any information about how it will become possible?
 How to make Linux/FreeBSD (preferably), or only FreeBSD servers work
together in a cluster?

 Again wishing you all the best and waiting for answer -
 Anton Suhonosenko
 [EMAIL PROTECTED]
 ICQ 143779294

 P.S. I am sorry for my terrible english.


Are you wanting to truely cluster the servers or are you wanting to load
balance services (web, mail, pop3, etc) between a group of servers?


--

Micheal Patterson
TSG Network Administration
405-917-0600

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

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


Questions on IPFW???

2004-08-03 Thread Hakim Z. Singhji
Hey guys,

Question, when NAT overloading is it possible to use only IPFW rules to pass TCP/UDP 
packects to remote ip addresses within the network? Or do you have to use 
natd...because IPFW allows you to execute the following for example:


ip from 192.168.99.100 80 to 192.168.99.101 9981


or even in conjunction with a dummynet rule of somesort?


Hakim Z. Singhji 
New York University
pub 1024D/A4F3B64A 2004-07-30 Hakim Z. Singhji (NYU) [EMAIL PROTECTED]
Key fingerprint = 1407 12D9 73F2 5C38 45CE C387 953F 5657 A4F3 B64A
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Mark wrote:

 Bill Moran wrote:

 How about using skipto instead of allow?  Thus, if it passes the
 first one, it can just skipto the next rule to be checked.  i.e.:

 ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
 ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4

 Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
 reject as always.  The end result is that a packet _must_ pass both
 rules to be allowed.

 I spoke too soon. :( It seems this sort of rules evokes a bug:

 http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-April/001084.html

 My whole console is flooded with messages like these:

 ipfw: install_state: entry already present, done

 Is there a known patch?

I just took a look at the code:

 if (q != NULL) { /* should never occur */
  if (last_log != time_second) {
   last_log = time_second;
   printf(ipfw: install_state: entry already present, done\n);
  }
  return 0;
 }

What if I just hack the printf ... line out of there? Would that 'solve'
it? I know it's dirty; but would things still work?

Thanks,

- Mark

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


Re: Questions on IPFW???

2004-08-03 Thread Chuck Swiger
Hakim Z. Singhji wrote:
Question, when NAT overloading is it possible to use only IPFW rules to
pass TCP/UDP packects to remote ip addresses within the network?
I don't know what NAT overloading means.
It is possible to use only IPFW rules to pass TCP  UDP packets from one 
interface to another using the fwd action.  However, note that:

  The fwd action does not change the contents of the packet at all.
  In particular, the destination address remains unmodified, so
  packets forwarded to another system will usually be rejected by
  that system unless there is a matching rule on that system to
  capture them.  For packets forwarded locally, the local address
  of the socket will be set to the original destination address of
  the packet.  This makes the netstat(1) entry look rather weird
  but is intended for use with transparent proxy servers.
Or do you have to use natd...because IPFW allows you to execute
the following for example:

ip from 192.168.99.100 80 to 192.168.99.101 9981

That's the body of an IPFW rule which matches packets with those attributes. 
Without an action (allow, deny, fwd), what you've written isn't a 
complete rule: it doesn't mean anything by itself.

or even in conjunction with a dummynet rule of somesort?
Um.  Do you understand the question you are asking?
I don't-- perhaps try using a complete sentence.  Better yet, why don't you 
tell us what your network looks like and what you want to do.  You most likely 
will receive answers which are more specific and more useful to you...

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


RE: One OR MORE of source and destination addresses?

2004-08-03 Thread Ralph Hempel

 I just took a look at the code:
 
  if (q != NULL) { /* should never occur */
   if (last_log != time_second) {
last_log = time_second;
printf(ipfw: install_state: entry already present, done\n);
   }
   return 0;
  }
 
 What if I just hack the printf ... line out of there? Would that 'solve'
 it? I know it's dirty; but would things still work?

I'll jump in here as a software manager and say NO!

Note, I have no idea if it will still work, but as a professional
programmer, the question raises a number of issues :-)

1. First of all, the original programmer took time to comment
   this line:

if (q != NULL) { /* should never occur */

   OK. There's no indication WHY it should never occur, but still, the comment
   is there.

2. By adding this line: 

if (last_log != time_second) {

   He's limiting the printed errors to one every second, so you
   are not beeing flooded with as many messages as are actually
   ocurring.

   Is last_log used anywhere else?

3. This line:

 return 0;

   will still return 0 if the error occurs, so the program will
   work the same with or without the diagnostic message.

I'd do some more digging and find out exactly WHY this is a should never
occur case to be sure that the log is not needed. If you don't print
the log, then why do the test, except to return 0 :-)

Ralph




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


Re: Questions on IPFW???

2004-08-03 Thread Hakim Z. Singhji
Hello Chuck,

I was wondering if someone could help me answer some questions I have concerning IPFW 
vs. natd I am trying to allow my FreeBSD 4.10 gateway to perform port forwarding for 
SSH, SQL*Net and Webservice (Web not as important yet). 

I wanted to know if I can use IPFW as opposed to natd to redirect or pass TCP  UDP 
(is ICMP out of the question???) to a remote location.  Gateway::192.0.0.1:22 -- 
remote server 192.0.0.5:22 or 192.0.0.5:9881 for instance. From the configuration of 
ipfw it appears that it can be done instead of using natd.

Any suggestions or corrections of my logic welcome. Thanks in advance.

HZS

-Original Message-
From: Chuck Swiger [EMAIL PROTECTED]
Sent: Aug 3, 2004 12:40 PM
To: Hakim Z. Singhji [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Questions on IPFW???

Hakim Z. Singhji wrote:
 Question, when NAT overloading is it possible to use only IPFW rules to
 pass TCP/UDP packects to remote ip addresses within the network?

I don't know what NAT overloading means.

It is possible to use only IPFW rules to pass TCP  UDP packets from one 
interface to another using the fwd action.  However, note that:

   The fwd action does not change the contents of the packet at all.
   In particular, the destination address remains unmodified, so
   packets forwarded to another system will usually be rejected by
   that system unless there is a matching rule on that system to
   capture them.  For packets forwarded locally, the local address
   of the socket will be set to the original destination address of
   the packet.  This makes the netstat(1) entry look rather weird
   but is intended for use with transparent proxy servers.

 Or do you have to use natd...because IPFW allows you to execute
 the following for example:
 
 ip from 192.168.99.100 80 to 192.168.99.101 9981
 

That's the body of an IPFW rule which matches packets with those attributes. 
Without an action (allow, deny, fwd), what you've written isn't a 
complete rule: it doesn't mean anything by itself.

 or even in conjunction with a dummynet rule of somesort?

Um.  Do you understand the question you are asking?

I don't-- perhaps try using a complete sentence.  Better yet, why don't you 
tell us what your network looks like and what you want to do.  You most likely 
will receive answers which are more specific and more useful to you...

-- 
-Chuck


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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Bill Moran
Mark [EMAIL PROTECTED] wrote:

 Mark wrote:
 
  Bill Moran wrote:
 
  How about using skipto instead of allow?  Thus, if it passes the
  first one, it can just skipto the next rule to be checked.  i.e.:
 
  ipfw add 11 skipto 12 tcp from any to me 25 setup limit dst-addr 32
  ipfw add 12 allow tcp from any to me 25 setup limit src-addr 4
 
  Thus, if rule 11 pases, it skips to rule 12.  If it fails, it should
  reject as always.  The end result is that a packet _must_ pass both
  rules to be allowed.
 
  I spoke too soon. :( It seems this sort of rules evokes a bug:
 
  http://lists.freebsd.org/pipermail/freebsd-ipfw/2004-April/001084.html
 
  My whole console is flooded with messages like these:
 
  ipfw: install_state: entry already present, done
 
  Is there a known patch?
 
 I just took a look at the code:
 
  if (q != NULL) { /* should never occur */
   if (last_log != time_second) {
last_log = time_second;
printf(ipfw: install_state: entry already present, done\n);
   }
   return 0;
  }
 
 What if I just hack the printf ... line out of there? Would that 'solve'
 it? I know it's dirty; but would things still work?

Theoretically, yes (note that I'm certainly no expert on this chunk of
code)  My reason for saying yes is:
1) The error seems to be that IPFW is trying to add the same stateful
   rule twice ... which means it _did_ get successfully added once.
2) When that condition occurs, the function returns 0.  The comment at
   the top of the file states that the function returns 1 on failure,
   so it would appear that this condition is still considered successful.

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


Re: Questions on IPFW???

2004-08-03 Thread Hakim Z. Singhji
Actually Chuck,

You answered my question, I wanted to know which was better to use with port 
forwarding (ipfw or natd) and based on what you wrote, natd is a better fit due to the 
fact that I would not have to force the other machine to accept packets redirected 
from the NAT box using natd.  Is that correct???

-Original Message-
From: Hakim Z. Singhji [EMAIL PROTECTED]
Sent: Aug 3, 2004 12:49 PM
To: Chuck Swiger [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Questions on IPFW???

Hello Chuck,

I was wondering if someone could help me answer some questions I have concerning IPFW 
vs. natd I am trying to allow my FreeBSD 4.10 gateway to perform port forwarding for 
SSH, SQL*Net and Webservice (Web not as important yet). 

I wanted to know if I can use IPFW as opposed to natd to redirect or pass TCP  UDP 
(is ICMP out of the question???) to a remote location.  Gateway::192.0.0.1:22 -- 
remote server 192.0.0.5:22 or 192.0.0.5:9881 for instance. From the configuration of 
ipfw it appears that it can be done instead of using natd.

Any suggestions or corrections of my logic welcome. Thanks in advance.

HZS

-Original Message-
From: Chuck Swiger [EMAIL PROTECTED]
Sent: Aug 3, 2004 12:40 PM
To: Hakim Z. Singhji [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Questions on IPFW???

Hakim Z. Singhji wrote:
 Question, when NAT overloading is it possible to use only IPFW rules to
 pass TCP/UDP packects to remote ip addresses within the network?

I don't know what NAT overloading means.

It is possible to use only IPFW rules to pass TCP  UDP packets from one 
interface to another using the fwd action.  However, note that:

   The fwd action does not change the contents of the packet at all.
   In particular, the destination address remains unmodified, so
   packets forwarded to another system will usually be rejected by
   that system unless there is a matching rule on that system to
   capture them.  For packets forwarded locally, the local address
   of the socket will be set to the original destination address of
   the packet.  This makes the netstat(1) entry look rather weird
   but is intended for use with transparent proxy servers.

 Or do you have to use natd...because IPFW allows you to execute
 the following for example:
 
 ip from 192.168.99.100 80 to 192.168.99.101 9981
 

That's the body of an IPFW rule which matches packets with those attributes. 
Without an action (allow, deny, fwd), what you've written isn't a 
complete rule: it doesn't mean anything by itself.

 or even in conjunction with a dummynet rule of somesort?

Um.  Do you understand the question you are asking?

I don't-- perhaps try using a complete sentence.  Better yet, why don't you 
tell us what your network looks like and what you want to do.  You most likely 
will receive answers which are more specific and more useful to you...

-- 
-Chuck


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

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


Help needed...

2004-08-03 Thread Lam Tuck Wai
 

Hi

 

I am currently having a huge problem. My KDM refuse to start, so now I
cannot get into my machine.

Every time it reboots it will goes in a cycle of spewing errors. It was fine
a few hours ago until I change the monitor config.

My question is how do I stop the KDM from loading during boot up? So at
least I can login as root and replace the new XF86config file.

I tried booting to single user but I cannot su. So without root access I
cannot change anything.

I am using Freebsd 5.2.1. Any help is appreciated.

Thanks.

 

Regards,

Tuck Wai

 

 

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


Using rrestore with ssh?

2004-08-03 Thread Steve Kargl
Anyone have a tip on using rrestore with ssh instead
of the rexecd and rcmd facility?  My attempts at using
rrestore result in 

dhcp-78-74:kargl[207] rrestore -x -b 64 -f troutmask:/dev/nsa0
Connection to troutmask.apl.washington.edu established.
IP_TOS:IPTOS_THROUGHPUT setsockopt: Operation not supported
TCP_NODELAY setsockopt: Operation not supported
rshd: Login incorrect.
Lost connection to remote host.
dhcp-78-74:kargl[208]

On troutmask, I have uncommented the appropriate inetd.conf
lines that should allow rmt, rdump, and rrestore to work.

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


Re: Questions on IPFW???

2004-08-03 Thread Chuck Swiger
Hakim Z. Singhji wrote:
You answered my question, I wanted to know which was better to use with
port forwarding (ipfw or natd) and based on what you wrote, natd is a
better fit due to the fact that I would not have to force the other machine
to accept packets redirected from the NAT box using natd.  Is that
correct???
That's right.  Most people want to use NAT, because it lets you set up an 
internal network without having to specially configure the internal machines.

With regard to your other question, if you want an external connection to, 
say, port 22 to be forwarded to port 22 on some machine on your internal 
network, use:

redirect_port tcp 192.0.0.5:22 22
...in /etc/natd.conf or your natd_flags in /etc/rc.conf.
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help needed...

2004-08-03 Thread Bill Moran
Lam Tuck Wai [EMAIL PROTECTED] wrote:
 
 I am currently having a huge problem. My KDM refuse to start, so now I
 cannot get into my machine.
 
 Every time it reboots it will goes in a cycle of spewing errors. It was fine
 a few hours ago until I change the monitor config.
 
 My question is how do I stop the KDM from loading during boot up? So at
 least I can login as root and replace the new XF86config file.
 
 I tried booting to single user but I cannot su. So without root access I
 cannot change anything.

You do not need to su.  In single-user mode, you are root.

Once you get a shell prompt in single-user mode, do:
fsck
mount -a

You should then be able to edit your config file, or change /etc/ttys
to stop xdm from starting.

HTH

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


Re: Help needed...

2004-08-03 Thread Jerry McAllister
 
 Hi
 
 I am currently having a huge problem. My KDM refuse to start, so now I
 cannot get into my machine.
 
 Every time it reboots it will goes in a cycle of spewing errors. It was fine
 a few hours ago until I change the monitor config.
 
 My question is how do I stop the KDM from loading during boot up? So at
 least I can login as root and replace the new XF86config file.
 
 I tried booting to single user but I cannot su. So without root access I
 cannot change anything.

I don't understand the previous line.
If you booted to single user, why would you need to 'su' to anything?
When you boot to single user, you effectively are root.  Do I 
misunderstand something you are trying to do?
Of course, when you boot to single user, you need to do a couple of
things to really be able to get around and change things.
  fsck -p   Just in case
  mount -u /remount root to be fully read/write
  mount -a  mount everything else
  swapon -a make sure it has some paging/swap space.

At this point you should be fully functional as root.  You may
also want to run a shell other than /bin/sh for convenience.

  /bin/tcsh would get you tcsh  or pick your own poison.

jerry

 
 I am using Freebsd 5.2.1. Any help is appreciated.
 
 Thanks.
 
  
 
 Regards,
 
 Tuck Wai
 
  
 
  
 
 ___
 [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: Questions on IPFW???

2004-08-03 Thread Hakim Z. Singhji
Thanks buddy...I appreciate it.

-Original Message-
From: Chuck Swiger [EMAIL PROTECTED]
Sent: Aug 3, 2004 1:11 PM
To: Hakim Z. Singhji [EMAIL PROTECTED], 
freebsd Questions [EMAIL PROTECTED]
Subject: Re: Questions on IPFW???

Hakim Z. Singhji wrote:
 You answered my question, I wanted to know which was better to use with
 port forwarding (ipfw or natd) and based on what you wrote, natd is a
 better fit due to the fact that I would not have to force the other machine
 to accept packets redirected from the NAT box using natd.  Is that
 correct???

That's right.  Most people want to use NAT, because it lets you set up an 
internal network without having to specially configure the internal machines.

With regard to your other question, if you want an external connection to, 
say, port 22 to be forwarded to port 22 on some machine on your internal 
network, use:

redirect_port tcp 192.0.0.5:22 22

...in /etc/natd.conf or your natd_flags in /etc/rc.conf.

-- 
-Chuck



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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Bill Moran
Ralph Hempel [EMAIL PROTECTED] wrote:
 
  I just took a look at the code:
  
   if (q != NULL) { /* should never occur */
if (last_log != time_second) {
 last_log = time_second;
 printf(ipfw: install_state: entry already present, done\n);
}
return 0;
   }
  
  What if I just hack the printf ... line out of there? Would that 'solve'
  it? I know it's dirty; but would things still work?
 
 I'll jump in here as a software manager and say NO!
 
 Note, I have no idea if it will still work, but as a professional
 programmer, the question raises a number of issues :-)
 
 1. First of all, the original programmer took time to comment
this line:
 
 if (q != NULL) { /* should never occur */
 
OK. There's no indication WHY it should never occur, but still, the comment
is there.
 
 2. By adding this line: 
 
 if (last_log != time_second) {
 
He's limiting the printed errors to one every second, so you
are not beeing flooded with as many messages as are actually
ocurring.
 
Is last_log used anywhere else?
 
 3. This line:
 
  return 0;
 
will still return 0 if the error occurs, so the program will
work the same with or without the diagnostic message.
 
 I'd do some more digging and find out exactly WHY this is a should never
 occur case to be sure that the log is not needed. If you don't print
 the log, then why do the test, except to return 0 :-)

I was thinking about this over lunch, then I saw your post ... and the
reality is that someone should really file a PR.

Mark, since you have a real-world application where this problem occurs,
it would be idea if you could file a PR with your description of what
you're trying to do and the problem it's causing.

As best I can tell, the problem is _not_ in install_state ... only the
symptom is in install_state.  The problem is that code that is calling
install_state is calling it twice for some reason.  Taking that into
consideration, there's a possibility that this is fixed in -CURRENT,
but I haven't found any commit entries to that tune.

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


RE: One OR MORE of source and destination addresses?

2004-08-03 Thread Ralph Hempel
Bill,

Thanks for the feedback. I've been programming embedded systems
for almost 20 years, so I have a natural aversion to apparently
simple changes that make things work :-)

The nicest high-level code I've ever seen in the source to Tcl - if
only all code looked like that.

I've been playing with FreeBSD over the last two or three months
trying to implement a headless server that will help dysfunctional
development teams control their bugs and source code. 

I chose FreeBSD because Linux seems so frigging bloated, and the
distros are too varied. You never know if the distro you pick will
be around next year. FreeBSD gives me a much warmer and fuzzier feeling
about the commitment to release quality code and making it very
clear which releases are for production, and which are for testing.

My work so far is documanted in these articles:

http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDEmbedded.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDSetup.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDandWindows.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDPortsAndPerl.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDPostfix.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDApache2.html
http://www.hempeldesigngroup.com/embedded/stories/bdgFreeBSDGnats.html

I hope to write more, including articles on customizing Gnats, using
Subversion, splint, backups, and security.

This developer community seems pretty friendly and knowledgable. I think 
I'll stick around :-)

Cheers, Ralph


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


Re: One OR MORE of source and destination addresses?

2004-08-03 Thread Mark
Bill Moran wrote:

 My whole console is flooded with messages like these:

 ipfw: install_state: entry already present, done

 Is there a known patch?

 I just took a look at the code:

  if (q != NULL) { /* should never occur */
   if (last_log != time_second) {
last_log = time_second;
printf(ipfw: install_state: entry already present, done\n);
   }
   return 0;
  }

 What if I just hack the printf ... line out of there? Would that
 'solve' it? I know it's dirty; but would things still work?

 Theoretically, yes (note that I'm certainly no expert on this chunk of
 code)  My reason for saying yes is:
 1) The error seems to be that IPFW is trying to add the same stateful
rule twice ... which means it _did_ get successfully added once.
 2) When that condition occurs, the function returns 0.  The comment at
the top of the file states that the function returns 1 on failure,
so it would appear that this condition is still considered
 successful.

Thank you for taking the time to look into this.

Yes, my reason for thinking yes was the same. It seems there are critical
errors, such as Too many dynamic rules, returning 1, and, say, unexpected
errors, like when trying to create a rule that already exists, returning 0.

Since the rule actually seems to be working (limiting total connection to
32, and only 4 per source), just commenting out the printf statement seems
like a harmless, be it very dirty, solution.

Indeed, this should probably be fixed; and I will file a PR tonight.

- Mark

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


Blackberry Sendmail

2004-08-03 Thread Mike Hogsett
This is not entirely on-topic for the FreeBSD list (except my
mail server is FreeBSD).
Does anyone know of a solution to allow secure mail forwarding to a
blackberry similar to the enterprise solutions for MS exchange,
and Lotus Notes?
Thanks
 - Mike
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: safe mode for kernel.old

2004-08-03 Thread Jason Barnes
  Then what's the safe mode in the boot screen in 5.2.1, and how is
  it different than single user mode?  Thanks for your patience with me on
  this issue.

 AFAIK, among others doesn't set DMA disk  access.
 syctl:
 hw.ata.ata_dma=0
 hw.ata.atapi_dma=0

This seems to have fixed the problem, it must have been a DMA
conflict in some way.  Thank you so much for your help!

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


Re: Certification Program

2004-08-03 Thread T Kellers
On Tuesday 03 August 2004 11:30 am, Jerry McAllister wrote:
  Hi there,
 
  I would like to know if there is a Certification Program for FreeBSD,
  OpenBSD or
  NetBSD, like SUN's Solaris Certification Program for example.
 
  If there is, what is the procedure to make the exam(s)? I am in
  Salvador/Bahia/BRAZIL.

 The short answer is no.
 Some other people may wish to give a more comprehensive answer.

 Anyway, the FreeBSD organization is not a company in the same sense
 as Sun or Microsloth, etc that can set up a program to certify people
 in its wonders.The FreeBSD organization is a group of volunteers
 from all over the world that contribute to make the system.  Although
 there is a core group that steers the project and tries to make sure
 additions and modifications are clean and meet standards, there is
 nothing that specifies the official way you must use the system.

 But, I have heard of some organizations that have undertaken to make
 up some training for FreeBSD and for UNIX in general.   It seemd even
 like one might be in Brazil.  But, I do not remember names or addresses.
 You might do some Google searching for FreeBSD training or something
 like that and see what you get.

 jerry

The longer answer is yes :)

NJIT offers open source unix certification (and it's recognized/endorsed by 
the FreeBSD Foundation)

http://cpe.njit.edu/noncredit/#opensourceunix

avaiable both online and in classroom.

Tim Kellers

CPE/NJIT

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


fvwm-themes-0.70

2004-08-03 Thread dick hoogendijk
Fvwm2 is a great windowmanager. I use 2.4.18 plus fvwm-themes and that
works great. However, the developers version of fvwm also works very
well and it's in the ports. What I don't quite understand is why the
fvwm-themes-0.70 packages is _not_ in the ports. The developers version
of the theme packages makes full use of all those wonderfull new
features of fvwm.

Or is it maybe that I can simply compile fvwm-themes-0.70 on my
freebsd-4.10R box? Does somebody use this version with the latest
fvwm-devel? If so, how do I proceed? If not, I'll guess I have to wait
for the official releases of both packages.

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilya
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem in Linux-emulation and may be in NVidia drivers

2004-08-03 Thread Uwe Laverenz
On Tue, Aug 03, 2004 at 10:08:19AM +0400, Roman Vasiliev wrote:

 First run glxgears shows ~2000 fps but second ~10 fps. And whole OpenGL
 application lags.
 
 Problem solves in changing on NVidia mx 4400. All works fine.

I have the same problem with a GF4-Ti/4200: first run is fast, second
is slow. An older GF2 works perfectly. I guess the only solution is
to wait for the release of new NVidia drivers, which are said to be
released fairly soon.

cu,
Uwe

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


Re: fvwm-themes-0.70

2004-08-03 Thread Karel J. Bosschaart
On Tue, Aug 03, 2004 at 09:40:35PM +0200, dick hoogendijk wrote:
 Fvwm2 is a great windowmanager. I use 2.4.18 plus fvwm-themes and that
 works great. However, the developers version of fvwm also works very
 well and it's in the ports. What I don't quite understand is why the
 fvwm-themes-0.70 packages is _not_ in the ports. The developers version
 of the theme packages makes full use of all those wonderfull new
 features of fvwm.

Did you miss x11-themes/fvwm-themes? It installs fvwm-themes 0.7.0 and
works fine here with fvwm-devel (2.5.10). 

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


Re: jails: am I missing something or..

2004-08-03 Thread Chad Leigh -- Shire.Net LLC
On Jul 25, 2004, at 6:29 AM, Hugo Silva wrote:
It is unthinkable to be umount'ing EVERY jail if I want to add one.
I need separate filesystems for jails if I want (I *need* to) user 
quotas
on jails
If I have separate filesystems, I can't create a new jail while the 
disk
is being used (ie other jails mount'ed).

Living with 1 ip? I could do it. Now, this is a major drawback.
I've been a FreeBSD user for a long time, so I'm hoping there is a
solution to this matter-- (bottom line: working user quotas INSIDE 
jails:
need either a way to have them w/ different partitions and be able to
create new jails with all other jails running, or need a way to use 
quotas
with only a big partition) I find it weird there exists this big
limitation on the jail system.

try using the mdX memory/file backed file systems for your jails...  
Works well (though I have not tried the user quota -- you do get 
separate filesystems)

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


Bandwidth Limiting

2004-08-03 Thread Jonathan
Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company 
(StreamForce Hosting Solutions). I was wondering if there is an 
application i can install or method of limiting per user bandwidth by 
like a certain group or class. If not is there a way to limit bandwidth 
for all non super user accounts.

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


Re: Chess for Kids (and dummies like dads)

2004-08-03 Thread Daniela
Damon Butler wrote:
May I suggest Phalanx, found in the ports tree? It is an excellent
chess program, works wonderfully with xboard, and 'phalanx -e 100' is
very likely to meet your needs for a weak chess engine.

That looks excellent indeed. Thanks!
--Damon
I have another suggestion. I've seen lots of Mac emulators in the ports.
Why not use one of these, and run the original program?
AFAIK Mac emulation is not even half as painful as Winblows emulation.
Daniela
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Headless Install

2004-08-03 Thread cpghost
Maksym Marchenko wrote:
Sometimes I see warning:
terminal is not fully functional.
So I can't edit kernel file mit ee - the text is shown shifted in 
their lines.
Must I use another terminal program to help this?
You just need to set TERM to something sensible, say,
'cons25' or 'xterm'.
If you ssh to the box from a FreeBSD console,
TERM should already be set to 'cons25'. If you ssh from
an xterm, TERM will (or should) already be 'xterm'.
If you use some other terminal emulator (e.g. from
Windows or so), try setting both your emulator and
TERM to 'vt100'.
And what you can do with headless PC? Can you control this PC only in
command prompt? Or (may be) you can use anything like X - twm?
What do you want to do with it?
If you want to do maintenance work (configure servers like, say, postfix,
cyrus/imap, thttpd, set up ppp[oe], natd, ...), just ssh to the box like
you would to any other server too. In normal day to day operations, just
access the misc. servers from outside your headless PC with your favorite
clients. Very simple.
Something like X would be absolute overkill. You want X on your regular
workstation; not on the headless server! But if you absolutely must,
just install the X clients, X libraries etc... on the headless machine
via ports as usual. You definitely don't need an X server on a headless
machine though ;)
Oh, and btw, you can tweak your kernel config file: just remove everything
that you don't need, like vga, sc, keyboard, ... If you don't have the
hardware for it on board, why bother having a driver for it in the kernel?
Enjoy!
cpghost.
--
Cordula's Web. http://www.cordula.ws/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Remote backup hosting setup?

2004-08-03 Thread Eric Crist
Hello list,

I was recently contacted by a lawfirm that needs a remote backup
solution to help bring their insurance rates down.  I've decided to go
ahead and do this, as their needs are not that great.

What I'm asking, is how best to setup this situation.  I've never played
with jails or anything, but I'm not sure if I really need to go that
far.  I'm considering building a server that has ssh and sftp access.
The plan is to allow them to upload at their pace, and provide next-day
DVD/CD copies of their entire directory structure.

Any advice on how to go about this?

Thanks!

Eric F Crist

Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


___
[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-03 Thread Tim Aslat
In the immortal words of Eric Crist [EMAIL PROTECTED]...
 I was recently contacted by a lawfirm that needs a remote backup
 solution to help bring their insurance rates down.  I've decided to go
 ahead and do this, as their needs are not that great.

Sounds simple enough

 What I'm asking, is how best to setup this situation.  I've never
 played with jails or anything, but I'm not sure if I really need to go
 that far.  I'm considering building a server that has ssh and sftp
 access. The plan is to allow them to upload at their pace, and provide
 next-day DVD/CD copies of their entire directory structure.

Try one of the multitude of rsync based scripts, you can even get some
very good incremental backups happening, and burning DVDs/ dumping to
tape/etc is simple enough top script as well.  Rsync by default works
over ssh so can be very secure.

The had part would be, how do these people want to retrieve the data?

If you are just handing them media once a day, then it's simple, but if
they want to retrieve it remotely as well, then you could be in for some
fun and games.

Cheers

Tim

-- 
Tim Aslat [EMAIL PROTECTED]
Spyderweb Consulting
http://www.spyderweb.com.au
Phone: +61 0401088479
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Acquiring CPAN Modules

2004-08-03 Thread Gerard Seibert
What is the best way to acquire CPAN modules? If I run CPAN, and actually 
install a module, and then later run pkgdb I receive an error message 
stating:

Missing Origin: bsdpan-(module-name) Skip this for now? To skip it
without asking in the future, please list it in HOLD_PKGS
The modules seem to work correctly however. Several modules that I want, I 
cannot find in the FreeBSD Ports collections.

Does anyone have any suggestions, or is using CPAN the only way to get 
Perl modules installed?

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


External Sound Devices

2004-08-03 Thread jk514793
Hello,

  I recently installed FreeBSD on my laptop computer and my soundcard is
incompatible with FreeBSD's sound drivers.  Will an external sound card
device work with freeBSD?  The device I am looking at is a Sound Blaster
MP3+ (http://www.soundblaster.com/products/mp3+) and the computer is an
Acer Aspire 1400XV purchased in 2001.  

Thank you for your
assistance.




___
[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-03 Thread Andras Kende


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Crist
Sent: Tuesday, August 03, 2004 6:56 PM
To: [EMAIL PROTECTED]
Subject: Remote backup hosting setup?

Hello list,

I was recently contacted by a lawfirm that needs a remote backup
solution to help bring their insurance rates down.  I've decided to go
ahead and do this, as their needs are not that great.

What I'm asking, is how best to setup this situation.  I've never played
with jails or anything, but I'm not sure if I really need to go that
far.  I'm considering building a server that has ssh and sftp access.
The plan is to allow them to upload at their pace, and provide next-day
DVD/CD copies of their entire directory structure.

Any advice on how to go about this?

Thanks!

Eric F Crist

Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


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





Hello,

Maybe something like this? :
http://www.bsdnews.org/02/rsync_windows.php



Best regards,

Andras Kende
http://www.kende.com




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


Can i make a CD of the Ports Collection

2004-08-03 Thread Peter Ryan
I am very new, and have been reinstalling
FreeBSD many times to clean up whatever
mess i make and start again.

I recently used cvsup to update my 
ports collection for the 4.10_RELEASE.

Now, when I reinstall, it takes much longer
because i bring in the updated ports collection
rather than the ports collection on the
install CD (which i burnt from an ISO file)

Is there some way to burn a cd (for me that
means under winXP) containing the latest 
ports collection so that I dont have to
download it each time.

Or is there a better way of installing
with the latest ports collection.

Are the ISO images updated with a new
ports collection very frequently ?

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


SCSI errors with Adaptec 2200S RAID

2004-08-03 Thread up

Please cc replies directly to me, as I am not subscribed to the lists.

With some help from here, I was able to get this RAID card to see our
external DLT (QUANTUM 4000) SCSI tape drive by installing the aacp (pass
through) driver in addition to the aac driver.  camcontrol now works, as
do basic mt commands and amcheck (amanda check).

However, (amanda) dumps either hang, fail completely or fail after
transfering very little data.  On the console, I see:

(sa0:aacp1:0:4:0): READ(06). CDB8 0 0 0 20 0 0
(sa0:aacp1:0:4:0): NO SENSE ILI (length mismatch): -24576 csi:0,0,0,1

At this point the device is completely unresponsive, and the only way to
get the system to see it again is to reboot the whole server.  I tried
ordering a 3 ft cable, thinking I was pushing my luck with the 6 ft (I've
had this problem with SCSI cables in the past), but the problem persists.

The same drive (which has an active terminator) has been working fine for
years on a different box using an Intel L440GX+ MB's on-board SCSI port.

Once again, any helpful replies are greatly appreciated!

James Smallacombe PlantageNet, Inc. CEO and Janitor
[EMAIL PROTECTED]   http://3.am
=

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


Re: Can i make a CD of the Ports Collection

2004-08-03 Thread Russell J. Wood
Yes, this could be done. First, create an ISO image of the directory with
`mkisofs' (included in /usr/ports/sysutils/cdrtools):

mkisofs -A ports -allow-lowercase -allow-multidot -f -no-cache-inodes -D -l -J
-o ports.iso -p peter -R -V ports /usr/ports

Note: this will produce a non-standards compliant ISO image, but it will be able
to be read on both MS Windows and FreeBSD.

Then, burn the image to CD using `burncd' (included in
/usr/ports/sysutils/cdrtools):

burncd -f /dev/acd0 -v -s your_drive_speed data ports.iso fixate

When it's time to install, remove everything in `/usr/ports' (rm -r
/usr/ports/*) and copy the burned data across. And, to finish it of, CVSup the
ports afterwards.

- Russell

On Wed, Aug 04, 2004 at 11:16:44AM +0800, Peter Ryan wrote:
I am very new, and have been reinstalling
FreeBSD many times to clean up whatever
mess i make and start again.

I recently used cvsup to update my 
ports collection for the 4.10_RELEASE.

Now, when I reinstall, it takes much longer
because i bring in the updated ports collection
rather than the ports collection on the
install CD (which i burnt from an ISO file)

Is there some way to burn a cd (for me that
means under winXP) containing the latest 
ports collection so that I dont have to
download it each time.

Or is there a better way of installing
with the latest ports collection.

Are the ISO images updated with a new
ports collection very frequently ?

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


pgpETFI5lHDar.pgp
Description: PGP signature


Restarting swatch when log turns over?

2004-08-03 Thread Joshua Tinnin
I hope this isn't too OT ...

How would I restart swatch when a log turns over? As of now, when a log turns 
over, swatch continues running but doesn't read the new log. I thought maybe 
I could use 

watchfor  /newsyslog/
exec killall -HUP swatch

in .swatchrc to match the newsyslog string, but when I try the command there 
is no process matching swatch (it's running), and I don't know how to 
reference the PID in such a situation (and use kill -HUP instead). Or does 
swatch need to be restarted in this situation? Or maybe should newsyslog be 
told to restart swatch (not sure how to do this)? I've read through the man 
pages and searched the mailing list archives, and am not turning up 
anything ...

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


Re: Bandwidth Limiting

2004-08-03 Thread Kevin D. Kinsey, DaleCo, S.P.
Jonathan wrote:
Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company 
(StreamForce Hosting Solutions). I was wondering if there is an 
application i can install or method of limiting per user bandwidth by 
like a certain group or class. If not is there a way to limit 
bandwidth for all non super user accounts.

Thanks in advance!
Regards,
Jonathan

Certainly dummynet(4) comes to mind --- it would easily do per *IP*
BW limits...so it might depend a tad on your network topography.
HTH,
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Limiting

2004-08-03 Thread Kevin D. Kinsey, DaleCo, S.P.
Jonathan wrote:
Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company 
(StreamForce Hosting Solutions). I was wondering if there is an 
application i can install or method of limiting per user bandwidth by 
like a certain group or class. If not is there a way to limit 
bandwidth for all non super user accounts.

Thanks in advance!
Regards,
Jonathan

Ooh, now I read that again, and I think I just wasted that
last post.  Different scenario.
Sorry for the noise.
KDK
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can i make a CD of the Ports Collection

2004-08-03 Thread Olaf Hoyer
On Wed, 4 Aug 2004, Peter Ryan wrote:

 I am very new, and have been reinstalling
 FreeBSD many times to clean up whatever
 mess i make and start again.

 I recently used cvsup to update my
 ports collection for the 4.10_RELEASE.

 Now, when I reinstall, it takes much longer
 because i bring in the updated ports collection
 rather than the ports collection on the
 install CD (which i burnt from an ISO file)


The whole portscollection is also available via ftp:

on ftp2.de.freebsd.org:

ftp pwd
257 /pub/FreeBSD/ports/ports is current directory.
ftp ls
227 Entering Passive Mode (134,76,11,100,141,111)
150 Opening ASCII mode data connection for /bin/ls.
total 25760
drwxr-xr-x2 emoenke  ftp  4096 Aug  3 01:53 .
drwxr-xr-x   11 emoenke  ftp  4096 Jul 29  2003 ..
-rw-r--r--1 emoenke  ftp  1006 Jun 19 01:49 README.TXT
-rw-r--r--1 emoenke  ftp  26332175 Aug  3 01:26 ports.tar.gz
226 Transfer complete.



simply download the tar.gz, and extract it to /usr/ports



On each ISO of a release, like the 4.10R-CD #1, they take a snapshot of
the ports tree when the make the assumption that it ist quite
consistent. So when you download in say, 3 months a 4.10 ISO, the ports
tree therein will be more than 3 months old.

In that case, use whether cvsup or method above to get a recent ports
tree.

HTH
Olaf


-- 
Olaf Hoyer[EMAIL PROTECTED]
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bandwidth Limiting

2004-08-03 Thread Dan Nelson
In the last episode (Aug 03), Jonathan said:
 Hello, I run FreeBSD 5-2.1 on a serv4er box used for my company 
 (StreamForce Hosting Solutions). I was wondering if there is an 
 application i can install or method of limiting per user bandwidth by 
 like a certain group or class. If not is there a way to limit bandwidth 
 for all non super user accounts.

ipfw rules plus dummynet should be able to do what you want.  ipfw can
filter on the uid or gid of the process sending/receiving the packet, so
this should cause all non-root packets to get filtered through dummynet 
pipe 1 (which you could configure to run at 90% of your true capacity):

ipfw add 400 skipto 402 ip from any to any uid root
ipfw add 401 pipe 1 ip from any to any
 
Hopefully ipfw will soon get the ability to use ALTQ which was recently
merged into -current, so you can do some more advanced limiting.

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