-
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

Compaq 242506-001 Netelligent 100 FDDI DAS Fiber SC PCI Network Adapter Vintage
$249.00

Vintage HP 21MX 1000 M-Series Minicomputer Chassis Backplane Parts AS-IS
$228.19

Vintage Computer Keyboard Northgate OMNIKEY Ultra
$120.00

Lot of 2 Vintage Plextor PX-43CS SCSI CD-ROM Caddy Drives + 4 Caddies Used
$55.99

Vintage Intel SDK-86 8086 Microprocessor System Design Kit Evaluation Board
$599.00

Creative Labs CT1750 Sound Blaster 16 MCD ISA Sound Card Vintage
$79.99

Original Vintage Old Style STANDARD Black CD Jewel Case (Heavy Duty) 90g Lot
$316.95

Amiga Commodore A500 - Untested-For Parts or Repair - Vintage
$200.00

Vintage Apple iMac G4 15" Lamp 700MHz 512MB Mac OS X 10.4.6 W/ Pro Speakers
$300.00

Vintage Hewlett Packard HP 13181-60074 Circuit Card Assembly / Interface Board.
$94.76