force use proxy server

2005-07-20 Thread vladone
Hi!
How i can redirect web traffic from my lan, throught my proxy server?

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


Re: /boot on a separate partition

2005-07-20 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alex Zbyslaw wrote:
 Being pragmatic, the problems you are facing are because you have such a
 tiny disk in an ancient PC.  This puts you in a very small minority of
 FreeBSD users.

True.

 A separate /boot is new to 5.X and I doubt it was done
 to help you out of this situation.   Developer effort is limited and
 since FreeBSD has never used a separate /boot, it's unlikely to get
 anyone's attention to do it that way unless there is a very good reason,
 and tiny disks are unlikely to be it.

I admit, I didn't know the /boot was new in FreeBSD, but then, I am a
BSD virgin.  As for reasons to support a /boot partition, how about BIOS
bugs/quirks?  There's no shortage of those.  Of course, an open source
BIOS would be a better solution to that particular problem.

Also, please don't misinterpret my cry for help as a demand for a new
feature; I may be new to FreeBSD but I'm reasonably seasoned in the ways
of the free software world.

 The oldest PC I have that runs FreeBSD (also a Pentium) has a 4 and an
 8Gb disk, and no problem booting off the ends of either.  It's who knows
 how old, and even charities don't want it because they can't think of
 anything useful that anyone could do with it, even if it was the bees
 knees when I got it.

Pffft.  I've got a 486 with a 1/4GB hard disk around here _somewhere_.

 Depending on where you are located, you might be able to find something
 very cheap (but still better than yours) in classifieds, computer fairs,
 2nd hand shops or the local tip.

This particular machine was actually intercepted before it reached the
dump.  Still, it's powerful enough to make a decent home router.

 
 Best,
 
 --Alex
 

Thanks to all for your input, but I've actually managed to solve the
problem in a different way.  Turns out the BIOS was disabling LBA
because the logical cylinder count was 1024, so mucking about with the
geometry fixed it.  Still, I'll keep these comments in mind if I ever
decide to install FreeBSD on the aforementioned 486 ;-)

Ross

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3fei9bR4xmappRARAuc/AKCsWkDqBjuxfnL9o1vPxbEjLe42PACeMElv
hvmsCK7XVZ528YHhDe+E7mU=
=IQtf
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: force use proxy server

2005-07-20 Thread victor
you might want to try setup a transparent proxy by using squid. 
(www.squid-cache.org)


I have found this article using goole, you might find it useful.

http://tomclegg.net/squid-tproxy


Tor.

vladone wrote:


Hi!
How i can redirect web traffic from my lan, throught my proxy server?

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


 




--
!-
  Victor
  Development Engineer
  Outblaze Ltd
--

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


Re: RAID Level 55

2005-07-20 Thread Nikolas Britton
On 7/19/05, jason henson [EMAIL PROTECTED] wrote:
 Nikolas Britton wrote:
  On 7/16/05, Chuck Swiger [EMAIL PROTECTED] wrote:
 
 Nikolas Britton wrote:
 
 I was reading on wikipedia about RAIDs trying to pass the time and I
 was thinking why not have RAID 5+5 or 5+5+5 levels, sure you waste
 2/3th's of your space but wouldn't this be a killer setup for a
 directory server where fast reads are of the utmost importance?
 
 Actually, no.  RAID-5 prioritizes cost and reliability at the expense of
 performance.  RAID-5 does adequate for read-mostly volumes with big files, 
 and
 does worst with lots of writes to small files.
 
 
  Ok then, a public FTP server... It doesn't matter, when your have a
  405,000 RPM drive (27 drives * 15k rpm) you can do just about
  anything, but it would excel for data reads and especially random data
  reads.
 
 
 RAID-5,0 or -1,0 would be a much better choice.
 
 
 Would you add up the transfer rates for each drive to get the total
 transfer rate of the array?, if true you could easily saturate a 10
 gigabit ethernet connection with a 555 array of IDE or SATA drives.
 
 Nope.  Most machines are limited by their PCI bus and chipset to less than
 1Gb/s of backplace bandwidth, although the higher-end boxes with multiple 
 PCI
 busses or PCIe will do better.
 
 
  Yes I realize that the PCI bus is limited to a maximum of 260MB/s
  (32-bit @ 66MHz) but PCI-X @ 133MHz is 1060MB/s  Anyways...
 
  I was just thinking out loud if there would be a useful purpose for
  this type of RAID array, I was bored because I had to wait for
  ethereal to build and then I had to wait till 3am, to do something,
  before I could go to sleep for the night.
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 If I am not mistaken the nforce products as well as sis and maybe uli
 have direct connect techonlogies for some peripheral to bypass the pci
 in there chipsets.  All have ide connections (I think) that directly
 hook up to the chipset like this to increase performance.
 
 In the nforce products the ata controllers still appear as pci devices,
 but only to make it easy on the drivers (I am guessing here).  I could
 be wrong on some of these products, but I do think most new chipsets
 keep hard disks off the pci bus.
 
 A stripped raid array will be faster than raid 5.  You only do raid 5 if
 you want to have reliability with many disks and waisting have the disks
 with mirroring.
 
 Have you seen the IRam from gigabyte?  It is not out yet, but you should
 google for it.  Something like sustained 130-133Mb/s on SATA 150.
 

http://www.liewcf.com/blog/archives/2005/06/gigabyte-iram-boot-up-windows-xp-in-seconds/

Yea that's cool, It uses standard DDR RAM. The only question I have
about it is how it save state if you reboot etc. I think it said the
max was 4GB and I'm not sure how you could to put it to good use
as you could just add that 4GB of DRAM to the main system ram and then
turn it into a ramdrive device the only thing it's got going for
it is that it's 'like' SRAM.
-

Anyways why not build the RAID inside the hard drive? You could split
the 3 platters inside the drive to act as individual drives the
only thing though.. is that the drive head can only be in one place at
a time,.. but maybe with TCQ/NCQ it would work maybe add
discrete platter heads / voice coils? humm... there was another
idea that popped into my head but I forgot what it was.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /boot on a separate partition

2005-07-20 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Glenn Dawson wrote:
 At 07:34 PM 7/18/2005, Ross Kendall Axe wrote:
 
  Bit of pain really, I thought the whole idea
  of keeping the bootloader files in /boot was so that /boot could be a
  separate partition.
  
 Not sure about that...I always figured it was to keep / from getting too
 cluttered.

I think this is what I must have been thinking of:
http://www.pathname.com/fhs/pub/fhs-2.3.html#FTN.AEN507
Kind of Linux/x86 specific, and not really what I said.  Oh well.

Ross

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3fom9bR4xmappRARAu4sAKDFzVNkEE6KK6i0KFFRnhRS89jiPQCcCEFT
qvy+hQsO3Ym3lOEW8DwEti8=
=urXW
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN solution

2005-07-20 Thread Nikolas Britton
On 7/19/05, chris [EMAIL PROTECTED] wrote:
 Hello all,
 Im looking around for a VPN solution that utilizes IPSEC and
 ssl. What im really lookng for here on the list is suggestions. I need
 to use IPSEC and ssl due to what is being ran at work (running linux).
 I dont need anything fancy, just somthing that will connect using the
 above security measures. Im currently running 4.x. Any help would be
 appreciated.
 
 Thanks
 
 --
 Christopher Johnson - [EMAIL PROTECTED]
 
 
 
 


What's wrong with just a 3DES, CAST128, or Blowfish IPSec VPN with ESP
for phase 2?... whats special about SSH on SSL on IPSec?, I'm clueless
about all this kinda stuff?

I think what your looking for is OpenVPN
http://openvpn.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN solution

2005-07-20 Thread Nikolas Britton
On 7/20/05, Nikolas Britton [EMAIL PROTECTED] wrote:
 On 7/19/05, chris [EMAIL PROTECTED] wrote:
  Hello all,
  Im looking around for a VPN solution that utilizes IPSEC and
  ssl. What im really lookng for here on the list is suggestions. I need
  to use IPSEC and ssl due to what is being ran at work (running linux).
  I dont need anything fancy, just somthing that will connect using the
  above security measures. Im currently running 4.x. Any help would be
  appreciated.
 
  Thanks
 
  --
  Christopher Johnson - [EMAIL PROTECTED]
 
 
 
 
 
 
 What's wrong with just a 3DES, CAST128, or Blowfish IPSec VPN with ESP
 for phase 2?... whats special about SSH on SSL on IPSec?, I'm clueless
 about all this kinda stuff?
 
 I think what your looking for is OpenVPN
 http://openvpn.net/
 

Umm and Is a P166 to slow to run a blowfish IPsec site to site VPN? I
have that setup like that right now, here, and I'm getting at most
20KB/s to the other end of the VPN. Normaly I can upload 40 ~ 45KB/s
to the internet at this location and the other end has a DS0. I think
it's the P166 that's the problem but I just want a 2nd opinion before
I dig in and spend time building a new firewall box any takers?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firewire setup/test

2005-07-20 Thread Erik Nørgaard

Hi,

I want to buy a miniDV camera, transfer the DV stream using firewire. 
Now, I'm really newbie on firewire devices and DV, I have none so far, 
and I'd really like to test and see it work before throwing out $1000.


I know, this is probably one of those questions that I would answer by 
go try, see if it works but I'd rather not get embarrased in the shop 
trying to get silly permissions or other things right :-)


So, how make sure that I can access the firewire device as ordinary user 
 and test with gvdrecv, kino or other programs? Do I need to configure 
the device as root before I switch to ordinary user privileges? how?


Thanks! Erik

Here's my setup:

Kernel config file:
# FireWire support
device  firewire# FireWire bus code
device  fwe # Ethernet over FireWire (non-standard!)
#device  sbp# SCSI over FireWire (Requires scbus and da)
device  fwip# IP over FireWire (rfc2734 and rfc3146)

# dmesg
fwohci0: Ricoh R5C552 mem 0xe580-0xe58007ff irq 11 at device 10.2
on pci0
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:18:00:03:09:43:39
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: IEEE1394(FireWire) bus on fwohci0
fwe0: Ethernet over FireWire on firewire0
if_fwe0: Fake Ethernet address: 02:e0:18:09:43:39
fwe0: Ethernet address: 02:e0:18:09:43:39
fwip0: IP over FireWire on firewire0
fwip0: Firewire address: 00:e0:18:00:03:09:43:39 @ 0xfffe, S400,
maxrec 2048
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop = 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)

# sysctl -a|grep firewire
 firewire2723K   -   29  16,32,64,512,1024,2048,4096
debug.firewire_debug: 0
hw.firewire.try_bmr: 1
hw.firewire.hold_count: 3
hw.firewire.fwmem.eui64_hi: 0
hw.firewire.fwmem.eui64_lo: 0
hw.firewire.fwmem.speed: 2
hw.firewire.fwe.stream_ch: 1
hw.firewire.fwe.tx_speed: 2
hw.firewire.fwe.rx_queue_len: 128
hw.firewire.fwip.rx_queue_len: 128
dev.firewire.0.%desc: IEEE1394(FireWire) bus
dev.firewire.0.%driver: firewire
dev.firewire.0.%parent: fwohci0
dev.fwe.0.%parent: firewire0
dev.fwip.0.%parent: firewire0

# sysctl -a | grep fwoh
dev.fwohci.0.%desc: Ricoh R5C552
dev.fwohci.0.%driver: fwohci
dev.fwohci.0.%location: slot=10 function=2 handle=\_SB_.PCI0.IE94
dev.fwohci.0.%pnpinfo: vendor=0x1180 device=0x0552 subvendor=0x1043
subdevice=0x1687 class=0x0c0010
dev.fwohci.0.%parent: pci0
dev.firewire.0.%parent: fwohci0

# ls -l /dev
lrwxr-xr-x  1 root  wheel5  1 Jan  1970 fw0 - fw0.0
crw-rw  1 root  operator   15,  32 20 Jul 08:14 fw0.0
crw-rw  1 root  operator   15,  96 20 Jul 08:14 fw0.1
crw-rw  1 root  operator   15,  97 20 Jul 08:14 fw0.2
crw-rw  1 root  operator   15,  98 20 Jul 08:14 fw0.3
lrwxr-xr-x  1 root  wheel8  1 Jan  1970 fwmem0 -
fwmem0.0
crw-rw  1 root  operator   15,  33 20 Jul 08:14 fwmem0.0

There's no firewire0 device, but this may be because I have nothing 
attached.


--
Ph: +34.666334818   web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


host is not on local network??

2005-07-20 Thread Odhiambo Washington
Hello FreeBSD users,

I am sure I can learn from the expertise available on this list!
I know it has some of the best brains in networking.

I have several machines on the same physical LAN, but all those
machines have been sending me this output in their daily security
run output for the past few days:


hostname-changed.wananchi.com kernel log messages:
 arplookup 62.8.72.2 failed: host is not on local network
 arplookup 62.8.72.2 failed: host is not on local network

I have asked our network engineers what they screwed up that led to
these messages coming on our servers every night but they are not
giving me answers, so I am looking for something to use to hit
them where it matters ;)

Can someone explain this to me?


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+==+
|\  _,,,---,,_ | Odhiambo Washington[EMAIL PROTECTED]
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+
Character Density, n.:
The number of very weird people in the office.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rcNG issue

2005-07-20 Thread Svein Halvor Halvorsen

* Kövesdán Gábor [2005-07-18 19:58 +0200]
  I have a problem with my rcNG scripts. There are three scripts: named.sh,
  apache2.sh and proftpd.sh. Apache and ProFTPd require hostname resolving thus
  named should start firstly. The headers of my scripts are:
:
  And when I enable all the three scripts in rc.conf, the apache hangs because
  it can't resolve the computer's hostname. It's really annoying, I have to
  manually start it after a reboot, or wait for the cronscript that checks
  whether it is running.
  What's wrong?


I think this magic only works in /etc/rc.d. Try renaming your startup 
scripts 100.named.sh, 200.apache.sh, etc. I'm not sure, but FreeBSD used 
to run these scripts in /usr/local/etc/rc.d in alphanumeric order, and I 
presume that this functionality is preserved in 5.x to allow for backwards 
compatibility.


Svein Halvor
___
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 devfs

2005-07-20 Thread Igor Robul

[EMAIL PROTECTED] wrote:


Hello everyone,

I'm a CS student, and this previous semester I took a unix class where our
teacher gave us some code for an assignment, with the goal being to compile and
install it.  The jist of it was the program created a device in /dev called
voice, which would speak whatever was written to it using festival. I
thought this was kinda spiffy, and tried to install it on my system at home,
freebsd 5.3.  The program tries to write to /dev, and because 5.3
uses devfs, /dev is read only, so it obviously fails. I thought that maybe using
mknod would allow me to create a device, but the man page for mknod states that
it can be used to recreate deleted device nodes under a devfs(5) mount point by
invoking it using dummy arguments, but that doesn't really help me here as the
device node never existed in the first place.  
 

You can make device node or fifo not in /dev but in any other directory 
(for example in /tmp) and change path in your file.

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


Journaling vs. Softupdates

2005-07-20 Thread Zev Thompson

Hi all,

This is addressed in the FAQ to some extent, but that answer seems  
incomplete.


Apparently one of the Google Summer of Code projects is to add journaling  
to UFS. When it already has softupdates, why? I've seen benchmarks that  
seem to indicate that softupdates performs as well or better in most  
cases, though I have nothing on hand to substantiate that. I thought the  
only real disadvantages of softupdates were:


- harder to code and implement (though this is already done, so should not  
be an issue)

- sometimes deleting files does not free space right away

Possibility of data loss, I'm guessing, is the same with either.  
Filesystem corruption is similarly very unlikely.


So why the change? Thanks in advance for any answers.

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


Re: ?

2005-07-20 Thread Nikolas Britton
On 7/19/05, Danny Pansters [EMAIL PROTECTED] wrote:
 On Tuesday 19 July 2005 23:47, Kelly Owen Saltsman wrote:
  what is the frequency, kenneth?
 
 benzedrine

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


Re: host is not on local network??

2005-07-20 Thread Subhro

On 7/20/2005 14:33, Odhiambo Washington wrote:


Hello FreeBSD users,

I am sure I can learn from the expertise available on this list!
I know it has some of the best brains in networking.

I have several machines on the same physical LAN, but all those
machines have been sending me this output in their daily security
run output for the past few days:


hostname-changed.wananchi.com kernel log messages:
 


arplookup 62.8.72.2 failed: host is not on local network
arplookup 62.8.72.2 failed: host is not on local network
   



I have asked our network engineers what they screwed up that led to
these messages coming on our servers every night but they are not
giving me answers, so I am looking for something to use to hit
them where it matters ;)

Can someone explain this to me?

 

Sure, however we need some more information. What does the Subnet inside 
your LAN look like?


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

Re: /boot on a separate partition

2005-07-20 Thread Alex Zbyslaw

Ross Kendall Axe wrote:


I admit, I didn't know the /boot was new in FreeBSD, but then, I am a
BSD virgin.  As for reasons to support a /boot partition, how about BIOS
bugs/quirks?  There's no shortage of those. 

Well, until someone proves otherwise, I don't believe in them anymore.  
I believe they *used* to exist, but that comments about cannot boot 
past cyl 1024 only exist in documentation because this *used* to be 
true and no-one really knows whether it can safely be deleted, so it's 
left in.  Sure, if you get an old enough PC it could still be true, but 
as you've proved (congrats, by the way, enjoy FreeBSD) the oldest PC you 
considered it worth installing FreeBSD on did not have this problem.


Your 486 might have this trouble, then then it would probably have 
trouble addressing a disk that big at all.  (Btw, there are minimum 
memory requirements for 5.X, 32Mb?, if you ever do decide to try FreeBSD 
on that 486).



The oldest PC I have that runs FreeBSD (also a Pentium) has a 4 and an
8Gb disk, and no problem booting off the ends of either. 
   



Pffft.  I've got a 486 with a 1/4GB hard disk around here _somewhere_.
 

I didn't mean that as a pissing contest :-)  I just meant that there 
must be bucketloads of PCs out there similar to yours, unused, unwanted 
and unloved, that could do what you thought yours couldn't.



Depending on where you are located, you might be able to find something
very cheap (but still better than yours) in classifieds, computer fairs,
2nd hand shops or the local tip.
   



This particular machine was actually intercepted before it reached the
dump.  Still, it's powerful enough to make a decent home router.
 

I've never used it myself, but NetBSD gets mentioned as a suitable OS 
for a router.  I stick with FreeBSD just for compatibility across all my 
machines, but if you're interested in trying stuff out you might want to 
see what it offers.


--Alex

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


Re: storing make options / interactive configuration

2005-07-20 Thread Alex Zbyslaw

Rob Paxon wrote:


3.) Where do you guys prefer to store your make options? I've read
using 'pkgtools.conf', but assume this doesn't effect 'make install',
only portupgrade et al.
 

If you use portupgrade, you use portupgrade and don't use make install.  
(Or rather, you can use make install if know you aren't setting any 
options).


--Alex

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


Re: Journaling vs. Softupdates

2005-07-20 Thread Alex Zbyslaw

Zev Thompson wrote:

Apparently one of the Google Summer of Code projects is to add 
journaling  to UFS. When it already has softupdates, why? I've seen 
benchmarks that  seem to indicate that softupdates performs as well or 
better in most  cases, though I have nothing on hand to substantiate 
that. I thought the  only real disadvantages of softupdates were:


- harder to code and implement (though this is already done, so should 
not  be an issue)

- sometimes deleting files does not free space right away

Possibility of data loss, I'm guessing, is the same with either.  
Filesystem corruption is similarly very unlikely.


So why the change? Thanks in advance for any answers.


Large filesystems without journaling take too long to fsck.

There's plenty of messages about this out there, otherwise I wouldn't 
have know the answer :-)


--Alex

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


Network stalls

2005-07-20 Thread Marek Sulovsky
Hello all,

I have (after some time) returned to freebsd and installed FreeBSD
5.4 release onto my notebook (Prestigio Nobile 157). It looked like
everuthing but wireless card worked fine.

But when I started to update the system and ports - another problem
appeared:

when I am downloading a file (I noticed the problem only during ftp
downloads - but I have had almost no other traffic) sometimes (about
every 2-5 MBs on average) the transfer stops (command line ftp says
stalled, fetch shows nothing and does nothing).

On windows and linux everything works fine so the problem should not be
in hardware.

Has anybody experienced a similiar problem? Do you have any suggestions
how to fix this?

I have tried to update the system throught freebsd-update binary updates
but it did not help.

Thanks,


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


Re: Network stalls

2005-07-20 Thread Marek Sulovsky
Sorry, i forgot, the dmesg is here.

Marek Sulovsky
Jul 19 16:25:00 prestigio kernel: Copyright (c) 1992-2005 The FreeBSD Project.
Jul 19 16:25:00 prestigio kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 
1989, 1991, 1992, 1993, 1994
Jul 19 16:25:00 prestigio kernel: The Regents of the University of California. 
All rights reserved.
Jul 19 16:25:00 prestigio kernel: FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 
UTC 2005
Jul 19 16:25:00 prestigio kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Jul 19 16:25:00 prestigio kernel: Timecounter i8254 frequency 1193182 Hz 
quality 0
Jul 19 16:25:00 prestigio kernel: CPU: Intel(R) Pentium(R) M processor 1.70GHz 
(1694.51-MHz 686-class CPU)
Jul 19 16:25:00 prestigio kernel: Origin = GenuineIntel  Id = 0x6d6  Stepping 
= 6
Jul 19 16:25:00 prestigio kernel: 
Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
Jul 19 16:25:00 prestigio kernel: real memory  = 536281088 (511 MB)
Jul 19 16:25:00 prestigio kernel: avail memory = 515117056 (491 MB)
Jul 19 16:25:00 prestigio kernel: npx0: math processor on motherboard
Jul 19 16:25:00 prestigio kernel: npx0: INT 16 interface
Jul 19 16:25:00 prestigio kernel: acpi0: PTLTD Wistron on motherboard
Jul 19 16:25:00 prestigio kernel: acpi0: Power Button (fixed)
Jul 19 16:25:00 prestigio kernel: acpi_ec0: Embedded Controller: GPE 0x1c 
port 0x66,0x62 on acpi0
Jul 19 16:25:00 prestigio kernel: Timecounter ACPI-fast frequency 3579545 Hz 
quality 1000
Jul 19 16:25:00 prestigio kernel: acpi_timer0: 24-bit timer at 3.579545MHz 
port 0x1008-0x100b on acpi0
Jul 19 16:25:00 prestigio kernel: cpu0: ACPI CPU (3 Cx states) on acpi0
Jul 19 16:25:00 prestigio kernel: acpi_throttle0: ACPI CPU Throttling on cpu0
Jul 19 16:25:00 prestigio kernel: acpi_acad0: AC Adapter on acpi0
Jul 19 16:25:00 prestigio kernel: acpi_cmbat0: Control Method Battery on acpi0
Jul 19 16:25:00 prestigio kernel: acpi_lid0: Control Method Lid Switch on 
acpi0
Jul 19 16:25:00 prestigio kernel: acpi_button0: Sleep Button on acpi0
Jul 19 16:25:00 prestigio kernel: pcib0: ACPI Host-PCI bridge port 
0xcf8-0xcff on acpi0
Jul 19 16:25:00 prestigio kernel: ACPI link \_SB_.PCI0.LPCB.LNKD has invalid 
initial irq 11, ignoring
Jul 19 16:25:00 prestigio kernel: pci0: ACPI PCI bus on pcib0
Jul 19 16:25:00 prestigio kernel: agp0: Intel 82855 host to AGP bridge mem 
0xe000-0xefff at device 0.0 on pci0
Jul 19 16:25:00 prestigio kernel: pcib1: ACPI PCI-PCI bridge at device 1.0 on 
pci0
Jul 19 16:25:00 prestigio kernel: pci1: ACPI PCI bus on pcib1
Jul 19 16:25:00 prestigio kernel: pci1: display, VGA at device 0.0 (no driver 
attached)
Jul 19 16:25:00 prestigio kernel: uhci0: Intel 82801DB (ICH4) USB controller 
USB-A port 0x1800-0x181f irq 11 at device 29.0 on pci0
Jul 19 16:25:00 prestigio kernel: usb0: Intel 82801DB (ICH4) USB controller 
USB-A on uhci0
Jul 19 16:25:00 prestigio kernel: usb0: USB revision 1.0
Jul 19 16:25:00 prestigio kernel: uhub0: Intel UHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul 19 16:25:00 prestigio kernel: uhub0: 2 ports with 2 removable, self powered
Jul 19 16:25:00 prestigio kernel: uhci1: Intel 82801DB (ICH4) USB controller 
USB-B port 0x1820-0x183f irq 10 at device 29.1 on pci0
Jul 19 16:25:00 prestigio kernel: usb1: Intel 82801DB (ICH4) USB controller 
USB-B on uhci1
Jul 19 16:25:00 prestigio kernel: usb1: USB revision 1.0
Jul 19 16:25:00 prestigio kernel: uhub1: Intel UHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul 19 16:25:00 prestigio kernel: uhub1: 2 ports with 2 removable, self powered
Jul 19 16:25:00 prestigio kernel: uhci2: Intel 82801DB (ICH4) USB controller 
USB-C port 0x1840-0x185f irq 11 at device 29.2 on pci0
Jul 19 16:25:00 prestigio kernel: usb2: Intel 82801DB (ICH4) USB controller 
USB-C on uhci2
Jul 19 16:25:00 prestigio kernel: usb2: USB revision 1.0
Jul 19 16:25:00 prestigio kernel: uhub2: Intel UHCI root hub, class 9/0, rev 
1.00/1.00, addr 1
Jul 19 16:25:00 prestigio kernel: uhub2: 2 ports with 2 removable, self powered
Jul 19 16:25:00 prestigio kernel: pci0: serial bus, USB at device 29.7 (no 
driver attached)
Jul 19 16:25:00 prestigio kernel: pcib2: ACPI PCI-PCI bridge at device 30.0 
on pci0
Jul 19 16:25:00 prestigio kernel: pci2: ACPI PCI bus on pcib2
Jul 19 16:25:00 prestigio kernel: bfe0: Broadcom BCM4401 Fast Ethernet mem 
0xd020-0xd0201fff irq 10 at device 5.0 on pci2
Jul 19 16:25:00 prestigio kernel: miibus0: MII bus on bfe0
Jul 19 16:25:00 prestigio kernel: bmtphy0: BCM4401 10/100baseTX PHY on miibus0
Jul 19 16:25:00 prestigio kernel: bmtphy0:  10baseT, 10baseT-FDX, 100baseTX, 
100baseTX-FDX, auto
Jul 19 16:25:00 prestigio kernel: bfe0: Ethernet address: 00:0a:e4:5e:d5:73
Jul 19 16:25:00 prestigio kernel: pci2: network at device 6.0 (no driver 
attached)
Jul 19 16:25:00 prestigio kernel: cbb0: RF5C476 PCI-CardBus Bridge at device 
9.0 on pci2
Jul 19 16:25:00 prestigio kernel: cardbus0: CardBus bus on cbb0
Jul 19 16:25:00 

Re: force use proxy server

2005-07-20 Thread Bart Silverstrim


On Jul 20, 2005, at 2:52 AM, vladone wrote:


Hi!
How i can redirect web traffic from my lan, throught my proxy server?


We set up Squid/SquidGuard, set the machine to forward traffic and 
created a firewall rule to forward port 80 traffic to the port Squid 
was listening to, then told the DHCP server to hand out the IP of the 
Squid server as the gateway address for client machines to use.


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


tcp proxy/pppoa2/nat

2005-07-20 Thread Bob Parkinson

What is the best way to proxy tcp on a freebsd box running ppp+nat.

I want to run a game at work, however those pesk firewalls and security 
policies get in the way.


So I want:

1) ssh from my work PC with game to my freebsd gateway machine at home.

2) proxy on freebsd gateway to game server

3) and back to my work PC.

My freebsd box is running pppoa2 with nat enabled, and a short list of 
incoming connections + nat for them. All outgoing is allowed.


I'm may be going google blind cause I can't see how to do this easily 
(easily means that I don't write my own perl tcpproxy even though it 
ought to be v. simple)


What is the FreeBSD way to achieve this?

Tkx.

Frustrated Game Player





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


Re: storing make options / interactive configuration

2005-07-20 Thread Christopher Illies
On Tue, Jul 19, 2005 at 10:42:19PM -0400, Rob Paxon wrote:

 3.) Where do you guys prefer to store your make options? I've read
 using 'pkgtools.conf', but assume this doesn't effect 'make install',
 only portupgrade et al.

I use something like the following in my /etc/make.conf:

##
#port specific options
##
.if ${.CURDIR:M*/www/mplayer-plugin}
WITH_MOZILLA=firefox
.endif

This way it works well both with 'make install' and portupgrade/
portmanager.  I took the idea from the portmanager man page.

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


df size mismatch

2005-07-20 Thread a . shterenlikht
why does df show that used+available  size?
in my case there is 20M missing for smaller partitions and
6GB missing for the larger one. How much can I really use?

anton

pw29# df -m
Filesystem  1M-blocks Used Avail Capacity  Mounted on
/dev/ad0s1a   247  1299857%/
devfs   00 0   100%/dev
/dev/ad0s1e   2470   227 0%/tmp
/dev/ad0s1f 27172 1453 23544 6%/usr
/dev/ad0s1d   2475   222 3%/var
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hello,

When I run the command ps -awux from a user's bash shell(not root), it's 
listing the processes under the particular user only. Can anyone tell me why?

-- 
With Regards,

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


Re: Delete files in directory...

2005-07-20 Thread Ivailo Tanusheff
Giorgos Keramidas [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
07/19/2005 05:34 PM

To
Jonathan Glaschke [EMAIL PROTECTED]
cc
freebsd-questions@freebsd.org
Subject
Re: Delete files in directory...






On 2005-07-19 16:27, Jonathan Glaschke [EMAIL PROTECTED] 
wrote:
 On Tue, Jul 19, 2005 at 12:50:01PM +0300, Casper wrote:
  Sorry, simple, stupid q. How to make that what come in directory
  /usr/files/ for example are erased? Or only put in cron after while
  do rm /usr/files/*?

 Yes, using cront to do that is possible and i think there is no reason 
against
 cron.

 you need rm -rf /usr/files/* if there are directories too in 
/usr/files..

This doesn't remove .* subdirs.  A more complete alternative that
doesn't move /usr/files under the feet of programs that may have it
open as their current working directory is probably:

 rm -fr /usr/files/* /usr/files/.[^.]*

Be very careful with the -r option of rm(1) though.  VERY careful.

Just my $0.02,
- Giorgos


Why don't you use:
find /usr/files/ -delete
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Gimp 2 does not come with help?

2005-07-20 Thread JeuMeu
Hi, 
I've just downloaded GIMP 2.2.8. Still the same problem : no help !
How do I change mode from 700 to 755 as you say in your answer.
Thanks for your kind help.
Joe
PS : Gimp does the same as PhotoShop, and costs far less. Stuff Acrobat(s) and 
all other fools!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Demon license?

2005-07-20 Thread Greg 'groggy' Lehey
On Tuesday, 19 July 2005 at  3:54:06 -0600, Ray Jenson wrote:
 It was not my intention to start a flame war, folks. I'm sorry. I didn't
 realize what a hot topic this little daemon is, and I really didn't mean to
 step on anyone's feel-bads or press anyone's hot-buttons.

 I've taken the tongue-in-cheek comments as just that: tongue-in-cheek. I'm
 not a member of this community, but it still seems I've done more to
 further the division than heal it.

No, don't let it worry you.  My comment was very much tongue-in-cheek.
The rest of the discussion is part of the underlying banter that goes
on on the FreeBSD lists.  Don't let it worry you.

On Tuesday, 19 July 2005 at 17:26:03 +0200, Fabian Keil wrote:
 Ted Mittelstaedt wrote:
 
 Greg Lehey said:

 I'm sure we would object if someone drew a 'devil' image and
 associated it with FreeBSD.

[presumed quotation added above]

 Re-read this please.  DEVIL image?  What is that?  Devil in
 this context is a religious term.  So what Greg is really saying
 here is that we would object if someone drew a religious image
 and associated it with FreeBSD

 You are quoting out of context.

Yes.  I think it's right the way I have modified it (additional level
of quotes for the first sentence).  From the attributions, it looks as
if the other person was Ted.

Greg
--
The virus contained in this message was detected, clubbed to death and
distributed throughout the Internet as vaccine by LEMIS anti-virus.
For further details see http://www.lemis.com/grog/lemis-virus.html

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpSlpazxiUyw.pgp
Description: PGP signature


Re: Spam:****, RE: Demon license?

2005-07-20 Thread Bart Silverstrim


On Jul 20, 2005, at 6:15 AM, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bart
Silverstrim
Sent: Tuesday, July 19, 2005 9:45 AM
To: Josh Ockert
Cc: freebsd-questions@freebsd.org; Ted Mittelstaedt
Subject: Re: Demon license?

FreeBSD doesn't need strings attached via corporate entanglements, in
my opinion.



FreeBSD already has entangling corporate strings - Apple is one of
the entanglers for example.  But, interestingly enough, none of those
people are complaining about this issue.


As I understand it Apple is using some of the code from FreeBSD, but 
FreeBSD isn't necessarily *getting* anything as an obligation from 
them.


Ideally, if businesses give to them, that's a bonus.  Businesses have 
always been able to take from FreeBSD as per it's license without 
giving anything.  But when you start doing tit-for-tat 
scratch-my-back-and-I'll-scratch-yours relationships with businesses, 
there's going to be problems.



when it comes to free-source operating systems, it is a
geek's party and the market promoters are the crashers.


Hear hear!


Why is the concept so hard for people to understand that open source 
projects aren't necessarily out to displace Windows or take over the 
world...that they were spawned by a desire to scratch an itch or make 
something that's good and fills a need. There are those who create 
things with some motivation to purely outdo Windows, no doubt...but for 
the most part it's just made to be made, without obligations?


If the product works for you, you're allowed to use it.  Use FreeBSD. 
 Use GPL tools, use the Linux kernel to build a better distro, 
whatever.  But why must people be driven to take these projects to 
start dancing with corporate sponsors and cash??  If you want to do 
that, do it the way Linux has...start a corporation using that 
product as the basis, and approach the businesses you're interested in 
courting, and leave the core project alone.  Businesses aren't 
interested in the core Linux kernel necessarily...they work with a 
corporation that uses it.  The corporation gives a point of contact, a 
point of support, a face to work with.  If it goes out of business it's 
a case of touch noogies...the actual project itself isn't bothered one 
way or the other and is still available on the Internet for free with 
people spending their free time working on it as a hobby.


*sigh*  Not that it really matters in the end...que sera, sera, right?

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


Re: dangerous situation with shutdown process

2005-07-20 Thread Don Lewis
On 14 Jul, Matthias Buelow wrote:
 Kevin Oberman wrote:
 
 How can I fix it on my system?

SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
the sysctl.
 
 You do NOT want to do that. Not only will performance drop brutally
 (example: drop to 1/5th of normal write speed for sequential writes,
 probably worse for random writes) but it will also significantly
 reduce the lifetime of your disk. Modern disks are designed to be
 used with the write-back cache enabled, so don't turn it off.

There's not much performance difference with SCSI if write caching is
disabled.  Typical SCSI drives can handle ~63 outstanding read and write
transactions and can sort them into a somewhat optimal order if tagged
command queuing is in use.

The problem is that disks lie about whether they have actually written
data. If the power goes off before the data is in cache, it's lost.
 
 No, the problem is that FreeBSD doesn't implement request barriers
 and that softupdates is flawed by design and seemingly could not
 make use of them, even if they were available (because, as I
 understand it, it relies on a total ordering of all writes, unlike
 the partial ordering necessary for a journalled fs).

Softupdates only needs to be partial ordering.  It just needs to be
notified when the data hits the platter so that it can send any
dependent writes to the disk.

Wouldn't the use of barriers have the potential to force a lot of
unrelated cached write data to be written much earlier than necessary?
If so, there would seem to be a performance penalty under certain
workloads, though performance would still be better than with
write-caching disabled.

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


Re: dangerous situation with shutdown process

2005-07-20 Thread Don Lewis
On 14 Jul, Kevin Oberman wrote:
 Date: Thu, 14 Jul 2005 20:38:15 +0200
 From: Anatoliy Dmytriyev [EMAIL PROTECTED]
 Sender: [EMAIL PROTECTED]
 
 Hello, everybody!
 
 I have found unusual and dangerous situation with shutdown process:
 I did a copy of 200 GB data on the 870 GB partition (softupdates is 
 enabled) by cp command.
 It took a lot of time when I did umount for this partition exactly after 
 cp, but procedure finished correctly.

When you unmounted the file system, that should have flushed all the
dirty files to the disk.

 In case, if I did “shutdown –h(r)”, also exactly after cp, the 
 shutdown 
 procedure waited for “sync” (umounting of the file system) but sync 
 process was terminated by  timeout, and fsck checked and did correction 
 of the file system after boot.

Did the timeout occur during the syncer shutdown, or at the syncing
disks ... step.

Did you have any ext2 file systems mounted?  These should be manually
unmounted before shutdown because they confuse the final sync code.

 System 5.4-stable, RAM 4GB, processor P-IV 3GHz.
 
 How can I fix it on my system?
 
 SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
 the sysctl.
 
 The problem is that disks lie about whether they have actually written
 data. If the power goes off before the data is in cache, it's lost.

That should only make a difference in a power-fail situation, and it
only makes a difference if the only unwritten data is in the drive's
write cache.

 I am not sure if write-cache can be turned off on SCSI, but SCSI drives
 seem less likely to lie about when the data is actually flushed to the
 drive. 

Yes it can, and I recommend it.  Use the camcontrol modepage command to
set the WCE bit to 0.

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


Re: ps -awux

2005-07-20 Thread jdyke

Akhthar Parvez. K wrote:

Hello,

When I run the command ps -awux from a user's bash shell(not root), it's 
listing the processes under the particular user only. Can anyone tell me why?


-u matches user

man ps



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


Re: ps -awux

2005-07-20 Thread Kövesdán Gábor

Akhthar Parvez. K wrote:


Hello,

When I run the command ps -awux from a user's bash shell(not root), it's 
listing the processes under the particular user only. Can anyone tell me why?


 


You must have these two sysctls set to 0:

security.bsd.see_other_gids
security.bsd.see_other_uids

This prevents that users see processes running under another uid.

Or You  must have mac_seeotheruids MAC module enabled. This module is 
for hardening the previous two sysctls.


Cheers,

Gábor Kövesdán
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hello,

It does not show all processes even if I did not use -u option. It would be 
good if anyone can tell me how can I view all processes from a user's bash 
shell.

On Wednesday 20 July 2005 18:38, jdyke wrote:
 Akhthar Parvez. K wrote:
  Hello,
 
  When I run the command ps -awux from a user's bash shell(not root), it's
  listing the processes under the particular user only. Can anyone tell me
  why?

 -u matches user

 man ps

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

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-20 Thread Bob Bomar
On Wed, Jul 20, 2005 at 06:42:20PM +0530, Akhthar Parvez. K wrote:
 Hello,
 
 When I run the command ps -awux from a user's bash shell(not root), it's 
 listing the processes under the particular user only. Can anyone tell me why?
 

What is security.bsd.see_other_uids set to?

-- 
Bob Bomar
[EMAIL PROTECTED]
-
FreeBSD: The Power to Serve
http://www.freebsd.org



pgpt4le9KZzx2.pgp
Description: PGP signature


Re: Some sort of filter based filesystem

2005-07-20 Thread Lowell Gilbert
Svein Halvor Halvorsen writes:

 * Svein Halvor Halvorsen [EMAIL PROTECTED] writes:
What would be nice, is some kind of nullfs-like read only filesystem 
that would send all files through a configurable filter when opened. 
That way I could put all my music in FLAC format on hdd, and then, 
when I wanted to transfer some tracks to my portable player, I could 
grab the files from the ogg-directory. Or when I wanted to burn to 
CD-A, I could grab 'em from the wav-dir.
 
 * Lowell Gilbert [2005-07-19 12:18 -0400]
   It's a clever idea, but not really very useful; usually a virtual
   filesystem approach is good when you can generate the data as needed.
   For something like this, you would need to pregenerate the various
   forms anyway, so you wouldn't save disk space.
 
 Why would the various forms need to be pre-generated?
 
 I can easily imagine some mechanism where my flac files are filtered 
 through a flac decoder and into a vorbis encoder on-the-fly. 
 The same goes for iconv conversion, image processing, etc.
 
 In fact, this is the sole purpose of my suggestion.

You're right that the outputs wouldn't *have* to be pre-generated, but
doing it on the fly would make the project both more difficult to
implement and (I think) less convenient to use.  It would be pretty
slow if you really did generate it on the fly.  Also, a lot of other
things would get very tricky: for example, you wouldn't have the file
size available when listing a directory of virtual files.

Be well.
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with samba over VPN

2005-07-20 Thread Lowell Gilbert
cell [EMAIL PROTECTED] writes:

 Hello , i have created a VPN  ( with openvpn-2.0_3  on freebsd 5.4 ) between 
 my network who has a gateway on freebsd 5.4 and others computer on win xp, 
 and a network who has windows xp home as gateway.Windows xp home used openvpn 
 2 too and i have created a bridge in my freebsd gateway and the windows xp 
 gateway have created a bridge too.Now , i have configured samba on my freebsd 
 gateway and i must see normally  (in my computers on windows xp ) the windows 
 xp gateway of the other network in my workgroup but i just see this computer 
 for ten minutes !!! After that , i don't see it any more and i don't 
 understand why !!! Anyone have an idea for this problem ?

Are you losing IP connectivity?  (can you ping the other network after
Samba stops seeing it?)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: ps -awux

2005-07-20 Thread Norbert Koch
 When I run the command ps -awux from a user's bash shell(not root), it's 
 listing the processes under the particular user only. Can anyone 
 tell me why?

see 'sysctl security.bsd.see_other_uids'

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


Re: ps -awux

2005-07-20 Thread Akhthar Parvez. K
Hi,

sysctl security.bsd.see_other_uids
sysctl: unknown oid 'security.bsd.see_other_uids'

:-(
On Wednesday 20 July 2005 18:46, Norbert Koch wrote:
  When I run the command ps -awux from a user's bash shell(not root), it's
  listing the processes under the particular user only. Can anyone
  tell me why?

 see 'sysctl security.bsd.see_other_uids'

 Norbert

-- 
With Regards,

Akhthar Parvez.K
System Administrator
Carmatec IT Solutions Pvt Ltd.
1st Block, Koramangala,
Bangalore
-
NOTHING IS IMPOSSIBLE
Because Impossible itself says
I'M POSSIBLE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Gimp 2 does not come with help?

2005-07-20 Thread Fabian Keil
JeuMeu [EMAIL PROTECTED] wrote:

 I've just downloaded GIMP 2.2.8. Still the same problem : no help !

Did you use the ports? Help is separated:

[EMAIL PROTECTED] /usr/ports/graphics $ls|grep  gim 
gimageview
gimp
gimp-help
gimp-manual-html
gimp-manual-pdf
gimp-pmosaic
gimp-ufraw
gimp1
libggimisc

 How do I change mode from 700 to 755 as you say in your answer.

What answer? Did you read man chmod?

 PS : Gimp does the same as PhotoShop, and costs far less.

AFAIK there are still features missing.

Fabian
-- 
http://www.fabiankeil.de/


pgplXdJDwSMgs.pgp
Description: PGP signature


Re: Large filesystem woes

2005-07-20 Thread Lowell Gilbert
dpk [EMAIL PROTECTED] writes:

 Has anyone here had any luck whatsoever getting FreeBSD 5.4-RELEASE to use
 4TB of space from a 4TB RAID array? It is apparent that there is a
 1TB/slice limit, and sysinstall doesn't seem to be able to handle creating
 more than 2 slices.

Since you're using slices, I would try working with fdisk directly...

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: lost gdm screen

2005-07-20 Thread Lowell Gilbert
Trey Sizemore [EMAIL PROTECTED] writes:

 Or to be more precise, after an upgrade of gdm, when I log in I get an
 error message that the config file contains an error (or unrecognized
 command) and that it will use the default.
 
 I'm then presented with the default gdm login screen rather than the
 'more stylish' version I had previously.
 
 What changed that the previous gdm.conf file is no longer valid?  How do
 I get the 'nice' gdm screen back?

Fix the error in the config file.

The gdm log file will probably tell you what the error is.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging

2005-07-20 Thread Lowell Gilbert
Sushubh [EMAIL PROTECTED] writes:

 I am going to install FreeBSD on a machine we plan to make a server.
 
 Now, we have 2 lines of internet coming to our place through 2
 separate  lan modems. I want the server to take these 2 lines and
 combine the speeds  to form a single line which can be used by our lan
 to access the internet.
 
 I have got 3 lan cards on the linux machine. 2 for the incoming
 connections from the 2 lan modems which have the gateways 192.168.1.1
 and  192.168.1.100.
 
 How do I go ahead with making my server a gateway offering combined
 bandwidth to our lan?

I'm not sure I understand your message, but:
How do you do it with the Linux machine?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: df size mismatch

2005-07-20 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 why does df show that used+available  size?
 in my case there is 20M missing for smaller partitions and
 6GB missing for the larger one. How much can I really use?
 
 anton
 
 pw29# df -m
 Filesystem  1M-blocks Used Avail Capacity  Mounted on
 /dev/ad0s1a   247  1299857%/
 devfs   00 0   100%/dev
 /dev/ad0s1e   2470   227 0%/tmp
 /dev/ad0s1f 27172 1453 23544 6%/usr
 /dev/ad0s1d   2475   222 3%/var

See man 8 tunefs and note minfree.  Also see:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#DISK-MORE-THAN-FULL

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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 devfs

2005-07-20 Thread shmach
You can make device node or fifo not in /dev but in any other directory 
(for example in /tmp) and change path in your file.

Thanks for the reply. 

Actually, it occured to me to do this after playing around
with the code for about a week.  I got so wrapped up trying to get it installed
in /dev, that the obvious never occured to me.  So, this does allow me to make
the fifo, but I was wondering whether there was a way to install it /dev, or if
that was impossible.  Like I said, I can get this working without writing to
/dev, but I just wondered if there was a way to do it.
--
E-Mail: [EMAIL PROTECTED]
Date: 20-Jul-2005
Time: 08:45:50

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


Re: Large filesystem woes

2005-07-20 Thread dpk
On Wed, 20 Jul 2005, Lowell Gilbert wrote:

 dpk [EMAIL PROTECTED] writes:

  Has anyone here had any luck whatsoever getting FreeBSD 5.4-RELEASE to use
  4TB of space from a 4TB RAID array? It is apparent that there is a
  1TB/slice limit, and sysinstall doesn't seem to be able to handle creating
  more than 2 slices.

 Since you're using slices, I would try working with fdisk directly...

fdisk gives a No such file or directory error when you run fdisk -i
/dev/da0, but fdisk /dev/da0 shows the partition table.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Network stalls

2005-07-20 Thread Warren Block

On Wed, 20 Jul 2005, Marek Sulovsky wrote:


But when I started to update the system and ports - another problem
appeared:

when I am downloading a file (I noticed the problem only during ftp
downloads - but I have had almost no other traffic) sometimes (about
every 2-5 MBs on average) the transfer stops (command line ftp says
stalled, fetch shows nothing and does nothing).


Stalled is shown when the FTP server just stops sending.  For FreeBSD 
files, it usually means the server is too busy.  Try using a different 
server, or one that's closer to you.


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


Re: Demon license?

2005-07-20 Thread Fabian Keil
Ted Mittelstaedt [EMAIL PROTECTED] wrote:

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Fabian Keil
 Sent: Tuesday, July 19, 2005 8:26 AM
 To: freebsd-questions@freebsd.org
 Subject: Re: Demon license?
 
 
 Ted Mittelstaedt [EMAIL PROTECTED] wrote:
 
  Greg Lehey said:
 
  I'm sure we would object if someone drew a 'devil' image and
  associated it with FreeBSD.
 
  Re-read this please.  DEVIL image?  What is that?  Devil in
  this context is a religious term.  So what Greg is really saying
  here is that we would object if someone drew a religious image
  and associated it with FreeBSD
 
 You are quoting out of context.
 
 Greg wasn't referring to Beastie as devil, the person before him was.
 
 That would be me, and no I was not as I've explained twice now.
 
 Greg was intentional misunderstanding that Beastie was meant with
 devil. At least that's how I understood it.
 
 
 Greg doesen't generally post to that level of complexity.  What he is
 objecting to is pretty straightforward - Beastie isn't a devil.  Well
 the word devil is a religious term, so what Greg means is that
 Beastie isn't a religious icon and anyone's use of the word 'devil'
 in conjunction with Beastie carries the incorrect connotation that
 Beastie is a religious icon
 
 If your disagreeing with that, then are you supporting the idea that
 Beastie looks like a devil AKA icon objectionable on religious grounds?

I think it's a reasonable idea, that a person not knowing BSD might
come to the conclusion, that Beastie is a small nice looking devil.

I guess I did it myself, but I don't remember.

Beastie looks cute, that's good enough for me. I couldn't care less,
if he's just looking like a devil or if he's supposed to be one.

 Because that is the converse of what Greg is saying.
 
 Greg took my meaning as Beastie=devil, not  devil-looking-image could be
 drawn and associated with FreeBSD by anyone
 
 I realize that the idea I was attempting to convey was more complex and
 deeper than a 2 second sound bite.  Please carefully reread the thread
 and
 I think you will understand it better.  When I used the word devil in
 the sentence I was meaning a graphical drawing of a red being with horns
 and a tail, and that should have been apparent.  I was not meaning the
 Catholic religious interpretation of the word devil meaning Satan.

I got that.

 It is a sad commentary on the power of the religious conservative
 movement that you can't even use the word devil to mean anything
 other than Satan in a sentence anymore.
 
 Greg objects to the term devil in association with Beastie because
 he knows that too many stupid people cannot make this distinction
 anymore, and it's safer to simply not use the word devil anywhere
 near FreeBSD or Beastie so as to avoid these stupid people from
 claiming FreeBSD is a satanic operating system.

And this as well.
 
 I disagree with this because I will always choose to fight against
 ignorance rather than just accept it and make up some politically
 correct mealymouthed excuse.  Sure, some stupid people cannot be
 educated into understanding that the Beastie image isn't an image
 of a devil, because they believe that the only possible interpretation
 of the word devil is Satan.  I would rather work to educate them,
 like I'm working to educate you, that not all uses of devil are
 religious.  If you or they cannot accept this, then go to Hell. ;-)

I have no problem accepting it, however I think I can differentiate
between devil (the evil fallen angel) and devil (the outfit), even if
I didn't make this clear in the other mail.

What's more important, I wouldn't care I the core team decided
to use the first meaning. I'm not a big fan of political correctness myself.

Fabian
-- 
http://www.fabiankeil.de/


pgph58Drk8hdL.pgp
Description: PGP signature


RE: ps -awux

2005-07-20 Thread Norbert Koch
 sysctl security.bsd.see_other_uids
 sysctl: unknown oid 'security.bsd.see_other_uids'

Did you try that as root? What is your
FreeBSD version (uname -a)?

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


Re: Demon license? (copyright myths)

2005-07-20 Thread Bob Johnson
Josh Ockert [EMAIL PROTECTED] wrote on Mon, Jul 18, 2005 at 1:53 :
[...]
 
 As to the subject of copyright infringement, allowing other
 Beastie-like images to be associated with FreeBSD is not copyright
 infringement. Gentoo's penguin is not copyright infringement. Stylized
 logos that are merely similar do not infringe on eachother. That's
 like suggesting that a professional photographer at a wedding owns all
 amateur wedding photos taken by friends and family attending the
 event. It is not a subject that is copyrighted, or nobody would be
 able to paint flowers anymore. It is the image itself. Any work that
 is arrived at independently cannot possibly infringe on another's
 copyright. So a redrawing of a daemon that is not a copy of Kirk's is
 completely legal. (IANAL.. yet. Give me a couple more years and the
 MBE though and that'll change).

IANAL either, but in general, a copyright holder has the right to control 
derivative works as well.  You can't publish pictures of Mickey Mouse without 
permission of Disney, even if you drew the pictures yourself, and you 
(probably) can't publish images of Beastie without Kirk McKusick's 
permission.  The fact that he is lenient in enforcing his rights does not 
mean that he doesn't have them.  

If someone manages to come up with a daemon image that is obviously NOT 
Beastie, then they won't have to worry about McKusick's copyright, but since 
he is so lenient in granting usage, why bother?

http://www.templetons.com/brad/copymyths.html

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


Re: Network stalls

2005-07-20 Thread Marek Sulovsky
 But when I started to update the system and ports - another problem
 appeared:
 
 when I am downloading a file (I noticed the problem only during ftp
 downloads - but I have had almost no other traffic) sometimes (about
 every 2-5 MBs on average) the transfer stops (command line ftp says
 stalled, fetch shows nothing and does nothing).
 
 Stalled is shown when the FTP server just stops sending.  For FreeBSD 
 files, it usually means the server is too busy.  Try using a different 
 server, or one that's closer to you.

The problem is not in servers. This happens on various servers which are
nearby and have a very good connectivity (and I never experienced
problems with them). I can even connect to them from another ftp client
and start downloading something else while the first ftp is stalled.

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


Re: Spam:****, RE: Demon license?

2005-07-20 Thread Chad Leigh -- Shire.Net LLC


On Jul 20, 2005, at 7:05 AM, Bart Silverstrim wrote:



As I understand it Apple is using some of the code from FreeBSD,  
but FreeBSD isn't necessarily *getting* anything as an obligation  
from them.


Ideally, if businesses give to them, that's a bonus.  Businesses  
have always been able to take from FreeBSD as per it's license  
without giving anything.  But when you start doing tit-for-tat  
scratch-my-back-and-I'll-scratch-yours relationships with  
businesses, there's going to be problems.




Just as an aside:  Apple does push code back as far as I know.  There  
was talk last year for example about MSDOS FS support being put back  
in from Apple Darwin.


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Demon license? (copyright myths)

2005-07-20 Thread Chad Leigh -- Shire.Net LLC


On Jul 20, 2005, at 9:11 AM, Bob Johnson wrote:

IANAL either, but in general, a copyright holder has the right to  
control
derivative works as well.  You can't publish pictures of Mickey  
Mouse without

permission of Disney, even if you drew the pictures yourself, and you
(probably) can't publish images of Beastie without Kirk McKusick's
permission.  The fact that he is lenient in enforcing his rights  
does not

mean that he doesn't have them.

If someone manages to come up with a daemon image that is obviously  
NOT
Beastie, then they won't have to worry about McKusick's copyright,  
but since

he is so lenient in granting usage, why bother?

http://www.templetons.com/brad/copymyths.html

- Bob



This would be true if he had invented or come up with Beastie first.   
Is that how it happened?  I was under the impression that he just  
came up with the most loved form but that previously somewhat similar  
images  had been used for unix/bsd etc.  He still has the right to  
derivatives of his beastie but I would suspect that not-so-similar  
versions would be OK. But again, IANAL and am not familiar with whole  
history


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: Spam:****, RE: Demon license?

2005-07-20 Thread Bart Silverstrim


On Jul 20, 2005, at 11:39 AM, Chad Leigh -- Shire.Net LLC wrote:



On Jul 20, 2005, at 7:05 AM, Bart Silverstrim wrote:



As I understand it Apple is using some of the code from FreeBSD, but 
FreeBSD isn't necessarily *getting* anything as an obligation from 
them.


Ideally, if businesses give to them, that's a bonus.  Businesses have 
always been able to take from FreeBSD as per it's license without 
giving anything.  But when you start doing tit-for-tat 
scratch-my-back-and-I'll-scratch-yours relationships with businesses, 
there's going to be problems.




Just as an aside:  Apple does push code back as far as I know.  There 
was talk last year for example about MSDOS FS support being put back 
in from Apple Darwin.


Yes, I believe they do.  What I'm saying (and what I think a great 
number of people don't think about) is that they're doing this but 
aren't *obligated* to do so.  For FreeBSD, as I understand it, you can 
take FreeBSD, slap new images to it and alter some of the code and sell 
it as your own (except for copyright notices? That may have changed).  
There you go...you have a new product, the *BSD people don't care.  You 
don't have to do anything for the FreeBSD team in return.  If you do, 
they'd probably appreciate it.  If you don't, well, life goes on.


I'm against the slide into an obligatory relationship...FreeBSD starts 
marketing and courting a couple corporate friends and then there may 
be some obligation back and forth...forcing certain device support, or 
maybe some encouragement to ignore other vendors, introduce more 
politics.  As the whole logoscot affair shows I think there's enough 
politics in the group and userbase as it stands. :-)


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


usb mass storage failure

2005-07-20 Thread vdm . fbsd
Context: freebsd 5.4

Dear All,

My brand-new usb mp3 reader, even though is seen as a flash disk by the OS,
cannot be used because:

(/var/log/message extract)

umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 497MB (1019617 512 byte sectors: 64H 32S/T 497C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status
== 0x0
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
...
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
Opened disk da0 - 5
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
.
Opened disk da0 - 5
umass0: at uhub0 port 2 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached
...

Anyone out there could tell me why it happens and what I should do?

Thanks
Vittorio


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


Re: ps -awux

2005-07-20 Thread Kevin Kinsey
Akhthar Parvez. K wrote:

Hi,

sysctl security.bsd.see_other_uids
sysctl: unknown oid 'security.bsd.see_other_uids'

:-(


Little demo:

# sysctl -a | grep other_uid
security.bsd.see_other_uids: 1

 
# sudo sysctl security.bsd.see_other_uids=0
security.bsd.see_other_uids: 1 - 0

 
# sysctl -a | grep other_uid
security.bsd.see_other_uids: 0

 
# sudo sysctl security.bsd.see_other_uids=1
security.bsd.see_other_uids: 0 - 1 



# sysctl -a | grep other_uid
security.bsd.see_other_uids: 1

HTH,

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


matlab7 (r14) service pack 1 again

2005-07-20 Thread a.shterenlikht
I did install linux-sun-jdk1.4.2 under /usr/local
and then did

cd /path/to/matlab/install/sys/java/jre/glnx86
mv jre1.4.2 bkp.jre1.4.2
ln -s /usr/local/linux-sun-jdk1.4.2/jre jre1.4.2

but still have the same /lib/libc.so.6: cannot execute 
binary file error and constant crashes.

I wonder if matlab has to be run under /compat/linux?

anton


Rodolphe Conan rconan at uvic.ca
Fri Jul 15 16:12:03 GMT 2005

Me after the install, I have created the following 
symbolic link:
ln -s /usr/local/linux-sun-jdk1.4.2/jre jre1.5.0
in /path/to/matlab/install/sys/java/jre/glnx86
and finally add a startup.m file
in /path/to/matlab/install/toolbox/local with the 
following line inside
set(0,'DefaultFigureRenderer','ZBuffer','DefaultFigureRendererMode','Manual')

And now matlab7 works for me!
Hopes it will help
Rod

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


Re: usb mass storage failure

2005-07-20 Thread Dan Nelson
In the last episode (Jul 20), [EMAIL PROTECTED] said:
 Context: freebsd 5.4
 
 My brand-new usb mp3 reader, even though is seen as a flash disk by
 the OS, cannot be used because:
 
 umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
 da0: 1.000MB/s transfers
 da0: 497MB (1019617 512 byte sectors: 64H 32S/T 497C)
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED

Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846

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


Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson
Has anyone been able to get Frontpage Extensions working with Apache 
2.0.54 on 5.4-RELEASE-p4?  I had it working on 4.11 but have been 
beating my head against the wall for the past two weeks on 5.4.  When I 
run the /usr/local/frontpage/version5.0/fp_install.sh script, it fails 
when the script calls owsadm.exe to create the root web.  owsadm.exe 
core dumps with a Bad system call.  I've done a complete removal of 
Apache2, Frontpage, and mod_frontpage2-rtr.  Then I've rebuilt but 
continue to get core dumps when owsadm.exe runs in the fp_install.sh script.


Is there any hope?  Even if you don't know what the problem might be, a 
simple I did it with no problem will at least encourage me to keep trying.


Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Re: VPN solution

2005-07-20 Thread Mark Bucciarelli
On Tue, Jul 19, 2005 at 11:26:17PM -0400, chris wrote:

 Im looking around for a VPN solution that utilizes IPSEC and ssl. What
 im really lookng for here on the list is suggestions. I need to use
 IPSEC and ssl due to what is being ran at work (running linux).  I
 dont need anything fancy, just somthing that will connect using the
 above security measures. Im currently running 4.x. Any help would be
 appreciated.

Would freenx work for you?

Uses X compression over SSH.  Has native clients for OSX, Windows and
Linux (not sure about a BSD client).

If the server at the office is not running X, you could install X and
ratpoison and pretend it is just screen on steroids.

m

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


Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Tim Traver

Drew,

I've done it...you need to have the latest frontpage extensions from 
http://www.rtr.com/ as there might be changes for FreeBSD 5.4...


And you may need to have the compatability libraries in place...

Tim.


Drew Tomlinson wrote:

Has anyone been able to get Frontpage Extensions working with Apache 
2.0.54 on 5.4-RELEASE-p4?  I had it working on 4.11 but have been 
beating my head against the wall for the past two weeks on 5.4.  When 
I run the /usr/local/frontpage/version5.0/fp_install.sh script, it 
fails when the script calls owsadm.exe to create the root web.  
owsadm.exe core dumps with a Bad system call.  I've done a complete 
removal of Apache2, Frontpage, and mod_frontpage2-rtr.  Then I've 
rebuilt but continue to get core dumps when owsadm.exe runs in the 
fp_install.sh script.


Is there any hope?  Even if you don't know what the problem might be, 
a simple I did it with no problem will at least encourage me to keep 
trying.


Thanks,

Drew



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


Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson

On 7/20/2005 9:42 AM Tim Traver wrote:


Drew,

I've done it...you need to have the latest frontpage extensions from 
http://www.rtr.com/ as there might be changes for FreeBSD 5.4...


And you may need to have the compatability libraries in place...


Thanks for your reply.  I have the 3x and 4x compatibility libraries 
uncommented in /etc/make.conf so I assume they are installed.  How can I 
check for sure?


How long ago did you install.  I downloaded from rtr about 2 weeks ago 
so I assume I have the latest.  I guess I could always do it again.


At least I know there's hope!

Thanks,

Drew

--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Server mysteriously locking up

2005-07-20 Thread Chris

Yesterday and today (within minutes after midnight) my 5.2.1 server locked 
up... meaning that I cannot SSH into it, or ping it, etc, but it is still 
running. This has never happened before in the past 1.5 years, and I cannot 
think of any changes made (other than web page edits) that have taken place in 
the past few days. The only other exception might have been a 1 or 2 
portupgrades, but I don't think there were any that day. Further, there is very 
little in the logs that seems to help me in any way.

For yesterday's lockup, /var/log/messages had these few entries right about the 
time it happened:

Jul 19 00:01:17 server handle_workitem_freeblocks: block count
Jul 19 00:01:24 server handle_workitem_freeblocks: block count
Jul 19 00:07:38 server handle_workitem_freeblocks: block count


Jul 19 21:45:31 (syslog entry) is the last entry before this last lockup

I did, however, get a cron job email at midnight:

Jul 20 00:00:01 -   newsyslog: can't notify daemon, pid 666: No such process
newsyslog: log /var/log/maillog.0 not 
compressed because daemon(s) not notified


I did find a ruby18.core file in my root directory, and now notice that things 
like portupgrade, portsdb, and pkg_version spew a bunch of errors (they depend 
on ruby?) So I visit /usr/ports/lang/ruby18 to re-install the port, and I get:

server# make
/usr/ports/Mk/bsd.port.mk, line 1: Malformed conditional 
(${_TMLINKS:M/usr/local*}x != x)
/usr/ports/Mk/bsd.port.mk, line 4: Malformed conditional 
(${_TMLINKS:N/usr/local*}x != x)
/usr/ports/Mk/bsd.port.mk, line 5: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 5: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 6: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 6: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 7: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 7: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 9: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 9: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 4860: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4860: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4865: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4865: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4866: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4866: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4875: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4875: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4877: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4877: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4879: if-less endif
/usr/ports/Mk/bsd.port.mk, line 4879: Need an operator
/usr/ports/Mk/bsd.port.mk, line 5234: if-less endif
/usr/ports/Mk/bsd.port.mk, line 5234: Need an operator
make: fatal errors encountered -- cannot continue

Well, I'm stuck ...

Thanks,
Chris

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


Re: 1 byte more?

2005-07-20 Thread Gary W. Swearingen
Mac Mason [EMAIL PROTECTED] writes:

 As I recall, the convention is than UNIX text files should always end with a
 newline character. I can certainly envision situations where you might not
 want to have the extra \n, but it makes intuitive sense for it to be there:
 having the first half of a line in one file and the second half in another
 file feels very strange to me...

Does it really make intuitive sense to have a newline where there is
no new line?  (Apparently, a file's first line is not necessarily a new
line, depending on how it's used.)

I guess the convention got started because, unlike typewriters, shells
(and Teletypes, IIRC) don't do anything useful until the carriage
return key is used, at which time, they start a new line with
newline so the command output, if any, will start on a new line,
whether it wants to or not.  So their prompts don't start a new line
by themselves, execting one to have just been started by the command
interpreter when the command has no output or by the command when the
command has output.  That forced commands like echo to normally end
with a newline.  And for commands like cat which don't end with a
newline, it pushed the extra newline into the text file.

It would probably make more intuitive sense if the carriage return
key was interpreted more as enter, leaving command output and
prompts to start each new line (even the first) with a newline.
Oh well, that ship has sailed.

Most programs try to do their best to deal with text files that don't
end with a newline, though it's sometimes debatable what is the best
way to handle both cases.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nForce3 SMB and Power Management

2005-07-20 Thread João Carlos Mendes Luis

Hi,

Does FreeBSD 5-stable support nForce3 power management?  I mean, 
can I measure fan speeds, power voltage, etc?  I did try using nfpm, but 
it did not work.


TIA,

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


Re: Demon license? (copyright myths)

2005-07-20 Thread Josh Ockert
On 7/20/05, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:
 
 On Jul 20, 2005, at 9:11 AM, Bob Johnson wrote:
 
  IANAL either, but in general, a copyright holder has the right to
  control
  derivative works as well.  You can't publish pictures of Mickey
  Mouse without
  permission of Disney, even if you drew the pictures yourself, and you
  (probably) can't publish images of Beastie without Kirk McKusick's
  permission.  The fact that he is lenient in enforcing his rights
  does not
  mean that he doesn't have them.
 
  If someone manages to come up with a daemon image that is obviously
  NOT
  Beastie, then they won't have to worry about McKusick's copyright,
  but since
  he is so lenient in granting usage, why bother?
 
  http://www.templetons.com/brad/copymyths.html
 
  - Bob
 
 
 This would be true if he had invented or come up with Beastie first.
 Is that how it happened?  I was under the impression that he just
 came up with the most loved form but that previously somewhat similar
 images  had been used for unix/bsd etc.  He still has the right to
 derivatives of his beastie but I would suspect that not-so-similar
 versions would be OK. But again, IANAL and am not familiar with whole
 history
 
 ---
 Chad Leigh -- Shire.Net LLC
 Your Web App and Email hosting provider
 [EMAIL PROTECTED]
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

No I disagree. I'm fairly certain that an independently drawn
personified mouse would not be copyright infringement.

Calling it Mickey Mouse may very well be trademark infringement, however.

-- 
Josh Ockert
WMU Student: French Linguistics, Computer Science
-- 
The irony in biblical creationists' rhetoric of implicitly claiming
that God's universe is so inconsistent that carbon decays at erratic
rates is too delicious to ignore.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Demon license? (copyright myths)

2005-07-20 Thread Chad Leigh -- Shire.Net LLC


On Jul 20, 2005, at 11:26 AM, Josh Ockert wrote:



No I disagree. I'm fairly certain that an independently drawn
personified mouse would not be copyright infringement.

Calling it Mickey Mouse may very well be trademark infringement,  
however.





As long as the independently drawn personified mouse didn't look  
like Mickey at all you would be ok.  But an independently drawn  
personified mouse that bore resemblance to His Mouseness would  
probably land you in hot water.  Again, IANAL-AIDPOOTV


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
[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: ps -awux

2005-07-20 Thread Frank de Bot

Akhthar Parvez. K wrote:

Hello,

When I run the command ps -awux from a user's bash shell(not root), it's 
listing the processes under the particular user only. Can anyone tell me why?




Under FreeBSD 4.x the sysctl is:

kern.ps_showallprocs

0: only show processes of the user itself
1: Show all processes


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


Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Tim Traver
I think you can see some of the libraries that it creates when the 
compatability libraries are installed. I think you'll see some libraries 
like lib.so.4 etc in the libraries dir


more specifically, what are the error messages if you just try and 
execute owsadmin.exe ???


If things are working, you should at least get that binary to run, even 
though it will spit out a frontpage error...


Tim.


Drew Tomlinson wrote:


On 7/20/2005 9:42 AM Tim Traver wrote:


Drew,

I've done it...you need to have the latest frontpage extensions from 
http://www.rtr.com/ as there might be changes for FreeBSD 5.4...


And you may need to have the compatability libraries in place...



Thanks for your reply.  I have the 3x and 4x compatibility libraries 
uncommented in /etc/make.conf so I assume they are installed.  How can 
I check for sure?


How long ago did you install.  I downloaded from rtr about 2 weeks ago 
so I assume I have the latest.  I guess I could always do it again.


At least I know there's hope!

Thanks,

Drew



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


Re: Frontpage Extensions on 5.4 - Anyone Gotten It To Work?

2005-07-20 Thread Drew Tomlinson

On 7/20/2005 10:37 AM Tim Traver wrote:

I think you can see some of the libraries that it creates when the 
compatability libraries are installed. I think you'll see some 
libraries like lib.so.4 etc in the libraries dir



I see *.3 and *.4 files in /usr/local/lib/compat.  I also installed 
/usr/ports/misc/compat4x just for good measure.


more specifically, what are the error messages if you just try and 
execute owsadmin.exe ???



blacklamb# ./owsadm.exe
Bad system call (core dumped)

It doesn't matter what parameters I pass to it.  It always core dumps.



If things are working, you should at least get that binary to run, 
even though it will spit out a frontpage error...


Tim.



Thanks for your help.  Any ideas?  What version of FBSD are you 
running?  I'm on 5.4-RELEASE-p4.  Maybe if I move to -STABLE this might 
resolve itself?


Drew


Drew Tomlinson wrote:


On 7/20/2005 9:42 AM Tim Traver wrote:


Drew,

I've done it...you need to have the latest frontpage extensions from 
http://www.rtr.com/ as there might be changes for FreeBSD 5.4...


And you may need to have the compatability libraries in place...




Thanks for your reply.  I have the 3x and 4x compatibility libraries 
uncommented in /etc/make.conf so I assume they are installed.  How 
can I check for sure?


How long ago did you install.  I downloaded from rtr about 2 weeks 
ago so I assume I have the latest.  I guess I could always do it again.


At least I know there's hope!

Thanks,

Drew






--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books,  More!

http://www.alchemistswarehouse.com

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


Re: Demon license? (copyright myths)

2005-07-20 Thread Greg Barniskis

Chad Leigh -- Shire.Net LLC wrote:


On Jul 20, 2005, at 11:26 AM, Josh Ockert wrote:



No I disagree. I'm fairly certain that an independently drawn
personified mouse would not be copyright infringement.

Calling it Mickey Mouse may very well be trademark infringement,  
however.





As long as the independently drawn personified mouse didn't look  like 
Mickey at all you would be ok.  But an independently drawn  personified 
mouse that bore resemblance to His Mouseness would  probably land you in 
hot water.  Again, IANAL-AIDPOOTV.


Unless of course you made it clear that the resemblance was 
intentional and your use of the copyrighted image was as part of 
legitimate social commentary (e.g. satire, or critique). You'd get 
in trouble if you tried to pass it off as an independent work. Thus 
the infamous Beastie F'ing Tux image is probably not an 
infringement of either the Beastie or the Tux image copyrights, 
because it's a parody. Only a federal judge could tell you for sure.


Copyright is both clear cut and a murky gray area, at the same time. 
The only sure protection for an infringer is to have a written 
approval from the copyright holder for use as a get out of jail 
free card. IANAL, but IAAL (I am a librarian ;) and have spent more 
than a few hours on the subject.


Anyway, this thread is getting way OT for -questions. The OP's 
question was answered I think. The rest of us should go to -chat, or 
in my case, -lunch.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


DNS service with a SQL backend

2005-07-20 Thread Bruno Gallant
Hello,

We are redesigning our DNS infrastructure, which has been running on
BIND with the regular flat files for years, and there would be a need
for the data to be in a database. (postgresql or mysql, of course)

I looked around the ports to find powerdns, but I don't know if it's
good or not.

Is there a port or something already available that can convert DNS
data stored in sql into the proper format for BIND, or another
software with all included?

Thanks all.



-- 
# Bruno Gallant - [EMAIL PROTECTED] - [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: DNS service with a SQL backend

2005-07-20 Thread Gustavo De Nardin
On 20/07/05, Bruno Gallant [EMAIL PROTECTED] wrote:
 I looked around the ports to find powerdns, but I don't know if it's
 good or not.

There is also dns/bind9-dlz (http://bind-dlz.sourceforge.net/).
Supports many database backends. (I never used it, though.)


 Is there a port or something already available that can convert DNS
 data stored in sql into the proper format for BIND, or another
 software with all included?

Don't you mean the other way (BIND - SQL)?

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


Re: usb mass storage failure

2005-07-20 Thread Vittorio De Martino
Alle 18:11, mercoledì 20 luglio 2005, Dan Nelson ha scritto:
 In the last episode (Jul 20), [EMAIL PROTECTED] said:
  Context: freebsd 5.4
 
  My brand-new usb mp3 reader, even though is seen as a flash disk by
  the OS, cannot be used because:
 
  umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
  da0: 1.000MB/s transfers
  da0: 497MB (1019617 512 byte sectors: 64H 32S/T 497C)
  umass0: BBB reset failed, STALLED
  umass0: BBB bulk-in clear stall failed, STALLED
  umass0: BBB bulk-out clear stall failed, STALLED

 Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846

Dan, thank you very much for your valuable suggestion 
BUT
being a real novice with freebsd (I have experience of linux) could you please 
explain straightforwardly HOW and WHERE I should apply the patch?

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


Rouge Wireless Client

2005-07-20 Thread Sean Murphy
We have an authorized access point that a rouge apple computer is 
connecting to.  We have its ip and mac of the apple unit however this 
just tells me what access point it is connected to.  Is there a tool to 
find its location by signal strength.


Netstumbler does not currently do this it finds access points and 
personal networks but not actually clients.


What would I use?

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


Re: usb mass storage failure

2005-07-20 Thread [EMAIL PROTECTED]
On Wed, 20 Jul 2005 21:40:22 +0200
Vittorio De Martino [EMAIL PROTECTED] wrote:

  Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846
 
 Dan, thank you very much for your valuable suggestion 
 BUT
 being a real novice with freebsd (I have experience of linux) could
 you please  explain straightforwardly HOW and WHERE I should apply the
 patch?

looking at the patch, you can do the following :

rm /usr/src/sys/cam/scsi/scsi_da.c.o
open /usr/src/sys/cam/scsi/scsi_da.c in your fav. editor
search for FL (with quotes)

and add the lines with the + signs in front in between where it is
suppose to go (following the above url)

another option :

copy and paste the proposed patch into a file e.g. called
/usr/src/patch1 

cd /usr/src
patch  patch1

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


Re: lost gdm screen

2005-07-20 Thread Trey Sizemore
On 20 Jul 2005 09:35:53 -0400
Lowell Gilbert [EMAIL PROTECTED] wrote:

 Trey Sizemore [EMAIL PROTECTED] writes:
 
  Or to be more precise, after an upgrade of gdm, when I log in I get
  an error message that the config file contains an error (or
  unrecognized command) and that it will use the default.
  
  I'm then presented with the default gdm login screen rather than the
  'more stylish' version I had previously.
  
  What changed that the previous gdm.conf file is no longer valid?
  How do I get the 'nice' gdm screen back?
 
 Fix the error in the config file.
 
 The gdm log file will probably tell you what the error is.

Where is the gdm log file located?

-- 
Cheers,
Trey

 
I don't object to sex before marriage, but two minutes before?!?
 
FreeBSD 5.3-STABLE i386 i386 GENERIC
 4:08PM  up 21 hrs, 0 users, load averages: 0.16, 0.23, 0.13
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: nForce3 SMB and Power Management

2005-07-20 Thread Gary W. Swearingen
João Carlos Mendes Luis [EMAIL PROTECTED] writes:

 Hi,

  Does FreeBSD 5-stable support nForce3 power management?  I mean, can I 
 measure fan speeds, power voltage, etc?  I
  did try using nfpm, but it did not work.

Well, I can measure those things (nForce 3 250 Gb on Gigabyte GA-K8NSC-939),
but some of the voltages vary way too much to believe and my CPU temperature
is seemingly random numbers. (My CPU temp is often way low or way high in
BIOS, but often reasonable and not varying.)  One fan speed looks right,
while other fan readings can show a value when there is no other fan.

I've tried lmmon, mbmon, healthd, and maybe one other I forget and they
only detect the ISA interface and though I've put a dozen related devices
in the KERNCONF, I've never seen a /dev/smb* device show up.

I've pretty-much forgotten what little I found in Google or groups.google, but
I suspect that some Nforce3 motherboards work and others don't.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /boot on a separate partition

2005-07-20 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alex Zbyslaw wrote:
 Ross Kendall Axe wrote:
 
 I admit, I didn't know the /boot was new in FreeBSD, but then, I am a
 BSD virgin.  As for reasons to support a /boot partition, how about BIOS
 bugs/quirks?  There's no shortage of those.
 
 Well, until someone proves otherwise, I don't believe in them anymore. 
 I believe they *used* to exist, but that comments about cannot boot
 past cyl 1024 only exist in documentation because this *used* to be
 true and no-one really knows whether it can safely be deleted, so it's
 left in.  Sure, if you get an old enough PC it could still be true, but
 as you've proved (congrats, by the way, enjoy FreeBSD) the oldest PC you
 considered it worth installing FreeBSD on did not have this problem.

The situation certainly has improved.  _New_ machines generally work
perfectly.  On the other hand, I have a Celeron machine from 1998 here
that hangs at bootup if the BIOS spots a 32GB drive.  Still quite old,
I know, but I view getting the most out of old hardware as one of the
advantages of free OSes.  I don't see the BIOS problem ever fully going
away until the BIOS is as replaceable as the OS.  Still, it shouldn't be
the job of the OS to fix that.

 Your 486 might have this trouble, then then it would probably have
 trouble addressing a disk that big at all.  (Btw, there are minimum
 memory requirements for 5.X, 32Mb?, if you ever do decide to try FreeBSD
 on that 486).

It just happens that this 486 has exactly 32MB of RAM, so ;-)

 The oldest PC I have that runs FreeBSD (also a Pentium) has a 4 and an
 8Gb disk, and no problem booting off the ends of either.   


 Pffft.  I've got a 486 with a 1/4GB hard disk around here _somewhere_.
  

 I didn't mean that as a pissing contest :-)  I just meant that there
 must be bucketloads of PCs out there similar to yours, unused, unwanted
 and unloved, that could do what you thought yours couldn't.

I know what you mean.  People will quite happily throw away stuff just
because they got something better.  I don't because I enjoy making good
stuff out of would-be junk :-)

 I've never used it myself, but NetBSD gets mentioned as a suitable OS
 for a router.  I stick with FreeBSD just for compatibility across all my
 machines, but if you're interested in trying stuff out you might want to
 see what it offers.
 
 --Alex
 

Trying stuff out is what I'm here for.  I'd noticed I'd started talking
about Linux like it was the only OS in the universe, so I thought I'd
broaden my mind a little.

Ross

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3rIw9bR4xmappRARAv6+AJ90T+Fx16Fwirqp9SL46e3Kssb4xgCgyHl5
SjiaPrSHstmdG/6Ellpjyuo=
=7EQW
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.x ipdivert.ko with pf and natd?

2005-07-20 Thread Lowell Gilbert
Michael Dexter [EMAIL PROTECTED] writes:

 Hello,
 
 I would like to use natd with packet filter under FreeBSD 5.4.
 
 The rc.conf man page states that I want: natd_enable=YES and that
 if the kernel was not built with options IPDIVERT, the ipdivert.ko
 kernel module will be loaded.
 
 Unfortunately, the module ipdivert.ko does not appear to exist in 
 /boot/kernel/
 
 ... but I do see it in 6.x filesystem.
 
 I tried building a kernel with:
 
 options IPDIVERT
 
 and that did not appear to produce the module (depends on ipfw though
 I want to use pf?).
 
 I do however see the source in: /usr/src/sys/netinet/ip_divert.c
 
 1. Am I overlooking the prebuilt module in 5.x?
 2. Can I simply build the module on its own without a full buildkernel?
 3. Given that buildkernel did not produce it, how can I produce it?

No, I don't see it in the module makefile on my -STABLE machine.
natd *does* depend on ipfw; if you want to use pf, you probably want
to use its built-in NAT capabilities.
If you *do* want natd, you can always compile divert directly into
your kernel. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /boot on a separate partition

2005-07-20 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Bob Johnson wrote:
 
 On a 1 GB drive you aren't going to have room to do much learning no matter 
 how little you waste in /.  Maybe I should just ship you a bigger hard drive. 
  
 I'm pretty sure I have a 3 or 6 GB drive around that I have no use for.  Are 
 you willing to pay shipping?  
 

That's a generous offer, but since I've fixed the immediate problem, and
I'm only playing for now, it probably isn't worth the effort.  In any
event, it now looks like a couple of fair sized drives are going to
become available here soon anyway.

Ross
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3rS59bR4xmappRARAgVwAJ4+jLkXvZR2vMkq6uHcg8tCWWGbAQCfao5g
lPkHe9/p824YolBV91Lmooc=
=tL4F
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot install ntop under freeBSD 5.5

2005-07-20 Thread Lowell Gilbert
PK [EMAIL PROTECTED] writes:

 sorry I mean freeBSD 5.4 
 
 I have the newest ports tree update and I've cleaned the ntop port directory 
 before building.
 
 It still doesn't work and I get the same errors.

Well, whatever wrong is particular to your machine, because no one
else has seen this problem.  If you want to try to figure out what,
you can start with the advice I gave in my earlier message, about
analyzing the compiler error.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /boot on a separate partition

2005-07-20 Thread Ross Kendall Axe
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Garance A Drosihn wrote:
 At 9:30 PM +0100 7/18/05, Ross Kendall Axe wrote:
 

 ... I want to place the /boot directory in a small 25MB partition
 at the start of the drive.  Setting up the partition with sysinstall
 is easy enough, but does anyone have any suggestions of how to
 diddle the bootloader to accept this configuration?
 
 
 I doubt you can on FreeBSD.  The problem is that the OS would have
 to mount both / and /boot before it could do anything, and FreeBSD
 doesn't do that.  It assumes the partition that you are loading
 from is '/', and uses that to find (for instance) /etc/fstab so
 it can find out what the other partitions are.

I would have though that putting '/sbin/mount /boot' at the start of the
/etc/rc would sort that out.  Surely the contents of /lib, /bin and
/sbin are enough to get you that far?

 I know that linux supports this, as well as some other clever
 trickery with partitions at system-startup, but FreeBSD doesn't.

I must admit, I'm not sure what trickery you're talking about here,
unless you're referring to initrd, which _is_ a horrible hack IMHO.

Ross


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.7 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC3rfL9bR4xmappRARAhXyAKC7qiA9t0C9/Eny12Q8nG7XXqE9JgCeLPb9
ZAb5ityPlJ0OpZJvDsm43LY=
=goS5
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb mass storage failure

2005-07-20 Thread Dan Nelson
In the last episode (Jul 20), Vittorio De Martino said:
 Alle 18:11, mercoledì 20 luglio 2005, Dan Nelson ha scritto:
  In the last episode (Jul 20), [EMAIL PROTECTED] said:
   Context: freebsd 5.4
  
   My brand-new usb mp3 reader, even though is seen as a flash disk by
   the OS, cannot be used because:
  
   umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
   da0 at umass-sim0 bus 0 target 0 lun 0
   da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
   da0: 1.000MB/s transfers
   da0: 497MB (1019617 512 byte sectors: 64H 32S/T 497C)
   umass0: BBB reset failed, STALLED
   umass0: BBB bulk-in clear stall failed, STALLED
   umass0: BBB bulk-out clear stall failed, STALLED
 
  Try the patch at http://www.freebsd.org/cgi/query-pr.cgi?pr=81846
 
 Dan, thank you very much for your valuable suggestion 
 BUT
 being a real novice with freebsd (I have experience of linux) could
 you please explain straightforwardly HOW and WHERE I should apply the
 patch?

Easiest way is to save that PR to a text file, then cd to /usr/src, 
and use the patch command:

cd /tmp
fetch -o 81846 http://www.freebsd.org/cgi/query-pr.cgi?pr=81846;
cd /usr/src
patch  /tmp/81846

Then rebuild and install a new kernel and reboot.

-- 
Dan Nelson
[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: Gimp 2 does not come with help?

2005-07-20 Thread Fabian Keil
JeuMeu [EMAIL PROTECTED] wrote:

 I downloaded 2.2.8 = no help ! A friend of mine has an older version, still
 no help with it !
 
 When I press F1, the error msg reads : Cannot open « C:\Program Files\GIMP
 2.2.8\share\gimp\2.0\help\en\gimp-help.xml ».
 I checked with the download, seems OK (no bugs in the .ZIP files I extracted
 to C:\Program Files\GIMP 2.2.8\... ).
 Where the snag ? I created subfolder: \help\en\, just in case. But still no
 XML file.

What's the connection to FreeBSD? Are you using wine to run the
windows binaries?

 I'm seeking a tutorial I can work with on my PC, just to get the basics,
 from there I'll set my little grey matter to b become a clever user. Gimp
 seems fabulous, but I'm just a bug, you know...?
 Thanks for your help.

Some say Grokking the GIMP was a good book.
http://gimp-savvy.com/BOOK/node3.html

 PS : Would you know a way to securely lock (no cut/no paste; it's amazing
 how people can be malicius...) a small graphic file (my real [graphic]
 signature. I need that for Outlook Express.

I have no clue what you are talking about, but as I don't
run Outlook Express, I probably couldn't help anyway.

Fabian
-- 
http://www.fabiankeil.de/


pgpJxdbTiXEhD.pgp
Description: PGP signature


Re: bridging

2005-07-20 Thread Sushubh
their is a bridge software in linux which can do that...
http://bridge.sourceforge.com

On 20 Jul 2005 09:38:22 -0400, Lowell Gilbert 
[EMAIL PROTECTED] wrote:
 
 Sushubh [EMAIL PROTECTED] writes:
 
  I am going to install FreeBSD on a machine we plan to make a server.
 
  Now, we have 2 lines of internet coming to our place through 2
  separate lan modems. I want the server to take these 2 lines and
  combine the speeds to form a single line which can be used by our lan
  to access the internet.
 
  I have got 3 lan cards on the linux machine. 2 for the incoming
  connections from the 2 lan modems which have the gateways 
  192.168.1.1http://192.168.1.1
  and 192.168.1.100 http://192.168.1.100.
 
  How do I go ahead with making my server a gateway offering combined
  bandwidth to our lan?
 
 I'm not sure I understand your message, but:
 How do you do it with the Linux machine?

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


Re: Delete files in directory...

2005-07-20 Thread Garrett Cooper

Ivailo Tanusheff wrote:

Giorgos Keramidas [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]

07/19/2005 05:34 PM

To
Jonathan Glaschke [EMAIL PROTECTED]
cc
freebsd-questions@freebsd.org
Subject
Re: Delete files in directory...






On 2005-07-19 16:27, Jonathan Glaschke [EMAIL PROTECTED] 
wrote:
 


On Tue, Jul 19, 2005 at 12:50:01PM +0300, Casper wrote:
   


Sorry, simple, stupid q. How to make that what come in directory
/usr/files/ for example are erased? Or only put in cron after while
do rm /usr/files/*?
 

Yes, using cront to do that is possible and i think there is no reason 
   


against
 


cron.

you need rm -rf /usr/files/* if there are directories too in 
   


/usr/files..

This doesn't remove .* subdirs.  A more complete alternative that
doesn't move /usr/files under the feet of programs that may have it
open as their current working directory is probably:

rm -fr /usr/files/* /usr/files/.[^.]*

Be very careful with the -r option of rm(1) though.  VERY careful.

Just my $0.02,
- Giorgos


Why don't you use:
find /usr/files/ -delete
 

rm -Rf does the same thing (with removing .* files), but once again, be 
very wary of the -r and -R flags since they can cause a lot of damage if 
used improperly.

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


Re: bridging

2005-07-20 Thread Lowell Gilbert
Don't top-post, please.

 On 20 Jul 2005 09:38:22 -0400, Lowell Gilbert 
 [EMAIL PROTECTED] wrote:
  
  Sushubh [EMAIL PROTECTED] writes:
  
   I am going to install FreeBSD on a machine we plan to make a server.
  
   Now, we have 2 lines of internet coming to our place through 2
   separate lan modems. I want the server to take these 2 lines and
   combine the speeds to form a single line which can be used by our lan
   to access the internet.
  
   I have got 3 lan cards on the linux machine. 2 for the incoming
   connections from the 2 lan modems which have the gateways 
   192.168.1.1http://192.168.1.1
   and 192.168.1.100 http://192.168.1.100.
  
   How do I go ahead with making my server a gateway offering combined
   bandwidth to our lan?
  
  I'm not sure I understand your message, but:
  How do you do it with the Linux machine?

Sushubh [EMAIL PROTECTED] writes:

 their is a bridge software in linux which can do that...
 http://bridge.sourceforge.net

That doesn't do what you described.  That's just regular bridging, to
connect two links into a single subnet.  FreeBSD can do that quite
well (there's a whole chapter titled bridging in the FreeBSD
Handbook), but it doesn't have anything to do with load balancing
across the two links, which is what you said you were after.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unable to erase CD-RW discs

2005-07-20 Thread Mervin McDougall
Goodday all
  I recently discovered a problem on this personal
server of mine. I use an LG 8080B/1.06 CD-RW drive. I
have been able to install FreeBSD on the drive as
normal, using the drive. I have also been able to burn
ISOs of parts of my file system as backup, provided
the CD-RW disks are blank. However, a peculiar thing
happens when I try to blank or erase a CD-RW disk. The
server just hangs.When I abort the process using
Ctrl+C I am unable to restart the  erase procedure
again unless i reboot. I usually get an error report
indicating IOCD.. is busy. I can't remember the error
report exactly.

I have tried running the burncd program with verbose
settings burncd -vf /dev/acd0 erase but that has not
yeilded any information. It hangs as usual. I am not
sure whether this is a problem that has been
identified and whether it has been fixed in
succsessive version of  FreeBSD. I use FreeBSD 5.3
p-18 by the way.  I would appreciate any inputer I can
get on this and would be willing to provide any extra
information needed. 

Thanks 
Mervin McDougall

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: Helpdesk/Call tracking software

2005-07-20 Thread Cezar Fistik
Dear group,

Sorry for OT, but I'm sure someone in this group can help me. I'm
looking for an open source helpdesk/call tracking application for use
in an ISP customer support dept. We need something that will allow us
to register all incomming calls, to assign tasks to different
admnis/engineers according to customer's problem, to be able to see
the status of each opened issue and so on. Nothing unusual.

I made a search and found a number of such applications, but there are
so many...it wouldn't be possible to test all of them. So please just
tell me what you are using and how would you rate it.

Thank you very much.
-- 
Best regards,
Cezar  mailto:[EMAIL PROTECTED]


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


'make' no longer working

2005-07-20 Thread Chris

5.2.1-RELEASE

I now get this whenever I try to use 'make' to install a port:

server# make
/usr/ports/Mk/bsd.port.mk, line 1: Malformed conditional 
(${_TMLINKS:M/usr/local*}x != x)
/usr/ports/Mk/bsd.port.mk, line 4: Malformed conditional 
(${_TMLINKS:N/usr/local*}x != x)
/usr/ports/Mk/bsd.port.mk, line 5: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 5: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 6: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 6: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 7: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 7: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 9: warning: duplicate script for target .if 
ignored
/usr/ports/Mk/bsd.port.mk, line 9: warning: duplicate script for target x 
ignored
/usr/ports/Mk/bsd.port.mk, line 4860: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4860: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4865: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4865: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4866: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4866: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4875: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4875: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4877: warning: duplicate script for target 
.if ignored
/usr/ports/Mk/bsd.port.mk, line 4877: warning: duplicate script for target 
x ignored
/usr/ports/Mk/bsd.port.mk, line 4879: if-less endif
/usr/ports/Mk/bsd.port.mk, line 4879: Need an operator
/usr/ports/Mk/bsd.port.mk, line 5234: if-less endif
/usr/ports/Mk/bsd.port.mk, line 5234: Need an operator
make: fatal errors encountered -- cannot continue


My make.conf =

server# cat /etc/make.conf

# NO_OPENSSH=true

# perl stuff
PERL_ARCH=mach
NOPERL=yo
NO_PERL=yo
NO_PERL_WRAPPER=yo


# added by use.perl 2005-06-26 07:31:13
PERL_VER=5.8.7
PERL_VERSION=5.8.7


Any ideas? Google let me down ...

Thanks,
Chris


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


Re: Some sort of filter based filesystem

2005-07-20 Thread Svein Halvor Halvorsen

* Lowell Gilbert [2005-07-20 09:19 -0400]
  You're right that the outputs wouldn't *have* to be pre-generated, but 
  doing it on the fly would make the project both more difficult to 
  implement and (I think) less convenient to use.

This, I do not get. Why is it, that this would be less convenient? In 
fact, I see no other use for this than to save disk space when you want 
data available in several (information perserved) formats?


  It would be pretty slow if you really did generate it on the fly.  

This is correct, and this is why this would not fit for all cases. 
However, alot of the time, one could want to sacrifice speed for space 
and the convenience of having just one master dataset to maintain.


  Also, a lot of other things would get very tricky: for example, you 
  wouldn't have the file size available when listing a directory of 
  virtual files.

This could be a real problem, I agree.


Regards, 
Svein Halvor

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


(5.4) gaim available in i386 but not amd64?

2005-07-20 Thread Bill Schoolcraft
Hello Family,

I was able to build gaim in 5.4 on i386 but it's not available in 5.4
on amd64...

Is there any workaround for this?

Thanks

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I have found a pc on the side curb

2005-07-20 Thread Ed Stover
David Kelly wrote:
 On Mon, Jul 18, 2005 at 11:46:20AM -0400, Jason Stewart wrote:
 
There are ways to get into a machine without using the password but
the only right thing to do in your case would be to reinstall FreeBSD
and just use the box that way instead of trying to get at the
pre-existing and most likely private installation.
 
 
 Betcha that defeats his purpose. Its not to have a FreeBSD machine but
 to be nosey to find out what is on the one he found.
 
 With physical access to the system its pretty easy to change the root
 password. Is not as if the filesystems are encrypted. Am sure its in the
 archives somewhere but I don't intent to make it easy by saying how.
 
 Is much harder to force change the password without leaving a
 significant trail.
 

Kinda reminds me of what the toor acount was really about.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bridging

2005-07-20 Thread Greg Barniskis

Lowell Gilbert wrote:

Don't top-post, please.



On 20 Jul 2005 09:38:22 -0400, Lowell Gilbert 
[EMAIL PROTECTED] wrote:


Sushubh [EMAIL PROTECTED] writes:



I am going to install FreeBSD on a machine we plan to make a server.

Now, we have 2 lines of internet coming to our place through 2
separate lan modems. I want the server to take these 2 lines and
combine the speeds to form a single line which can be used by our lan
to access the internet.

I have got 3 lan cards on the linux machine. 2 for the incoming
connections from the 2 lan modems which have the gateways 
192.168.1.1http://192.168.1.1
and 192.168.1.100 http://192.168.1.100.

How do I go ahead with making my server a gateway offering combined
bandwidth to our lan?


I'm not sure I understand your message, but:
How do you do it with the Linux machine?



Sushubh [EMAIL PROTECTED] writes:



their is a bridge software in linux which can do that...
http://bridge.sourceforge.net



That doesn't do what you described.  That's just regular bridging, to
connect two links into a single subnet.  FreeBSD can do that quite
well (there's a whole chapter titled bridging in the FreeBSD
Handbook), but it doesn't have anything to do with load balancing
across the two links, which is what you said you were after.


I think Lowell is right; bridging is not routing and is not going to 
load balance your ISP links. Even if you figure out how to make 
FreeBSD route your outbound traffic as if the two lines were one, it 
cannot really work unless both lines go to the same ISP router and 
they cooperate with you. They'd have to configure their router to 
treat the two lines as one, to load balance your inbound traffic.


For example, we have multiple ISP links (one fiber optic and two T-1 
lines) all from the same ISP. The two T-1 lines are configured with 
load balancing to effectively form a combined 3 Mbps link (but this 
is done with Cisco IOS, not FreeBSD).


Even though they all go into the same router on our end, the two T-1 
lines cannot be load balanced with the fiber link because the fiber 
and T-1 lines end in two different ISP routers on the far side 
(actually in two different POPs). So, we just have the ISP router 
configured to use the fiber if it's up, or to use the combined T-1's 
if fiber goes down.




--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: two default routes

2005-07-20 Thread Ed Stover
Emanuel Strobl wrote:
 Am Montag, 18. Juli 2005 05:25 CEST schrieb Jon Falconer:
 
I have two ISP connections, a 45Mb and a 6Mb. Depending on what block of
local addresses a packet is coming from will determine which ISP I want
to send the packet out. In essence the default route used for a packet
depends on its source address (for traffic leaving our campus.) Can
someone tell me what package I should read up on (ip,ipf,ipfw,other)? or
 
 
 See IPFWs fwd or PFs route-to and reply-to.
 
 -Harry
 
 
if I should just do this with a real router and not FreeBSD?

Thanks for your insights,

Jon

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

I am an ipfw advocate but I have seen a number of different people do
this with OPENBSD's pf on FreeBSD. Google it try load balance pf freebsd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ps -awux

2005-07-20 Thread Greg 'groggy' Lehey
On Wednesday, 20 July 2005 at 13:08:25 +, jdyke wrote:
 Akhthar Parvez. K wrote:
 Hello,

 When I run the command ps -awux from a user's bash shell(not root), it's
 listing the processes under the particular user only. Can anyone tell me
 why?

 -u matches user

 man ps

This is not the way you think.  u specifies specific user-related
attributes, but not for a specific user:

 -u  Display information associated with the following keywords: user,
 pid, %cpu, %mem, vsz, rss, tt, state, start, time, and command.
 The -u option implies the -r option.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
The virus contained in this message has mutated and will now attack
unsuspecting Microsoft boxen.  LEMIS anti-virus has detected the
problem, but is too busy laughing to do anything about it.
For further details see http://www.lemis.com/grog/lemis-virus.html

Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpVRBhkyANOH.pgp
Description: PGP signature


Re: OT: Helpdesk/Call tracking software

2005-07-20 Thread Philip Hallstrom

Never used it, but RT always seems to get good praise...

http://www.bestpractical.com/rt/

On Thu, 21 Jul 2005, Cezar Fistik wrote:


Dear group,

Sorry for OT, but I'm sure someone in this group can help me. I'm
looking for an open source helpdesk/call tracking application for use
in an ISP customer support dept. We need something that will allow us
to register all incomming calls, to assign tasks to different
admnis/engineers according to customer's problem, to be able to see
the status of each opened issue and so on. Nothing unusual.

I made a search and found a number of such applications, but there are
so many...it wouldn't be possible to test all of them. So please just
tell me what you are using and how would you rate it.

Thank you very much.
--
Best regards,
Cezar  mailto:[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]


Re: cannot install ntop under freeBSD 5.5

2005-07-20 Thread PK

hi

did you install ntop on your freeBSD 5.4 without any errors ?

under freeBSD 5.2.1 on the same hardware I didn't have any problems with ntop 
installation.

I have cleand ntop  rrdtool ports, reinstalled again, but still get this 
errors:

MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c  -fPIC -DPIC -o .libs/rrdPlugin.lo
rrdPlugin.c: In function `graphCounter':
rrdPlugin.c:583: error: too few arguments to function `rrd_graph'
rrdPlugin.c: In function `netflowSummary':
rrdPlugin.c:728: error: too few arguments to function `rrd_graph'
rrdPlugin.c: In function `graphSummary':
rrdPlugin.c:926: error: too few arguments to function `rrd_graph'
gmake[3]: *** [rrdPlugin.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/ntop.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade26423.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! net/ntop (ntop-3.1_1) (compiler error)
---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed








 --- On Wed 07/20, Lowell Gilbert  [EMAIL PROTECTED]  wrote:
From: Lowell Gilbert [mailto: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Date: 20 Jul 2005 16:32:37 -0400
Subject: Re: cannot install ntop under freeBSD 5.5

PK [EMAIL PROTECTED] writes:brbr sorry I mean freeBSD 5.4 br br 
I have the newest ports tree update and I've cleaned the ntop port directory 
before building.br br It still doesn't work and I get the same 
errors.brbrWell, whatever wrong is particular to your machine, because no 
onebrelse has seen this problem.  If you want to try to figure out 
what,bryou can start with the advice I gave in my earlier message, 
aboutbranalyzing the compiler error.br

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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


Re: Still have questions on portupgrade database problems

2005-07-20 Thread Joan Picanyol i Puig

paul beard wrote:
FWIW, I can use an incantation of portmanager to find the outdated  
ports and use portupgrade on the one by one.


portmanager -u is your friend. It may take longer, since it ensures 
everything is rebuilt, but it's been more reliable for me.


qvb
--
pica

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


Re: cannot install ntop under freeBSD 5.5

2005-07-20 Thread Giorgos Keramidas
On 2005-07-20 19:10, PK [EMAIL PROTECTED] wrote:

 hi

 did you install ntop on your freeBSD 5.4 without any errors ?

 under freeBSD 5.2.1 on the same hardware I didn't have any problems with ntop 
 installation.

 I have cleand ntop  rrdtool ports, reinstalled again, but still get this 
 errors:

 MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c  -fPIC -DPIC -o .libs/rrdPlugin.lo
 rrdPlugin.c: In function `graphCounter':
 rrdPlugin.c:583: error: too few arguments to function `rrd_graph'
 rrdPlugin.c: In function `netflowSummary':
 rrdPlugin.c:728: error: too few arguments to function `rrd_graph'
 rrdPlugin.c: In function `graphSummary':
 rrdPlugin.c:926: error: too few arguments to function `rrd_graph'
 gmake[3]: *** [rrdPlugin.lo] Error 1
 gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop'
 gmake: *** [all] Error 2
 *** Error code 2

 Stop in /usr/ports/net/ntop.
 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade26423.0 
 make
 ** Fix the problem and try again.
 ** Listing the failed packages (*:skipped / !:failed)
 ! net/ntop (ntop-3.1_1) (compiler error)
 ---  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

Are you sure you have an up to date ports tree and there are no stale
work directories in it?

Have you installed the latest version of rrdtool?

Apparently, you are using portupgrade.  Try updating both the
dependencies of ntop and the packages that depend on ntop:

# portupgrade -a -N -vu -R net/ntop
# portupgrade -a -N -vu -r net/ntop

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


  1   2   >