usb wifi on debian, howto?
hello everybody,
I'm trying to get a TP link TL-WN823N USB wifi adapter to work on a RPi but I: a) have never used/installed/configured wifi on a *nix system b) am puzzled about the driver so any help will be appreciated a lot. ;-) It was sold to me together with the RPi as a working combo. I found some information about the chipset (realtek rtl8192cu) and the driver, but it seems to have some issues. The adapter should be identical to the TL-WN821 & TL-WN822 model, but I guess it's not plug & play. TIA, P. |
Quote:
Code:
uname -r Code:
lsusb -t Code:
sudo lsusb -t Also Code:
sudo ifconfig -a |
Hi rokytnji, thank you very much for picking this one up!
I cannot post everything back because I also have a problem of accessing the system through putty (network error: connection refused) so I have to type everything manually. 1) kernel: 3.10.24 2) usb devices: Port 2: Dev 4, If 0, Class=vend., Driver=rtl8192cu, 480 On Port 1: Dev 3 there is a smsc95xx device 3) networkconfiguruation: eth0 is listed and working and there also is a wlan0 but without address info. In the raspbmc GUI it seems like only 1 NIC can be selected/configured but I guess that through the CLI, both can be set, right? EDIT: is it normal that /etc/network/interfaces is empty? |
Kernel is new enough so the driver/ko module is there.
Quote:
You are talking raspberry pi to me now and sorry bro but I don't own one or even know how their desktop even looks or how it interfaces to wireless with it's desktop connection manager. If it uses wicd-gtk since I use it alot to connect. Use ifconfig -a to see the wireless name (something like wlan0,eth1, etc......) In wicd preferences. Wireless interface box will be blank by default. Type in what ifconfig -a shows as the name. Example below of mine (you won't have the inxi command installed) Code:
$ inxi -Fxz So if I run wicd in this. wlan0 is what I would type in wireless interface blank box. This is all guess work for me of course because I don't run a raspberry pi device or any of its operating systems available for them. Quote:
wlan0 is waiting for you to connect it to the net is why it is blank. It cannot guess what your router name and password (wpa_supplicant) is. These videos are usually a good fall back way to get you out of a jam. https://www.youtube.com/watch?v=CNfOJhxIHMk https://www.youtube.com/watch?v=L8PhPQw3WFo Shotgun Link Happy Trails and Good Luck with the Pi, Rok |
USB wifi on debian with static ip?
Hi Rok,
Since I wrote RPi, I assumed it was clear that this is about a Raspberry Pi but isn't Debian on this device the same as on the x86 platform? The goal of my setup to create an ad hoc connection with a tablet (RPi is running xbmc) My 3 points were a reply to your questions, so ifconfig -a returned the eth0 and wlan0 information. So far, we figured out that the driver is loaded and wlan0 is present. I don't know if an ad hoc connection has the same capabilities regarding security but I will first try to get it working without any. The only thing now is to find out how/where to put the information for a static ip address. Thanks a lot anyway for getting me this far! ;-) R. EDIT: even though /etc/network/interfaces was empty, I have added this: auto wlan0 allow-hotplug wlan0 iface wlan0 inet static address <free ip> netmask <my subnet> gateway <my gateway> wireless-ssid <my ssid> wireless-mode <station> (don't know if this is correct) With 'iwlist scan' I can see my wireless network I can ping my loopback adapter but not any other network device. For the moment, wireless security is off |
This is what the interfaces file looks like on my RaspPi:
Code:
auto wlan0 Alternative you could use wicd. For an interactive version, use wicd-curses if you are working from the command line. Regards, Stefan Quote:
|
Hi Stefan, thank you for stepping in!
What distro are you running on your RPi? It seems that with Raspbmc, the /etc/network/interfaces file is not used in this version of Debian so changing that didn't have any effect. I had to install a plugin in Raspbmc to manage wireless networking. |
I am using Rasbian. I am not sure what is involved with Raspbmc.
[Edit:] It seems to me that Raspbmc may use Network Manager. If you are willing to use the wpa_supplicant, you could disable network manager. I saw instructions here: http://xmodulo.com/2014/02/disable-n...ger-linux.html. Code:
sudo /etc/init.d/network-manager stop Stefan Quote:
|
All times are GMT -5. The time now is 01:17 AM. |