Comment 2 for bug 14462

Revision history for this message
Uwe A. P. Wuerdinger (wuerdinger) wrote :

(In reply to comment #1)
> There is nothing in /etc/network/interfaces for ath0?

root@ubuntu:/home/ubuntu # cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
        script grep
        map ath0

I had to do the following by hand to get the net connection running

root@ubuntu:/home/ubuntu # iwconfig ath0 mode Managed
root@ubuntu:/home/ubuntu # touch /etc/resolv.conf
root@ubuntu:/home/ubuntu # dhclient ath0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/ath0/00:0f:b5:26:ab:17
Sending on LPF/ath0/00:0f:b5:26:ab:17
Sending on Socket/fallback
DHCPREQUEST on ath0 to 255.255.255.255 port 67
ip length 314 disagrees with bytes received 534.
accepting packet with data after udp payload.
DHCPACK from 192.168.111.1
bound to 192.168.111.5 -- renewal in 33690 seconds.