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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch picture

Cisco Catalyst 2960-48TT-L 48-Port Fast Ethernet Managed Rackmount Switch

$46.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99