Re: Wireless networking issues -- Netgear WG311T and Sarge with kernel 2.6.8

From: Angelina Carlton (brat_at_magma.ca)
Date: 06/14/05

  • Next message: Bob Proulx: "Re: changing from unstable to testing"
    Date: Mon, 13 Jun 2005 18:20:54 -0400
    To: debian-user@lists.debian.org
    
    

    On Mon, Jun 13, 2005 at 11:43:25PM +0200, Tim Kynerd wrote:

    > On advice I got from alt.os.linux.debian, I just now installed the 2.6.8
    > kernel and tried again. Now there is an interface called "ath0" (the
    > wireless card has an Atheros chipset, hence the name of the interface),
    > but somehow it doesn't seem to be connected to the hardware -- among
    > other things, there are messages coming through during boot where the
    > system tries to initialize the ath0 interface, but it says, "No such
    > device"; and when I open the graphical "Networking" tool and try to
    > activate the ath0 interface, the first attempt fails (the interface is
    > immediately deactivated again), and the second attempt locks up the
    > Networking tool. Oops.
    >
    > And there's no /proc/pci file under this kernel, so I can't check that.
    >
    > Any advice on resolving this?
    >

    Hi Tim,

    I have that card running on Debian and a 2.6.8 kernel
    The drivers should show in lsmod:

    $lsmod | grep ath

    ath_pci 56096 0
    ath_rate_onoe 8584 1 ath_pci
    wlan 106588 4 wlan_wep,ath_pci,ath_rate_onoe
    ath_hal 148560 2 ath_pci

    If not you need to install them... (do this as root)

    I followed the instructions from this site:
    http://www.packetpro.com/~peterson/linux-netgear_wg311t_pci.html

    First download with cvs:
    root@mgmt:~# cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi

    build:
    root@mgmt:~# cd madwifi
    root@mgmt:~# make
    root@mgmt:~# make install

    load the modules:
    root@mgmt:~# /sbin/modprobe wlan
    root@mgmt:~# /sbin/modprobe ath_hal
    root@mgmt:~# /sbin/modprobe ath_pci

    Then edit /etc/network/interfaces to look like:

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    #auto eth0
    #iface eth0 inet dhcp

    # wg311t wireless card (new primary card)
    auto ath0
    iface ath0 inet dhcp
    wireless-essid SOMEESSIDNAME
    wireless-channel 6
    wireless-key SOMESECRETKEY

    once /etc/network/interfaces has been edited, bring up the network:
    root@mgmt:~# /sbin/ifconfig ath0 up

    This is assuming you have dhcp of course, if not: man interfaces :-)

    good luck!

    -- 
    Angelina Carlton
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Bob Proulx: "Re: changing from unstable to testing"

    Relevant Pages

    • Re: reliable wifi manager for gnome
      ... I have one of those, the problem is connecting to it, and at the moment I am ... Configuring the wireless interface with the command line (wireless-tools ...
      (Debian-User)
    • Re: 9.2 Networking/Internet
      ... >> This might be a long shot, but is this the only ethernet interface on ... I have a built in NIC but use a wireless so had to ... > There is a wireless card built in as well. ...
      (alt.os.linux.suse)
    • Re: wireless setup, final touches help please.
      ... I have just setup the wireless card using the ... > You need to associate the wireless interface with a conventional interface ... Once you have used ndiswrapper to launch your wireless ...
      (alt.os.linux.redhat)
    • switching from one network interface to another without reboot
      ... How can I switch from one network interface to another without rebooting my system? ... Every now and then I have to set up a DSL wireless box which comes with default settings so that I have to start with connecting my laptop via em0. ...
      (freebsd-questions)
    • Re: wireless setup, final touches help please.
      ... I have just setup the wireless card using the ... You need to associate the wireless interface with a conventional interface ... interface, system-config-network, to create the new configuration. ...
      (alt.os.linux.redhat)