Jails with multiple IPs?

2008-07-31 Thread Kyrre Nygård
greetings! i have a freebsd server (mother.naoshige.net) running two jails (camel.naoshige.net and box.naoshige.net): http://pastie.org/244706 my question is, how do i give box.naoshige.net access to the remaining ipsof mother.naoshige.net (well, most of them)? do i just move theifconfig

Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Kyrre Nygård
My server is getting kinda messy, but my ISP charges too much for a reinstall. Can I do this myself over SSH? Or perhaps there are ways to make ones system as clean as a fresh install? Thanks. Much obliged, Kyrre ___ freebsd-questions@freebsd.org

Re: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Kyrre Nygård
Thanks a lot, this is exactly what I need. Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]

Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
Sorry, I really don't know where else to ask. I've been using Staminus for a while now and I've had it with the downtime. Basically I want a place to host my Ruby on Rails / Git projects, an IRC server as well as an internet radio channel. Simple website / control panel design is ofcourse a

Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
- Original Message - From: Beech Rintoul [EMAIL PROTECTED] Date: Tuesday, March 25, 2008 2:26 am Subject: Re: Where to rent the best dedicated servers? To: freebsd-questions@freebsd.org Cc: Kyrre Nygård [EMAIL PROTECTED] On Monday 24 March 2008, Kyrre Nygård said: Sorry, I really don't know

Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
This looks professional indeed... Thanks a lot for the great advice man :) Kyrre - Original Message - From: Patrick C [EMAIL PROTECTED] Date: Tuesday, March 25, 2008 2:27 am Subject: Re: Where to rent the best dedicated servers? To: Kyrre Nygård [EMAIL PROTECTED] Cc: [EMAIL PROTECTED

Re: Where to rent the best dedicated servers?

2008-03-24 Thread Kyrre Nygård
to rent the best dedicated servers? To: Kyrre Nygård  [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] In response to Kyrre Nygård [EMAIL PROTECTED]: Sorry, I really don't know where else to ask. I've been using Staminus for a while now

Build: mtree: line 48: unknown group games

2008-03-23 Thread Kyrre Nygård
mtree: line 48: unknown group games *** Error code 1 Is the games account really that important? Thanks, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

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

2008-02-05 Thread Kyrre Nygård
Hey Drew! I learned long time ago to drop SpamAssassin altogether. I got hundreds of spam e-mails a day with SpamAssassin. But when I switched to a clean Postfix installation with Greylist (port 10023) and 3 different blocklist servers, my spams reduced to 0 a day, or 1-3 at most. $ cat

How to answer mails to me@all my domains?

2007-09-16 Thread Kyrre Nygård
Hello! A silly question probably. How do I get FreeBSD, or Postfix, to give me all e-mails sent to me@all the domains in my nameserver? Can /etc/aliases do this, or something else? Thanks guys, Kyrre ___ freebsd-questions@freebsd.org mailing list

Re: How to answer mails to me@all my domains?

2007-09-16 Thread Kyrre Nygård
Eric wrote: look at /usr/local/etc/postfix/virtual and man 5 virtual it will explain how to handle virtual domains and direct anything to any mail account you want I really appreciate it man, thanks a lot! -- Kyrre ___

Re: How to answer mails to me@all my domains?

2007-09-16 Thread Kyrre Nygård
Eric wrote: look at /usr/local/etc/postfix/virtual and man 5 virtual it will explain how to handle virtual domains and direct anything to any mail account you want All I had to do was to add the domain to mydestinations! Thanks again! ___

Help! FreeBSD: 88.78 KBps, Linux: 624.95 KBps

2007-07-10 Thread Kyrre Nygård
Hello. My friend is switching to Linux because FreeBSD is failing on him. When downloading a file from a FreeBSD box and a Linux box on the same network, the FreeBSD box got 88.78 KBps whereas the Linux got 624.95 Kbps. I have no idea what's wrong, but my man isn't really into good

Is there a way to undelete?

2007-06-11 Thread Kyrre Nygård
Hello! I'm just curious if there's a way to undo a rm -rf. There has to be something eqivalent in FreeBSD to all those recovery tools? Thanks, Kyrre ___ freebsd-questions@freebsd.org mailing list

Re: amvisd-new set up difficulty

2007-06-09 Thread Kyrre Nygård
hey wassup dhaneshki must tell you, after i set up postgrey for postfix, i only got like 1 spam a week, as opposed to 1000 a day. after i removed amavisd-new, spamassassin and all that overly complex bullshit... it made no differencetry it out, keep the system clean, good luckkyrre-

The worst error message in history belongs to... BIND9!

2007-05-31 Thread Kyrre Nygård
Hello! I've long wondered where this error message comes from: hostname nor servname provided, or not known So I grepped my FreeBSD source code and found out it actually belongs to BIND9. It has to be the worst written error message in history. Any chance you can change it? Perhaps to

Fix this: The Regents of the University of California. All rights reserved.

2007-05-26 Thread Kyrre Nygård
of `1994' now aligns with the last letter of `reserved' using a monospaced font, which ends up looking kind of weird. Trust me on this one. Thank you, Kyrre Nygård + mir-visuals.com + snoarc.no ___ freebsd-questions@freebsd.org mailing list http

pf + ftpd: Socket error (Connection refused)

2007-04-06 Thread Kyrre Nygård
Hello! My FreeBSD server (HTTP, SMTP, PF, NAT etc.) is running its native ftpd along with pf and its ftp-proxy. But after a recent make world, outsiders could no longer connect to this ftpd: --- 227 Entering Passive Mode (80,204,208,30,208,212) Connecting data socket to

Re: pf + ftpd: Socket error (Connection refused)

2007-04-06 Thread Kyrre Nygård
At 14:01 06.04.2007, Kyrre Nygård wrote: Hello! My FreeBSD server (HTTP, SMTP, PF, NAT etc.) is running its native ftpd along with pf and its ftp-proxy. But after a recent make world, outsiders could no longer connect to this ftpd: --- 227 Entering Passive Mode (80,204,208,30,208,212

Re: How to use vsftpd with wirtual users without LinuxPAM ?

2007-03-23 Thread Kyrre Nygård
At 22:08 21.03.2007, Derek Ragona wrote: For so few users, you can use regular accounts with the shell set to: /usr/bin/false -Derek At 11:47 AM 3/21/2007, Vincent Bolinard wrote: Hello, I'd like to know how can I set up virtual users without pam_userdb.so (which is not included in

Re: Automating MERGEMASTER(8)

2007-03-22 Thread Kyrre Nygård
At 00:29 17.03.2007, Pieter de Goeje wrote: On Friday 16 March 2007 10:32, Kyrre Nygård wrote: Hello, Is it possible to make MERGEMASTER(8) automatically replace files with a FreeBSD CVS Id, and skip (or prompt interactively) the ones without a FreeBSD CVS Id? The ones without are most

portupgrade: Download - single user - upgrade

2007-03-22 Thread Kyrre Nygård
Hey! I was wondering if anybody could give me a quick cheat sheet for how to automatically: 1) Download all outdated ports 2) Switch to single user mode 3) Upgrade those ports Running portupgrade -a doesn't work very well when it's time to upgrade running processes. I assume this involves

Automating MERGEMASTER(8)

2007-03-16 Thread Kyrre Nygård
Hello, Is it possible to make MERGEMASTER(8) automatically replace files with a FreeBSD CVS Id, and skip (or prompt interactively) the ones without a FreeBSD CVS Id? The ones without are most certainly my own personalized configuration files. I'd really like to keep them intact. And on

Broken partition table

2006-10-18 Thread Kyrre Nygård
Hello! My partition table is messed up. I have a 150 gigabyte S-ATA hard drive, with a single NTFS partition running Windows XP. I've been running gpart /dev/ad0 for the last 14 hours now and it's not saying anything. I just want to get my data back. I don't care if I have to reinstall

I am such a fool! How to recover my data?

2006-10-16 Thread Kyrre Nygård
Hello, thanks for checking this out! My hard disk and I are in a rather tight situation right now. I believe my partition table's system ID is messed up. Other things are probably messed up too, however I have not done anything which would constitute a format of my data -- hence I hope that

Re: I am such a fool! How to recover my data?

2006-10-16 Thread Kyrre Nygård
I forgot to mention that yeah, everything thinks my hard drive is FAT now. I disconnected hard drive 2 long time ago too, so it's out of the picture. And if gpart fails me now, I have no idea what to do. I hope I don't have to invest in some proprietary data recovery software. All the best,

Script to fetch Wikipedia text

2006-10-11 Thread Kyrre Nygård
Hey! I'm involved in a few research projects, and like to keep my information well organized. I usually get most of it from Wikipedia, however, I hate printing HTML articles to PDF. I'd rather want them in pure, well laid out text. And I'm sure others would too. Being able to

Firefox: anti-alias issue

2006-09-07 Thread Kyrre Nygård
Hello, Has anybody else noticed that not all fonts in Firefox get anti-aliased? Only like half? I'm using Ifirefox-1.5.0.1_1,1 and I think it's rather unfortunate that Firefox acts like this by default. Poor guy at http://www.freebsdforums.org/forums/showthread.php?t=43683 never found a

Why does a 15.5gb partition show up as 500MB?

2006-08-26 Thread Kyrre Nygård
Hello, When mounting the 15,5GB root partition of an old 17GB ATA harddrive, df -h tells me it is only 479MB. This is what I did: I installed FreeBSD on the 17GB ATA harddrive, so I later could copy some files onto it from my main 150GB S-ATA. The plan is to retire the 17GB ATA at this

The Regents of the University of California. All rights reserved.

2006-08-25 Thread Kyrre Nygård
Hello! I am just wondering why it says: The Regents of the University of California. All rights reserved. when I log in locally, but: The Regents of the University of California. All rights reserved. when I log in via SSH? The difference for you with untrained eyes is the double

A webhosting script?

2006-08-25 Thread Kyrre Nygård
Hello! Does anybody run a webhosting business, where they've written a simple Bash script to add new users to the system and set up their domains, Apache virtual hosts, databases etc. all in one go? I am looking for inspiration for my own script. Thank you! I truly wish to keep it real and

Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård
At 21:09 24.08.2006, Matti J. Karki wrote: Well, my scripts aren't magic. They are pretty simple. Here's few (not scripts, these are valid Vim regexps): Those are great regexps, Matti, thank you so much. They have been noteworthy recorded! Say, could I use these with Sed let's say in a Bash

Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård
At 06:01 25.08.2006, Matti J. Karki wrote: Yes. I know, that this is reinventing the wheel. Also, home-made scripts tend to be less reliable compared to dedicated tools. But I have to deal with C, C++, Java, Visual Basic and XML files and also some pretty obscure internal data files. With my

Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård
At 14:31 25.08.2006, Matti J. Karki wrote: No doubt :) There's no comments in the code, because usually my scripts are disposable. As I said, I do those case by case. The code should be quite clear for most parts, but the bunch of regexps at the beginning of the code do the following things:

Re: A webhosting script?

2006-08-25 Thread Kyrre Nygård
At 17:30 25.08.2006, Andy Greenwood wrote: We use perl scripts here. Unfortunately, I can't provide any specific examples. So stop trolling :) Perl is obsolete anyway, thanks though. All the best, Kyrre ___ freebsd-questions@freebsd.org mailing

RE: A webhosting script?

2006-08-25 Thread Kyrre Nygård
At 19:09 25.08.2006, Tamouh H. wrote: There are many control panels that do these sort of things. Some are free, others are not. Check WebMin, cPanel, DirectAdmin, Plesk, H-Sphere, RAQdevil.and tons more. Hello Tamouh, yeah I know man but this is exactly what I'm trying to avoid. Not

Re: The Regents of the University of California. All rights reserved.

2006-08-25 Thread Kyrre Nygård
At 12:50 25.08.2006, David J Brooks wrote: Back in the Jurassic era, when typewriters still roamed the earth, it was a convention to leave a double-space following a period so that the reader could more easily distinguish the end of a sentence. With the advent of word processors (and

Re: A webhosting script?

2006-08-25 Thread Kyrre Nygård
At 19:47 25.08.2006, Greg Barniskis wrote: giggle And that's not trolling? ;) I'd say check the facts. Though I know a lot of people are emotionally attached to things of the past and I'm sorry if anybody feels offended. Without getting into a way-OT my favorite language is better'n

Re: Code beautifiers, anyone?

2006-08-25 Thread Kyrre Nygård
At 20:27 25.08.2006, Matti J. Karki wrote: A word of warning. Above, I mentioned that it's important to remember that my example will remove _all_ tabulator characters from text. This means that - for example - all lines with indentation inside the code comments will be messed up (remember,

Code beautifiers, anyone?

2006-08-24 Thread Kyrre Nygård
Hello people, I'm looking for the best ways to create a line of code beautification (reformatting) scripts -- one for C, one for Ruby, one for Bash and one for web development languages like XHTML, XML, CSS, PHP and Ajax. Whether as frontline warriors or household maids, they would ensure

Re: Code beautifiers, anyone?

2006-08-24 Thread Kyrre Nygård
At 15:18 24.08.2006, Matti J. Karki wrote: Well, my suggestion to anyone asking this question is that the best thing IMHO is to learn some scripting language with good regular expression support. For example Tcl, Python or Perl. I have to deal with all sorts of source code and I have noticed