networking - ubuntu 16.04 laptop connects to wireless router but not always to network - Ask Ubuntu
i can connect wireless router cannot connect local network (or internet). seems pretty random whether or not can connect. resets if switch network back, or power down reboot. not. thoughts on solution or next step(s) take? or more info may needed? thank advice! here's more info might relevant:
when cannot connect cannot on internet nor ping ip addresses in local network (even 192.168.1.1 router ip addr). doesn't seem happen if connect other wireless routers or ap's. other devices on local network (windows pc's, iphones, roku's) seem work fine time. problem specific linux laptop , wireless router and/or network.
i've got:
ubuntu 16.04
ipv4, ipv6 settings set automatic (dchp), automatic router d-link dir-813
when network working ok:
$ ifconfig wlan wlan1 link encap:ethernet hwaddr 00:13:02:2a:6e:f6 inet addr:192.168.1.111 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::213:2ff:fe2a:6ef6/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:8571 errors:0 dropped:0 overruns:0 frame:0 tx packets:5650 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:6284311 (6.2 mb) tx bytes:860449 (860.4 kb)
when network not working:
wlan1 link encap:ethernet hwaddr 00:13:02:2a:6e:f6 inet addr:192.168.1.111 bcast:192.168.1.255 mask:255.255.255.0 inet6 addr: fe80::213:2ff:fe2a:6ef6/64 scope:link broadcast running multicast mtu:1500 metric:1 rx packets:94503 errors:0 dropped:0 overruns:0 frame:0 tx packets:51798 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:31525953 (31.5 mb) tx bytes:9380130 (9.3 mb)
any thoughts on solution or next step(s) take? or more info may needed? thank advice!
for wpa identification (substitute <wifi name>
, <wifi key>
)
nmcli connection add type wifi ifname wlan1 ssid <wifi name> nmcli connection modify <wifi name> wifi-sec.key-mgmt wpa-psk nmcli connection modify <wifi name> wifi-sec.psk <wifi key> nmcli -p connection <wifi name>
Comments
Post a Comment