Sorry for my bad english. On a distribution debian wheezy I configured a router AP. I set up a bridge between a VLAN eth0.102 and wlan wlan0. For configuring WiFi I installed the drivers for the wireless device. I configured the file hostapd.conf and dhcp server, use dnsmaq. Everything works fine until suddenly a wireless client any, by any operation the apparatus AP router crashes, you can not longer access the device is in wireless connectivity with the cable and disappears, every activity of the apparatus is turned off . I tried to check the log file, but when the system is restarted you lose all the log file pre-block. I tried several times to redo the configuration, fearing that he had made some mistakes, but the event lock apparatus occurs equally. Note that at the weekend, when no client is connected to the router, the device will not lock. The block happens the following working day, even after several hours of work. In fact these devices I 2 configured identical, both as hardware and as software. On one I have at my house did not have any type of problema.Ho connected two computers, two notebooks a wii, three phones Android, a PBX with two phones and a wireless printer. The other one that I installed in the office where I happen the problems I have explained before, I connected a PC, a photocopier network, a PC wirless, four notebooks, a wireless printer, a PBX with three phones. These are my configuration files:
# brctl show bridge name bridge id STP enabled interfaces br0 8000.024c0a813951 yes eth0.102 wlan0
# cat etc/hostapd/hostapd.conf
I had to disable the line "ctrl_interface = / var / run / hostapd" otherwise the command to restart the service hostapd me back an error
# /etc/init.d/hostapd restart [ ok ] Stopping advanced IEEE 802.11 management: hostapd. [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! #cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback # Wan settings auto eth0.101 iface eth0.101 inet dhcp #Switch auto eth0.102 iface eth0.102 inet manual pre-up ifconfig $IFACE up post-down ifconfig $IFACE down # wireless settings auto wlan0 iface wlan0 inet manual pre-up ifconfig $IFACE up post-down ifconfig $IFACE down #Bridge auto br0 iface br0 inet static bridge_ports eth0.102 wlan0 address 192.168.8.1 netmask 255.255.255.0 broadcast 192.168.8.255 network 192.168.8.0 up /sbin/brctl stp br0 on up iptables-restore < /etc/iptables.ipv4.nat
Can someone please help me? Thanks!!