[PROBLEM] NTP causing wireless to drop out - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Hardware (/forum-7.html) +--- Forum: Network (/forum-25.html) +--- Thread: [PROBLEM] NTP causing wireless to drop out (/thread-1361.html) |
NTP causing wireless to drop out - mickeyc1000 - 17th Sep, 2013 01:11 PM Hi i have a interesting issue here Testing to see if we can use a pi for streaming use at our school and for some reason when i use the NTP server on site it causes the wireless to essentially connect/disconnect continuously. with it off, it's fine. we use a WPA-EAP and Ra-link usb wireless n adaptor Raspberry PI type b 512mb 8gb type 4 sd xbian version 1.1beta oc = xbian xbmc=12.2 RE: NTP causing wireless to drop out - mk01 - 17th Sep, 2013 03:48 PM NTP server on site means what exactly? 1) you starts ntpd on RPI which is going to sync with this NTP server at school? 2) or you have configured NTP server on RPI and when is activated WiFi is disrupted ? Just from theory, NTP client is quite aggressive when syncing time, on CPU and network as well. Or you have at school one of the Time Servers using 2,4Ghz band as well to send to air ? RE: NTP causing wireless to drop out - mickeyc1000 - 17th Sep, 2013 04:48 PM In the /etc/ntp.conf i added server ntp1.int.det.wa.edu.au iburst because we are behind a proxy and after that i started having the issue. RE: NTP causing wireless to drop out - mk01 - 17th Sep, 2013 05:29 PM yes could be as I said. normally it should not be noticable, but imagine WiFi dirty air, not 100% connection and to it ntpd which will really try to get the most out of the connection. but this should not stay for ever. if ntpd is able to sync time, then up to 5 minutes maybe. RE: NTP causing wireless to drop out - IriDium - 18th Sep, 2013 02:10 AM Just a thought. Have you got an Ethernet connection attached as well? I've noticed that having wlan0 and eth0 both connected at the same time can cause issues. RE: NTP causing wireless to drop out - mickeyc1000 - 19th Sep, 2013 12:45 PM i will double check with the lan port plugged in. is there a way i can log whats happening so i can submit whats happening? RE: NTP causing wireless to drop out - mickeyc1000 - 19th Sep, 2013 03:51 PM ok turned on syslog and for some reason the Ifplugd script was turning off the wlan0. i have now manualy setup the config so it appears to be working now. just need to figure out how to get the wireles to stream 1080p now with out the stutter. Sep 19 04:15:12 xbian syslogd 1.5.0#6.2: restart. Sep 19 04:15:12 xbian dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10 Sep 19 04:15:13 xbian dhclient: DHCPREQUEST on wlan0 to 255.255.255.255 port 67 Sep 19 04:15:13 xbian dhclient: DHCPOFFER from 192.168.2.1 Sep 19 04:15:13 xbian dhclient: DHCPACK from 192.168.2.1 Sep 19 04:15:13 xbian smbd[16183]: [2013/09/19 04:15:13.746314, 0] printing/print_cups.c:110(cups_connect) Sep 19 04:15:13 xbian smbd[16183]: Unable to connect to CUPS server localhost:631 - Connection refused Sep 19 04:15:13 xbian smbd[1322]: [2013/09/19 04:15:13.748254, 0] printing/print_cups.c:487(cups_async_callback) Sep 19 04:15:13 xbian smbd[1322]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Sep 19 04:15:14 xbian dhclient: bound to 10.152.114.7 -- renewal in 34814 seconds. Sep 19 04:15:14 xbian wpa_action: creating sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid Sep 19 04:15:14 xbian wpa_action: bssid=68:86:a7b:56:00 Sep 19 04:15:14 xbian wpa_action: ssid=WIRELESS-2.4 Sep 19 04:15:14 xbian wpa_action: id=0 Sep 19 04:15:14 xbian wpa_action: mode=station Sep 19 04:15:14 xbian wpa_action: pairwise_cipher=CCMP Sep 19 04:15:14 xbian wpa_action: group_cipher=CCMP Sep 19 04:15:14 xbian wpa_action: key_mgmt=WPA2/IEEE 802.1X/EAP Sep 19 04:15:14 xbian wpa_action: wpa_state=COMPLETED Sep 19 04:15:14 xbian wpa_action: ip_address=10.152.114.7 Sep 19 04:15:14 xbian wpa_action: address=e8:4e:06:10:bd:05 Sep 19 04:15:14 xbian wpa_action: Supplicant PAE state=AUTHENTICATED Sep 19 04:15:14 xbian wpa_action: suppPortStatus=Authorized Sep 19 04:15:14 xbian wpa_action: EAP state=SUCCESS Sep 19 04:15:14 xbian wpa_action: WPA_IFACE=wlan0 WPA_ACTION=DISCONNECTED Sep 19 04:15:14 xbian wpa_action: WPA_ID=0 WPA_ID_STR= WPA_CTRL_DIR=/var/run/wpa_supplicant Sep 19 04:15:14 xbian wpa_action: ifdown wlan0 Sep 19 04:15:14 xbian dhclient: Internet Systems Consortium DHCP Client 4.2.2 Sep 19 04:15:14 xbian dhclient: Copyright 2004-2011 Internet Systems Consortium. Sep 19 04:15:14 xbian dhclient: All rights reserved. Sep 19 04:15:14 xbian dhclient: For info, please visit https://www.isc.org/software/dhcp/ Sep 19 04:15:14 xbian dhclient: Sep 19 04:15:14 xbian dhclient: Listening on LPF/wlan0/e8:4e:06:10:bd:05 Sep 19 04:15:14 xbian dhclient: Sending on LPF/wlan0/e8:4e:06:10:bd:05 Sep 19 04:15:14 xbian dhclient: Sending on Socket/fallback Sep 19 04:15:15 xbian dhclient: DHCPRELEASE on wlan0 to 192.168.2.1 port 67 Sep 19 04:15:15 xbian smbd[16352]: [2013/09/19 04:15:15.257076, 0] printing/print_cups.c:110(cups_connect) Sep 19 04:15:15 xbian smbd[16352]: Unable to connect to CUPS server localhost:631 - Connection refused Sep 19 04:15:15 xbian smbd[1322]: [2013/09/19 04:15:15.259222, 0] printing/print_cups.c:487(cups_async_callback) Sep 19 04:15:15 xbian smbd[1322]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL Sep 19 04:15:15 xbian wpa_supplicant[662]: wlan0: CTRL-EVENT-DISCONNECTED bssid=68:86:a7b:56:00 reason=3 Sep 19 04:15:15 xbian wpa_action: removing sendsigs omission pidfile: /run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid Sep 19 04:15:15 xbian wpa_action: WPA_IFACE=wlan0 WPA_ACTION=CONNECTED Sep 19 04:15:15 xbian wpa_action: WPA_ID=0 WPA_ID_STR= WPA_CTRL_DIR=/var/run/wpa_supplicant Sep 19 04:15:16 xbian wpa_action: ifup wlan0=default RE: NTP causing wireless to drop out - mk01 - 21st Sep, 2013 09:40 PM when you are using isc dhcp client and ifplugd is making troubles, feel free to disable it. edit /etc/default/xbmc like this: Code: INTERFACES="none" or disable ifplugd to load completely Code: sudo insserv -fr ifplugd |