Find the answer to your Linux question:
Results 1 to 2 of 2
Hi everyone, i am newbie to Centos5 ...I am having both ethernet and wireless card(wg311T).. And installed the driver for wg311T(madwifi-0.9.4.tar). I finished the configuration settings as follows 1. Run ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    6

    wg311T wireless adapter not working centos


    Hi everyone,
    i am newbie to Centos5 ...I am having both ethernet and wireless card(wg311T)..

    And installed the driver for wg311T(madwifi-0.9.4.tar).

    I finished the configuration settings as follows

    1. Run the "make" in the directory madwifi
    2. Then do a "make install".
    3. vi the /etc/modprobe.conf file. Add a line alias ath0 ath_pci
    4. vi /etc/sysconfig/network-scripts/ifcfg-ath0
    Add this:
    STARTMODE=hotplug
    DEVICE=ath0
    BOOTPROTO=dhcp
    WIRELESS=yes
    MODE=Managed
    ESSID=<Your network name goes here>
    IPV6INIT=no
    onBOOT=yes
    USERCTL=no
    PEERDNS=no
    KEY= <Your security key goes here if you have one>

    5. ifconfig ath0 up
    6. ifup ath0
    7. vi /etc/resolv.conf
    Add this:
    name server 192.168.1.1

    The problem i faced is
    DHCP server is not assigning the IP automatically.
    Even i tried manually Wireless is not working properly
    ..

    Pl anyone help me.

  2. #2
    Just Joined! TTIO's Avatar
    Join Date
    Nov 2008
    Location
    UK
    Posts
    80
    Dunno if this'll help or not, but this seemed to work for me in Kubuntu 7.10 (saved this as a .sh and ran it to connect):

    #/bin/bash
    # Main commands
    # iwconfig

    # To create an access point, use:
    wlanconfig ath0 create wlandev wifi0 wlanmode ap

    # Connecting using WEP key:
    iwpriv ath0 authmode 1
    iwconfig ath0 key <hex key>

    # To get an IP address:
    sudo dhclient ath0

Posting Permissions

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