LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-18-2003, 03:55 PM   #46
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57

Ignore the above install directions site, its got silly goop in it, just download this kid:

ftp://ftp.gnu.org/pub/gnu/sharutils

untar and unzip it like normal with a good old: tar xvzf

and make, make install should stick it in either /usr/bin or /usr/local/bin, either is fine.

Cheers,

Finegan
 
Old 11-18-2003, 09:34 PM   #47
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
ok... i downloaded the files... i TRIED to install the 4.2.1 version.... so i did the following:

./configure

which had no problems

then i did:

make

it had some errors, something about characters not matching, i think this might be from me installing some random rpm, now i can't get it to uninstall, i tried doing:

rpm -e nameofrpm

but then i get ath_pci.o unresolved errrors and it just hanged there...

instead of fixing problems, i'm making new ones...
 
Old 11-18-2003, 09:46 PM   #48
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
You probably didn't break "make" or anything in the tool chain with a random RPM, that's pretty hard to do. What's the errors from the make of the utils? Or... could you get the rpm from rpmfind to install?

Cheers,

Finegan
 
Old 11-19-2003, 07:14 AM   #49
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
Ouff... today at 11:00 (local time.. its 14:05 now ) i got "my" ma311 pci-card.

with windows it works fine, but i ran into some problems with mandrake (9.1). i decided to post it here, although this thread is about redhat.

Well... iwconfig displays no errors, the
"Access Point: xx:xx:xx:xx:xx:xx"
shows the right mac-adress and the router says my card is connected.


i did
"route add default gw 192.168.0.1 eth1" (ip&eth1 are the right ones )
without errors, inserted
"nameserver 192.168.0.1"
into /etc/resolv.conf and tried to use
dhclient (which doesn't receive any 'DHCPOFFER'-signal ) and
dhcpcd (which can't find an .exe-file (?!)).

DHCP with windows works fine.

dmesg tells me that the "transmit timed out".

i'm using the orinoco_pci-driver at the moment, could this be a bug?.. you said it would be buggy?


if you need an output from dmesg or a part of /var/log/messages, just tell me.

big thanks.
(.. and sorry for my bad English again... )

PS: i can't ping my router or any computer in this network..
 
Old 11-19-2003, 11:36 AM   #50
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
OK...

The rpm I installed is: kernel-wlan-ng-modules-rh9.8-0.2.0-7.i686.rpm.

Now when I double clicked on it again, it says:

Package already installed: The package "kernel-wlan-ng-modules-rh9.8" is currently installed.

When I type:

[root@localhost root]# rpm -e kernel-wlan-ng-modules-rh9.8
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/net/ath_pci.o

And Ctrl-C doesn't exit out of the terminal window.

As for the sharutils:

When I type: '.\configure' i get no problems, when i type 'make', i get the following:

[root@localhost sharutils-4.2.1]# make
for subdir in doc lib po src checks contrib; do \
target=`echo all-recursive|sed 's/-recursive//'`; \
echo making $target in $subdir; \
(cd $subdir && make $target) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making all in doc
make[1]: Entering directory `/root/sharutils-4.2.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/sharutils-4.2.1/doc'
making all in lib
make[1]: Entering directory `/root/sharutils-4.2.1/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/sharutils-4.2.1/lib'
making all in po
make[1]: Entering directory `/root/sharutils-4.2.1/po'
/usr/bin/msgfmt -o nl.mo nl.po
/usr/bin/msgfmt: nl.po: warning: Charset missing in header.
Message conversion to user's charset will not w
ork.
nl.po:450: `msgid' and `msgstr' entries do not both end with '\n'
/usr/bin/msgfmt: found 1 fatal error
make[1]: *** [nl.mo] Error 1
make[1]: Leaving directory `/root/sharutils-4.2.1/po'
make: *** [all-recursive] Error 1


Then I type 'make install' and get the following errors, i don't know if the error follows through from the 'make' I did prior to it:

[root@localhost sharutils-4.2.1]# make install
for subdir in doc lib po src checks contrib; do \
target=`echo install|sed 's/-recursive//'`; \
echo making $target in $subdir; \
(cd $subdir && make $target) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making install in doc
make[1]: Entering directory `/root/sharutils-4.2.1/doc'
../mkinstalldirs /usr/local/info
cd . && \
for file in sharutils.info* remsync.info*; do \
/usr/bin/install -c -m 644 $file /usr/local/info/$file; \
done
make[1]: Leaving directory `/root/sharutils-4.2.1/doc'
making install in lib
make[1]: Entering directory `/root/sharutils-4.2.1/lib'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/root/sharutils-4.2.1/lib'
making install in po
make[1]: Entering directory `/root/sharutils-4.2.1/po'
/usr/bin/msgfmt -o nl.mo nl.po
/usr/bin/msgfmt: nl.po: warning: Charset missing in header.
Message conversion to user's charset will not work.
nl.po:450: `msgid' and `msgstr' entries do not both end with '\n'
/usr/bin/msgfmt: found 1 fatal error
make[1]: *** [nl.mo] Error 1
make[1]: Leaving directory `/root/sharutils-4.2.1/po'
make: *** [install] Error 1
 
Old 11-19-2003, 02:39 PM   #51
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
precompiled wlan modules.... gah, those rpms always were a bit flaky. The depmod is it horking on the installed, half goobered ath_pci that's missing its counterpart... whenever an rpm installs or uninstalls kernel modules its going to run "depmod -a" on the whole system, so if you have one wonky module in there you'll see that warning every time. No big deal really. Also, when a build fails on "make", its never going to install right... don't sweat it, I found a faster mirror for THE redhat 9.0 rpm for sharutils, they just left it out of the default install... its actually on the CDs somewhere:

ftp://distro.ibiblio.org/pub/linux/d....1-14.i386.rpm

When that's downloaded, just install it with (as root of course):

rpm -Uvh sharutils-4.2.1-14.i386.rpm

hopefully it won't complain of dependencies.... if so, post back with what's missing, or just grab it from that above ibiblio mirror... fyi, it'll take a long time for that directory above to load as its every RPM in the distro... round a couple hundred.

Then re-try the ath_pci compile, post back with how it goes.

Luck,

Finegan

Last edited by finegan; 11-19-2003 at 02:40 PM.
 
Old 11-19-2003, 02:57 PM   #52
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
will those work even though i have i686 kernel?

i have a copy of that, i tried double clicking on it to install last time, it didn't work... but i'll try the command line this time...

Last edited by yetwai; 12-01-2003 at 04:57 PM.
 
Old 11-19-2003, 03:47 PM   #53
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
Good and Some Bad News

It seems I finally got things going... Here's the scoop...
I installed uu programs as instructed, compiled and make the ath_pci w/ now errors... good...

here are some info, still not up and running, but a lot better than where i was...

[root@localhost driver]# dmesg
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000017fc0000 (usable)
BIOS-e820: 0000000017fc0000 - 0000000017ff8000 (ACPI data)
BIOS-e820: 0000000017ff8000 - 0000000018000000 (ACPI NVS)
BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
.
.
.

hdg: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide3 at 0xd880dcc0-0xd880dcc7,0xd880dcca on irq 9
hdc: host protected area => 1
hdc: 88265520 sectors (45192 MB) w/1916KiB Cache, CHS=87565/16/63, UDMA(100)
hdd: host protected area => 1
hdd: 120103200 sectors (61493 MB) w/1821KiB Cache, CHS=7476/255/63, UDMA(100)
ide-floppy driver 0.99.newide
hdg: 98304kB, 196608 blocks, 512 sector size
hdg: 98304kB, 96/64/32 CHS, 4096 kBps, 512 sector size, 2941 rpm
Partition check:
hdc: [PTBL] [5494/255/63] hdc1
hdd: hdd1 hdd2 hdd3
hdg: hdg4
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
..
.
.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 3 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
usb-uhci.c: USB UHCI at I/O 0xef80, IRQ 3
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
.
.
.
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,66), internal journal
Adding Swap: 393584k swap-space (priority -1)
hdg: hdg4
hub.c: new USB device 00:1f.2-2.1, assigned address 4
input1: USB HID v1.10 Keyboard [045e:001d] on usb1:4.0
input2: USB HID v1.10 Pointer [045e:001d] on usb1:4.1
hdg: hdg4
hdg: hdg4
hdg: hdg4
hdg: hdg4
hdg: hdg4
hdg: hdg4
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide1(22,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
hda: ATAPI 40X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX140E Rev: 1.0n
Type: CD-ROM ANSI SCSI revision: 02
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
ip_tables: (C) 2000-2002 Netfilter core team
PCI: Found IRQ 11 for device 01:09.0
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
01:09.0: 3Com PCI 3c905C Tornado at 0xdc00. Vers LK1.1.18-ac
00:01:03:20:52:34, IRQ 11
product code 4742 rev 00.14 date 07-20-00
Internal config register is 1800000, transceivers 0xa.
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 7809.
Enabling bus-master transmits and whole-frame receives.
01:09.0: scatter/gather enabled. h/w checksums enabled
divert: allocating divert_blk for eth0
wlan: 0.7.1.1 BETA (Sam Leffler <sam@errno.com>)
wlan: driver unloaded
hdg: hdg4
parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
lp0: using parport0 (polling).
lp0: console ready
hdg: hdg4
cdrom: This disc doesn't have any tracks I recognize!
hdg: hdg4
hdg: hdg4
wlan: 0.7.1.1 BETA (Sam Leffler <sam@errno.com>)
ath_hal: 0.9.5.3 BETA (Sam Leffler <sam@errno.com>)
ath_pci: 0.8.3.2 BETA (Sam Leffler <sam@errno.com>)
PCI: Found IRQ 11 for device 01:0a.0
divert: allocating divert_blk for ath0
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: 00:80:c8:1e:41:72
ath0: Atheros 5212: mem=0xfc9e0000, irq=11





[root@localhost driver]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

ath0 IEEE 802.11 ESSID:""
Mode:Managed Frequency:2.437GHz Access Point: FF:FF:FF:FF:FF:FF
Bit Rate:1Mb/s Tx-Power:off Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

why is bitrate so low?

when i type 'lspci -v' i get

01:0a.0 Ethernet controller: Unknown device 168c:0013 (rev 01)
Subsystem: D-Link System Inc: Unknown device 3203
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at fc9e0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

[root@localhost root]# ifup ath0
ath_pci device eth1 does not seem to be present, delaying initialization.

also, the light blinks... before this, it was just green all the time...

i also did modprobe and insmod, no errors except for something about possible 'tainted modules'

Last edited by yetwai; 11-19-2003 at 04:08 PM.
 
Old 11-19-2003, 04:41 PM   #54
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
i got it up and running! thanks for all the help...

i did something and the last thing i did was dclient ath0...

but do i always have to manually do this, or can i do it on startup somehow..

when i go the Networks Configuration in the GUI, it still thinks my card isn't working... but i'm proving it wrong by making my first post in linux...

Last edited by yetwai; 11-19-2003 at 04:43 PM.
 
Old 11-19-2003, 05:36 PM   #55
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
If it required forcing the modules... yeah, there's an easy enough way to automate it though, edit the file:

/etc/rc.d/rc.local

and add in the commands for force loading the modules, and then the configuration options, including the dhclient fire up.

Is this thing really getting 802.11g speeds? Like 5Megs per second?

Cheers,

Finegan
 
Old 11-19-2003, 06:32 PM   #56
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
finegan... i would to say thanks for all the help... the speed seems kind of choppy.. it says i'm connected at 11Mps, which is what i connected at in XP... but as for the speed... it's not bad... i don't know any place where i can test my speed... is there...

also, is there a reason why my GUI still says i'm not connected but even though i am...
 
Old 11-19-2003, 06:38 PM   #57
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Yeah, the GUI relies on their being files in /etc/sysconfig/network-scripts/ along the lines of ifcg-eth0, so since this module creates a network device with a non-standard name, ath0, you should be able to just copy ifcg-eth0 and name it ifcg-ath0 and then apply settings to it as per normal...

The only place really to test your speed is against another machine on the same wlan. The top-end of G is 54Mbs, meanwhile the top-end of say... a DSL line is 1.5Mbs, so you'll have to beat on another machine in the house to get a good idea, iwconfig should help give a good idea as well.

Cheers,

Finegan
 
Old 11-20-2003, 10:09 AM   #58
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
lucky you

well, i tried with "linux-wlan-ng"-drivers, they compile correctly, but when i try to "insmod" the prism2_pci.o-module, it fails.

In dmesg i can see that the driver thinks there are no cards available..

"No devices found, driver not installed"

(lspci says something about "Prism 2.5 network controler"..)


orinoco_pci found my card without any issues.

should i open a new thread about this?



[or should i use the orinoco_pci-module ... are the problems listed above easier to fix?]


thanks again...
 
Old 11-20-2003, 11:52 AM   #59
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
The problems yetwai was having were of course, with an entirely different card, I should have forked the thread back then, but oh well...

The linux-wlan drivers are fine, since you've already got them installed... Just like the atheros modules above and orinoco_cs, the prism2_pci module chain loads, so you need to load the other modules for it first. Offhand I remember one of them, maybe the only one is p80211.o, but really... use modprobe, it'll load dependencies whereas insmod does not.

modprobe prism2_pci

(You leave off the .o part)

The instructions on using wlan-ng's odd little binary to hand settings to wlan-ng should have been installed in a directory labelled /etc/wlan

Cheers,

Finegan
 
Old 11-20-2003, 12:32 PM   #60
compyfreak
LQ Newbie
 
Registered: Nov 2003
Posts: 15

Rep: Reputation: 0
ui, thanks for your post.

looks like this works fine now, somehow the old (orinoco_pci) drivers were loaded, so i "rmmod"ed them and prism2_pci "modprobe"s successfully.

Now i get this "Tx attempt prior to association, frame dropped."-errormsg in dmesg which can be a problem with pcmia-cards and irq.. (or so).
i have a pci card (ma311 ), so this can't be the problem.

i read also, this could be a problem with the essid..
i'll try some things (like upercase essid..) , google around and post back later with the results.


[the AP lists me as connected]


edit:
extract from FAQ:

Quote:
Q: All I see is "Tx attempt prior to association, frame dropped"

You are not associated with an access point. Double-check the
settings in /etc/wlan.conf (USB, PCI, PLX) or /etc/pcmcia/wlan-ng.opts
(for PCMCIA users). If all of these settings are correct (you
did check with your admin, right?) make sure the access point
doesn't have a MAC filter installed or has different WEP settings.

If all of this is verified correct, and are using a PCMCIA
card, try setting the "irq_mode=0" option. See the
documentaiton in the pcmcia-cs sources.
well, since the AP lists me in the "wireless clients connected"-list, i thought i am connected to it? i have no mac-filters, no wep-encryption and no other filters. all disabled at this time. :\

confusing...

Last edited by compyfreak; 11-20-2003 at 12:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear Wireless Card Ma311 Installation vap824 Linux - Wireless Networking 1 09-26-2004 12:30 AM
Okay, I really need help with the Netgear MA311 Wireless card. Echs Bochs Linux - Wireless Networking 1 01-27-2004 07:17 AM
Trying to get Mandrake 9.2 and Netgear MA311 Wireless Working kihwans Linux - Wireless Networking 3 12-07-2003 07:29 AM
Netgear MA311 Wireless Card - RH9 admanb Linux - Hardware 10 10-26-2003 02:08 PM
Netgear 2.4GHz Wireless Desktop Card Netgear MA311 Freaksta Linux - Hardware 8 05-27-2003 12:16 PM


All times are GMT -5. The time now is 01:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration