Results 1 to 2 of 2

Thread: how to configure DNS for WLAN-card ath0

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    3

    how to configure DNS for WLAN-card ath0

    Hi,

    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
    Heinz

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Edit the netcardconfig script:
    Code:
    sudo kwrite /usr/sbin/netcardconfig
    Find this line:
    Code:
    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:
    Code:
    netcardconfig
    Choose the ath0 device and use DHCP. It should be successful.
    Then check to see if it grabbed an IP Address:
    Code:
    ifconfig

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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD picture

CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD

$44.99



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5 picture

Intel Xeon Gold 6138 2.0GHz 27.5MB 20-Core 125W LGA3647 SR3B5

$46.00



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$90.00