You are not logged in.
Hello,
I flashed my old router (an ASUS RT NI6) with DD-WRT and set it up as a repeater.
I can connect to the repeater with my desktop without problem, but my laptop somehow cannot. I usually run Gnome with NetworkManager. The error reported by NetworkManager was a timeout to get an address.
Since I couldn't get more information, I tried to manually connect to the wifi following these instructions: https://wiki.archlinux.org/index.php/Wireless_Setup
But dhcpcd fails with
michel@xone:~$ sudo dhcpcd wlp3s0
dhcpcd[1482]: version 6.1.0 starting
dhcpcd[1482]: wlp3s0: waiting for carrier
dhcpcd[1482]: timed out
dhcpcd[1482]: exited
So I tried to go with dhclient
michel@xone:~$ sudo dhclient -4 -d -v wlp3s0
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/8c:70:5a:ff:a4:08
Sending on LPF/wlp3s0/8c:70:5a:ff:a4:08
Sending on Socket/fallback
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
A little more information:
lspci -k
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 96)
Subsystem: Intel Corporation Device c220
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
ip addr
2: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 8c:70:5a:ff:a4:08 brd ff:ff:ff:ff:ff:ff
Running
sudo ip link set wlp3s0 up
Then I get with ip addr
2: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 8c:70:5a:ff:a4:08 brd ff:ff:ff:ff:ff:ff
sudo iw dev wlp3s0 scan -- with the relevant wifi I want to connect to
BSS be:ae:c5:c3:dc:22(on wlp3s0)
TSF: 702057511 usec (0d, 00:11:42)
freq: 2462
beacon interval: 100 TUs
capability: ESS ShortSlotTime (0x0401)
signal: -19.00 dBm
last seen: 2920 ms ago
Information elements from Probe Response frame:
SSID: fromage
Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0
DS Parameter set: channel 11
TIM: DTIM Count 0 DTIM Period 1 Bitmap Control 0x0 Bitmap[0] 0x0
ERP: <no flags>
ERP D4.0: <no flags>
Extended supported rates: 6.0 9.0 12.0 48.0
HT capabilities:
Capabilities: 0x187c
HT20
SM Power Save disabled
RX Greenfield
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 7935 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 11
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: nonmember
* non-GF present: 0
* OBSS non-GF present: 1
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
The repeater used to have a WPA2 with a pre shared key, but I deactivated all security, so I just connect to the wifi with
sudo iw dev wlp3s0 connect fromage
Trying dhcpcd
michel@xone:~$ sudo dhcpcd wlp3s0
dhcpcd[1482]: version 6.1.0 starting
dhcpcd[1482]: wlp3s0: waiting for carrier
dhcpcd[1482]: timed out
dhcpcd[1482]: exited
Trying with dhclient
michel@xone:~$ sudo dhclient -4 -d -v -1 wlp3s0
Internet Systems Consortium DHCP Client 4.2.5-P1
Copyright 2004-2013 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlp3s0/8c:70:5a:ff:a4:08
Sending on LPF/wlp3s0/8c:70:5a:ff:a4:08
Sending on Socket/fallback
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlp3s0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
Unable to obtain a lease on first try. Exiting.
I also made sure that I deactivated wicd, NetworkManaget, netctl-auto, dhcpcd before doing this.
I also tried to set a static ip since dhcp is failing
ip addr add 192.168.0.200/24 dev wlp3s0
ip route add default via 192.168.69.1
But that still doesn't work.
Am I missing something? Am I suppose to set a special mode for my card for a repeater?
I tried to look at the conf file on my desktop, but found nothing special.
I can connect with a wire to the repeater, it works fine too.
If anyone has an idea for something else to try, I would love to hear it : )
Thanks!
Offline
If your DHCP is half way decent and you aren't running more than one DHCP server on a single network it should work. Some routers seem to be a little fussy when it comes to linux clients. Of course, Arch has a good dhcp server if your router isn't forgiving. But this problem would not be existing on the repeater.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline