LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-27-2014, 12:49 AM   #1
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Rep: Reputation: Disabled
Unhappy 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.
 
Old 08-27-2014, 01:29 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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.
 
Old 08-27-2014, 02:38 AM   #3
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
already installed

firmware-realtek is already installed
 
Old 08-27-2014, 04:30 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
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
 
Old 08-27-2014, 04:38 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Dmesg should be requesting the driver what driver is it asking for?
 
Old 08-27-2014, 04:21 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 19,278

Rep: Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955Reputation: 2955
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.
 
Old 09-01-2014, 08:03 AM   #7
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-01-2014, 01:12 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
What network manager are you running? wicd? network-manager? something else?
jdk
 
Old 09-01-2014, 08:50 PM   #9
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
network-manager

I'm using network-manager (In KDE).
 
Old 09-01-2014, 09:08 PM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you clicked on wireless icon & tried connecting to your network?
 
Old 09-01-2014, 10:27 PM   #11
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-01-2014, 10:36 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is the machine thats configured for shared network a linux machine?
Did you edit ip-tables for it?
 
Old 09-02-2014, 07:30 AM   #13
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
Ya it is a linux machine. I'm using Debian 7.6.

I Did not edit the ip-tables.
 
Old 09-03-2014, 10:48 AM   #14
Bhanu999
LQ Newbie
 
Registered: Jun 2013
Location: India
Posts: 27

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-04-2014, 11:37 AM   #15
Larry James
Member
 
Registered: Jun 2000
Location: Buffalo, New York
Distribution: Ubuntu, Raspbian
Posts: 381

Rep: Reputation: 40
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't install driver for edimax EW-7811Un USB wireless adapter parker.hugh Linux - Newbie 43 02-17-2014 01:07 PM
[SOLVED] problems with usb wifi adapter bogey Ubuntu 3 08-31-2011 08:34 PM
Recomended USB Wifi Adapter jededale Linux - Hardware 13 01-02-2011 09:10 AM
How do i install a driver for a wireless usb adapter (debian) neil2010 Linux - Networking 42 09-23-2010 10:37 PM
USB adapter sees WPA2 as WPA. Do I update WiFi driver, net manager, or kernel? CyyberspaceCowboy Linux - Networking 10 11-16-2009 11:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration