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 Nov 2017, 18:38
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Wireless doesn't always connect
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
jamesjeffries2

Joined: 27 Apr 2008
Posts: 196

PostPosted: Sun 23 May 2010, 07:35    Post subject:  Wireless doesn't always connect  

Just updated to lucid puppy 5 and I've been having some issues with my wireless. Im using puppy on my advent netbook (its an MSI Wind on the inside) which uses the wireless card realtek 8187se. My network is using WPA2.

It doesn't always connect straight away and usually takes 4 or 5 attempts for me to connect.

Any one else had similar prroblems? Or got any suggestions on how to fix this?
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2544
Location: near here

PostPosted: Sun 23 May 2010, 15:27    Post subject:  

Ive been having similar problems with Puppy Linux 5. I have RTL8188S wireless USB stick. Internet connection is intermittent. 'Simple Network Setup' won't load a module.

With 'Puppy Network Wizard' it will connect. I have identified 2 possible problems.

1. I maybe using the wrong module - currently its rtl819xU

2. Timing between current Kernel and wireless connection doesn't work well. One page suggested fixing the rate at 5.5M
Back to top
View user's profile Send private message Visit poster's website 
Béèm


Joined: 21 Nov 2006
Posts: 11775
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Sun 23 May 2010, 15:27    Post subject:  

I have to connect with the network wizard.
_________________
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2544
Location: near here

PostPosted: Mon 24 May 2010, 10:31    Post subject:  

Internet wireless seemed to be working okay yesterday, after adding command :-

'iwconfig wlan0 rate 5.5M fixed'

to file in /etc/rc.d/

today its only working half the time : -(

I'm using Puppy5.00 with a rtl8188 wireless usb stick, plus i'm using the rtl819xU module on Network Wizard. (Simple Network Setup won't load a module for the device)

Any ideas (it works okay in winXP)?
Back to top
View user's profile Send private message Visit poster's website 
Word Warrior

Joined: 16 Oct 2008
Posts: 69

PostPosted: Wed 26 May 2010, 23:36    Post subject:  

jamesjeffries2, this sounds almost exactly like the problem I had in Puppy 4.3.1. See these threads, which I used to solve my problem:

http://www.murga-linux.com/puppy/viewtopic.php?t=54736
http://www.murga-linux.com/puppy/viewtopic.php?t=54640

If you like, I can post how I figured out how to write my script.
Back to top
View user's profile Send private message 
Word Warrior

Joined: 16 Oct 2008
Posts: 69

PostPosted: Wed 26 May 2010, 23:51    Post subject:  

darkcity, you may have to do like I did. Setting the rate helped, but that was only part of the solution:

Quote:
It seems that I have finally succeeded in getting my wireless working properly, but only time will tell. I am using this hand-crafted script:


Code:

#!/bin/sh

ifconfig wlan0 up
echo "=========== Interface Up ^ ============"

# From wag-profiles.sh and wireless profile:

iwconfig wlan0 mode managed
echo "=========== Mode ^ ============"

iwconfig wlan0 essid "Neilson Network"
echo "=========== ESSID ^ ============"

iwconfig wlan0 channel 6
echo "=========== Channel ^ ============"

iwconfig wlan0 ap 00:26:5A:BA:37:3F
echo "=========== AP ^ ============"

iwconfig wlan0 freq 2.437G
echo "=========== Frequency ^ ============"

iwconfig wlan0 rate 5.5M fixed
echo "=========== Rate ^ ============"

rm -f /var/run/wpa_supplicant/*

wpa_supplicant -i wlan0 -D wext -c /etc/network-wizard/wireless/wpa_profiles/00:26:5A:BA:37:3F.WPA-permanent.conf -B -dd

#sleep 30

rm -f /var/lib/dhcpcd/*.info
rm -f /var/run/*.pid
dhcpcd -t 30 -h puppypc -d wlan0

xmessage "Wireless Connected"



This script makes the connection much more quickly than the method the network wizard uses.

I put this script in /root/Startup, but that alone did not fix the problem. When I ran the script manually, it connected with no problems, even though it failed to connect as part of the post-X startup routine. I figured /etc/rc.d/rc.network was messing something up when it tried to connect, so I fooled it into thinking there was no configured wireless interface. That seems to have solved my problem.

To fool rc.network, I renamed all of the configuration files in /etc/network-wizard/wireless that the wizard had created for my card. If I am not mistaken, rc.network will not see any configuration file whose name has been changed, even if the name has changed by only one letter or other character.


I posted this in the two threads I referred to in the post above.
Back to top
View user's profile Send private message 
darkcity


Joined: 23 May 2010
Posts: 2544
Location: near here

PostPosted: Fri 28 May 2010, 18:50    Post subject:  

Thanks for the reply - someone on linuxquestions said puppy 4.3.2v3 connects easiest to internet. I'm going to try that now - will try your script latter. Thanks.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 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.0430s ][ Queries: 13 (0.0116s) ][ GZIP on ]