ntpd drifts depsite pll state
Hello I have a strange problem with ntpd: clock drifts while the daemon reports kernel status pll, which as I understand means NTP synchronisation is good: # cat /etc/ntp.conf pidfile /var/run/ntpd.pid driftfile /var/db/ntp.drift logconfig -syncstatus server 192.0.2.20 # ntpq ntpq> kerninfo associd=0 status=c016 leap_alarm, sync_unspec, 1 event, restart, pll offset:0 pll frequency: 0 maximum error: 756.265 estimated error: 1.6e-05 kernel status: pll pll time constant: 3 precision: 0 frequency tolerance: 495.911 pps frequency: 0 pps stability: 0 pps jitter:0 calibration interval 0 calibration cycles:0 jitter exceeded: 0 stability exceeded:0 calibration errors:0 # ntpdate -uq 192.0.2.20 server 192.0.2.20, stratum 2, offset -10.022205, delay 0.02600 2 Feb 03:42:25 ntpdate[15369]: step time server 192.0.2.20 offset -10.022205 sec Is there something wrong in the configuration, or do I misunderstand kerninfo output? -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org
Re: Unable to join open WEP wireless network
On Thu, Feb 01, 2018 at 11:25:21AM +, Chen, Xianwen (陈贤文) wrote: > Dear NetBSD users, > > I am having trouble connecting NetBSD to an open WEP wireless network, > called "ks-guest". Because my Android mobile phone is able to connect > to "ks-guest", the network is functioning. What do you mean by an "open WEP" network? Seems like any WEP network should have a key, but you're not configuring the interface with any key. Dave -- David Young dyo...@pobox.comUrbana, IL(217) 721-9981
Re: Unable to join open WEP wireless network
On Thu, Feb 1, 2018 at 4:25 AM, Chen, Xianwen (陈贤文)wrote: > Dear NetBSD users, > > I am having trouble connecting NetBSD to an open WEP wireless network, > called "ks-guest". Because my Android mobile phone is able to connect > to "ks-guest", the network is functioning. > > "ifconfig iwi0 list scan" gives the following output: > SSID BSSID CHAN RATE S:N INT > CAPS > ks-nett 24:01:c7:14:2a:601 54M 37:0 > 102 EPS RSN WME > ks-guest 10:bd:18:f0:26:f21 54M 69:0 > 102 ES WME > ks-mobil 10:bd:18:f0:26:f11 54M 69:0 > 102 EPS RSN WME > ks-mobil 24:01:c7:14:2a:611 54M 36:0 > 102 EPS RSN WME > ks-guest 24:01:c7:14:2d:d26 54M 55:0 > 102 ES WME > ks-guest 24:01:c7:14:27:326 54M 49:0 > 102 ES WME > GSS-KS30:b5:c2:3e:7b:d8 11 54M 51:0 > 100 EPS RSN WME > ks-nett cc:d5:39:cc:61:a0 11 54M 52:0 > 102 EPS RSN WME > ks-guest cc:d5:39:cc:61:a2 11 54M 53:0 > 102 ES WME > ks-mobil cc:d5:39:cc:61:a1 11 54M 54:0 > 102 EPS RSN WME > KSA-Trakterietcc:d5:39:cc:61:a3 11 54M 50:0 > 102 EPS RSN WME > > I try to connect to "ks-guest" by "ifconfig iwi0 ssid ks-guest > -nwkey". When I run "ifconfig", the ssid is updated. However, the > status remains "no network": > iwi0: flags=8843 mtu 1500 > ssid ks-guest > powersave off > bssid 10:bd:18:f0:26:f0 > address: 00:12:f0:f2:14:c4 > media: IEEE802.11 autoselect > status: no network > inet6 fe80::212:f0ff:fef2:14c4%iwi0 prefixlen 64 detached scopeid 0x3 > > I tried to specify bssid and channel by for example "ifconfig -s iwi0 > ssid ks-guest bssid 24:01:c7:14:2b:e2 chan 6 -nwke". However, the > status does not change. I might not be helping much but I will try. I haven't done this in a really long time, but I know for sure that this used to work. I would use an ifconfig command to connect to WEP networks. This was an 802.11b network though, not sure if that makes a difference. Did you try without -nwkey? Did you try specifically setting the media type (maybe "mode 11g" or whatever it is)? Maybe try to tcpdump the interface to see if it really is offline... Andy
Unable to join open WEP wireless network
Dear NetBSD users, I am having trouble connecting NetBSD to an open WEP wireless network, called "ks-guest". Because my Android mobile phone is able to connect to "ks-guest", the network is functioning. "ifconfig iwi0 list scan" gives the following output: SSID BSSID CHAN RATE S:N INT CAPS ks-nett 24:01:c7:14:2a:601 54M 37:0 102 EPS RSN WME ks-guest 10:bd:18:f0:26:f21 54M 69:0 102 ES WME ks-mobil 10:bd:18:f0:26:f11 54M 69:0 102 EPS RSN WME ks-mobil 24:01:c7:14:2a:611 54M 36:0 102 EPS RSN WME ks-guest 24:01:c7:14:2d:d26 54M 55:0 102 ES WME ks-guest 24:01:c7:14:27:326 54M 49:0 102 ES WME GSS-KS30:b5:c2:3e:7b:d8 11 54M 51:0 100 EPS RSN WME ks-nett cc:d5:39:cc:61:a0 11 54M 52:0 102 EPS RSN WME ks-guest cc:d5:39:cc:61:a2 11 54M 53:0 102 ES WME ks-mobil cc:d5:39:cc:61:a1 11 54M 54:0 102 EPS RSN WME KSA-Trakterietcc:d5:39:cc:61:a3 11 54M 50:0 102 EPS RSN WME I try to connect to "ks-guest" by "ifconfig iwi0 ssid ks-guest -nwkey". When I run "ifconfig", the ssid is updated. However, the status remains "no network": iwi0: flags=8843mtu 1500 ssid ks-guest powersave off bssid 10:bd:18:f0:26:f0 address: 00:12:f0:f2:14:c4 media: IEEE802.11 autoselect status: no network inet6 fe80::212:f0ff:fef2:14c4%iwi0 prefixlen 64 detached scopeid 0x3 I tried to specify bssid and channel by for example "ifconfig -s iwi0 ssid ks-guest bssid 24:01:c7:14:2b:e2 chan 6 -nwke". However, the status does not change. What can I try to connect to the network? Sincerely, Xianwen