[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: wifi with no encryption: No DHCPOFFERS received



Vincent Lefevre wrote: 
> On 2018-12-11 15:45:19 -0500, Dan Ritter wrote:
> > Check the link status:
> > 
> > iw dev wlp61s0 link
> > 
> > Look for the hotspot:
> > 
> > iw dev wlp61s0 scan
> > 
> > Connect to one:
> > 
> > iw dev wlp61s0 connect "$ESSID"
> > 
> > Run dhclient by hand:
> > 
> > dhclient wlp61s0
> > 
> > Tell us where it falls down along that path.
> 
> Thanks for the instructions. I hope I can try tomorrow
> (I need to bring my laptop there).
> 
> In the mean time, I could try another open wifi hotspot that was
> reachable, and the connection was successful. I could see a difference
> in the kernel logs. This time, I had the following additional lines:
> 
> Dec 12 10:36:50 zira kernel: wlp61s0: authenticate with 14:0c:76:9f:e9:d9
> Dec 12 10:36:50 zira kernel: wlp61s0: send auth to 14:0c:76:9f:e9:d9 (try 1/3)
> Dec 12 10:36:50 zira kernel: wlp61s0: aborting authentication with 14:0c:76:9f:e9:d9 by local choice (Reason: 3=DEAUTH_LEAVING)
> Dec 12 10:36:50 zira kernel: wlp61s0: authenticate with 14:0c:76:9f:e9:d9
> Dec 12 10:36:50 zira kernel: wlp61s0: send auth to 14:0c:76:9f:e9:d9 (try 1/3)
> Dec 12 10:36:50 zira kernel: wlp61s0: authenticated
> Dec 12 10:36:50 zira kernel: wlp61s0: associate with 14:0c:76:9f:e9:d9 (try 1/3)
> Dec 12 10:36:50 zira kernel: wlp61s0: RX AssocResp from 14:0c:76:9f:e9:d9 (capab=0x401 status=0 aid=1)
> Dec 12 10:36:50 zira kernel: wlp61s0: associated
> Dec 12 10:36:50 zira kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp61s0: link becomes ready
> 
> So, the issue was not due to DHCP.

Yeah, I think you had a link problem, not a DHCP problem.

> BTW, I don't know whether this is related, but I sometimes
> see a kernel warning with a trace, e.g.
> 
> Dec 11 11:01:43 zira kernel: ------------[ cut here ]------------
> Dec 11 11:01:43 zira kernel: TX on unused queue 2
> Dec 11 11:01:43 zira kernel: WARNING: CPU: 0 PID: 2545 at /build/linux-F3l5KA/linux-4.18.20/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:2287 iwl_trans_pcie_tx+0xdab/0x1180 [iwlwifi]
> [...]

It's the right thing to go wrong and produce problems.

-dsr-


Reply to: