No wireless connection after setting up wireless security

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
mikeska
DD-WRT Novice


Joined: 15 Jun 2018
Posts: 35

PostPosted: Sat Jun 16, 2018 8:51    Post subject: No wireless connection after setting up wireless security Reply with quote
This is my first time setting up dd-wrt. Just bought a WRT2300ACM to host the home network. After the router boots into dd-wrt, I can connect to the 'dd-wrt' network over wifi and access the router's admin page and internet from the laptop. After setting up the wireless SSID and security settings (WPA2 Personal/AES), the network shows up in Network Manager but it hangs then disconnects when selected. The roku and 5 year old ipad can connect with no problems. Tried connecting with my other laptop that had never connected to that router before. That hangs and disconects also. Both laptops run arch linux that are always updated. I've tried rebooting the router and the laptops. Tried changing the router's security settings to WPA2 Personal Mixed/TKIP+AES. Nope! The log shows that the connection authenticates and connects, but cruds out at ip-config state:

NetworkManager[340]: <info> [1529011686.2645] device (wlp4s0): supplicant interface state: associated -> completed
NetworkManager[340]: <info> [1529011686.2646] device (wlp4s0): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Connected to wireless>
NetworkManager[340]: <info> [1529011686.2648] device (wlp4s0): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[340]: <info> [1529011686.2656] dhcp4 (wlp4s0): activation: beginning transaction (timeout in 45 seconds)
wpa_supplicant[336]: wlp4s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-40 noise=9999 txrate=173300
NetworkManager[340]: <warn> [1529011731.0883] dhcp4 (wlp4s0): request timed out
NetworkManager[340]: <info> [1529011731.0883] dhcp4 (wlp4s0): state changed unknown -> timeout
NetworkManager[340]: <info> [1529011731.1377] dhcp4 (wlp4s0): canceled DHCP transaction
NetworkManager[340]: <info> [1529011731.1378] dhcp4 (wlp4s0): state changed timeout -> done
NetworkManager[340]: <info> [1529011731.1387] device (wlp4s0): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: '>
NetworkManager[340]: <warn> [1529011731.1407] device (wlp4s0): Activation: failed for connection 'xxxxx'

This seems like a misconfiguration on the laptops and hopefully easy to correct. They are both running network manager and there is no dhcpcd or dhclient installed. Has anyone seen this issue before? I tried the latest build r36104.
Sponsor
mikeska
DD-WRT Novice


Joined: 15 Jun 2018
Posts: 35

PostPosted: Tue Jun 19, 2018 19:38    Post subject: Reply with quote
I got it working by simply changing the internal dhcp client network manager uses to dhclient.

- Install dhclient
- Change NetworkManager.conf:

[main]
dhcp=dhclient

- Restart network manager service (or reboot)

Flashed to r36154 and so far, no issues. Looking forward to learning more about dd-wrt Very Happy
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum