Posts: 8
duncspur
Joined: 20 Aug 2015
#1
Hi All,

I'm hoping someone can help me.

I've installed AntiX on an old Compaq Presario 2100. Previously, I'd tried Ubuntu, Lubuntu and Xbuntu but all had problems installing to the SDA so I went for a full install using AntiX and it's worked fine - with one issue.

I am using a TP-Link WN725N adapter as the installed wifi adapter doesn't work. The TP-Link adapter can see the wifi network and connects to it, but very briefly. I have been able to get on the internet but within a few seconds the network disconnects. I can't install any drivers because it's not connected to the internet long enough. I've searched the internet for a solution but to no avail.

My network has WPA and the password is correct (and other laptops connect to it fine). It also connected fine under Ubuntu.

Can anybody help or point me in the right direction please?

Any help gratefully received.

Duncan
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
I have usb internal wireless n on this netbook

Just to show what you need to post

Code: Select all

$ inxi -N
Network:   Card-1: Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller
           driver: r8169
           Card-2: Ralink RT2870/RT3070 Wireless Adapter driver: rt2800usb
And what else I would like to see from

Code: Select all

inxi -F
Howdy and welcome.
Posts: 8
duncspur
Joined: 20 Aug 2015
#3
Many thanks for your reply. Hopefully this works (it's had a bit of journey to get pasted here!

Code: Select all

carol@antix1:~
$ inxi -N
Network:   Card-1: Intersil ISL3874 [Prism 2.5]/ISL3872 [Prism 3]
           driver: hostap_pci
           Card-2: National DP83815 (MacPhyter) Ethernet Controller
           driver: natsemi

Code: Select all

carol@antix1:~
$ inxi -F
System:    Host: antix1 Kernel: 4.0.5-antix.1-486-smp i686 (32 bit)
           Desktop: IceWM 1.3.8
           Distro: antiX-15-V_386-full Killah P 30 June 2015
Machine:   System: Hewlett-Packard product: Presario 2100 (DM963A) v: KAM1.49
           Mobo: Hewlett-Packard model: 0024 v: PQ1A78
           Bios: Phoenix v: KAM1.49 date: 09/12/2003
CPU:       Single core mobile AMD Athlon XP2500+ (-UP-) cache: 512 KB
           speed/max: 530/1855 MHz
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RS100 [Radeon IGP 320M]
           Display Server: X.Org 1.16.4 drivers: ati,radeon (unloaded: fbdev,vesa)
           Resolution: 1024x768@60.00hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
           GLX Version: 3.0 Mesa 10.3.2
Audio:     Card ULi M5451 PCI AC-Link Controller Audio Device
           driver: snd_ali5451
           Sound: Advanced Linux Sound Architecture v: k4.0.5-antix.1-486-smp
Network:   Card-1: Intersil ISL3874 [Prism 2.5]/ISL3872 [Prism 3]
           driver: hostap_pci
           IF: wifi0 state: down mac: 00:02:8a:bb:aa:5b
           Card-2: Intersil ISL3874 [Prism 2.5]/ISL3872 [Prism 3]
           driver: hostap_pci
           IF: wlan0 state: down mac: 00:02:8a:bb:aa:5b
           Card-3: National DP83815 (MacPhyter) Ethernet Controller
           driver: natsemi
           IF: eth0 state: down mac: 00:0d:9d:81:b5:48
Drives:    HDD Total Size: 47.8GB (5.3% used)
ID-1: /dev/sda model: ST94011A size: 40.0GB
ID-2: USB /dev/sdb model: USB_Flash_Drive size: 7.7GB
Partition: ID-1: / size: 35G used: 2.4G (8%) fs: ext4 dev: /dev/sda1
Sensors: System Temperatures: cpu: 49.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 113 Uptime: 2:22 Memory: 127.1/433.8MB
Client: Shell (bash) inxi: 2.2.25
carol@antix1:~
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#4
Hmmm. Is this your wifi?


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.tp-link.com/en/products/details/cat-11_TL-WN725N.html"
linktext was:"http://www.tp-link.com/en/products/deta ... N725N.html"
====================================


Because I saw no usb readouts for it. Funny how my internal usb wifi got pcked up but not yours.

So.

Code: Select all

$ lsusb -v
Bus 001 Device 004: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x148f Ralink Technology, Corp.
  idProduct          0x3070 RT2870/RT3070 Wireless Adapter
  bcdDevice            1.01
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              450mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           7
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x05  EP 5 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
<snip>
I am just showing my internal wireless usb readout. As lsusb -v spits out a ton of info that is not needed, but is good if you can find the wireless usb part.
I tried to cleanup your post using code tags on your terminal readout for easier reading (nice white backgraound) . Code tags are the in the advanced reply section of reply box and you can copy and paste readouts between there.

Digging a little deeper here. I really need to see something like rtl8188eu in your readouts to make sure we are on the same page here. Hopefully lsusb -v will give us that.

Because I cannot be sure yet you need the firrmware for that nano usb yet from here.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://packages.debian.org/jessie/firmware-realtek"
linktext was:"https://packages.debian.org/jessie/firmware-realtek"
====================================


Maybe the end lines on

Code: Select all

sudo dmesg | tail 
or

Code: Select all

sudo dmesg | grep firmware
might tell me something needed also. Not to worry. This can be made working in AntiX 15.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#5
I am being carreful as they made different versions (aka ver.1, ver.2) of these sticks and I cannot be sure of the wifi chip till I see it.
Posts: 8
duncspur
Joined: 20 Aug 2015
#6
Thanks again! Yes, that is EXACTLY the USB.
Here are the results of my lsusb -v

Code: Select all

carol@antix1:~
$ lsusb -v

Bus 001 Device 004: ID 0bda:8179 Realtek Semiconductor Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x8179 
  bcdDevice            0.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            4.00
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
carol@antix1:~
Posts: 8
duncspur
Joined: 20 Aug 2015
#7
Here is sudo dmesg | tail

Code: Select all

carol@antix1:~
$ sudo dmesg | tail
[sudo] password for carol: 
[ 6236.230496] usb 1-2: USB disconnect, device number 3
[ 6239.644146] usb 1-1: new full-speed USB device number 4 using ohci-pci
[ 6239.878121] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[ 6239.878143] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6239.878155] usb 1-1: Product: 802.11n NIC
[ 6239.878166] usb 1-1: Manufacturer: Realtek
[ 6239.878176] usb 1-1: SerialNumber: 00E04C0001
[ 6239.888141] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[ 6265.034911] MAC Address = 30:b5:c2:11:4d:40
[ 6265.180257] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
carol@antix1:~
$
Posts: 8
duncspur
Joined: 20 Aug 2015
#8
and here is sudo dmesg | grep firmware

Code: Select all

carol@antix1:~
$ sudo dmesg | grep firmware
[   12.479113] wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
carol@antix1:~
$ ^C
carol@antix1:~
$
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#9
Ok. Going by

Code: Select all

 0bda:8179
Just for the sake of it. Give full readout of

Code: Select all

lsusb
and

Code: Select all

lsusb -t
Hopefully to see what driver is loaded.

Looks like you bought the hard to get going one of those usb dongles, The firmware message kinda confirms this.
It is Realteks fault on this one.

lsusb -v left out the exact wifi chip but guessing from dmesg it is

Code: Select all

8188
Now I know you have the ver. 2 which can be a PITA to get going.

Since you say it is working, How about showing me

Code: Select all

lsmod | grep 8188
I suspect the firmware is loaded. But flaky so maybe

Code: Select all

cat /proc/modules | grep 8188
I am really gonna need some help guys as this looks to be a blacklist and recompile the driver with kernel and dkms install info needed along with build-essentials.
However, it is possible to compile the necessary kernel module 8188eu.ko. For this one has to install all the necessary compilation tools at first and download the latest driver from its git repository:
1
2
3
4

sudo apt-get install build-essential linux-headers-generic git
mkdir ~/RTL8188EU
cd ~/RTL8188EU
git clone git://github.com/lwfinger/rtl8188eu.git

Afterwards, the driver can be compiled and installed:
1
2
3

cd ~/RTL8188EU/rpi-rtl8188eu
make
sudo make install

The new kernel module can be loaded via modprobe and can be installed system-wide for automatic loading:
1
2
3

sudo depmod -a
sudo update-initramfs -u
But maybe. Just maybe. In root terminal.

Code: Select all

apt-get update && apt-get install firmware-realtek
If the above works . You will need to reboot and connect wifi again and test to see if drop outs still occur.

This one is a tuffy for me. __{{emoticon}}__
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#10
Might help or not.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://www.google.com/search?num=50&biw=1600&bih=748&q=rtl8188eu+site%3Aforums.debian.net&oq=rtl8188eu+site%3Aforums.debian.net&gs_l=serp.12...5681.6850.0.9746.3.3.0.0.0.0.146.393.0j3.3.0....0...1c.1.64.serp..3.0.0.cezZlHhkIME"
linktext was:"https://www.google.com/search?num=50&bi ... ezZlHhkIME"
====================================


Also, as of July 10 2015


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.eenyhelp.com/answer/patch-0-5-staging-rtl8188eu-clean-up-rtl8188e-read-chip-version-help-215735223.html"
linktext was:"http://www.eenyhelp.com/answer/patch-0- ... 35223.html"
====================================


I need help on this from the looks of it. And here I was hoping for a simple fix.
Posts: 8
duncspur
Joined: 20 Aug 2015
#11
Many thanks again!!!

Here is lsusb

Code: Select all

$ lsusb
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp. 
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
and

Code: Select all

$ lsusb -t
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8188eu, 12M
and

Code: Select all

$ lsmod | grep 8188
r8188eu               395729  0 
and

Code: Select all

$ cat /proc/modules | grep 8188
r8188eu 395729 0 - Live 0xdd101000 (C)
Tried this (and got this)

Code: Select all

# apt-get update && apt-get install firmware-realtek
Hit http://ftp.uk.debian.org jessie InRelease
Hit http://security.debian.org jessie/updates InRelease                        
Ign http://nl.mxrepo.com jessie InRelease                                      
Hit http://nl.mxrepo.com jessie Release.gpg                            
Hit http://nl.mxrepo.com jessie Release
Hit http://ftp.uk.debian.org jessie/main i386 Packages                
Hit http://security.debian.org jessie/updates/main i386 Packages               
Hit http://ftp.uk.debian.org jessie/contrib i386 Packages                      
Hit http://nl.mxrepo.com jessie/main i386 Packages                             
Hit http://security.debian.org jessie/updates/contrib i386 Packages            
Hit http://nl.mxrepo.com jessie/nosystemd i386 Packages                        
Hit http://ftp.uk.debian.org jessie/non-free i386 Packages                     
Hit http://security.debian.org jessie/updates/non-free i386 Packages           
Hit http://security.debian.org jessie/updates/contrib Translation-en           
Hit http://ftp.uk.debian.org jessie/contrib Translation-en                     
Hit http://security.debian.org jessie/updates/main Translation-en              
Hit http://ftp.uk.debian.org jessie/main Translation-en                        
Hit http://security.debian.org jessie/updates/non-free Translation-en          
Hit http://ftp.uk.debian.org jessie/non-free Translation-en                    
Ign http://nl.mxrepo.com jessie/main Translation-en_GB        
Ign http://nl.mxrepo.com jessie/main Translation-en
Ign http://nl.mxrepo.com jessie/nosystemd Translation-en_GB
Ign http://nl.mxrepo.com jessie/nosystemd Translation-en
Reading package lists... Done                                                  
Reading package lists... Done
Building dependency tree       
Reading stais te information... Done
firmware-realtek is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
This shed any light?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#12
This shed any light?
Yeah. The wrong light sadly.

right driver

Code: Select all

Driver=r8188eu
right firmware is loaded

Code: Select all

firmware-realtek is already the newest version.
Yet you are dropping out. All I need to know now. Did you md5sum the AntiX Iso you downloaded before burning the cd at slow speed like 4x?
Posts: 8
duncspur
Joined: 20 Aug 2015
#13
No, I didn't. I just did the 'check disk for errors' thing. Should I try again?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#14
Go you know what a md5sum check is?


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://pinguyos.com/2011/08/md5sum-what-is-it-and-why-should-i-care/"
linktext was:"http://pinguyos.com/2011/08/md5sum-what ... ld-i-care/"
====================================
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#15
can you post the output of

ifconfig

while the part is connected and while its dropped?