You are not logged in.

#1 2013-04-03 04:17:32

Divitto
Member
Registered: 2013-04-03
Posts: 8

usb wifi adapter name?

Hello all, this seems like a stupid question but after a few hours of googleing on my phone, im stuck on it.

the begginers guide says to enter lsusb to find your usb adapter when i do this it returns:
bus 001 Device 002: ID 13b1:002f Linkseys AE1000 V1 802.11N [Ralink RT3572]

then as far as i can tell it says to use "ip link set <Device> up"
ive tried every combination of the lsusb output i can think of in place of <device> with no success it always returns "cannot find device "whatever i entered"

so my question is, how do i get the name or something i can use to reference my usb adapter when i run the ip link set up command? or do you have to use a different command for usb devices?

i dnt have access to wired internet and im still running from the install disk. any info or links u can give me would help but please dont send me to the wireless or wired connection wiki pages as ive read them like 20 times without success. thank you!

Offline

#2 2013-04-03 04:21:24

parazyd
Member
From: Amsterdam
Registered: 2012-10-14
Posts: 259
Website

Re: usb wifi adapter name?

Did you load the drivers with modprobe?
Also, just type" ip link" and see if it's already up.

Offline

#3 2013-04-03 04:24:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,142

Re: usb wifi adapter name?

parazyd did not come right out and say it, but ip link will tell you the name of the device.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#4 2013-04-03 04:25:16

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: usb wifi adapter name?

The lsusb is so that you can find the chipset (in your case it is Ralink RT3572) so you can use that information to load the appropriate module for it.  This is of course if udev has not already autodetected and loaded the appropriate module for it already.

Once you load the module, your device will be recognized by the operating system.  At this point you can determine what your system is calling your device with "ip link".  Then you can use the "ip link set <interface> up" (if it is not up already).

Once that has all been done, then you can connect to the internets.

Offline

#5 2013-04-03 04:37:05

Divitto
Member
Registered: 2013-04-03
Posts: 8

Re: usb wifi adapter name?

wow thank you i didnt expect to get answers this fast!
i ran ip link and got this

1: lo: <LOOPBACK, FRONT, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
          LINK/LOOPBACK 00:00:00:00:00:00 brd 00:00:00:00:00
2. eth0: <BROADCAST MULTICAST UP LOWER_UP> mtu 1500 qdisk pfifo_fast state UNKNOWN mode DEFAULT qlen 1000
          link/either 00:a0:cc:56:dd:73 brd ff:ff:ff:ff:ff:ff
3. wlan0: <NO-carrier broadcast multicast up> mtu 1500 qdisc mq state DOWN mode DEFAULT QLEN 1000
      link/either 00:25:9c:fc:35:3d brd ff:ff:ff:ff:ff:ff


which one is what im looking for? i assume its the lo: option, but whats the name is it mtu?

Offline

#6 2013-04-03 04:42:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,142

Re: usb wifi adapter name?

wlan0.

Now, you get to try to associate with an access point.  Try running iw wlan0 scan as root.  It should show you all of the access points in your area.

Edit:  You will really want to read this article starting at this index  (Even better, read the whole thing wink )


lo is the local loopback (the address is 127.0.0.1)
eth0 is the wired internet
wlan0 is the wireless internet.

mtu=Maximum Transmission Unit.  (See the link <--- over there)

Last edited by ewaller (2013-04-03 04:48:13)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#7 2013-04-03 04:56:30

parazyd
Member
From: Amsterdam
Registered: 2012-10-14
Posts: 259
Website

Re: usb wifi adapter name?

Interesting... wlan0.
How old is your Arch installation?

Offline

#8 2013-04-03 04:58:08

Divitto
Member
Registered: 2013-04-03
Posts: 8

Re: usb wifi adapter name?

iw wlan0 scan returned a huge list of stuff i dnt know how to tell what is what could you give me an example of what im looking for? also im used to using a terminal emulator, how do u scroll up with out a mouse? i checked the link you provided ill give it further study, but as of right now its really confusing.

Offline

#9 2013-04-03 05:02:35

parazyd
Member
From: Amsterdam
Registered: 2012-10-14
Posts: 259
Website

Re: usb wifi adapter name?

You could pipe the output:

# iw wlan0 scan |more

Offline

#10 2013-04-03 05:04:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,142

Re: usb wifi adapter name?

Well, what that means is that your network is working smile .  The problem you have now is that you have to associate with a wireless access point.  Access points are often (should be) encrypted.  You can have a few methods at your disposal.  Netcfg, Netctl, Networkmanager and wicd allow you to manage the connection automatically,  If you are trying to connect to an AP with wpa or wpa2 encryption, you will need wpa_supplicant.  The tools I mentioned will control wpa_supplicant, or you can control it by hand.  You will need to read up on these and decide how you want to proceed.  We will be here.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#11 2013-04-03 05:11:57

Divitto
Member
Registered: 2013-04-03
Posts: 8

Re: usb wifi adapter name?

i just downloaded the iso last week or so, so it should be a recent mirror.

piping he output helped the connection i need is the first one (i can tell by the network name) but it gave me a lot of information about it which information do i need and what do i do with it?

Offline

#12 2013-04-03 11:01:33

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,020
Website

Re: usb wifi adapter name?

The only information you'll really need from that is the essid.  You'd also need to know what kind of encryption it uses (if any), but I suspect you'd know this anyways if it is a network you wanted to connect to.

For the next steps, however, please read the article ewaller linked to - it leads you step by step through the process.  The hard stuff is out of the way: you're adaptor is working, and you are able to scan and detect networks.  The wiki article should lead you quite well from here.  Feel free to ask if/when you run into problems executing the steps described there - but first, read it and try executing those steps.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#13 2013-04-03 17:33:57

Divitto
Member
Registered: 2013-04-03
Posts: 8

Re: usb wifi adapter name?

after reading a bit more then returning to the begginers guide i realized that since my adapter was already  working all i had to do was enter the command
wifi-menu wlan0

and arch pulled up a semi-gui interface that asked me to choose my network and enter the password.

so, now its working and im attemtimg to get xserver working.
THANK YOU for all your help and patience, ive heard horror storries of this forum, so far none of them are true!

Offline

#14 2013-04-03 18:17:56

parazyd
Member
From: Amsterdam
Registered: 2012-10-14
Posts: 259
Website

Re: usb wifi adapter name?

Good luck smile

Please, mark this thread [SOLVED]

Offline

Board footer

Powered by FluxBB