Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB wifi adpater
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Reiner6
n00b
n00b


Joined: 14 Aug 2016
Posts: 35

PostPosted: Mon Aug 15, 2016 6:22 am    Post subject: USB wifi adpater Reply with quote

First of all, this is my first time with gentoo or any linux system, a complete noob in every way
So i've been trying to install gentoo in an old laptop, i had it plugged in to the ethernet the hole way, since i noticed that laptop doesn't have its own wifi, I decided to get an usb adapter to see if it could work, during the intalation i tried the command, and it showed me 3 possible connections, before i putted the usb adapter there were only 2 so i assumed it was online. So i finally got to the reboot after everything the handbook says but now the adapter isn't showing up
I wanted to take the laptop to school to work in it but without wifi i can't connect since this is 2016 and there are not ethernet connections in every corner
can anyone help?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Mon Aug 15, 2016 12:50 pm    Post subject: Reply with quote

Check if your kernel is configured correctly and firmware is installed for the wifi adapter.

Does the wifi adapter show up in "lsusb" and "ifconfig -a" when you plug it in?
Back to top
View user's profile Send private message
Reiner6
n00b
n00b


Joined: 14 Aug 2016
Posts: 35

PostPosted: Mon Aug 15, 2016 2:48 pm    Post subject: Reply with quote

With "ifconfig" it shows me my ethernet connection, that now for some reason is not working as i tried to ping, and when i use "lsusb" i just get
Code:
-bash: lsusb: command not found
Back to top
View user's profile Send private message
Reiner6
n00b
n00b


Joined: 14 Aug 2016
Posts: 35

PostPosted: Mon Aug 15, 2016 3:46 pm    Post subject: Reply with quote

ok so i entered sys-apps/usbutils and now lsusb works
and yes, the usb appears, but not in ifconfig
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43223
Location: 56N 3W

PostPosted: Mon Aug 15, 2016 5:37 pm    Post subject: Reply with quote

Reiner6,

The process is as follows.

Insert your USB WiFi, then run lsusb.
Code:
...
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 002 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
...
Get the Vendor and Device ID. Here its
Code:
0bda:8176
Put that into google
Code:
0bda:8176 linux
The linux helps avoid Windows hits.
The word kernel can help too.

Find a hit like
Code:
http://cateee.net/lkddb/web-lkddb/RTL8192CU.html
. Thats just for this worked example.
You want a Linux Database entry for your Vendor and Device ID.

This is the kernel configuration entry for the hardware driver.
Code:
prompt: Realtek RTL8192CU/RTL8188CU USB Wireless Network Adapter

Most USB WiFi dongles need firmware. Its often included in linux-firmware. Emerge that.

You also need one of the WiFi stack in the kernel, wpa_supplicant and so on.
Its covered in the Handbook

One gotcha ... make the wifi driver a loadable module until it works. You may need to unload and reload it during testing.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2152
Location: Berlin, Germany

PostPosted: Tue Aug 16, 2016 8:31 am    Post subject: Reply with quote

As NeddySeagoon said, your kernel is missing the driver or you don't have the firmware installed. Firmware is part of the linux-firmware package.

If you don't know which driver to enable in menuconfig, you can show us the lsusb output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum