From: 白い熊@相撲道 <guix-devel_gnu.org@sumou.com>
To: guix-devel@gnu.org
Subject: Problems with wifi connection on one single network, can't ping gateway
Date: Sat, 04 Jul 2015 13:47:16 +0200 [thread overview]
Message-ID: <190578f07935c9161304108d297674a8@hcoop.net> (raw)
Hello everyone:
I have a peculiar problem that I can't figure out, I'm hoping someone
will lend me a hand.
I'm running GuixSD, latest git pull on the Gluglug X200. Using wifi via
commandline, wpa_supplicant, as I will demonstrate below. The usage is
problemless on all wifi networks, even on the road, however I have a
problem with my home wifi - which is a pain.
The problem is, it will connect, but then internet is inaccessible, I
can't ping my gateway address. Every other computer and phone connects
to the home wifi no prob. Also running Trisquel on the Gluglug, it will
connect to the wifi no prob vie NetworkManager. If however I disconnect
the NetworkManager in Trisquel and connect via wpa_supplicant using the
same script as in Guix, I'm also unable to ping the gateway.
So something is wrong, but I don't see the problem. I can connect to and
use any other network with wpa_supplicant, even connect to my phone's
mobile hotspot, just not the home wifi. Can anybody help me figure this
out?
So, in Guix SD, the working connection to my phone's hotspot:
=============================
shiroikuma@skggxtzz ~$ sudo /root/.guix-profile/sbin/wpa_supplicant -i
wlp2s0 -c /home/shiroikuma/wpa.conf.ShiroiKuma -B
Successfully initialized wpa_supplicant
shiroikuma@skggxtzz ~$ sudo /root/.guix-profile/sbin/dhclient wlp2s0
shiroikuma@skggxtzz ~$ ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:1F:16:24:55:D3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Interrupt:11 Memory:e1700000-e1720000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 TX bytes:0
wlp2s0 Link encap:Ethernet HWaddr 00:25:56:08:DF:9F
inet addr:192.168.43.133 Bcast:192.168.43.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1214 TX bytes:1772
shiroikuma@skggxtzz ~$ iwconfig
enp0s25 no wireless extensions.
wlp2s0 IEEE 802.11bgn ESSID:"\xE7\x99\xBD\xE3\x81\x84\xE7\x86\x8A"
Mode:Managed Frequency:2.437 GHz Access Point:
48:5A:3F:5F:DB:9E
Bit Rate=58.5 Mb/s Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=63/70 Signal level=-47 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:9 Missed beacon:0
lo no wireless extensions.
shiroikuma@skggxtzz ~$ cat /etc/resolv.conf
nameserver 192.168.43.1
shiroikuma@skggxtzz ~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.43.1 0.0.0.0 UG 0 0 0
wlp2s0
192.168.43.0 0.0.0.0 255.255.255.0 U 0 0 0
wlp2s0
shiroikuma@skggxtzz ~$ ping -c1 192.168.43.1
PING 192.168.43.1 (192.168.43.1): 56 data bytes
64 bytes from 192.168.43.1: icmp_seq=0 ttl=64 time=2.151 ms
--- 192.168.43.1 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 2.151/2.151/2.151/0.000 ms
shiroikuma@skggxtzz ~$ ping -c1 google.com
PING google.com (173.194.122.4): 56 data bytes
64 bytes from 173.194.122.4: icmp_seq=0 ttl=59 time=17.362 ms
--- google.com ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max/stddev = 17.362/17.362/17.362/0.000 ms
==================================
All's good as it should.
Now the NON working home wifi connection:
==================================
shiroikuma@skggxtzz ~$ sudo /root/.guix-profile/sbin/wpa_supplicant -i
wlp2s0 -c /home/shiroikuma/wpa.conf.kmwfhk -B
Successfully initialized wpa_supplicant
shiroikuma@skggxtzz ~$ sudo /root/.guix-profile/sbin/dhclient wlp2s0
shiroikuma@skggxtzz ~$ ifconfig
enp0s25 Link encap:Ethernet HWaddr 00:1F:16:24:55:D3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 TX bytes:0
Interrupt:11 Memory:e1700000-e1720000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:0.0.0.0 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 TX bytes:0
wlp2s0 Link encap:Ethernet HWaddr 00:25:56:08:DF:9F
inet addr:192.168.1.133 Bcast:192.168.1.255
Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:978 TX bytes:1202
shiroikuma@skggxtzz ~$ iwconfig
enp0s25 no wireless extensions.
wlp2s0 IEEE 802.11bgn ESSID:"kmwfhk"
Mode:Managed Frequency:2.412 GHz Access Point:
10:BF:48:E4:52:B0
Bit Rate=13 Mb/s Tx-Power=14 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-37 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:6 Missed beacon:0
lo no wireless extensions.
shiroikuma@skggxtzz ~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
wlp2s0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
wlp2s0
shiroikuma@skggxtzz ~$ cat /etc/resolv.conf
nameserver 192.168.1.1
shiroikuma@skggxtzz ~$ ping 192.168.1.133 -c3
PING 192.168.1.133 (192.168.1.133): 56 data bytes
64 bytes from 192.168.1.133: icmp_seq=0 ttl=64 time=0.059 ms
64 bytes from 192.168.1.133: icmp_seq=1 ttl=64 time=0.065 ms
64 bytes from 192.168.1.133: icmp_seq=2 ttl=64 time=0.050 ms
--- 192.168.1.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.050/0.058/0.065/0.000 ms
shiroikuma@skggxtzz ~$ ping 192.168.1.1 -c3
PING 192.168.1.1 (192.168.1.1): 56 data bytes
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
shiroikuma@skggxtzz ~$ sudo traceroute -m3 192.168.1.1
traceroute to 192.168.1.1 (192.168.1.1), 3 hops max
1 * * *
2 * * *
3 * * *
====================================
Now the working connection in Trisquel with auto connect by
NetworkManager:
====================================
shiroikuma@skggxtzz:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0
wlan0
shiroikuma@skggxtzz:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1f:16:24:55:d3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11 Memory:e1700000-e1720000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:116 errors:0 dropped:0 overruns:0 frame:0
TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9810 (9.8 KB) TX bytes:9810 (9.8 KB)
wlan0 Link encap:Ethernet HWaddr 00:25:56:08:df:9f
inet addr:192.168.1.133 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe08:df9f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26183 errors:0 dropped:0 overruns:0 frame:0
TX packets:14327 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:39071522 (39.0 MB) TX bytes:1364435 (1.3 MB)
shiroikuma@skggxtzz:~$ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"kmwfhk"
Mode:Managed Frequency:2.412 GHz Access Point:
10:BF:48:E4:52:B0
Bit Rate=1 Mb/s Tx-Power=14 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:35 Missed beacon:0
shiroikuma@skggxtzz:~$ cat
^C
shiroikuma@skggxtzz:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
shiroikuma@skggxtzz:~$ ping -c3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.23 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.22 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.20 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 1.200/1.221/1.239/0.016 ms
============================================
Now the NON working cli connect in Trisquel:
============================================
shiroikuma@skggxtzz ~$ sudo wpa_supplicant -i wlan0 -c
/home/shiroikuma/wpa.conf.kmwfhk -B
Successfully initialized wpa_supplicant
shiroikuma@skggxtzz ~$ sudo dhclient wlan0
shiroikuma@skggxtzz:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
shiroikuma@skggxtzz:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1f:16:24:55:d3
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:11 Memory:e1700000-e1720000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10653 (10.6 KB) TX bytes:10653 (10.6 KB)
wlan0 Link encap:Ethernet HWaddr 00:25:56:08:df:9f
inet addr:192.168.1.133 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::225:56ff:fe08:df9f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:72527 errors:0 dropped:17 overruns:0 frame:0
TX packets:38538 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:108366102 (108.3 MB) TX bytes:3506923 (3.5 MB)
shiroikuma@skggxtzz:~$ iwconfig
eth0 no wireless extensions.
lo no wireless extensions.
wlan0 IEEE 802.11bgn ESSID:"kmwfhk"
Mode:Managed Frequency:2.412 GHz Access Point:
10:BF:48:E4:52:B0
Bit Rate=39 Mb/s Tx-Power=14 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:11 Missed beacon:0
shiroikuma@skggxtzz:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 192.168.1.1
shiroikuma@skggxtzz:~$ ping -c3 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
============================================
Anyone have any ideas? Many thanks for helping me.
--
白い熊@相撲道
next reply other threads:[~2015-07-04 11:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-04 11:47 白い熊@相撲道 [this message]
2015-07-05 6:48 ` Problems with wifi connection on one single network, can't ping gateway Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=190578f07935c9161304108d297674a8@hcoop.net \
--to=guix-devel_gnu.org@sumou.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.