LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to install USB wifi adapter driver? (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-usb-wifi-adapter-driver-4175516482/)

Bhanu999 08-26-2014 11:49 PM

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.

EDDY1 08-27-2014 12:29 AM

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.

Bhanu999 08-27-2014 01:38 AM

already installed
 
firmware-realtek is already installed

jdkaye 08-27-2014 03:30 AM

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

EDDY1 08-27-2014 03:38 AM

Dmesg should be requesting the driver what driver is it asking for?

jefro 08-27-2014 03:21 PM

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.

Bhanu999 09-01-2014 07:03 AM

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.

jdkaye 09-01-2014 12:12 PM

What network manager are you running? wicd? network-manager? something else?
jdk

Bhanu999 09-01-2014 07:50 PM

network-manager
 
I'm using network-manager (In KDE).

EDDY1 09-01-2014 08:08 PM

Have you clicked on wireless icon & tried connecting to your network?

Bhanu999 09-01-2014 09:27 PM

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.

EDDY1 09-01-2014 09:36 PM

Is the machine thats configured for shared network a linux machine?
Did you edit ip-tables for it?

Bhanu999 09-02-2014 06:30 AM

Ya it is a linux machine. I'm using Debian 7.6.

I Did not edit the ip-tables.

Bhanu999 09-03-2014 09:48 AM

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

Larry James 09-04-2014 10:37 AM

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:29 PM.