LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-02-2004, 03:09 PM   #1
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
slackware ndiswrapper startup!


How can i get ndiswrapper to starup with my machine?? I am runnign slackware.. The ndiswrapper modules is loading at startup but I have to run iwconfig key and essid then dhcpcd wlan0 everytime I boot.

In mandrake10, i edit the /etc/sysconfig/network/???-wlan0 file.. and add in all the good stuff.

But I all i can find in slackware that is similar to this is /etc/rc.d/rc.inet1.conf can I add the settings in their?? I have also heard mention of a wireless.opt file that the settings should go into but I cant seem to find that file?? any ideas??

btw if it matters this is an mn-730 wireless pci card.

Thanks
Trey
 
Old 07-02-2004, 04:29 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
/etc/pcmcia/wireless.opts, or you could put it in /etc/rc.d/rc.local
The former is best, though, so that restarting PCMCIA services picks up any changes to that file.
 
Old 07-02-2004, 09:54 PM   #3
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by 2Gnu
/etc/pcmcia/wireless.opts, or you could put it in /etc/rc.d/rc.local
The former is best, though, so that restarting PCMCIA services picks up any changes to that file.
ok, i have tried it in both wireless.opts and rc.local.. but neither seem to work. putting the iwconfig files in rc.local actually added about 4 minutes to the boot time... right before i get the logon prompt. So I removed that, and the wireless.opt file doesnt seem to excute.. this is not a pcmcia device (it is PCI) is there anything else that I can do??
 
Old 07-03-2004, 12:49 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
Someday I will learn to read the entire post. Sorry for missing the PCI part.

You might try rc.inet1.
 
Old 07-03-2004, 09:17 AM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
Quote:
Originally posted by 2Gnu
Someday I will learn to read the entire post. Sorry for missing the PCI part.

You might try rc.inet1.
rc.inet1 is a big script file... im not sure where to add the iwconfig commands to it?? it does however call rc.inet1.conf, but it only seems to work for eth0 eth1 eth2 & eth3. I dont see anyway to tell the file to use wlan0 ???
 
Old 07-06-2004, 11:46 AM   #6
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Original Poster
Rep: Reputation: 41
ok i got this to work...

I got help from someone on a slackware IRC channel.

I created a new file in /etc/rc.d, i called it rc.wireless.ndis,
Code:
#!/bin/sh
iwconfig wlan0 essid XXXXX
iwconfig wlan0 key XxXxX
dhcpcd wlan0
made the file executable

chmod +x /etc/rc.d/rc.wireless.ndis

added rc.wireless.ndis to rc.local.

this got it running!

thanks
trey
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
making ndiswrapper go at startup samuelLjackson Linux - Wireless Networking 5 11-08-2005 06:48 PM
Autoload ndiswrapper on startup m2stian Fedora 2 12-05-2004 05:34 AM
ndiswrapper on startup? heri0n Linux - Wireless Networking 1 10-08-2004 04:29 PM
slackware 10 startup/hotplug ndiswrapper/acx100 driver jacksmernov Linux - Wireless Networking 3 09-06-2004 11:14 PM
Auto startup ndiswrapper VenimK Linux - Wireless Networking 1 02-29-2004 05:15 PM

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

All times are GMT -5. The time now is 02:06 PM.

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