Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-26-2014, 11:49 PM
|
#1
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Rep: 
|
how to install USB wifi adapter driver?
Hi, I'm using debian 7.6 OS.
I'm unable to install USB wifi adapter driver (Leoxsys USB wire).
I inserted the device in my USB port and checked it by using command
'lsusb', it has detected the device.
I have the driver software in a folder.
there is a file by name 'install.sh', I executed it by using command
./install.sh
but it has showed some error messages like this
Authentication requested [root] for make driver:
install.sh: 48: [: unexpected operator
cp: target `wire/driver/Linux/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116/include/autoconf.h' is not a directory
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/dexter/my_files/Leoxsys USB wire/driver/Linux/driver/rtl8188EUS_rtl8189ES_linux_v4.1.2.2_5805.20121116 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
make[3]: *** No rule to make target `USB'. Stop.
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
I don't know where to check the error messages and how to resolve it.
please help me in solving this problem.
|
|
|
08-27-2014, 12:29 AM
|
#2
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Install firmware-realtek it's available in repos or you can download the .deb here
https://packages.debian.org/search?s...rmware-realtek
You can use dpkg or gdebi to install it.
|
|
|
08-27-2014, 01:38 AM
|
#3
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
already installed
firmware-realtek is already installed
|
|
|
08-27-2014, 03:30 AM
|
#4
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
Do you know the name of the driver you're trying to install? I'm also using a realtek wifi dongle. Here's what my lshw command shows:
Code:
*-network
description: Wireless interface
physical id: 3
bus info: usb@2:2.4
logical name: wlan1
serial: 00:0b:81:ab:19:0a
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8712u ip=192.168.1.67 multicast=yes wireless=IEEE 802.11b
You can see it uses the r8712u driver which I got from the firmware-realtek package.
jdk
|
|
|
08-27-2014, 03:38 AM
|
#5
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Dmesg should be requesting the driver what driver is it asking for?
|
|
|
08-27-2014, 03:21 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Exactly what chipset is this device?
Common steps for a nic.
Linux has the driver already.
Linux has driver but selected wrong driver.
Native linux driver available.
Ndiswrapper for native windows driver.
Start with finding out if you have a driver already installed before you go and build a driver.
|
|
|
09-01-2014, 07:03 AM
|
#7
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
thanks for all
I found the name of the driver which I',m trying to install
it is r8188eu
Finally I installed the driver by downloading it from github.com/lwfinger
I'm able to see the wire and wireless interfaces in the system tray (I'm using KDE)
but I'm unable to configure and activate wifi.
I have executed the lshw command and it shows the following.
*-network
description: Wireless interface
physical id: 1
bus info: usb@1:8
logical name: wlan0
serial: 00:e0:4c:1d:c5:20
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated
Please help me in configuring the wifi.
|
|
|
09-01-2014, 12:12 PM
|
#8
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep: 
|
What network manager are you running? wicd? network-manager? something else?
jdk
|
|
|
09-01-2014, 07:50 PM
|
#9
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
network-manager
I'm using network-manager (In KDE).
|
|
|
09-01-2014, 08:08 PM
|
#10
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Have you clicked on wireless icon & tried connecting to your network?
|
|
|
09-01-2014, 09:27 PM
|
#11
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
Ya I clicked on wireless network.
Ya I clicked on wireless network.
I'm able to see the list of other wireless networks.
I'm able to connect to the few of them for which I know the password.
But I'm not able to share the internet through my computer via wifi.
I created a new shared network.
I configured the network as per the following
In the wireless tab
SSID: dexter
Mode: Ad-hoc
Band: Automatic
Restrict to interface: Any
MTU: Automatic
In the wireless security tab
Security: WEP
Key type: Hex or Ascii Key (for 64 or 128 bit)
Key: (mypassword)
WEP index: 1 (Default)
Authentication: Open system
In the IPv4 tab
Method: Shared
When i click on the wireless network icon it is showing "configuring interface" and after some time it is showing connection failed.
|
|
|
09-01-2014, 09:36 PM
|
#12
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
Is the machine thats configured for shared network a linux machine?
Did you edit ip-tables for it?
|
|
|
09-02-2014, 06:30 AM
|
#13
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
Ya it is a linux machine. I'm using Debian 7.6.
I Did not edit the ip-tables.
|
|
|
09-03-2014, 09:48 AM
|
#14
|
LQ Newbie
Registered: Jun 2013
Location: India
Posts: 27
Original Poster
Rep: 
|
I'm getting the error like this.
When I'm trying to connect to the shared network i'm getting the following error.
WPA Ad-Hoc disabled due to kernel bugs
|
|
|
09-04-2014, 10:37 AM
|
#15
|
Member
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381
Rep:
|
This is a great resource for people having problems with their USB Adapters. That your original question which the dedicated members here has helped you resolve.
I followed the thread because I had input of which I was sure would get your adapter working.
Since you have it working, you might consider marking the immediate question/issue resolved and start a new issue regarding how to share networking. That is different from installing your usb adapter.
If you create a new thread and link to it, I'll follow that one and work with you on resolving your sharing issue.
I would consider that route more productive to the community and would be glad to help you with the new issue in a new thread.
Again, as far as the current thread, if the steps you took to install your usb adapter didn't work I would have referred you to: http://faq.apollo3.com/ljames/ubuntu/networksupport/ which so far hasn't failed. Jefro was about to point you to the Ndiswrapper which resolves NIC's that doesn't have native Linux support.
Again, I'll gladly proceed with helping to resolve your network sharing issue in a different thread.
-- L. James
--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames
|
|
|
All times are GMT -5. The time now is 06:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|