-
Junior Member
registered user
running shell script
hey, i've decided to load up my ndiswrapper driver a different way using this .sh script
Code:
#!/bin/sh
sudo ndiswrapper -e net8180
sudo ndiswrapper -i /home/splittik/wirelessdrive/net8180.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 essid default
sudo ifconfig wlan0 up
sudo pump -i wlan0
when i open the konsole and run the file from there, it runs the script and everything works out fine, but when i simply click on the file or put it in my Autostart folder it doesn't run it at all(or it doesn't work?). Why?
-
Senior Member
registered user
Re: running shell script
--You might as well take out all the "sudo" calls, and just run it as root.
Or call the script itself using sudo.
--As far as KDE goes, right-click on the file and see if the Execute permissions are set. (I don't use KDE personally; if it works from Konsole, I'd just do it that way.)

Originally Posted by
splittik
hey, i've decided to load up my ndiswrapper driver a different way using this .sh script
Code:
#!/bin/sh
sudo ndiswrapper -e net8180
sudo ndiswrapper -i /home/splittik/wirelessdrive/net8180.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 essid default
sudo ifconfig wlan0 up
sudo pump -i wlan0
when i open the konsole and run the file from there, it runs the script and everything works out fine, but when i simply click on the file or put it in my Autostart folder it doesn't run it at all(or it doesn't work?). Why?
Similar Threads
-
By ecliu in forum General Support
Replies: 0
Last Post: 02-20-2009, 11:14 AM
-
By migs_sison in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 02-24-2006, 01:21 AM
-
By mpweber77 in forum Customising & Remastering
Replies: 1
Last Post: 08-01-2005, 06:18 AM
-
By niXnoob in forum General Support
Replies: 3
Last Post: 10-06-2004, 04:56 AM
-
By ktheking in forum General Support
Replies: 4
Last Post: 06-29-2003, 12:34 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

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working
$99.99

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)
$300.00

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D
$49.29

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ
$350.00

SDrive Max Floppy Drive Emulator Atari 8-Bit 400/800/XL/XE Firmware 1.5 USB C R2
$70.00

Atari XE 130XE Computer NTSC with Power Supply Powers On Untested
$159.95

INFO/soft Character Generator Manual for Atari 3000/5000/7000 NTSC
$40.00

ATARI Mouse with Adapter for ST, STE, Mega STE, TT Optical - USA Seller
$29.99

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE
$34.25

ATARI HDD Drive ACSI Emulator 520-1040ST/STF/STFM, STE, Mega STE, TT030 acsi2stm
$48.95