Re: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 2-8-2010 21:26, David N schreef:

On 2 August 2010 21:32, Alex de Kruijffal...@specialisterren.nl  wrote:
   

Hi,

I've setup a LDAP backend Samba PDC. I can gain access to shares and

login with a user that is in LDAP, but have a prblem setting up the
roaming profile stuff. I've been trying to solve this problem for some
time now, and have tried everything I could think of, but without much
luck. I keep getting the following error messages:

Windows cannot locate the server copy of your roaming profile and is
attempting to log you on with your local profile. Changes to the profile
will not be copied to the server when you logoff. Plausible causes of
this error include network problem or insufficient security rights. If
this problem persists, contact your network administrators. DETAILS -
The network path was not found.

Followed by:

Windows cannot find the local profile and is logging on with a tempory
profiles. Changes to this profile will be lost when you logoff.

Here is my smb.conf:

 

[global]
 security = user
 name resolve order = wins lmhosts hosts bcast
 deadtime = 15
 map to guest = Never
 csc policy = disable
 hosts allow = 127. 192.168.
 server string =
 workgroup = Nieuwegein
 time server = yes
 wins support = yes
 domain master = yes
 domain logons = yes
encrypt passwords = yes
 local master = yes
 logon drive = Z:
 logon path = \\%L\profiles\%U
 preferred master = yes
 os level = 255
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://localhost/
 enable privileges = Yes
 pam password change = yes
 passwd program = /usr/local/sbin/smbldap-passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n
   

*all*authentication*tokens*updated*
 

 unix password sync = Yes
 ldap delete dn = Yes
 ldap ssl = Off
 ldap passwd sync = Yes
 ldap admin dn = cn=admin,dc=specialisterren,dc=nl
 ldap suffix = dc=specialisterren,dc=nl
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 idmap backend = ldap:ldap://localhost
 idmap uid = 1-2
 idmap gid = 1-2
 add user script = /usr/local/sbin/smbldap-useradd -a -m %u
 delete user script = /usr/local/sbin/smbldap-userdel %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 delete group script = /usr/local/sbin/smbldap-groupdel %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m
   

%u %g
 

 delete user from group script = /usr/local/sbin/smbldap-groupmod
   

-x %u %g
 

set primary group script = /usr/local/sbin/smbldap-usermod -g %g
   

%u
 

 add machine script = /usr/local/sbin/smbldap-useradd -w %u
template homedir = /home/%U
 template shell = /bin/csh
getwd cache = yes
socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
use sendfile = yes
mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
 syslog = 0

  [template]
  # edited out, has no path

  [homes]
comment = Home users
inherit owner = yes
dos filemode = yes
writable = yes
read list = @wheel @Domain Admins
valid users = %S
 create mask = 0740
 directory mask = 0750
 aio read size = 16384

  [netlogon]
 comment = Network Logon Service
 path = /disk/netlogon
 browseable = no
 read only = yes
 aio read size = 16384

  [profiles]
 comment = Roaming Profiles Directory
 path = /disk/profiles
 administrative share = true
 browseable = no
writable = yes
 create mask = 0600
 directory mask = 0700
 aio read size = 16384
 public = yes
 # The root preexec command performs:
# mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
 # I started off without this.
 root preexec = /root/sbin/profiles.sh %U %a

# edited out other shares
   

ldapsearch gives me:
 

  # tester, Users, specialisterren.nl
  dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
  objectClass: top
  objectClass: person
  objectClass: organizationalPerson
  objectClass: inetOrgPerson
  objectClass: posixAccount
  objectClass: shadowAccount
  objectClass: sambaSamAccount
  cn: tester
  sn: tester
  givenName: tester
  uid: tester
  uidNumber: 10005
  gidNumber: 513
  homeDirectory: /home/tester
  loginShell: /bin/sh
  gecos: Tes ter
  sambaLogonTime: 0
   

(Edited out the other stuff)

I can acces \\Server\profiles, \\Server\netlogon using my tester
account. /etc/passwd contains no line with the user tester. And I can
login under SSH with the tester account.

ll -d /disk/{netlogon,profiles}gives me:
drwxr-xr-x  2 root  wheel  512 Mar 16 11:09 /disk/netlogon/
drwxrwxrwt  2 root  wheel  512 Aug  2 12:41 /disk/profiles/

Alex



[solved] Re: Samba PDC roaming profiles problem

2010-08-03 Thread Alex de Kruijff

Op 3-8-2010 14:35, Ruben de Groot schreef:

On Tue, Aug 03, 2010 at 12:22:33PM +0200, Alex de Kruijff typed:

   

I've enabled debugging in Windows Domain using:
http://support.microsoft.com/default.aspx?scid=kb;en-us;221833

I find it strange that it first tries \\%L\profiles\testers. This is the
log.


USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile: Entering, hToken =

0x960, lpProfileInfo = 0x6e3e0
USERENV(2ec.2f0) 12:08:35:468 LoadUserProfile:
 

[lot's of MS logs snipped]

I really think these kind of logs could be much better analyzed at a
samba or MS mailing list.

cheers,
Ruben

   

Hi,

I solved it. Without LDAP one is able to use %L, %U and %a in the logon 
path, but if one uses LDAP then this path is no longer processed by 
Samba, but instead passed literally to Windows. So far my solution is to 
change all LDAP entries. This also means I should name multiple servers 
(on different networks) with the same hostname. Its a bit more limiting 
the smb.conf, but it works.


Yours,
Alex

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


Samba PDC roaming profiles problem

2010-08-02 Thread Alex de Kruijff

Hi,

I've setup a LDAP backend Samba PDC. I can gain access to shares and

login with a user that is in LDAP, but have a prblem setting up the
roaming profile stuff. I've been trying to solve this problem for some
time now, and have tried everything I could think of, but without much
luck. I keep getting the following error messages:

Windows cannot locate the server copy of your roaming profile and is
attempting to log you on with your local profile. Changes to the profile
will not be copied to the server when you logoff. Plausible causes of
this error include network problem or insufficient security rights. If
this problem persists, contact your network administrators. DETAILS -
The network path was not found.

Followed by:

Windows cannot find the local profile and is logging on with a tempory
profiles. Changes to this profile will be lost when you logoff.

Here is my smb.conf:


[global]
 security = user
 name resolve order = wins lmhosts hosts bcast
 deadtime = 15
 map to guest = Never
 csc policy = disable
 hosts allow = 127. 192.168.
 server string =
 workgroup = Nieuwegein
 time server = yes
 wins support = yes
 domain master = yes
 domain logons = yes
encrypt passwords = yes
 local master = yes
 logon drive = Z:
 logon path = \\%L\profiles\%U
 preferred master = yes
 os level = 255
 encrypt passwords = yes
 passdb backend = ldapsam:ldap://localhost/
 enable privileges = Yes
 pam password change = yes
 passwd program = /usr/local/sbin/smbldap-passwd %u
 passwd chat = *New*password* %n\n *Retype*new*password* %n\n

*all*authentication*tokens*updated*

 unix password sync = Yes
 ldap delete dn = Yes
 ldap ssl = Off
 ldap passwd sync = Yes
 ldap admin dn = cn=admin,dc=specialisterren,dc=nl
 ldap suffix = dc=specialisterren,dc=nl
 ldap group suffix = ou=Groups
 ldap idmap suffix = ou=Users
 ldap machine suffix = ou=Computers
 ldap user suffix = ou=Users
 idmap backend = ldap:ldap://localhost
 idmap uid = 1-2
 idmap gid = 1-2
 add user script = /usr/local/sbin/smbldap-useradd -a -m %u
 delete user script = /usr/local/sbin/smbldap-userdel %u
 add group script = /usr/local/sbin/smbldap-groupadd -p %g
 delete group script = /usr/local/sbin/smbldap-groupdel %g
 add user to group script = /usr/local/sbin/smbldap-groupmod -m

%u %g

 delete user from group script = /usr/local/sbin/smbldap-groupmod

-x %u %g

set primary group script = /usr/local/sbin/smbldap-usermod -g %g

%u

 add machine script = /usr/local/sbin/smbldap-useradd -w %u
template homedir = /home/%U
 template shell = /bin/csh
getwd cache = yes
socket options = SO_KEEPALIVE TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=819
use sendfile = yes
mangle prefix = 6 # How to mangle Long Filenames in to 8.3 DOS
log level = 1
log file = /var/log/samba/log.%m
max log size = 50
 syslog = 0

 [template]
 # edited out, has no path

 [homes]
comment = Home users
inherit owner = yes
dos filemode = yes
writable = yes
read list = @wheel @Domain Admins
valid users = %S
 create mask = 0740
 directory mask = 0750
 aio read size = 16384

 [netlogon]
 comment = Network Logon Service
 path = /disk/netlogon
 browseable = no
 read only = yes
 aio read size = 16384

 [profiles]
 comment = Roaming Profiles Directory
 path = /disk/profiles
 administrative share = true
 browseable = no
writable = yes
 create mask = 0600
 directory mask = 0700
 aio read size = 16384
 public = yes
 # The root preexec command performs:
# mkdir -pm 750 /disk/profiles/%U-%a; chown %U /disk/profiles/%U-%a
 # I started off without this.
 root preexec = /root/sbin/profiles.sh %U %a

# edited out other shares


ldapsearch gives me:

 # tester, Users, specialisterren.nl
 dn: uid=tester,ou=Users,dc=specialisterren,dc=nl
 objectClass: top
 objectClass: person
 objectClass: organizationalPerson
 objectClass: inetOrgPerson
 objectClass: posixAccount
 objectClass: shadowAccount
 objectClass: sambaSamAccount
 cn: tester
 sn: tester
 givenName: tester
 uid: tester
 uidNumber: 10005
 gidNumber: 513
 homeDirectory: /home/tester
 loginShell: /bin/sh
 gecos: Tes ter
 sambaLogonTime: 0

(Edited out the other stuff)

I can acces \\Server\profiles, \\Server\netlogon using my tester
account. /etc/passwd contains no line with the user tester. And I can
login under SSH with the tester account.

ll -d /disk/{netlogon,profiles}gives me:
drwxr-xr-x  2 root  wheel  512 Mar 16 11:09 /disk/netlogon/
drwxrwxrwt  2 root  wheel  512 Aug  2 12:41 /disk/profiles/

Alex


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


HP proliant ML 150 G6 Server

2010-07-20 Thread Alex de Kruijff

Hi,

I'm in looking for FreeBSD server for my employer. The server will be 
our main server. At the moment we are looking at 'HP proliant ML 150 G6 
server' and are keen on hearing about users experience. Any advice or 
personal experience on this matter would be most welcomed.


http://h10010.www1.hp.com/wwpc/us/en/sm/WF05a/15351-15351-241434-241646-3328424-3884323.html

Yours,
Alex

P.S. Please CC me, as I am not on the list.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Salvage files from harddrive

2009-12-29 Thread Alex de Kruijff
On Fri, Oct 07, 2011 at 04:07:51AM -0700, jeffry killen wrote:
 I have a hard drive that contains the /var file system in a system that
 will not boot.
 In single user mode I can mount  /var.
 
 I want to take this disk and put it in another FreeBSD system and
 try to copy the files I need off of it to a safe place.
 
 The system I will plug it into will also have a separate disk with
 /var.
 
 Is there going to be a conflict with the labels and how would I
 best go about this?

I've changed the size of the disk slices by copying files over to a
nother disk, boot from that one and later back.

I would suggest using 'rsync -aHW source dest
And later remove with 'chflags -R noschg source; rm -rf source'
-- 
Alex

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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 11:49:31PM +0200, Kaya Saman wrote:
 Hi guys,
 I attempted an install of 7.2 stable on my laptop and subsequently 
 installed X11also. Now I didn't have any Xorg.conf file but each time I 
 tried to start X from the CLI using the normal startx command (read the 
 documentation through fully beforehand) but I didn't manage to get the 
 mouse or keyboard to even work let alone starting the Gnome2 interface.

Beside the two daemons others refered to, you sould also edit ~/.initrc
and ~/xsession. For me both have the line: 'exec startkde'. Thats the
command to start kde.

 I am looking to setup a small file server which I will use as DNS and 
 NTP server also. The reason for selecting FreeBSD is that the system I 
 about to install onto doesn't have much memory (not sure how much but 
 probably in the region of 300-500MB perhaps) and although Linux would 
 definitely suite this kind of system as Solaris needs round 2GB or so 
 for OpenSolaris, I am quite interested to learn FreeBSD but also take 
 advantage of the ZFS file system which is standard now in version 8.

I would stick with UFS of UFS2. The latter if you don't intent to share
them with *BSD. As I understand ZFS uses quite a lot more resources. If
I wanted to something with RAID I might still use it, but even so still
would use UFS to the system slices.

If you low on disk space you can reduce this. I have used 256M for / in
the past but would advise against this. You would need something like 8G
for /usr. But may need to raise that by 5G if you build ports. I have
larger /temp of 7G, but also build ports there. If you build Java it
would need a least 4G.

 I won't be installing a GUI on this machine since it is going to be a 
 server so I would like to know if BSD has a small footprint memory and 
 CPU wise for me to run on the machine in question which is a PIV?

It's not a problem. The footprint depends more on the ports you like to
run.

 Also just to make sure: NFS, Samba, NTPd, and ISC's Bind are all 
 supported on FreeBSD aren't they??

Some come with the system, others you have to install.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 04:20:10PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 3:49 PM, Kaya Saman kayasa...@optiplex-networks.com
 Running with no xorg.conf is fine, but you need to make sure dbus and hal
 are started at boot.  Follow the handbook for best results.
 
 http://www.freebsd.org/doc/en/books/handbook/x-config.html

How come?

The keybord and mouse work for me without on a simple shell.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: New user - small file server questions and quick GUI question

2009-12-29 Thread Alex de Kruijff
On Mon, Dec 28, 2009 at 05:04:52PM -0600, Adam Vande More wrote:
 On Mon, Dec 28, 2009 at 4:42 PM, Kaya Saman samank...@netscape.net wrote:
  Also if something goes wrong with the filesystem what are the tools to
  check the drive and repair errors as in Linux I use e2fsck followed by
  device ID.
 
 Example after a dirty shutdown:
 
  fsck -y

FreeBSD 7 and up is able to do a lot of this on the background: fsck -yB

Adding the line 'fsck_y_enable=YES' to /etc/rc.conf will run fsck -y
if the initial preen fails
-- 
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[8.0] GEOM: ad0: geometry does not match label (225h, 63s != 16h63s)

2009-12-05 Thread Alex de Kruijff
Hi,

Way back it was very hard to install FreeBSD on this computer, do to
sysinstall tendency to keep changing the hard disk settings. Since then
I've bin very reluctant to reinstall FreeBSD. Upgrading FreeBSD was
easy, until now. The FreeBSD 8.0 kernel says and refuces to boot.

GEOM: ad0: geometry does not match label (225h,63s != 16h63s)

Sysinstall (with 7.2) says: A geometry of 484521/16/63 for ad0 is
incorrect. Using a more likely geometry.

The next screen says: DISK Geometry:  30401 cyls/255 heads/63 sectors =
488392065 sectors (238472MB)

 fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: binary upgrade 6.1 - 7.2/8.0

2009-12-04 Thread Alex de Kruijff
On Tue, Oct 27, 2009 at 02:01:04PM +, Robin Becker wrote:
 Is it feasible to upgrade a system from 6.1 to 7.2 or 8.0-RC1 and if yes 
 what sequence of upgrades should I actually carry out ie is it feasible to 
 do 6.1-6.2 and then 6.2 - 7.2 or should it be done in small steps?

I didn't see anyone else responed so I give it a go. I thougth it was
posible for the base but not the ports. And I thought binairy upgrade
only works from releses not patches or RCs. I haven't done this my self,
but got this info from the handbook / the list.
-- 
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd 6.4 can't load kernel after upgrade

2009-12-04 Thread Alex de Kruijff
On Sat, Oct 31, 2009 at 07:04:55AM +0200, Manolis Kiagias wrote:
 oscar Seo wrote:
  I'm a beginner in freebsd.
  my machine consists of freebsd-6.4 + i386 bootstrap loader,+ windowmaker
  after upgrade freebsd-6.4 using sysinstall then reboot the system,
  I got an error message as follows
  +++
  Loading /boot/defaults/loader.conf
  Unable to load a kernel!
  /
  can't load 'kernel'
 
  Type '?' for a list of commands, 'help' for more detailed help.
  OK _
  +++

 You could try loading your old kernel. When you build a new kernel, your
 old kernel is preserved under /boot/kernel.old
 
 Type these commands in the loader prompt
 
 unload (probably not needed here)
 load kernel.old
 boot

Because kernel.old is overwritten with each attemt you might mv
/boot/kernel.old to /boot/kernel.good. This prevents you from being
stuck with a system you can't boot.
-- 
Alex

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


Upgrade problem 6.1 - 6.4

2009-12-04 Thread Alex de Kruijff

I wanted to upgrade to 8.0 to take advantage of the USB code. I've run
in to a compile problem going grom 6.1 to 6.2.0. I've copied sys/dev/twa
from 7.0 in to the source of 6.2. Without this source it will not boot.

# uname -a
FreeBSD Server1.lan 6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #0: Wed Nov
14 02:07:49 CET 2007
akrui...@server1.lan:/temp/obj/temp/src/sys/SERVER-SMP  i386

# 'make buildworld' gives me:

--
 stage 1.2: bootstrap tools
--
(...)
c++ -O2 -fno-strict-aliasing -pipe -I/usr/obj/temp/src/tmp/legacy/usr/include 
-I/temp/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib 
-I/temp/src/gnu/usr.bin/gperf  -static -L/usr/obj/temp/src/tmp/legacy/usr/lib 
-o gperf bool-array.o gen-perf.o hash-table.o iterator.o key-list.o list-node.o 
main.o new.o options.o read-line.o trace.o vectors.o version.o hash.o -legacy
gen-perf.o(.text+0x12f): In function `Gen_Perf::Gen_Perf()':
: undefined reference to `_Unwind_Resume'

: undefined reference to `_Unwind_Resume'
gen-perf.o(.text+0xb8b): In function `Gen_Perf::~Gen_Perf()':
: undefined reference to `_Unwind_Resume'
gen-perf.o(.text+0xc53): In function `Gen_Perf::~Gen_Perf()':
: undefined reference to `_Unwind_Resume'
key-list.o(.text+0x583): In function `parse_line(char const*, char
const*)':
: undefined reference to `_Unwind_Resume'
key-list.o(.text+0xb8e): more undefined references to `_Unwind_Resume' follow 
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x4a):
 In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x55):
 In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
: undefined reference to `_Unwind_GetTextRelBase'
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x5f):
 In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
: undefined reference to `_Unwind_GetDataRelBase'
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info+0x19):
 In function `parse_lsda_header(_Unwind_Context*, unsigned char const*, 
lsda_header_info*)':
: undefined reference to `_Unwind_GetRegionStart'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__cxa_call_unexpected+0xc5): In 
function `__cxa_call_unexpected':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x60): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_GetLanguageSpecificData'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x97): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_GetIP'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x205): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_SetGR'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x21c): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_SetGR'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x22e): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_SetIP'
/usr/lib/libstdc++.a(eh_personality.o)(.text.__gxx_personality_v0+0x3b4): In 
function `__gxx_personality_v0':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(new_opv.o)(.text._Znaj+0x21): In function `operator 
new[](unsigned int)':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_end_catch+0x50): In function 
`__cxa_end_catch':
: undefined reference to `_Unwind_DeleteException'
/usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_end_catch+0x7c): In function 
`__cxa_end_catch':
: undefined reference to `_Unwind_DeleteException'
/usr/lib/libstdc++.a(eh_catch.o)(.text.__cxa_begin_catch+0x96): In function 
`__cxa_begin_catch':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_free_exception+0x278): In function 
`__cxa_free_exception':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_allocate_exception+0x2b4): In 
function `__cxa_allocate_exception':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(eh_throw.o)(.text.__cxa_rethrow+0x37): In function 
`__cxa_rethrow':
: undefined reference to `_Unwind_Resume_or_Rethrow'
/usr/lib/libstdc++.a(eh_throw.o)(.text.__cxa_throw+0x45): In function 
`__cxa_throw':
: undefined reference to `_Unwind_RaiseException'
/usr/lib/libstdc++.a(eh_terminate.o)(.text._ZN10__cxxabiv111__terminateEPFvvE+0x27):
 In function `__cxxabiv1::__terminate(void (*)())':
: undefined reference to `_Unwind_Resume'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x1b7):
 In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference 

Re: Upgrade problem 6.1 - 6.4

2009-12-04 Thread Alex de Kruijff
On Fri, Dec 04, 2009 at 10:56:19PM -0600, Adam Vande More wrote:
 On Fri, Dec 4, 2009 at 10:44 PM, Alex de Kruijff 
 free...@akruijff.dds.nlwrote:
 
 
  I wanted to upgrade to 8.0 to take advantage of the USB code. I've run
  in to a compile problem going grom 6.1 to 6.2.0. I've copied sys/dev/twa
  from 7.0 in to the source of 6.2. Without this source it will not boot.
 
 
 I am unclear as to your goal.  Seems like you want 8.0 but reference
 building 6.2 source.  Why is that?

/usr/src/UPDATING says:

When upgrading from one major version to another it is generally best to
upgrade to the latest code in the currently installed branch first, then
do an upgrade to the new branch. This is the best-tested upgrade path,
and has the highest probability of being successful. Please try this
approach before reporting problems with a major version upgrade.

Since 6.4 didn't work I tried 6.2

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Sendmail Masquerade Problem

2008-06-24 Thread Alex de Kruijff
I have problem with sendmail that is giving me a headake. I can send
mails als long when I give the from adres, but when I leave this out the
server enters the localname and my ISP isn't accepting the mail. (i.e.
echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED] works, but 
without
the -f option it gets accepted but is rejected by the isp) I have
masquerade setup, but that doesn't seem to do the trick. However check
on shows that it handeled oke.



I added to private.mc

 MASQUERADE_AS(`public')
 MASQUERADE_DOMAIN(`localhost')
 MASQUERADE_DOMAIN(`localhost.lan')
 MASQUERADE_DOMAIN(`private')
 MASQUERADE_DOMAIN(`private')
 
 FEATURE(masquerade_envelope)
 FEATURE(masquerade_entire_domain)
 FEATURE(allmasquerade)
 
 D
 Dmpublic
 define(`confDOMAIN_NAME', `www.public')
 define(`SMART_HOST', `smtp.isp')
 
 define(`confBIND_OPTS', `WorkAroundBroken')
 define(`confNO_RCPT_ACTION', `add-to-undisclosed')
 define(`confPRIVACY_FLAGS', `authwarnings,noexpn,novrfy')
 define(`confTO_QUEUERETURN', `360d')
 MAILER(local)
 MAILER(smtp)

I found in private.cf

C{E}root
C{M}localhost
C{M}localhost.lan
C{M}private
C{M}private.private

# who I masquerade as (null for no masquerading) (see also $=M)
DMpublic


From /var/log/maillog

 Jun 24 18:22:14 private sendmail[68231]: m5OGMDGG068231: from=www,
 size=1238, class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED],
 [EMAIL PROTECTED]
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232:
 from=[EMAIL PROTECTED], size=1351, class=0, nrcpts=1,
 msgid=[EMAIL PROTECTED], proto=ESMTP,
 daemon=IPv4, relay=localhost [127.0.0.1]
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232: Milter add:
 header: X-Virus-Scanned: ClamAV 0.92.1/7550/Tue Jun 24 16:52:37 2008
 on private
 Jun 24 18:22:14 private sm-mta[68232]: m5OGMEXU068232: Milter add:
 header: X-Virus-Status: Clean
 Jun 24 18:22:14 private sendmail[68231]: m5OGMDGG068231:
 to==?UTF-8?B?QWxmYXRyaW9u?= [EMAIL PROTECTED], ctladdr=www
 (80/80), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=31238,
 relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (m5OGMEXU068232
 Message accepted for delivery)
 Jun 24 18:22:14 private sm-mta[68234]: m5OGMEXU068232:
 to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (0/0),
 delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31351,
 relay=smtp.isp. [195.241.79.132], dsn=4.3.0, stat=Deferred: 451
 Temporary local problem - please try later


From the mail it self.

 H??Received: from private (localhost [127.0.0.1])
 by public (8.13.6/8.13.6) with ESMTP id m5OGMEXU068232
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 18:22:14 +0200
 (CEST)
 (envelope-from [EMAIL PROTECTED])
 H?x?Full-Name: Charlie Root
 H??Received: (from [EMAIL PROTECTED])
 by private (8.13.6/8.13.6/Submit) id m5OGMDGG068231;
 Tue, 24 Jun 2008 18:22:13 +0200 (CEST)
 (envelope-from www)


But when I run

 sendmail -bt
 /tryflags hs
 /try esmtp [EMAIL PROTECTED]
 /quit 


it gives me

 canonify   input:  user @ private 
 Canonify2  input: user  @ private 
 Canonify2returns: user  @ private . 
 canonify returns: user  @ private . 
 1  input: user  @ private . 
 1returns: user  @ private . 
 HdrFromSMTPinput: user  @ private . 
 PseudoToReal   input: user  @ private . 
 PseudoToReal returns: user  @ private . 
 MasqSMTP   input: user  @ private . 
 MasqSMTP returns: user  @ private . 
 MasqHdrinput: user  @ private . 
 MasqHdr  returns: user  @ public . 
 HdrFromSMTP  returns: user  @ public . 
 final  input: user  @ public . 
 finalreturns: user @ public
 Rcode = 0, addr = [EMAIL PROTECTED]


Running sendmail -d0.1 -bt /dev/null gives me 

 Version 8.13.6
  Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
  MIME8TO7
 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS
 PIPELINING SCANF
 STARTTLS TCPWRAPPERS USERDB XDEBUG
 
  SYSTEM IDENTITY (after readcf) 
   (short domain name) $w = www
   (canonical domain name) $j = www.public
  (subdomain name) $m = public
   (node name) $k = private
 
 
 ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
 Enter ruleset address





-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.


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


Re: Sendmail Masquerade Problem

2008-06-24 Thread Alex de Kruijff
On Tue, Jun 24, 2008 at 02:19:44PM -0700, Chuck Swiger wrote:
 On Jun 24, 2008, at 2:01 PM, Alex de Kruijff wrote:
 I have problem with sendmail that is giving me a headake. I can send
 mails als long when I give the from adres, but when I leave this out  
 the
 server enters the localname and my ISP isn't accepting the mail. (i.e.
 echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED] works, but 
 without
 the -f option it gets accepted but is rejected by the isp) I have
 masquerade setup, but that doesn't seem to do the trick. However check
 on shows that it handeled oke.
 
 Root is an exposed user, in other words, mail sent by root is not  
 masquaraded by default, even if other addresses would be.

I tested this with a regular user.

 Anyway, this doesn't really matter, as your ISP's mail server should  
 be willing to relay your mail anyway.  You should talk with tiscali.nl  
 about what else you might need to do-- perhaps setting up SMTP auth  
 would let you relay through their mailservers...

this works: echo 'test' | mail -vs test [EMAIL PROTECTED] [EMAIL PROTECTED]
this doesn't: echo 'test' | mail -vs test [EMAIL PROTECTED]

Reading: /var/spool/mqueue/qfm5OJ6BIh070839
 V8
 T1214334371
 K1214343000
 N13
 P1110364
 I0/85/1271838
 MDeferred: 451 Temporary local problem - please try later
 Fbs
 $_localhost [127.0.0.1]
 $rESMTP
 $sprivate
 ${daemon_flags}
 ${if_addr}127.0.0.1
 S[EMAIL PROTECTED]
 MDeferred: 451 Temporary local problem - please try later
 rRFC822; [EMAIL PROTECTED]
 RPFD:[EMAIL PROTECTED]
 H?P?Return-Path: \x81g
 H??Received: from private (localhost [127.0.0.1])
 by public (8.13.6/8.13.6) with ESMTP id m5OJ6BIh070839
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 (envelope-from [EMAIL PROTECTED])
 H?x?Full-Name: Charlie Root
 H??Received: (from [EMAIL PROTECTED])
 by private (8.13.6/8.13.6/Submit) id m5OJ6BpJ070838
 for [EMAIL PROTECTED]; Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 (envelope-from me)
 H??Date: Tue, 24 Jun 2008 21:06:11 +0200 (CEST)
 H??From: Alex de Kruijff [EMAIL PROTECTED]
 H??Message-Id: [EMAIL PROTECTED]
 H??To: [EMAIL PROTECTED]
 H??Subject: test
 H??X-Virus-Scanned: ClamAV 0.92.1/7553/Tue Jun 24 19:23:00 2008 on
 private
 H??X-Virus-Status: Clean

[EMAIL PROTECTED] doesn't exist on the outside and like it to be changed by
sendmail into [EMAIL PROTECTED]

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

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


Re: List replies

2008-03-23 Thread Alex de Kruijff
On Sat, Mar 22, 2008 at 11:54:00PM +0100, Tore Lund wrote:
 Jonathan McKeown wrote:
  [snip]
  As regards copying the original recipients, this list specifically requests 
  it: check the regular posting titled ``how to get best results from 
  freebsd-questions'', particularly para VII.6.
 
 I think you mean para VI.6.  The gist of that paragraph is a wish to
 avoid taking a message which is of general interest off the list,
 hence the advice to cc the list.  There is no argument there about why
 the sender should receive the mail.  Indeed, such a practice is simply
 counter-productive to the intention expressed, since copying the sender
 increases the likelihood that a message (or even an ensuing discussion)
 of general interest is taken off the list.
 
 I request that this misunderstood piece of etiquette is revised.  If
 someone has the brains to find this list as well as the brains to use
 FreeBSD at all, they also have the brains to come back here to look for
 answers.  Copying the sender makes no sense at all, as far as I can see.
 Whether or not headers should be modified is a separate matter.

I'm happy the way it is. The current setup allows me to seperate replies
to my own messages from the entaire list. I like having the option of
juist following the discussions I took part in and juist view the list
every now and then. 
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: mpd pptp server?

2008-03-23 Thread Alex de Kruijff
On Wed, Mar 19, 2008 at 12:43:58AM +0100, Jon Theil Nielsen wrote:
 I have tried some different ways to make a working VPN server on FreeBSD 7.0.
 The main goal is to make it possible for Windows clients to access their
 Samba home shares. I'm not sure if mpd is the best solution, but I will give
 it a try.
 I have installed /usr/ports/mpd4 and have the following configuration:

I run openvpn on FreeBSD and Windows XP.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


VPN setup with OpenVPN (was: mpd pptp server?)

2008-03-23 Thread Alex de Kruijff
On Sun, Mar 23, 2008 at 10:45:57PM +0100, Jon Theil Nielsen wrote:
 2008/3/23, Alex de Kruijff [EMAIL PROTECTED]:
  On Wed, Mar 19, 2008 at 12:43:58AM +0100, Jon Theil Nielsen wrote:
   I have tried some different ways to make a working VPN server on FreeBSD
  7.0.
   The main goal is to make it possible for Windows clients to access their
   Samba home shares. I'm not sure if mpd is the best solution, but I will
  give
   it a try.
   I have installed /usr/ports/mpd4 and have the following configuration:
 
  I run openvpn on FreeBSD and Windows XP.
 
 I have now succeeded in establishing connections from Windows to a VPN
 server based on mpd4. But it has some severe limitations: I have to define
 every single connection in the conf file (not a major problem). And I don't
 see any option to authenticate against neither UNIX or Samba passwords. Is
 that different through openvpn? Could you give some brief hints on the
 configuration or maybe a reference to a useful howto?

Giving you the program name ought to be enove of a hint.
http://www.google.com/search?q=openvpn
The openvpn site has a very nice howto.

I can tell you the setup I have. I don't authenticate against UNIX or
Samba passwords. I don't see what good it will do to require such
autentication. It might even post a security risk. It might be posible.

I do use certificates (standard) so I can cut off machines. Users need
to authenticate when the connect to the services of a machine. I have
a firewall on each computer.

I have a VPN tunnel beteen sites and a road warrior setup for laptops.
And I have a setup that allows me to take a server down without
disrupting traffic flow beteen sites.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Low space on /

2008-03-14 Thread Alex de Kruijff
On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote:
 On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
 
  On Thu, 13 Mar 2008 16:15:22 -0400
  Robert Huff [EMAIL PROTECTED] wrote:
  
   
   Ghirai writes:
   
 Can't remember exactly since when, or how, but atm. i see this:
 
 Filesystem SizeUsed   Avail Capacity  Mounted on
 /dev/ad6s3a496M454M1.8M   100%/
   
 Start with /tmp.
 Also:
   
 du -x / | sort -nr | head -n 25
   
   
  
  Here's the output (removed a couple other  100KiB ):
  
  986K/bin
  512B/dev
  366K/etc/rc.d
  270K/lib/geom
  250K/etc/mail
  170K/libexec
  138K/etc/ssh
  137M/
  121M/boot
  118K/etc/periodic
  116K/etc/defaults
  112M/boot/kernel
  
  /tmp is ~2MiB.
 
 try doing a df -k to see what file systems are really
 there and what they have in them.
 Then go in to root (/) and do  ls -laF
 That may provide some clues.
 

This seams to be be a partial account of /. 
Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'.

You can safely remove /boot/kernel/*.symbols

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


Re: Low space on /

2008-03-14 Thread Alex de Kruijff
On Fri, Mar 14, 2008 at 06:07:47PM +0100, Alex de Kruijff wrote:
 On Thu, Mar 13, 2008 at 05:16:29PM -0400, Jerry McAllister wrote:
  On Thu, Mar 13, 2008 at 10:36:57PM +0200, Ghirai wrote:
  
   On Thu, 13 Mar 2008 16:15:22 -0400
   Robert Huff [EMAIL PROTECTED] wrote:
   

Ghirai writes:

  Can't remember exactly since when, or how, but atm. i see this:
  
  Filesystem SizeUsed   Avail Capacity  Mounted on
  /dev/ad6s3a496M454M1.8M   100%/

Start with /tmp.
Also:

du -x / | sort -nr | head -n 25


   
   Here's the output (removed a couple other  100KiB ):
   
   986K/bin
   512B/dev
   366K/etc/rc.d
   270K/lib/geom
   250K/etc/mail
   170K/libexec
   138K/etc/ssh
   137M/
   121M/boot
   118K/etc/periodic
   116K/etc/defaults
   112M/boot/kernel
   
   /tmp is ~2MiB.
  
  try doing a df -k to see what file systems are really
  there and what they have in them.
  Then go in to root (/) and do  ls -laF
  That may provide some clues.
  
 
 This seams to be be a partial account of /. 
 Try 'du -x / | grep \[\ 0-9\]*M' instead or 'du -shx /.[^.]* /*'.

The first command should be:
du -hx / | grep ^\[\ \.0-9\]\*M
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Three wishes of a wannabe developer

2008-02-07 Thread Alex de Kruijff
On Thu, Feb 07, 2008 at 11:31:30AM +, [EMAIL PROTECTED] wrote:
 1. I wish there were free software programming crash courses for
beginners= (beginners in programming) in every free software
community event and gath= eting, providing and entry route for
those who want to contribute for the a= vailability of free
software in all areas of thought and all ciences and al= l
activities and not just be passive users. It could be just at free
softwa= re events or in association with universities through
summer schools, for e= xample.

A open source website with tutorials and pointers would come in handy.
This could be shared with the linux community.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Nice for IO

2008-02-06 Thread Alex de Kruijff
I'm looking for tool that limit the IO acces to a process similair as
what nice / idprio does with the CPU but only ten for IO. 

Any pointers?
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Kopete MSN

2007-10-30 Thread Alex de Kruijff
Hi,

I have trouble to use MSN with kopete for some time now. I was
wondering: Am I the only one? Or my this be something FreeBSD related?

Tanks for your responce,
Alex

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


Re: libmap.conf file????

2006-12-17 Thread Alex de Kruijff
On Sun, Dec 17, 2006 at 06:47:15PM +0100, VeeJay wrote:
 I am running a FreeBSD6.1 Webserver with mysql but having problems
 I found below mentioned quote on the net? But I don't know where to find
 this libmap.conf file?

You should be able to find it in /etc/. If it doesn't exist then you
could create it your self. You can also find examples with:
find / --name *libmap.com*.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: How to create an e-mail

2006-11-10 Thread Alex de Kruijff
On Fri, Nov 10, 2006 at 07:57:09AM +0200, Luke Lamla wrote:
 Can you please assist me I am using FreeBSD for my e-mail and internet. I
 want to create e-mail using super user (root) for my employees. What should
 I do or which steps should I follow to do that. I will appreciate your
 support immediately.

FreeBSD uses the mailer 'sendmail' by default. You can check the
FreeBSD handbook and 'man sendmail' for information about this. You can
send mail from the command line by using echo 'msg' | mail -s subject
[EMAIL PROTECTED] [EMAIL PROTECTED]' or use a mailer like
Mutt.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: traffic analysis tools

2006-10-26 Thread Alex de Kruijff
On Sat, Oct 21, 2006 at 10:19:34AM -0400, Michael P. Soulier wrote:
 Hey people,
 
 I'd like something to look at traffic use through my gateway, so I know how
 much of my upload bandwidth and download bandwidth is in use at any time.
 Ideally it'll tell me from where, so I can look at internal abusers, or get an
 idea of where hits are coming from.
 
 Off the top of my head, I can think of two tools.
 
 1. ntop - great web interface, but I've found it unstable
 2. iptraf - good curses interface, but I'm looking for trend monitoring
 3. mrtg - as I'm running snmp, so I could just monitor it from a desktop
 running mrtg...
 
 Any other suggestions?

The firewall ipfw comes with a counter option. You could collect this
information out the firewall with ipa into its database. Then create
graphs with mrtg. I have two articles about how to do this on my
website.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: How to do health check

2006-10-26 Thread Alex de Kruijff
On Thu, Oct 19, 2006 at 02:36:50PM +0300, Simon Phoenix wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512
 
 Faiyaz Ali said the following on 19.10.2006 09:55:
  Hi,
  
  I'm new in unix world,
  
  1) how to do helthcheck on unix machine ?
  
  2) how the check on system information eg. RAM, CPU, HD capacity
  
 
 1) I'm using healthd for check temperature sensors and speed of coolers.
 There are other software for this.

You can check the temperatures for S.M.A.R.T. enabled hard disks with 
/usr/ports/sysutils/smartmontools/

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: ClamAV upgrade

2006-10-26 Thread Alex de Kruijff
On Wed, Sep 06, 2006 at 06:36:00PM +0300, Toomas Aas wrote:
 Darryl Hoar wrote:
 
 evidently I don't have freshclam installed on 
 the system as /usr/local/etc/rc.d does not
 contain clamac-freshclam.   
 
 As you mmention, you have ClamAV 0.83. If it is installed from FreeBSD 
 ports/packages, this old version didn't have separate startup script for 
 freshclam, but the freshclam binary itself should still exist (use 
 'which freshclam' to find it).
 
 That being said, you really should update to newer version, 0.83 is 
 quite old.
 
 Is there any trick to installing freshclam ?
 Or do I just use /usr/ports ?
 
 Just use ports (to upgrade ClamAV). Freshclam is part of ClamAV.

Afther updating your sources you could upgrade easy with portupgrade
clamav if you installed the port portupgrade. If you haven't then it
wise to install this port.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: IPFW + NATD rules

2006-10-03 Thread Alex de Kruijff
On Sun, Aug 27, 2006 at 01:04:54PM +0500, ?? ?? wrote:
 I'm a junior in FreeBSD, and I faced with problem.

You should know that others have mailers that are thread enabled. This
means that when you compose a new mail, but you that the reply sort cut
others may not read this, because it end up in the list.

I redirected the mail to questions@ becuase this is not related to the
stable development brance.

 I've a FreeBSD 6.1-stable box as a gate+firewall, and I want to divert
 incoming requests to my web-server, placed in DeMilitarized Zone
 (DMZ). To do this I wrote down settings in /etc/rc.conf as shown
 above:
 
   natd_flags=-redirect_port tcp 80 192.168.1.234 80
   natd_flags=-redirect_poort tcp 443 192.168.1.234 443

You proberbly can not have two lines. 

 I think, that all packets incoming from Internet will be diverted from
 the External interface via DMZ interface to my We-server. Is it right?
 If not, why not, and what the way to make it working?

Yes, but you made some mistakes:
1. You have two lines, where only one is allowed.
2. The file format is wrong: should be tcp forward_ip:port port
3. You made a typo
4. Did you setup ipfw?

I've done this with a seperate config file.

firewall_enable=YES
firewall_type=/etc/firewall.conf
natd_enable=YES
natd_flags=-f /etc/natd.conf
natd_interface=fxp0

/etc/firewall.conf contains:
add divert 8668 ip from any to any (note: src_ip and dst_ip changes
here, so keep this in mind if you
add rules)
add allow ip from any to any

/etc/natd.conf contains:
redirect_port tcp ip_to_goto:port local_port

Did you setup ipfw and directed packes to natd?

You also need to setup i
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Newbie Experience

2006-09-11 Thread Alex de Kruijff
On Sun, Sep 10, 2006 at 11:42:19PM +0200, Andreas Davour wrote:
 
 Too bad you felt it was that horrific.
 
 In my experience FreeBSD is sometimes a bit harder than modern Linux 
 distros to install, but are much nicer to maintain and use.

I found leaning linux was much harder because there wore no mailing list
compaired to the ones FreeBSD has.

 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?

Top-posting!

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Removing Port Directories

2006-06-04 Thread Alex de Kruijff
On Sun, Jun 04, 2006 at 01:05:21PM -0500, Jacob Jennings wrote:
 I was wondering if there is a way to remove unwanted port directories
 such as /usr/ports/biology, /usr/ports/astro, etc. without the system
 coughing a hairball, or could I just manually delete them with a rm
 -fR?

You could do a 'rm -fR' relatively safely. Many port rely on other
ports. If these live in the the categories you have removed then
upgrading or installing these port could fail. This is nothing critical
and you should be able to fix this later.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: how to instaal

2006-06-04 Thread Alex de Kruijff
On Sun, Jun 04, 2006 at 07:26:45PM +0200, dezwarte wrote:
  I have buy last a alphaserver800 5/400 so I like to learn freebsd and how
 it works.
 
 But it is all new for me so I want to instaal it on my new machine.
 
 Is there enyody who can give me some examples how to install it on a
 alphaserver800

The FreeBSD handbook expains the process step by step. You can find it
at: http://www.freebsd.org/handbook/. Feel free to write this list if
you have problem afther reading this.

freebsd-alpha is a technical list. The charter for the alpha list is:
This is the technical mailing list. It is for individuals actively
working on porting FreeBSD to the Alpha from HP (Formerly Digital
Equipment Corp. and Compaq), to bring up problems or discuss alternative
solutions. Individuals interested in following the technical discussion
are also welcome.

The charter for freebsd-questions is: This is the mailing list for
questions about FreeBSD. You should not send how to questions to the
technical lists unless you consider the question to be pretty
technical.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: i wish to buy your site

2006-06-04 Thread Alex de Kruijff
On Sun, Jun 04, 2006 at 08:52:18AM +, Hunter Fuller wrote:
 Whose again? Mine? You sent this mail to quite a few people!

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


Re: Spam problem!

2006-05-25 Thread Alex de Kruijff
On Thu, May 25, 2006 at 07:53:12AM -0700, Olga Zenkova wrote:
 I use sendmail 8.13.3 and gather full log of its work.
 I see such strings in it:
 
  RCPT TO: [EMAIL PROTECTED]
  250 2.1.5 user1domain.com... Recipient ok
  RCPT TO: [EMAIL PROTECTED]
  250 2.1.5 user2domain.com... Recipient ok
  DATA
  To: [EMAIL PROTECTED]
 
 where user1, user2 - users names
 domain.com - domain name
 
 After that user1 and user2 get spam letters to their
 mailboxes with field To: user3 in it. There are no
 user1 or user2 in this field. Is it possible to cut
 off these letters? Especially it is difficult to
 explain for user1 and user2 why they got letters
 addressed not for them.

I can advise you to use mail/spamass-milter for you mail server. If your
clients gain there mail though pop3 then you can use
mail/p5-Mail-SpamAssassin as a (getmail) filter. It realy realy good. I
only had one false positive once.

You can reject spammails if you like. Don't send bounce messages since
these will not end up with the spammers but those who abuse the email
adress.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Traffic shaping with ipfw/DUMMYNET when using natd

2006-05-25 Thread Alex de Kruijff
On Wed, May 24, 2006 at 08:32:53AM -0600, G-der wrote:
 I've been setting up ipfw and DUMMYNET to do some traffic shaping on my
 network.  Right now to test things out I've basicly put everything into two
 categories.  There's traffic from 10.0.10.10 which is lower priority (this
 is a download machine) and then there's everything else.
 
 The biggest problem I've runinto is that because natd gets the packets first
 thing the only way to catch outgoing traffic is on the internal network
 interface.  That is if you want to limit based on which internal machine is
 generating the traffic like in my case.  After the divert rule for natd the
 src-ip field gets changed to my external ip address.  This has a side effect
 of limiting all the traffic on that internal interface, even stuff that is
 not bound for the internet.
 
 I've tried playing around a little bit with the bridged, diverted, and
 diverted-output commands but can't get any of them to catch the packets.
 
 Is there  a way to limit outgoing traffic based on which machine owns the
 traffic internally that doesn't have to be done on the internal interface?
 Would it be better practice to scan outgoing traffic before the divert rules
 for natd?

I do it on the internal nic. I just have the internal traffic skip those
rules. You could do it on the external nic, but this is more complex.
You should remeber that the diverd rule changes the ip adress. Scanning
outgoing traffic before the divert rule and incomming afther it should
work to.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Horrible: Apache corrupting files?

2006-05-01 Thread Alex de Kruijff
On Tue, Apr 25, 2006 at 03:41:18PM +, Ben Paley wrote:
 On Friday 21 April 2006 00:31, Alex de Kruijff wrote:
  On Thu, Apr 20, 2006 at 10:17:47AM +, Ben Paley wrote:
   Hello,
  
   I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small
   office lan. Whenever one of the other machines (mostly Macs) makes a
   request for a certain page on my machine, it is delivered succesfully but
   the file itself is absolutely scrambled beyond recognition into a binary
   file. Subsequent requests rescramble it into a different but equally
   nonsense binary.
  
   I've looked with a binary editor and it really is completely messed up. I
   can restore the file from a good archive copy, but every time the same
   thing happens.
  
   The file was originally created on a mac by Flash (it's a 1.1k html file
   which just embeds a flash movie). Recently I copied it to and from a
   Solaris box via ftp from an Windows NT machine (although it wasn't opened
   afaik - a long story, clearly, which also involves a usb flash drive...).
  
   Anyone have any ideas? The file itself is inconsequential, but the fact
   of such blatant and relentless data corruption is very worrying to me! I
   don't know if it's the file or my system or some combination... I'd
   really appreciate some advice, I've been staring at it for two days and
   I'm starting to bite my nails...
 
  How about setting the permission so that the file can not be changed.
  Then access the file and see if a process complains about not being able
  to change the file?
 
  P.S. I find it hard to beleave apache2 does this. I run apache2 myself
  and don't have this.
 
 I've set the permissions to 444 and I'm still seeing the same corruption, so 
 it must be something running as root, or something quite low level. No 
 console messages and I don't really know where to look for error logs - I 
 think you're right and it's not apache.
 
 I've started to notice some other strange corruptions - some php files seem 
 to 
 become binary on a remote machine, even though my local copies are fine. 
 Perhaps it's the server... but we've never had this trouble before, and it 
 seems a little too much like what's happening on my machine to be a 
 coincidence. One file I tried uploading with two different gui ftp clients 
 and via command line, in ascii, binary and auto mode, and again the same 
 thing happened each time - my browser complained of unknown ascii characters 
 and kate (text editor) told me it was a binary file even though it looked ok. 
 I tried changing the encoding and that made no difference.
 
 I am actually quite worried now. There seems to be something holding all 
 these 
 occurences together, but I can't quite work out what it is.
 
 Does anyone have any ideas where to look? I'd really appreciate it!

My quess it that its hardware related. Your HD could be dying.

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


Re: Updated 6.1 schedule?

2006-04-27 Thread Alex de Kruijff
On Thu, Apr 27, 2006 at 11:50:56AM +0200, [EMAIL PROTECTED] wrote:
  
   However, the dates on the schedule page seem to be a little off
   now.   I was wondering if anyone had some idea of what the new
   dates might be... if there's no idea; then I will patiently wait.
 
  You guess is as good as mine. It could take a couple of months.
 
   I've got a few 4.10 machines that could do with an upgrade,
   and I don't think moving to 5.4 is the way to go...  So,
   I'm pending waiting on 6.1.
 
  There's no need to wait with that. I run 6.0 and 6.1 since BETA4 and I
  have not seen any problems. You can use CVS to updated your sources and
  compile your own version. See the manual on how to do this.
 
 in my understanding upgrading from 4.x to 6.x needs to go through 5.x.
 check the archives/website for it ( i did a clean install to upgrade
 from 4.x to 6.x ).

It depends on how you want to upgrade. I read both reinstall/reconfigure
and real upgrade in the wordt upgrade here.

If you choice to reinstall then you could go straith to 6. This is
needed to gain the full features. You can only use USF2 if you have done
this.

If you choice to upgrade fully though CVS then it may be smart to first
upgrade to 4-stable, then 5.3, then 5-stable, then 6.0 and then 6.1.
This also means you will not get the full features of 6.

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


Re: Updated 6.1 schedule?

2006-04-26 Thread Alex de Kruijff
On Tue, Apr 25, 2006 at 11:48:14AM -0400, Thomas David Rivers wrote:
 
 I've been watching the 6.1-RC1 web pages, etc... following the
 wonderful progress.
 
 However, the dates on the schedule page seem to be a little off
 now.   I was wondering if anyone had some idea of what the new
 dates might be... if there's no idea; then I will patiently wait.

You guess is as good as mine. It could take a couple of months.

 I've got a few 4.10 machines that could do with an upgrade,
 and I don't think moving to 5.4 is the way to go...  So,
 I'm pending waiting on 6.1. 

There's no need to wait with that. I run 6.0 and 6.1 since BETA4 and I
have not seen any problems. You can use CVS to updated your sources and
compile your own version. See the manual on how to do this. 
--
Alex

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


Re: Strange Issue with regards to fdisk

2006-04-21 Thread Alex de Kruijff
On Fri, Apr 21, 2006 at 01:40:46PM +0530, Kedar Damle wrote:
 Hello,
 
 These are screenshots of a VM-Ware installation of FreeBSD 6.0 with 4GB
 hard-disk attached to it. When I toggle Z for the display of size, it
 shows 4095MB and then 3GB.
 Is this correct?

I woudn't wurry about it. Its just a rounding error.
floor(4095/1024) = 3 (1024 * 4 = 4096)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Newbie question - cannot add new disk

2006-04-20 Thread Alex de Kruijff
On Sun, Apr 16, 2006 at 01:40:09PM -0700, Oliver Iberien wrote:
 Hi,
 
 I have been trying to add a second IDE hard drive. I can't seem to get it 
 mounted, or to get what I put into sysinstall and what comes out when I use 
 the command line to agree.

Are you using the command line interface or sysinstall to configure the
disk? This is not clear to me. If you tried sysinstall did it give any
errors about the geometry? What did you do at that point?

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: file system full help

2006-04-20 Thread Alex de Kruijff
On Thu, Apr 20, 2006 at 06:46:14AM -0800, Noah wrote:
 I sometimes get reports of file system full but not accurately because when
 viewing the drive with df -k I find there is adequate space on the drive. 
 Usually this is casused by log files considered larger than the available
 space on the /var directory.

That you don't have adequate space for the task at hand. In this case
compressing the log (this means the source needs to be arround wile a
new bzip file is created) and create a new fresh file.

  I would like to see if this in fact the case.
 
 Can somebody please remind me what commands I can use to troubleshoot this
 current condition?

Use 'du -s * | sort -n' to find the largest files

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: Horrible: Apache corrupting files?

2006-04-20 Thread Alex de Kruijff
On Thu, Apr 20, 2006 at 10:17:47AM +, Ben Paley wrote:
 Hello,
 
 I have Apache 2 running on FreeBSD 6.1-PRERELEASE on a laptop on a small 
 office lan. Whenever one of the other machines (mostly Macs) makes a request 
 for a certain page on my machine, it is delivered succesfully but the file 
 itself is absolutely scrambled beyond recognition into a binary file. 
 Subsequent requests rescramble it into a different but equally nonsense 
 binary.
 
 I've looked with a binary editor and it really is completely messed up. I can 
 restore the file from a good archive copy, but every time the same thing 
 happens.
 
 The file was originally created on a mac by Flash (it's a 1.1k html file 
 which 
 just embeds a flash movie). Recently I copied it to and from a Solaris box 
 via ftp from an Windows NT machine (although it wasn't opened afaik - a long 
 story, clearly, which also involves a usb flash drive...).
 
 Anyone have any ideas? The file itself is inconsequential, but the fact of 
 such blatant and relentless data corruption is very worrying to me! I don't 
 know if it's the file or my system or some combination... I'd really 
 appreciate some advice, I've been staring at it for two days and I'm starting 
 to bite my nails...

How about setting the permission so that the file can not be changed.
Then access the file and see if a process complains about not being able
to change the file?

P.S. I find it hard to beleave apache2 does this. I run apache2 myself
and don't have this.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howtos based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://alex.kruijff.org/FreeBSD/

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


Re: shutdown not shutting down :-(

2006-02-19 Thread Alex de Kruijff
On Sun, Feb 19, 2006 at 11:23:56AM +0100, Matias Surdi wrote:
 Hi, Linux-user, FreeBSD-newbie posting here.
 
 I've a recent installation of FreeBSD, and when I do
 
 # shutdown now
 
 It starts the shutdown process but it hangs promting for the shell path.
 
 I think that this could be something related to the order in which 
 partitions are unmounted.
 
 Any idea?
 
 Thanks.

Check if there is a new bios for you PC. I had this to with one of my
boxes. ACPI (thats what shuts you computer down) didn't work ride. I
needed to update my bios.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: Mysterious reboot

2006-02-16 Thread Alex de Kruijff
On Thu, Feb 16, 2006 at 01:46:19AM -0600, Mike Loiterman wrote:
 Afte being up for more than two months, I just noticed that my ver reliable
 and stable server mysteriously rebooted.  I've had the same hardware and
 system setup for more than a year and haven't ever experienced anything like
 this before.  I haven't added any new hardware in a very long time.  I did
 upgrade mysql this morning via portupgrade, however.
 
 The system appears to have crashed, as dmesg shows that the various
 filesystems weren't unmounted correctly upon reboot, but aside from that
 single error, nothing else points to what the problem was.
 
 /var/log/messages just shows a user connectig via pop, and then the next
 line is the machine booting.
 
 We are having a pretty good rainstorm, but nothing else seems to have lost
 power and I have several other machines in this space that did not go down
 (servers, TVs, XBOX, laptops, etc).
 
 The machine seems to have gone down around 11:23 PM, so I checked /etc/cron
 to see if I had scheduled a job to be run at that time, but there are no
 jobs scheduled to be run on or near this time.
 
 Where can I begin to look for more clues as to why this machine seems to
 have crashed?  Where would a kernel core dump be or a mysql core dump?

You can look at /var/log/messages and find core files with 'find / -name
\*.core'

I suspect the cause lies with your hardware. There might be something
broken that causes your computer to reboot spontaneous when it gets busy
or hot and other times it just goes oke. 

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: installation of FreeBSD 6.0

2006-02-09 Thread Alex de Kruijff
On Thu, Feb 09, 2006 at 09:34:25PM +, [EMAIL PROTECTED] wrote:
   I have tried several ways to install  FreeBSD version 6.0  and
   all bomb the same way.
 What happens is that I first get a message ?Building the boot loader
 arguments? on one line, and shortly afterwards the message ?Relocating
 the loader and the BTX? on another line.  After a delay of about 11
 minutes, a third line appears containing the message ?Starting the BTX
 loader?.  I let the system run for about an hour and a half but no
 more messages appeared, nor did the computer indicate that the
 installation had completed.
   The only thing in my machine that I think could be ?not working?
   with the installation program is my  BIOS .  Here is all the
   information I have about my   BIOS  .  It names itself as
   ?Energy Star Ally? written by Award Software Inc. and that it is
   an ?Award Modular BIOS? with ?Award Plug  Play BIOS extension
   v1.0A?.  Its ID is v4.6OPGMA  (the character between the 6 
   the P is a vertical ellipse with a dot at its center, it is
   either  zero  or  oh ).

How did you install it? (Two floppy disks / CD)
Did you get to the install screen? (sysinstall)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: Problems on start of my system

2005-11-05 Thread Alex de Kruijff
On Sat, Nov 05, 2005 at 02:02:49AM -0200, alicornio wrote:
 I have a problem on start of my system, appear this mesage: 
 
 Staring file system checks: 
 /dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 
 0.4% fragmentation) 
 /dev/ad0s1g: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1f: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING 
 /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS 
 /dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) 
 WARNING: /home was not properly dismounted 
 ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
 LBA=2398527 
 mount: /dev/ad0s1: input/output error 
 WARNING: /usr was not properly dismounted 
 WARNING: /var was not properly dismounted 
 mounting /etc/fstab filesystems failed, start up aborted 
 ad0: FAILURE - READ-DMA status=51READ,DSC,ERROR ERROR=40UNCORRECTABLE 
 LBA=2191743 
 boot interruped 
 enter full pathname of shell or return for /bin/sh: 
 
 I type something and the system reboot after this mesages: 
 
 panic: vrele: negative refe cnt 
 cannot dump: no dump device defined 
 
 Someone can help me whith this problem? what?s happenig? how i can solve 
 this? 

It seems your system is not able to mount certain filesystems as stated
in fstabs. You could try /sbin/fsck -y (say yes to everything) afther
you enter the shell. Also check /etc/fstabs to see if it contains
errors.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: How to clear an improperly unreferenced file in multi-user mode?

2005-11-05 Thread Alex de Kruijff
On Thu, Nov 03, 2005 at 02:00:25PM +0100, Olaf Greve wrote:
 Hi,
 
 When doing some maintenance on my fall-back server I ran into something 
 weird. When running df it turned out /var was for 90% full. I then 
 manually deleted some files (as root over SSH), amongst which the 
 'maillog' logfiles in /var/log, I also killed sendmail (as it was 
 generating the big log files, and at present I don't need to run it on 
 that machine), and just to be sure I created a new 'maillog file of 0 
 length.

You could use /etc/newsyslog.conf to solve the big log file problem.

 So far so good, but after removing the maillog files and performing 
 another df call, the available size had not quite dropped as much as 
 expected and as should. DU reports the proper amount of disk usage, so I 
 performed an fsck.
 
 On /var it shows:
 
 239511 files, 2365547 used, 4942027 free (37155 frags, 613109 blocks, 
 0.5% fragmentation)
 ** /dev/da0s1d (NO WRITE)
 ** Last Mounted on /var
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 UNREF FILE I=48134  OWNER=root MODE=100640
 SIZE=322792549 MTIME=Nov  3 13:46 2005
 CLEAR? no
 
 
 Now, of course one way to get rid of that big sucker is to boot the 
 machine in single user mode and run fsck again, however, the box is 
 nowhere near me and I cannot go down to the city where the machine is 
 anytime soon (besides: this is far from an urgent issue). So, I was 
 wondering about a thing: rather than doing a remote reboot and hope that 
 fsck will clear it up in the booting process (if it does that at all, 
 that is), I was wondering if there's a way to fix this when running in 
 multi user mode.
 
 Does anyone know how (if possible) to achieve this, or do I have to 
 reboot the machine in single user mode after all?

I've done it in the past. First kill as much programms that use /var.
Then umount /var and let fsck have a go at it. This may result in some
core dumps. Then reboot.
 
 PS: Will it perhaps be possible to manually unmount /var, then fsck -y 
 it, and then remount it, or will that cause the machine to lock me out 
 (or perform other undesired behaviour)?

I don't beleave it will lock you out. It may not let you login again do.
It would be a good idea to have fysical access so you can press
cntr-alt-delete

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: buildworld

2005-11-05 Thread Alex de Kruijff
On Wed, Nov 02, 2005 at 12:14:31AM +0200, Giorgos Keramidas wrote:
 On 2005-11-01 21:37, eoghan [EMAIL PROTECTED] wrote:
  On 1 Nov 2005, at 21:11, Giorgos Keramidas wrote:
  On 2005-11-01 20:26, eoghan [EMAIL PROTECTED] wrote:
  Hello
  Is there a way to tell which freebsd buildworld will make?
  
  You can guess by looking at:
  
  /usr/src/sys/conf/newvers.sh
  
  This will give the version of the kernel, which may not be that useful
  for branches that change often, like CURRENT.  It's a good  
  indication of
  what branch you're building though.
  
  The value of __FreeBSD_version from /usr/src/sys/sys/param.h is also a
  useful number to have.
  
  Thank you Giorgos
  Let me re-phrase the other part of my question... Given the example
  supfile:
  
  *default tag=.
  *default host=cvsup99.FreeBSD.org
  *default prefix=/usr
  *default base=/var/db
  *default release=cvs delete use-rel-suffix compress
  
  src-all
  
  This will update to freeBSD-CURRENT
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/current-stable.html#CURRENT
 
 Exactly.
 
  How would I modify this supfile to update to 5.4-RELEASE?
 
 By using a proper tag= value.  For the 5.4-RELEASE version of the
 sources, this would be:
 
 tag=RELENG_5_4_0_RELEASE
 
 The exact process that leads to the creation of a release branch and the
 tag that marks the sources of the official release build is described in
 detail at:
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-proc.html

You may like to use tag=RELENG_5_4 instead and get some patches to.
-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: Problems on start of my system

2005-11-05 Thread Alex de Kruijff
Please don't toppost, that way its easier for other to read and learn
from this example.

On Sat, Nov 05, 2005 at 02:07:33PM -0200, alicornio wrote:
 Em (11:42:20), [EMAIL PROTECTED] escreveu: 
 
 
 On Sat, Nov 05, 2005 at 02:02:49AM -0200, alicornio wrote: 
  I have a problem on start of my system, appear this mesage: 
  
  Staring file system checks: 
  /dev/ad0s1a: 1304 files, 18242 used, 300053 free (1149 frags, 37363 
 blocks, 
  0.4% fragmentation) 
  /dev/ad0s1g: DEFER FOR BACKGROUND CHECKING 
  /dev/ad0s1f: DEFER FOR BACKGROUND CHECKING 
  /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING 
  /dev/ad0s1e: FILE SYSTEM CLEAN; SKIPPING CHECKS 
  /dev/ad0s1e: clean, 57112 free (40 frags, 7134 bloks, 0,1% fragmentation) 
  WARNING: /home was not properly dismounted 
  ad0: FAILURE - READ-DMA status=51 ERROR=40 
  LBA=2398527 
  mount: /dev/ad0s1: input/output error 
  WARNING: /usr was not properly dismounted 
  WARNING: /var was not properly dismounted 
  mounting /etc/fstab filesystems failed, start up aborted 
  ad0: FAILURE - READ-DMA status=51 ERROR=40 
  LBA=2191743 
  boot interruped 
  enter full pathname of shell or return for /bin/sh: 
  
  I type something and the system reboot after this mesages: 
  
  panic: vrele: negative refe cnt 
  cannot dump: no dump device defined 
  
  Someone can help me whith this problem? what?s happenig? how i can solve 
  this? 
  
 It seems your system is not able to mount certain filesystems as stated 
 in fstabs. You could try /sbin/fsck -y (say yes to everything) afther 
 you enter the shell. Also check /etc/fstabs to see if it contains 
 errors. 
  
 I try every combination of fsck and fsck_ffs, somes: 
 
 #mkdir /teste 
 #mount -f /dev/ad0s1 /teste 
 #fsck -t ffs -Fy /teste 
 fstab: /etc/fstab:0: No such file or directory 
 fstab: /etc/fstab:0: No such file or directory 
 ** /dev/ad0s1 (NO WRITE) 
 ** Last Mounted on /teste 
 ** Phase 1 - Check Blocks and Sizes 
 ** Phase 2 - Check Pathnames 
 ** Phase 3 - Check Connentivity 
 ** Phase 4 - Check Reference Counts 
 ** Phase 5 - Check Cyl groups 
 1304 files, 18242 used, 300053 free (1149 frags, 37363 blocks, 0.4% 
 fragmentation) 
 
 #fsck -t ffs -p /teste 
 /dev/ad0s1: NO WRITE ACCESS 
 /dev/ad0s1: UNEXPECTED ICONSISTENCY; RUN fsck MANUALLY 

Root is mounted with read only acces.

Do this

fsck -p
mount -u /
fsck /dev/ad0s1

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my personal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: IPFW logging and dynamic rules

2005-10-05 Thread Alex de Kruijff
On Thu, Sep 29, 2005 at 11:45:42AM -0400, Bob Johnson wrote:
 In FreeBSD 5.4R, I tried an IPFW configuration that includes something
 like this (plus a lot of other rules):
 
check-state
deny tcp from any to any established
allow log tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3
 + other rules that use keep-state
 
 When I do this, _every_ ssh packet is logged, in both directions.  To
 get it to log ONLY the initial connection, I had to give up on using
 dynamic rules for ssh and instead do something like:
 
allow log tcp from any to ${my-ip} dst-port 22 setup
allow tcp from any to ${my-ip} dst-port 22 established
allow tcp from ${my-ip} 22 to any established
check-state
deny tcp from any to any established
 + other rules that use keep-state
 
 So now I have lost the per-host ssh limit rule I wanted to include,
 and I am filtering packets on flags that can be spoofed
 (established) rather than the actual dynamic state of the
 connection.  Am I wrong to believe there is an advantage to this?
 
 Is there some way to get the first version to log only the initial
 packet while still retaining the dynamic limit src-addr rule?

Yes you could use count instead of allow.

check-state
count log tcp from any to ${my-ip} dst-port 22 limit src-addr 3
allow tcp from any to ${my-ip} dst-port 22 setup limit src-addr 3

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cleanup unused files and other junk ...

2005-10-04 Thread Alex de Kruijff
On Mon, Sep 26, 2005 at 09:50:21PM +0200, Kiffin Gish wrote:
 Is there a good and dependable procedure for cleaning up the file 
 systems from unused junk that just clutters valuable disc space?
 
 I am already aware of the 'periodic daily' scripts 
 'clear_tmp_enable=YES' option for the rc.conf file, but where else can 
 one safely remove files.
 
 For example, is it safe to delete all distfiles?

Yes, but that doesn't mean its save. You could install a port called
portupgrade and use the util portsclean. This wil clean your working
directory, (old) distfiles, (old) packages and more.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: help needed for ipfw rules

2005-10-04 Thread Alex de Kruijff
On Mon, Sep 26, 2005 at 05:26:12PM +0300, Ertan Kucukoglu wrote:
 Hi,
 
 I have a problem blocking foreign intruders for specific ports in ipfw.
 
 One of my friends have 4.X-Stable running in production for proxy, 
 e-mail, virus etc. Server also have natd and ipfw installed on it. We 
 have following rule set.
 -
 00050 2132 1212881 divert 8668 ip from any to any via dc1
 00100 1078 4537400 allow ip from any to any via lo0
 002000   0 deny ip from any to 127.0.0.0/8
 003000   0 deny ip from 127.0.0.0/8 to any
 004000   0 allow tcp from 192.168.0.0/24 to me 23
 005000   0 deny tcp from 192.168.0.69 to me 1863
 005500   0 deny tcp from 192.168.0.63 to me 1863
 006000   0 deny tcp from 192.168.0.69 to me 80
 006500   0 deny tcp from 192.168.0.63 to me 80
 010000   0 allow tcp from 192.168.0.0/16 to me 21
 010100   0 deny tcp from any to me 21
 011000   0 allow tcp from 212.58.X.X to me 1433 via dc1 (ip 
 intentionally hided)
 011100   0 deny tcp from any to me 1433 via dc1
 65000 5467 3180867 allow ip from any to any
 65535 4654  322885 deny ip from any to any
 -
 
 Natd is diverting port 1433 to an internal machine.
 
 When I try with a different ip address on Internet than 212.58.x.x, and 
 I can easily get connect to directed servers' 1433 port.
 
 I'm sure that I'm missing something, but I can not recognize what it is 
 at the moment. Any help will be appreciated.
 
 Regards,

Your forgetting that natd changes the destation ip address so that it is
not me. Try putting the block rule before the divert. This is also good
for performance.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: Problem with IPFilter/IPNAT

2005-07-30 Thread Alex de Kruijff
On Sat, Jul 30, 2005 at 01:41:52PM +0300, Odhiambo Washington wrote:
 I am using IPFilter and IPNat on several FreeBSD boxes. They are mostly
 configured the same.
 
 Each box has two interfaces, public and internal, and acts as a router
 to the LAN which is 'behind' it. The LAN machines use the FreeBSD as the
 gateway, as well as a DNS server. I run cache-only config.
 
 The problem I have is that when, for any reason, the public link goes
 down, the machines on the LAN timeout when communicating. 

It sound like there tying to lookup hostnames via DNS or something like
this.

Are you able to ping them with there ip addresses? 
Are you able to ping them with there host names?

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: my network cards

2005-07-21 Thread Alex de Kruijff
On Thu, Jul 21, 2005 at 06:34:02PM +0300, vladone wrote:
  I have some problem with, i think, flood attack, i dont know
  exactly.   
  My server go down when i put some network cable in switch. I dont
  see   
  anything in logs, and that is. Now my network have an linux server, 
  but i want to put my server at work (i like it freebsd).  

 I dont think that my card is the problem. Anyway, i list my network
 cards on server:

I think it unlikly that your under attack. I think it more likely that
there's a problem with the driver / hardware nic.

 External interface:
 rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xeb203000-0xeb2030ff 
 irq 18 at device 19.0 on pci0
 miibus2: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus2
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

RealTek is card know to cause troubles.

 Internal interface:
 fxp1: Intel 82558 Pro/100 Ethernet port 0xd400-0xd41f mem 
 0xeb10-0xeb1f,0xeb20-0xeb200fff irq 16 at device 12.0 on pci0
 miibus1: MII bus on fxp1
 inphy1: i82555 10/100 media interface on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 
 Strange for me is another: in dmesg.today i have this messages:
 rl0: promiscuous mode enabled
 rl0: promiscuous mode disabled
 rl0: promiscuous mode enabled
 rl0: promiscuous mode disabled
 rl0: promiscuous mode enabled
 rl0: promiscuous mode disabled
 I dont understand why my card enter in promiscuous mode.
 
 And an suggestion: if u have time, modify your firewall to give
 different traffic priorities to different client (by IP).

This means giving each user there own pipe / queue. I use to have this,
but cut it out to make maintence easier.

  Thanks for all!!

Your very welkom.

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


Re: Softupdates Question

2005-07-14 Thread Alex de Kruijff
On Tue, Jun 28, 2005 at 03:40:41PM -0400, Scott Sipe wrote:
 
 Hi,
 
 At work we're running some rather old accounting software that tells  
 us to disable oplocks and all caheing on our file server (and our  
 clients)--Samba/FreeBSD isn't officially supported (the only  
 platforms that are are Windows Server and Novell--yes, it's old) but  
 we've been running fine on this configuration.
 
 The software is sensitive to data caching issues etc, and corruption  
 is occasionally an issue.
 
 I have all oplocks disabled for the share in samba, and at the moment  
 I have softupdates disabled on the accounting software mount.
 
 My question is, does activating softupdates add any risk of data  
 loss? My guess is no, but I've wanted to play it safe. Our other  
 samba shares all have softupdates enabled and do fine, and speed is  
 becoming somewhat of an issue.

No there's no risk of data loss. 

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


Re: Using a logitech mx700 with scrollwheel and thumb buttons in xorg

2005-05-25 Thread Alex de Kruijff
On Tue, May 24, 2005 at 09:53:23AM -0700, Joe Schmoe wrote:
 So what can I do here ?  No matter how I rearrange my
 settings, the two thumb buttons and the app button
 always produce the same button event.  Whether it is 5
 or 7, it is always the same.
 
 Does anyone have a Logitech mx700 mouse, in FreeBSD
 5.x, with xorg, running properly with the wheel and
 the thumb buttons ?

I have one. I didn't get it working and deem it impossible, but i could
be wrong.

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 04:44:16AM +0200, Anthony Atkielski wrote:
 Alex de Kruijff writes:
 
  Where these persons prosecuted lately?
 
 No.  The first I heard of these problems was probably a good 20 years
 ago or so, and they probably predated that.  Nevertheless, it is
 standard practice to include such warnings today.

So? As long as your system is protected by a password nobody has a legal
defence. A admin that doesn't put up a warning like breaking in is a
criminal act is not at fault legaly or otherwise.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 11:45:35AM +0200, X3K6A2 wrote:
  Marc Fonvieille writes:
 
  All, and I said All, mailing list subscribing forms mention their
  archives (To see the collection of prior postings to the list, visit
  the freebsd-blahblah Archives.).  It is impossible to miss it.
 
  Then why do so many forms require that you tick a checkbox to assert
  that you've read and accepted the terms on the page?
 
  In any case, nothing like that exists for FreeBSD lists.
 
 To make sure, that even the most dangerous people, to the society accept
 the fact, that they need to think for them self.

How can one logicaly conclude that a message they send to the list is
included in google and other websites?

The damage of a lawsuite can be large to the BSD society. Just look at
what happend when the ATT and BSD where involved in one. Is this one
reason realy that strong to risk this?

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Issue with Timezone in KDE

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 06:10:45PM +0100, RW wrote:
 On Saturday 07 May 2005 14:16, Colin Worthy wrote:
  I am having an odd issue with setting the correct timezone in KDE.  I have
  set the correct timezone from the command line and it seems to stay for a
  while, but eventually is reverting to UTC time.  I should be in Central
  Daylight time (Americas/Chicago).  If I try to set the correct timezone
  from within KDE it simply ignores my change and stays set on UTC time.
 
  I am using NTP to try to keep the time on my machine correct.  This problem
  has only recently come up.  I am not sure when exactly, but it used to
  always have the correct time.
 
  Therefore my machine is currently displaying UTC time, which is about 5
  hours too fast.
 
  I would really appreciate anyones help in trying to figure out what I am
  doing wrong.
 
 Try running sysinstall as root, and go though the timezone setup under 
 configure. 

I have this to and have no solution.

The problem is _not_ that the time of the OS is wrong, but that KDE
suddenly deside it should show the time as if you where in lets say
moscow. 
-- 
Alex
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 04:05:09PM +0100, Chris Hodgins wrote:
 This keeps coming up time and time again.  Why don't we simply put up
 a message on the subscription page that says if you subscribe you
 agree that your messages will be archived for public viewing.  End of
 story.  No more bitchy emails on this subject, no more heated debates
 and much more time devoted to talking about FreeBSD.

I agree with the outline of you message. But it does mather where the
text is placed. Someone else can also subscribe you. In such cases the
text is bypassed. Isn't there a mail send that you need to confirm. One
can reasanably asume that the owner have read this. The text it self of
a link to it whould be wise IMHO.

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 01:32:37PM +0200, Anthony Atkielski wrote:
 Alex de Kruijff writes:
 
  So? As long as your system is protected by a password nobody has a legal
  defence.
 
 Unfortunately they do.  For example, if they guess a user name and
 password and it works, they can enter your system and claim that they
 believed it was okay because nothing told them otherwise. You have to
 specifically advise them that they must be authorized, otherwise if they
 accidentally or deliberately enter the system through a technical
 compromise, they can defend themselves on this basis.

They can claim all they like, but that doesn't mean this hold up in
cord. In the Netherlands one who enters a protected system deliberate
and unlawful can get half a year of jail time and a fine of about two
thosend euro's. The law doesn't say anyting about warning that need to
be displayed. Lets say I've lost my key to my house and someone else
found it. This still doesn't give that person the right to use it to
gain access to my house.

Of course if there where some technical compromise disabling the need
for the username/password then they whould be home free. But this
technical compromise could also effect the message.

  A admin that doesn't put up a warning like breaking in is a criminal
  act is not at fault legaly or otherwise.
 
 Not at fault, perhaps, but he does leave the door open to certain types
 of compromises.

Leaving the door open would mean not require a the user to enter there
name and password. 

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 11:16:02AM -0400, Bart Silverstrim wrote:
 
 On May 6, 2005, at 2:43 PM, Anthony Atkielski wrote:
 
 Roland Smith writes:
 
 On the page where you subscribe to a mailing list there is a link to 
 the
 list archives. The existance to this link implies a public accessible
 archive of the list. If you don't like that, don't subscribe.
 
 You cannot be sure that subscribers have read it unless you require 
 them
 to take explicit action to confirm that they have read it.
 
 Part of me likes that attitude.  You assume users are too stupid to use 
 computers even if they're trying to tackle FreeBSD.

I would use the word lazy. Yes the law assumes users are lazy.

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


Re: What is --- WRONG --- with my network?

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 05:56:16AM -0500, Fafa Hafiz Krantz wrote:
 
 Hello Alex (and Jan)!
 
  It could be that type slave files need to go in the subdirectory slave
  and type master files need to go in the subdirectory master.
 
 named doesn't give me any errors.
 As I previously stated, my setup has been running flawlessly for months.

Read the manual and run it with debug information.

  Check you /var/log/messages for errors about this.
 
 That what I find strange too.
 /var/log/messages doesn't contain anything but the snort initialization!
 And /var/named/var/log is totally empty.
 
 Here is my security run though. Maybe PF is denying something by default?

No. A firewall can stop DNS request from passing though, but it doesn't
stop named from running.

 Even though I removed it from rc.conf at one time, and problems still 
 persisted,
 there might have been something evil lurking in the back. I've had this 
 problem
 with IPFW, where I'd have to compile an option into my kernel for it not to
 block everything.

I think you just have configuration problem.

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


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-07 Thread Alex de Kruijff
On Sat, May 07, 2005 at 10:38:04AM +0200, Marc Fonvieille wrote:
 On Sat, May 07, 2005 at 02:49:23AM +0200, Alex de Kruijff wrote:
   
   Well, the Mailing lists link on http://www.FreeBSD.org/ homepage
   points on
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL
  
  That true and this would be a fine argument if this where the only way
  to get the list adress. This isn't the case. Now it the warning you
  get, afther you get before you are realy on the list, would point to
  this stating it got the conditions then this would be a compelling
  argument.
 
 
 All, and I said All, mailing list subscribing forms mention their
 archives (To see the collection of prior postings to the list, visit
 the freebsd-blahblah Archives.).  It is impossible to miss it.

I take you word for it. I didn't realy mean to fight this. More the
mirroring (excluded www.xx.freebsd.org) like google and such.

 Another thing, I do not really see many ways to discover the existence
 of a FreeBSD mailing list:
 
 - from archives via google or the FreeBSD.org search system
 - from FreeBSD.org docs
 - from the www.FreeBSD.org front page
 - from a clairvoyant?
 
 and these ways (at least most of them) clearly indicate the existence of
 archives.
 Anyway, it's just a false problem, it makes me think about a person
 going to a TV show then later refusing to have his face recorded and
 broadcasted...

Sending a mail to a maillinglist means sending thousend of copies to the
subscribers. This is a natural thing just like going on a TV show means
it going to be broadcast. But having it go into a archive is not a
natural thing. Thats way a user should be pointed to this. (As is the
case.) This is also true for the mirroring to other non freebsd related
sites like google. I beleave this is not the case.

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


Re: What is --- WRONG --- with my network?

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 07:37:19AM -0500, Fafa Hafiz Krantz wrote:
 
 Hello boys!
 
 I just spent a few days doing a make world and kernel.
 My machine is terribly slow. Yet, my network problem hasn't
 gone away. This shows that it wasn't an asynchronisation
 between my world and kernel. I've also compiled io and mem
 into my new kernel.
 
 Here is my problem description:
 
 *  My nameserver setup is disfunctional.
 *  My web, mail and fileserver is disfunctional.
 *  I cannot SSH and FTP into certain servers.
 *  I cannot ping my IP from the outside.
 *  My ISP controls the PTR of my reverse DNS lookup.
This fails to resolve too.

What error messages can you see afther you have reboot in
/var/log/messages? (My gut feeling says its a named related problem)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is --- WRONG --- with my network?

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 08:20:54AM -0500, Fafa Hafiz Krantz wrote:
 
  Unfortunately, you appear to be preemptively rejecting the most obvious
  advice, and implicitly asking that people start troubleshooting from
  the middle. Was your machine up without reboot for months? If so,
  there's no guarantee that the state of named.conf actually reflects the
  state of the previously running named prior to a reboot (alas, I've seen
  this all too often).
 
 No, I had been rooting it quite often since I was testing PF.
 
  Can you begin by posting your fully-functional named.conf and
  resolv.conf? And possibly describing exactly what you mean by my
  nameserver is dysfunctional? Do you mean that you cannot resolve
  addresses from your host? Does dig work against your local nameserver
  instance? Can you see any of the root servers with dig? Is named just
  refusing to start? ... and so on.
 
 # cat /var/named/etc/namedb/named.conf
 #
 
options {
 directory /etc/namedb;
 pid-file /var/run/named/pid;
};

I also have:
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;

 
zone . {
 type hint;
 file named.root;
};
 
zone domain.com {
 type master;
 file db.domain.com;
 allow-transfer { 209.98.223.41; };
};
 
zone 3.0.7.5.0.0.4.0.8.1.6.0.1.0.0.2.ip6.arpa {
 type master;
 file db.terrabionic.com.rev;
 allow-transfer { 209.98.223.41; };
};
 
zone terrabionic.lan {
 type master;
 file db.terrabionic.lan;
};
 
zone 187.168.192.in-addr.arpa {
 type master;
 file db.terrabionic.lan.rev;
};
 
zone 0.0.127.in-addr.arpa {
 type master;
 file db.localhost.rev;
};

It could be that type slave files need to go in the subdirectory slave
and type master files need to go in the subdirectory master. I have
this:

/*
zone example.com {
type slave;
file slave/example.com;
masters {
192.168.1.1;
};
};

zone 0.168.192.in-addr.arpa {
type slave;
file slave/0.168.192.in-addr.arpa;
masters {
192.168.1.1;
};
};
*/

Check you /var/log/messages for errors about this.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 02:53:16PM -0500, Paul Schmehl wrote:
 --On Friday, May 06, 2005 08:48:14 PM +0200 Anthony Atkielski 
 [EMAIL PROTECTED] wrote:
 
 So, if I *respond* to one of his posts (including his email address and
 at least a portion of what he wrote) and therefore have *some* of his
 copyrighted material in my post then he can request that *my* post be
 removed *without* my permission?
 
 Not if your backquoting falls within the scope of fair use,
 
 Here's a webpage that makes your arguments laughable:
 http://www.umuc.edu/distance/odell/cip/listserv.html
 
 It's a mailing list to discuss digital copyright.  Its archives are 
 searchable, and there's no requirement to agree to that when you subscribe.

So a site about copyrigth can not break the law? Just because something
happens doesn't mean this is legal.

 This one is even funnier:
 http://www.copyright.gov/newsnet/
 
 Searchable archives going back to 1997.

Same remark as above.

 You *still* haven't provided *one* link to prove anything you've said.  On 
 the Internet, that's tantamount to an admission that you're blowing smoke.

So have you.

http://en.wikipedia.org/wiki/Berne_Convention_for_the_Protection_of_Literary_and_Artistic_Works
http://www.templetons.com/brad/copymyths.html
http://www.google.com/search?q=BERNE+CONVENTIONsourceid=operanum=0ie=utf-8oe=utf-8

He is legaly prity much correct in everything I have read.

It basicly comes down to this: You have copyrigth over everything you
write. This requires that one need to agree to a licence before others
can freely copy this to there sites.

 I doubt seriously your *extremely* strict interpretation of copyright would 
 hold up in any court of law in the US or anywhere else for that matter.  I 
 have no doubt that you could find a judge somewhere to rule in your favor. 
 After all, judges make incredibly stupid rulings daily.  But in the end, 
 your argument would fall on deaf ears when saner minds were engaged.
 
 When you post to a public list, your post are not copyrighted material. 
 They exist in the public domain.  And *this* list *is* a public forum.

This is only true if the author agrees to this.

This is way shrink wrap licences exist. One can not clain the didn't
knew about this. They clearly had to posibilty to do so before accepting
the deal.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 05:13:16PM +0200, Marc Fonvieille wrote:
 On Fri, May 06, 2005 at 01:06:48PM +0200, Anthony Atkielski wrote:
  Giorgos Keramidas writes:
  
   This is a recurring theme.  It's really *NOT* the fault of the
   postmaster of FreeBSD.org that you posted to public mailing lists.
  
  It _is_ the fault of the mailing list manager that posts are being
  archived without the permission of mailing-list members.  Members must
  be required to explicitly grant permission when they subscribe.
  
   The Handbook section about mailing lists[1] says:
  
  What the Handbook says is irrelevant, because nobody is required to read
  it in order to subscribe to a list.
 
 
 Well, the Mailing lists link on http://www.FreeBSD.org/ homepage
 points on
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL

That true and this would be a fine argument if this where the only way
to get the list adress. This isn't the case. Now it the warning you
get, afther you get before you are realy on the list, would point to
this stating it got the conditions then this would be a compelling
argument.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 08:42:29PM +0200, Anthony Atkielski wrote:
 Bart Silverstrim writes:
  It's certainly no secret that these posts are archived out there ...
 
 It doesn't have to be a secret; subscribers must still agree to it.
 
 It's no secret that software is copyrighted; however, software companies
 still force users to accept a EULA so that they cannot claim that they
 didn't know they were licensing copyrighted material.
 
 It's no secret that most computer systems are not open to everyone;
 however, sysadmins (at least those who know what they are doing) still
 must put messages in login procedures that advise users of the
 restricted character of access to the system.  Otherwise intruders could
 say that they didn't know access was restricted.

In my country forcing you way in to a computer system is a criminal act.
It can be compared to breaking in to a house.

  Better yet start
  some arguments with the governments and businesses that are video 
  taping people with security cameras on street corners and inside 
  stores.
 
 Many jurisdictions require that persons on private property be apprised
 of any video recording, precisely because of the privacy implications.
 Persons attending a concert that is being videotaped also must be
 apprised of this on their tickets; their consent to recording cannot
 necessarily be presumed.

Here there are even rules about recording on the street. The (security)
camera's can't be pointed to a house in sucha way that it would single
out anyone inside. Also anyone recorded on the street have rigth that
they can use to prevent them being on TV. It not used very much, but it
exist.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Fri, May 06, 2005 at 12:04:10PM -0500, Kirk Strauser wrote:
 On Friday 06 May 2005 05:52, Anthony Atkielski wrote:
 
  DMCA
 
 So, how's that working out for you with non-US third-party mirrors that 
 aren't subject to American law in any way?

For EU country the procedure is similar. (I don't have an anwser for
non-BERNE CONVENTION countries, like Canada)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Sat, May 07, 2005 at 02:20:41AM +0200, Anthony Atkielski wrote:
 Chris writes:
 
  Hahaha - good stuff! Yanno, last I knew (and that was some time ago) You
  had to submit writings for review to the copyright folks here in the U.S.
 
 It has never been that way.

I bleave this is true for tue USA until 1989
http://en.wikipedia.org/wiki/Berne_Convention_for_the_Protection_of_Literary_and_Artistic_Works

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mailinglist privacy: MY NAME ALL OVER GOOGLE!

2005-05-06 Thread Alex de Kruijff
On Sat, May 07, 2005 at 03:08:14AM +0200, Anthony Atkielski wrote:
 Alex de Kruijff writes:
 
  In my country forcing you way in to a computer system is a criminal act.
  It can be compared to breaking in to a house.
 
 It is in most countries.  However, persons prosecuted for such crimes
 have mounted successful defenses based on the fact that they were never
 explicitly told that the systems they penetrated were legally accessible
 only to authorized users.  Thus, careful sysadmins today explicitly
 display a message at login telling the user that only authorized users
 are permitted to access the system.  Many operating systems even make
 special provisions for this.

Where these persons prosecuted lately? Because in the early days lot of
computer laws didn't exist. This made it easier to have a defence agains
such lawsuites.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 5.3-RELEASE-p5 to p6

2005-03-28 Thread Alex de Kruijff
On Mon, Mar 28, 2005 at 04:46:31PM -0600, Josh Paetzel wrote:
 I just upgraded a test machine from 5.3-RELEASE-p5 to 5.3-RELEASE-p6.  
 The make buildworld went fine.  When I tried to make buildkernel it 
 kept saying that: kernel build for GENERIC complete on xx.xx.xx time
 
 I tried using the old way of bulding a kernel and that went without 
 issue.  I'm bringing this up to see if it's a bug or if it's just 
 something dorked up on my end.

I don't see anything wrong, here. What did you do?
What did you expect? What did you get?

The basic way would be:
cd /usr/src/
make buildworld
make buildkernel KERNCONF=MYKERNEL
make installkernel KERNCONF=MYKERNEL
make installworld

The exact procedure can be found in the handbook:
www.freebsd.org/handbook/

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Portupgrade (vs. Portmanager) question

2005-03-28 Thread Alex de Kruijff
On Sun, Mar 27, 2005 at 06:20:00PM -0800, Jay O'Brien wrote:
 Updating a computer, pkg_info reported I only had two packages, 
 cvsup-without-gui-16.1h and perl-5.8.5, both of which were out 
 of date as reported by pkg_version. 
 
 I tried to install portmanager, but it was not able to get the 
 needed files from http://portmanager.sunsite.dk.
 
 So, I installed portupgrade. Those files came in fine.
 
 I then did portupgrade -a -N -vu -rR, which was successful for me 
 several months ago on another computer. 
 
 The computer ran for over nearly two hours, with messages scrolling 
 by so fast it was nearly impossible to read, filling up the screen with 
 text.  I used script so as to capture the screen messages; the capture 
 file of the screen is 1.2MB in size!  

This is normal.

 Now, pkg_info says I have 10 packages installed; added were ezm3, 
 gettext, gmake, libiconv, libtool, portupgrade,ruby and ruby18. If 
 these all required to make portupgrade or perl work, where is that 
 reference?

These are in the port system /usr/ports/

 Help!  What did I do?  

You told you system to install portmanager and the ports that it needs,
but also all the ports that are based on it. Please check 'man
portupgrade' about the options.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problems afther reinstall windows

2005-03-17 Thread Alex de Kruijff
On Tue, Mar 15, 2005 at 07:05:58PM -0500, Jerry McAllister wrote:
timeout=10
default=c:\freebsd.bin
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP
Professional /fastdetect /NoExecute=OptIn
c:\freebsd.bin=FreeBSD 5

This works for me. I still wonder why the stuff below didn't work. In
the past I would do this with /stand/sysinstall. But I don't dare to do
this with FreeBSD 5 because of drive geometric warnings.

   
   Remember there are two boot blocks, so to speak.
   There is the MBR that lets you choose which slice to boot.  There is 
   only one of those per disk and it lives in sector 0 of the disk.
   The MBR generally has a standard calling sequence (that the Bios calls)
   and sets things up to a fairly standard condition and looks for
   standard appearing boot sectors in slices and makes a standard
   call to the selected slice's boot sector.   Almost any MBR that
   knows how to recognize a standard boot sector in a slice and lets
   you choose between them if there are more than one can be used
   interchangeably.
   
   Then there is the boot block with the actual boot loader that starts 
   pulling the OS from the bootable partition.   On a multi boot disk 
   there are several - one per each bootable slice and they live in the 
   boot sector of each slice.Those are specific to the OS they are 
   booting.  Though their calling sequence is standard, what they have 
   to do to load and start their own OS is not.
  
  Is it posible to boot one OS if you only have the MBR?
 
 No, you need the boot sector.   If you have only that in the first
 location, you can boot without an full MBR, I think, but not without
 the boot sector that the MBR loads and jumps to.

But its not posible to put the code of the boot sector in the MBR
place? (i.e. doesn't fit)

   I am guessing that you managed to overwrite or damage the MS slice'
   boot sector while you were doing things, or didn't get it written
   to the slice properly when you reloaded or something like that.
   Even though you put the MBR back with FreeBSD's fdisk, did you
   also make sure that the MS slice had its own boot loader?   Anyway
   you did when you put the MS boot loader back.   So it works now.

I think the anwser to you question should be no. It booted before I put
the MBR back.

  The previous time I first installed windows and then FreeBSD 5. The
  difference this time is that I didn't use /stand/sysinstall. This
  because I would get into serious troubel. (I never found out how to
  force the right geometry) So I was thinking maybe sysinstall does
  something (like copy the MBR to the second boot location) that I didn't
  do manualy.
 
 I think you are using MBR for boot sector.  

I think you mean by word and not on disk.

 The MBR is what goes
 in sector 0 of the disk itself.   The boot sector/record/block
 goes in the first sector of the slice.   The MBR lets you pick the
 slice you want to boot and then loads its boot sector/block/record and 
 jumps to it in a standard location.

MBR = /boot/boot0 (a copy of it)
boot sector = /boot/boot1

What I was thinking is: 
Now windows overwrites the MBR. And I was thinking it would put the boot
sector in the place of MBR. If this is the case then windows looses the
capability to boot.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problems afther reinstall windows

2005-03-15 Thread Alex de Kruijff
Windows was able to boot afhter I installed it. I never touched
boot.ini. The content would have been:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP Professional 
/fastdetect /NoExecute=OptIn

I now use a different solution. Instead of the freebsd bootloader
(boot0). I now use the windows bootloader. I copied boot1 to
c:\freebsd.bin. Then modified windows boot.ini as follow:

[boot loader]
timeout=10
default=c:\freebsd.bin
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP
Professional /fastdetect /NoExecute=OptIn
c:\freebsd.bin=FreeBSD 5

This works for me. I still wonder why the stuff below didn't work. In
the past I would do this with /stand/sysinstall. But I don't dare to do
this with FreeBSD 5 because of drive geometric warnings.


On Tue, Mar 15, 2005 at 02:12:46AM +, Jason Henson wrote:
 What is in your windows boot.ini file?
 
 
 On 03/14/05 11:13:49, Alex de Kruijff wrote:
 Hi,
 
 I've recently reinstalled windows. Windows removes the MBR as you
 know.
 So ather I installed it I set partion 1 (FreeBSD) active and  
 rebooted.
 Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now
 I
 get the orginal screen afther booting. Only it beeps when I press F2
 (Windows). I can mount the second partion on FreeBSD, but cant boot.
 Any
 ideas to what I'm missing here?
 
 # fdisk
 *** Working on device /dev/ad0 ***
 parameters extracted from in-core disklabel are:
 cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1
 parameters to be used for BIOS calculations are:
 cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Media sector size is 512
 Warning: BIOS sector numbering starts with sector 1
 Information from DOS bootblock is:
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 63, size 20971377 (10239 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 104/ sector 63
 The data for partition 2 is:
 sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
 start 20980890, size 20948760 (10228 Meg), flag 80 (active)
 beg: cyl 1023/ head 0/ sector 1;
 end: cyl 1023/ head 254/ sector 63
 The data for partition 3 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
 start 41942880, size 446454288 (217995 Meg), flag 80 (active)
 beg: cyl 1023/ head 210/ sector 1;
 end: cyl 1023/ head 80/ sector 63
 The data for partition 4 is:
 UNUSED
 
 --
 Alex
 
 Please copy the original recipients, otherwise I may not read your
 reply.
 WWW: http://www.kruijff.org/alex/FreeBSD/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions- 
 [EMAIL PROTECTED]
 
 
 
 

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot problems afther reinstall windows

2005-03-15 Thread Alex de Kruijff
  On Tue, Mar 15, 2005 at 02:12:46AM +, Jason Henson wrote:
   What is in your windows boot.ini file?
   
   
   On 03/14/05 11:13:49, Alex de Kruijff wrote:
   Hi,
   
   I've recently reinstalled windows. Windows removes the MBR as you
   know.
   So ather I installed it I set partion 1 (FreeBSD) active and  
   rebooted.
   Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now
   I
   get the orginal screen afther booting. Only it beeps when I press F2
   (Windows). I can mount the second partion on FreeBSD, but cant boot.
   Any
   ideas to what I'm missing here?
   

On Tue, Mar 15, 2005 at 08:53:25AM -0500, Jerry McAllister wrote:
  
  Windows was able to boot afhter I installed it. I never touched
  boot.ini. The content would have been:
  
  [boot loader]
  timeout=30
  default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
  [operating systems]
  multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP 
  Professional /fastdetect /NoExecute=OptIn
  
  I now use a different solution. Instead of the freebsd bootloader
  (boot0). I now use the windows bootloader. I copied boot1 to
  c:\freebsd.bin. Then modified windows boot.ini as follow:
  
  [boot loader]
  timeout=10
  default=c:\freebsd.bin
  [operating systems]
  multi(0)disk(0)rdisk(0)partition(2)\WINDOWS=Microsoft Windows XP
  Professional /fastdetect /NoExecute=OptIn
  c:\freebsd.bin=FreeBSD 5
  
  This works for me. I still wonder why the stuff below didn't work. In
  the past I would do this with /stand/sysinstall. But I don't dare to do
  this with FreeBSD 5 because of drive geometric warnings.
  
 
 Remember there are two boot blocks, so to speak.
 There is the MBR that lets you choose which slice to boot.  There is 
 only one of those per disk and it lives in sector 0 of the disk.
 The MBR generally has a standard calling sequence (that the Bios calls)
 and sets things up to a fairly standard condition and looks for
 standard appearing boot sectors in slices and makes a standard
 call to the selected slice's boot sector.   Almost any MBR that
 knows how to recognize a standard boot sector in a slice and lets
 you choose between them if there are more than one can be used
 interchangeably.
 
 Then there is the boot block with the actual boot loader that starts 
 pulling the OS from the bootable partition.   On a multi boot disk 
 there are several - one per each bootable slice and they live in the 
 boot sector of each slice.Those are specific to the OS they are 
 booting.  Though their calling sequence is standard, what they have 
 to do to load and start their own OS is not.

Is it posible to boot one OS if you only have the MBR?

 I am guessing that you managed to overwrite or damage the MS slice'
 boot sector while you were doing things, or didn't get it written
 to the slice properly when you reloaded or something like that.
 Even though you put the MBR back with FreeBSD's fdisk, did you
 also make sure that the MS slice had its own boot loader?   Anyway
 you did when you put the MS boot loader back.   So it works now.

The previous time I first installed windows and then FreeBSD 5. The
difference this time is that I didn't use /stand/sysinstall. This
because I would get into serious troubel. (I never found out how to
force the right geometry) So I was thinking maybe sysinstall does
something (like copy the MBR to the second boot location) that I didn't
do manualy.

I used the windows method for when something goes wrong (i.e. reboot)
and just reinstalled Windows. A added bonus is that I now have one OS as
default instead the last used. I alway was annoyed about loading the
previous used. I only want to use Windows if I have to (mostly for
word - there language functionality is superb).


Tanks for you time. Appricate it.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Incorrect geometry

2005-03-14 Thread Alex de Kruijff
On Sun, Mar 13, 2005 at 03:20:25AM -0800, Loren M. Lang wrote:
 On Fri, Mar 11, 2005 at 10:32:19PM -0600, Mike Loiterman wrote:
  Kevin Kinsey mailto:[EMAIL PROTECTED] wrote:
   Mike Loiterman wrote:
   When I do a new install of FreeBSD 5.3-RELEASE I get an error saying
   the drive geometry is incorrect.  In the next screen, I put in the
   correct geometry, as reported by the BIOS, but after I hit q, I get
   the same error. 
   
   The drive is a brand new 160 SATA Segate.  The geometry FreeBSD
   suggests yield 152 Gigs, slices correctly and functions perfectly.
   I'm plannning on reformating anyway as this is only a test run, but
   do I need to be conserned about the error? 
   
   Isn't the rest of the error message using a more likely geometry?
   
   IANAE, but I believe FBSD is simply stating that it doesn't find
   the BIOS's numbers to be what it wants, so it's going to use
   its own.  This would explain the effect you see in the second
   sentence above. 
   
   As yield, slice, and function seems OK, I think go for it!
   is perfectly good advice in this instance.  I've seen the error
   several times, too, and so far so good.
  
  It does say, using a more likely geometry.  The numbers are vastly
  different then what the BIOS says, but as I said, the capacity seems
  correct and it functions normally.
  
  I just don't want to have any trouble down the road...
 
 It shouldn't be a problem.  Geometries nowdays aren't as useful as they
 used to be and aren't really used much, LBA alleviates most of that.
 The geometries that FreeBSD uses aren't the same that the drive
 internally uses.  In fact, using geometries has been the cause of an old
 8 gig limit on hard drives, a newer 137 gig limit, and an old boot
 loader problem booting anything over cylinder 1023.
 
 As for the missing 8 gigs, that's probably because your hard drive
 manufacture used SI units (10^3=1000) instead of the standard units
 (2^10=1024) just to make the number look bigger.  My 250 gig drive is
 only 238 gig in reality.

Back when I installed 5.2 I to got this error. I went along with it, but
this seemed to cause the system to not be able to reboot. This is
proberbly the worst that can happen to you. Somehow I was able to
install it with the orignal setting. Afther this it would reboot.

No when running FDISK Partition Editor from /stand/sysinstall it says:
A geometry of 484521/16/63 for ad0 is incorrect.

But when running fdisk off the shell it says:
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Boot problems afther reinstall windows

2005-03-14 Thread Alex de Kruijff
Hi,

I've recently reinstalled windows. Windows removes the MBR as you know.
So ather I installed it I set partion 1 (FreeBSD) active and rebooted.
Then I followed the handbook and did fdisk -B -b /boot/boot0 ad0. Now I
get the orginal screen afther booting. Only it beeps when I press F2
(Windows). I can mount the second partion on FreeBSD, but cant boot. Any
ideas to what I'm missing here?

# fdisk
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=484521 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 20971377 (10239 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 104/ sector 63
The data for partition 2 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
start 20980890, size 20948760 (10228 Meg), flag 80 (active)
beg: cyl 1023/ head 0/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 41942880, size 446454288 (217995 Meg), flag 80 (active)
beg: cyl 1023/ head 210/ sector 1;
end: cyl 1023/ head 80/ sector 63
The data for partition 4 is:
UNUSED

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dummynet bw cumulative limit

2004-11-17 Thread Alex de Kruijff
I've changed the list to questions@

On Wed, Nov 10, 2004 at 01:08:04PM -0500, Bob Ababurko wrote:
 HEllo all-
 
 We are interested in limiting the bandwidth of a newly setup 
 connection.  We are on a 100 Mb/s switch port and want to keep it to 1 Mb/s 
 for now. Forgive my ignorance, but do they measure this cumulative(inbound 
 + outbound)?I would assume so, but I would like to confirm this since 
 the rate for overage is not within the budget for now.

The firewall rules determen what dummynets monitors. If you combine
inbound and outbound then it monitors that. You can also just monitor
http traffic. Its up to you.

 Assuming the conservative, how does the dummynet config have to be setup 
 fpor thsi to occur?...or can it be configured for both inbound and 
  ^ I don't understand the question. 
 outbound?  Right now, I have the below config and since I have not put the 
 box on the network yet, I have not been able to look at the MRTG to figure 
 the answer.  I am thinking that this config may limit to 1 meg in both 
 directionsI am just not looking forward to overage fees right off the 
 bat!
 
 btw, this config is for the priority of the udp/tcp acks in both 
 directions.  I am not sure if this is going to work so any comments on it 
 would be appreciated.

There is no real priority only a weithed ruby round

You want you're fxp0 to limit in + out to 1MBit/s rigth?

 ipfw -f flush
 ipfw pipe 1 config bw 1000kbits/s
 
 ipfw queue 1 config pipe 1 weight 100
 ipfw queue 2 config pipe 1 weight 1 mask all
 ipfw queue 3 config pipe 1 weight 100
 ipfw queue 4 config pipe 1 weight 1 mask all

 ipfw add 100 queue 1 udp from any to any out via fxp0
 ipfw add 101 skipto 1000 udp from any to any out via fxp0
 ipfw add 100 queue 3 udp from any to any in via fxp0
 ipfw add 101 skipto 1000 udp from any to any in via fxp0

 ipfw add 110 queue 1 tcp from any to any out via fxp0 tcpflags ack
 ipfw add 111 skipto 1000 tcp from any to any out via fxp0 tcpflags ack
 ipfw add 110 queue 3 tcp from any to any in via fxp0 tcpflags ack
 ipfw add 111 skipto 1000 tcp from any to in out via fxp0 tcpflags ack

I've also tried with this, but was not pleased with this. A number of
packets where to big than I expected. You migth want to give iplen a try
instead.

 ipfw add queue 2 ip from any to any out via fxp0
 ipfw add queue 4 ip from any to any out via fxp0
  ^^^ this is wrong.
 ipfw add 1000 allow all from any to any

Except for you mistake, everything looks ok.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HT kernel

2004-10-26 Thread Alex de Kruijff
On Tue, Oct 26, 2004 at 02:01:30PM -0700, Kris Kennaway wrote:
 On Tue, Oct 26, 2004 at 09:54:45PM +0100, Alexandre Vieira wrote:
  Hello,
  
I have a machine with an Intel p4 3.2ghz FSB800 w/ 1MB L2 cache and
  I wanted to know your opinion about some kernel options that would
  boost the performance of this kind of processor.
 
 Note that for a lot of workloads HT decreases performance.

In what way? Does HT/SMP kernel or option do worse then a normal kernel
or default options?

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Compiling PF and IPFW in the same kernel

2004-10-26 Thread Alex de Kruijff
On Tue, Oct 26, 2004 at 10:46:53PM +0100, Alexandre Vieira wrote:
 Hello,
 
 Anyone knows if there is any problem in compiling ipfw and pf in the
 same kernel?
 Which one will be turned off by default? Or will they both be turned on?

Useing two different firewall doesn't cause a problem. I've used ipfw
and ipf (different from pf, i think) combined. This never caused any
problem. I feel its unlikly if it would cause a problem in this case.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HT kernel

2004-10-26 Thread Alex de Kruijff
On Tue, Oct 26, 2004 at 09:54:45PM +0100, Alexandre Vieira wrote:
 Hello,
 
   I have a machine with an Intel p4 3.2ghz FSB800 w/ 1MB L2 cache and
 I wanted to know your opinion about some kernel options that would
 boost the performance of this kind of processor.

I flirted with a syctl locking option with 5.2 (or 4.x). When one of the
logical processes used the calculation processer, the second logical
processor where locked. I turned this off. The result was that the two
logical processes started fighting with eachother to who was first in
using the calculation processer. Causing a decrease in effency and a
increase in CPU temp. I don't remeber any other options. I've stiked
with GENERIC ather this.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP to IP

2004-10-25 Thread Alex de Kruijff
On Mon, Oct 25, 2004 at 08:32:41PM +, oim wrote:
 Hello!
 
 Problem: I want to redirect ip 205.188.179.233 to my server 195.225.131.194 
 where all packets sending to 195.225.131.194 on port 5190 redirected to 
 205.188.179.233 and away.
 OS: FreeBSD 5.1
 
 I want that users connect to ICQ server through 195.225.131.194 (my Server) .

You can redirect ports with natd with a firewall. See 'man ipfw' and
'man natd' and the handbook www.freebsd.org/handbook for information
about how to set this up.

Port 5190 is ICQ right? If this is the case then you might want a socks
server instead. You can install the dante socks server with these
commands:

/usr/ports/net/dante...
make install clean

Also consider upgrading to FreeBSD 5.2.1 (plus patches) or FreeBSD 5.3
RC1 because 5.1 is no longer supported. Information on how to do is also
written down in the handbook.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Samba+ACLs, CURRENT or STABLE?

2004-10-25 Thread Alex de Kruijff
On Mon, Oct 25, 2004 at 02:49:30PM +0200, Matthias F. Brandstetter wrote:
 Hi all,
 
 I plan to setup a Samba fileserver with ACLs as a Windows domain 
 controller. First I tried with Linux, but I am afraid ACLs are not 
 wonderfully supported by it (you have to patch some core tools etc.).
 
 So I thougt I try it with FreeBSD. 5.x seems good for this task, since it 
 supports ACLs out of the box. Now my problem is, that I want to use this 
 server in a production environment, but on freebsd.org I see CURRENT 
 should not be used for such machines.

 So my question, what to do now? Are ACLs for Samba supported on STABLE as 
 well, or is it safe to use CURRENT?
 
 Greetings and TIA, Matthias

I don't think 4 STABLE has ACL. I would suggest installing 5.3 RC1. This
is already prity stable and will be officaly afther a few week/months.
Do be conservitive with upgrading until the 5.3 release is out. You can
also install 5.2.1 plus patches instead if you like an actual release
better. This prity stable althou officaly not a stable but i feel that
you can safly use it.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading a 5.1-RELEASE-p10 system...

2004-10-20 Thread Alex de Kruijff
On Tue, Oct 19, 2004 at 10:16:00PM -0400, Glenn Sieb wrote:
 Alex de Kruijff said the following on 10/19/2004 9:01 PM:
 
 Gerely speeking, STABLE doesn't mean things never gets broken. Most
 reliable are the RELEASE plus fixes. So don't follow 5-STABLE but
 5-RELENG
  
 
 To help ease frustration and such.. you mean:
 
 Follow RELENG_5_2 not RELENG_5 (from: 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html)

Yes, thats what I mean. I didn't check the tags so I didn't get them
rigth. Even following RELENG_5_X doesn't mean things never gets broken.
The xl nic driver was broken in RELEASE_4_5 which meant I coudn't use
the net. :'( So its also a good idee to save a working source (/usr/src)
before updating to a new release. (But there's no gurantee you can
downgrade, i think) I never had any trouble with the other releases. Its
just a case of bad luck.

 In cvsup-supfile speak for those of us using cvsup to sync our source trees

Those of us who updates there source usaly use cvs.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading a 5.1-RELEASE-p10 system...

2004-10-19 Thread Alex de Kruijff
On Tue, Oct 19, 2004 at 04:32:59PM -0400, Glenn Sieb wrote:
 I'd like to update a server from 5.1-RELEASE-p10 to 5.3-STABLE...
 
 What I'm wondering is: Are there any caveats to this upgrade?

The anwser to this question is to long for me to write and its written
down in the handbook. Please follow the instuctions in this chapter.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html

 One of my compadres asked me:
 
 How stable is stable?
 
 Isn't this the release where they change some value from an int16 to 
 an int32 and upgrading needs to be done with extra caution?  (i.e. 
 actually go to single user mode even though everyone ignores that 
 step).  Or was that something else?
 
 Otherwise, I'm all for it. 
 
 
 So I just wanted to be sure, so I can plan accordingly...

FreeBSD-5 isn't stable jet although the tag exist. 5.3 is more stable
than 5.2.1 and this runs fine on my box. 

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading a 5.1-RELEASE-p10 system...

2004-10-19 Thread Alex de Kruijff
On Tue, Oct 19, 2004 at 05:46:49PM -0400, Glenn Sieb wrote:
 Alex de Kruijff said the following on 10/19/2004 5:38 PM:
 
 The anwser to this question is to long for me to write and its written
 down in the handbook. Please follow the instuctions in this chapter.
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
  
 
 Danke, Alex--since I'm not seeing anything unusual in there (though I 
 have to check UPDATING as well), I'm gathering this wasn't the upgrade 
 with the concerns my compadres have had. :)
 
 FreeBSD-5 isn't stable jet although the tag exist. 5.3 is more stable
 than 5.2.1 and this runs fine on my box. 
  
 
 *nod* I'm in a planning stage here, not a doing stage yet.. :)

Gerely speeking, STABLE doesn't mean things never gets broken. Most
reliable are the RELEASE plus fixes. So don't follow 5-STABLE but
5-RELENG

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: where to find security updates?

2004-10-14 Thread Alex de Kruijff
On Thu, Oct 14, 2004 at 01:57:35PM +0200, Matthias F. Brandstetter wrote:
 Hi all,
 
 I am somewhat new to FreeBSD, and so not 100% used to this ports and 
 portaudit system.
 
 My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
 vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
 search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
 which does not look like an update to mod_php4-4.3.8_2.

You go wrong here. There doesn't exist a command 'make search=...' it
should be 'make search name=mod_php4'. Because of this you have compiled
(but not installed) all recursive ports. To fix this do: make clean from
/usr/ports (this takes a while)

The most recent for me is: mod_php4-4.3.4_7,1

If you run 'pkg_version | grep php' then you can see if the port is
newer than the one you installed. A  means that this is the case.

 Now my question is: How should/can I update mod_php4, if there is no update 
 available?

First install portupgrade:
# cd /usr/ports/sysutils/portupgrade/
# make install  make clean

Then do:
# rehash
# portupgrade -fR mod_php4

The R also compiles all ports that php4 uses and the f force a recompile
of ports that are of the current version. Its not allways required but
I've had some trouble with php. This solved the problem for me.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Making a partition smaller

2004-10-14 Thread Alex de Kruijff
On Thu, Oct 14, 2004 at 09:56:33AM -0700, Valerian Galeru wrote:
 How to make the /usr(for example) smaller ?

There isn't a program that does this for you, without having to remove
the contence. (Somebody will correct me if i'm wrong.)

1. You have to copy the contence to another dir.
2. Then umount mount the section
3. Remove the directory and create a link. (because this is usr)
4. Delete the partition and create a smaller one. With a diffent dir.
5. Copy the contence back.
6. Remove the link and create the usr directory
7. unmount the diffent dir and mount usr

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dummynet

2004-10-12 Thread Alex de Kruijff
On Mon, Oct 11, 2004 at 08:47:56PM -0400, synrat wrote:
 Can someone tell me about a good way to troubleshoot pipes/queues or 
 point me in the rigtt direction. I'm trying to restrict outgoing ftp 
 traffic and create some pipes for VOIP. dummynet and pipe rules load 
 fine ( and are in the kernel ) but seem to have no effect. I did read 
 the manual pages 20 times over. I tried adding pipes before doing 
 config bw on them, but that didn't make any difference.
 thanx a lot in advance.

You're example seems to be correct. You can use the log keyword to
diagnose you're situation. See the manual ipfw for this.

I'll bet you just didn't compile DUMMYNET in to you're kernel. There are
no loadable modules for dummynet. See the handbook on how to do this.
www.freebsd.org/handbook

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dummynet

2004-10-12 Thread Alex de Kruijff
There seems to be a problem with you're adress. Please fix this.

  Received: from tcp-daemon.smtp17.wxs.nl by smtp17.wxs.nl  
   (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar  3 2004))   
   id [EMAIL PROTECTED] (original mail from
[EMAIL PROTECTED])
   ; Tue, 12 Oct 2004 15:00:48 +0200 (CEST)
Received: from kruij557.speed.planet.nl   
   (ipd50a97ba.speed.planet.nl [213.10.151.186])
   by smtp17.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.25 (built Mar
3 
   2004)) with ESMTP id [EMAIL PROTECTED] for
[EMAIL PROTECTED]; 
   Tue, 12 Oct 2004 14:57:03 +0200 (CEST)   
  Received: from alex.lan (localhost [127.0.0.1])   by  
kruij557.speed.planet.nl
   (8.12.10/8.12.10) with ESMTP id i9CCv3QX001809; Tue, 12 Oct 2004
14:57:03
+0200   
  Received: (from [EMAIL PROTECTED])   by alex.lan
(8.12.10/8.12.10/Submit)
   id i9CCv2vb001808; Tue, 12 Oct 2004 14:57:02 +0200   
  Content-return: prohibited

Your message cannot be delivered to the following recipients:   

  Recipient address: [EMAIL PROTECTED]
  Reason: Illegal host/domain name found  

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Age of Empires on FreeBSD --- Possible?

2004-10-09 Thread Alex de Kruijff
On Fri, Oct 08, 2004 at 09:20:37PM -, Hugo Silva wrote:
 I really need to get Age of Empires II - The Conquerors Expansion working
 on my (only workstation) FreeBSD box.
 
 I don't have windows anymore and I'll not switch back to be able to play,
 but I'd like to know if it is possible at all to run the game on BSD.
 Perhaps winex ? I heard it is compiling OK now with several patches..
 
 Also read people could run Diablo II and WarCraft III, so perhaps it's
 possible to play AoE with winex.
 
 Where can I get a working winex version for FreeBSD? (5.2.1-RELEASE)
 
 If any of you could make this game run on FreeBSD, I'd love to know how it
 was achieved.

Hi Hugo,

I'm guessing your new to FreeBSD. FreeBSD works with a port system. This
can be compaired with the Debian apt-get. You can find more information
about this in the handbook that you can find at www.freebsd.org/handbook.

As to you're question. I didn't find these games in the ports. If these
games exist for linux then you can rum them on FreeBSD by enable the
linux support. You could also install wine (although you may need a
windows partion for this) or vmware (you _don't_ need a windows partion
for this). These are in the ports.

You can install these by:
cd /usr/ports/emulators/wine; make install  make clean
cd /usr/ports/emulators/vmware3; make install  make clean

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How do you know how to install ports? (like vmware3)

2004-10-09 Thread Alex de Kruijff
On Thu, Sep 30, 2004 at 08:09:21PM +0530, Subhro wrote:
 On Thu, 30 Sep 2004 02:03:15 -0400, bsdfsse [EMAIL PROTECTED] wrote:
  
  For example, I have been trying to install the vmware3 port - and I find
  all kinds of tidbits all over the web about little things that need to
  be done to get it to work.  The information sometimes covers version
  2.0, sometimes 3.2, and sometimes 4.5. If someone just goes in to
  /usr/ports/emulators/vmware3 and does a make install, how would they
  know what else to do?
 
 The best part of the FreeBSD port collection is, you dont need to know
 what else to do. The port tree is designed in such a way that if you
 try to install a particular port, then the system would fetch all the
 dependancies automatically unless you specifically ask it not to do
 so. Just go through the vmware manual to get an idea about how to
 configure vmware. You need not worry about the installation.

To get apps to work you sometimes most do some configuration. Apache,
php, samba, ect. are all examples of this. Usaly its all about editing
one or more configuration files in /usr/local/etc/ and some times /etc/
and getting startup scripts to work at /usr/local/ect/rc.d/. Vmware is a
exception to this in my book.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network setup

2004-10-08 Thread Alex de Kruijff
On Fri, Oct 08, 2004 at 02:31:01PM +0200, Svein Halvor Halvorsen wrote:
 
 [David Jenkins, 2004-10-08]
 :
   I *think* you might need to setup a network bridge.
 
   http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/index.html
 
   Hope this helps.
 
 
 This seems to be *exactly* what I'm looking for!
 Thanks!

You can combine this with the port ipa if you like. Ipfw counts the
traffic but loses this at reboots or commands on the console. You can
setup rules for certain cases. Cut bandwith of users if they used to
much and such. If you use mrtg, then you could make graphs of this. I
have an example of all of this on my website.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to limit traffic?

2004-10-08 Thread Alex de Kruijff
On Sat, Oct 09, 2004 at 03:58:40AM +0700, oim wrote:
 How can i limit traffic on Lan/Ethernet (rl0) on localhost ?
 An example quota 1024 mb in month.

You can do this by combining the firewall (ipfw rules) with the port ipa.
I have a example of a combination of ipfw with ipa and mrtg (for graphs)
on my website. It does include a bandwidth traffic shaper, and this
needs one to recompile a new kernel. You don't need to do this.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot update XFree86-4

2004-10-07 Thread Alex de Kruijff
On Thu, Sep 23, 2004 at 08:54:09AM +, [EMAIL PROTECTED] wrote:
 Thanks for the help. I went ahead yesterday and hacked away for awhile, and
 worked around the problem. The reason I was nervous about those portupgrade
 flags is that in the past portupgrade has made a mess of things, doing too
 much at a time, and they are not mentioned in the note in the XFree86-4
 port. I figured, if it needed those dependency checks it would have said
 so. Too conservative?

I beleave so. Portupgrade can cause problem, but it realy did so for me.
A bug does exist currently in ruby that can cause problem running it.
The workaround for this is setting the following variables:

PORTS_DBDRIVER=bdb1_hash
PKG_DBDRIVER=bdb1_hash

 The first fix was a dependency on /usr/X11R6/lib/X11/doc/ddx.txt which
 always failed because the file extension is is caps -- ddx.TXT. I made a
 link so both versions were there and got past that point.
 
 The second fix solved a problem building fonts, where one of the make files
 was trying to run perl with a program called ucs2any. This stopped with
 Unrecognized character \177 at /usr/X11R6/bin/ucs2any line 1.  On my
 system, that file is a binary; there is a ucs2any.pl in the same directiry.
 I renamed the bin and linked the .pl to the no -extension version, and the
 fonts built perfectly.

I admire you devotion. I would just rebuild everything by now.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: KDE 3.3 upgrade and Sound

2004-10-07 Thread Alex de Kruijff
Hi,

On Thu, Oct 07, 2004 at 09:26:32AM +0200, Martin Hudec wrote:
  same problem with me. I have installed fresh kde 3.3 with all packages 
 but I do not have any sound output at all.

Do you have sound (playing a mp3 with mplayer) before you start KDE at
the console?

If not then:
Is the whole system freshly installed?
Did you do the clues out of the handbook? (www.freebsd.org/handbook/)

 I did remove knotifyrc file, 

I didn't have to do remove it. I can send you my knotifyrc to you as a
replacement if you like. (tell me where it lives)

 but I still cannot hear anything from xmms, mplayer etc. I also have 
 changed kmix volume levels.

I didn't have any other trouble with sound updating from 3.2 to 3.3, so
I don't think this is 3.3 only.

 pleiades# cat /dev/sndstat
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: VIA VT8235 at io 0xe400 irq 10 (5p/1r/0v channels duplex 
 default)
 
 I have arts installed too:
 pleiades# pkg_info | grep arts
 arts-1.3.0,1
 artswrapper-1.2.1
 kdemultimedia-mpeglib_artsplug-3.3.0
 kdemultimedia-xine_artsplugin-3.3.0

You can allways do a 'portupgrade -fR kdebase\*' (if you installed the
port portupgrade) if you think you're kde system is broken.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: disk geometry confussion

2004-10-07 Thread Alex de Kruijff
On Thu, Oct 07, 2004 at 02:30:51PM -0400, Chuck Swiger wrote:
 [EMAIL PROTECTED] wrote:
 Please enlighten me. What way I should follow? 
 
 First, make sure you've updated your machine to the most recent BIOS.  
 Next, check the BIOS config about your disk drives, and if there exists an 
 option to allow you to choose LBA mode rather than C/H/S, use LBA mode.
 
 NeXT, try using MS-DOS fdisk to create a small DOS partition.  The re-run 
 the FreeBSD installation, which now ought to see the partition table as 
 your system wants it.  Don't try to re-enter the partition table info 
 yourself unless you know exactly what you are doing.
 
 If this doesn't work, provide more details (which version of FreeBSD, what 
 you computer hardware is, and what your partition table looks like).

I have had the same problem with FreeBSD-5.2, WD 250G. Windows would
install fine, but FreeBSD gave problems with fdisk. I finaly reached a
solution afther trying lot of things, but never knew what I did.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nmap'ing myself

2004-10-07 Thread Alex de Kruijff
On Thu, Oct 07, 2004 at 11:22:34PM +0100, Chris Howells wrote:
 On Thursday 07 October 2004 21:56, Norm Vilmer wrote:
  Sorry about the ambiguity, i was referring to loosening my firewall rules
  and other settings to allow nmap to work properly. If it should work,
 
 No. Why would you want to deliberately make it easy to make a port scan work?
 
 If you're a script kiddie, and randomly port scanning boxes, and one comes up 
 with loads of wide open ports, and a few comes up with either closed or 
 stealth ports, which one do you think you're going to try and attack?

He meens be able to do 'nmap localhost'. Yes this should be posible. One
of you first rules must be 'allow ip from any to any via lo0'.

Also have a look at the port portsentry. Anyone who tries a nmap from
the internet whould get denied full access.

  then I have things either misconfigured or tightened down too much.
 
 Tighten down too much? What is that?

Not being able to do what you want (other to do). 

ipfw add 1 deny ip from any to any. That is tightened down to much.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   >