Re: Preserving file permissions with dump and restore

2008-02-05 Thread Wojciech Puchar

1) made /store pristine: newfs -U /dev/ad4s1e
2) mounted /dev/ad4s1e on /store
3) cd into /store
4) ran the command: restore -r -uv -f /backup/fullbackup
5) remove 'restoresymtable' from /store

Thanks in advance for your help


you did restore as root? (i think so but just for sure)

it is something wrong with restore then, i used it many times and it 
restore everything.



anyway - rsync is good tool to make exact copy of directory tree
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


United States Navy Tests Permanent Technologies' TineLok Fastening System

2008-02-05 Thread ryciwemy75026
Just as we predicted PERT is on the move

With Monday's news and possible use by the US Goverment there is nothing that 
should stop PERT from raelly moving

You owe it to yourself to do your research here. 

United States Navy Tests Permanent Technologies' TineLok Fastening System
 
TineLok Vibration-Proof Fastening System is Currently Installed for Testing on 
the U.S. Navy's Newest Advanced Hovercraft 


-- Permanent Technologies, Inc. (Pink Sheets: PERT - News) announced that the 
United States Navy is currently testing their TineLok Vibration-Proof Fastening 
System in their newest Hovercraft, the Landing Craft, Air Cushion (LCAC).

 
 The LCAC is a high-speed, over-the-beach, fully amphibious landing craft, used 
to transport heavy payloads of equipment (up to 75 tons), cargo and personnel 
from ship to shore for the Marine Air-Ground Task Force. The TineLok fasteners 
have been installed on the Hovercraft for almost a year and according to 
feedback from the Navy the fasteners have worked flawlessly to date.

We are confident that the TineLok will perform to the U.S. Navy's exacting 
high-vibration requirements for this strategic project, stated Loren Ball, 
President and CEO of Permanent Technologies, Inc. In addition to the 
performance requirements, we believe TineLok also gives the Navy the ability to 
make repairs, adjustments and service the components in the field without any 
special tools -- a major feature of the TineLok System.


About Permanent Technologies, Inc.

Permanent Technologies is the inventor and manufacturer of the award winning 
TineLok Fastening System -- a family of fasteners that are designed to hold 
tight in the most demanding, extreme and harshest conditions, environments and 
applications.

The TineLok Fastening System's vibration-proof, self-locking technology is an 
affordable alternative to traditional fasteners when increased safety, 
reliability, operating life and reduced maintenance is desired or required.

The Company has been granted numerous patents both in the U.S. and 
internationally for the TineLok technology.



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


Re: If I set up gmirror for a SLICE, how do I set up the MBRs to both be bootable?

2008-02-05 Thread Wojciech Puchar

   NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
   ad8

there is definitely something wrong in this setup

i thing second line should be ad8s1 not ad8!


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


Re: 7.0 installation problem

2008-02-05 Thread Wojciech Puchar
it is detected, but you may need to give options to moused (if you run it) 
to know to get usb not ps2 mouse, or in xorg.conf



On Tue, 5 Feb 2008, FreeBSD User wrote:


Hi there,

I got X working -- I went into sysinstall and installed one of the NVIDIA
drivers.

No luck with the mouse.  Here is my dmesg:

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
  The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-RC1 #0: Mon Dec 24 10:10:07 UTC 2007
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Core(TM)2 Quad CPUQ6600  @ 2.40GHz (2402.42-MHz K8-class
CPU)
Origin = GenuineIntel  Id = 0x6fb  Stepping = 11
Features=0xbfebfbffFPU,VME,DE
,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM
AMD Features=0x20100800SYSCALL,NX,LM
AMD Features2=0x1LAHF
Cores per package: 4
usable memory = 4280856576 (4082 MB)
avail memory  = 4119498752 (3928 MB)
ACPI APIC Table: GBTGBTUACPI
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
cpu2 (AP): APIC ID:  2
cpu3 (AP): APIC ID:  3
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
hptrr: HPT RocketRAID controller driver v1.1 (Dec 24 2007 10:08:39)
acpi0: GBT GBTUACPI on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, cfde (3) failed
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on
acpi0
Timecounter HPET frequency 14318180 Hz quality 900
cpu0: ACPI CPU on acpi0
acpi_perf0: ACPI CPU Frequency Control on cpu0
p4tcc0: CPU Frequency Thermal Control on cpu0
cpu1: ACPI CPU on acpi0
est1: Enhanced SpeedStep Frequency Control on cpu1
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 928092806000928
device_attach: est1 attach returned 6
p4tcc1: CPU Frequency Thermal Control on cpu1
cpu2: ACPI CPU on acpi0
est2: Enhanced SpeedStep Frequency Control on cpu2
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 928092806000928
device_attach: est2 attach returned 6
p4tcc2: CPU Frequency Thermal Control on cpu2
cpu3: ACPI CPU on acpi0
est3: Enhanced SpeedStep Frequency Control on cpu3
est: CPU supports Enhanced Speedstep, but is not recognized.
est: cpu_vendor GenuineIntel, msr 928092806000928
device_attach: est3 attach returned 6
p4tcc3: CPU Frequency Thermal Control on cpu3
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: PCI-PCI bridge irq 16 at device 1.0 on pci0
pci1: PCI bus on pcib1
vgapci0: VGA-compatible display port 0x9000-0x907f mem
0xe600-0xe6ff,0xd000-0xdfff,0xe400-0xe5ff irq 16 at
device 0.0 on pci1
uhci0: UHCI (generic) USB controller port 0xe500-0xe51f irq 16 at device
26.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: UHCI (generic) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: UHCI (generic) USB controller port 0xe000-0xe01f irq 21 at device
26.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: UHCI (generic) USB controller on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: UHCI (generic) USB controller port 0xe100-0xe11f irq 18 at device
26.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: UHCI (generic) USB controller on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: EHCI (generic) USB 2.0 controller mem 0xee101000-0xee1013ff irq 18
at device 26.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: EHCI (generic) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb3
uhub3: 6 ports with 6 removable, self powered
pcib2: ACPI PCI-PCI bridge irq 16 at device 28.0 on pci0
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 17 at device 28.1 on pci0
pci3: ACPI PCI bus on pcib3
em0: Intel(R) PRO/1000 Network Connection Version - 6.7.3 port
0xa000-0xa01f mem 0xe902-0xe903,0xe900-0xe901 irq 17 at
device 0.0 on pci3
em0: Using MSI interrupt
em0: Ethernet 

Re: question on DSL signal

2008-02-05 Thread Derek Ragona

At 02:01 PM 2/4/2008, David Banning wrote:

I run a small FreeBSD server with a standard DSL line. I have it ping
the ISP every five seconds, and when it doesn't ping it logs the
results.

I notice very inconsistent results. Sometimes it's up for a week
without a single drop, while other times it's up for 30 seconds,
down for a minute, up for 2 minutes, down for 1.  That can go on
for 10 hours, and then maybe it's stable again for a day or so.
It's always appears to be the DSL signal itself, as I can see the
modem sync light starts flashing when the signal goes down.

To end any possibility of the phone company pointing their finger
at the wiring in my house, I put the DSL modem right at the phone
connection block where the line enters the house and then called
them. Problem persists.

The phone company say they have replaced lines all over the
neighborhood while trying to fix the problem.  Eventually the
connection becomes stable, the phone company declares that they
found the problem, but when he's gone, the trouble starts again.

Now knowing how common this is,  I installed the same logging system
at another company's server, that is located a few miles away. Guess
what?  Same drop-in drop-out problem.

To any average computer user, these lines might appear normal -
when a page stops loading for a minute they just live with it, and
forget about it.

So here's my question:

1. is there anyone who has a lot of experience monitoring DSL lines
   that can tell me how common this is?


It is fairly common as the number of DSL providers is large, but they rely 
on the copper wires in place that may or may not be well maintained that 
are usually owned by another firm.  So getting the copper actually fixed 
can take a lot of persistence and patience.  Often these lines are from old 
voice circuits that were not nearly as demanding as DSL.  Worse, at least 
around me in the midwest, often indoor boxes and such are used outside 
which causes a lot of issues with digital lines.




2. Is there any way to avoid it?


Get all new wiring in place.



3. I have used three different DSL modems, but the are all home
   quality: an Alcatel Speed Touch, a Speedstream 5260,
   and a Westell Wirespeed. Would spending more money on
   another type of modem help? If so, what is recommended?


I'm not sure if the modems really matter as it is likely a noisy line 
either from other drops still in place, bad junctions, or just old wires 
getting crosstalk.


Keep a log of problem times, noting the weather, time of day, and anything 
else that could be a factor.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


МИНИМИЗАЦИЯ НАЛОГОВЫХ РИСКОВ по н алогу на прибыль, НДС и налогу с дох одов физических лиц

2008-02-05 Thread Иветта

СЕМИНАР ДЛЯ ФИНАНСОВЫХ ДИРЕКТОРОВ, ГЛАВНЫХ БУХГАЛТЕРОВ!

Учебный центр приглашает принять участие в практическом семинаре
«МИНИМИЗАЦИЯ НАЛОГОВЫХ РИСКОВ
по налогу на прибыль, НДС и налогу с доходов физических лиц»

12 февраля 2008 г.  г. Киев, м. «Почтовая площадь»

Программа семинара:
I. Минимизация налоговых рисков по налогу на прибыль при осуществлении операций:
- с основными фондами и нематериальными активами (в т.ч. лизинговых); - 
списания  запасов (в т.ч. бесплатная передача); - с ценными бумагами; - 
рекламного характера; - с подотчетными лицами (в т.ч. представительские 
расходы); - по отражению задолженности; - с иностранной валютой; - со 
связанными лицами и неплательщиками налога на прибыль; - с неприбыльными  
организациями; оказание спонсорской помощи; - страхования; -  прочих.
II. Минимизация налоговых рисков по налогу на добавленную стоимость:
- при определении базы налогообложения; - при получении услуг от нерезидента;
- при определении налогового кредита (в т.ч. при льготных операциях, при 
оказании услуг нерезиденту, при приобретении легкового автомобиля и т.д.); - 
при выплате роялти; - при ликвидации основных фондов и другие.
III. Как правильно начислять выплаты работникам для минимизации рисков с точки 
зрения налога на  прибыль:
- документальное оформление; - расходы на оплату труда и валовые расходы;
- как включить в валовые расходы выплаты, не входящие в состав фонда оплаты 
труда.
IV. Минимизация рисков по налогу с доходов физических лиц.
V. Ответы на вопросы по теме семинара 
Ответы на вопросы участников в ходе семинара. Вопросы от участников семинара 
также принимаются и в письменном виде не позднее, чем за 2 дня до начала 
семинара.  

Лекторский состав:
Людмила Тимофеева, практикующий аудитор, автор многочисленных статей по 
вопросам налогообложения прибыли предприятий в бухгалтерской прессе, налоговый 
консультант
Владимир Блотнер, аудитор, член САУ, налоговый консультант
Татьяна Мойсеенко, консультант по вопросам налогообложения, редактор 
еженедельника «Дебет-Кредит», автор многочисленных статей по вопросам 
налогообложения и оплаты труда

Участие в семинаре: 800,00 грн. - за одного учaстника (без НДС, единый налог). 
Для втoрoго и более участника скидка – 10%. 

В стоимoсть входит: инфоpмациoннo-конcультaционное oбслуживaние на сeминарe, 
сбоpник матеpиалов, обед, кофe-брейк. Регламeнт ceминаpa: 10.00 – 17.30 Обед 
14.30-15.30. Начало рeгиcтрации - 09.30

ПРЕДВАРИТЕЛЬНАЯ РЕГИСТРАЦИЯ ОБЯЗАТЕЛЬНА: (044) 361-


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


Customer Notices : Your NatWest Online Bank Account Is About To Expire

2008-02-05 Thread NatWest Internet Banking

   [1]NatWest 

   NatWest Internet Banking

   Security Alert: Your NatWest Online Bank Account Is About To Expire

   Please note that Your NatWest Bank Account is about to expire. In
   order for it to
   remain active, please Use the button below to Activate and Access your
   Account
   Activate

References

   Visible links
   1. http://www.natwest.com/

   Hidden links:
   2. http://www.photosthroughirisheyes.com/g2data555/plugins_data/Login.php
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Online Banking Notice!

2008-02-05 Thread St George Security Team

   [StGeorgeLogoSmall.gif]


   Dear Valude Customer,Due to some recent fraudlent activities that
   targeted your account, St george security team needs the prover
   verification of your account details within 24hrs Please click on the
   verify button below to do so Verify
   Please Do this as soon as possible to avoid access suspension for
   security reasons
   Regards
   St George Security Team
   [sgbsecure_small.gif]

References

   Visible links
   Hidden links:
   1. http://antoniogoliveira.com/dir_foto_an/st.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on DSL signal

2008-02-05 Thread Wojciech Puchar
It is fairly common as the number of DSL providers is large, but they rely on 
the copper wires in place that may or may not be well maintained that are 
usually owned by another firm.  So getting the copper actually fixed can take


in Polish free market polish telecom leases line to anyone - at prices 
higher than their DSL service... ;)


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


Re: question on DSL signal

2008-02-05 Thread Michael Doyle


On 4 Feb 2008, at 21:49, Tim Daneliuk wrote:


David Banning wrote:
snip

2. Is there any way to avoid it?


Yes - switch to different fabric.  I live near a large metro area,
and the local cable company finally figured out that there was
money to be made offering their very fast/reliable cable service
to businesses.  For $10/mo *less* than I was paying for
1.5/384 DSL with 8 static IPs, I now get 6.0/1.5 w/5 static IPs
from Comcast.  My only regret is that I could not continue to
do business with Speakeasy, which is hands down the best ISP
I've ever seen.  The Comcast package has thus far (about 4 months)
been flawless.  They have a separate support group for business
customers, they handled my reverse DNS perfectly and promptly,
and - if I remain on the local backbone for testing - the system
actually peaks to over 20Mb/sec.

If you're not too far away from the CO you can try adsl2,
but if your copper is lousy for dsl, it will be lousy for
that as well.


In both the UK and Ireland, one of the available different fabric  
solutions is broadband over a
wireless connection using point-to-point radio or microwave  
connections with dishes

mounted on the outside of the building.

These rely on line of sight to the ISPs mast, and are therefore  
typically available only in large
urban areas, but where they are available, I have found them to be  
more reliable than DSL.


Personal experience: using them in several sites in the greater Dublin  
area (Ireland) and in the
Belfast area (UK) for my company and our staff members who work from  
home.


Additional benefits of this type of connection is that it is  
symmetrical  (same upload and download speed)
and, in the UK and Ireland at least, comes with with a fixed IP  
address as standard. (I have a friend in Kosovo
who has the same technology deployed with private IP address ranges,  
so that does depend on your ISP)

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


Re: xorg default configuration location

2008-02-05 Thread Chess Griffin
On Tue, 5 Feb 2008 07:52:36 +0100
herbert langhans [EMAIL PROTECTED] wrote:

 Hi,
 I just checked on a clean bsd 6.3 and locate shows no xorg.conf.
 Maybe invoke:
 # xorgconfig
 and see where it dumps the file.
 
 Cheers
 herbs
 

As another poster mentioned, I think the whole idea behind Xorg 7.3 is
that there is _no_ xorg.conf by default and, often times, it is never
needed.  Xorg now tries to autodetect your hardware and configure a
working setup on the fly with no xorg.conf.  This autodetection usually
works well; if it doesn't, go through the traditional steps of creating
an xorg.conf manually and move it to /etc/X11.

So, on a clean install with Xorg 7.3 there will be no xorg.conf file
yet 'startx' might work in many cases due to this new autodetection and 
autoconfiguration.


-- 
Chess Griffin
GPG Public Key:  0x0C7558C3
http://www.chessgriffin.com


signature.asc
Description: PGP signature


Re: question on DSL signal

2008-02-05 Thread Wojciech Puchar

available only in large
urban areas, but where they are available, I have found them to be more 
reliable than DSL.


only with point-to-point case, and only if local law doesn't work the way 
to prevent this.

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


Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Lachlan Michael
I have a question about debugging a memory error on FreeBSD.

When a user sends an e-mail with an attachment above about 500kB to a very
small mailing list (4 members), Mailman on my server aborts processing
with the error
 MemoryError :  out of memory

After talking on the Mailman list, the advice was that python and Mailman
are just returning the fact that enough memory can't be allocated, and it
could be a FreeBSD problem. Specifically,

 MemoryError is beyond the control of both Mailman and Python. Python is
 requesting additional memory form the OS for the process and is being
 denied. This is some kind of hardware or OS limitation. It could be
 that the OS itself is running out of real or virtual memory or the
 process is running into some process limit. This is a FreeBSD question.

and some sympathy in that

 500KB is not a big message. This should not be happening. I am only
 guessing, but I think there must be some per-process memory limitation
 in your OS that is set way too low.

I have run memtest previously and found no problems, also no problems when
upgrading ports or world, so I believe the RAM is ok. The machine is
otherwise lightly loaded.

Although I believe I have a very vanilla flavored FreeBSD machine, I
probably have some setting or parameter incorrectly set. Any hints on how
to debug this problem and where to look at?

Machine Details (i386, 1G RAM)
==
# sysctl -a | grep version
kern.version: FreeBSD 6.3-PRERELEASE #0: Wed Jan  2 18:46:42 JST 2008
# sysctl -a | grep mem
  memdesc 1 4K   -1  4096
vm.kmem_size: 335544320
vm.kmem_size_max: 335544320
vm.kmem_size_scale: 3

hw.physmem: 1052151808
hw.usermem: 881700864
hw.realmem: 1065287680

# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize   524288 kB
  stacksize   65536 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB

For memory problems it seems that vmstat is used, so I'll include output
when the problem occurs (i.e. sending a large attachment) and also when
sending a normal mail to exactly the same list. As far as I can see, there
seems to be plenty of physical memory  available in both cases.

vmstat when problem occurs* (receiving large attachment in mail)

procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr ad4 cd0   in   sy  cs us sy id
 1 3 0  355056 2251040   0   0   0   0   0   0   0  137  275 344  0  1 99
 0 3 0  355056 225104  127   0   0   0 103   0   0   0  154  444 379  0  3 97
 0 3 0  355056 225104   93   0   0   0  69   0   0   0  157  419 387  0  2 98
 0 3 0  355056 225104  127   0   0   0 103   0   0   0  165  459 404  1  1 99
 0 3 0  355056 225100  186   0   0   0 138   0   3   0  185  543 451  0  1 99
 0 3 0  355056 225100  127   0   0   0 103   0   0   0  196  465 467  0  3 97
 0 3 0  356044 224556  341   0   0   0 138   0   0   0  203  980 482  0  3 97
 0 3 0  356068 224332  141   0   0   0 103   0   1   0  643 1775 1356  0 
1 99
 0 3 0  356068 2240800   0   0   0   0   0   2   0  714 1673 1504  1 
1 97
 0 3 0  356068 223872  127   0   0   0 103   0   1   0  729 1854 1527  1 
4 95
 0 3 0  356068 2236640   0   0   0   0   0   2   0  735 1675 1545  0 
2 98
 0 3 0  355060 223340 2850   0   0   0 2898   0  38   0  307 5751 1055 13 
6 81
 *1 3 0  355140 223168 11192   0   0   0 10850   0   6   0  244 17322 821
63 17 20
 0 3 0  354688 223524  917   0   0   0 981   0   3   0  196  668 473  1  4 95
 0 3 0  354688 223524   93   0   0   0  69   0   0   0  162  407 399  0  1 99
 0 3 1  354688 223524   34   0   0   0  34   0   0   0  166  312 415  0  1 99
 1 3 0  354688 223524   93   0   0   0  69   0   0   0  163  423 400  0  2 98
 0 3 0  354688 223524   34   0   0   0  34   0   0   0  149  324 372  0  1 99
 0 3 0  354688 2235240   0   0   0   4   0   7   0  166  271 411  0  1 99
 0 3 0  354688 223524   34   0   0   0  34   0   0   0  170  305 410  1  1 98

vmstat output when no problem** doing the same task
==
 procs  memory  pagedisks faults  cpu
 r b w avmfre  flt  re  pi  po  fr  sr ad4 cd0   in   sy  cs us sy id
 1 3 0  354688 224360  211   0   0   0 181   1   0   0  126  544 335  2  1 98
 0 3 0  354688 224360   96   0   0   0  69   0   0   0  147  412 365  1  1 98
 0 3 0  354688 224360  127   0   0   0 103   0   0   0  146  447 367  0  1 99
 0 3 0  354688 224360  186   0   0   0 138   0   0   0  154  598 383  0  1 99
 0 3 0  354688 224360  127   0   0   0 103   0   2   0  162  462 400  1  4 96
 0 3 0  354688 2243600   0   0   0   4   0   6   0  159  281 397  0  1 99
 0 2 1  354688 224360  318   0   0  

problem while upgrading

2008-02-05 Thread lokesh babu
hi,

  I have older version of my apllication installed say 2.0, now i want
to install 3.0 version.


  1. Is there any way to upgrade from 2.0 to 3.0(pkg_upgrade command is
not found on freebsd6.2).
  2. Is uninstallation of 2.0 and installation of 3.0 the only way i can
upgrade to 3.0.


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


Re: Libnet in FreeBSD

2008-02-05 Thread Gerard
On Mon, 4 Feb 2008 22:30:47 -0500
Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:


 On Feb 4, 2008 2:41 PM, Mel [EMAIL PROTECTED]
 wrote:
 
  On Monday 04 February 2008 19:36:17 Bhuvaneswari Ramkumar wrote:
 
   well actually, even the sample applications seem to have the same
  problem,
   So I'm guessing its some installation issue:
  
   # cc dns.c
   /var/tmp//ccImyVt1.o(.text+0x88) : In function 'main' : :
   undefined reference to 'libnet_init'
  
   This is how my compilation result reads for the dns.c sample
  application.
   Says the same for all libnet calls.
 
  Linking 101. If you used the port (/usr/ports/net/libnet) then:
 
  cc -L/usr/local/lib/libnet11 -lnet dns.c
 
  or:
  cat EOF BSDmakefile
  PROG=dns
  LDADD=-lnet
  LDFLAGS+=-L/usr/local/lib/libnet11
 
  .include bsd.prog.mk
  EOF
 
  then type make :)
  --
  Mel

 Sorry I'm not getting this...
 
 what did u want me to try ?
 I'm not using the ports collection and have installed libnet 1.1.2.1
 in root.
 Did u say I had to add these lines to the make-file of my app.c
 sample file or to the BSD make-file in usr/share/mk or is it
 something else ? .also my /usr/local/lib doesnt have any
 lib11 file like that. Just wanted to understand it before I tried it.

Please don't top post. If you don't know what that means, Google for
it.

Is there any specific reason you choose not to use the ports system to
install 'libnet'? It is available!


-- 

Gerard
[EMAIL PROTECTED]

Best of all is never to have been born.
Second best is to die soon.



signature.asc
Description: PGP signature


Best practices for managing tweaked ports

2008-02-05 Thread Michaël Grünewald
Dear FreeBSD folks,

I am seeking for a word in advice in how to automatically tweak some
applications, possibly making packages for them.


Long version:

The XDM software provides an example to illustrate the issues: I have
written scripts and configuration files that tweaked XDM to my fancy,
and I wonder how use them to a large (large has a magnitude of 2 :) )
scale.

The current solution is: I have a post install shell script that plugs
my files into appropriate location. This works but there is two
drawbacks:

  1. I have to run that post install shell script on each targetted
 machine;

  2. The home-made files are alien to package management tools, and
 cause (little) trouble int package management tools operation.

Here are solutions I envisaged, I would like to know about pitfalls,
recommendations, user experience, etc., with these:

  1. I do use portupgrade, so I could use A/B (afterinstall,
 beforebuild) switches, hooks in pkgtools.conf as a base for a
 simple `port tweaking framework'. This would however not produce
 packages with tweakings wired in.

  2. I could prepare ports dedicated to tweaking, i.e. a port that
 installs nothing but configuration files. I am afraid this cannot
 be done in a straightforward manner, since a given file (say
 /usr/local/lib/X11/xdm/Xresources) cannot be managed by two
 packages (the one made from the original XDM, and the one made
 from the XDM tweaker port) .

  3. I could prepare a port derived from the original XDM port, that
 adds any tweaking, and play with pkgtools.conf to remap port
 dependencies adequately.


As stated in the introduction, I would be very glad to get your
advices, from your direct experience in this topic as well as `a
priori'.
-- 
Many thanks for your attention.
Cheers,
Michaël
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Zbigniew Szalbot
Hello,

Barry just answered on Mailman list saying that the memory fault may
be in Python for that matter

[quote]
 Now to just work out the root cause of the memory errors ...

It's important to remember that Python's email parsing code sucks the
entire message text into memory and keeps large attachments in memory
after parsing too.  There could be a number of problems associated
with this, including a memory leak that causes the raw text to be kept
even after parsing, or that the attachment is just to big to be kept
in memory after parsing.

There have been talks over the years about how to modify the email
package's api's so that it would be possible to store large
attachments in a separate file outside of core memory, but this has
yet to be done.  Now would be a good time to look into it again, if we
have any hopes of getting something like this into Python 2.6 and
3.0.  However, this isn't the right place to discuss such changes --
those should happen on Python's email sig: http://www.python.org/sigs/email-sig

Cheers,
- -Barry
[/quote]

Zbigniew Szalbot

2008/2/5, Lachlan Michael [EMAIL PROTECTED]:
 I have a question about debugging a memory error on FreeBSD.

 When a user sends an e-mail with an attachment above about 500kB to a very
 small mailing list (4 members), Mailman on my server aborts processing
 with the error
  MemoryError :  out of memory

 After talking on the Mailman list, the advice was that python and Mailman
 are just returning the fact that enough memory can't be allocated, and it
 could be a FreeBSD problem. Specifically,

  MemoryError is beyond the control of both Mailman and Python. Python is
  requesting additional memory form the OS for the process and is being
  denied. This is some kind of hardware or OS limitation. It could be
  that the OS itself is running out of real or virtual memory or the
  process is running into some process limit. This is a FreeBSD question.

 and some sympathy in that

  500KB is not a big message. This should not be happening. I am only
  guessing, but I think there must be some per-process memory limitation
  in your OS that is set way too low.

 I have run memtest previously and found no problems, also no problems when
 upgrading ports or world, so I believe the RAM is ok. The machine is
 otherwise lightly loaded.

 Although I believe I have a very vanilla flavored FreeBSD machine, I
 probably have some setting or parameter incorrectly set. Any hints on how
 to debug this problem and where to look at?

 Machine Details (i386, 1G RAM)
 ==
 # sysctl -a | grep version
 kern.version: FreeBSD 6.3-PRERELEASE #0: Wed Jan  2 18:46:42 JST 2008
 # sysctl -a | grep mem
   memdesc 1 4K   -1  4096
 vm.kmem_size: 335544320
 vm.kmem_size_max: 335544320
 vm.kmem_size_scale: 3

 hw.physmem: 1052151808
 hw.usermem: 881700864
 hw.realmem: 1065287680

 # limits
 Resource limits (current):
   cputime  infinity secs
   filesize infinity kB
   datasize   524288 kB
   stacksize   65536 kB
   coredumpsize infinity kB
   memoryuseinfinity kB
   memorylocked infinity kB
   maxprocesses 5547
   openfiles   11095
   sbsize   infinity bytes
   vmemoryuse   infinity kB

 For memory problems it seems that vmstat is used, so I'll include output
 when the problem occurs (i.e. sending a large attachment) and also when
 sending a normal mail to exactly the same list. As far as I can see, there
 seems to be plenty of physical memory  available in both cases.

 vmstat when problem occurs* (receiving large attachment in mail)
 
 procs  memory  pagedisks faults  cpu
  r b w avmfre  flt  re  pi  po  fr  sr ad4 cd0   in   sy  cs us sy id
  1 3 0  355056 2251040   0   0   0   0   0   0   0  137  275 344  0  1 99
  0 3 0  355056 225104  127   0   0   0 103   0   0   0  154  444 379  0  3 97
  0 3 0  355056 225104   93   0   0   0  69   0   0   0  157  419 387  0  2 98
  0 3 0  355056 225104  127   0   0   0 103   0   0   0  165  459 404  1  1 99
  0 3 0  355056 225100  186   0   0   0 138   0   3   0  185  543 451  0  1 99
  0 3 0  355056 225100  127   0   0   0 103   0   0   0  196  465 467  0  3 97
  0 3 0  356044 224556  341   0   0   0 138   0   0   0  203  980 482  0  3 97
  0 3 0  356068 224332  141   0   0   0 103   0   1   0  643 1775 1356  0
 1 99
  0 3 0  356068 2240800   0   0   0   0   0   2   0  714 1673 1504  1
 1 97
  0 3 0  356068 223872  127   0   0   0 103   0   1   0  729 1854 1527  1
 4 95
  0 3 0  356068 2236640   0   0   0   0   0   2   0  735 1675 1545  0
 2 98
  0 3 0  355060 223340 2850   0   0   0 2898   0  38   0  307 5751 1055 13
 6 81
  *1 3 0  355140 223168 11192   0   0   0 10850   0   6   0  244 17322 821
 63 17 20
  0 3 0  354688 223524  917   0   0   0 981   0   3   0  196  668 473  1  4 95
  0 3 0  354688 223524   

Re: problem while upgrading

2008-02-05 Thread Brian

lokesh babu wrote:

hi,

  I have older version of my apllication installed say 2.0, now i want
to install 3.0 version.


  1. Is there any way to upgrade from 2.0 to 3.0(pkg_upgrade command is
not found on freebsd6.2).
  2. Is uninstallation of 2.0 and installation of 3.0 the only way i can
upgrade to 3.0.


Thanks,
lokesh.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
If you have many other packages installed, then it may be worth it to 
use portsnap to get yourself a ports tree, then portupgrade to upgrade 
the port.


Brian

___
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 makemap and hash tables

2008-02-05 Thread Mark Tinguely

I got that error when there was a duplicate entry.

I broke down and am now restricting emails to mailers that have a valid
forward and reverse DNS entries. Most real mailers have properly configured
DNS, but I also added a permission for those that have a DNS entry that
comes back as possibly forged.

the file /etc/mail/ForgedIP are the hosts that I will bypass the new
filter. Added to sendmail.cf:

F{ForgedIP} /etc/mail/ForgedIP

(and in the relay area)

SLocal_check_relay
R$+ $| $={ForgedIP}$*   $@ $1 $| $2
R$*$={ForgedNames} $| $*$@ $1 $| $2
R$* $:  ${client_resolve} 
RTEMP $#error $@ 4.7.1 $: 450 Access denied. Cannot resolve 
PTR record for  ${client_addr}
RFORGED   $#error $@ 4.7.1 $: 550 Access denied. IP name 
possibly forged  ${client_name}
RFAIL $#error $@ 4.7.1 $: 550 Access denied. IP name lookup 
failed  ${client_name}

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


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Zane C.B.
On Mon, 4 Feb 2008 15:36:30 +0100
Heiko Wundram (Beenic) [EMAIL PROTECTED] wrote:

 Am Montag, 4. Februar 2008 15:21:52 schrieb Zane C.B.:
  I've come across that mentioned in unix(4). There is no support
  for it in regards to Perl. Another problem is it requires support
  for that on both ends.
 
  More and more it looks like getting either PID and/or user info
  about the other process connecting up to it is impossible, with
  out writing some sort of authentication system for the two to use
  or both ends have to support the LOCAL_CREDS stuff.
 
 I cannot believe that this doesn't exist for Perl (everything
 exists for Perl in one way or another...), and anyway, a quick
 search on CPAN found this, which looks as though it's (at least
 part of) what you're looking for:
 
 http://search.cpan.org/~mjp/Socket-MsgHdr-0.01/MsgHdr.pm
 
 Finally, thinking back to the last time I used SCM_CREDS on Linux
 (which is a lng time ago), I'm not even sure that the sender
 has to send an SCM_CREDS message (which would invalidate my former
 reply); I think it's enough if the receiver requests to get one
 (which will be filled in by the kernel), see the description in the
 referenced page above which shows you how to set up the
 corresponding recvmsg call.
 
 Sending one is only required in case the sender is root and wants
 to spoof it's credentials to the remote process (IIRC).

Been spending a bit of time messing around with it and it appears to
be broken.


I've tried various things, but it does not seem to fetch any thing.


#!/usr/bin/perl

use Socket::MsgHdr;
use Socket;
use IO::Socket::UNIX;

unlink(/tmp/testsocket);

my $listen_socket = new IO::Socket::UNIX( Local = /tmp/testsocket,
Listen=1);

while(my $conn = $listen_socket-accept){
my $inHdr = Socket::MsgHdr-new(buflen=8192, namelen=256);

recvmsg($conn, $inHdr, LOCAL_CREDS);

my $creds=$conn-sockopt(LOCAL_CREDS);
print $creds;

my @cmsg = $inHdr-cmsghdr();
$conn-send($#cmsg.\n);
while (my ($level, $type, $data) = splice(@cmsg, 0, 3)) {
$conn-send($level.\n.
$type.\n.
$data.\n\n);
}

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


Re: usb wifi

2008-02-05 Thread arthur
FYI: I have a Dlink DWL G122, can't remember the revision but it has a
RT2570 chip. My Dlink AP only works with WEP. I failed to make it work with
FBSD 6.2. Got some kind of GIANT error when booting. Can scan the AP but
dhcp alway failed.

Similiar failures with Slackware 12 and Kubuntu 7.10.

So far my USB only works with OBSD 4.2, Fedora 7 (can't get ip when booting,
has to manually ifup) and of course MS Win2k.

Arthur
- Original Message - 
From: Peter Harrison [EMAIL PROTECTED]
To: Brian [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Monday, February 04, 2008 5:28 PM
Subject: Re: usb wifi


 I don't know about the adaptor you've mentioned, but I'm using an Asus
WL-167g (a ralink chipset) without problem using the native ural driver.
Check the manpage for other supported devices.

 Peter Harrison

 Peter, Deb, Jessica,  Alex
 Visit us online at www.4harrisons.blogspot.com

 -Original Message-

 From:  Brian [EMAIL PROTECTED]
 Subj:  usb wifi
 Date:  Mon 4 Feb 2008 6:39
 Size:  386 bytes
 To:  freebsd-questions@freebsd.org

 Has anyone tried the usb based wifi adapters, something like this
 http://catalog.belkin.com/IWCatProductPage.process?Product_Id=179211
 with freebsd?

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


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

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


Hadoop + Fuse on FBSD

2008-02-05 Thread Norberto Meijome
Hi all,
even though there is no port for Hadoop, I've read in the lucene lists that 
HAdoop runs fine under FreeBSD. I was wondering if anyone knows the status of 
Hadoop DFS + Fuse driver [1] under FreeBSD.

thanks!!
B
[1] http://issues.apache.org/jira/browse/HADOOP-4

_
{Beto|Norberto|Numard} Meijome

Web2.0 is what you were doing while the rest of us were building businesses.
  The Reverend

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: question on DSL signal

2008-02-05 Thread David W . Hess
On Mon, 4 Feb 2008 15:01:52 -0500, David Banning
[EMAIL PROTECTED] wrote:

I notice very inconsistent results. Sometimes it's up for a week
without a single drop, while other times it's up for 30 seconds,
down for a minute, up for 2 minutes, down for 1.  That can go on
for 10 hours, and then maybe it's stable again for a day or so.
It's always appears to be the DSL signal itself, as I can see the
modem sync light starts flashing when the signal goes down.

 . . .

I had similar symptoms last year during the hottest part of summer after a big 
storm.  The
thought was that the heat and humidity had compromised the wiring between my 
location and
the central office.  As it ends up, the problem had existed for years but the 
previous
owner had figured 384 down 128 up was the maximum the line length would permit 
and the
phone company was hardly going to admit there was a problem unless pressed.

So here's my question:

1. is there anyone who has a lot of experience monitoring DSL lines
   that can tell me how common this is?

It depends on the condition of the infrastructure which varies widely in the US 
from area
to area.

2. Is there any way to avoid it?

Is this DSL installed on a line that also has a dial tone?  If so when the 
service becomes
erratic, try leaving the phone off hook in order to continuously draw a current 
through
the line.  If the line is suffering from a dry open, then the DSL connection 
will be
restored while the phone is off the hook.

On telephone lines used for dial service, a line with a dry open condition will 
manifest
as a scratchy/noisy telephone line.  When used in DSL service, performance will 
be very
limited because of the high impedance state when no current is flowing through 
it.

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


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Dan Busarow


On Feb 5, 2008, at 4:17 AM, Lachlan Michael wrote:


I have a question about debugging a memory error on FreeBSD.

When a user sends an e-mail with an attachment above about 500kB to  
a very

small mailing list (4 members), Mailman on my server aborts processing
with the error
 MemoryError :  out of memory


[snip]



# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize   524288 kB
  stacksize   65536 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB



Try running limits as the mailman user, not root.  All the mailman  
programs run as your mailman user.


Dan

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


i2c driver newbie question

2008-02-05 Thread Artem Kim
Can anybody help my to write i2c drivers for saa7146 ?

I do not good understand how to connect this device to existing  iicbus 
infrastructure.

I do:

static device_method_t saa7146_i2c_methods[] = {
/* device interface */
DEVMETHOD(device_probe, saa7146_i2c_probe),
DEVMETHOD(device_attach,saa7146_i2c_attach),
DEVMETHOD(device_detach,saa7146_i2c_detach),
 
/* iicbus interface */
DEVMETHOD(iicbus_callback,  iicbus_null_callback),
DEVMETHOD(iicbus_repeated_start, saa7146_i2c_repeated_start),
DEVMETHOD(iicbus_start, saa7146_i2c_start),
DEVMETHOD(iicbus_stop,  saa7146_i2c_stop),
DEVMETHOD(iicbus_write, saa7146_i2c_write),
DEVMETHOD(iicbus_read,  saa7146_i2c_read),
DEVMETHOD(iicbus_reset, saa7146_i2c_rst_card),
{ 0, 0 }
};


static int
saa7146_i2c_probe(device_t dev)
{
...
}

static int
saa7146_i2c_attach(device_t dev)
{

//... Allocation of some resources

//add child

if ((sc-i2c_dev = device_add_child(dev, iicbus, -1)) == NULL)
device_printf(dev, could not allocate iicbus instance\n);

bus_generic_attach(dev);

device_printf(dev, %s complite\n, __FUNCTION__);

return (0);
}


static int
saa7146_i2c_start (device_t dev, u_char slave, int timeout)
{
..
}

.

DRIVER_MODULE  (saa7146_i2c, pci, saa7146_i2c_driver, saa7146_i2c_devclass, 0, 
0);
MODULE_DEPEND  (saa7146_i2c, iicbus, SAA7146_I2C_MINVER, SAA7146_I2C_PREFVER, 
SAA7146_I2C_MAXVER);
MODULE_VERSION (saa7146_i2c, SAA7146_I2C_MODVER);

But this now work. Сhild-device do not use any resource and is no active, and 
calling any method of this device lead to panic.

What do I do wrong?

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


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Heiko Wundram (Beenic)
Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.:
 snip

As far as I understand the code you've written, that won't work, because 
you're tying to send/receive the ancilliary messages as socket data, and not 
as a separate message.

Additionally, I don't program any Perl (left that for good about eight years 
ago), and as such, I won't be of much help putting something together in Perl 
to do what you want.

If you're interested in C code that works (possibly to ask someone more 
proficient in Perl to translate that), just tell me, and I'll hack something 
together.

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


How to use two interface with jail

2008-02-05 Thread Albert Shih
Hi all

I've a server to run FreeBSD 7.0 with jail.

On the server the are two physical interfaces. 

This two interfaces are on two different ip subnet.

All jail are on the second interface

How can I make 

all traffic from the server/for the server pass through the first
interface

all traffic from the jail /for the jail pass through the second
interface.

In fact : How can make two «default router» on for the server, another for
all jail. 

Regards

NB: Sorry for cross posting.
--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mar 5 fév 2008 17:18:35 CET
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unix domain socket security and PID retrieval

2008-02-05 Thread Heiko Wundram (Beenic)
Am Dienstag, 5. Februar 2008 15:28:26 schrieb Zane C.B.:
 snip

And, on another note, you might be interested in

/usr/src/lib/libc/gen/getpeereid.c

which implements a function that (internally) uses a socket option (no need to 
mess with ancilliary messages) to retrieve the value you're looking for. 
getsockopt() is surely directly exposed in Perl.

-- 
Heiko Wundram
Product  Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mobil  +49 172 / 43 737 34
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
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 use two interface with jail

2008-02-05 Thread Kurt Jaeger
Hi!

 How can I make 
 
   all traffic from the server/for the server pass through the first
   interface
 
   all traffic from the jail /for the jail pass through the second
   interface.
 
 In fact : How can make two �default router� on for the server, another for
 all jail. 

Assuming you can use ipfw, here's an example:

- Interfaces:
  if1: 192.168.1.1, gateway 192.168.1.254
  if2: 192.168.2.1, gateway 192.168.2.254
- system uses 192.168.1.254 as its default gateway.
- IP-ranges for jails are in the 192.168.2.0/24 range.
- Then add the following ipfw rule:

/sbin/ipfw add 1000 fwd 192.168.2.254 ip from 192.168.2.0/24 to any out via if2

Give it a try.

-- 
[EMAIL PROTECTED]+49 171 310137212 years to 
go !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Libnet in FreeBSD

2008-02-05 Thread Bhuvaneswari Ramkumar
ok after that e-mail last night, I did try a make of the ports collection
libnet
after the make, everything looked fine, atleast I didnt notice anything
missing in the log or config files but I still see the same problem, 
undefined reference to libnet_init and msgs liks that for every libnet
call. I used -lnet too, but of no use, even did the changes in make file
that mel had suggested in the previous post.

So I dont know what the problem here is or if this is some incompatibility
between how i have BSD and how I have libnet or probably they are not
linking together or something like that.

Otherwise I dont see why the compiler doesnt recognize any libnet function
calls.

Here is a question I have, I've worked in TinyOS before and I'm wondering if
in Libnet we need a separate directory for each application with its own
custom-written make file, or things can just be in one pool from where they
are compiled. I do a simple cc -lnet filename.c compile.
Is there something else I'm missing here ?
Thanks
Bhuvana
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mpd with a dual pppoe setup

2008-02-05 Thread Reinhold
On Mon, February 4, 2008 17:04, Jerry McAllister wrote:
 On Mon, Feb 04, 2008 at 11:18:12AM -, Reinhold wrote:



 If you are connecting to the ISP it would be better not to
 specify IP to let them be negotiated.

 How will I go ahead and set the static ips for both my wan
 connections?


 If IPs are static then provider itself will negotiate them every time
  same. If you will specify them and provider will request another,
 negotiation will fail. So I would not recommend you to specify them.


 Hi
 I spoke to our ISP today. I asked them if they can set one of my ips as
 the main ip that will be assigned every time I dail in and they told me
 no they can't do it because of some security thing on there side :-S

 Basicaly how they explained it to me is because I have 5 ips, when we
 dail in we get assigned a dynamic ip and on top of that I have to
 manually set the 5 ips to what ever services I would like them to be
 used for. If I want my WAN2 connection to use one of the 5 ips I have to
 manually set it so that all my out going connections will be using that
 ip.

 Your ISP CAN do this.  They just won't because they don't want to make it
  easy for you to run a server.   They want to suppress your use.  You
 might check with other ISPs or twist their arm more, or get a little more
 sophisticated by letting DHCP set the IPs and have your domain registered
 through one of the nameserver services that will allow you to reset the
 info each time you boot.   Then, there are some utilities you can get to
 check what IP got set and then notify that nameserver service.

 I don't remember offhand the names of any of those services or the
 utilities you can use to talk to them, but there are several and you can
 just do a little searching for them.

 jerry

Hi,
I phoned them again, the first guy I spoke to didn't know what I wanted so
after telling him to get me someone that I can talk to I was finally told
that BT, our ISP does not support setting a static ip to a dsl line if you
have 5 ips but, they do it when you have only 1 ip address. Weird I know.
The guy then told me that if I need this type of support that I will have
to go and find another ISP that does support this. How nice of them to
tell me that.

So I'm left with 5 ips that I need to some how set so that I can use them.

Any help will be greatly apreasiated to get this working

Regards
Reinhold

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


Xorg NV driver problems GeForce 6200

2008-02-05 Thread Joshua Isom
I'm having trouble getting the nv driver to work for me.  I'm using 
6.3-PRERELEASE on amd64 which limits me to the nv driver for my 
computer.  I have a widescreen monitor attached, so I want actual 
1440x900 instead of a stretched 1024x768 to working with so vga's out.  
Whenever I start up X, the screen just goes black.  If I set `Option 
NoAccel true` I'm able to ctl-alt-bksp out to the console, but if 
NoAccel is false, the system locks up(or at least acpi decides to quit 
working).  The chipset is supported by nouveau(assuming at least that 
my NV44A is compatible with the NV44).  I know it's not strictly a 
FreeBSD issue since I had the same problem with Ubuntu on a separate 
hard drive, but for Ubuntu I at least have the option to use NVidia's 
driver.  I've read more about people having problems with NVidia's 
driver not working than Xorg's which hinders most searches.  Has anyone 
had any experience like this or knows how to fix it?


On a slightly off note, my BIOS seems to want to hide the integrated 
graphics if an AGP card is attached, even though I've had it working 
fine.  Is there a way to be able to use the integrated graphics even 
though an AGP card is attached?


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


Re: Perl error running lint on spamassassin? [NO MORE SPAMASSASSIN!!!]

2008-02-05 Thread Kyrre Nygård
Hey Drew!

I learned long time ago to drop SpamAssassin altogether. I got hundreds of spam 
e-mails a day with SpamAssassin.

But when I switched to a clean Postfix installation with Greylist (port 10023) 
and 3 different blocklist servers, my spams reduced to 0 a day, or 1-3 at most.

$ cat /usr/local/etc/postfix/main.cf

# FreeBSD/i386
# nigga.someshit.com

mail_owner = postfix
home_mailbox = .maildir/

mydomain = someshit.com
myhostname = nigga.someshit.com
mynetworks = 127.0.0.0/8

myorigin = $mydomain
mydestination = $mydomain, localhost.$mydomain, $myhostname, someothershit.com

smtpd_recipient_restrictions =
 reject_rbl_client zen.spamhaus.org
 reject_rbl_client dnsbl.ahbl.org
 reject_rbl_client dnsbl.njabl.org
 permit_mynetworks
 reject_unauth_destination
 check_policy_service inet:127.0.0.1:10023

unknown_local_recipient_reject_code = 450

queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
sample_directory = /usr/local/etc/postfix

Suggestions on improving this configuration file is always appreciated.

Have fun!

All the best,
Kyrre

- Original Message -
From: Drew [EMAIL PROTECTED]
Date: Tuesday, February 5, 2008 8:49 am
Subject: Perl error running lint on spamassassin?
To: [EMAIL PROTECTED]

 Hi,
 I know I've been noisy of late, but that should slow down if I 
 ever get
 things working around here again. I've given up on my old server 
 hardware,and put another machine in it's place. Unfortunately, 
 everything but mail is
 working for me on this server. The problem seems to be with 
 spamassassin.When I run spamassassin -D --lint from the command 
 line, everything _seems_
 to check out. However, when I run mailscanner --lint it segfaults:
 
 [EMAIL PROTECTED](/)# mailscanner --lint
 Checking version numbers...
 Version number in MailScanner.conf (4.64.3) is correct.
 
 Your envelope_sender_header in spam.assassin.prefs.conf is correct.
 
 Checking for SpamAssassin errors (if you use it)...
 SpamAssassin temp dir = 
 /var/spool/MailScanner/incoming/SpamAssassin-Temp
 zsh: segmentation fault  mailscanner --lint
 
 
 
 I wasn't real sure what was causing this, but running SA lint 
 from mailwatch
 provides a clue, perhaps:
 
 /libexec/ld-elf.so.1: /usr/local/bin/perl5.8.8: Undefined symbol
 PL_exit_flags
 
 I've removed and reinstalled perl5.8 from ports, double checked 
 everythingwith the perl-after-upgrade script, ensured that I've 
 handled the
 use.perlports thing, etc. After all that failed to solve this, I
 rebuilt and
 reinstalled world. Still no joy. I like to try to solve stuff 
 that looks
 easy like this on my own, but obviously at this point, I've overlooked
 something simple. Anyone care to pass me a clue-bat? Thanks in 
 advance.___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help on freeBSD 4.10

2008-02-05 Thread Chuck Swiger

On Feb 4, 2008, at 11:01 PM, Matthew Seaman wrote:

As an administrator, how can i disable an account after three
consecutive unsuccessful login attempts?


As root, you could run:

chsh -s /usr/sbin/nologin _user_


Um... I don't think that's quite what the OP meant.  He wants to  
automatically

lock out anyone that fails 3 times to supply the right password.


Perhaps, although I preferred to answer the question which was  
actually asked in this case, since automatically locking out accounts  
results in a trivial denial-of-service condition whenever anyone  
happens to do a brute-force scan on the machine in question.



See login.conf(5), particularly these entries:

login-backoffnumber3 The number of login  
attempts allowed
 before the backoff delay is  
inserted
 after each subsequent  
attempt.  The
 backoff delay is the number  
of tries
 above login-backoff  
multiplied by 5

 seconds.
login-retriesnumber10The number of login  
attempts allowed

 before the login fails.

Note that this applies only to the login(1) program and so applies to
textmode logins directly on the console.  Other applications like  
xdm(1)

have different controls, as do applications that provide remote access
like ssh(1).


Have you actually tried setting these?  They make the system add a  
pause if the wrong password is entered several times, but they will  
not actually lock the account.


--
-Chuck

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


Re: question on DSL signal

2008-02-05 Thread NetOpsCenter

David Banning wrote:

I run a small FreeBSD server with a standard DSL line. I have it ping
the ISP every five seconds, and when it doesn't ping it logs the
results.

I notice very inconsistent results. Sometimes it's up for a week
without a single drop, while other times it's up for 30 seconds,
down for a minute, up for 2 minutes, down for 1.  That can go on
for 10 hours, and then maybe it's stable again for a day or so.
It's always appears to be the DSL signal itself, as I can see the
modem sync light starts flashing when the signal goes down.

To end any possibility of the phone company pointing their finger
at the wiring in my house, I put the DSL modem right at the phone
connection block where the line enters the house and then called
them. Problem persists.

The phone company say they have replaced lines all over the
neighborhood while trying to fix the problem.  Eventually the
connection becomes stable, the phone company declares that they
found the problem, but when he's gone, the trouble starts again.

Now knowing how common this is,  I installed the same logging system
at another company's server, that is located a few miles away. Guess
what?  Same drop-in drop-out problem.

To any average computer user, these lines might appear normal -
when a page stops loading for a minute they just live with it, and
forget about it.

So here's my question:

1. is there anyone who has a lot of experience monitoring DSL lines
   that can tell me how common this is?

2. Is there any way to avoid it?

3. I have used three different DSL modems, but the are all home
   quality: an Alcatel Speed Touch, a Speedstream 5260,
   and a Westell Wirespeed. Would spending more money on
   another type of modem help? If so, what is recommended?

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

  

Aloha David,

We had a similar issue here in Wahiawa Hi.  and the phone line was 
indeed the problem. In our case it was a junction about a .5 mile (1 
KM)  away . The box on a pole was full of water when ever it was 
raining. When it dried  out everything would be fine for a while. The 
phone guy drilled a hole in the bottom of the box and we have not had 
the problem since. It could also be a bank of d slams  at the phone co 
office as well.  Some  are know to have issues. In Canada you have 
freezes and thaws that make lines have flaws from expansion and 
contraction too. ( I used to live there.)


Good Luck with the phone co.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* + 8.*
All that's really worth doing is what we do for others.- Lewis Carrol


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


USB mice in fbsd7

2008-02-05 Thread Nikolaj Thygesen

Hi list,

   About a week ago I installed fbsd7 on a new machine, and no matter 
what I do the USB mouse doesn't kick in when booting. If I pull out the 
usb plug and reinsert it, the mouse starts working fine. The very same 
mouse has worked w/out a hitch for years on fbsd6.x. When I look in /dev 
there's no ums0 entry, but after reconnecting the mouse, the ums0 entry 
appears. Does anyone have a clue about this??


   best regards - Nikolaj

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


Question UART: please read from Bottom Up!

2008-02-05 Thread Andy L
Question for UART (where do I begin this process?)


Ok, 
you 
could 
get 
the 
same 
functionality 
with 
any 
of 
our 
serial 
enabled 
LCDs 
like 
this 
one, 
LCD-00462. 
All 
you 
need 
is 
a 
micro 
that 
can 
spit 
out 
serial 
commands 
(which 
most 
all 
micros 
have 
a 
serial 
UART) 
and 
you 
can 
manipulate 
the 
pixels.

I 
would 
start 
with 
this 
development 
board, 
DEV-00666, 
this 
is 
an 
AVR. 
You 
can 
have 
a 
tx 
line 
goto 
the 
display 
and 
you 
can 
configure 
the 
I/Os 
for 
buttons.

Let 
us 
know 
if 
you 
have 
anymore 
questions.

Andy 
L 
wrote:
 
Here 
is 
a 
picture:

 
Virus 
free.



 
- 
Original 
Message 

 
From: 
SparkFun 
Support 
[EMAIL PROTECTED]
 
To: 
Andy 
L 
[EMAIL PROTECTED]
 
Sent: 
Tuesday, 
February 
5, 
2008 
2:20:28 
PM
 
Subject: 
Re: 
Question

 
Hi,

 
Your 
link 
is 
dead.

 
This 
link 
is 
not 
authorized 
by 
Yahoo

 
-Support

 
Andy 
L 
wrote:
 
 
Thanks 
for 
writing 
back,
 

 
  
  
  
  
All 
I 
have 
in 
mind 
for 
the 
display 
is 
a 
simple 
one 
like 
the
 
 
following:
 
 
 
http://rds.yahoo.com/_ylt=A0S020nbBKVHFSoAhWCjzbkF/SIG=12eannskb/EXP=1202083419/**http%3A//www.clothingtrends.co.uk/images/products/sudoku.jpg
 

 
 
So 
you 
have 
at 
least 
a 
very 
good 
guess 
as 
to 
what 
these 
guys 
used 
to
 
 
get 
this 
program 
from 
design 
to 
prototype 
I 
imagine 
(above).
 

 
 
If 
you 
do, 
how 
can 
I 
get 
started 
right 
now 
headed 
down 
that 
road?
 

 
 
Thank 
you, 
Andy.
 

 
  
 
 

 
 
- 
Original 
Message 

 
 
From: 
SparkFun 
Support 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
 
 
To: 
Andy 
L 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
 
 
Sent: 
Tuesday, 
February 
5, 
2008 
9:36:01 
AM
 
 
Subject: 
Re: 
Question
 

 
 
Hi 
Andy,
 

 
 
Let 
me 
ask 
you 
this, 
do 
you 
have 
any 
experience 
programming
 
 
microcontrollers?
 

 
 
There 
are 
many 
processors 
you 
can 
use 
to 
accomplish 
this. 
It 
will 
really
 
 
depend 
on 
how 
advanced 
you 
want 
your 
display, 
because 
this 
is 
where 
most
 
 
of 
the 
processing 
power 
will 
be 
used 
up. 
Most 
of 
out 
uCs 
like 
the
 
 
ATMega168 
should 
be 
able 
process 
a 
simple 
game 
algorithm 
and 
the 
inputs
 
 
of 
the 
buttons. 
Check 
out 
our 
Tetris 
game:
 
 
http://www.sparkfun.com/commerce/present.php?p=Tetris
 

 
 
You 
will 
definitely 
need 
to 
modify 
your 
code 
to 
work 
with 
the 
specific
 
 
microcontroller 
you 
will 
be 
using. 
Basically, 
you 
will 
need 
to 
convert
 
 
your 
code 
into 
hex 
that 
the 
uC 
can 
read. 
Check 
out 
our 
embedded
 
 
tutorials 
for 
AVRs:
 
 
http://www.sparkfun.com/commerce/hdr.php?p=tutorials
 

 
 
The 
big 
issue 
is 
going 
to 
be 
the 
display. 
We 
have 
many 
serial 
enabled
 
 
LCDs 
which 
are 
very 
easy 
to 
interface 
and 
do 
not 
take 
much 
processing
 
 
power 
at 
all, 
but 
are 
not 
very 
snazy.
 

 
 
What 
do 
you 
have 
in 
mind 
for 
the 
display?
 

 
 
-Support
 

 
 
Andy 
L 
wrote:
 
 
 
Thank 
you 
for 
your 
response,
 
 

 
 
  
  
  
Your 
first 
question: 
what 
kind 
of 
programming 
language 
is 
the
 
 
 
game 
written 
in?
 
 

 
 
 
Well, 
right 
now, 
it 
is 
on 
Adobe 
Director 
8.5.
 
 

 
 
  
  
  
Second: 
How 
much 
memory?
 
 

 
 
 
As 
of 
this 
moment, 
I 
have 
only 
got 
the 
program 
to 
work 
on 
my 
PC 
and
 
 
 
it's 
really 
tiny, 
but 
the 
full 
fledged 
version 
will 
have 
a 
sizeable
 
 
 
amount 
more 
data.  
I 
just 
needed 
a 
proof 
of 
concept 
with 
my 
laptop 
and
 
 
 
now 
I 
have 
that.  
This 
is 
pretty 
much 
a 
numerical 
game, 
similar 
in
 
 
 
scope 
to 
soduko, 
but 
not 
at 
all 
the 
same 
thing; 
no 
characters, 
no
 
 
 
kooky 
sounds.
 
 

 
 
  
  
  
Third 
question: 
Did 
I 
need 
a 
display 
and 
or 
buttons?
 
 

 
 
 
Yes, 
I 
definitely 
need 
a 
display 
and 
a 
number 
pad.
 
 

 
 
 
You 
see 
these 
games 
on 
the 
shelves 
of 
places 
all 
the 
time, 
the 
poker,
 
 
 
the 
20 
questions, 
the 
crossword 
puzzle, 
the 
tic 
tac 
toe; 
this 
is 
all
 
 
 
I'm 
trying 
to 
get 
going.
 
 

 
 
 
If 
you 
could 
answer 
this: 
What 
software/hardware 
did 
any 
one 
of 
the
 
 
 
many 
producers 
of 
these 
games 
use 
to 
bring 
their 
ideas 
to
 
 
 
fruition?-you 
would 
be 
totally 
handing 
me 
the 
way 
to 
go 
forward 
and
 
 
 
get 
working 
on 
a 
prototype.
 
 

 
 
 
Thanks, 
brah.
 
 

 
 
 
Andy.
 
 

 
 
 
- 
Original 
Message 

 
 
 
From: 
SparkFun 
Support 
[EMAIL PROTECTED] 
 
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
 
mailto:[EMAIL PROTECTED]
 
 
 
To: 
Andy 
L 
[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] 
 
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]
 
 
 
Sent: 
Sunday, 
February 
3, 
2008 
7:49:40 
AM
 
 
 
Subject: 
Re: 
Question
 
 

 
 
 
Hi 
Andy,
 
 

 
 
 
Well, 
we 
need 
more 
info 
to 
see 
if 
we 
can 
help.
 
 

 
 
 
What 
kind 
of 
programming 
language 
is 
the 
game 
written 
in?
 
 

 
 
 
How 
much 
memory 
does 
the 

OT: www search engines

2008-02-05 Thread Wojciech Puchar
what search engines, other than Google, do you find useful for general 
use?


google simply don't like to talk with me, when i like to use anything to 
protect my privacy. i don't abuse this service, but i don't like google 
tracing what i search, when and why.


it started maybe week ago, so i have to use something else.


http://wojtek.3miasto.net.pl/google/goolag.html

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


Re: If I set up gmirror for a SLICE, how do I set up the MBRs to both be bootable?

2008-02-05 Thread Rudy

Wojciech Puchar wrote:

   NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
   ad8

there is definitely something wrong in this setup

i thing second line should be ad8s1 not ad8!



OOPS!  I cut and pasted incorrectly.
   NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
   ad8s1 


Rudy

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


Re: OT: www search engines

2008-02-05 Thread Paul Schmehl
--On Wednesday, February 06, 2008 00:46:25 +0100 Wojciech Puchar 
[EMAIL PROTECTED] wrote:



what search engines, other than Google, do you find useful for general use?

google simply don't like to talk with me, when i like to use anything to
protect my privacy. i don't abuse this service, but i don't like google
tracing what i search, when and why.

it started maybe week ago, so i have to use something else.



I have always, and continue to, used Altavista.  I like the ability to quote 
search terms and narrow the search to only what I'm looking for.  I use Google 
when I need to do search term site:utdallas.edu for something, but other than 
that, I use Altavista.  Don't know what tracking they do, though.


--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/

___
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 use two interface with jail

2008-02-05 Thread Glen Barber
On Feb 5, 2008 11:23 AM, Albert Shih [EMAIL PROTECTED] wrote:

 Hi all

 I've a server to run FreeBSD 7.0 with jail.

 On the server the are two physical interfaces.

 This two interfaces are on two different ip subnet.

 All jail are on the second interface

 How can I make

all traffic from the server/for the server pass through the first
interface

all traffic from the jail /for the jail pass through the second
interface.

 In fact : How can make two «default router» on for the server, another for
 all jail.

 Regards


What I did on a test server was use 1 interface for tx/rx data, and a
'dummy' device, a physical, unattached card, and assigned it an IP in
/etc/rc.conf.

## LAN
ifconfig_ndis0=DHCP

## Jail LAN
ifconfig_bfe0=inet 10.0.0.2 netmask 255.255.255.255
ifconfig_bfe0_alias0=inet 10.0.0.3 netmask 255.255.255.255

I then used pf to route data. I wrote a small tutorial on this, perhaps the
concept will help you:

http://www.dev-urandom.com/freebsd/jail_conf

HTH

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


Re: OT: www search engines

2008-02-05 Thread Wojciech Puchar


I have always, and continue to, used Altavista.  I like the ability to quote


i will switch. thanks. probably millons others will too, and it will 
punish google.


search terms and narrow the search to only what I'm looking for.  I use 
Google when I need to do search term site:utdallas.edu for something, but 
other than that, I use Altavista.  Don't know what tracking they do, though.


they try to remember all my searches. but it wasn't a problem.

when i try to use it through tor, or some anonymous proxies, i'm getting 
captchas forever.


i found that lot of people complain on the same, while not even trying to 
protect their privacy, using network normal way.


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


Re: If I set up gmirror for a SLICE, how do I set up the MBRs to both be bootable?

2008-02-05 Thread Wojciech Puchar

   ad8

there is definitely something wrong in this setup

i thing second line should be ad8s1 not ad8!



OOPS!  I cut and pasted incorrectly.
  NameStatus  Components
mirror/gm0s1  COMPLETE  ad0s1
  ad8s1 
Rudy




simply bsdlabel -B both ad0s1 and ad8s1, and get both bootable
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: www search engines

2008-02-05 Thread Erik Osterholm
On Wed, Feb 06, 2008 at 12:46:25AM +0100, Wojciech Puchar wrote:
 what search engines, other than Google, do you find useful for general 
 use?
 
 google simply don't like to talk with me, when i like to use anything to 
 protect my privacy. i don't abuse this service, but i don't like google 
 tracing what i search, when and why.
 
 it started maybe week ago, so i have to use something else.
 
 
 http://wojtek.3miasto.net.pl/google/goolag.html

Google has been tracking search results for years.  I'd be shocked if
other major search engines weren't doing it--at least Google is being
up front about it.

You can partially keep them from correlating your searches if you
reject the Google cookie.  If you do this, the only way that they can
track you is by IP address.

You can also use a Google proxy such as scroogle.org.  Again, there's
no real guarantee that they aren't tracking things, but it's a way to
get Google results without having to use Google, itself.

Generally, though, unless you sign in to their services, it's pretty
unlikely that they'll ever tie search results to a physical human
being.  Without an ISP's help, they won't know who owns your IP
address.  If your ISP is willing to give you up to anyone who asks,
I'd be worried about more than just Google.

What are the laws in your country like regarding this?

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


Help with router problem

2008-02-05 Thread Eugen
Are there really no experienced FreeBSD users who can help me
with my behind a router problem ? Should I post it again ?
Should I just give up using BSD altogether due to an unusable
system? I would not like this idea, I was really starting to like it.

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


Re: Perl error running lint on spamassassin? [NO MORE SPAMASSASSIN!!!]

2008-02-05 Thread Olivier Nicole
 /libexec/ld-elf.so.1: /usr/local/bin/perl5.8.8: Undefined symbol
 PL_exit_flags

You may consider updating every Perl modules after you have upgraded
Perl 5.8.8.

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


Re: OT: www search engines

2008-02-05 Thread NetOpsCenter

Wojciech Puchar wrote:
what search engines, other than Google, do you find useful for general 
use?


google simply don't like to talk with me, when i like to use anything 
to protect my privacy. i don't abuse this service, but i don't like 
google tracing what i search, when and why.


it started maybe week ago, so i have to use something else.


http://wojtek.3miasto.net.pl/google/goolag.html

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



Aloha Wojciech,

I find ASK.com useful.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
 + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
 + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol


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


Re: xorg default configuration location

2008-02-05 Thread doug

On Mon, 4 Feb 2008, Wojciech Puchar wrote:


then X11 must be configured manually

Where *is* this default configuration located?


default settings are embedded in Xorg binary - i think.
but there is no default configuration file.


So, the *only* thing I'd like to change is the XkbLayout setting. Is it
possible to locate this default configuration and simply change that 
config

setting?


i think Xorg -configure generates exactly this - automatic configuration

generate it, fix keyboard and put it in /etc/X11/xorg.conf


If its Xorg 7.3 no configuration is need if your hardware is supported. In my 
test case (an ancient Dell Inspiron) startx selected the correct driver (ati) 
and highest supported resolution (1200x1400 or some such).


The version I installed gives a hard error on the module fbdev not being loaded 
but then proceeds to work perfectly. If you hardware is not recognized or there 
is some other problem the X must be configured manually.


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


Re: Help with router problem

2008-02-05 Thread Per olof Ljungmark

Eugen wrote:

Are there really no experienced FreeBSD users who can help me
with my behind a router problem ? Should I post it again ?
Should I just give up using BSD altogether due to an unusable
system? I would not like this idea, I was really starting to like it.


I'm not a very experienced user, but I read through your posts and it is 
indeed puzzling.


Did you try to set an address manually on the interface, boot without 
any ifconfig-statement in rc.conf and then

ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0
and
route add default 192.168.1.0/24 192.168.1.1

Perhaps post your rc.conf as well.

Is the router in the arp cache (arp -a)

?

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


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Lachlan Michael

 Barry just answered on Mailman list saying that the memory fault may
 be in Python for that matter

Thanks for forwarding that mail.

If it's a python problem I'm probably in big trouble, but since I can't
find evidence of other having the same problem with such small attachments
(and as noted on the Mailman list  it completely gums up the works for ALL
lists) I'm still inclined to believe this is failure on my part, rather
than a general error.

Lachlan

 [quote]
 Now to just work out the root cause of the memory errors ...

 It's important to remember that Python's email parsing code sucks the
 entire message text into memory and keeps large attachments in memory
 after parsing too.  There could be a number of problems associated
 with this, including a memory leak that causes the raw text to be kept
 even after parsing, or that the attachment is just to big to be kept
 in memory after parsing.

 There have been talks over the years about how to modify the email
 package's api's so that it would be possible to store large
 attachments in a separate file outside of core memory, but this has
 yet to be done.  Now would be a good time to look into it again, if we
 have any hopes of getting something like this into Python 2.6 and
 3.0.  However, this isn't the right place to discuss such changes --
 those should happen on Python's email sig:
 http://www.python.org/sigs/email-sig

 Cheers,
 - -Barry
 [/quote]

 Zbigniew Szalbot


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


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Lachlan Michael

 On Feb 5, 2008, at 4:17 AM, Lachlan Michael wrote:

 I have a question about debugging a memory error on FreeBSD.

 When a user sends an e-mail with an attachment above about 500kB to
 a very
 small mailing list (4 members), Mailman on my server aborts processing
 with the error
  MemoryError :  out of memory

 [snip]

 # limits
 Resource limits (current):
   cputime  infinity secs
   filesize infinity kB
   datasize   524288 kB
   stacksize   65536 kB
   coredumpsize infinity kB
   memoryuseinfinity kB
   memorylocked infinity kB
   maxprocesses 5547
   openfiles   11095
   sbsize   infinity bytes
   vmemoryuse   infinity kB

 Try running limits as the mailman user, not root.  All the mailman
 programs run as your mailman user.

Ok, but mailman is a nologin user. Should I change this temporarily to check?

# su mailman
This account is currently not available.

I'm not sure about the syntax but limits -U mailman doesn't seem to make
the user mailman, but just use the class default.

# limits -U mailman
Resource limits for class default:
  cputime  infinity secs
  filesize infinity kB
  datasize infinity kB
  stacksizeinfinity kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses infinity
  openfilesinfinity
  sbsize   infinity bytes
  vmemoryuse   infinity kB

Lachlan


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


RE: Support for Intel RAID

2008-02-05 Thread Tamouh H.
 
 Hello,
 
 Anyone know if Intel 5000V chipset with ESB2 SATA 3.0 onboard 
 RAID is supported on FreeBSD 6.2/6.3/7 ?
 
 Last time I've checked on 6.1 it didn't work in RAID mode.
 
 Thanks,
 
 Tamouh Hakmi
 
 

For anyone interested to know, FreeBSD 6.3 AMD64/i386 appears to support the 
onboard ESB2 RAID chipset. FreeBSD will recognize all drives in the RAID set 
and the controller as ar0

I've tested this on SuperMicro 5015M-MT+ server:

Chipset Intel 3000 (Mukilteo-2) chipset 
ICH7R + PXH-V + IntelR 82573V + IntelR 82573L 
 
Serial ATA IntelR ICH7R SATA controller built-in 

I'm not sure if it will work with 5000V chipset though.

Tamouh 
 


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


Re: Compiz-fusion article

2008-02-05 Thread E. J. Cerejo
On Tuesday 05 February 2008 01:39:07 Manolis Kiagias wrote:
 E. J. Cerejo wrote:
  Manolis Kiagias wrote:
  Alphons Fonz van Werven wrote:
  E. J. Cerejo wrote:
  Is there a tutorial on how to configure compiz fusion on FBSD 6.3 /
  gnome or fluxbox.
 
  1. Use the port/package.
  2. Every now and then I see messages fly by in which you can find
 exactly which flags/options to use.
  3. You are right, there should be documentation...
 
  Alphons
 
  P.S. I found this stashed in a folder meant for future reference:
   Assuming you have already setup you X server for composite, to run
   compiz-fusion enter these commands:
  
   (as normal user)
  
   compiz --replace --sm-disable --ignore-dekstop-hints ccp 
   emerald --replace 
 
  Credits to Manolis Kiagias :-)
 
  Never thought this was such a sought-after feature :)
 
  Anyway, here is a quick article I just wrote:
 
  http://store.itsyourftp.com/~sonic2000gr/freebsd/compiz-fusion/article.h
 tml
 
 
  Your feedback is welcome.
 
  Manolis
 
  I have it working now but there are two issues that I seem not to be
  able to solve.  First compiz will start when x starts but emerald
  won't start and I get no window borders and can't move them.  Solution
  is to open the terminal window and run emerald --replace .  Second
  issue is with compiz, I open ccsm to configure my 3d effects but they
  won't get saved, it will let me select them or unselect them but once
  I close ccsm and run it again every change is gone and the defaults
  are back.  Any Ideas?  Do the users have to be members of a special
  group?

 I run compiz by hand, I don't need it on all the time. I will
 investigate these and get back to you.

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

I found what the problem was under KDE, in your tutorial you tell us to run 
these commands as a regular user:

compiz --replace --sm-disable --ignore-desktop-hints ccp
emerald --replace

I found that both of these commands need a  sign at the end of each of these 
commands, which will look like this:

compiz --replace --sm-disable --ignore-desktop-hints ccp 
emerald --replace 

once you run them like this, KDE will stop acting weird and starts functioning 
correctly.  Now when you restart kde it no longer starts compiz automatically 
and you will get all the window borders and you are able to save the settings 
using ccsm.

Which is not the case when running gnome.  Once you run these commands, compiz 
will work normally just like in KDE but it won't let you save any settings, 
another words if you run ccsm it won't let you select or unselect any 
plugins.  Compiz command might be a little different for gnome.  
Gnome will also complain if you run these commands without 
installing /usr/ports/x11-themes/ubuntulooks first, once you install this it 
will stop complainning.  I will try to find out why I can't use ccsm and if I 
find out I will let you know.



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


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Dan Busarow


On Feb 5, 2008, at 7:17 PM, Lachlan Michael wrote:




On Feb 5, 2008, at 4:17 AM, Lachlan Michael wrote:


I have a question about debugging a memory error on FreeBSD.

When a user sends an e-mail with an attachment above about 500kB to
a very
small mailing list (4 members), Mailman on my server aborts  
processing

with the error
 MemoryError :  out of memory


[snip]


# limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize   524288 kB
  stacksize   65536 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB


Try running limits as the mailman user, not root.  All the mailman
programs run as your mailman user.


Ok, but mailman is a nologin user. Should I change this temporarily  
to check?


# su mailman
This account is currently not available.

I'm not sure about the syntax but limits -U mailman doesn't seem to  
make

the user mailman, but just use the class default.

# limits -U mailman
Resource limits for class default:
  cputime  infinity secs
  filesize infinity kB
  datasize infinity kB
  stacksizeinfinity kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses infinity
  openfilesinfinity
  sbsize   infinity bytes
  vmemoryuse   infinity kB



Yes, change it so that you can su to mailman and then run limits  
again.  You need to see what happens in the context of user mailman  
since that is what all the mailman programs will get.


Dan

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


Re: Memory Error using Mailman on FreeBSD. How to debug?

2008-02-05 Thread Lachlan Michael
 On Feb 5, 2008, at 7:17 PM, Lachlan Michael wrote:
 On Feb 5, 2008, at 4:17 AM, Lachlan Michael wrote:

 I have a question about debugging a memory error on FreeBSD.

 When a user sends an e-mail with an attachment above about 500kB to
 a very
 small mailing list (4 members), Mailman on my server aborts
 processing
 with the error
  MemoryError :  out of memory

 [snip]

 # limits
 Resource limits (current):
   cputime  infinity secs
   filesize infinity kB
   datasize   524288 kB
   stacksize   65536 kB
   coredumpsize infinity kB
   memoryuseinfinity kB
   memorylocked infinity kB
   maxprocesses 5547
   openfiles   11095
   sbsize   infinity bytes
   vmemoryuse   infinity kB

 Try running limits as the mailman user, not root.  All the mailman
 programs run as your mailman user.

 Ok, but mailman is a nologin user. Should I change this temporarily
 to check?

 # su mailman
 This account is currently not available.

 Yes, change it so that you can su to mailman and then run limits
 again.  You need to see what happens in the context of user mailman
 since that is what all the mailman programs will get.

Ok, with /bin/tcsh as the login shell the results are the same. Also tried
csh and sh just to make sure.

# su mailman
%limits
Resource limits (current):
  cputime  infinity secs
  filesize infinity kB
  datasize   524288 kB
  stacksize   65536 kB
  coredumpsize infinity kB
  memoryuseinfinity kB
  memorylocked infinity kB
  maxprocesses 5547
  openfiles   11095
  sbsize   infinity bytes
  vmemoryuse   infinity kB
%

These limits are pretty standard, right?


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


Re: Libnet in FreeBSD

2008-02-05 Thread Bhuvaneswari Ramkumar
Question:  do I need to set the cflag  libs options in the libnet-config
file for the compiling and linking to happen correctly ?

Bhuvana

On Feb 5, 2008 12:05 PM, Bhuvaneswari Ramkumar [EMAIL PROTECTED] wrote:

 ok after that e-mail last night, I did try a make of the ports collection
 libnet
 after the make, everything looked fine, atleast I didnt notice anything
 missing in the log or config files but I still see the same problem, 
 undefined reference to libnet_init and msgs liks that for every libnet
 call. I used -lnet too, but of no use, even did the changes in make file
 that mel had suggested in the previous post.

 So I dont know what the problem here is or if this is some incompatibility
 between how i have BSD and how I have libnet or probably they are not
 linking together or something like that.

 Otherwise I dont see why the compiler doesnt recognize any libnet function
 calls.

 Here is a question I have, I've worked in TinyOS before and I'm wondering
 if in Libnet we need a separate directory for each application with its own
 custom-written make file, or things can just be in one pool from where they
 are compiled. I do a simple cc -lnet filename.c compile.
 Is there something else I'm missing here ?
 Thanks
 Bhuvana



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


Re: Looking for a Text on ZFS

2008-02-05 Thread Drew Tomlinson

Wojciech Puchar wrote:


[snip]


mirror. that's all.


Which doesn't really address the issue of what happens if a drive 
that is

part of a big ZFS is removed (because it's broken).


it will say read error on all files and directories  that happened 
to be placed on that disk!


Just to be clear, ZFS pools contain one or more VDEVs (Virtual 
devices).  Each VDEV consists of one or more physical partitions and can 
be configured as a mirror, stripe, stripe with one parity, or stripe 
with 2 parity.  ZFS does striping with no parity across all VDEVs in the 
pool.  Thus with ZFS, if you lose a VDEV, you lose the whole pool.


Hopefully that clears things up a bit.

Cheers,

Drew

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


Re: Help with router problem

2008-02-05 Thread Derek Ragona

At 07:24 PM 2/5/2008, Eugen wrote:

Are there really no experienced FreeBSD users who can help me
with my behind a router problem ? Should I post it again ?
Should I just give up using BSD altogether due to an unusable
system? I would not like this idea, I was really starting to like it.

Respectfully,
Eugen


Eugen,

I saw your post but was too busy to respond then.  If you give me the 
details, and what you have in your /etc/rc.conf for the ethernet I will try 
to help.


-Derek


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: Compiz-fusion article

2008-02-05 Thread Manolis Kiagias



E. J. Cerejo wrote:

On Tuesday 05 February 2008 01:39:07 Manolis Kiagias wrote:
  

E. J. Cerejo wrote:


Manolis Kiagias wrote:
  

Alphons Fonz van Werven wrote:


E. J. Cerejo wrote:
  

Is there a tutorial on how to configure compiz fusion on FBSD 6.3 /
gnome or fluxbox.


1. Use the port/package.
2. Every now and then I see messages fly by in which you can find
   exactly which flags/options to use.
3. You are right, there should be documentation...

Alphons

P.S. I found this stashed in a folder meant for future reference:
  

Assuming you have already setup you X server for composite, to run
compiz-fusion enter these commands:

(as normal user)

compiz --replace --sm-disable --ignore-dekstop-hints ccp 
emerald --replace 


Credits to Manolis Kiagias :-)
  

Never thought this was such a sought-after feature :)

Anyway, here is a quick article I just wrote:

http://store.itsyourftp.com/~sonic2000gr/freebsd/compiz-fusion/article.h
tml


Your feedback is welcome.

Manolis


I have it working now but there are two issues that I seem not to be
able to solve.  First compiz will start when x starts but emerald
won't start and I get no window borders and can't move them.  Solution
is to open the terminal window and run emerald --replace .  Second
issue is with compiz, I open ccsm to configure my 3d effects but they
won't get saved, it will let me select them or unselect them but once
I close ccsm and run it again every change is gone and the defaults
are back.  Any Ideas?  Do the users have to be members of a special
group?
  

I run compiz by hand, I don't need it on all the time. I will
investigate these and get back to you.

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



I found what the problem was under KDE, in your tutorial you tell us to run 
these commands as a regular user:


compiz --replace --sm-disable --ignore-desktop-hints ccp
emerald --replace

I found that both of these commands need a  sign at the end of each of these 
commands, which will look like this:


compiz --replace --sm-disable --ignore-desktop-hints ccp 
emerald --replace 

once you run them like this, KDE will stop acting weird and starts functioning 
correctly.  Now when you restart kde it no longer starts compiz automatically 
and you will get all the window borders and you are able to save the settings 
using ccsm.


Which is not the case when running gnome.  Once you run these commands, compiz 
will work normally just like in KDE but it won't let you save any settings, 
another words if you run ccsm it won't let you select or unselect any 
plugins.  Compiz command might be a little different for gnome.  
Gnome will also complain if you run these commands without 
installing /usr/ports/x11-themes/ubuntulooks first, once you install this it 
will stop complainning.  I will try to find out why I can't use ccsm and if I 
find out I will let you know.
  
I don't know about KDE, but I am using compiz-fusion (manually) in gnome 
without having installed ubuntulooks.
Thanks for your investigation and feedback. If you come up with a 
complete set of settings, I will update the article.



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


Re: Help with router problem

2008-02-05 Thread Kevin Kinsey

Eugen wrote:

Are there really no experienced FreeBSD users who can help me
with my behind a router problem ? Should I post it again ?
Should I just give up using BSD altogether due to an unusable
system? I would not like this idea, I was really starting to like it.

Respectfully,
Eugen


Hello.  I'm sorry to hear you're having trouble.

Have you attempted static assignment to another address, such as
192.168.1.38 (something not 33, but within your pool)?

# ifconfig dc0 down
# ifconfig dc0 inet 192.168.1.38 netmask 255.255.255.0
# ping 192.168.1.1

What does `arp -a` say?  Does ping work if you call it with
`ping -I dc0 192.168.1.1`?  What does `traceroute 192.168.1.1`
give you?  And, I've only seen output for the one interface
(maybe I overlooked something in your posts), what is the
output of ifconfig -a --- is there some other interface
that could be causing route problems and therefore network
unreachable from ping(8)?

It does seem rather odd, so I wonder if there's something we
are all overlooking.  Since no one but you is there, we can't
tell you what it is, but only guess.  Maybe something 
above will give us all a clue :-)


Also respectfully, ;-)

Kevin Kinsey
--
Conscience doth make cowards of us all.
-- Shakespeare
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OT: www search engines

2008-02-05 Thread Reko Turja
what search engines, other than Google, do you find useful for 
general use?


I have always, and continue to, used Altavista.  I like the ability 
to quote search terms and narrow the search to only what I'm looking 
for.  I use Google when I need to do search term site:utdallas.edu 
for something, but other than that, I use Altavista.  Don't know 
what tracking they do, though.


What Paul says... And I haven't yet seen any Ads by Altavista stuff 
in any of the sites I've visited. For what it's worth Altavista gives 
quite similar results as Google in general searches - and much more 
applicable results when using +, - and foobar search terms.


-Reko 


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


Re: Preserving file permissions with dump and restore

2008-02-05 Thread Francois-Xavier Charpentier de Beauville



Wojciech Puchar wrote:

Hi,

I have a box with three hard drives:
/dev/da0 - dedicated to the OS
/dev/ad4s1e - data drive - mounted as /store
/dev/ad5s1e - hold a backup of /dev/ad4 - mounted as /backup

I used 'dump' to backup everything from /store to /backup with the 
following command:

dump -0aun -f /backup/fullbackup /store

As expected, the result is a dump file called 'fullbackup'

Then I tested a restore, by restoring the fullbackup file from 
/backup to /store.  I did the following:

1) made /store pristine: newfs -U /dev/ad4s1e
2) mounted /dev/ad4s1e on /store
3) cd into /store
4) ran the command: restore -r -uv -f /backup/fullbackup
5) remove 'restoresymtable' from /store

Thanks in advance for your help


you did restore as root? (i think so but just for sure)

it is something wrong with restore then, i used it many times and it 
restore everything.



anyway - rsync is good tool to make exact copy of directory tree

Actually yes, I did restore as root.  All ownership info and permissions 
are reset during restore, and none of the original permissions are 
back.  This kind of weird since the OS drive hasn't changed.  So, there 
are the same users setup on the system.  Any thoughts?

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


Upgrading the Installed package

2008-02-05 Thread navneet Upadhyay
Hi,
  I have two binary packages of an application of version 1.1 and 1.2.
*The 1.1 is already installed, how can i upgrade it to 1.2* ?

Do i have to uninstall 1.1 and then install 1.2 ?   I would prefer a way by
which i can upgrade an wxisting package without uninstalling.

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


Host interface resetting - Asus nx 1101 (stge)

2008-02-05 Thread Rudi Kramer - MWEB
Hello,

I recently purchased a Asus NX 1101 nic for a intel pc I have at home.
The motherboard is a intel gigabyte GA-8I945GMF and I'm running FreeBSD
6.3 RELEASE.

The card is correctly using the stge driver but whenever I try and bring
the interface up I get the following message  host interface error
resetting repeated over and over again and I have to reboot the server.

I tested the card on an AMD gigabyte board (K8M800-8237), also running
FreeBSD 6.3 and the card runs perfectly.

I checked dmesg and also /var/logl/message and I couldn't find anything
useful, any ideas?

Rudi

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