Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to connect my Nintendo DS (does not support WPA or Ad-Hoc) to the internet, but i can't just change the encryption from WPA to WEP every time i do so, so i connected my pc via ethernet cable to the router and now want to create a wireless network that the ds can use. I have followed the tutorial on this site by Web-E, but when i want to connect to the network my ds says that it cannot optain an ip address from the dhcp server. Can somebody tell me why it is not working?

Configs and logs:

/etc/dhcp/dhcp.conf:

ddns-update-style none;
log-facility local7;

subnet 10.10.0.0 netmask 255.255.255.0 {
        range 10.10.0.2 10.10.0.16;
        option domain-name-servers 8.8.4.4, 208.67.222.222;
        option routers 10.10.0.1;
}

/etc/hostapd/hostapd.conf

interface=wlan0
driver=nl80211
ssid=TestWifi15
hw_mode=g
channel=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wep_default_key=0
wep_key0="PassW"
wep_key_len_broadcast=5
wep_key_len_unicast=5
wep_rekey_period=300

/etc/network/interfaces:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto wlan
iface wlan0 inet static
address 10.10.0.1
netmask 255.255.255.0

/var/log/syslog:

upon startup:

dhcpd: Not configured to listen on any interfaces!
dhcpd: Wrote 0 leases to leases file.
dhcpd: No subnet declaration for wlan0 (no IPv4 addresses).
dhcpd: ** Ignoring requests on wlan0.  If this is not what
dhcpd:    you want, please write a subnet declaration
dhcpd:    in your dhcpd.conf file for the network segment
dhcpd:    to which interface wlan0 is attached. **

upon trying to connect

hostapd: wlan0: STA 58:bd:a3:29:cc:b0 IEEE 802.11: authenticated
hostapd: wlan0: STA 58:bd:a3:29:cc:b0 IEEE 802.11: associated (aid 1)
hostapd: wlan0: STA 58:bd:a3:29:cc:b0 RADIUS: starting accounting session 535137C6-00000001
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.