LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-11-2006, 12:35 PM   #1
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Rep: Reputation: 15
Wireless in Fedora


Evening,

Just installed FC6 and am trying to get it to pick up my wireless.

lspci shows:

02:09.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: D-Link System Inc DWL-G520 Wireless PCI Adapter
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at fc000000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

Will the driver already be there? I am using KDE...any ideas? Thanks
 
Old 11-11-2006, 12:46 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I think you need to install the madwifi drivers. You can get them by going to livna, downloading and installing the livna-release rpm for your version of Fedora Core. After that use YUM to install the madwifi drivers.
 
Old 11-11-2006, 12:55 PM   #3
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Thankyou, I did try that but got the below output...where can I get the public key?

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
madwifi x86_64 0.9.2-2.fc5 madwifi-0.9.2-2.fc5.x86_64.rpm 11 M
Installing for dependencies:
dkms noarch 2.0.13-1.fc6 extras 79 k
gcc x86_64 4.1.1-30 core 4.8 M
glibc-devel x86_64 2.5-3 core 2.4 M
glibc-headers x86_64 2.5-3 core 593 k
kernel-devel x86_64 2.6.18-1.2798.fc6 core 4.8 M
libgomp x86_64 4.1.1-30 core 62 k

Transaction Summary
=============================================================================
Install 7 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 24 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e42d547b


Public key for madwifi-0.9.2-2.fc5.x86_64.rpm is not installed

Last edited by sKiBa; 11-11-2006 at 01:06 PM.
 
Old 11-11-2006, 01:02 PM   #4
WhiskeyTangoFoxtrot
Member
 
Registered: Oct 2005
Location: Windsor, Ontario, Canada
Distribution: Fedora Core 5,4,3 & Ubuntu 6.06, 8.10
Posts: 403
Blog Entries: 1

Rep: Reputation: 30
ive had several issues in the past with the madwifi drivers from livna. as a result i had to compile them manually. this old post of mine is related to that : http://www.linuxquestions.org/questi...d.php?t=427540
 
Old 11-11-2006, 01:42 PM   #5
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
thanks, i'll try that if I can't work out the above message about the public key. Do you know how I would go about getting/installing that?
 
Old 11-11-2006, 02:12 PM   #6
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
One of the YUM options can tell it to ignore missing keys and/or signatures. Since you're installing from a reasonably reputable repository, you could do this without too much security compromising.
 
Old 11-11-2006, 03:22 PM   #7
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Thankyou, i've never used yum before. So I have the rpm installed successfully, how can I get the nic to show up? Any ideas?? Much appreciated.
 
Old 11-11-2006, 06:53 PM   #8
wc5b
LQ Newbie
 
Registered: Nov 2006
Posts: 28

Rep: Reputation: 15
Wireless setup at bootup

Sorry, miss post, not sure how to delete. Meant for new thread!

Tom


OK, I have used yum to get the Madwifi to install the drivers and after a reboot, the device seems to appear as wifi0 in the GUI network config tool.

However, I cant get it to do anything under this tool or wifi0.

After reviewing http://madwifi.org/wiki/UserDocs/FirstTimeHowTo I have accomplished connecting and surfing BUT only with a static IP and using this ath0 socket. (It is searching with 255.255.255.255, is that right anyways? THought it was 255.255.255.0)

Now I have two questions!

1. How do I get my settings to come up at boot and not have to redo the network in terminal everytime?

and
2. Seeing that wifi0 is assigned to the card after yum install madwifi, it trys to DHCP wifi0 socket at boot and now my startup is VERY DELAYED until it just fails out. How do I take that out of the boot process?


Thanks in advance. Hopefully only a minor noob soon.

Tom

Last edited by wc5b; 11-11-2006 at 06:55 PM.
 
Old 11-11-2006, 07:19 PM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Which desktop are you using? I use KDE, so I installed kneworkmanager which handles most of the process with no problems. (I believe that GNOME has a similar gnetworkmanager.) Use yum to install whichever you want to use (or, as I did, both, since I occasionally have both KDE and GNOME sessions running on different screens.) Note that installing either NM front-end will force yum to install the NetworkManager packages since they're required by he front-ends.

If you intend to use WPA or WPA2 wireless encryption (which you should, since WEP encryption can be broken after a minute or so with tools like airsnort) you will also need to install the wpa_supplicant package.
 
Old 11-12-2006, 08:52 AM   #10
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by WhiskeyTangoFoxtrot
ive had several issues in the past with the madwifi drivers from livna. as a result i had to compile them manually. this old post of mine is related to that : http://www.linuxquestions.org/questi...d.php?t=427540

Thanks, am checking this out. I am tempted to go back to SUSE but i've just read that they removed support for atheros based wireless devices...who know's why...
 
Old 11-12-2006, 10:13 AM   #11
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Progress!!

Hi Guys,

Ok, I finally have the interface existing and have managed to connect to my network (though i've had to turn off my security for now).

Here's how I did it:

install this rpm for access to the livna repository.
http://rpm.livna.org/livna-release-6.rpm

Then use the below command to retrieve and install the necessary rpms
yum install kmod-madwifi

Reboot

That was it. I now have a separate issue in that I don't have any dns servers defined and am not sure how to but will post a new post if I can't work it out.

Thanks for all your help guys.
 
Old 11-12-2006, 11:08 AM   #12
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by sKiBa
Hi Guys,
<snip>
Ok, I finally have the interface existing and have managed to connect to my network (though i've had to turn off my security for now).
</snip>
See my post, above, for how to deal with the security issues. And, really, using the NetworkManager system (and the front-ends) eliminates almost all the headaches of wifi networking. It's very much like M$'s "Network Neighborhood" -- just click on an AP point name, enter the pass phrase or hex string, and you're connected.
 
Old 11-12-2006, 03:33 PM   #13
sKiBa
Member
 
Registered: Jun 2004
Posts: 49

Original Poster
Rep: Reputation: 15
Where is the network manager? The problem I am having now is that I have to start 'wireless assistant' everytime I boot in. Is there a way I can permanently configure it using inet?
 
Old 11-15-2006, 09:46 AM   #14
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Check to see if you have the network manager already running:ps -e | grep -i net should return something like this:
Code:
$ ps -e | grep -i net
 2000 ?        00:00:00 xinetd
 2200 ?        00:00:00 NetworkManager
 2212 ?        00:00:00 NetworkManagerD
 2725 ?        00:00:00 knetworkmanager
(xinetd is not a network related process.)

If you're using the GNOME desktop, you shouldn't see the knetworkmanager process, but you should see the "Network Manager applet" in your top-left applet area.

If you don't have the NetworkManager installed, try a yum install NetworkManager* to get it. (I thought it was a default installation in FC6.)
 
Old 11-16-2006, 09:40 AM   #15
poweredbydodge
Member
 
Registered: Oct 2006
Location: Buffalo, NY
Distribution: Servers: Scientific Linux 5.x // Desktops: Fedora Core (latest)
Posts: 110

Rep: Reputation: 15
hello -- you are better off loading the drivers as a script...

take everything out of the GUI network manager in Gnome or KDE, and do it all by script.

your dns servers are set manually

you have to use static ips -- dhcp tends to be a real bastard

see below...

open up /etc/rc.d/rc.local with a text editor (vi / emacs / gedit / whatever).

add the following to rc.local


# --------------------------------------------------------
# START MADWIFI WIRELESS SETUP
# http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
# --------------------------------------------------------
# clearing out the old junk - making way for a fresh slate
ifconfig ath0 down
ifconfig wifi0 down

# creating our new wifi0 entry
wlanconfig ath0 create wlandev wifi0 wlanmode sta

# bring it up
ifconfig ath0 up

# specify your essid (the name of your network)
# what your router broadcasts as
iwconfig ath0 essid "myessid"

# specify the access point
# (the MAC address of YOUR router)
iwconfig ath0 ap 00:00:00:00:00:00

# WEP encryption...
# uncomment (remove the "#" in front of the following
# line ONLY if you are going to use WEP encryption.
# I have only had success with 64 bit wep which is
# a 10 digit key. It all depends on your card and
# situation.
# replace 0123456789 with a 10 digit key.
# iwconfig ath0 key 0123456789

# enter the IP address you want to statically set for
# the wireless card... change 192.168.0.100 to whatever
# you want (if your router is 192.168.1.X you have to use
# a 192.168.1.something number. if your router is
# 192.168.0.X, then you have to use a 192.168.0.something
# number
# netmask is usually 255.255.255.0 -- check with your router
ifconfig ath0 192.168.0.100 netmask 255.255.255.0

# adding a gateway
# replace 192.168.0.1 with the LAN ip address of your router
# routers have 2 ip addresses... one that they use to get
# the internet connection from your service provider which
# is called WLAN, and one that they broadcast to your home
# computers with. usually the default is 192.168.0.1 or
# 192.168.1.1 --- change to whatever yours is.
route add default gw 192.168.0.1
# --------------------------------------------------------
# END MADWIFI WIRELESS SETUP
# http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
# --------------------------------------------------------

I have always had success with this.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 4 wireless filterfann Linux - Hardware 1 01-01-2006 10:41 AM
wireless hp in fedora mtecknology Linux - Laptop and Netbook 2 08-16-2005 11:32 PM
Wireless with Fedora core 1 cucolin@ Fedora 3 06-05-2004 03:17 PM
Please help with wireless!!! in fedora!!! jpellegrini Linux - Software 1 04-26-2004 05:06 PM
fedora and wireless jgeddes Linux - Wireless Networking 2 01-19-2004 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:46 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