LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices


Reply
  Search this Thread
Old 12-17-2004, 07:05 PM   #46
Qwertie
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15

Okay, it looks like I'm getting farther now.

But when I run /etc/init.d/wlan start ...

[root@localhost dpiepgrass]# /etc/init.d/wlan start
Starting WLAN Devices: FATAL: Error inserting prism2_usb (/lib/modules/2.6.5-1.358/linux-wlan-ng/prism2_usb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
[root@localhost dpiepgrass]# [ OK ]

What's dmesg? Anyway, I figured I'd reboot to see if the init procedure would happen on startup. During bootup, a different error message came out, which was approximately:

usb_prism2 device wlan0 does not seem to be present. Delaying initialization.

That's IIRC. Is there a bootup log file with this message in it (and hopefully more information)?
 
Old 12-17-2004, 07:19 PM   #47
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
you need to type depmod (run it as root) if that does nto fix it try rebooting

dmesg shows you kernel startup messages and module messages type dmesg as root
 
Old 12-17-2004, 07:29 PM   #48
Qwertie
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Well, that didn't fix it (but I haven't rebooted yet)

I looked through dmesg's output and found

usb 1-1: new full speed USB device using address 2
prism2_usb: Unknown symbol usb_kill_urb

The latter message,

prism2_usb: Unknown symbol usb_kill_urb

appears several times in the file, but only once adjacent to that usb1-1 message, which seems to indicate the device is recognized (there is only one usb device attached, and that is the wireless thingie)
 
Old 12-17-2004, 07:35 PM   #49
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
well, you got me there, I would guess a usb option you need is not compile dinto your kernel, but if it compiled the driver it should be.... if it still fails after a reboot then I am not sure where to go from there, it is at that point that I would recompile my kernel, something you would want to go find a detailed tutorial for.
 
Old 12-17-2004, 07:43 PM   #50
Qwertie
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Darn. Rebooting didn't change anything. What's depmod?

dmesg doesn't contain those messages I see on startup. Where do those messages go?
 
Old 12-17-2004, 08:45 PM   #51
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
dmesg only contains kernel messages, not system messages, so most of what you see on boot will nto be shown, only driver related stuff.

depmod will resolve module dependancies put them int here place, and while I am not clear exactly what the inner workings and preccesses are I do know this: it makes new modules usable :-D
 
Old 12-17-2004, 10:51 PM   #52
kooooo
LQ Newbie
 
Registered: Dec 2004
Distribution: SuSE
Posts: 3

Rep: Reputation: 0
noob in need... seriously please help

I was wondering if anybody could help me here. I have a Netgear MA111 USB Card, and I just got Linux on the computer I use it on.
I would really like internet on it... but I have no idea how to use Linux to build these drivers, and I have SuSE, not RedHat...
so if somebody would please help me, I would appreciate it. Even just pointing me to a tutorial or something. In the mean time, I guess I'll just keep looking around.
 
Old 12-21-2004, 07:33 PM   #53
waynefrank
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
Netgear MA111 with Red Hat

I am trying to use a Netgear MA111 on a Linux machine. I have a link for the driver (I assume get the latest one).

I am told I have to have the source code for my Linux. I am hazy as to where to get that. I downloaded Red Hat 9 from linuxiso org.
I got Version: 9 (shrike) Release: 2003-04-07

Does linuxiso have the source? I can't see it, but maybe I am not looking for the right thing.

Thanks
 
Old 01-05-2005, 09:46 PM   #54
ercarlso
LQ Newbie
 
Registered: Aug 2004
Location: Sunnyvale, CA
Distribution: Slackware, SuSE & HP-UX
Posts: 3

Rep: Reputation: 0
MA111 v2 doesn't work on linux

I just went through all this setup, config, etc. Apparently,
Netgear changed the chipset used in MA111, but didn't
change the product name or id. If your MA111 box has
a tiny little "v2" on the side, then you probably have the
new chipset, and the standard MA111 (v1) drivers will
not recognize the device. I'm returning mine to the
store now.
 
Old 01-16-2005, 08:49 AM   #55
randomthoughts
LQ Newbie
 
Registered: Dec 2004
Location: A cardboard box with T2....so NAH!
Distribution: Red Hat 9
Posts: 10

Rep: Reputation: 0
Quote:
Originally posted by Qwertie
But if they put it in, and I don't need it, but they offered no explanation about it, then where would I be? I would be in a state of confusion, of course, as you can see.


I'm using Fedora which is one of the 3 redhat distros the author said he was using.


Thanks, I'll try that.


But, er, what programs? By the way, I see neither prism2_usb nor wlan0 in /dev. Will one of those automatically appear in /dev when the driver starts working? Should there be a file in /dev representing the device before the device driver starts working?
I have Red Hat 9
I got through compiling and installing, the only problem i ran into when I booted up and it tried to load my device it said it was unexistant.....
http://www.linuxquestions.org/questi...ighlight=ma111
 
Old 01-20-2005, 03:00 PM   #56
robbat
LQ Newbie
 
Registered: Jan 2005
Location: palm desert
Distribution: SUSE 9.2
Posts: 3

Rep: Reputation: 0
I am with u this is very frustrating I bought SUSE 9.2 and everything went fine except that I cant get the netgear ma111 to work the howto does not work past the make config source kernel step "Linux source directory" it automaticlly finds it but then says it is not complete or missing, this has stoped me now for 1 week so far it has taken me 3 weeks to just try to get this ma111 working this situation is not good, if I ever figure it out I will make a howto that is complete that is every step will be explained nothing assumed for us newbies. Any help please at all coz i need to get on with my life.
 
Old 02-05-2005, 09:10 PM   #57
Meatwad
Member
 
Registered: Dec 2002
Distribution: Debian, Libranet, Red Hat
Posts: 43

Rep: Reputation: 15
Unhappy

What version of gcc are you guys using? I've 3.3 and kernel 2.6.10 and I can't get a mac address on my adapter. I also get all kinds of warnings compiling with 3.3. Code version 0.2.1pre25.

Debian sarge
 
Old 02-18-2005, 06:53 PM   #58
waynefrank
LQ Newbie
 
Registered: Aug 2004
Posts: 10

Rep: Reputation: 0
trouble with make all

I am trying to compile the drivers for a Netgear MA111. I am using Red Hat 9. Following the instructions in this forum, I had trouble with make all:

Any help is appreciated. Thanks, Wayne


[root@localhost linux-wlan-ng-0.2.1-pre20]# make all

set -e; for d in src doc man etc; do make -C $d ; done
make[1]:

Entering directory `/usr/src/linux-wlan-ng-0.2.1-pre20/src'
set -e; for

d in mkmeta p80211 prism2 shared wlanctl wland nwepgen wlancfg; do make

-C $d ; done
make[2]: Entering directory

`/usr/src/linux-wlan-ng-0.2.1-pre20/src/mkmeta'
gcc -E -M -I../include

-I/usr/src/linux-2.4.20-8//include -D__LINUX_WLAN__

../shared/p80211types.c ../shared/p80211metamsg.c

../shared/p80211metamib.c ../shared/p80211meta.c mkmetadef.c

../shared/p80211types.c ../shared/p80211metamsg.c

../shared/p80211metamib.c ../shared/p80211meta.c mkmetastruct.c >

.depend
mkdir -p obj
gcc -c -Wall -Wstrict-prototypes -O2

-fomit-frame-pointer -I../include -I/usr/src/linux-2.4.20-8//include

-D__LINUX_WLAN__ ../shared/p80211types.c -o obj/p80211types.o
gcc -c

-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I../include

-I/usr/src/linux-2.4.20-8//include -D__LINUX_WLAN__

../shared/p80211metamsg.c -o obj/p80211metamsg.o
gcc -c -Wall

-Wstrict-prototypes -O2 -fomit-frame-pointer -I../include

-I/usr/src/linux-2.4.20-8//include -D__LINUX_WLAN__

../shared/p80211metamib.c -o obj/p80211metamib.o
gcc -c -Wall

-Wstrict-prototypes -O2 -fomit-frame-pointer -I../include

-I/usr/src/linux-2.4.20-8//include -D__LINUX_WLAN__

../shared/p80211meta.c -o obj/p80211meta.o
gcc -c -Wall

-Wstrict-prototypes -O2 -fomit-frame-pointer -I../include

-I/usr/src/linux-2.4.20-8//include -D__LINUX_WLAN__ mkmetadef.c -o

obj/mkmetadef.o
gcc -o mkmetadef obj/p80211types.o obj/p80211metamsg.o

obj/p80211metamib.o obj/p80211meta.o obj/mkmetadef.o
cat

mkmetadefhead.txt > ../include/wlan/p80211metadef.h
./mkmetadef >>

../include/wlan/p80211metadef.h
echo "#endif" >>

../include/wlan/p80211metadef.h
gcc -c -Wall -Wstrict-prototypes -O2

-fomit-frame-pointer -I../include -I/usr/src/linux-2.4.20-8//include

-D__LINUX_WLAN__ mkmetastruct.c -o obj/mkmetastruct.o
gcc -o

mkmetastruct obj/p80211types.o obj/p80211metamsg.o obj/p80211metamib.o

obj/p80211meta.o obj/mkmetastruct.o
cat mkmetastructhead.txt >

../include/wlan/p80211metastruct.h
./mkmetastruct >>

../include/wlan/p80211metastruct.h
echo "#endif" >>

../include/wlan/p80211metastruct.h
make[2]: Leaving directory

`/usr/src/linux-wlan-ng-0.2.1-pre20/src/mkmeta'
make[2]: Entering

directory `/usr/src/linux-wlan-ng-0.2.1-pre20/src/p80211'
make -C

/usr/src/linux-2.4.20-8/

SUBDIRS=/usr/src/linux-wlan-ng-0.2.1-pre20/src/p80211

WLAN_SRC=/usr/src/linux-wlan-ng-0.2.1-pre20/src/p80211/ \


modules
make[3]: Entering directory `/usr/src/linux-2.4.20-8'
gcc -Wall

-Wstrict-prototypes -O2 -fomit-frame-pointer -o

scripts/split-include

scripts/split-include.c

scripts/split-include include/linux/autoconf.h include/config

make -r -f tmp_include_depends all
make[4]: Entering directory

`/usr/src/linux-2.4.20-8'
touch: creating

`/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_d

ebug.h': No such file or directory


make[4]: ***

[/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_d

ebug.h] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4.20-8'

make[3]: *** [tmp_include_depends] Error 2
make[3]: Leaving directory

`/usr/src/linux-2.4.20-8'

make[2]: *** [default] Error 2

make[2]: Leaving directory

`/usr/src/linux-wlan-ng-0.2.1-pre20/src/p80211'

make[1]: *** [all] Error 2
make[1]: Leaving directory

`/usr/src/linux-wlan-ng-0.2.1-pre20/src'

make: *** [all] Error 2

[root@localhost linux-wlan-ng-0.2.1-pre20]#
 
Old 02-28-2005, 11:52 AM   #59
j.del
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
how to search for a file or the contents of a file

well, there's always 'locate'

try fgrep -R whateverstringyouneed whereveryouwanttolook

and for file names there is probably an fgrep switch as well.

or you could pipe out ls -R to a file and then fgrep -C 50 (context 50) to print the 50 lines surrounding the string.

hope that helps.

j.del
 
Old 03-17-2005, 06:37 AM   #60
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Hi I am having trouble with this card.

I am on Debian 2.6.11.3 kernel.

Basically this is what I had done.

Compile, make, make install the linux-wlan driver from www.linux-wlan.com.

Edited /etc/wlan/wlan.conf
Code:
SSID_wlan0="2WIRE438"
ENABLE_wlan0=y
Edited /etc/wlan/wlancfg-2WIRE438
Code:
lnxreq_hostWEPEncrypt=true     # true|false
lnxreq_hostWEPDecrypt=true     # true|false
dot11PrivacyInvoked=true        # true|false
dot11WEPDefaultKeyID=0          # 0|1|2|3
dot11ExcludeUnencrypted=true    # true|false, in AP this means WEP is required.

dot11WEPDefaultKey0=52:62:66:47:15
IS_ADHOC=n 
AuthType="opensystem"
The rest are basically the default values.

Couldn't find /etc/modprobe.conf, so I put "alias wlan0 prism2_usb" in /etc/modules.conf

Here are some of the commands I tried.
Code:
collin@debian:~$ sudo modprobe wlan0
collin@debian:~$ lsmod|grep wlan0
collin@debian:~$ sudo /etc/init.d/wlan start
Starting WLAN Devices:
collin@debian:~$

collin@debian:~$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:29:26:9B:E7
          inet addr:192.168.2.39  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1075 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:523179 (510.9 KiB)  TX bytes:176918 (172.7 KiB)
          Interrupt:10 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6936 (6.7 KiB)  TX bytes:6936 (6.7 KiB)

collin@debian:~$
collin@debian:~$ sudo /etc/init.d/networking restart
SIOCSIFFLAGS: No such device
Listening on LPF/wlan0/00:00:00:00:00:00
Sending on   LPF/wlan0/00:00:00:00:00:00
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
send_packet: Network is down
I have also added the following to /etc/network/interfaces
Code:
auto wlan0
iface wlan0 inet dhcp
Any idea?

Last edited by subaruwrx; 03-17-2005 at 06:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear MA111 USB wireless adapter TWF MEPIS 1 10-18-2005 04:50 AM
Netgear MA111 USB Wireless Adapter subaruwrx Linux - Wireless Networking 2 01-20-2005 11:20 PM
Netgear MA111 USB wireless adapter!HELP ME! jarrywhu Linux - Wireless Networking 13 09-28-2004 12:55 AM
Wireless netgear MA111 USB on Mandrak10.0 Sumedha Linux - Wireless Networking 2 08-14-2004 08:54 AM
Netgear MA111 USB Wireless NIC Help DrAxeman Linux - Wireless Networking 0 06-25-2004 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion

All times are GMT -5. The time now is 11:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration