Public bug reported: Hello,
I am trying to configure atheros-based wireless adapter D-Link DWL-G520 in Ubuntu 8.04.1 as an access point. It can be brought up using sequence like wlanconfig ath0 destroy wlanconfig ath0 create wlandev wifi0 wlanmode master ifconfig ath0 192.168.1.2 up iwconfig ath0 essid "Desktop_computer" from command line. However, when I try to put this in /etc/network/interfaces, the card behaves strangely. Following instructions from http://madwifi.org/wiki/UserDocs/SimpleAccessPoint I tried to up ath0 at start time: My /etc/network/interfaces: auto lo iface lo inet loopback iface eth0 inet static address xx.xx.xx.xx netmask xx.xx.xx.xx gateway xx.xx.xx.xx auto eth0 iface ath0 inet static pre-up wlanconfig ath0 destroy || true pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap post-down wlanconfig ath0 destroy wireless-mode master wireless-channel 11 wireless-essid my_ssid address 192.168.0.2 gateway 192.168.0.1 netmask 255.255.255.0 auto ath0 Then after "sudo /etc/init.d/networking restart" or during reboot computer hangs. If I comment two lines # wireless-mode master # wireless-channel 11 , it does not hang. However, 1) "route" stops working: routing tables clean and "route add ... " gives an error "SIOCADDRT: no such process" (maybe this is not important and can be fixed independently) 2) Interface is brought up in managed mode and with void ESSID. ** Affects: ubuntu Importance: Undecided Status: New -- D-Link DWL-G520 (Atheros chipset) can not be configured from /etc/network/interfaces https://bugs.launchpad.net/bugs/245968 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs