|
|||||||||||
|
debian-user-digest Digest V2007 #2753
From: <debian-user-digest-request(at)lists.debian.org>
Date: Tue Nov 06 2007 - 00:19:02 EST
debian-user-digest Digest Volume 2007 : Issue 2753
Today's Topics:
Date: Mon, 5 Nov 2007 22:53:14 -0600
"Shahriar, Abu Zafar M." <shahriar@ou.edu> Subject: Problem configuring NETGEAR MA111 wireless USB card Message-ID: <7059EA19D7837E44A3BA7DAB464944B3391A53C416@XMAIL5.sooner.net.ou.edu> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_7059EA19D7837E44A3BA7DAB464944B3391A53C416XMAIL5soonern_" --_000_7059EA19D7837E44A3BA7DAB464944B3391A53C416XMAIL5soonern_ 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 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:
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
3. Edit rc.local file 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 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 # 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= # and create the file /etc/wlan/wlancfg-<SSID> with your network- # specific settings. If this file is not present, the settings in # /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. ######### #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 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= 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= # 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=
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 /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 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 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 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 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
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,
--_000_7059EA19D7837E44A3BA7DAB464944B3391A53C416XMAIL5soonern_ 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">
<head>
| ||||||||||