-
Arrrrgggg....my script won't run from the desktop!
This is probably one of those newbie problems that will seem ridiculous once I start to understand what's going on. I want to run the following script from the KDE desktop (I've installed knoppix on my HD). I simply want to click on it and have it run:
Code:
#!/bin/sh
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=hot authtype=opensystem
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0=fa:fb:fc:fd:fe
sudo ifconfig wlan0 up
sudo pump -i wlan0
echo done!
I've saved it to my desktop as hotNetwork.sh, and I've changed the permissions to be executable. When I click on it, nothing happens, and it doesn't run the commands in the script. Help?
-Tofer
p.s. I also tried assigning it to open up with "sh" or "bash" via the little wrench tool in the properties box, but that doesn't help.
Similar Threads
-
By bob58 in forum General Support
Replies: 10
Last Post: 11-29-2004, 11:53 PM
-
By bob58 in forum General Support
Replies: 2
Last Post: 11-26-2004, 07:25 AM
-
By fabriloup in forum General Support
Replies: 1
Last Post: 09-13-2003, 10:28 AM
-
By lindros in forum General Support
Replies: 10
Last Post: 07-24-2003, 08:26 PM
-
By punk000 in forum General Support
Replies: 3
Last Post: 02-26-2003, 07:02 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Intel Core i5-12500T SRL5W 2GHz 18MB 6 Core Socket LGA1700 Desktop CPU Processor
$114.99

INTEL CORE I9-10940X X-SERIES PROCESSOR | 3.30GHZ | SRGSH
$179.99

(LOT OF 20) Intel Core i5-8400 CPU 2.80GHz Desktop Processor (SR3QT)
$700.00

Intel Core Ultra 7 265K CPU Desktop Processor LGA 1851 20-Core - New
$284.79

AMD Ryzen 5 5500 Processor ( read Description)
$59.00

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor
$14.49

Intel Core i7-3770K 3.5 GHz Processor
$39.00

Intel SR3XE Core i5-8500 3.0GHz 9M Socket 1151 6-Core CPU Processor *Tested*
$32.99

PS5 Over Heating Problem Solver 1.5 Grams Liquid metal thermal paste CPU, GPU
$15.99

AMD Ryzen 7 PRO 8700GE 8-Core/16-Thread Up to 5.1GHz AM5 (FL1)
$189.00