SliTaz SliTaz Forum

You are not logged in.

#1 2014-02-11 16:30:32

Rumav
Member
Registered: 2014-02-10
Posts: 4

USB WiFi not working

Hi, I'm a new user of SliTaz 4.0 and linux in general. I'm very happy with this OS, but my problem is my wireless internet connection doesn't work.

I have a wireless USB TP-LINK TL-WN722N model adapter. I spend several hours searching in google and trying to get it working, downloading usbutils, chipset firmware, modprobe, subox wifibox. I ended with a mess and finally gave up.

lsusb 0cf3:9271

https://wikidevi.com/wiki/TP-LINK_TL-WN722N

If anyone could help me I would be very appreciated.

Thanks for your time!.

Offline

#2 2014-02-11 18:04:17

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: USB WiFi not working

Hi Rumav

I have the same chipset and it works flawlessly if you use the

ar9271.fw (md5sum 2e6f5045ec4c5a42bb93ced242bad0ba ) Firmware File.

Place it in /lib/firmware/

Don't take the "htc_" Firmware, won't work.

EDIT:

here is the link to the Firmware package

http://forum.slitaz.org/topic/netgear-wna1100?bb_attachments=22182&bbat=1000

Offline

#3 2014-02-11 23:42:05

Rumav
Member
Registered: 2014-02-10
Posts: 4

Re: USB WiFi not working

Thank you very much for your reply sixofeight.

I did what you said, download the firmware package and install it. I went to lib/firmware to make sure the ar9271.fw file were there also.

But for some reason wifi doesn't work yet.

My network.conf looks like:

INTERFACE="wlan0"

DHCP="yes"

STATIC="no"

IP="192.168.1.6"

NETMASK="255.255.255.0"

GATEWAY="192.168.1.1"

DNS_SERVER="192.168.1.1"

WIFI="yes"

WIFI_INTERFACE="wlan0"

WIFI_ESSID="any"

WIFI_MODE="managed"

WIFI_KEY=""

WIFI_KEY_TYPE="none"

WIFI_IWCONFIG_ARGS=""

I tried /etc/init.d/network.sh restart command, and this is what appears in console:

Stopping all interfaces

ifconfig: SIOCGIFFLAGS: No such device

ifconfig: SIOCGIFFLAGS: No such device

Killing all deamons

killall: udhcpc: no process killed

wlan0            No such device

ifconfig: SIOCGIFFLAGS: No such device

ifconfig: SIOCGIFFLAGS: No such device

wlan0 is not a wifi interface, changing it.

Configuring ...lo          no wireless extensions.

dummy0           no wireless extensions.

eth0                  no wireless extensions.

iwconfig: unknown command "any"

Starting udhcpc client on: ...

udhcpc: SIOCGIFFLAGS: No such device

Usb adapter is well conected to port. I go to the Tazpanel/Network/wireless I press start button and then scan, scan result is empty.

What should I do?, can you give some advice?, if you need more information please don't hesitate to ask me.

Thanks for your time and support!.

~~~~~~~~~~~~~~~~~ Edit:

iwconfig output:

lo no wireless extensions

dummy0 no wireless extensions

eth0 no wireless extensions

lsusb output:

Bus 001 Device 001: ID 1d6b:0001

Bus 001 Device 002: ID 0cf3:9271

Offline

#4 2014-02-12 00:32:10

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: USB WiFi not working

Hi

ok..step by step....

pull out the usb-wifi > reboot > plug in again > open terminal,

type ifconfig -a ,do you have a wlan0 ?

One Question:

do you have Slitaz installed on a flash-drive or HDD; or do you use a Live-CD?

because the firmware must be present before the usb-wifi is detected and configured.

btw.your network.conf is lacking the credentials for your network

Offline

#5 2014-02-12 02:00:15

sixofeight
Member
Registered: 2013-07-02
Posts: 234

Re: USB WiFi not working

part 2

If you have a wlan0:

3 ways to configure your network

If your network is WPA secured: (doesn't work with WEP )

go to menu > System Tools > wifi configuration > doubleclick your network

and put in the key

or open SliTaz-panel > Network > wireless, you should see some Networks,

click on your's > under Connection put in your key and click Configure

or open /etc/network.conf (as root) and edit

# Wifi connection.

# Enable/disable wireless connection at boot time.

WIFI="yes"

# Wifi interface (iwconfig) and ESSID.

WIFI_INTERFACE="wlan0"

WIFI_ESSID="YOUR NETWORK NAME"

WIFI_MODE="managed"

WIFI_KEY="YOUR KEY"

WIFI_KEY_TYPE="WPA OR WEP"

WPA_DRIVER=""

WIFI_CHANNEL=""

WIFI_IWCONFIG_ARGS=""

after that open a terminal su to root and type /etc/init.d/network.sh start

btw.If you can't find your network but other ones, open a Terminal and type

iwlist channel

to see the available channels.your AP should use one of them.

(I once had the Problem that my AP was on channel 13 but my usb-wifi gave me

only the channels 1-11)

Offline

#6 2014-02-12 15:06:38

Rumav
Member
Registered: 2014-02-10
Posts: 4

Re: USB WiFi not working

Thank you very much sixofeight!, now wifi is working and I can browse the internet.

It worked at the first time, seem easy, I don't know what I did wrong yesterday tongue

Thanks! <3

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]