You are not logged in.

#1 2016-02-08 22:01:48

Wang
Member
Registered: 2016-01-23
Posts: 10

[SOLVED]Cannot access Internet through wireless connection

Here is my situation:
I am using the school network. Everything worked fine until they changed the web content filtering service. They are now using service from Sophos.(I don't know whether it is useful or not. I just want to list every detail of my network setup.) All my mates are using the same wireless network and everythin is pretty like before. I think it is not very likely that my laptop has been added into backlist. I have no idea what is happening, so I need help from you!

Here is some debugging output according to Arch Wiki: Network Debugging

[chenhuan@ch-asus ~]$ ip link show dev wls1
3: wls1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 48:5d:60:72:46:3a brd ff:ff:ff:ff:ff:ff
[chenhuan@ch-asus ~]$ ip route show dev wls1
default via 10.100.1.1  src 10.100.1.127  metric 303 
10.100.1.0/24  proto kernel  scope link  src 10.100.1.127  metric 303 

/etc/resolv.conf                                                                             

  GNU nano 2.5.1                                   File: /etc/resolv.conf                                                                             

# Generated by resolvconf
nameserver 8.8.8.8
nameserver 8.8.4.4

netctl status neubau        #neubau is the profile name

[chenhuan@ch-asus ~]$ sudo netctl status neubau
● netctl@neubau.service - Automatically generated profile by wifi-menu
   Loaded: loaded (/etc/systemd/system/netctl@neubau.service; enabled; vendor preset: disabled)
   Active: active (exited) since Mon 2016-02-08 22:25:13 CET; 47s ago
     Docs: man:netctl.profile(5)
  Process: 330 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
 Main PID: 330 (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 512)
   CGroup: /system.slice/system-netctl.slice/netctl@neubau.service
           ├─356 wpa_supplicant -q -B -P /run/wpa_supplicant_wls1.pid -i wls1 -D nl80211,wext -c/run/network/wpa_supplicant_wls1.conf
           └─657 dhcpcd -4 -q -t 30 -L wls1

Feb 08 22:24:59 ch-asus network[330]: Starting network profile 'neubau'...
Feb 08 22:25:07 ch-asus dhcpcd[635]: DUID 00:01:00:01:1e:38:fb:16:bc:ae:c5:06:c9:23
Feb 08 22:25:07 ch-asus dhcpcd[635]: wls1: IAID 60:72:46:3a
Feb 08 22:25:08 ch-asus dhcpcd[635]: wls1: rebinding lease of 10.100.1.127
Feb 08 22:25:08 ch-asus dhcpcd[635]: wls1: probing address 10.100.1.127/24
Feb 08 22:25:13 ch-asus dhcpcd[635]: wls1: leased 10.100.1.127 for 86067 seconds
Feb 08 22:25:13 ch-asus dhcpcd[635]: wls1: adding route to 10.100.1.0/24
Feb 08 22:25:13 ch-asus dhcpcd[635]: wls1: adding default route via 10.100.1.1
Feb 08 22:25:13 ch-asus network[330]: Started network profile 'neubau'
Feb 08 22:25:13 ch-asus systemd[1]: Started Automatically generated profile by wifi-menu.

journalctl -xe

journalctl -xe
-- 
-- The start-up result is done.
Feb 08 22:25:35 ch-asus dbus[326]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service'
Feb 08 22:25:35 ch-asus systemd[1]: Starting Daemon for power management...
-- Subject: Unit upower.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit upower.service has begun starting up.
Feb 08 22:25:35 ch-asus dbus[326]: [system] Successfully activated service 'org.freedesktop.UPower'
Feb 08 22:25:35 ch-asus systemd[1]: Started Daemon for power management.
-- Subject: Unit upower.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit upower.service has finished starting up.
-- 
-- The start-up result is done.
Feb 08 22:25:45 ch-asus dbus-daemon[693]: Activating service name='org.gnome.GConf'
Feb 08 22:25:45 ch-asus dbus-daemon[693]: Successfully activated service 'org.gnome.GConf'
Feb 08 22:26:01 ch-asus sudo[860]: chenhuan : TTY=pts/0 ; PWD=/home/chenhuan ; USER=root ; COMMAND=/usr/bin/netctl status neubau
Feb 08 22:26:01 ch-asus sudo[860]: pam_unix(sudo:session): session opened for user root by chenhuan(uid=0)
Feb 08 22:26:03 ch-asus sudo[860]: pam_unix(sudo:session): session closed for user root

I cannot see anything wrong here.
Could someone here help me with this? neutral

Last edited by Wang (2016-02-10 15:45:14)

Offline

#2 2016-02-08 22:12:13

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED]Cannot access Internet through wireless connection

1) What is the failure mechanism? (ie, what precisely is not working? Post commands and error messages. Can you ping? traceroute? wget?)
2) Just a wild guess -- is your school really handing out Google's DNS servers in their DHCP scope, or have you specified that explicitly in your network profile? If you're supposed to be using their internal/specified servers then Google's are likely blocked.

Offline

#3 2016-02-08 22:24:48

Wang
Member
Registered: 2016-01-23
Posts: 10

Re: [SOLVED]Cannot access Internet through wireless connection

fukawi2 wrote:

1) What is the failure mechanism? (ie, what precisely is not working? Post commands and error messages. Can you ping? traceroute? wget?)

Thanks for replying!
The basic failure mechanism is that after connection, no internet access.
I have tried ping google.de and 8.8.8.8. Neither works.

fukawi2 wrote:

2) Just a wild guess -- is your school really handing out Google's DNS servers in their DHCP scope, or have you specified that explicitly in your network profile? If you're supposed to be using their internal/specified servers then Google's are likely blocked.

It might be the reason. But I could only try it tomorrow. sad

Offline

#4 2016-02-08 22:32:43

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED]Cannot access Internet through wireless connection

Wang wrote:

The basic failure mechanism is that after connection, no internet access.
I have tried ping google.de and 8.8.8.8. Neither works.

Post the exact commands and exact error messages/output. We're not psychic.

Offline

#5 2016-02-08 22:47:39

Wang
Member
Registered: 2016-01-23
Posts: 10

Re: [SOLVED]Cannot access Internet through wireless connection

fukawi2 wrote:
Wang wrote:

The basic failure mechanism is that after connection, no internet access.
I have tried ping google.de and 8.8.8.8. Neither works.

Post the exact commands and exact error messages/output. We're not psychic.

Sorry, my bad that did not make it clear.

[chenhuan@ch-asus ~]$ ping google.de
^C
[chenhuan@ch-asus ~]$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4008ms

I cancelled the ping because it would take forever and nothing comes out.

Offline

#6 2016-02-08 22:51:17

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED]Cannot access Internet through wireless connection

OK, less likely it's wrong DNS servers then... Try these:

ping -c3 10.100.1.1
curl -v ipchimp.net

Offline

#7 2016-02-08 22:57:52

Wang
Member
Registered: 2016-01-23
Posts: 10

Re: [SOLVED]Cannot access Internet through wireless connection

fukawi2 wrote:

OK, less likely it's wrong DNS servers then... Try these:

ping -c3 10.100.1.1
curl -v ipchimp.net

OK, I will try it tomorrow, since the network can only be availible in a certain time period. smile

Offline

#8 2016-02-09 18:42:42

Wang
Member
Registered: 2016-01-23
Posts: 10

Re: [SOLVED]Cannot access Internet through wireless connection

fukawi2 wrote:

OK, less likely it's wrong DNS servers then... Try these:

ping -c3 10.100.1.1
curl -v ipchimp.net

I have tried these codes. The outputs are here:

[chenhuan@ch-asus ~]$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13007ms

[chenhuan@ch-asus ~]$ ping -c3 10.100.1.1
PING 10.100.1.1 (10.100.1.1) 56(84) bytes of data.
64 bytes from 10.100.1.1: icmp_seq=1 ttl=255 time=24.0 ms
64 bytes from 10.100.1.1: icmp_seq=2 ttl=255 time=11.4 ms
64 bytes from 10.100.1.1: icmp_seq=3 ttl=255 time=69.1 ms

--- 10.100.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 11.493/34.901/69.195/24.782 ms

[chenhuan@ch-asus ~]$ curl -v ipchimp.net
* Rebuilt URL to: ipchimp.net/
* Could not resolve host: ipchimp.net
* Closing connection 0
curl: (6) Could not resolve host: ipchimp.net

Offline

#9 2016-02-09 20:53:37

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,489

Re: [SOLVED]Cannot access Internet through wireless connection

That output seems to confirm what fukawi suspects. After connecting you can try

# echo "nameserver 10.100.1.1" >> /etc/resolv.conf

to test with another "ping" & "curl" if the access point itself resolves DNS.

Did you perhaps set DNS server entries in your netctl profile static to Google's?

Offline

#10 2016-02-09 21:48:07

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: [SOLVED]Cannot access Internet through wireless connection

OK, so it does look like wrong DNS servers, and they block ICMP at their edge (which is really stupid, but pretty expected from educational institutions).

Check your friends computers to see what DNS servers they are using (`ipconfig /all | findstr /C:"DNS Servers"` on Windows, or `cat /etc/resolv.conf` on *nix)

Offline

#11 2016-02-10 15:43:17

Wang
Member
Registered: 2016-01-23
Posts: 10

Re: [SOLVED]Cannot access Internet through wireless connection

OK. After add 10.100.1.1 and 10.1.0.1(the dns servser shown in my friends pc), everythin is fine. Thank you, Strike0 and fukawi2!! smile

Offline

Board footer

Powered by FluxBB