I like to disconnect the internet when I want to and connect when I want to. I've been using Etch but have now installed Lenny. This is what I've done:
Created in kwrite and saved in /home/[my username]/bin as "ifdown":
#!/bin/bash
#script to bring network interface down
ifdown eth0
Clicked "is executable" on the "permissions" tab of the properties.
Changed the ownership to root (chown root:root ifdown)
My notes tell me that this is what I did in Etch to have it working (via a shortcut on the desktop). Either my notes are incomplete/wrong, things are different in Lenny, or I'm doing something else wrong.
Can anybody help me as to how to make it work, please?