DHCP release/renew lease - elegant solution?

2008-10-17 Thread Nerius Landys
I have an always-on FreeBSD box which is connected to the internet. My ISP is some cable company and the IP address is determined via DHCP; I used to always get the same IP address but recently the address seems to be changing very frequently whenever I reboot the machine. My problem is that

Re: Installation

2008-11-20 Thread Nerius Landys
I've being using FreeBSD ever since 6.0 and I am a very good fan. But I got a new laptop computer, a Sony VAIO VGN-BX760 that has a hidden recovery partition. I've tried all my best to install FreeBSD 7.0 on it but when ever I insert the installation CD and it boots from the cdrom, the kernel

named and ntpd start order in rc.d

2008-11-21 Thread Nerius Landys
FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It continues to have 2 processes running, the process which does the DNS lookup fails to exit, and ntpd fails to adjust the clock even after days of running. Immediately after bootup and several hours or days later this is what I

Re: named and ntpd start order in rc.d

2008-12-03 Thread Nerius Landys
FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It continues to have 2 processes running, the process which does the DNS lookup fails to exit, and ntpd fails to adjust the clock even after days of running. Immediately after bootup and several hours or days later this is what

Re: named and ntpd start order in rc.d

2008-12-03 Thread Nerius Landys
FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It continues to have 2 processes running, the process which does the DNS lookup fails to exit, and ntpd fails to adjust the clock even after days of running. Immediately after bootup and several hours or days later this is what

Re: named and ntpd start order in rc.d

2008-12-03 Thread Nerius Landys
I don't know why those processes are hung after boot, but in order to troubleshoot the problem, I suggest that you modify the /etc/rc.d/ntpd script to invoke ntpd from truss and log the output to a file, e.g. /tmp/truss.log.$$. Once you've rebooted, kill the processes and post the the log

Re: named and ntpd start order in rc.d

2008-12-03 Thread Nerius Landys
When ntpd first starts up, it forks a child process to perform DNS resolution of the timeservers listed in its config. If that fails, that generally indicates that DNS was not working at the time, or something else was going wrong with the network. [ See ntpd/ntp_config.c, search for fork()

Re: named and ntpd start order in rc.d

2008-12-05 Thread Nerius Landys
This shouldn't be needed as ntpd already requires ntpdate and in turn ntpdate requires named. The issue is probably timing - that named isn't ready. Actually, the REQUIRE thing in the /etc/rc.d scripts means if the required service is enabled, start it before this one. It does not mean start

Re: named and ntpd start order in rc.d

2008-12-05 Thread Nerius Landys
That's not correct. BEFORE and REQUIRE are used by rcorder to determine the ordering of the scripts without checking if they are enabled. Actually all scripts get run - if you don't enable ntpdate then rc.d/ntpdate still runs, but doesn't do anything. My mistake. But then I don't

Wireless router?

2008-12-22 Thread Nerius Landys
I have a PC with FreeBSD set up as a router (NAT). The PC has several network cards and I'm grouping the internal-facing network cards as a bridge (promiscuous mode for the interfaces). Everything works well. Now I'd like to extend my wired network to include wireless. I really have no

Re: Wireless router?

2008-12-22 Thread Nerius Landys
Thank you all for your suggestions. This will be a project for me over the holidays. I decided to go the standalone wireless router approach. I will need to figure out how to configure my standalone wireless router to pass everything through to the internal LAN that I already have. Also I

Re: NTPD on 7.1-PRERELEASE

2008-12-23 Thread Nerius Landys
There was recently a thread that I started relating to ntpd not starting correctly becuase DNS and network were not available at the time of start. Do a ps -U root | grep ntpd If you see 2 processes, then the thread I mention may apply to you. If you see one or no processes, then that thread

Re: Best torrent client/server available for FreeBSD?

2009-01-07 Thread Nerius Landys
rtorrent is very good, have been using it on my server for many months. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

shell scripting, how to auto-timeout?

2009-01-22 Thread Nerius Landys
This is a shell scripting question, it is not specific to FreeBSD. I am writing a script that I want to terminate after 1 second (because it has the potential to infinite loop). The script I have so far is: #!/bin/sh cd `dirname $0` CLASSPATH=mapgen.jar export CLASSPATH /usr/local/bin/java

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Nerius Landys
#!/bin/sh java() { echo 'start' sleep 5 echo 'stop' } sleep 1 kill $$ java kill $! { echo 'start' sleep 5 echo 'stop' } sleep 1 kill $$ java kill $! That is very genious. However, I had to add an exec to the parent script. Here

Re: shell scripting, how to auto-timeout?

2009-01-22 Thread Nerius Landys
Actually, because of the exec in the parent script, the line below it, the killing terminator process line, never gets reached. So the terminator process that waits to kill its parent always waits the full 5 seconds in the background. If I pipe the output of the parent script through less, it

Re: shell scripting, how to auto-timeout?

2009-01-23 Thread Nerius Landys
#!/bin/sh -T kill_all() { echo 'killing everything' kill $SPID $CPID 2 /dev/null exit 0 } trap kill_all SIGCHLD ./child CPID=$! sleep 5 SPID=$! echo child is $CPID echo sleeper is $SPID wait This is very nice. However I'm getting one problem still. My

Re: shell scripting, how to auto-timeout?

2009-01-23 Thread Nerius Landys
I decided that I want the exec line at the end of the script because I want the exit code of the script to be the exit code of the Java process. I'm willing to live with the fact that the sleep thread will wait its full 3 seconds. So my final script is this: #!/bin/sh cd `dirname $0`

security holes

2009-01-28 Thread Nerius Landys
I'm running 7.0-RELEASE and I want to defer upgrading to the current update (currently p9) and/or upgrading to 7.1 for as long as possible. I occasionally csup /usr/src and have a gander at /usr/src/UPDATING, but I don't understand to the fullest extent what security holes may affect my system.

Re: security holes

2009-01-28 Thread Nerius Landys
Ascertaining what security holes will affect your system is complicated. If you have to ask this question, then I recommend that you apply all security updates immediately and always assume that every vulnerability is a potential problem for you. Because 7.0 updates will no longer be made

Re: security holes

2009-01-29 Thread Nerius Landys
. On Thu, Jan 29, 2009 at 4:36 AM, Bill Moran wmo...@potentialtech.com wrote: Nerius Landys nlan...@gmail.com wrote: Ascertaining what security holes will affect your system is complicated. If you have to ask this question, then I recommend that you apply all security updates immediately and always

Re: [OT] Server hosting with FreeBSD

2009-03-05 Thread Nerius Landys
We´re looking for good hosting services that offer instalations of FreeBSD in dedicated servers. Any one could point some? Most of the companies offer Linux and Windows, but only few with FreeBSD. The one thar we use today, only install a fixed image. Just a

Re: problem rotating apache logs

2009-03-10 Thread Nerius Landys
I had to solve this same problem some time ago, and I used this mailing list to help me figure it out. See here: http://forums.freebsd.org/archive/index.php/t-1027.html Go to the very bottom, my last post has the answer. Maybe this will help you. It works very well for me.

Re: best archiver?

2009-03-13 Thread Nerius Landys
guys, this is for any compression experts on-list. my main desktop is nearly full. i'm looking for the best means of compressing [mostly] audio files. mp3, ogg, and .flag. i cross backup among my servers and would like to have the most reasoned approach to

Re: nmap as user works, root doesn't

2009-03-25 Thread Nerius Landys
Try compiling your kernel with bpf enabled. I had the same or at least a similar problem to what you're having and enabling device bpf in the kernel fixed the problem. On Wed, Mar 25, 2009 at 7:39 PM, Jimmie James jimmie...@gmail.com wrote: Can anyone make sense of this? Straight DSL

Re: nmap as user works, root doesn't

2009-03-25 Thread Nerius Landys
sorry about the top post. wish i could go back and fix it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: FreeBSD beastie plush toy?

2009-12-21 Thread Nerius Landys
Yeah, I'm very interested in one as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: portaudit php vulnerabilities

2009-12-25 Thread Nerius Landys
For the past week or so, portaudit has been warning me that the installed version of php on my system (php5-5.2.11_1) has known vulnerabilties. Fair enough. However, I've not seen a fix in the ports tree since then. Is my only option to deinstall php until this gets fixed? Hi. I've been

sshfs, nfs, etc. on FreeBSD

2010-01-08 Thread Nerius Landys
I'm looking for a lightweight, secure, and non-intrusive file sharing system for 2 servers in a data center. For example I'd like to [as an ordinary user] temporarily mount the home directory (/usr/home/) of one server to a temporary mount point on the other server, and then, assuming my user has

/etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
I'm running some programs using the /etc/rc.d/ and /usr/local/etc/rc.d/ startup scripts. I am wondering if there is some standard way to run these programs at a higher nice value. ___ freebsd-questions@freebsd.org mailing list

Re: /etc/rc.d/program nice value

2010-01-15 Thread Nerius Landys
That means you can write this in your /etc/rc.conf file: apache22_enable=YES apache22_nice=10 Hope that helps, Oh yes, that helps a lot. Thanks! ___ freebsd-questions@freebsd.org mailing list

Re: Running PHP File under Crontab...

2010-01-17 Thread Nerius Landys
I am wanting to execute a PHP file 5 times a day via crontab. Is it possible?  If so what is the proper crontab command for this? Hi. I'm running several PHP programs via cron. #1 Make sure you have CLI (command line interface) in your PHP port: As root, cd /usr/ports/lang/php5 make

Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip

2010-01-19 Thread Nerius Landys
Been trying to install /usr/ports/java/jdk16 and get an error stating need to place tzupdater-1_3_21-2009p.zip into /usr/ports/distfiles... have gone to sun and file is no longer there, and have searched internet for it but to no avail. Does someone have link where I can download the file?

FreeBSD 8.0 amd64 on Nehelem Xeon?

2010-01-22 Thread Nerius Landys
I'm in the process of purchasing a small Nehelem-based server (Xeon L5506 CPU to be exact). I will be installing some flavor of FreeBSD 8.0 (either i386 32 bit or amd64 64 bit, to be exact). I have no immediate need for a 64 bit server, as none of the processes that I will be running in the

Re: FreeBSD 8.0 amd64 on Nehelem Xeon?

2010-01-22 Thread Nerius Landys
There probably are some. If you are only interested in FreeBSD ports, you can make a list of which ports you need and then inspect their Makefiles to see if there's a flag disabling them on the amd64 architecture. OK thanks. Could you give me an example of a port that is disabled on 64 bit

Nehelem 64 bit, kern conf and /etc/make.conf

2010-01-30 Thread Nerius Landys
I just installed FreeBSD 8.0 (amd64) onto my new Nehalem-based system. CPU: Intel(R) Xeon(R) CPU L5506 @ 2.13GHz (2128.00-MHz K8-class CPU) Origin = GenuineIntel Id = 0x106a5 Stepping = 5

/root permission reset on boot

2010-01-31 Thread Nerius Landys
I'm running FreeBSD 7.1 i386, and even after I chmod 700 /root, after a reboot it goes back to permission 755. 1. What's the reason for this? There must be a good reason and I would like to know it. Everything in FreeBSD just makes sense and is well designed (honestly, no sarcasm here). 2. Would

Re: /root permission reset on boot

2010-02-01 Thread Nerius Landys
I'm running FreeBSD 7.1 i386, and even after I chmod 700 /root, after a reboot it goes back to permission 755. 1. What's the reason for this? There must be a good reason and I would like to know it. Everything in FreeBSD just makes sense and is well designed (honestly, no sarcasm here).

Re: which java on 8-release

2010-02-04 Thread Nerius Landys
Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1 and gave up. I see still no diablo for 8. What is the best way forward (and how am I so dense that no one else has even asked this question, I must be on the wrong track, no?) I saw a few posts about having to install

Re: How to set loader password

2010-02-06 Thread Nerius Landys
I was looking in /boot/loader.rc and found these lines: \ Tests for password -- executes autoboot first if a password was defined check-password OK, great, so: How do I set this password? What does it protect? Didn't find documentation in loader(8) and no man-page for loader.rc.

Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
I'm trying to send large UDP packets between 2 programs written in the Java programming language. These 2 programs will be running on 2 different hosts which are far apart. The test code for these programs is only a few lines and is here:

Re: Max UDP packet size + Java: weirdness

2010-02-09 Thread Nerius Landys
You've encountered: % sysctl net.inet.udp.maxdgram net.inet.udp.maxdgram: 9216 However, increasing it will guarantee that you will exceed even normal jumbo frame size and thus depend upon IP fragmentation / reassembly for the traffic. I don't consider that to be a good idea, but it

simple (and stupid) shell scripting question

2010-02-14 Thread Nerius Landys
#!/bin/sh I have these lines in my script: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` What if I got rid of extra double quotes? Like this: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` Does this behave any differently in any kind of case? Are thes double quotes just

Re: simple (and stupid) shell scripting question

2010-02-14 Thread Nerius Landys
From the man page: Command Substitution [...]  If  the  substitution  appears within double quotes, word splitting and       pathname expansion are not performed on the results. In other words: sh-4.0$ touch x y sh-4.0$ for i in `ls`; do echo $i; done x y sh-4.0$ for i in `ls`; do

Re: simple (and stupid) shell scripting question

2010-02-15 Thread Nerius Landys
#!/bin/sh DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` What if I got rid of extra double quotes?  Like this: DIRNAME=`dirname \$0\` cd $DIRNAME SCRIPTDIR=`pwd` That is perfectly fine.  Word-splitting and filename expansion are not performed for variable assignments.  Also

netcat (/usr/bin/nc) buffer size too small - alternate utilities?

2010-02-16 Thread Nerius Landys
I'm communicating with a server that uses UDP packets. The server receives a UDP packet, and responds with a UDP packet by sending one to the initial sender. The request packets are always very small in size, but the response UDP packets can be up to 9216 bytes in size. I am using netcat like

8.0 PAE kernel, KVA and kern.maxvnodes

2010-02-26 Thread Nerius Landys
I have a 32 bit FreeBSD 8.0 running on a quad core Xeon machine with 6 gigs of RAM. I decided on a 32 bit vs 64 for various reasons. So now I need to enable PAE in the kernel, easy enough. I had a look through all the relevant man pages and I've successfully modified my kernel configuration

Re: Eject CD

2010-02-27 Thread Nerius Landys
cdcontrol eject ? On Sat, Feb 27, 2010 at 9:01 PM, Olivier Nicole olivier.nic...@cs.ait.ac.th wrote: Hi, 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? Thanks in advance, Olivier

Re: Trying run a php script from cron

2010-03-09 Thread Nerius Landys
I am trying to run a php script from the cron tab and these are the errors I receive: /usr/local/bin/php php -q /home//ripper.php result Could not open input file: php /usr/local/bin/php php -/home//ripper.php result Could not open input file: php /usr/local/bin/php

Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
Running FreeBSD 8.0 32 bit PAE kernel, latest ports. My current hobby is to experiment more with Objective-C. I'm rewriting some of my old Java code in Objectve-C to get a better feeling for how this language works. I'm finally able to write, compile, and run Objective-C programs after learning

Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
I am compiling this program and running it, and without the release calls there, it certainly is using up more and more memory every second.  Definitely no garbage collection happening.  I then modified the GNUmakefile to make sure that the option -fobjc-gc was being passed to gcc, and

Re: Replacing Home Router With PC

2010-03-10 Thread Nerius Landys
I've got an old Linksys router hanging off of my cable modem that is several years old and is about to die (very poor wireless throughput should be 54 mb and is 2, runs hot, and buzzes while turned on).  I've got an older PC that would great as a routerhowever I also need it to be a

Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-10 Thread Nerius Landys
What is the content of the header file? File GarbageObj.h: #import Foundation/Foundation.h @interface GarbageObj : NSObject { } -(void) foo; @end File GarbageObj.m: #import GarbageObj.h @implementation GarbageObj -(void) foo { } -(void) dealloc

Re: (Update) Re: Objective-C 2.0 on FreeBSD; garbage collection, anyone?

2010-03-11 Thread Nerius Landys
Sorry for the delay. Medical problem. Here's what I know. 1) Under FreeBSD 8.x OBJC APPEARS NOT to use garbage collection. I looked at the source and the GC routines aren't defined anywhere and I stepped through the assembly language and the allocation routing call malloc(). There is a

Re: Replacing Home Router With PC

2010-03-12 Thread Nerius Landys
Yep! Geode-based boxes are great. The ALIX boards are looking like Soekris gear, which I'm very happy with (of course running FreeBSD): http://www.soekris.com/net5501.htm Is there a nice guide that explains how to install FreeBSD onto a headless system (such as one of these small devices) via

Re: Patching a Newly-Built System

2010-03-12 Thread Nerius Landys
Does it make any difference if one adds packages to a new system before or after using cvsup to bring the patch level up to date? By bringing the patch level up to date I assume you mean a tag such as this one: *default release=cvs tag=RELENG_8_0 in your standard-supfile file, and then

Re: Patching a Newly-Built System

2010-03-12 Thread Nerius Landys
Does it make any difference if one adds packages to a new system before or after using cvsup to bring the patch level up to date? By bringing the patch level up to date I assume you mean a tag such as this one: *default release=cvs tag=RELENG_8_0 in your standard-supfile file, and then

Re: Gaming

2010-04-29 Thread Nerius Landys
Some games run natively on FreeBSD with no emulation. For example Urban Terror is a first person shooter that fits this category, and it's very popular. /usr/ports/games/iourbanterror and it requires hardware 3D acceleration (nVidia drivers would work well).

Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-25 Thread Nerius Landys
For me, time can be spared, but errors should be avoided at all costs. I have upgraded FreeBSD before, for example 7.0 - 7.1. I use the buildworld/buildkernel procedure. I now have a 7.1 system. Should I upgrade to 7.2 and then to 7.3, or is it safe to go directly from 7.1 to 7.3? - Nerius

Re: Upgrading 7.1 to 7.3, use 7.2 as a safe step?

2011-02-27 Thread Nerius Landys
My upgrades were a success. I upgraded 3 machines: 1. 7.1 - 7.4 2. 8.0 - 8.1 3. 7.1 - 7.3 - 7.4 I don't use STABLE, but rather e.g. RELENG_7_4 ___ freebsd-questions@freebsd.org mailing list

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
Two questions - 1.) If rebooting into single user mode isn't obviously a requirement...I wonder why so many tutorials, books, etc. tell you to do this? Dropping into single user mode is highly recommended especially if you're upgrading from, say, 8.1 to 8.2 (a minor version upgrade). If

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
On Wed, Mar 2, 2011 at 8:24 AM, Nerius Landys nlan...@gmail.com wrote: Another way to do this, but is quite rare, is to log in via serial console.  This requires you to configure serial logins to your server (quite easy, but you should test it first) and it requires the data center to somehow

Re: Fastest way to get an entire FBSD system back online?

2011-03-02 Thread Nerius Landys
This topic was recently discussed on the FreeBSD Forums, so I'll link it here: http://forums.freebsd.org/showthread.php?t=21993 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: Finish upgrading remote server without physically being there?

2011-03-02 Thread Nerius Landys
I just got a new Supermicro Atom board a few days ago (X7SPA-HF-D525). It has a Nuvoton BMC chip that is attached to LAN1 and provides IPMI and KVM-over-IP functionality. The chip gets its own IP address (separate from em0 in FreeBSD) and is powered whenever the power cord is plugged-in. As

Re: python27 update

2011-03-05 Thread Nerius Landys
Sadly, this is one of those times when portupgrade seems to handle things better, but you'll probably have to wait another day to see if things worked out better this time. For me, using portupgrade on 3 different systems (7.4 and 8.1) to upgrade Python 2.6 to 2.7 worked like a charm. Just my

Re: HAL must die!

2011-03-07 Thread Nerius Landys
Sorry I could not help but to realize the title of this forum discussion. I'm sorry Dave, I can't do that. :-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Coldfusion, Postgres and Java under FreeBSD

2011-03-07 Thread Nerius Landys
Question #2: Is the JVM implementation for FreeBSD reliable and fast? Most of my software components are made in Java (including HSQDB) Since I have experience with Java on FreeBSD, I will try to answer this question. Java works very well for me under FreeBSD; I have not had a single problem

Apple FreeBSD relationship

2011-03-09 Thread Nerius Landys
This is not a technical question. Basically I have some cash sitting around. I'm thinking of investing part of it with a company that I believe in. Apple came to mind. You could say that I'd like to judge Apple's moral character before investing money with them. Does anyone know how Apple

Re: looking for rack hosting company

2011-03-15 Thread Nerius Landys
Sorry if this is a bit off topic.  I am looking to run a Freebsd server with a hosting company.  Preferably on the cheaper side as our needs in the beginning will be somewhat limited.  I would need enough ram/storage to do some trial and error with different databases.  So the vmware virtual

Re: Bridge, dpcpd, sshd

2011-03-23 Thread Nerius Landys
I have a server machine that I use as DHCP server, sshd login etc, and since I have multiple Ethernet interfaces on it, I would like to use two of those for the internal network to avoid adding one more ethernet switch for just one extra machine. DHCP should configure hosts on both those

Re: emacs backspace question

2011-03-24 Thread Nerius Landys
I've read a lot on the internet regarding the use of the backspace key in emacs, but the proposed solutions don't seem to be working for me. I just installed FreeBSD 8.1 in Virtualbox and installed emacs 23.2.1 by means of the package installer.  Everything in emacs works great except the

Re: emacs backspace question

2011-03-25 Thread Nerius Landys
Hmm...I can't figure out how to get xxd to report the keycodes, and google isn't really turning anything up.  Can you tell me how it's done? It's been a while since I've tinkered with xxd. Let's see: 1. Run xxd from command prompt. 2. Type Delete. 3. Type Enter. 4. Type Ctrl+D. You'll see some

Using /etc/rc.d/netif start

2011-03-29 Thread Nerius Landys
First off, I'm on 9.0-CURRENT-i386, but I don't think that will make a difference for purposes of my question. I think the freebsd-current folks are expecting questions that are much harder than this one. I'm trying to use /etc/rc.d/netif to bring down and bring back up all network interfaces,

Re: Using /etc/rc.d/netif start

2011-03-29 Thread Nerius Landys
In my experience, I've found it best to restart 'routing,' as well. /etc/rc.d/routing restart Yes indeed thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any

Re: Easiest desktop BSD distro

2011-03-29 Thread Nerius Landys
But the challenge of BSD have so far proven too much for me.  It would take too long to configure FreeBSD to my liking.  I couldn't figure out what to enter in GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and DragonflyBSD in VirtualBox.  I've found PC-BSD agonizingly slow to

Re: DNS Administrator - Kenya

2011-04-03 Thread Nerius Landys
alternatively try one of the torrents, it should survive disconnections far better than ftp etc Yes, try the torrents. I don't seed them for nothing. This is probably one of the best ways to get FreeBSD. Here they are: http://torrents.freebsd.org:8080/

Run script on boot, as ordinary user

2009-05-07 Thread Nerius Landys
So there's cron. Is there anything that lets an ordinary user start his/her programs at bootup of the system? And then run a script when the system is shutting down? I'm familiar with /etc/rc.d/, but that's not really what I'm looking for. I gave my friends access to my FreeBSD server and I

Command-line IRC client

2009-05-07 Thread Nerius Landys
What is the most recommended IRC client that runs in a terminal? rtorrent is to bit torrent what is to IRC. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Run script on boot, as ordinary user

2009-05-07 Thread Nerius Landys
Seems that @reboot in cron is what I need. It's too bad that there's no straightforward shutdown hook. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

Re: Can a Bourn Shell Script put itself in the background?

2009-06-04 Thread Nerius Landys
Just a thought, you can use the screen utility depending on what you are trying to do. For example if you want to start a job, long out of the machine completely, and then return to your job to see how it's running, you may choose to run screen. screen bash (Press Control-A then d) (Logout from

Re: boot0 / LILO / GRUB: dual boot FreeBSD and Linux

2009-07-01 Thread Nerius Landys
I'm getting a new desktop through my university which will come installed with Windows Vista. Obviously, my first action item will be removing Vista and installing a reasonable OS. Due to the need to be up-and-running immediately with an OS that I'm comfortable with, I'll be installing

Advice on secure, simple web forum software

2009-08-02 Thread Nerius Landys
One of my not-for-profit websites is increasing in popularity and users are requesting forums. I am going to add forums now, but I'm not sure which route to take: 1. Install the forums software so it runs on my webserver. 2. Use some third-party forums website [with their advertising probably].

Physically securing FreeBSD workstations /boot/boot2

2009-08-06 Thread Nerius Landys
Hi. I am attempting to secure some workstations in such a way that a user would not be able gain full control of the computer (only user access). However, they are able to see and touch the physical workstation. Things I'm trying to avoid, to list a couple of examples: 1. Go to BIOS settings

Re: Processor question

2012-02-14 Thread Nerius Landys
If you do choose 32 bit, you can compile the PAE kernel which will allow access to all of your memory, but you'll still be limited to under 4 GB per process memory. ___ freebsd-questions@freebsd.org mailing list

UDP packet spoofed LAN source address?

2010-10-16 Thread Nerius Landys
This is really more of a networking question. I'm wondering, in a typical scenario, for example my server is in a data center with a typical colocation company. I am editing someone else's code, and this code handles incoming UDP packets. The code handles UDP packets that have a source address

Re: UDP packet spoofed LAN source address?

2010-10-17 Thread Nerius Landys
Maybe, is there a simple 10 line C program that I can run and compile to check if this scenario is possible on _my_ server? 'netcat' has the capability built in. root# echo hi | nc -u -w 1 -p 30002 -s 64.156.193.115 daffy 30001 nc: bind failed: Can't assign requested address I don't

Re: okay, time to ask the wizards.

2010-10-27 Thread Nerius Landys
You mean replace each newline character with two newline characters? perl -p -i -e 's/\n/\n\n/g' yourfile.txt Something like that? On Wed, Oct 27, 2010 at 6:04 PM, Gary Kline kl...@thought.org wrote: I've got a very large file with paragraphs separated only by \n. How do I put a blank line

Re: FreeBSD on Rackspace Could

2010-11-13 Thread Nerius Landys
Hi, I'm a 3 year customer of M5 Hosting. They are in San Diego. I am a very very pleased customer. :-) On Sat, Nov 13, 2010 at 12:19 PM, Alejandro Imass aim...@yabarana.comwrote: Use M5 Hosting. They are FBSD friendly and offer outstanding and human support.

Re: FreeBSD on Rackspace Could

2010-11-13 Thread Nerius Landys
What do feel are the advantages of the cloud? It costs more money. So the advantage is that it stimulates the economy. :-P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe,

Re: new user questions. (Before I back myself into a corner!)

2010-11-23 Thread Nerius Landys
I'd like to:- Have a ssh login via LAN available, I believe that's a standard feature, but I expressedly disabled that (well, told it not to implement it) when I orignaly installed the OS.   Or have a VNC server running. Add the following line: sshd_enable=YES to file /etc/rc.conf .

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
I've had success running [at least some] 32 bit software on 64 bit FreeBSD without even using a jail. Do you have /usr/lib32 on your system?  This would get installed for example if you rebuild world/kernel following this:

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
I've had success running [at least some] 32 bit software on 64 bit FreeBSD without even using a jail. Do you have /usr/lib32 on your system? This would get installed for example if you rebuild world/kernel following this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
On Mon, Dec 6, 2010 at 11:14 AM, Redd Vinylene reddvinyl...@gmail.com wrote: How do I create a 32-bit jail on a 64-bit machine then? http://forums.freebsd.org/showthread.php?t=3744 did not tell me much. Thanks! Use this as a start:

MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Nerius Landys
I read this in /usr/ports/UPDATING today: = 20101227: AFFECTS: users of databases/mysql55-server AUTHOR: a...@freebsd.org MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is changed you should remove

Re: Should I use the standard-supfile or stable-supfile?

2011-01-20 Thread Nerius Landys
Hi everyone, I've installed Production Release 8.1 on a production server and I want to just track the errata branch, so should I use the standard-supfile or stable-supfile? Also, I want my supfile to read: tag=RELENG_8_1 right? You want standard-supfile for the security fixes for your

Mouse sensitivity

2008-01-14 Thread Nerius Landys
I'm wondering if it's possible to adjust the sensitivity of the mouse - that is, the amount of physical distance I have to move my mouse before 'moused' moves the cursor by one unit. I'm not talking about acceleration here. Purely a linear scaling is what I mean. I think we can leave Xorg out of

Re: Mouse sensitivity

2008-01-14 Thread Nerius Landys
I'm aware of the 'xset' utility, but this does not seem to do anything for linear scaling, only acceleration. Also, it [of course] has no effect on the console pointer. Linear? Do you mean threshold 0, like `xset m 3/2 0'? 'xset' is indeed what I want. Err, `xset', not 'xset'. I'm

sysinstall and bsdlabel/boot

2008-01-14 Thread Nerius Landys
I was trying to install 7.0RC1 (hope it's OK to post this here, because I believe that older versions of FreeBSD have this same limitation) and came across a gotcha. I had an MBR on disk that I wanted to keep. It was Lilo and all it did was boot a selected slice, it was configured to function

Re: sysinstall and bsdlabel/boot

2008-01-15 Thread Nerius Landys
I was trying to install 7.0RC1 (hope it's OK to post this here, because I believe that older versions of FreeBSD have this same limitation) and came across a gotcha. I had an MBR on disk that I wanted to keep. It was Lilo and all it did was boot a selected slice, it was configured to

Re: sysinstall and bsdlabel/boot

2008-01-15 Thread Nerius Landys
Yes, I figured using `bsdlabel' would install /boot/boot to the beginning of the slice. However, I cannot [easily] run `bsdlabel' without being booted into the FreeBSD OS. I can't run the OS without /boot/boot being installed to the beginning of the FreeBSD slice. Chicken and egg

  1   2   >