LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-02-2006, 05:55 PM   #1
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Rep: Reputation: 15
Need help: Wireless networking with Atheros & Fedora updated


OS: Fedora 4
NIC: D-Link DWL G520


steps taken:

installed fedora 4 with core 2.6.11

Read that to use my Atheros network card i had to install madwifi

yum install madwifi

yum installed madwifi, and kernel 2.6.15 as a prereq

Now im on kernel 2.6.15 after a reboot and i madwifi has been installed

Will not work with static IP or pull from DHCP, but I can see it connect to my AP, as it pulls the correct MAC Address

here is some detailed info:

**********
MAC addressses x'd out for security

[root@localhost ~]# ifconfig
ath0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.0.108 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:8430 dropped:0 overruns:0 frame:8430
TX packets:48 errors:4 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:200
RX bytes:0 (0.0 b) TX bytes:3080 (3.0 KiB)
Interrupt:10 Memory:f88c0000-f88d0000

[root@localhost ~]# iwconfig ath0
ath0 IEEE 802.11g ESSID:"xb101" Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.417 GHz Access Point: xx:xx:xx:xx:xx:xx(it picked this up by itself)
Bit Rate:1 Mb/s Tx-Power:18 dBm Sensitivity=0/3
Retryff RTS thrff Fragment thrff
Encryption key:5555-5555-55 Security mode:restricted
Power Managementff
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:4 Invalid misc:4 Missed beacon:0


************************


Whats up with the errors from ifconfig, errors:8430

Also background info, if i boot my computer activating my ath0 and eth0 on boot, i can't connect to internet, but if i disable the wireless i can connect to the internet


TIA- boyd

Last edited by boyd98; 03-04-2006 at 02:48 PM.
 
Old 03-03-2006, 06:17 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

If you would like your thread moved, just Report it and we will move it for you..
 
Old 03-03-2006, 07:39 AM   #3
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & Linux Mint
Posts: 488

Rep: Reputation: 31
If you wish to connect to an AP, Ad-hoc mode is a wrong setting for your network and you should use the "managed" mode instead (it isn't very clearly written in your post what exactly you have tried). Also when posting about wireless connection problems, it is generally usefull to at least include the output of "iwconfig" and "ifconfig". Hope that helps.
 
Old 03-03-2006, 09:18 AM   #4
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
If i have the mode in managed the communication between my AP and computer is 0/94. If its in ad-hoc its 22+/94. That is why i was trying in ad-hoc.


I dont have internet on the pc with the issue, so there is no copy and paste functionality that i can use to report my iwconfig and ifconfig details.

I guess a better question is there a write up on how to configure a dwl-520 with fedora core 4. Yes i have searched, but have not been able to find an article that resolves the issue.

you also mentioned that i did not clearly identify what i have done. Let me step back and review.

i have installed fedora 4 no problem.

i read that to get my wireless dwl g520 card to work I would need the madwifi drivers.

I connected the fedora core box to the internet via lan line (this is not easy, due to the location)

I ran "yum install madwifi"

To install the latest madwifi, in needed to update my kernel from 2.6.11 to 2.6.15. Didnt see an issue with this, so i let it update the kernel and the necessary packages to install madwifi.

Installation complete. Rebooted into GUI. Went to internet wizard and selected new wireless connection. Created a managed connection, set the ssid, set the rate to auto, set my key to 0x1231231234 and hit complete

This is where i got the first problem, it couldnt connect and pull and ip from dhcp.

I went into the gui / network devices. Inactivated /re-activated as needed. Set my ip to a static ip. Could not ping anything cannont connect to the network.

at this point i have no idea what i missed cuz it looked pretty straight forward to me


from here i read numerous googles tried playing around with setting my settings using
iwconfig ath0 "setting" "value

but no luck


Really need some help here as im dying to have this linux box up and running.


Any thoughts or articles would be greatly appreciated, sorry for the double posts. Normally i would have asked for my fedora post to be deleted as this is a better area for my question. But I went to bed early, and have a little one who demands a lot of my free time.


Thx again

Boyd
 
Old 03-03-2006, 09:41 AM   #5
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Århus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
Can you see the available networks?

on command prompt you have to say

iwlist <interface> scan

where <interface> is the name of your wireless interface (something like eth0 or wlan0).

I am sure your graphical program is also able to show the existing interfaces.

If you can see them, the card should be installed OK.

Best,
Ott
 
Old 03-03-2006, 02:31 PM   #6
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
thx for the command - im not aware of a gui app to check available networks


let me know if there is more i should be checking. The only commands i know are the iwconfig and ifconfig
 
Old 03-04-2006, 03:03 PM   #7
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
I have dramatically updated my original post with more info, i also have access to the box today through lan connection

Any help would greatly be appreciated


TIA,

Boyd
 
Old 03-04-2006, 03:48 PM   #8
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by otoomet
Can you see the available networks?

on command prompt you have to say

iwlist <interface> scan

where <interface> is the name of your wireless interface (something like eth0 or wlan0).

I am sure your graphical program is also able to show the existing interfaces.

If you can see them, the card should be installed OK.

Best,
Ott

Not sure why there is two cells???
*************
mac addresses are the same for both cell1 and cell2, both arte the addesses are my mac address of my AP

ath0 Scan completed :
Cell 01 - Address: xx:xx:xx:xx:xx:xx
ESSID:"xb101"
Mode:Master
Frequency:2.457 GHz (Channel 10)
Quality=24/94 Signal level=-71 dBm Noise level=-95 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5 Mb/s
Bit Rate:11 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
Cell 02 - Address: same as the mac address above
ESSID:"xb101"
Mode:Master
Frequency:2.457 GHz (Channel 10)
Quality=25/94 Signal level=-70 dBm Noise level=-95 dBm
Encryption keyn
Bit Rate:1 Mb/s
Bit Rate:2 Mb/s
Bit Rate:5 Mb/s
Bit Rate:6 Mb/s
Bit Rate:9 Mb/s
Bit Rate:11 Mb/s
Bit Rate:12 Mb/s
Bit Rate:18 Mb/s
Bit Rate:24 Mb/s
Bit Rate:36 Mb/s
Bit Rate:48 Mb/s
Bit Rate:54 Mb/s
Extra:bcn_int=100
 
Old 03-04-2006, 05:35 PM   #9
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
WOOT - found a solution

But my new issue is my link quality is poor

**************************SOLUTION***********

If you can use madwifi driver in open mode and cannot use it in shared key mode that applies to you. I found it here:

http://sourceforge.net/mailarchive/m...msg_id=9801263

you can issue this command as root and try to reactivate the connection
iwpriv ath0 authmode 2 # shared key authentication

or if you want the wireless connection to be activated on boot you should add these lines to
/etc/sysconfig/network-scripts/ifcfg-ath0

KEY='h:yourkey' #do not use 0x here
IWPRIV="authmode 2"

I am posting whole content of ifcfg-ath0 in case you need other parameters:

IPV6INIT=no
ONBOOT=yes
USERCTL=yes
PEERDNS=yes
GATEWAY=
TYPE=Wireless
DEVICE=ath0
HWADDR=00:90:96:c1:d3:31
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
DOMAIN=
ESSID=yourssid
CHANNEL=6
MODE=Managed
RATE=Auto
KEY='h:yourkey'
IWPRIV="authmode 2"

***********************************************


My link quality is now hovering are 20 - any thoughts - should i start a new thread
 
Old 03-07-2006, 11:12 AM   #10
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Rut to - no solution

Can connect - just like before any thoughts
 
  


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
problem near end of wireless installation joshknape Linux - Wireless Networking 1 08-19-2005 01:35 PM
networking woes! toadoy Linux - Networking 8 06-02-2004 07:09 AM
lights but no ping, networking card woes bigcmos Linux - Networking 6 08-04-2003 07:20 PM
RH6.2 & Mdk8.0 Networking Woes gboutwel Linux - Networking 2 08-03-2001 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:17 PM.

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