RT2500 and wpa

Post Reply
Message
Author
metapower
Posts: 2
Joined: Tue 15 Jul 2008, 19:38

RT2500 and wpa

#1 Post by metapower »

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: Select all

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

metapower
Posts: 2
Joined: Tue 15 Jul 2008, 19:38

#2 Post by metapower »

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

valpy
Posts: 67
Joined: Wed 18 Apr 2007, 20:38
Location: Looking at the tapestry

#3 Post by valpy »

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.

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

#4 Post by davids45 »

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.

Post Reply