Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HELP] How do I connect to WiFi in Gentoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GazaIan
n00b
n00b


Joined: 31 Mar 2012
Posts: 3
Location: Hell

PostPosted: Sat Mar 31, 2012 5:07 pm    Post subject: [HELP] How do I connect to WiFi in Gentoo? Reply with quote

I installed Gentoo on my Galaxy Tab 10.1 (because, you know.... Android got less interesting on a tablet, so I left it to the phones). It booted up all nice and all but since gentoo is all Linux Shell and no GUI, I'm back in noob phase :( how do I connect to a network? The network I want to is secured with a 128-bit passkey, and the network name is B1KD7 (just so you know :p).

Now before you answer, keep this in mind; the tablet connects to WiFi using eth0, not wlan0. Just an Android tablet side effect with WiFi, a lot of times WiFi won't work if it is not set eth0.
Back to top
View user's profile Send private message
6thgenA34
n00b
n00b


Joined: 05 Mar 2012
Posts: 22

PostPosted: Sun Apr 01, 2012 7:27 am    Post subject: Reply with quote

I don't have access to my linux system right now so I can't be certain that this will work. But how you said iwconfig might not like eth0
Quote:
sudo ifconfig eth0 down
sudo iwconfig eth0 essid B1KD7 key XXXX-XXXX-XXXX-XXXX
sudo ifconfig eth0 up
sudo dhcpcd eth0

Top command will work for wep encryption. If you have wpa/wpa you can use wpa_supplicant_cli

Have you tried to make an alias for eth0 to wlan0?
Add to udev rules
Quote:
SUBSYSTEM=="net", ATTRS{address}=="mac addr", NAME="wlan0"


or

Quote:

ip link set eth0 name wlan0
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jul 14, 2012 11:00 am    Post subject: Reply with quote

GazaIan,

Lets not get too hung up on the interface name.
The command
Code:
ifconfig -a
will list all the interfaces known to the kernel.
If you only have sit0 and lo, your interface isn't known to the kernel and this the first problem to fix.

We need the output of lspci, or at least, the line that describes your wireless interface, so we can see what you need to do to your kernel.
Unless you have already installed pciutils, you need to boot with the live media again.
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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