I have installed Cubian (It's Debian for the Cubieboard). After the system has started, the wired network works fine. I've read this and configured the network interface(I added only the wlan0 settings):
//default
# the loopback interface
auto lo
iface lo inet loopback
#
#auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
//my
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wireless-essid My_network_name
but when I try sudo ifup wlan0 I get:
No DHCPOFFERS received. No working leases in persistent database - sleeping.
I have a MAC filter on my router, but I added the MAC address to the white list.
Also I can't understand why Cubian is connecting eth0, when there is
#auto eth0
in /etc/network/interfaces.
In the wiki I saw:
If you absolutely don't need the wired network, please disable this feature by comment or delete auto eth0.
It is commented out by default, why does eth0 start working after the system has started?
I have understood my bad. I have router and repeater with one ssid to cover a larger area, and Cubian doesn't know what to use. How can I fix it problem (maybe specify MAC address to connect) for feture?
Now it remembers where is dhcp and connect there fine.