Go Back   Computer Forums > General Computing > Software and Operating Systems
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 02-02-2008, 09:48 PM   #1
Baseband Member
 
Metalwolf's Avatar
 
Join Date: Feb 2007
Posts: 53
Question Asigning keys scripts in linux

Hey, I know a little bit about Linux but I have a question. Is it possible to set Linux up do that if you press a key it will run a certain script? I have a Linux router that I want to set bandwidth caps on certain computers and boost the bandwidth on others. Such as boosting the bandwidth on the port connected to the computer to my room and the living room, and limiting the bandwidth to the family computer room. A gaming mode so to say. After I'm done gaming with my friends I would press another button and the connection caps and boosts would reset.
__________________

__________________
OS: Win XP PRO SP2 | RAM: 2GB | COOLING: Heatsink and fans, not factory | MOBO: Biostar 6100-m9 | GFX: GeForce 8400GS | SOUND: SB Audigy SE | NET: RTL8201 | CPU: AMD Athlon64X2 3800+ 2.0Ghz (current highest OC at 2.15, its a work in progress, will finish during spare time)
---90% of teens today would die if Myspace had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.---
Metalwolf is offline   Reply With Quote
Old 02-04-2008, 01:07 PM   #2
Daemon Poster
 
wmorri's Avatar
 
Join Date: May 2007
Posts: 1,066
Send a message via AIM to wmorri
Default Re: Asigning keys scripts in linux

You say that you have a Linux router. Does that mean the you have firmware on you router that is linux based? I am not following that. If that is what you mean then you would have to look at the source for the firmware, and write scripts for the bandwidth boost in there.

The only problem that I foresee with that scenario is you may have to do more scripting than you want to. You would have to write scripts for each and every port, determining where each cable or wireless signal goes. Wireless adds another aspect to the scenario, too.

Cheers!
__________________

__________________
LEARN BY DOING NOT BY FOLLOWING DIRECTIONS!
Linux Forever!

I thought you were a hispanic/african american? Who is the white guy in the pictures?
wmorri is offline   Reply With Quote
Old 02-05-2008, 12:25 AM   #3
Baseband Member
 
Metalwolf's Avatar
 
Join Date: Feb 2007
Posts: 53
Default Re: Asigning keys scripts in linux

Sorry, I should have been more clear on the last post. The router I'm currently using is DIY and running IPCOP. I want to build a new router but I plan to use Debian so do it. I figured I would have to write scripts for every port so that isn't a problem.
__________________
OS: Win XP PRO SP2 | RAM: 2GB | COOLING: Heatsink and fans, not factory | MOBO: Biostar 6100-m9 | GFX: GeForce 8400GS | SOUND: SB Audigy SE | NET: RTL8201 | CPU: AMD Athlon64X2 3800+ 2.0Ghz (current highest OC at 2.15, its a work in progress, will finish during spare time)
---90% of teens today would die if Myspace had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.---
Metalwolf is offline   Reply With Quote
Old 02-05-2008, 03:19 PM   #4
Daemon Poster
 
wmorri's Avatar
 
Join Date: May 2007
Posts: 1,066
Send a message via AIM to wmorri
Default Re: Asigning keys scripts in linux

Yeah, that shouldn't be a problem. As long as you are willing to write the scripts for each port.

Just a question. Which release of Debian are you planning to use, because this sounds like a very interesting DIY.
__________________
LEARN BY DOING NOT BY FOLLOWING DIRECTIONS!
Linux Forever!

I thought you were a hispanic/african american? Who is the white guy in the pictures?
wmorri is offline   Reply With Quote
Old 02-05-2008, 07:13 PM   #5
Baseband Member
 
Metalwolf's Avatar
 
Join Date: Feb 2007
Posts: 53
Default Re: Asigning keys scripts in linux

I'm planning to use Debian 3.1, Sarge i believe. I'm going to use Firestarter to simplify the process.
__________________
OS: Win XP PRO SP2 | RAM: 2GB | COOLING: Heatsink and fans, not factory | MOBO: Biostar 6100-m9 | GFX: GeForce 8400GS | SOUND: SB Audigy SE | NET: RTL8201 | CPU: AMD Athlon64X2 3800+ 2.0Ghz (current highest OC at 2.15, its a work in progress, will finish during spare time)
---90% of teens today would die if Myspace had a system failure and was completely destroyed. If you are one of the 10% that would be laughing, copy and paste this to your signature.---
Metalwolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 03:47 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0