Results 1 to 2 of 2

Thread: how to configure DNS for WLAN-card ath0

  1. #1
    Junior Member
    Join Date
    Sep 2005

    how to configure DNS for WLAN-card ath0


    how can I set a DNS server for my WLAN card (ath0) ?

    I've successfully managed to set an IP-address with "ifconfig ath0 ...." and have added a default GW, too.
    But how could I set a DNS for ath0 ?

    With "netcardconfig" it seems I can only set DNS for eth0 - but not for my WLAN-adapter ?
    (I have checked "iwconfig", but seems there is no option for setting a DNS there?)

    thank you

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Long Island, NY USA
    Edit the netcardconfig script:
    sudo kwrite /usr/sbin/netcardconfig
    Find this line:
    NETDEVICES="$(cat /proc/net/dev | awk -F: '/eth.:|tr.:|wlan.:/{print $1}')"
    Add ath.:| after the |
    NETDEVICES="$(cat /proc/net/dev | awk -F: '/eth.:|ath.:||tr.:|wlan.:/{print $1}')"
    Save the changes and exit Kwrite.

    Then run netcardconfig:
    Choose the ath0 device and use DHCP. It should be successful.
    Then check to see if it grabbed an IP Address:

Similar Threads

  1. configure network card
    By shantanuo in forum Networking
    Replies: 0
    Last Post: 09-20-2005, 05:52 AM
  2. Replies: 1
    Last Post: 01-30-2005, 03:11 AM
  3. how to configure WLAN networkcard on Knopix
    By phunkyvibez in forum Networking
    Replies: 1
    Last Post: 08-02-2004, 01:18 PM
  4. Can't Configure TV Card
    By turbines in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-09-2004, 09:21 PM
  5. Configure TV card
    By massai in forum Hardware & Booting
    Replies: 1
    Last Post: 01-26-2004, 03:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts