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 26 Oct 2014, 00:42
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 Posts_count  
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: 652
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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