LinuxQuestions.org
Visit Jeremy's Blog.
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-06-2003, 04:10 PM   #1
jamescov
LQ Newbie
 
Registered: Aug 2003
Location: Texas USA
Distribution: SuSE 9.1 (Download Ed.)
Posts: 27

Rep: Reputation: 15
How to get wireless card (WPC11) to run @ startup


Hello everyone,

After two days I got my WPC11 card working and also got the wlan up and wlandown working. Now I need to know how make wlanup run at system startup and wlandown run at system shutdown. Manythanks for any help
 
Old 10-06-2003, 06:15 PM   #2
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
For startup you could add the command to /etc/rc.d/rc.local at the end. For shutdown, I wouldn't worry about it, the system kills all the processes before shutdown anyway.
 
Old 10-06-2003, 09:07 PM   #3
jamescov
LQ Newbie
 
Registered: Aug 2003
Location: Texas USA
Distribution: SuSE 9.1 (Download Ed.)
Posts: 27

Original Poster
Rep: Reputation: 15
I figured out how to do it but I have a problem. When I setup a file to run automatically, is there a way to put the root password in the file so that I'm not prompted for it?
 
Old 10-07-2003, 01:56 AM   #4
Cimmerian
Member
 
Registered: Sep 2003
Location: Trondheim, Norway
Distribution: Slackware10 + Dropline Gnome
Posts: 47

Rep: Reputation: 15
That nice wpc11 card actually freezes my machine if I try to shutdown without disabling the interface first. Sucky driver, wish I bought a different card... Well, hopefully it will evolve into something wonderful some day

Btw, you should all put in your info what distro you use, so it's easier to answer questions and you don't have to write it or be asked every time. Because the init scripts work somewhat differently for different distros, though I believe most support sysvinit today.

If you do it in the init scripts, they are run as root, so you shouldn't be asked for anything.
 
Old 10-07-2003, 04:19 AM   #5
jamescov
LQ Newbie
 
Registered: Aug 2003
Location: Texas USA
Distribution: SuSE 9.1 (Download Ed.)
Posts: 27

Original Poster
Rep: Reputation: 15
WPC11 startup/shutdown issue resolved!

Hi everyone:

From reading this forum I have noticed that many people including myself, have had problems with the WPC11 card. From what i've read, everyone says you can't shutdown the computer without dsabling the card frist. This is true. What I figured is how to disable the driver during shutdown before the system has a chance freeze. I have only tested this with SUSE 8.2. If you make the following modacations to the file:/etc/init.d/pcmcia, it should resolve this issue.

1. Put the following below "### END INIT INFO"

#Disable wireless lan driver
/sbin/iwpriv wlan0 disable

#Shut down wlan0 net interface
cd /sbin/
./ifconfig wlan0 down
cd /var/run
rm dhcpcd-wlan0.pid

#Unload module
rmmod rtl8180_24x


Now put the following after "esac".


#Load module
cd /sbin
./insmod -f rtl8180_24x.o

#Set SSID
/sbin/iwpriv wlan0 wlan_para ssid2scan=(put network id here)
/sbin/iwpriv wlan0 wlan_para networktype=infra
/sbin/iwpriv wlan0 wlan_para encmode=wep
/sbin/iwpriv wlan0 wlan_para authtype=sharedkey
/sbin/iwpriv wlan0 wlan_para wepmode=wep40
/sbin/wlan/iwpriv wlan0 wlan_para wepdkeyid=0
/sbin/wlan/iwpriv wlan0 wlan_para wepkey40_1=(put key here)
/sbin/iwpriv wlan0 wlan_para wepkey40_2=(put key here)
/sbin/iwpriv wlan0 wlan_para wepkey40_3=(put key here)
/sbin/iwpriv wlan0 wlan_para wepkey40_4=(put key here)




#Enable wireless lan driver
/sbin/wlan/iwpriv wlan0 enable


#Configure wlan0 IP address
/sbin/dhcpcd wlan0

rc_exit
 
Old 10-07-2003, 06:00 PM   #6
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
excellent info.
 
  


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
Wireless Card WPC11 v.3 Linksys Install mismajor99 Linux - Newbie 11 02-06-2005 12:31 PM
Linksys Wireless WPC11 card UmneyDurak Fedora 1 01-19-2005 12:44 AM
Linksys Wireless Networking Card WPC11 nxny Linux - Wireless Networking 45 11-12-2003 09:41 PM
Linksys WPC11 v3 wireless card jgeddes Linux - Wireless Networking 0 04-02-2003 08:06 PM
linksys wpc11 wireless card kernel_forbin Linux - Hardware 1 03-23-2003 01:52 PM


All times are GMT -5. The time now is 01:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration