Acesso internet wireless [RESOLVIDO]

1. Acesso internet wireless [RESOLVIDO]

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 11/08/2011 - 15:26h

Preciso acessar a internet com meu Notebook. Instalei o Linux Ubuntu ontem e quando tento ativar o wireless ele não ativa. Como faço para verificar se possuo o driver da placa instalado no Notebook? Como faço para verificar qual o modelo da placa?

Notebook: Philco 14D-P723WS

Vlw!


  


2. Re: Acesso internet wireless [RESOLVIDO]

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 11/08/2011 - 17:12h

para verificar qual placa você tem instalada posta a saída do comando

lspci -nn

e

lsusb


para saber se os módulos para ela estão carregados (driver), posta

lsmod | sort


3. fiz o seguinte

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 11/08/2011 - 17:17h

Usei o seguinte comando como descrito em um tuto aqui no Viva o Linux:

"Você pode identificar os dispositivos instalados no seu computador através do comando "lspci", que retorna uma relação de periféricos do sistema:

# lspci
...
00:09.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
...
"

Mas não encontrei a Network Controller, somente o adaptador Ethernet, para a rede física.

Vou tentar esses comandos que me passaste e posto o resultado aqui.

Abraço.


4. Re: Acesso internet wireless [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 11/08/2011 - 17:51h

O próprio Ubuntu tem uma ferramenta de detecção de driver que estejam faltando. Acho que no seu caso, ele poderá lhe ajudar muito.

-Para Unity: Aperte a tecla Super (tecla Windows) e digite "driver" (sem as aspas, é claro). Logo após abra o programa chamado Drivers Adicionais.

-Para Gnome 2: Sistema > Ferramentas > Drivers Adicionais.

Peça para que esse programa faça uma varredura no sistema, e provavelmente o driver da sua wi-fi estará listado. Após basta clicar no botão ativar que o driver será baixado de instalado.


5. eeee... nada

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 11/08/2011 - 18:48h

Falhou ao baixar o índece de pacotes, por favor verifique o status da sua rede. Muitos drivers não estarão disponíveis.
Após clicar em OK ele procura s drivers e aparece a mensagem:

Não ha drivers proprietários em uso no sistema.


6. Re: Acesso internet wireless [RESOLVIDO]

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 12/08/2011 - 11:54h

e o resultado dos comandos?


7. Feito! mas nem tanto!

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 12/08/2011 - 12:04h

Encontrei o driver gurizada...

Baixei o do Windows e abri a Release Note, peguei o modelo certinho da placa (Realtek RTL8192SE), mas agora na hora de baixar tenho uma duvida:

Como verifico o kernel do Linux?

Se alguém souber também já me informar o do Ubunto 11.04 fico grato.

Tenho duas opções de download no site:
Linux driver for kernel 2.6.34 (and earlier)
Linux driver for kernel 2.6.35 (and later)

O link é o seguinte do site caso queiram mais informações é o seguinte:
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PFid=48&Level=5&Conn=4&a...

grato desde já pela ajuda prestada.

Um abraço...



8. Re: Acesso internet wireless [RESOLVIDO]

Natanael Henrique
n4t4n

(usa Arch Linux)

Enviado em 12/08/2011 - 12:13h

Para saber a versao do kernel usada voce usa

uname -r

ele informa a versao do kernel usada

O ubuntu 11.04 usa o kernel 2.6.38

Voce baixa esse do kernel mais novo que serve para essa versao e as posteriores


9. Baixei e agora?

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 12/08/2011 - 20:17h

Pessoal, estou com o driver no Notebook. Como faço agora para instalar? Não tem nenhum arquivo .exe, hehehe ^^
Devo copiar os arquivos para algum lugar?
Tem vários arquivos e 4 pastas.
Uma pasta é o firmware e a outra tem o nome da minha placa wireless.

Não se devo copiar, usar um programa para instalar ou se preciso executar algo via terminal.

Realese Notes do driver:

------------------------------------------------------------------------

Release for Realtek linux mac80211 based driver



------------------------------------------------------------------------

Release date = 2011-01-05

Operating system release = Ubuntu 10.10

Kernel version = 2.6.35

Release driver version = 0001.0105.2011

Change history =

1. First Release for 8192CE/8188CE.

Supported key features:

B/G/N data rate,

Infrastructure/Ad-hoc mode,

RFkill function,

CRDA function.

2. Supports kernel version:

2.6.32 - 2.6.37

3. Supports linux distros:

Ubuntu 9.10/10.04/10.10,

Fedora Core, Debian, Mandriva, Open SUSE, Gentoo,

MeeG0, android 2.2 (froyo-x86), etc.



Release date = 2011-01-21

Operating system release = Ubuntu 10.10

Kernel version = 2.6.35

Release driver version = 0002.0121.2011

Change history =

1. First Release for 8191SE/RTL8192SE.

Supported key features:

B/G/N data rate,

Infrastructure/Ad-hoc mode,

RFkill function,

CRDA function.

2. First Release for 8192DE.

Supported key features:

B/G/N data rate,

Infrastructure/Ad-hoc mode,

RFkill function,

CRDA function.

Dul Mac Dul Phy for RTL8192DE VC.

Single Mac Dul Band for RTL8192DE VS.

3. Supports kernel version:

2.6.32 - 2.6.38

4. Supports linux distros:

Ubuntu 9.10/10.04/10.10,

Fedora Core, Debian, Mandriva, Open SUSE, Gentoo,

MeeGo, android 2.2 (froyo-x86), etc.



Release date = 2011-03-29

Operating system release = Ubuntu 10.10

Kernel version = 2.6.35-2.6.38

Release driver version = 0003.0329.2011

Change history =

1. add softap support.

2. fix dis-auth issue when scan on 5G.

3. fix rate show wrong issue in iwconfig.

4. fix adhoc TP issue.

5. fix crash issue on some platform.

6. fix crash issue caused by LPS ps-poll and null tx desc wrong.

7. fix ralink ap TP issue caused by DELBA.



Vlw mais uma vez... abraços!


10. Re: Acesso internet wireless [RESOLVIDO]

Jose Renan
JoseRenan

(usa Ubuntu)

Enviado em 12/08/2011 - 20:26h

Leia o Readme, lá tem instruções..


11. Readme...

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 12/08/2011 - 20:44h

Bah! colei ai o Realese e não o Readme ^^... foi mal heheh!
To vendo o readme aqui agora.

Vlw pelo toque!


12. sem sucesso...

Felipe Daniel Premaor
premaor

(usa Ubuntu)

Enviado em 12/08/2011 - 21:00h

Pessoal, não estou conseguindo instalar!

Arquio Readme
----------------------------------------------
Release Date: 2011-03-29, ver 0003

Realtek Linux mac80211 based driver:

--This driver supports follwing RealTek PCIE Wireless LAN NICs:

RTL8188CE/RTL8192CE

RTL8191SE/RTL8192SE

RTL8192DE

--This driver supports follwing Linux OS:

Fedora Core

Debian

Mandriva

Open SUSE

Gentoo

MeeGo

android 2.2 (froyo-x86), etc.



--This driver supports follwing kernel versions:

kernel version >= 2.6.35



--how to support old kernel like 2.6.24-2.6.34

We don't support kernel 2.6.24-2.6.34 directly, Because there are

lots of issues in mac80211 from kernel 2.6.24-2.6.34 and some functions

may not be included, So we suggest you to use the latest kernel >= 2.6.35.



but if you want to use it in old kernel you can use compat-wireless.



compat-wireless is a compat version of mac80211 driver,

it have fixed lots of issues of mac80211 in the old kerneli,

and maybe some new functions have been included into it,

and it can be build from kernel 2.6.24 to the latest kernel.



To support RTL819X in you old kernel, you can build and install

compat-wireless with this driver in you old kernel (2.6.24-2.6.34),

and all wireless moudles will be re-installed by compat-wireless

include mac80211&cfg80211&nl80211, and then you can have the same

wireless modules which have been used in the latest kernel.



You can get more information from http://wireless.kernel.org/en/users/Download/stable

for how to build compat-wireless with our driver.



you can also download the latest compat-wireless from:

http://wireless.kernel.org/en/users/Download/stable

========================================================================================

I. Component

========================================================================================

The driver is composed of several parts:

1. Firmare to make nic work

1.1 firmare/rtlwifi



2. Module source code

2.1 ./*

2.2 rtl8192ce

2.2 rtl8192se

2.2 rtl8192de



3. Script to build the modules

3.1 Makefile



========================================================================================

II. Compile & Installation & uninstall

========================================================================================

You can enter top-level directory of driver and execute follwing command to

Compile, Installation, or uninstall the driver:



1. Change to Super User

sudo su



2. Compile driver from the source code

make



3. Install the driver to the kernel

make install

reboot



4. uninstall driver

make uninstall



========================================================================================

III. Start Up Wireless

========================================================================================

You can use two methord to start up wireless:



1. Install driver like II. and reboot OS, Wireless will be brought

up by GUI, such as NetworkManager



2. If Wireless is not brought up by GUI, you can use:

ifconfig wlan0 up



Note: some times when you have two wireless NICs on your computer,

interface "wlan0" may be changed to "wlan1" or "wlan2", etc.

So before "ifconfig wlan0 up", you can use "iwconfig" to check

which interface our NIC is.



Note: Don't try to down driver by "ifconfig wlan0 down" when

NetworkManager id opened, because NetworkManager will up

driver automatically.



========================================================================================

IV. Wireless UI & NetworkManager

========================================================================================

1. All latest distributions have UI & NetworkManager to like with AP.

And it's more easy to link with AP than commandline,

So we suggest you use UI to link with AP.



2. Don't try to like with AP use commandline with UI or NetworkManager opened.



3. If you still used commandline to link with AP, Please check if

NetworkManager & wpa_supplicant is killed by follwing command:



ps -x | grep NetworkManager

ps -x | grep wpa_supplicant



4. Follwing commandlines(V-VII) are all used under Linux without UI.



========================================================================================

V. Set wireless lan MIBs

========================================================================================

This driver uses Wireless Extension as an interface allowing you to set

Wireless LAN specific parameters.



1. Current driver supports "iwlist" to show the device status of nic



iwlist wlan0 [parameters]



you can use follwing parameters:



parameter explaination [parameters]

----------------------- -------------

Show available chan and freq freq / channel

Show and Scan BSS and IBSS scan[ning]

Show supported bit-rate rate / bit[rate]



For example:

iwlist wlan0 channel

iwlist wlan0 scan

iwlist wlan0 rate



2. Driver also supports "iwconfig", manipulate driver private ioctls,

to set MIBs.



iwconfig wlan0 [parameters] [val]



you can use follwing parameters:



parameter explaination [parameters] [val] constraints

----------------------- ------------- ------------------

Connect to AP by address ap [mac_addr]

Set the essid, join (I)BSS essid [essid]

Set operation mode mode {Managed|Ad-hoc}

Set keys and security mode key/enc[ryption] {N|open|restricted|off}



For example:

iwconfig wlan0 ap XX:XX:XX:XX:XX:XX

iwconfig wlan0 essid "ap_name"

iwconfig wlan0 mode Ad-hoc

iwconfig wlan0 essid "name" mode Ad-hoc

iwconfig wlan0 key 0123456789 [2] open

iwconfig wlan0 key off

iwconfig wlan0 key restricted [3] 0123456789

iwconfig wlan0 key s:12345



Note: There are two types of key, "hex" code or "ascii" code. "hex" code

only contains hexadecimal characters, "ascii" code is consist of

"ascii" characters. Assume the "hex" code key is "0123456789", you

are suggested to use command like this "iwconfig wlan0 key 0123456789".

Assume the "ascii" code key is "12345", you should enter command

like this "iwconfig wlan0 key s:12345".



Note: Better to set these MIBS without GUI such as NetworkManager and be

sure that our nic has been brought up before these settings. WEP key

index 2-4 is not supportted by NetworkManager.



========================================================================================

VI. Getting IP address (For OS without UI)

========================================================================================

Before transmit/receive data, you should obtain an IP address use one of

the follwing method:



1. static IP address:



ifconfig wlan0 IP_ADDRESS



2. dynamic IP address using DHCP:



dhclient wlan0





========================================================================================

VII. WPAPSK/WPA2PSK (For OS without UI)

========================================================================================

Wpa_supplicant helps you to link with WPA/WPA2(include WPA Enterprise) AP,

in Linux with NetworkManger & UI, UI will help you to link with AP,

But if there is no UI & Networkmanger in your Linux, you can use

follwing method to link with WPA/WPA2 AP.



1. we suppose that your Linux have installed wpa_supplicant &

kernel build with WIRELESS_EXT, In fact, lots of distributions

have done like this.



But if some distribution not install wpa_supplicant,

please download wpa_supplicant from webset and install it.



2. Edit wpa1.conf to set up SSID and its passphrase.

For example, the following setting in "wpa1.conf"

means SSID to join is "BufAG54_Ch6" and its

passphrase is "87654321".



network={

ssid="BufAG54_Ch6"

#scan_ssid=1 //see note 3

proto=WPA

key_mgmt=WPA-PSK

pairwise=CCMP TKIP

group=CCMP TKIP WEP104 WEP40

psk="87654321"

priority=2

}



You can download wpa_supplicant and read wpa_supplicant.conf

for more examples.



3. Execute WPA supplicant:



wpa_supplicant -D wext -c wpa1.conf -i wlan0



4. To see detailed description for driver interface and wpa_supplicant,

please type:



man wpa_supplicant
----------------------------------------------------------------

Entrei na pasta com o comando cd no terminal;
Usei o comando Make, com sucesso eu ah, pois não ocorreu erro;
Usei o make install, acredito que funcionou, pois não deu erro;
Usei o Reboot, reiniciou, e nada de conexão wireless.

Se puderem listar os comandos que devo usar fico grato.

Obrigado mais uma vez.



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts