How to turn off the LAN access while I'm away?
How to turn off the LAN access while I'm away?
I am using Puppy (very impressed) at the moment, from the CD.
In windows (can I say that here? <g>) I can easily disconnect the machine from the internet/comcast cable modem, with the old right click on the lan icon, and 'disable.' The same thing to re-enable when I want to.
In Puppy, I have the firewall on and all, but I don't like leaving it connected as the machine is on day, even when I am out. Is there a simply method to do the enable-disable LAN" with PuppyLinxux? I would like to have such an 'on-off' switch on the desktop if I can.
Thanks a lot
In windows (can I say that here? <g>) I can easily disconnect the machine from the internet/comcast cable modem, with the old right click on the lan icon, and 'disable.' The same thing to re-enable when I want to.
In Puppy, I have the firewall on and all, but I don't like leaving it connected as the machine is on day, even when I am out. Is there a simply method to do the enable-disable LAN" with PuppyLinxux? I would like to have such an 'on-off' switch on the desktop if I can.
Thanks a lot
-
- Posts: 622
- Joined: Wed 05 Apr 2006, 20:43
The commands are only and
You could put these into scripts and add icons for them. As a slightly harder exercise, put them together in one script that just Does The Right Thing
If you turn out to be connecting by wireless and forgot to mention it, the scripts get a little more complicated.
But I'm also curious to know what you are afraid your machine might get up to while you're out? Or does Steve Balmer come and drop subpoenas on your desk if he finds you running Linux? Gremlins???
Cheers,
Mark
Code: Select all
# ifconfig eth0 down
Code: Select all
ifconfig eth0 up
If you turn out to be connecting by wireless and forgot to mention it, the scripts get a little more complicated.
But I'm also curious to know what you are afraid your machine might get up to while you're out? Or does Steve Balmer come and drop subpoenas on your desk if he finds you running Linux? Gremlins???
Cheers,
Mark
Hi singlewc; Yep... Mark beat me to it (curses, foiled again!).
What you need now is a DeskTop icon, that runs the Bash code above.
Clicking the icon would toggle the NIC on & off.
It'd be nice if the icon changed to indicate if the NIC is on or off.
As you can probably tell, I've thought about just such a utility.
If you need more help... just ask & someone will assist.
What you need now is a DeskTop icon, that runs the Bash code above.
Clicking the icon would toggle the NIC on & off.
It'd be nice if the icon changed to indicate if the NIC is on or off.
As you can probably tell, I've thought about just such a utility.
If you need more help... just ask & someone will assist.
-
- Posts: 622
- Joined: Wed 05 Apr 2006, 20:43
-
- Posts: 622
- Joined: Wed 05 Apr 2006, 20:43
Nope. Nor does it work when I delete the appropriate .pid file first.
I actually do get wlan0 back (in the "ifconfig" command) after bringing it back up (just checked), along with an IP address. It just doesn't communicate.
I don't particularly want to chase this down. This is functionality that I don't need that much at the moment, and I may go to different wireless hardware which will make any such troubleshooting moot. The real problem I have right now is getting wireless and pup_save encryption to work AT ALL in 2.12; until then I am stuck with 2.11.
I actually do get wlan0 back (in the "ifconfig" command) after bringing it back up (just checked), along with an IP address. It just doesn't communicate.
I don't particularly want to chase this down. This is functionality that I don't need that much at the moment, and I may go to different wireless hardware which will make any such troubleshooting moot. The real problem I have right now is getting wireless and pup_save encryption to work AT ALL in 2.12; until then I am stuck with 2.11.
Thanks, I will give the scripts a try.marksouth2000 wrote:
But I'm also curious to know what you are afraid your machine might get up to while you're out? Or does Steve Balmer come and drop subpoenas on your desk if he finds you running Linux? Gremlins???
Cheers,
Mark
As for the why? Its not a fear of Microsoft Its mostly known as young teenage children..... It is by no means a real secure method, but it confounds them enough to just not bother with Dad's machine for the internet. On windwoes, a bit of effort would get them on. In Puppy Linux, using such scripting, there is pretty much no chance they will get it connected again
I could just use a password on my machine, but then I can't just fire it up, go get some coffee and come back to a machine ready to go.....
Hardly the best solution, but I consider it worth doing as a matter of principle more than anything else.
I do wish there was a method to specifically password protect thebroadband access..... Well, I guess there probably is, but I don't know about it. <shrug>
Much obliged,
John
One can lock the running session with a password, and it doesn't require you to have a log in screen on bootup. That's a relatively painless defense against children/coworkers/cats.
There's a lock icon in the top-right of the Puppy desktop by default.
I think you need to set a password first, for that go into a console and type "passwd", then enter your password twice.
There's a lock icon in the top-right of the Puppy desktop by default.
I think you need to set a password first, for that go into a console and type "passwd", then enter your password twice.