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 Tue 29 Jul 2014, 04:53
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to get Wireless configuration to load at boot? (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Retina

Joined: 12 Aug 2005
Posts: 21

PostPosted: Sat 13 Aug 2005, 20:24    Post subject:  How to get Wireless configuration to load at boot? (Solved)  

Earlier this morning I first got my internet card to work, but never permenatly.

If I reboot, I'd have to take 10-15 minutes to get the internet back up and running, most of the time it doesn't even work at all [eg dhcpcd wlan0 wont give me an IP or anything]

Is there any sure fire way to get my internet up, and then have it load every time I restart the computer?
Back to top
View user's profile Send private message 
mike


Joined: 13 Aug 2005
Posts: 75
Location: Bowser

PostPosted: Sat 13 Aug 2005, 20:35    Post subject:  

I'm not sure what the commands would be as I have no experience with wireless, but whatever commands you use to get yourself up and running could be appended to the file /etc/rc.d/rclocal (i believe that's the name, I may be wrong) -

open the file up as a text file, and add the appropiate commands.

next time your compuer reboots into puppy, those actions will be performed before you get to the dektop, during the booting process.

that should get you going in the right direction, i hope
Back to top
View user's profile Send private message 
saintlangton

Joined: 28 May 2005
Posts: 108

PostPosted: Tue 16 Aug 2005, 19:53    Post subject:  

I'm currently working around a similar issue.

For some reason adding the commands to rc.local doesn't work on my setup.

My workaround is to create a script which i have called webstart it contains the comands:

#!/bin/sh
modprobe ndiswrapper
iwconfig wlan0
iwconfig wlan0 channel 11 essid xxx
dhcpcd wlan0

where xxx is the wireless network name.

(To create a script open Rox and right click in some space in the window and select 'new' then 'script'. Then right click on the file created and 'open as text' and type the commands and save. Now when you click on the script it runs all those comands)

Hope this helps

Chris

P.S I've got the 'Start-items' dotpup installed and it works with scripts (I use it to open gxine to play an MP3 on bootup, with my computers bios having a 'wake on time' feature puppy is now my alarm clock Very Happy ) but if I use it to run this script it just doesn't work. Don't know why. I just have to click the script and then my connection works. weird huh.
Back to top
View user's profile Send private message 
saintlangton

Joined: 28 May 2005
Posts: 108

PostPosted: Wed 24 Aug 2005, 17:43    Post subject:  

As an update to my post above I've discovered a working way to start wireless connection at bootup - simply have the script in re.local and also in the 'Start-items' dotpup. Between the 2 of them it gets it going.

No idea why it needs to be effectively done twice. But it works and doesn't noticably slow things down.

Hope this helps

Chris
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Wed 24 Aug 2005, 19:51    Post subject:  

Try a sleep 5 after loading ndiswrapper and before running another command
Back to top
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0448s ][ Queries: 11 (0.0036s) ][ GZIP on ]