The time now is Wed 19 Jun 2013, 04:37
All times are UTC - 4 |
| Author |
Message |
metapower
Joined: 15 Jul 2008 Posts: 2
|
Posted: 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
|
|
 |
metapower
Joined: 15 Jul 2008 Posts: 2
|
Posted: 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
|
|
 |
valpy
Joined: 18 Apr 2007 Posts: 67 Location: Looking at the tapestry
|
Posted: 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
|
|
 |
davids45

Joined: 26 Nov 2006 Posts: 581 Location: Chatswood, NSW
|
Posted: 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
|
|
 |
|
|
|
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.0466s ][ Queries: 11 (0.0123s) ][ GZIP on ] |