Results 1 to 2 of 2

Thread: how to configure DNS for WLAN-card ath0

Hybrid View

  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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA picture

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA

$28.94



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



Cisco QSFP-4X10G-AOC5M 40G QSFP to 4x10G SFP+ Active Optical Cable 5m 10-2934-02 picture

Cisco QSFP-4X10G-AOC5M 40G QSFP to 4x10G SFP+ Active Optical Cable 5m 10-2934-02

$100.00



Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED picture

Dell 10 Gigabit SFP+ SR Transceiver 0XYD50 NEW SEALED

$24.99



Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver picture

Arista SFP-10G-SR 10GBASE-SR XVR-10001-20 850nm SFP+ Optical Transceiver

$30.00