-
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

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch
$439.00

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module
$699.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New
$101.99

New Sealed Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Transceiver Module *US
$17.00

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords
$240.00

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network
$874.99

Cisco C3850-NM-2-10G Catalyst 3850 2 x 10GE Network Module
$30.00

nxa-pac-750w-pe v02 NEW OPEN BOX for Cisco Nexus 9300 Series power supply
$200.00

Cisco Catalyst C9120AXI-B Wi-Fi 6 Access Points
$30.00