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 23 May 2013, 04:15
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to make wireless setup persistent in Racy Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
voronv

Joined: 23 Apr 2012
Posts: 6

PostPosted: Mon 23 Apr 2012, 22:32    Post subject:  How to make wireless setup persistent in Racy Puppy?
Subject description: Cannot make Racy to remember wireless settings
 

I am able to create a wireless profile for my home connection in Racy (latest version).
It is WEP secured. Then I load and use it to successfully connect to my network. At system shutdown it saves all changes to my private file.
However, at the next boot I need to start almost all over again.
It boots and displays some connection but it does not belong to my network.
Wlan profile that I created is there so I load it then click on Auto DNS and after that I am in again.
Only to let my system to forget this all at shutdown.

What shall I do to force it to remember?

In Ubuntu once I have set any wireless network even after a year when I am in a reach of a router my PC automatically connects.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 3687
Location: Charleston S.C. USA

PostPosted: Tue 24 Apr 2012, 02:15    Post subject:  

Here is a general guide to setup of wireless connection.
Maybe you missed a step.
http://www.murga-linux.com/puppy/viewtopic.php?t=65346

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
Back to top
View user's profile Send private message 
voronv

Joined: 23 Apr 2012
Posts: 6

PostPosted: Tue 24 Apr 2012, 23:08    Post subject: Guide is good but I did exactly the same
Subject description: Racy takes almost 2 min to update its save file at shutdown but is not saving my wireless setup
 

bigpup wrote:
Here is a general guide to setup of wireless connection.
Maybe you missed a step.
http://www.murga-linux.com/puppy/viewtopic.php?t=65346


No, I didn't.
Good guide, BTW and I did exactly the same.
I made a successful connection, maybe I failed to explain.
It is just my system fails to keep it after reboot.
Back to top
View user's profile Send private message 
rokytnji


Joined: 20 Jan 2009
Posts: 744
Location: Pecos/ Texas

PostPosted: Tue 24 Apr 2012, 23:41    Post subject:  

Barrys simple network manager saves my connection (wpa2) between reboots on Racy frugal install on my 4gig Pendrive on my Acer Aspire 5534 Laptop.

I guess your mileage may vary though.
Back to top
View user's profile Send private message Visit poster's website 
jafadmin

Joined: 19 Mar 2009
Posts: 343

PostPosted: Wed 25 Apr 2012, 22:05    Post subject:  

All versions of puppy have this same behavior for me.

I created a script that I put in Startup that starts my wireless at home.

Code:


#!/bin/sh
MYWLAN=eth1  # Change to your wireless interface
# "bring up" the interface unconfigured with this command
ifconfig $MYWLAN down
ifconfig $MYWLAN up
# to configure for WEP encryption on
# WEP network
iwconfig $MYWLAN essid MySSID
iwconfig $MYWLAN key 123abc123abc123abc123abc12
iwconfig $MYWLAN mode managed
iwconfig $MYWLAN freq 2.422G
iwconfig $MYWLAN channel 3
iwconfig $MYWLAN ap 00:51:C9:38:0D:0A
# now to obtain an automatic IP address (DHCP)
# for Puppy 4.0 onwards
rm -f /var/lib/dhcpcd/*.info
rm -f /var/run/*.pid
dhcpcd -t 30 -h My-Puppy -d $MYWLAN
ipinfo  #show connection information



I save it by a name that starts with a 'Z' so it will process last in startup. Something like "Z-wireless". Make it executable.

I hope this helps.
Back to top
View user's profile Send private message 
voronv

Joined: 23 Apr 2012
Posts: 6

PostPosted: Wed 25 Apr 2012, 23:05    Post subject: Looks like exactly what I need.
Subject description: Just - where exactly shall I put this script how to make it executable?
 

jafadmin wrote:
All versions of puppy have this same behavior for me.

I created a script that I put in Startup that starts my wireless at home.

Code:


#!/bin/sh
MYWLAN=eth1  # Change to your wireless interface
# "bring up" the interface unconfigured with this command
ifconfig $MYWLAN down
ifconfig $MYWLAN up
# to configure for WEP encryption on
# WEP network
iwconfig $MYWLAN essid MySSID
iwconfig $MYWLAN key 123abc123abc123abc123abc12
iwconfig $MYWLAN mode managed
iwconfig $MYWLAN freq 2.422G
iwconfig $MYWLAN channel 3
iwconfig $MYWLAN ap 00:51:C9:38:0D:0A
# now to obtain an automatic IP address (DHCP)
# for Puppy 4.0 onwards
rm -f /var/lib/dhcpcd/*.info
rm -f /var/run/*.pid
dhcpcd -t 30 -h My-Puppy -d $MYWLAN
ipinfo  #show connection information



I save it by a name that starts with a 'Z' so it will process last in startup. Something like "Z-wireless". Make it executable.

I hope this helps.


My experience with Linux is limited by usage of this pre-istalled Dell's version of Ubuntu 8.04.
It comes with a beatiful plugin that not only automatically connects to any network it had previously been set up. It also displays these attractive spinning images showing a progress which stop spinning when connection is established.
I understand that that plugin might have similar script executed on background but how convenient and creative it is.

I am able to customize this script with my parameters. But where exactly shall I save it, in which folder? And how do I make it executable?

Once I understand it I'll give it a try.
Thank you.
Back to top
View user's profile Send private message 
voronv

Joined: 23 Apr 2012
Posts: 6

PostPosted: Wed 25 Apr 2012, 23:53    Post subject: Script perfectly works, if to run from Console
Subject description: One more time - where shall I put it to make it executed at Startup/Boot time ?
 

jafadmin wrote:

I hope this helps.


Yes, script perfectly works, if to run from Console - thank you.

But I still don't know where I shall put it (what folder).
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 464
Location: Kamloops BC Canada

PostPosted: Thu 26 Apr 2012, 01:17    Post subject: How to make wireless setup persistent in Racy Puppy?  

Hi voronv,


As jafadmin wrote:
Quote:
I created a script that I put in Startup that starts my wireless at home.

Startup refers to the name of the folder where the script was placed so that it will run each time you boot up. Open Rox-Filer and you will see the Startup folder in your home directory. An option could be to create a new folder somewhere within my-documents directory for keeping extra scripts. Then you would place a sym-link to your script in the Startup folder. This arrangement might be handy if you make backups of folders and files in my-documents directory and are apt to forget to check elsewhere for wanted files.

Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
voronv

Joined: 23 Apr 2012
Posts: 6

PostPosted: Fri 27 Apr 2012, 19:13    Post subject: Persistent wireless setup in Racy Puppy? -- SOLVED!  

Monsie wrote:
Hi voronv,


As jafadmin wrote:
Quote:
I created a script that I put in Startup that starts my wireless at home.

Startup refers to the name of the folder where the script was placed so that it will run each time you boot up. Open Rox-Filer and you will see the Startup folder in your home directory. An option could be to create a new folder somewhere within my-documents directory for keeping extra scripts. Then you would place a sym-link to your script in the Startup folder. This arrangement might be handy if you make backups of folders and files in my-documents directory and are apt to forget to check elsewhere for wanted files.

Monsie


Your message provided a missing clue to this puzzle.
I guessed that Startup refers to the Startup folder but I began doubting that when it did not work for me. I repeat: placing a script directly in Startup folder made the script probing the network and failing to connect.
But symlink placed in Startup folder instead of shell script itself (moved to my-documents) worked perfectly for me. I am not sure if I need this script to be that verbose; will keep it as is for a while then probably make it quiet.

Many thanks to you all. (This was not the only issue I got; I have lot more so you will hear from me soon).
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 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.0608s ][ Queries: 12 (0.0038s) ][ GZIP on ]