Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2752

From: <debian-user-digest-request(at)lists.debian.org>
Date: Tue Nov 06 2007 - 00:17:56 EST


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2752

Today's Topics:
  Problem configuring NETGEAR MA111 wi [ "Rahman, Md Sazzadur" <sazzad@ou.ed ]

Date: Mon, 5 Nov 2007 22:52:17 -0600
From: "Rahman, Md Sazzadur" <sazzad@ou.edu> To: "debian-user@lists.debian.org" <debian-user@lists.debian.org> Subject: Problem configuring NETGEAR MA111 wireless USB card

Message-ID: <7059EA19D7837E44A3BA7DAB464944B3391A53C415@XMAIL5.sooner.net.ou.edu>
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_7059EA19D7837E44A3BA7DAB464944B3391A53C415XMAIL5soonern_"

--_000_7059EA19D7837E44A3BA7DAB464944B3391A53C415XMAIL5soonern_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello list,

I was installing driver for Netgear MA111 wireless USB card in debian OS. F=
or this, I used linux-wlan-ng project. After installing and configuring the=
 driver, I wasn't able to connect to the network and getting "destination h=
ost unreachable" by ping command:

debian:/tmp/linux-wlan-ng/examples# ping 192.168.0.11 PING 192.168.0.11 (192.168.0.11) 56(84) bytes of data.

>From 192.168.0.12 icmp_seq=3D1 Destination Host Unreachable
>From 192.168.0.12 icmp_seq=3D2 Destination Host Unreachable
>From 192.168.0.12 icmp_seq=3D3 Destination Host Unreachable
Do you need help?X

Kernel I am using:

debian:/tmp/linux-wlan-ng/examples# uname -a Linux debian 2.6.22-mip6 #2 Thu Sep 20 18:26:31 JST 2007 i686 GNU/Linux

This is a pre-compiled kernel for NEMO(Network Mobility) test bed implement= ation.

What I did:

  1. Install linux-wlan-ng user space driver:

dpkg -i linux-wlan-ng.deb

2. Build and install linux-wlan-ng kernel space driver:

dpkg -i linux-wlan-ng-source_0.2.8+svn1839+dfsg-1_all.deb m-a build linux-wlan-ng-modules
m-a install linux-wlan-ng-modules

3. Edit rc.local file

Do you need more help?X

debian:/home/sazzad# vi /etc/rc.local

# By default this script does nothing.

modprobe prism2_usb

wlanctl-ng wlan0 lnxreq_ifstate ifstate=3Denable

wlanctl-ng wlan0 lnxreq_autojoin ssid=3DHA_SSID authtype=3Dopensystem

ifconfig wlan0 192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255

route add default gw 192.168.0.11

exit 0

Can we help you?X

4. Configure wlan.conf

debian:/home/sazzad# vi /etc/wlan/wlan.conf

WLAN_DEVICES=3D"wlan0"

# Below is the list of channels to scan, when we scan.

ChannelList=3D"01:02:03:04:05:06:07:08:09:0a:0b:00:00:00"

# Below is the min and max time we linger on a channel during a scan.

ChannelMinTime=3D200

      ChannelMaxTime=3D250

Can't find what you're looking for?X

# And here we have the master scan toggle.

WLAN_SCAN=3Dy

# if you want temporary files to go elsewhere, change this.

TMPDIR=3D/tmp

##########

# Note: To bind to a specific network, change the SSID to something differ=
ent

# and create the file /etc/wlan/wlancfg-<SSID> with your network-

# specific settings. If this file is not present, the settings in

Don't know where to look next?X

# /etc/wlancfg/wlancfg-DEFAULT are used.

#

# for example:

# SSID_wlan0=3D"linux-wlan"

# This expects a file called "/etc/wlan/wlancfg-linux-wlan" to be present.

#

# Use a SSID of "" to associate with any network in range.

#########

Confused? Frustrated?X

#SSID_wlan0=3D""

SSID_wlan0=3D"HA_SSID"

ENABLE_wlan0=3Dy

#SSID_wlan1=3D""

#ENABLE_wlan1=3Dn

#SSID_wlan2=3D""

#ENABLE_wlan2=3Dn

5. Configure wlancfg-HA_SSID

Call Pantek today for Open Source Technical Support at 1-877-546-8934 - 24/7/365X

debian:/home/sazzad# vi /etc/wlan/wlancfg-HA_SSID

#=3D=3D=3D=3D=3D=3D=3DSELECT STATION MODE=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D

IS_ADHOC=3Dy                      # y|n, y - adhoc, n - infrastructure

#=3D=3D=3D=3D=3D=3D=3D INFRASTRUCTURE STATION =3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

# What kind of authentication?

AuthType=3D"opensystem" # opensystem | sharedkey (requires WEP)

#=3D=3D=3D=3D=3D=3D=3D ADHOC STATION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

BCNINT=3D100                      # Beacon interval (in Kus)

CHANNEL=3D6                       # DS channel for BSS (1-14, depends

                                #   on regulatory domain)

BASICRATES=3D"2 4"                # Rates for mgmt&ctl frames (in 500Kb/s)

OPRATES=3D"2 4 11 22"             # Supported rates in BSS (in 500Kb/s)

6. Check linux-wlan module is running:

debian:/home/sazzad# modprobe -l

Do you need help?X

/lib/modules/2.6.22-mip6/linux-wlan-ng/prism2_plx.ko

/lib/modules/2.6.22-mip6/linux-wlan-ng/prism2_pci.ko

/lib/modules/2.6.22-mip6/linux-wlan-ng/p80211.ko

/lib/modules/2.6.22-mip6/linux-wlan-ng/prism2_usb.ko

7. Check configuration

debian:/tmp/linux-wlan-ng/examples# ifconfig

eth0 Link encap:Ethernet HWaddr 00:50:04:6F:BA:14

          UP BROADCAST MULTICAST MTU:1500 Metric:1

Do you need more help?X

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

          Interrupt:16 Base address:0x8b80

eth1 Link encap:Ethernet HWaddr 00:08:A1:99:DB:14

          inet addr:129.15.78.111 Bcast:129.15.78.255 Mask:255.255.255.0

          inet6 addr: 2001:468:a02:78:208:a1ff:fe99:db14/64 Scope:Global

Can we help you?X

          inet6 addr: fe80::208:a1ff:fe99:db14/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

          RX packets:7329 errors:0 dropped:0 overruns:0 frame:0

          TX packets:2682 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:7050460 (6.7 MiB) TX bytes:299472 (292.4 KiB)

          Interrupt:18 Base address:0xde00

lo Link encap:Local Loopback

Can't find what you're looking for?X

          inet addr:127.0.0.1 Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING MTU:16436 Metric:1

          RX packets:122 errors:0 dropped:0 overruns:0 frame:0

          TX packets:122 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:13080 (12.7 KiB) TX bytes:13080 (12.7 KiB)

wlan0 Link encap:Ethernet HWaddr 00:09:5B:67:AE:0F

Don't know where to look next?X

          inet addr:192.168.0.12 Bcast:192.168.0.255 Mask:255.255.255.0

          UP BROADCAST MULTICAST MTU:1500 Metric:1

          RX packets:6948 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:1143411 (1.0 MiB) TX bytes:0 (0.0 b)

debian:/tmp/linux-wlan-ng/examples# route -n

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Ifa= ce
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wla= n0
129.15.78.0 0.0.0.0 255.255.255.0 U 0 0 0 eth= 1
0.0.0.0 192.168.0.11 0.0.0.0 UG 0 0 0 wla= n0
0.0.0.0 129.15.78.1 0.0.0.0 UG 0 0 0 eth= 1
debian:/tmp/linux-wlan-ng/examples#

Confused? Frustrated?X

I did the same configuration for another Debian PC and trying to connect th= em in ADHOC mode. But ping returns with destination address unreachable fro= m both of them.

I would appreciate if anyone could give some suggestions on this regard.

Best Regards,
Md Sazzadur Rahman
Graduate Student,
School of Computer Science,
University of Oklahoma,
Norman, Oklahoma, USA

--_000_7059EA19D7837E44A3BA7DAB464944B3391A53C415XMAIL5soonern_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">