Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Sep 2014, 00:25
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
RT2500 and wpa
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
metapower

Joined: 15 Jul 2008
Posts: 2

PostPosted: Tue 15 Jul 2008, 15:42    Post subject:  RT2500 and wpa  

hello
i try to configure the wifi on my laptop computer, a MSI S250. I have a RT2500 chipset recognized
this is my personal script but i don't have a good ip
Code:
ifconfig ra0 up
iwpriv ra0 set NetworkType=Infra
iwconfig ra0 mode managed
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=TKIP
iwpriv ra0 set WPAPSK=mywpalongcodewithout""
iwpriv ra0 set SSID=myssid

rm /var/run/dhcpcd*.pid
dhcpcd -t 30 -h puppypc -d ra0


thanks
Back to top
View user's profile Send private message 
metapower

Joined: 15 Jul 2008
Posts: 2

PostPosted: Tue 15 Jul 2008, 16:12    Post subject:  

ok it's good i forgot the "" for password and ssid

puppy is a perfect operating system

so now i'd like to have my wifi connection automatically at startup
i placed my script in the /etc/rc.d directory and chmod 755 the file
but nothing happened
must i add something .... like sleep 5 (for ex) but i don't know where in the script....
thanks
Back to top
View user's profile Send private message 
valpy

Joined: 18 Apr 2007
Posts: 67
Location: Looking at the tapestry

PostPosted: Sat 15 Nov 2008, 09:58    Post subject:  

Try including your commands at the end of the file /etc/rc.d/rc.local

The contents of this file are automatically included in the startup script and will be executed at the end of startup.

You don't need to make /etc/rc.d/rc.local executable.
Back to top
View user's profile Send private message 
davids45


Joined: 26 Nov 2006
Posts: 647
Location: Chatswood, NSW

PostPosted: Sat 15 Nov 2008, 23:19    Post subject:  

G'day,
For my rt2500 systems, I'm using a script that is run from the Startup directory in /root.

The "Read Me" in the "Startup" directory says:
"Any executable or scripts (or symlink to) placed in this directory
will be executed after the X desktop has loaded.
This is handy if you want something to run automatically.
You can easily create a "symlink" (symbolic link) to an executable.
For example, say that you wanted to run /usr/local/bin/rubix (a game)
everytime Puppy is started. Use ROX-Filer (the file manager) and open
two windows, one on /usr/local/bin, the other on /root/Startup.
Then just drag 'rubix' across and a menu will popup and ask if you want to copy, move or link, and you choose to link.
Note, if you want to execute something at bootup and prior to X desktop loading, edit /etc/rc.d/rc.local."

So this is a different way to get your wireless running on starting up.

I find that sometimes it can take a minute or two to complete the connection, sometimes it is almost instant. Puzzling.

David S.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0588s ][ Queries: 11 (0.0143s) ][ GZIP on ]