Re: How to run `make install` without actually installing?

2003-07-22 Thread Daniel Grant
> Hi all, > > I've downloaded the tarball of a package I want (net-snmp) > , untarred and run the ./configure with the options I > want and finally `make`. Now I want to find out where > all the binaries, man pages, configs etc are going to end > up when I run `make install`. make -n install w

Re: Network monitoring tools question

2003-08-30 Thread Daniel Grant
I've tried IPtraf, but that doesn't show (that I know of) traffic sorted by Ip and volume (it does do MAC addresses, but that doesn't help with switches etc in between). Arpwatch will show fake IP headers, snort does work, but takes a while to set up. In the end, using Ethereal and sorting by sourc

Re: building an rpm from souce without installing

2004-01-21 Thread Daniel Grant
> I want to build a binary rpm from a source rpm, without > installing the binaries on the system, ie I don't want to > risk mucking up my existing installation of the earlier > version of same package. First of all then, don't build as root. A badly written spec file could install over the top o

Re: problems with iptables and port forwarding

2004-01-26 Thread Daniel Grant
> I have set up a Linux box to act as a router between two > networks here at work. > eth0 has IP 155.190.50.52 with a netmask of 255.255.255.0 > eth1 has IP 203.110.12.230 with netmask 255.255.255.240 > > I want to route any traffic on port 5900 from equipment on > eth0 to a machine with IP 203.11

RE: RE: Re: problems with iptables and port forwarding

2004-01-26 Thread Daniel Grant
> Mind you, isn't the whole point of a router to join 2 > seperate networks? The router has two ports, one on each > network and as far as the VNC client is concerned the > packets are sourced to and sent from a device on its own > network with the router taking care of getting the traffic > betwee

Re: APT

2004-02-19 Thread Daniel Grant
> 0% [1 gaim 11584/2509KB 0%] > Err http://ayo.freshrpms.net redhat/9/i386/updates gaim > 1:0.75-0.9.0 > Error reading from server Remote end closed connection > [IP: 193.1.219.82 80] > Failed to fetch > http://ayo.freshrpms.net/redhat/9/i386/RPMS.updates/gaim-0.75-0.9.0.i386.rpm > Error reading

Re: Little questions

2004-03-09 Thread Daniel Grant
Andy George wrote: 1> Is there a way that I can make the REMOTE machine on an SSH connection beep? To attract the attention of the machines owner? You will need write permissions on /dev/console ( and you will annoy anyone logged on at the console :)) (using bash) echo -e '\a' > /dev/console \a

Re: Shell help

2004-03-30 Thread Daniel Grant
> > I'm sure there's a better way to do this, but I've learned > heaps doing it this way. > > I'm trying to generate yesterday's date and then pass it > as an arguement to a command. date -d 'yesterday' and format as required Regards Daniel

Re: iptables Q

2004-05-13 Thread Daniel Grant
> Ok, so we've spotted the $ error (script syntax differs > from CLI); command accepted.. The $ in the script indicated it was a variable, which was being set in your script. You were setting it to ppp0 in the script (the EXTIF="ppp0" line). > Shouldn't this be working now? > > [EMAIL PROTECTED

Re: iptables Q

2004-05-13 Thread Daniel Grant
> Thanks Daniel, > > That's been a big help - a better handle on it gained. > > We have two MASQUERADE entries. > > Now, why doesn't #iptables -F clear them out?! it clears out the filter table by default. > or? > > [EMAIL PROTECTED] root]# iptables -F POSTROUTING > iptables: No chain/target/ma

Re: Throttling apt-get

2004-04-30 Thread Daniel Grant
Vik Olliver wrote: To avoid my wife throttling me, can anyone tell me how to tell apt-get to throttle its bandwidth usage? Well, I use apt-proxy which acts as a caching proxy, and uses wget to download the packages. Edit the config file (/etc/apt-proxy/apt-proxy.conf) and add --limit-rate=4k (or

Re: different vnc question (on topic!)

2004-05-19 Thread Daniel Grant
Roger Searle wrote: Sorry for not being clear: I've moved from using vncviewer to "remote desktop connection" on my linux box. From the vncviewer(1) manpage under the POPUP WINDOW section: The viewer has a popup window containing a set of buttons which perform various actions. It is usually bro

Re: What time server should I use?

2004-05-31 Thread Daniel Grant
> > I'm just setting up RH9 to use a time server (from KDE > using the Date/Time Properties dialog). > > What time server should I use given I'm using an xtra > connection? Probably pool.ntp.org > Does xtra have a time server does anyone know? No from memory. I believe they even state so on the

Re: Automatically running a program/script on incoming mail? (exim+procmail+debian)

2004-12-12 Thread Daniel Grant
> hi, > > I am trying to get exim+procmail on fresh install of debian(woody) to > to run the following (testing) script whenever the user recieves an > email with the subject consisting soley of numbers:. > > ~/.procmailrc: > PATH=/usr/bin:/usr/local/bin:$HOME/scripts > MAILDIR=$HOME/.mailspool > D

Re: smtp 450 error - what should happen at the sender's end?

2004-12-16 Thread Daniel Grant
> > I see from my logs that someone has repeatedly sending > mail to a non-existent user on my system (for once this is > something I actually want, not a piece of spam) > > How should the sending smtp server react to constant > messages from my smtp server to the effect that the > message is rejec

Re: OT a good laugh at MS

2005-01-19 Thread Daniel Grant
> Er - its a humor site right? Scroll down to the very bottom of the page for your answer. Or try the front page (http://www.bbspot.com/). The slashdot story generator is always good for a laugh. That said the related "news" in the article should be a bit of a give away: - Microsoft Announces A

Re: slingshot dialup not authenticating

2005-01-26 Thread Daniel Grant
> sent [PAP AuthReq id=0x1 user="username" password=] > sent [PAP AuthReq id=0x2 user="username" password=] > rcvd [PAP AuthNak id=0x0 52 65 71 75 65 73 74 20 44 65 6e 69 65 64] Hex String "52 65 71 75 65 73 74 20 44 65 6e 69 65 64" in ASCII: Request Denied Check the username and password again.

Re: Hint for the Day - sux doesn't

2005-01-30 Thread Daniel Grant
> On Mon, 31 Jan 2005 11:35:36 +1300 > yuri <[EMAIL PROTECTED]> wrote: > > > On Mon, 31 Jan 2005 11:28:48 +1300, Jim Cheetham wrote: > > > Some people prefer to work from the command > > > line, even if they're in an X session, so a method of > > > elevating privs that also preserves $DISPLAY and X

Re: Googlebounce

2005-02-08 Thread Daniel Grant
> > I've had my google search attempts blocked by google - I > get a page saying that I'm a bot searching google and to > check my machine for viruses and spyware. > > Now, my logs don't show any excessive google access, and > iptraf on the firewall can't find any either. Anyone else > come across

Re: spamassassin - how do i find what weights are attributed to various factors

2005-03-03 Thread Daniel Grant
> spamassassin is running almost fine, but seems to give too > much weight to one factor. The factor is ALL_TRUSTED - > which means all the MTA's the mail has gone thru are > trusted, or conversely are not known spam > senders/relayers. ALL_TRUSTED gives a negative score (ie > less likely to be spa

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
> Hotplug (running as root) mounts my usb drive, so only > root can umount it. Is there any way I can allow the > normal user to umount it? > > I do have the "user" option in /etc/fstab, but that's only > useful if the user mounted it in the first place. Can you add the "users" option instead?

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
> > /media/usb if I just pull it out, but I want to unmount > > it before pulling it out. > > You don't really need to unmount before pulling the thing > out, a sync should do (and then give it a second or two). > Has always worked for me. No data loss. Actually, you could also try to set it to m

Re: Hotplug - How to unmount

2005-03-13 Thread Daniel Grant
> > > > /media/usb if I just pull it out, but I want to > > > unmount it before pulling it out. > > > > You don't really need to unmount before pulling the > > thing out, a sync should do (and then give it a second > > or two). Has always worked for me. No data loss. > > Actually, you could also t

Re: How to monitor CPU/Memory/Disk usage

2005-04-05 Thread Daniel Grant
> I'm a little worried that my 'mail server' PC is getting > overloaded and I am losing emails etc., Inbound mail? You shouldn't lose outbound mail. Do you have a secondary (backup) MX? Or is this client pc's to server mail? > or that I am > having delays in outgoing mail. How can I set up som

Knoppix 3.8.1 Was: ISP's / RIP ADSL Router - 2003-2005

2005-04-13 Thread Daniel Grant
> BTW the new Knoppix 3.8.1 rulez all.. unionfs #1 > > regards > > Paul Swafford It is great fun. Booting up a cdrom and then doing an apt-get update and then an apt-get remove/install something is pretty funny. It is far more handy now being able to directly edit stuff in /etc. Now, all we nee

Re: Samba - User Permissions Thing

2005-04-17 Thread Daniel Grant
> They use an accounting package which bases its files on > the Linux server. When a user uses the system it works > fine. when they try to re-index the system it changes the > user permissions on the files. As an example. > > /Local/SybizDrive - drwxrwxrwx root:root >datafile.dbf -rwxrw

OT: Re: ihug webmail

2005-04-21 Thread Daniel Grant
> Hey folks > > While at work, I use Ihugs webmail service to monitor my > personal emails. I seem to get all of the mail sent out > delivered directly back to me. > > Anyone else using this service available to test it? I've never had any issues before (except the reply-to being prefilled) Well

Re: This post will not save you any money

2005-05-01 Thread Daniel Grant
> On Mon, 02 May 2005 11:19:16 +1200 > Zane Gilmore wrote: > > > Nick Rout wrote: > > > None of it cheap, but if you are looking for technical > > > books its a great place. Good for OT books too :-) > > You're absolutely right there. > > Although I counted about 6 different Linux magazines the > >

Re: dhcp client name problem

2005-05-19 Thread Daniel Grant
> I have set up a computer on a LAN. > > It runs Mandrake 9.2. I have set it up to obtain an IP > address etc from the dhcp server on boot. The dhcp server > in a standard multi purpose asdl modem. > > Everything works fine, an IP address is obtained and > routing is set correctly. > > The only pr

Re: mount misbehaving

2006-02-19 Thread Daniel Grant
> On Mon, 2006-02-20 at 09:39 +1300, Steve Holdoway wrote: > > Technically, you shouldn't use the terminating '/'... > > mount /dev/hdb1 /mnt/hdb1 > > is better. However, here's a few questions: > > > > Does 'df' show an entry for /mnt/hdb1 > > Nope, > > [EMAIL PROTECTED]:~$ df -hT > Filesystem

Re: mount misbehaving

2006-02-19 Thread Daniel Grant
> On Mon, 2006-02-20 at 10:16 +1300, Daniel Grant wrote: > > What is the output of these: > > grep hdb1 /etc/mtab > > Nothing, > > > grep hdb1 /proc/mounts > > And nothing. > > > > > I belive mount checks mtab, which could possibly get out > &g