LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-28-2005, 06:54 AM   #1
Kranfer
LQ Newbie
 
Registered: Oct 2005
Location: Troy, NY
Posts: 2

Rep: Reputation: 0
Ndiswrapper with Slackware Question


Greetings:

I am a n00b to Linux, however I am a programmer (c, C++, Java, etc) I am just wondering can any of you point me in the right direction to get NDISwrapper Automated so that I don't need to run the commands in the terminal to get it to work? So when I boot into Slackware it loads a profile or searches for networks and asks for the WEP key etc? KWifiManager seems to work alrighty... But after I do all the commands to tell it the ESSID and the WEP key etc...

Thanks!
 
Old 10-28-2005, 07:24 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,169
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
You can write a script (named for example ndisscript) to include all the commands you use to setup your wireless network. For example:
Code:
#!/bin/sh
modprobe ndiswrapper
iwconfig wlan0 ESSID "whatever"
iwconfig mode managed
iwconfig key xxxxxxxxx
...
ifconfig wlan0 up
...
You can put that script in /etc/rc.d and make it executable "chmod +x ndisscript" and add a line with the name of that script in /etc/rc.d/rc.local
 
Old 10-28-2005, 07:25 AM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
I simply put the commands into rc.local - either way is good
 
Old 10-28-2005, 05:26 PM   #4
Kranfer
LQ Newbie
 
Registered: Oct 2005
Location: Troy, NY
Posts: 2

Original Poster
Rep: Reputation: 0
Yeah but is there any GUI program that will work as a Wireless Card configuration type thing?
 
Old 10-29-2005, 06:18 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
If you run KDE, KWifiManager can do this. Gnome probably has something similar.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compaq Presario Slackware Install - ndiswrapper and X.org resolution question Zaulden Slackware 17 07-27-2005 09:41 PM
how to install ndiswrapper on slackware v. 10.0 salviadud Linux - Wireless Networking 9 02-09-2005 07:52 PM
ndiswrapper and slackware modules asdfjkl Slackware 4 10-15-2004 07:21 PM
using Ndiswrapper in slackware grt Linux - Wireless Networking 2 07-01-2004 12:20 PM
ndiswrapper 0.6 with slackware 9.1 chris8 Linux - Wireless Networking 5 04-23-2004 05:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration