Peppermint | Linux OS Community Forum
 
It is currently Fri Jun 05, 2020 7:32 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Is this the answer to my usb wifi problem? (SOLVED)
PostPosted: Thu May 09, 2013 3:37 pm 
Offline

Joined: Thu May 09, 2013 3:15 pm
Posts: 30
Hey,

Newb loving peppermint3.

After following the network trouble shooting guide:

viewtopic.php?f=39&t=139

I think I've got the exact same problem as this guy:

https://www.zhujunsan.net/index.php/201 ... -raspbian/

I understand he's talking about raspbian but can I use the same solution on peppermint?

I have very little experience with the terminal so any bash(?) solution will have to be copy and paste I'm afraid.

I downloaded the 8188eu.ko file from another source already if that helps.

thanks


Last edited by beetooex on Sun May 12, 2013 5:46 pm, edited 1 time in total.

Top
 Profile  
 
 

 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Thu May 09, 2013 4:27 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
It's impossible to say without knowing which wireless card you have ....

OK, lets do this correctly .. can you open a terminal (Ctrl+Alt+T) and post the output from running these commands:
Code:
sudo lshw -C network

and
Code:
lsusb

and
Code:
iwconfig

and
Code:
rfkill list


The first command will prompt you for your password, but when you enter it noting will be echoed to screen (not even ******) but it is going in .. so just type it and hit enter.

Also remenber (unlike Windows) Linux commands ARE case sensitive, so that's a capital C in the first command.

For clarity .. there are NO numbers in the above commands, but as you said, it's pobably best to copy and paste them into the terminal anyway ;)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Thu May 09, 2013 5:22 pm 
Offline

Joined: Thu May 09, 2013 3:15 pm
Posts: 30
Thanks for the help mate. Just to complicate things I should probably say that the the internal pci wifi card on this laptop is working fine out of the box and is the active network connection at the moment. The usb wifi dongle (TPlink TL-WN725N) is what I'd like to be using. Lots of references confirmed it working under linux but they changed the chip so now apparently version 2 doesn't. The raspberry pi lot are talking about it a fair bit.

Anyway,

beetooex@beetooex-Latitude-D600 ~ $ sudo lshw -C network
[sudo] password for beetooex:
*-network:0
description: Ethernet interface
product: NetXtreme BCM5705M Gigabit Ethernet
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 01
serial: 00:0f:1f:a3:ed:b7
capacity: 1Gbit/s
width: 64 bits
clock: 66MHz
capabilities: pm vpd msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.121 firmware=5705-v3.16 latency=32 link=no mingnt=64 multicast=yes port=twisted pair
resources: irq:11 memory:faff0000-faffffff
*-network:1
description: Wireless interface
product: PRO/Wireless LAN 2100 3B Mini PCI Adapter
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:02:03.0
logical name: eth1
version: 04
serial: 00:0c:f1:35:f0:a4
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw2100 driverversion=git-1.2.2 firmware=712.0.3:3:00000001 ip=192.168.1.103 latency=32 link=yes maxlatency=34 mingnt=2 multicast=yes wireless=IEEE 802.11b
resources: irq:5 memory:fafef000-fafeffff

beetooex@beetooex-Latitude-D600 ~ $ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 0781:5571 SanDisk Corp.

beetooex@beetooex-Latitude-D600 ~ $ iwconfig
lo no wireless extensions.

eth1 IEEE 802.11b ESSID:"DOOBY" Nickname:"ipw2100"
Mode:Managed Frequency:2.437 GHz Access Point: F8:1A:67:48:29:50
Bit Rate=11 Mb/s Tx-Power:16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=100/100 Signal level=-37 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:3 Missed beacon:0

eth0 no wireless extensions.

beetooex@beetooex-Latitude-D600 ~ $ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Thu May 09, 2013 7:24 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Try this - Open a terminal and run these commands in sequence:
Code:
sudo apt-get install build-essential linux-headers-generic git

then:
Code:
mkdir ~/RTL8188EU

then:
Code:
cd ~/RTL8188EU

then:
Code:
git clone git://github.com/liwei/rpi-rtl8188eu.git

then:
Code:
cd ~/RTL8188EU/rpi-rtl8188eu

then:
Code:
make

then:
Code:
sudo make install

then:
Code:
sudo depmod -a

then:
Code:
sudo update-initramfs -u

then:
Code:
sudo modprobe 8188eu

Did wireless spring to life ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Fri May 10, 2013 4:07 pm 
Offline

Joined: Thu May 09, 2013 3:15 pm
Posts: 30
Nicely done. Worked straight off. After a bit of googling I even vaguely followed what we were doing. Just out of interest is this the standard way to install drivers in linux? Is it possible to do this kind of thing through the GUI package managers?

Looks like the migration from XP is back on track. Thanks again.


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Fri May 10, 2013 5:14 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Glad it worked out for you :)

No, normally the drivers would be included in the kernel so you'd not have to do anything .. but the occasional card will not have been included yet as either there are no open source drivers or the card is new.

If you now consider this issue solved, can you please edit the FIRST posting in this topic and change:-

Subject: Is this the answer to my usb wifi problem? (SOLVED)

Thanks in advance.

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem? (SOLVED)
PostPosted: Mon Aug 19, 2013 10:54 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
For future reference .. the above won't compile against the 3.8 kernel as used in Peppermint 4.

So these are the instructions for Peppermint 4

Code:
sudo apt-get install build-essential linux-headers-generic git

then:
Code:
mkdir ~/RTL8188EU

then:
Code:
cd ~/RTL8188EU

then:
Code:
git clone git://github.com/lwfinger/rtl8188eu.git

then:
Code:
cd ~/RTL8188EU/rtl8188eu

then:
Code:
make

then:
Code:
sudo make install

then
Code:
sudo cp -v ~/RTL8188EU/rtl8188eu/rtl8188eufw.bin /lib/firmware/rtlwifi/

then:
Code:
sudo depmod -a

then:
Code:
sudo update-initramfs -u

then:
Code:
sudo modprobe 8188eu

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem?
PostPosted: Thu Oct 31, 2013 6:07 am 
Offline

Joined: Thu Oct 31, 2013 5:58 am
Posts: 2
Hi! I tried both instructions but the TP-Link WN725N v2 doesn't seem to work. I have tried this on my desktop and laptop running Linux Mint 15 64-bit, same result.

Here is what I get after the second version:

Code:
*@* ~ $ uname -a
Linux * 3.8.0-32-generic #47-Ubuntu SMP Tue Oct 1 22:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

*@* ~ $ lsusb
Bus 002 Device 003: ID 0bda:8179 Realtek Semiconductor Corp.

*@* ~ $ iwconfig
wlan1     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

*@* ~ $ sudo lshw -C network
  *-network DISABLED
       description: Wireless interface
       physical id: 2
       bus info: usb@2:3
       logical name: wlan1
       serial: 64:66:b3:0f:a5:71
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated

*@* ~ $ sudo rfkill list all

*@* ~ $


Any help would be greatly appreciated.

EDIT: I have tested the device on WinXP 32-bit and it works. I also tried ndiswrapper but no luck with WinXP 64-bit driver, kernel panic.


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem? (SOLVED)
PostPosted: Thu Oct 31, 2013 7:19 am 
Offline

Joined: Thu Oct 31, 2013 5:58 am
Posts: 2
Just solved my issue.

Code:
cd ~/RTL8188EU/rtl8188eu
sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi/


https://github.com/lwfinger/rtl8188eu/issues/17

Quote:
A tip for anyone who stumbles upon this issue thread and finds that the firmware is not being loaded -- the driver will load the firmware from /lib/firmware/rtlwifi/rtl8188eufw.bin so be sure the .bin is there, and if not then copy the .bin from this git repo to that directory. Some older distros (or embedded kernel builds) may not have the firmware included so you have to do this manual step.


Top
 Profile  
 
 Post subject: Re: Is this the answer to my usb wifi problem? (SOLVED)
PostPosted: Thu Oct 31, 2013 1:39 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
Thanks for that .. I'll keep my eye open for the firmware not getting installed when helping the next person with an 8188eu :)

[EDIT]

Added to the instructions above :)

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


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

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL