firewall
Hi! At the moment I've a RH firewall/router. It's quite unstable, so I would like to installa Debian as a firewall and router instead of RH. I need the box act as a firwall/router (I belive it's called masquarading) and enabled port forwarding. Is there any easy to go guides for this? Thanks in advance Allan Andersen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: firewall
On Sun, 2003-02-23 at 02:31, Russell Shaw wrote: At the moment I've a RH firewall/router. It's quite unstable, so I would like to installa Debian as a firewall and router instead of RH. I need the box act as a firwall/router (I belive it's called masquarading) and enabled port forwarding. Is there any easy to go guides for this? Get your local network cards set up and network working. apt-get install iptables apt-get install ipmasq If you want it to connect to dial-up isp, then apt-get install pppconfig You may need to reboot to get all the scripts to run right. Once pppconfig is set up, the pc can masquerade for other PCs connected to its network cards. Hi Paul and Russel, Thanks very much for the quick response. Perhaps I should mention that I'm a bit familiar with Debian. My primary desktop is a Debian, so installation should not be a problem. It's a standard ethernet connection (ADSL), so I don't think it will be nessacery with a ppp configuartion. The pc has 2 3Coms netcards. A couple of extra questions. 1. will the masquerade work automaticaly? 2. to which files do I write to port forwarding rules? Thanks Allan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to partition hard drive?
If it's for personal use I would use something like similar to this: /boot - 16 MB bootable swap - 2 x amount of RAM in the PC / - the rest Allan --- Linux: Because rebooting is for adding new hardware. On Fri, 13 Apr 2001, George M. Butler wrote: Hi all, I know this is a real newbie question. I am in the process of installing Debian Potato r2 on a brand new machine I just built. It has a factory clean 30G IDE hard drive and AMD K6-2/500. I put the Debian CD in the CDRom and booted. I have selected the US qwerty keyboard. Now I am ready to partition the hard drive. I would like some suggestions as to how to best partition the drive. I want this to be a Debian only machine and I would also like to have one partition to do the Linux From Scratch project at a later date. I would like to hear suggestions you might have or experieces. Thanks for your help. George -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: folder highlightning in Pine ?
Thanks for the suggestion, but which version of Pine are you using ? The one I'm using is 4.33 ... it's be couse the ';' command doesn't exists and 'P'/'N' is in my Pine previous/new folder. Allan Andersen On Wed, 11 Apr 2001, Curtis Hogg wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What you do, is in your folders page, you hit the ; key... then select [P]roperties (P key), then hit [N]ew (N key). this will check all of your folders for new messages, and put an X next to each one that contains new messages. - -- Curtis Hogg [EMAIL PROTECTED] - -- Rule of Life #1 -- Never get separated from your luggage. - -- Email 1 - [EMAIL PROTECTED] Email 2 - [EMAIL PROTECTED] WWW - [in transit] On Thu, 12 Apr 2001, Allan Andersen wrote: Hi, I'm a new user with pine email (Have allways used a graphical program), but was impressed to see the program 'simplicity' and speed, so I desided to try it out my self. I've set up some filters in Pine to control the incoming mails into the right folders. But as soon as I got more than a couple of these folders it gets a bit confuseble. So I was wondering if it was possible to get the folder highlighted when a new mail arrived to it ? It's a bit irritating to go though each folder when a new mail arrives. Hope anyone could assists, best regards Allan Andersen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP for Personal Privacy 5.0 Charset: noconv iQA/AwUBOtUXjLHXK8DxaQMZEQJbBQCffd7pax5MwmBdn66XNFgJRB+b+jEAn2/D ZJfTruiKt5/DhHul3ZCn320+ =P4jl -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
folder highlightning in Pine ?
Hi, I'm a new user with pine email (Have allways used a graphical program), but was impressed to see the program 'simplicity' and speed, so I desided to try it out my self. I've set up some filters in Pine to control the incoming mails into the right folders. But as soon as I got more than a couple of these folders it gets a bit confuseble. So I was wondering if it was possible to get the folder highlighted when a new mail arrived to it ? It's a bit irritating to go though each folder when a new mail arrives. Hope anyone could assists, best regards Allan Andersen
local mirror with rsync
Hi, I'm trying to create a local mirror with the rsync mirroring script from: http://www.debian.org/mirror/anonftpsync I've changed the script so it should use my local settings, but when I execute the script - it start to run the the server I'm mirroring from but also copying files from my /. The script looks like this: #! /bin/sh set -e TO=/home/ftp/pub/linux/distributions/debian RSYNC_HOST=sunsite.auc.dk RSYNC_DIR=ftp/pub/os/linux/debian/ EXCLUDE=--exclude *alpha.deb --exclude *m68k.deb --exclude \ *powerpc.deb --exclude bo --exclude binary-alpha/ --exclude binary-m68k --exclude binary-powerpc/ --exclude Incoming/ --exclude local/ --exclude bo-unstable/ --exclude bo-updates/ --exclude binary-arm / LOCK=${TO}/Archive-Update-in-Progress-`hostname -f` cd $HOME umask 002 if lockfile -! -l 43200 -r 0 $LOCK; then echo `hostname` is unable to start rsync, lock file exists exit 1 fi trap rm -f $LOCK /dev/null 21 exit set +e rsync -rltvz --delete \ --exclude Archive-Update-in-Progress-`hostname -f` \ --exclude project/trace/`hostname -f` \ $EXCLUDE \ $RSYNC_HOST::$RSYNC_DIR $TO rsync.log 21 date -u ${TO}/project/trace/`hostname -f` savelog rsync.log /dev/null 21 Does anyone have an idea why it starts to mirror from my / ? Best regards Allan
RE: debian poster
From: Michael Janssen (CS/MATH stud.) [mailto:[EMAIL PROTECTED] I made a big debian poster using the open use logo GIMP file available from http://dusknet.dhs.org/~deek/debian/ -- it works quite nicely. Michael Janssen Wouldn't you go in some problems with the logo when you enlarge them ? /Allan
RE: debian poster
I made a big debian poster using the open use logo GIMP file available from http://dusknet.dhs.org/~deek/debian/ -- it works quite nicely. I'd love to see these offered commercially - not all of us are lucky enough to have poster printers. :) Yeah me too ... but I think the soluion will be that I must get the posters printed in the local store. /Allan
debian poster
Hi, Right now I have a poster with Corel Linux (better than nothing I think) hanging on my door. But I don't use the Corel Linux disto - so I thought if there were anyone out there who have a good quality of the debian logo which could be used to make a poster. I thought about these logo's but anything (almost) have interest: http://www.debian.org/logos/openlogo-25.jpg or http://www.debian.org/logos/banner_64.gif Best regards Allan
licq
Hello everyone, I've just reinstalled my debian system. It all works just fine except my licq. When I start the licq program I get an error similar to this: 1:57:14: [WRN] Licq: Ignoring stale lockfile (pid 27928) 11:57:14: [ERR] Unable to load plugin (qt-gui): /usr/lib/licq/ licq_qt-gui.so: cannot open shared object file: No such file or directory. I think that all the licq program files and the qt libary files are installed. Any ideas why this is happing ? Regards Allan
Re: licq
Andrei Ivanov wrote: After you installed the plugin, you still might get errror messages about not being able to see the plugin. The way around that is to start licq and specify directly where and which plugin to use: licq -p absolute_path_to_plugin like licq -p /usr/lib/licq/licq_gtk_gui.so Andrei Thanks a lot for the answer, now it's working again. Regards Allan
Re: rsync trouble
Jeff Green wrote: 2 most likely causes from person experience. Either you have run out of processes. (ulimit -a will show you how many you have available) or you have run out of rlogin connections on the remote machine edit the relevant line in the inetd.conf to read nowait.100 rather than nowait Other biggest chance is you haven't enough memory to mirror the entire tree in one bite. Hope one of these helps Jeff Thanks to all the people who have been so kindly to answer to this question. Unfortuantly nothing have solved the problem, so I'll preparing for a reinstall. Allan
Re: rsync trouble
Jeff Green wrote: 2 most likely causes from person experience. Either you have run out of processes. (ulimit -a will show you how many you have available) or you have run out of rlogin connections on the remote machine edit the relevant line in the inetd.conf to read nowait.100 rather than nowait Other biggest chance is you haven't enough memory to mirror the entire tree in one bite. Hope one of these helps I've increased it to 512 processors/user and almost the rest to unlimited + changed the line in inetd.conf. It's no matter which site I choose to use rsync on. Even if I just write rysnc it comes with that error. So I can't imaging that there should be a memory problem (the machine have 128 MB) Allan
apache php
Hi, I'm trying to install apache and php - all of it seems to be installed correct and works ok. But when I try to load the site it would like to download the page instead of viewing it. Any ideas ? Best Regards Allan Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: apache php
From: Robert Waldner [EMAIL PROTECTED] the following did it for me: ka:/home/waldner# grep php /etc/mime.types application/x-httpd-php phtml pht php application/x-httpd-php3php3 application/x-httpd-php3-source phps application/x-httpd-php3-preprocessed php3p ka:/home/waldner# grep php /etc/apache/httpd.conf LoadModule php3_module /usr/lib/apache/1.3/libphp3.so AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps ka:/home/waldner# grep html /etc/mime.types text/html html htm shtml Thanks a lot, I'll try it as soon as get home from work. /Allan. Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Re: Debian i386 mirror
Gary Hennigan wrote: Paulo Henrique Baptista de Oliveira [EMAIL PROTECTED] writes: Hi all, I'm planning to make a mirror of debian i-386 (slink, potato, woody) at my lab and want to know to measure how big it will be and if someone could me provide an rsync line or mirror config file for this. I only mirror the 386 portions of potato, US and non-US, and my archive is about 2G. I had a major problem setting up a potato mirror using any type of ftp-mirroring utility (like mirror). When I first started there were a lot of links in potato to slink and the ftp server on most of the debian mirror sites refused to flatten these symbolic links. If I had continued trying to use mirror I would've had to copy both potato and slink, both binary-all and binary-i386, in order to have a functional mirror. I mirror the slink, potato and woody dists with all the packages (main, contrib, non-free, non-US and sources). I'm not finish yet but now the archive is about 5.6GB, and my guess is about 9GB. Allan
Re: Debian i386 mirror
Nathan E Norman wrote: On Mon, Jun 12, 2000 at 12:20:19AM -0700, Paulo Henrique Baptista de Oliveira wrote: Hi Nathan, and what about a mirror config file to mirror this. Can you (or other) send it for me? I use rsync. However, I don't have a 386 only rsync config handy ... sorry. Perhaps someone could enlighten us? You'll find that many mirrors support anonymous rsync. I mirror from sunsite.auc.dk, ftp.sunet.se and ftp.debian.org. I've enclosed my rsync file. It's a bit long, because I only want the i386 files. Hope you can use it. Allan#!/bin/bash #rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/ /home/ftp/pub/linux/distributions/debian/ #debian potato dists #rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/ /home/ftp/linux/distributions/debian/dists/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/contrib/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/potato/contrib/binary-all/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/contrib/binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/potato/contrib/binary-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/contrib/source/ /home/ftp/pub/linux/distributions/debian/dists/potato/contrib/source/ rsync -rav ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/main/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/potato/main/binary-all/ rsync -rav ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/main/binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/potato/main/binary-i386 rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/main/source/ /home/ftp/pub/linux/distributions/debian/dists/potato/main/source/ rsync -rav ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/non-free/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/potato/non-free/binary-all/ rsync -rav ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/non-free/binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/potato/non-free/binary-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/non-free/source/ /home/ftp/pub/linux/distributions/debian/dists/potato/non-free/source/ #debian sid dists rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/sid/contrib/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/sid/contrib/binary-all/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/sid/contrib/binary-hurd-i386/ /home/ftp/pub/linux/distributions/debian/dists/sid/contrib/binary-hurd-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/sid/main/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/sid/main/binary-all/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/sid/main/binary-hurd-i386/ /home/ftp/pub/linux/distributions/debian/dists/sid/main/binary-hurd-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/sid/non-free/binary-all/ /home/ftp/pub/linxu/distributions/debian/dists/sid/non-free/binary-all/ #debian slink dists #rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/ /home/ftp/pub/linux/distributions/debian/dists/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/contrib/binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/slink/contrib/binary-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/contrib/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/slink/contrib/binary-all/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/contrib/source/ /home/ftp/pub/linux/distributions/debian/dists/slink/contrib/source/ #rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/binary-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/source/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/source/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/disks-i386/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/disks-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/binary-all/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/binary-all/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/upgrade-2.0-i386/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/upgrade-2.0-i386/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/slink/main/upgrade-older-i386/ /home/ftp/pub/linux/distributions/debian/dists/slink/main/upgrade-older-i386/ rsync -avr
boot disk
Hi I've just recieved an older IBM (pentium 133), which I would like to install Debian on. The problem is that there is no cdrom on it, so I try to create a bootdisk, so I boot the computer and hopefully install it from my local mirror of ftp.debian.org. I've tried to create the disk with mkboot and by copying the different files from the /disks-i386/current directory to a floppy, but every time it comes to booting linux/lilo. Any help would be appricated. Allan Andersen
Re: sources.list with local mirror?
Robert L. Harris wrote: Ok, Say I mirror /debian/dists/potato/main/*i386 to /mnt/debian on a local machine that has both ftp and nfs installed. Once complete, I want to install a new machine from the local mirror. What would I put in my sources.list file if I wanted to do the install via nfs? ftp? Burn it to CD to take to a friends house? I've done the same thing, here is my sources.list. I hope you can use it. deb ftp://swoop.hhknet.dk/pub/linux/distributions/debian potato main contrib non-free deb ftp://swoop.hhknet.dk/pub/linux/distributions/debian potato non-US/non-free non-US/main non-US/contrib Regards Allan
Re: rsync
Tom Furie wrote: On Wed, May 31, 2000 at 05:19:28PM +0200, Allan Andersen wrote: rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/ /home/ftp/linux/distributions/debian/dists/ This line should be enough since from the man page: -a, --archive This is equivalent to -rlptg. It is a quick way of saying you want recursion and want to preserve everything. Note: if the user launching rsync is root then the -o (preserve uid) and -D (preserve devices) options are also implied. Also, you probably don't want to use the verbose option if running from cron unless you are redirecting output. Thank you very much. The script is working now. Allan
rsync
Hello all, I hope this is the right list for this quiestion. I would like to have a rsync cron job to run once in a while, so therefor I have created a file like this: #!/bin/bash rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/ dists/ /home/ftp/pub/linux/distributions/debian/ #debian potato dists rsync -av ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/ /home/ftp/linux/distributions/debian/dists/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/contrib/ binary-all/ /home/ftp/pub/linux/distributions/debina/dists/potato/contrib/ rsync -avr ftp.sunet.se::pub/os/Linux/distributions/debian/dists/potato/contrib/ binary-i386/ /home/ftp/pub/linux/distributions/debian/dists/potato/contrib/ and so on, but when I run the script it just stop at: retriving file list. If I run every single command there is no problem = only if it's the hole script. Have I missed something or what have I done wrong ? Thanks in advance Allan Andersen