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 17 Apr 2014, 07:19
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
SWLPR-5400 wireless pci card problems
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Wed 12 Sep 2007, 19:21    Post subject:  SWLPR-5400 wireless pci card problems  

Just pruchased a safecom wireless pci card, model swlpr-5400, it shows a penguin on the box, so linux compatible, yeah, right.

Fitted card, booted puppy, new interface available, wlan0.

Wizard couldnt find an ip by dhcp, but did find "an alive network".

with iwconfig i can essid etc, but cannot get it to register the ap

The module used is the r8180. The linux driver on the shipped cd is for fedora only (lots of fedora specific stuff i suppose, and the instructuons have been poorly written).

dmesg just returns (many lies of)

IEEE802.11: Sending authentication request
IEEE802.11: Received authentication response


Anyone suggest what to try next (loads of googling doesnt help much)

Edit :- A lspci (after copying the latest pci.ids to /usr/share shows the card to be the following

Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8185 IEEE 802.11a/b/g Wireless LAN Controller (rev 20)
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10656
Location: Arizona USA

PostPosted: Wed 12 Sep 2007, 23:41    Post subject:  

I'm no expert but I'd say that if Puppy can see a wireless network then the driver Puppy found for the wireless card must be the right one. Don't waste your time trying to make a driver work, Puppy has already done it.

However, just because Puppy found a driver for your wireless card doesn't mean you'll be able to connect to the network. Finding the right driver is only the first step in getting connected, but don't get discouraged. Keep plugging away and we'll help. Smile
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Thu 13 Sep 2007, 08:22    Post subject:  

The Realtek wifi driver is one that Barry did not include in Puppy's "zdrv" module collection, because the Realtek source code would not compile at the time.
But since then, we have been able to compile the Realtek wifi modules; r8180 and r8187 -
http://www.murga-linux.com/puppy/viewtopic.php?p=139192#139192
Note the special requirement to delete any old modules in /lib/modules/2.6.21.5/kernel/net/ieee80211/
Back to top
View user's profile Send private message 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Thu 13 Sep 2007, 17:43    Post subject:  

Quote:
The Realtek wifi driver is one that Barry did not include in Puppy's "zdrv" module collection, because the Realtek source code would not compile at the time.


I've been having problems compiling the driver from the manufacturere myself, compiles fine on other linux system though, maybe puppy specific ?

The .pet you mention is no good for me, I'm running 2.16 kernel is 2.6.18.1, the modules from the pet wont load , i get the following
insmod: error inserting './r8180.ko': -1 Invalid module format
Back to top
View user's profile Send private message 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Thu 13 Sep 2007, 18:03    Post subject:  

I just tried compiling the source in the post you mentioned, and got lots of errors.

/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:6: error: redefinition of 'crypto_digest_init'
include/linux/crypto.h:320: error: previous definition of 'crypto_digest_init' was here
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c: In function `crypto_digest_init':
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:7: warning: implicit declaration of function `crypto_hash_cast'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:7: warning: initialization makes pointer from integer without a cast
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: error: variable `desc' has initializer but incomplete type
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: error: unknown field `tfm' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: error: unknown field `flags' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: error: storage size of 'desc' isn't known
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:10: warning: implicit declaration of function `crypto_hash_init'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:8: warning: unused variable `desc'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c: At top level:
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:15: error: redefinition of 'crypto_digest_update'
include/linux/crypto.h:328: error: previous definition of 'crypto_digest_update' was here
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c: In function `crypto_digest_update':
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:16: warning: initialization makes pointer from integer without a cast
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: error: variable `desc' has initializer but incomplete type
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: error: unknown field `tfm' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: error: unknown field `flags' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: error: storage size of 'desc' isn't known
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:24: warning: implicit declaration of function `crypto_hash_update'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:17: warning: unused variable `desc'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c: At top level:
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:28: error: redefinition of 'crypto_digest_final'
include/linux/crypto.h:334: error: previous definition of 'crypto_digest_final' was here
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c: In function `crypto_digest_final':
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:29: warning: initialization makes pointer from integer without a cast
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: error: variable `desc' has initializer but incomplete type
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: error: unknown field `tfm' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: error: unknown field `flags' specified in initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: warning: excess elements in struct initializer
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: warning: (near initialization for `desc')
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: error: storage size of 'desc' isn't known
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:32: warning: implicit declaration of function `crypto_hash_final'
/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.c:30: warning: unused variable `desc'
make[2]: *** [/usr/src/linux/rtl8180-0.22_pre20070726/crypto_compat.o] Error 1


Is this just a problem with the kernel for 2.16 and not 2.17 ?
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5139
Location: Australia

PostPosted: Thu 13 Sep 2007, 21:31    Post subject:  

There are Realtek wifi drivers for Puppy 2.16 (2.6.18.1 kernel) here -
http://dotpups.de/dotpups/Wifi/drivers-for-Puppy-2.12-to-2.14/

... or just upgrade to 2.17.
Back to top
View user's profile Send private message 
hushpuppy

Joined: 31 Dec 2006
Posts: 208

PostPosted: Fri 14 Sep 2007, 17:29    Post subject:  

Quote:
here are Realtek wifi drivers for Puppy 2.16 (2.6.18.1 kernel) here -


Thanks for the link.

I had just about managed to get the source compiled by the time i was able to read your message, and shortly after got it compiled, and the nic working.

I had to make minor changes to the source code and symlink (in the r8180 directory) the Modules.symvers file to the one in ../ieee80211 directory.

The network wizard still wont configure the nic, it cant see an active network, but i can do it by hand.

Ill write a short howto if it would be beneficial to anyone.

I've reverted back to the one you pointed me to (it's an earlier version), just because it's in a .pet, and saved me time by not having to create one.

Thanks again for the link.
Back to top
View user's profile Send private message 
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 » Advanced Topics » Hardware » Networking » Wireless
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.0580s ][ Queries: 11 (0.0035s) ][ GZIP on ]