Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] hostapd stopped working after reboot
Date: Wed, 19 Sep 2007 07:50:35
Message-Id: 062a01c7fa8f$7b5b5940$1301a8c0@locutus
1 hostapd (0.4.9) stopped working today on my Gentoo server...
2
3 daevid ~ # /etc/init.d/hostapd restart
4 * Starting hostapd ...
5 Configuration file: /etc/hostapd/hostapd.conf
6 ioctl(SIOCGIFINDEX): No such device
7 hostap driver initialization failed.
8 rmdir[ctrl_interface]: No such file or directory
9
10 This was all working fine yesterday. I had to reboot my server today, so
11 no doubt that is related as something must have been updated.
12
13 I see this bug, but I don't think that's exactly my issue, while the
14 error is the same, I don't have the problem he describes.
15 http://bugs.gentoo.org/show_bug.cgi?id=159646
16
17 # ifconfig
18 wifi0 Link encap:UNSPEC HWaddr
19 00-02-6F-09-B2-B4-00-00-00-00-00-00-00-00-00-00
20 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
21 RX packets:1599 errors:0 dropped:0 overruns:0 frame:0
22 TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
23 collisions:0 txqueuelen:1000
24 RX bytes:48264 (47.1 Kb) TX bytes:4090 (3.9 Kb)
25 Interrupt:16 Base address:0xc100
26
27 wlan0 Link encap:Ethernet HWaddr 00:02:6F:09:B2:B4
28 inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
29 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
30 RX packets:1 errors:0 dropped:10 overruns:0 frame:0
31 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
32 collisions:0 txqueuelen:0
33 RX bytes:342 (342.0 b) TX bytes:3882 (3.7 Kb)
34 Interrupt:16 Base address:0xc100
35
36 Note, I don't have a wlan0ap, but that would come from hostapd I
37 suspect, if it were starting.
38
39 But the modules are loading...
40
41 # lsmod | grep host
42 hostap_cs 59156 3
43 hostap 111108 1 hostap_cs
44
45 I don't use WEP or WPA. Just a standard wide open public WAP. Engenius
46 Senao 2511 card.
47
48 Here's the most recent stuff that could have had an effect, I don't know
49 the last time I rebooted the server, but I guess it was within this
50 timeframe:
51
52 daevid log # genlop -l --date 5 weeks ago | grep -v kde | grep -v gnome
53 | grep -v x11
54
55 Sun Aug 19 17:29:40 2007 >>> dev-libs/expat-2.0.1
56 Sun Aug 19 17:30:09 2007 >>> sys-fs/udev-114
57 Sun Aug 19 17:30:19 2007 >>> sys-apps/debianutils-2.22.1
58 Sun Aug 19 17:32:12 2007 >>> sys-apps/busybox-1.6.1
59 Sun Aug 19 17:36:47 2007 >>> sys-devel/gettext-0.16.1-r1
60 Sun Aug 19 17:37:04 2007 >>> sys-process/psmisc-22.5-r1
61 Sun Aug 19 18:02:34 2007 >>> sys-fs/device-mapper-1.02.19-r1
62 Sun Aug 19 18:04:42 2007 >>> app-text/sablotron-1.0.1
63 Sun Aug 19 18:19:21 2007 >>> net-libs/opal-2.2.6
64 Sun Aug 19 18:20:36 2007 >>> sys-apps/dbus-1.0.2-r2
65 Sun Aug 19 18:21:19 2007 >>> dev-libs/dbus-glib-0.73
66 Sun Aug 19 18:25:21 2007 >>> sys-devel/gdb-6.6-r2
67 Sun Aug 19 18:26:02 2007 >>> dev-libs/apr-util-1.2.8
68 Sun Aug 19 18:28:54 2007 >>> app-text/openjade-1.3.2-r1
69 Sun Aug 19 20:30:38 2007 >>> dev-libs/pwlib-1.10.5
70 Sun Aug 19 20:39:10 2007 >>> sys-fs/cryptsetup-luks-1.0.4-r3
71 Sun Aug 19 20:46:12 2007 >>> x11-apps/sessreg-1.0.2
72 Sun Aug 19 20:47:25 2007 >>> net-misc/openssh-4.6_p1-r3
73 Sun Aug 19 20:55:39 2007 >>> net-dns/libidn-0.6.9-r1
74 Sun Aug 19 21:04:32 2007 >>> net-misc/curl-7.16.4
75 Sun Aug 19 21:04:37 2007 >>> net-misc/netkit-talk-0.17-r4
76 Sun Aug 19 23:50:57 2007 >>> dev-libs/apr-util-1.2.8
77 Mon Aug 20 00:03:20 2007 >>> sys-apps/hal-0.5.9-r1
78 Mon Aug 20 01:36:07 2007 >>> dev-libs/apr-util-1.2.8
79 Mon Aug 20 12:55:06 2007 >>> dev-libs/apr-util-0.9.12-r1
80 Thu Sep 6 18:23:04 2007 >>> sys-apps/portage-2.1.2.12
81 Thu Sep 6 18:23:23 2007 >>> sys-devel/autoconf-2.61-r1
82 Thu Sep 6 18:24:03 2007 >>> net-misc/rsync-2.6.9-r3
83 Thu Sep 6 19:34:54 2007 >>> sys-auth/consolekit-0.2.1
84 Thu Sep 6 19:36:24 2007 >>> dev-libs/libIDL-0.8.8
85 Thu Sep 6 19:50:08 2007 >>> net-misc/vino-2.18.1
86 Thu Sep 6 20:06:20 2007 >>> dev-python/pygtkglext-1.1.0
87 Thu Sep 6 22:29:46 2007 >>> dev-libs/openssl-0.9.8e-r2
88 Thu Sep 6 22:31:12 2007 >>> dev-libs/glib-2.12.13
89 Thu Sep 6 22:39:13 2007 >>> sys-libs/db-4.5.20_p2
90 Thu Sep 6 22:39:33 2007 >>> net-libs/libpcap-0.9.7
91 Thu Sep 6 23:26:55 2007 >>> sys-devel/libtool-1.5.24
92 Thu Sep 6 23:28:55 2007 >>> media-libs/alsa-lib-1.0.14a-r1
93 Fri Sep 7 11:24:37 2007 >>> dev-python/setuptools-0.6_rc6
94 Fri Sep 7 11:28:40 2007 >>> dev-python/pyorbit-2.14.3
95 Fri Sep 7 11:30:11 2007 >>> net-misc/dhcp-3.1.0
96 Fri Sep 7 11:32:15 2007 >>> net-wireless/wireless-tools-29_pre22
97 Fri Sep 7 11:32:21 2007 >>> net-misc/whois-4.7.22
98 Fri Sep 7 12:29:13 2007 >>> net-misc/openssh-4.7_p1
99 Fri Sep 7 12:30:48 2007 >>> net-mail/dovecot-1.0.3
100 Fri Sep 7 12:37:21 2007 >>> net-firewall/iptables-1.3.8-r1
101 Tue Sep 11 22:46:28 2007 >>> dev-perl/XML-Parser-2.34-r1
102 Tue Sep 11 22:49:34 2007 >>> dev-libs/apr-util-0.9.12-r1
103
104 Rebooted server today.
105
106 Tue Sep 18 21:16:25 2007 >>> net-wireless/hostap-utils-0.4.7
107 Tue Sep 18 21:16:41 2007 >>> net-wireless/hostapd-0.4.9
108
109 The last two entries are where I noticed wifi wasn't working tonight, so
110 I tried to re-emerge it, but that didn't fix it.
111
112 # eix hostapd
113 [I] net-wireless/hostapd
114 Available versions: 0.4.9 ~0.5.8 ~0.6.0 {ipv6 logwatch madwifi
115 ssl}
116 Installed versions: 0.4.9(21:16:39 09/18/07)(ipv6 -logwatch
117 -madwifi ssl)
118 Homepage: http://hostap.epitest.fi
119 Description: IEEE 802.11 wireless LAN Host AP daemon
120
121 --
122 gentoo-user@g.o mailing list