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 Thu 28 Aug 2014, 09:22
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to execute wifi startup script at boot?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
Lfys

Joined: 16 Jan 2006
Posts: 6

PostPosted: Thu 19 Jan 2006, 15:15    Post subject:  How to execute wifi startup script at boot?  

After the answer I got to my previous post, I got my wifi up and running ... manually.

To have it always available, I had to add these lines to /root/.etc/rc.d/rc.local:
Code:
cd /
tar -zxvf /root/acx100-0.2.0pre8-57.tar.gz
depmod


Finally, according to the instructions, my PC should always execute the script below, but ... I don't have a clue how to do that.

Code:
#!/bin/sh
echo "Configuring Wireless LAN Card"
echo
modprobe acx_pci
iwconfig wlan0 essid *MYESSID* key *MYKEY* mode Managed
dhcpcd -t 20 -h puppypc -d wlan0
Back to top
View user's profile Send private message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 19 Jan 2006, 22:22    Post subject:  

Just put it in /etc/rc.d/rc.local too
Code:
cd /
tar -zxvf /root/acx100-0.2.0pre8-57.tar.gz
depmod
echo "Configuring Wireless LAN Card"
echo
modprobe acx_pci
iwconfig wlan0 essid *MYESSID* key *MYKEY* mode Managed
dhcpcd -t 20 -h puppypc -d wlan0


Anything in /etc/rc.d/rc.local will be run with every bootup.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send private message Visit poster's website 
Lfys

Joined: 16 Jan 2006
Posts: 6

PostPosted: Fri 20 Jan 2006, 17:43    Post subject:  

Right! The script is running. Thank you. Very Happy

Still no wifi without using WAG, though.
There seems to be something wrong with dhcpcd
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 1999
Location: Maine, USA

PostPosted: Fri 20 Jan 2006, 18:01    Post subject:  

Go back to your previous post and see what I showed you that I have in my rc.local

The info I found to get mine to work was to have the "sleep" line in there (to give iwconfig time) and also the line to remove (rm) anything dhcpcd-ath0.* from any previous boots.

(of course, ath0 is my driver, yours will be different.)

_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
Guest
Guest


PostPosted: Fri 20 Jan 2006, 18:15    Post subject:  

Ah, yes. I've seen that sleep. Is the number I have to add the time in ms?

And yes, the removal seems consistent with a message I got in the console.

How wonderful is the support you get from a forum like this one.
Thanks, boys & girls!
Back to top
Guest
Guest


PostPosted: Fri 20 Jan 2006, 18:22    Post subject:  

# sleep --help
BusyBox v0.60.5 (2005.09.04-04:44+0000) multi-call binary

Usage: sleep N

Pause for N seconds.

#
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0490s ][ Queries: 11 (0.0041s) ][ GZIP on ]