You are not logged in.

#1 2015-06-02 20:37:17

perhaps
Member
Registered: 2015-05-29
Posts: 8

Can not establish wireless connection

Hello everyone,
     I'm installing arch on my laptop but having met some problems. I will paste the command  I use and their output below,hope somebody would help .
     1.Check the interface
     

# iw dev
phy#1
     Interface wlp0s26u1u2
             ifindex 3
             wdev 0x100000001
             addr 80:3f:5d:16:fb:79
             type managed

     
     2.Make sure interface is up
     

# ip link show wlp0s26u1u2
3: wlp0s26u1u2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 80:3f:5d:16:fb:79 brd ff:ff:ff:ff:ff:ff

     
     3.Association(with WPA/WPA2 encryption)
     

# wpa_supplicant -B -D nl80211,wext -i wlp0s26u1u2 -c <(wpa_passphrase "24-1101" "33456789")

     
     4.Check if have associated
     

# iw dev wlp0s26u1u2 link
Connected to d8:15:0d:d7:d4:d4 (on wlp0s29u1u2)
SSID: 24-1101
freq: 2437
RX: 37278 bytes (346 packets)
TX: 930 bytes (9 packets)
signal: -76 dBm
tx bitrate: 150.0 MBit/s MCS 7 40MHz short GI
bss flags:	 short-preamble short-slot-time
dtim period:	1
beacon int:	100

     
     5.DHCP(failed)
     

# dhcpcd wlp0s26u1u2 
DUID 00:01:00:01:1d:01:30:fc:80:3f:5d:16:fb:79
wlp0s29u1u2: IAID 5d:16:fb:79
wlp0s29u1u2: soliciting a DHCP lease
wlp0s29u1u2: soliciting an IPv6 router
wlp0s29u1u2: no IPv6 Routers available
timed out
dhcpcd exited

     
     6.Comment out "noipv4ll" in /etc/dhcpcd.conf
     

# dhcpcd wlp0s26u1u2
DUID 00:01:00:01:1d:01:30:fc:80:3f:5d:16:fb:79
wlp0s29u1u2: IAID 5d:16:fb:79
wlp0s29u1u2: soliciting a DHCP lease
wlp0s29u1u2: soliciting an IPv6 router
wlp0s29u1u2: probing for an IPv4LL address
wlp0s29u1u2: using IPv4LL address 169.254.216.56
wlp0s29u1u2: adding route to 169.254.0.0/16
forked to background, child pid 857

     
     7.But still dosen't work
     

# ping www.baidu.com
ping: unknown host www.baidu.com
#ping 8.8.8.8
connect: Network is unreachable

     I have installed arch in an another computer smoothly,but with this laptop things got weired. The device is a usb wirelesscard, should that be a question?
     Any suggestion is needed, thanks in advance!

Last edited by perhaps (2015-06-02 20:46:01)

Offline

#2 2015-06-02 20:43:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can not establish wireless connection

What is the device? What is the driver?

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-06-02 20:44:40

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,765
Website

Re: Can not establish wireless connection

perhaps wrote:

The device is a usb wirelesscard

We need more information than that.

Offline

#4 2015-06-02 20:57:07

perhaps
Member
Registered: 2015-05-29
Posts: 8

Re: Can not establish wireless connection

Head_on_a_Stick wrote:
perhaps wrote:

The device is a usb wirelesscard

We need more information than that.

The device is Wavlink WN687N1 wireless usbcard with Realtek RTL8188CU chipset.
I don't know what the driver is ,maybe it's included in the kernel?

Offline

#5 2015-06-02 21:04:58

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,765
Website

Re: Can not establish wireless connection

Post the output of:

dmesg|grep rtl

Offline

#6 2015-06-02 21:21:19

perhaps
Member
Registered: 2015-05-29
Posts: 8

Re: Can not establish wireless connection

Head_on_a_Stick wrote:

Post the output of:

dmesg|grep rtl
#dmesg | grep rtl
[    9.084231] rtl8192cu: Chip version 0x10
[    9.184469] rtl8192cu: MAC address: 80:3f:5d:16:fb:79
[    9.184475] rtl8192cu: Board Type 0
[    9.184812] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[    9.184849] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[    9.191308] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[    9.192048] usbcore: registered new interface driver rtl8192cu
[    9.205176] rtl8192cu 1-1.2:1.0 wlp0s26u1u2: renamed from wlan0

Offline

#7 2015-06-03 06:27:10

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,765
Website

Re: Can not establish wireless connection

Well you clearly have the firmware.

What does this say:

ip r

EDIT: Hold on, is that the correct firmware?

Post the output of:

lsmod|grep rtl

Last edited by Head_on_a_Stick (2015-06-03 06:40:57)

Offline

#8 2015-06-03 10:13:37

perhaps
Member
Registered: 2015-05-29
Posts: 8

Re: Can not establish wireless connection

Head_on_a_Stick wrote:

Well you clearly have the firmware.

What does this say:

ip r

No output with default dhcpcd.conf

# lsmod | grep rtl
tl8192cu              73728  0 
rtl_usb                20480  1 rtl8192cu
rtl8192c_common        45056  1 rtl8192cu
rtlwifi                65536  3 rtl_usb,rtl8192c_common,rtl8192cu
mac80211              655360  3 rtl_usb,rtlwifi,rtl8192cu
cfg80211              483328  2 mac80211,rtlwifi
usbcore               200704  7 uas,uvcvideo,rtl_usb,usb_storage,ehci_hcd,ehci_pci,rtl8192cu

Last edited by perhaps (2015-06-03 10:26:46)

Offline

#9 2015-06-03 18:34:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,765
Website

Re: Can not establish wireless connection

perhaps wrote:
Head_on_a_Stick wrote:

Well you clearly have the firmware.

What does this say:

ip r

No output with default dhcpcd.conf

So you have no IP addresses assigned.

You could try assigning them statically:
https://wiki.archlinux.org/index.php/Ne … assignment

If that doesn't work, check the product ID & vendor ID using:

# update-usbids
# lsusb

Then check if the device should be using the rtl8192cu module.

Last edited by Head_on_a_Stick (2015-06-03 18:34:32)

Offline

#10 2015-06-04 21:25:48

perhaps
Member
Registered: 2015-05-29
Posts: 8

Re: Can not establish wireless connection

Head_on_a_Stick wrote:

So you have no IP addresses assigned.

You are right, it's an IP problem,turns out the router was not properly configured. I was misleading in the first place.
Thanks a lot, I will do some reading and gain more concepts about connect process.

Offline

Board footer

Powered by FluxBB