Re: VMware Player 2 Linux on 6.2-RELEASE

2007-08-23 Thread CyberLeo Kitsana
Adam J Richardson wrote: > I'm doing this because it'd be nice if I could suspend the VM, copy it > to USB stick, transfer it to BSD and start it again, so I could use the > Windows box for playing a game or watching a movie while the make runs. Unless the two machines have identical CPUs with ide

Re: /var or /usr for data?

2007-08-25 Thread CyberLeo Kitsana
Wojciech Puchar wrote: >> It would appear that the "proper" allocation of filesystems on FreeBSD is >> to put all data in /usr. I'm used to this and have been doing it for >> years. > > my favourite "proper" allocation is to make ONE partition (/) and > nothing more. and forget all problems about

Re: How to block 200K ip addresses?

2007-08-25 Thread CyberLeo Kitsana
Kevin Downey wrote: > I would use the pf firewall, it has an option to file tables from a file like: > > table persist file "/root/evil.txt" > > [EMAIL PROTECTED] /root% wc -l evil.txt > 178438 evil.txt > > so its not 300k lines but it takes seconds to load. I attempted something similar wit

Re: filesystem types

2007-08-26 Thread CyberLeo Kitsana
Jim Pazarena wrote: > I installed an amd 64 bit 6.2 freebsd with the default filesystem (on 3 > drives) > and my MySQL seems to have a 4Gb limit. Is there another filesystem I > can select > which bypasses this limit? > > Where can I read about available filesystems on FreeBSD? http://jeremy.zawo

Re: quick pf source-based routing question

2007-08-30 Thread CyberLeo Kitsana
Eric Crist wrote: > Hey, > > We have a problem here at the office that I'd like to solve with pf and > source-based routing. > > How would I write a rule with pf to route any traffic from 10.1.1.1 > across a specific interface? Perhaps some permutation of the following? pass in on $int_if route

Re: file patterns and tar

2007-08-30 Thread CyberLeo Kitsana
Jim Stapleton wrote: > I want to create a backup of some parts of my system, but not everything > > ex, I want to exclude /bin, and /usr/bin, but not /usr/local/bin - > same for *sbin, *lib, and *libexec > > however, if I used > > tar -jcvf test.tbz \ > --exclude /bin --exclude /usr/bin \

Re: Confusion on SSH and PAM

2007-09-25 Thread CyberLeo Kitsana
Rakhesh Sasidharan wrote: > Any ideas or nudges in the right direction as to why this is happening? > Looks like I've understood the interaction between SSH and PAM wrong > here, so would appreciate some enlightenment. According to my understanding of the SSH protocol, you're continually asked bec

Router with multiple DSL uplinks

2007-03-04 Thread CyberLeo Kitsana
Hi! I'm trying to configure a NAT router with multiple DSL uplinks from the same provider. Everything seems to work properly, except when connecting via PPPoE--the second link to come up receives an error while attempting to configure the second tun interface, as both links assign addresses in the

Solved: Router with multiple DSL uplinks

2007-03-07 Thread CyberLeo Kitsana
CyberLeo Kitsana wrote: > Hi! > > I'm trying to configure a NAT router with multiple DSL uplinks from > the same provider. Everything seems to work properly, except when > connecting via PPPoE--the second link to come up receives an error > while attempting to configure t

dump/restore corrupted filesystems

2007-04-15 Thread CyberLeo Kitsana
Hi! I have a 1.2TB UFS2 filesystem with irrecoverable corruption. As such, I must move all 500GB or so of data off of it and re-newfs it. Does anybody know whether dump/restore can gracefully handle filesystem corruption, or will it happily back up and restore said damage to the pristine filesyst

Re: dump/restore corrupted filesystems

2007-04-16 Thread CyberLeo Kitsana
Roland Smith wrote: > On Mon, Apr 16, 2007 at 09:11:48AM -0500, CyberLeo Kitsana wrote: >> I have a 1.2TB UFS2 filesystem with irrecoverable corruption. As such, I >> must move all 500GB or so of data off of it and re-newfs it. > > If the corruption is due to hardware

Re: dump/restore corrupted filesystems

2007-04-18 Thread CyberLeo Kitsana
Roland Smith wrote: >> Sorry if I wasn't clear. Most all of the data is readable and complete >> if I mount the filesystem read-only. It just panics the box when mounted >> read/write, and fsck can't fix the damage. > > That might be worth filing a PR for, especially the panics. > > Exactly what

Re: dump/restore corrupted filesystems

2007-04-18 Thread CyberLeo Kitsana
Jerry McAllister wrote: >> Smart says that the drives are fine, as does the manufacturer's disk >> fitness tools. All the files that are readable contain correct data, but >> the files that are corrupt are totally not readable, and cannot even be >> removed manually: > > Given that, I would try to

Re: dump/restore corrupted filesystems

2007-04-18 Thread CyberLeo Kitsana
Roland Smith wrote: >> --8<-- >> ** Phase 2 - Check Pathnames >> DIRECTORY CORRUPTED I=93409222 OWNER=1002 MODE=40755 >> SIZE=512 MTIME=Feb 10 00:49 2007 >> DIR=? >> >> UNEXPECTED SOFT UPDATE INCONSISTENCY > > Did these problems start after a crash? It's possible, but I cannot be absolutely ce

Re: normal mount points

2007-04-29 Thread CyberLeo Kitsana
Graham North wrote: > /net > /host /net and /host are populated by the NFS automounter daemon present in freebsd 4.x. My (ancient) 4.11 dev server has the same, enabled by an option in sysinstall. Accessing hosts and shares within these directories will, in theory, trigger the automounter daemon

Re: normal mount points

2007-04-29 Thread CyberLeo Kitsana
Graham North wrote: > Hi CyberLeo: > > Thank you for such a full response! - now as to my understanding..? > Does this mean that my Samba is likely to trigger this automount if I am > sharing files with my windows box(es)? If one or more of your samba shares include directories within /net or /h

Re: can't zip large files 2gb >

2007-05-04 Thread CyberLeo Kitsana
David Banning wrote: > I am attempting to zip large files that are 2GB - 3GB. If you wish to exclude the disks completely, you can try generating a large file on a known-good host and running md5 on it, then reading it via NFS on the suspect machine, piping through gzip and gunzip, and right into

Re: OT: Re: The worst error message in history belongs to... BIND9!

2007-07-04 Thread CyberLeo Kitsana
Andrea Venturoli wrote: > Robert Huff wrote: >> =?iso-8859-1?Q?Kyrre_Nyg=E5rd?= writes: >> >>> It has to be the worst written error message in history. >> >> Not even close. I commend to you the Amiga's BSOD: >> >> Software Guru >> Meditation Number >

panic: incompetent for BIO_WRITE

2007-12-22 Thread CyberLeo Kitsana
Hi! Just a few minutes ago, I noticed one of my machines was stuck with this message on the console: GEOM_RAID5: KASSERT in line 1352 panic: incompetent for BIO_WRITE cpuid = 0 Uptime: 1h33m15s GEOM_RAID5: raid5/raid5: device is still open, so it cannot be definitely removed. GEOM_RAID5: raid5: w

csup update actions

2007-12-26 Thread CyberLeo Kitsana
Hi! Does anyone know how csup handles updating changed files? Given that each branch of FreeBSD is nearly 500 megabytes in size, and undoubtedly contains a significant number of identical files from branch to branch, I figure it's feasable to create a new branch consisting entirely of files hardl

Re: Boot Loader Broken?

2008-01-22 Thread CyberLeo Kitsana
Schiz0 wrote: Can someone help me either solve the bootloader problem, or just how to get into single user mode? If, instead of the pretty, numbered boot loader menu, you get the old 4.x style 'Hit [Enter] to boot immediately' autoboot prompt, hit any key other than enter, then type 'boot -s'

Re: OT: finding every file not in a list

2010-01-28 Thread CyberLeo Kitsana
Aryeh M. Friedman wrote: > I have a list of files that should be in a dir tree and want to remove > any files from the tree not in list (i.e. if it is on the list keep it > else rm it)... any quick way to do this? # ls -1F keep old/ # find old old old/a old/a/1 old/a/4 old/b old/b/2 old/b/5 old/c

Re: Eject CD

2010-02-28 Thread CyberLeo Kitsana
Matthew Seaman wrote: > On 28/02/2010 05:01:48, Olivier Nicole wrote: > >> What in a standard installation of FreeBSD, on a server running only >> MySQL and Postgress, could cause the CD tray to open by itself from >> time to time? > > Dodgy hardware? If the manual eject button is a bit sticky,

Ports overlay

2010-03-07 Thread CyberLeo Kitsana
Hi! By necessity and convenience, I have developed a series of additions and changes to the ports tree. These changes are probably not worthy of inclusion into the official tree, so I'm looking to maintain an overlay, of sorts, in the spirit of Gentoo's overlay capability. Is there an official me

Re: Ports overlay

2010-03-08 Thread CyberLeo Kitsana
On 03/07/2010 03:47 AM, Matthew Seaman wrote: > On 07/03/2010 08:45:41, CyberLeo Kitsana wrote: > >> By necessity and convenience, I have developed a series of additions and >> changes to the ports tree. These changes are probably not worthy of >> inclusion into the offic

Re: Installation on HP Proliant via iLO -> "Error mounting /dev/acd0 on /dist"

2010-04-23 Thread CyberLeo Kitsana
On 04/23/2010 06:51 AM, Ewald Jenisch wrote: > On Thu, Apr 22, 2010 at 06:36:39PM -0600, Tim Judd wrote: >> >> ... >> Most remote management devices like Dell's DRAC and HP's iLO should >> present the drive to the OS as a USB rom. The new IPMI management >> cards are still unknown. > > Oops, now

Re: bash while read question

2010-05-05 Thread CyberLeo Kitsana
On 05/05/2010 08:25 PM, Evuraan wrote: > I cant figure out why the variable in in loop2 does not hike to +1? > (its a friday, i am dazed, I admit. but this should not be a mystery!) > any help would be much appreciated. > > $ cat loop2 > #! /bin/bash > > date > /tmp/somefile > b="1" > cat /tmp/so

Re: vsftpd with ssl - compile option

2009-08-09 Thread CyberLeo Kitsana
Stefan Miklosovic wrote: > hi, > > I would like to use vsftpd with ssl support. > If I install it from ports, there is an option to > compile it against ssl librarie(s) (VSFTPD_SSL) > If I download it by pkg_fetch and extract the package > and use ldd on vsftpd in libexec directory, > there is no

Re: what www perl script is running?

2009-08-25 Thread CyberLeo Kitsana
Colin Brace wrote: > > Ruben de Groot wrote: >> Try a find through the entire filesystem for files owned by this user that >> you can't account for. Also check your cron and at files under /var/cron >> and >> /var/at >> > > I found the cronjob which keeps restarting the script: > > [r...@venus

Re: ipfw, pf and ALTQ on outbound traffic? (or: "The net is slow when I upload!")

2009-03-24 Thread CyberLeo Kitsana
Morgan Wesström wrote: > Jubal Kessler wrote: >> (To put it another way: When I max out my upstream, and my upstream is >> capped lower than my downstream, my downstream becomes useless and I am >> forced to wait until the upload finishes before I can resume using the >> downstream. This is a probl

Re: msk0: watchdog timeout (missed Tx interrupts)

2009-04-04 Thread CyberLeo Kitsana
Fred wrote: > Hi, > > I recently upgraded from 6.3 to 7.1 (7.1-RELEASE-p4) with freebsd-update, > and I now have problems with msk0 very often (which I did have before) : > > Mar 30 20:14:19 blackbox kernel: msk0: watchdog timeout (missed Tx > interrupts) -- recovering > Mar 30 20:14:58 blackbox

Re: Playing back motion jpeg saved by firefox

2008-06-10 Thread CyberLeo Kitsana
[EMAIL PROTECTED] wrote: I just discovered that firefox can save motion video in addition to displaying it. But I don't know how to play back the saved video.cgi file. Mplayer complains about missing configuration data. Does anyone know how to play back the file saved by firefox? In this insta

Periodic scripts running twice

2008-08-04 Thread CyberLeo Kitsana
Hi! For a while, I've noticed odd behavior with periodic scripts installed by certain ports (portaudit) as well as ones I've penned myself (corescan), in that they appear to be run twice in succession every time. Base system scripts, and some add-on scripts (freshclam) are run only once, eve

Re: Periodic scripts running twice

2008-08-05 Thread CyberLeo Kitsana
RW wrote: On Mon, 04 Aug 2008 13:21:36 -0500 CyberLeo Kitsana <[EMAIL PROTECTED]> wrote: Hi! For a while, I've noticed odd behavior with periodic scripts installed by certain ports (portaudit) as well as ones I've penned myself (corescan), in that they appear to be run twi

[Solved] Re: Periodic scripts running twice

2008-08-05 Thread CyberLeo Kitsana
CyberLeo Kitsana wrote: RW wrote: On Mon, 04 Aug 2008 13:21:36 -0500 CyberLeo Kitsana <[EMAIL PROTECTED]> wrote: Hi! For a while, I've noticed odd behavior with periodic scripts installed by certain ports (portaudit) as well as ones I've penned myself (corescan), in that t

Re: Free wireless network (access point, router, transparent HTTP proxy setup)

2008-08-11 Thread CyberLeo Kitsana
Svein Halvor Halvorsen wrote: An alternative to the inserted text in all http traffic (and probably easier to implement) is just to divert all unknown traffic to an internal ip-adress (using the firewall), and setup a web page on that address. Then have people click some button, which will rewrit

Re: installing in a ext3 partition?

2008-08-12 Thread CyberLeo Kitsana
Ismael wrote: Can freebsd make use of a linux-swap as swap space? FreeBSD doesn't need to format swap before use, and seems perfectly content using any contiguous span of blocks as swap space -- even ones containing filesystems (oops!). Afterwards, you will need to re-mkswap the partit

Re: Best SMTP Gateway Program and Reporting Tools

2008-08-19 Thread CyberLeo Kitsana
Robby Balona wrote: > Postfix is also ok but never found a good virtual mail interface for it. vPostMaster (http://www.tummy.com/Products/vpostmaster/) is a decent virtual mailbox interface for Postfix, if you can get past the dual-licensing and linux-centric installer. It's written in Python for

Re: Shell scripts: variable assignment within read loops

2008-08-19 Thread CyberLeo Kitsana
David Wolfskill wrote: > foo="" > cat $filename | while read bar ... ; do >... > foo=$bar >... > done > echo $foo > A trick I've used to great advantage in bourne shell and bash for passing multiple variables back is to produce small snippets of she

Re: Squid not starting from rc in Jail, however works when run from root as command??

2010-06-01 Thread CyberLeo Kitsana
On 06/01/2010 03:14 AM, Kaya Saman wrote: > Kaya Saman wrote: >> Hi guys, >> >> I've just built a new BSD server running on a Mini-ITX NAS chassis and >> it's working beautifully :-) >> >> I also took the time to learn how to build jails too as this is only >> my second BSD build so am still really

Re: Sluggish Apache Server

2010-06-04 Thread CyberLeo Kitsana
On 06/03/2010 03:23 PM, Barry Steyn wrote: > Hi guys, > > We're having a serious problem here with our live server, it's very > sluggish all of a sudden. The problem is that Apache is *really* slow > responding to https requests but still fairly quick on http. Running out of entropy, perhaps? Pub

Re: /var/empty has schg flag turned on. Why?

2010-06-04 Thread CyberLeo Kitsana
On 06/04/2010 02:59 AM, Fbsd1 wrote: > Why does the base RELEASE have schg flag turned for the /var/empty > directory? > > Is that directory really used for anything? > > Is this a release build problem? Certain daemons will chroot(2) to that directory to perform sensitive privilege-separation o

Re: .sh & getopts

2010-06-05 Thread CyberLeo Kitsana
On 06/05/2010 10:56 PM, Aiza wrote: >i) action="installworld"; $flag_count=$((flag_count+1));; > ... > What is still wrong here Bourne shell expands variables to their contents before evaluating. Thus, the above assignment ends up expanding to '0=1'. Leave out the $ on the target variable, and

Atheros AR8131 Ethernet hangs shutdown

2010-06-07 Thread CyberLeo Kitsana
Hi! I recently had the chance to play with a Foxconn NetBox-nT330i. It's based off an Atom 330 CPU and an nForce MCP79 chipset. All aspects of this device appear to function quite well with 8.1-BETA1, and it's diminutive stature is quite cute. The only issue I have encountered with it thus far is

Re: Atheros AR8131 Ethernet hangs shutdown

2010-06-08 Thread CyberLeo Kitsana
On 06/07/2010 08:03 AM, Warren Block wrote: > On Mon, 7 Jun 2010, CyberLeo Kitsana wrote: > >> I recently had the chance to play with a Foxconn NetBox-nT330i. It's >> based off an Atom 330 CPU and an nForce MCP79 chipset. All aspects of >> this device appear to funct

Re: compiler flag -Werror

2010-06-16 Thread CyberLeo Kitsana
On 06/16/2010 08:02 AM, akash kumar wrote: > Hi all, > > I am working on building a freebsd kernel for mips. As part of this i built > cross tool chain for mips from my host machine(i386). > After that i was building my kernel using make buildkernel > KERNCONF="configfile" > > I noticed that t

Re: best open source site for Bourne .sh development project?

2010-07-05 Thread CyberLeo Kitsana
On 07/05/2010 06:37 PM, Fbsd8 wrote: > I developing a jailed environment application in Bourne script. Looking > for recommends for a open source web site to join and add my code to so > others may participate. The site needs to be able to host the code to be > used as the download location for a f

Re: system hangs on; "Probing devices, please wait (this can take a while)... "

2010-07-20 Thread CyberLeo Kitsana
On 07/20/2010 02:42 AM, Thomas Mueller wrote: > I've wondered why FreeBSD installation sets (base, etc, games, comp, man and > others) are broken into pieces of 1392 KB each as opposed to each > installation set in a single .tgz or .tbz (base.tgz, etc.tgz, comp.tgz, and > others: that's how NetB

Re: ports INDEX file

2010-07-23 Thread CyberLeo Kitsana
On 07/23/2010 03:56 AM, Fbsd8 wrote: > Now the Freebsd method of the 22,000 individual ports each with 3 to 5 > files is a method which has out lived its usefulness. TAKE NOTE: NO > FLAME WAR INTENDED. I just think a option should exist for us who don't > follow the bleeding edge. Sure to some peop

Re: Any awk gurus on the list?

2010-08-20 Thread CyberLeo Kitsana
On 08/20/2010 07:24 PM, Randal L. Schwartz wrote: > Every modern system that can run awk can also run Perl. Why not > concentrate on Perl? Unless perl is not installed, and you want to use only base system components. I frequently do this on my minimalist flashcard installations. -- Fuzzy love,

Re: Printing from Thunderbird

2010-08-20 Thread CyberLeo Kitsana
On 08/20/2010 11:29 PM, Rem P Roberti wrote: > Ah-ha! In my case I am using the bash shell, and I believe the syntax > that is needed for the .bashrc is different than what is used in your > csh.cshrc. Any idea where I can find the appropriate syntax for > variables stored within .bashrc? export

Re: Howto create FAT32 bootable USB device with gpart?

2010-08-27 Thread CyberLeo Kitsana
On 08/26/2010 10:34 AM, Hartmann, O. wrote: > Trying to create a bootable USB device (memory stick) with gpart - and > failed. I need those USB mem sticks for BIOS flashing purposes on an > older main PCB, utilizing FreeDOS. The old BIOS is capable of booting > off from USB mem sticks, since I boo

Re: Need supported SAS controller

2010-09-07 Thread CyberLeo Kitsana
On 09/07/2010 02:46 PM, Andrea Venturoli wrote: > Il 09/07/10 20:26, Torbjorn Granlund ha scritto: >> Is the any PCIe SAS controller that is supported by FreeBSD 8.1 that I >> can purchase today? The controller should preferably be low-profile. >> RAID is not needed since I have just one disk, but

Re: Exporting ZFS Pool

2010-09-07 Thread CyberLeo Kitsana
On 09/07/2010 09:25 PM, Pete Erickson wrote: > I'm relatively new to ZFS and have been playing around with different > file-backed set ups to determine how I will eventually configure my > pools. I've recently come across a problem with exporting a pool, but > I'm not sure if it's a bug or just my

Re: kernel replacement in installation media

2010-09-10 Thread CyberLeo Kitsana
On 09/10/2010 07:57 PM, Samuel Martín Moro wrote: > Hi, > ... > The thing is, it only have a 128M flash disk (seen as /dev/da0) > GENERIC needs almost 250M. I have run into something similar, while building a ZFS install to run on an Intel SS4200EHW NAS device. Utilizing a series of scripts I have

Discard file cache

2010-09-15 Thread CyberLeo Kitsana
Hi! I'm helping port a utility [1] to program the EyeFi card [2] and I seem to be running into problems properly manipulating the configuration. The card is programmed by writing encoded commands to certain hidden files on the card, and reading the coded responses back from other files. Since the

Re: compat4x broken in FreeBSD 8.1-RELEASE?

2010-09-22 Thread CyberLeo Kitsana
On 09/21/2010 10:01 PM, Steve Polyack wrote: > ... > options COMPAT_IA32 # Compatible with i386 binaries > ... > $ file /usr/local/ventrilo-server/ventrilo_srv > /usr/local/ventrilo-server/ventrilo_srv: ELF 32-bit LSB executable, > Intel 80386, version 1 (FreeBSD), dynamically l

Re: Mount order for ZFS, jails, and nullfs

2010-09-24 Thread CyberLeo Kitsana
On 09/24/2010 11:03 AM, Torbjorn Granlund wrote: > ... > Unfortunately, FreeBSD's mount seems unable to perform mounts of ZFS > volumes. Sure, it can: 8< (f84104b2)[r...@akisha ~]# zfs create akisha/mnttmp (f84104b2)[r...@akisha ~]# touch /zfs/akisha/mnttmp/test (f84104b2)[r...@akisha ~]#

Re: Disappearing available space with ZFS...what am I missing?

2010-09-29 Thread CyberLeo Kitsana
On 09/29/2010 12:56 AM, Aaron wrote: > I've created a ZFS pool with zpool create tank raidz ada0 ada1 ada2 > ada3, and then I add some additional mountpoints (I think they're > called) using zfs create tank/storage, etc. In zpool list, I see the > pool with 3.62T available. With df -h, I see 2.4T a

<    1   2