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 Oct 2014, 16:19
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
TP-LINK Wireless N USB Adapt- Howtoconnect[Solved by pemasu]
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Author Message
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sun 23 Dec 2012, 22:08    Post subject:  

Bump
any new takers?

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
gyro

Joined: 28 Oct 2008
Posts: 488
Location: Brisbane, Australia

PostPosted: Mon 07 Jan 2013, 09:28    Post subject:  

Hi,

I'm currently connected to the Internet via a TP-LINK TL-WN727N usb wi-fi dongle.
I am running Dpup Expimo 5.X.3.4.12 as a frugal install.
So these things can work.

My device is not the same as yours, but a couple of suggestions might help:

1) Don't use the CD, find a version of Puppy that recognises it when you plug it in. (In a terminal window, type "dmesg", after plugging it in.)

2) Then use "Puppy Network Wizard" to configure the device.
If the device doesn't show up in "Puppy Network Wizard" then it hasn't been properly recognised.

gyro
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 11 Jan 2013, 00:32    Post subject:  

HELP !


I'm still trying to get this sorted

I'm using Puppy 5.4.3 updated so I have the right driver loaded and the device is recognised and configured but though it says it is connected to the router it will not send or get any packets from or to it. I can do it with a cable fine but not wireless ?

Here is an error log I found

I just need someone who knows whats going on with these things to point out what is wrong !

Code:
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:4378 (4.2 KiB)  TX bytes:4378 (4.2 KiB)

wlan0     Link encap:Ethernet  HWaddr 00:9E:95:9C:4D:1F 
          inet addr:10.1.1.2  Bcast:10.255.255.255  Mask:255.0.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.1.1.1        0.0.0.0         UG    0      0        0 wlan0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 wlan0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

DNS:
nameserver 8.8.8.8
nameserver 8.8.4.4

wlan0     Access Point/Cell: 00:00:00:00:00:00
wlan0     Mode:Managed
wlan0     2 key sizes : 40, 104bits
          4 keys available :
      [1]: off
      [2]: off
      [3]: off
      [4]: off
          Current Transmit Key: [1]
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN     
EXIT="OK"
/usr/sbin/ipinfo: line 115: 12926 Terminated              yaf-splash -close never -bg orange -text "$(gettext 'Please wait, probing...')"
134744072
134743044
134744072
134743044
134744072
134743044
Configuring interface wlan0 to network DLINK with iwconfig...
/usr/sbin/net-setup.sh: line 993: 18657 Terminated              gtkdialog3 --program NETWIZ_Connecting_DIALOG
134744072
134743044
Configuring interface wlan0 to network DLINK with iwconfig...
/usr/sbin/net-setup.sh: line 993: 20364 Terminated              gtkdialog3 --program NETWIZ_Connecting_DIALOG
rtl8187
134744072
134743044
Configuring interface wlan0 to network DLINK with iwconfig...
wlan0     No such device

Waiting time 2 seconds
wlan0     No such device

Waiting time 4 seconds
/usr/sbin/net-setup.sh: line 993: 30824 Terminated              gtkdialog3 --program NETWIZ_Connecting_DIALOG
cdromreadraw: Input/output error
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: block device /dev/sr0 is write-protected, mounting read-only

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 11 Jan 2013, 02:35    Post subject:  

In console, run pmodemdiag and post the created tarball here.
It will be created to the /root.
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 11 Jan 2013, 06:46    Post subject:  

No other error messages that I saw
_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.

Last edited by tytower on Tue 15 Jan 2013, 16:54; edited 1 time in total
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 11 Jan 2013, 07:14    Post subject:  

This one after I have tried to connect the wireless wlan0
(file deleted later for security, message me if you want it)

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.

Last edited by tytower on Tue 15 Jan 2013, 16:56; edited 2 times in total
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 11 Jan 2013, 10:03    Post subject:  

It loads rtl8192cu.ko driver, loads firmware, but does not connect.

I noticed several same kind bug reports when searching net. It can be that the version of rtl8192cu.ko in 3.2.29 kernel just does not work for you.

The solution to those other people have been to use realtek proprietary driver.

I compiled the 8192cu.ko driver. Installl the pet. The pinstall.sh script inside the pet unloads rtl8192cu.ko driver, loads 8192cu.ko driver instead and also it has MODULESCONFIG file edited so that it gives preference of 8192cu.ko over rtl8192cu.ko driver.

Please give feedback did this proprietary driver work better.

And please, use SNS for wireless connection first.
8192cu-k3.2.29.pet
Description 
pet

 Download 
Filename  8192cu-k3.2.29.pet 
Filesize  216.57 KB 
Downloaded  373 Time(s) 
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Fri 11 Jan 2013, 16:50    Post subject:  

pemasu wrote:

Please give feedback did this proprietary driver work better.


No it did not work better - it worked brilliantly !
Thank you ever so much
I have had a cable running through my house for about two months over Christmas when everybody tripped on it

Such a relief to get this working.
I hope you and yours have a magic 2013

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Fri 11 Jan 2013, 16:58    Post subject:  

Thank you of the positive feedback. I hope other Precise Puppy users find this post also if they have problems with rtl8192cu driver. It looks like that driver is not mature enough in 3.2.29 kernel.
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Sat 12 Jan 2013, 02:26    Post subject:  

I tried installing the pet in Puppy 5.3.1 It did not work
I tried another adaptor in Puppy 5.4.2 that I am using now -A Digitech 802.11N and it also connected without problem . I am using it connected now.

Some weeks earlier with the manufacturers disk I attempted a few times to compile the driver from those files supplied for Linux . It was meant for Ubuntu and parts of the code had "sudu" etc in it but when attempting to compile from the drivers Makefile it came up with errors relating to a "build" folder in lib.

Code:
 make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.2.29/build M=/initrd/mnt/dev_save/TempStore/WirelessDrivers/RTL8188C_8192C_8192D_USB_linux_v3.3.2_3192.20120103/driver/rtl8188C_8192C_8192D_usb_linux_v3.3.2_3192.20120103  modules
make: *** /lib/modules/3.2.29/build: No such file or directory.  Stop.
make: *** [modules] Error 2


I'm wondering how I might alter this to make it run. I thought to create a build folder but that did not work so I got no further.

I sort of assumed then that directory might be in Ubuntu but is removed in Puppy

I have the file if anyone needs it and if I can upload it

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
pemasu


Joined: 08 Jul 2009
Posts: 5463
Location: Finland

PostPosted: Sat 12 Jan 2013, 04:15    Post subject:  

It looks like you have not loaded kernel source sfs. You need devx sfs and kernel source sfs for compiling kernel modules.

Kernel modules aka kernel module drivers are absolutely compiled kernel spesific. Okay if you dont alter the configuration, you can use the same modules with updated lesser number kernel, like with LTS numbers, but the distro need to be same aka same gcc and the configuration needs to be non-altered.

So...Puppy 5.3.1 ( whatever it is ) is not compatible with my driver. Different kernel inside.
Back to top
View user's profile Send private message 
tytower

Joined: 24 Feb 2007
Posts: 440
Location: Green Island Cairns for the winter

PostPosted: Mon 14 Jan 2013, 18:33    Post subject:  

I hate wasting a lot of time trying to get something to work and then finding there is something wrong with the distribution .

This seems to be the case here with Puppy 5.3.1. As mentioned before I get an error with a missing build directory so I got down the necessary kernel source sfs file while running Puppy 5.4.2 and had a go at compiling the driver for myself again . This time it compiled fine .

So thinking I'm on a winner here I changed back to 5.3.1 and downloaded and started the neccessary Devx and kernel sfs files for that distro and had a go at compiling that. Exactly the same error message even though I started and ran a new installation without a save file and the sfs's mounted
Code:
.make: *** /lib/modules/3.2.29/build: No such file or directory.  Stop.


So it just needs a build directory with stuff in it which just isn't there in 5.3.1 . Looking in 5.4.2 that directory is there and has 21 Directories and 10 files in it so best check your distro first to see if its there

Anyway for those who may come searching to here in 5.4.2 here is how to compile the drivers . It will probably work in other versions too but I can only tell you which one it does not work in.


First get the two sfs files Devx and kernel sources for your distro.
load them at startup or on the fly per menu->setup->loadonthefly

Second get the linux driver files from the CD that comes with the WiFi device .I got mine from the CD for Digitech 802.11N but the driver seems to work with TP-Link TL-WN723N too.

Go into those ,open a terminal in the file with install.sh in it and type "./install.sh" It will run some stuff and then give you a choice . I took any one first and came back later and chose the other and ran it again

Now you get what seems like an error when you do that but I think it just sets up the MAKEFILe in drivers. Anyway change directory to "drivers" and open a terminal there and type make . This should then happily trot on and make the modules you need . When complete type "make install" and this puts the drivers where they should be

Go back and do the other choice if you want both drivers done

Now if anyone has a problem here make a post thanks - I'm gonna move on

_________________
Neither my Family nor my Property are Government issues. Governments should do what they were designed to do Manage the larger issues best done by Governments
To stop corruption give them 3 times the penalty. Get their agreement on first employment.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
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.1063s ][ Queries: 13 (0.0222s) ][ GZIP on ]