LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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
 
LinkBack Search this Thread
Old 08-22-2010, 07:45 AM   #1
sephstorm
LQ Newbie
 
Registered: Aug 2010
Distribution: Fedora
Posts: 18

Rep: Reputation: 0
Wireless configuration in Fedora 13


Just upgraded from Fedora 8 to 13 this morning, the network manager is well, different to say the least. I was able to get my wireless nic to work easily in F8, but I don't think it was detected in the netmanager, so I went to the command line. This is the output from my attemp.

[root@StormhostIBM sephiroth]# iwconfig eth1 Mode Managed
[root@StormhostIBM sephiroth]# iwconfig eth1 ESSID Honeypot
[root@StormhostIBM sephiroth]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

irda0 no wireless extensions.

eth1 IEEE 802.11abg Mode:Managed Channel:0
Access Point: Not-Associated Bit Rate:0 kb/s Tx-Power=20 dBm
Sensitivity=8/0
Retry limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
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

[root@StormhostIBM sephiroth]# ifup eth1
Error org.freedesktop.NetworkManagerSettings.InvalidConnection: ifcfg file '/etc/sysconfig/network-scripts/ifcfg-eth1' unknown
Error org.freedesktop.NetworkManagerSettings.InvalidConnection: ifcfg file '/etc/sysconfig/network-scripts/ifcfg-eth1' unknown
RTNETLINK answers: File exists
Error org.freedesktop.NetworkManagerSettings.InvalidConnection: ifcfg file '/etc/sysconfig/network-scripts/ifcfg-eth1' unknown
Error org.freedesktop.NetworkManagerSettings.InvalidConnection: ifcfg file '/etc/sysconfig/network-scripts/ifcfg-eth1' unknown
[root@StormhostIBM sephiroth]#

What am I doing wrong?
 
Old 08-22-2010, 08:43 AM   #2
sephstorm
LQ Newbie
 
Registered: Aug 2010
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
this is just strange. So After trying again and again, I made some kind of progress, and at some point ended up with my wired connection (eth0) not working so I restarted and bam, the wireless is working but the wired isnt detected...
 
Old 08-22-2010, 02:53 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,320

Rep: Reputation: 55
In Fedora go into Administration > Network Configuration and see wether the box for eth0 is checked, Controlled by NetworkManager ?
 
Old 08-23-2010, 06:24 PM   #4
RockDoctor
Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu
Posts: 802

Rep: Reputation: 156Reputation: 156
Typically (I'm sure there are exceptions) the wireless is recognized as wlanx whereas the wired interface is recognized as ethy (where x and y are small integers). When installing Fedora, I do not try to configure the network; Fedora defaults to NetworkManager, the nm-applet runs in my X session, and I right-click on the little icon in the system tray on the panel, make sure the Enable Networking and Enable Wireless boxes are checked, then select my network from among the options offered. Obviously, YMMV
 
Old 08-31-2010, 05:01 AM   #5
sephstorm
LQ Newbie
 
Registered: Aug 2010
Distribution: Fedora
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mickeyboa View Post
In Fedora go into Administration > Network Configuration and see wether the box for eth0 is checked, Controlled by NetworkManager ?
Sorry about the late reply, but anyway,the thing is, in F13, there is no "Network Manager" under Admin. I have to right click on the network connections icon on the panel on the right of the screen. That is one thing that is so annoying, the functionallity is being improved(support for more devices, etc.), but they are changing other things as well.
 
Old 08-31-2010, 09:23 AM   #6
John VV
Guru
 
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 6,750

Rep: Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623Reputation: 623
fedora moved from the old default "network" daemon to the new "network manager" daemon
see mjm's page
http://www.mjmwired.net/resources/mjm-fedora-f13.html
and services
http://www.mjmwired.net/resources/mjm-services-f13.html
user guide
http://docs.fedoraproject.org/en-US/...ide/index.html
and " connecting to the net "
http://docs.fedoraproject.org/en-US/..._Internet.html
the solution is and has been in the docs
please read them .
 
1 members found this post helpful.
Old 09-06-2010, 03:47 PM   #7
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Rather then posting afresh, I've been having these errors too

@JohnVV: thanks for the links so system-config-network is out and nm-connection-applet is in it's place

Docs on Fedora's network stuff always seem to be closely guarded secrets, or else in superabundance, so it's like joining the Civil Service. Network config files patterned on muttrc would be great (Most options, and comments inline).
 
Old 09-07-2010, 12:37 PM   #8
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Having read the docs, I still have an issue. I have /etc/sysconfig/network-scripts/ifcfg-eth0 simply set to 'ONBOOT=no"; /etc/rc.d/init.d/network is not executable. NetworkManager is starting. I seem to have a problem with wlan config as this exchange doesn't make sense

Quote:
[root@harriet deck]# lsmod |grep b43
b43 158030 0
mac80211 196929 1 b43
cfg80211 117099 2 b43,mac80211
ssb 45872 1 b43
mmc_core 59134 2 b43,ssb

[root@harriet deck]# ifconfig wlan0 up
SIOCSIFFLAGS: No such file or directory


[root@harriet deck]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg Mode:Managed Access Point: Not-Associated
Tx-Power=0 dBm
Retry long limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff

[root@harriet deck]# ifconfig
lo Link encap:Local Loopback [SNIP!]
etho Link encap:Ethernet HWaddr 00:1F:29:9B:F4:21 [SNIP!]

[root@harriet deck]# iwlist wlan0 scan
wlan0 Interface doesn't support scanning : Network is down

[root@harriet deck]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=harriet.chateau.dec
#GATEWAY=<value> , where <value> is the IP address of the network's gateway.
GATEWAYDEV=wlan0
#NISDOMAIN=<value> , where <value> is the NIS domain name.
NOZEROCONF=true
My device is a broadcom 4312. Other distros run it comfortably (Like slack-13.1 which I am in now. Does NetworkManager work on runlevel 3 without starting X? I can't even get things going when I do boot X. But if I plug in a cable, and run 'dhcpcd eth0' away it goes on that.

Thanks for any ideas.

Last edited by business_kid; 09-07-2010 at 12:45 PM.
 
Old 09-07-2010, 01:24 PM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Check is NetworkManager is set to run on desired runlevel (chkconfig). make sure that EITHER NetworkManager OR network are starting on boot. Both services have their on network profile management, those ifcfg files are just on default profile.

For some Broadcom radios you need ndiswrapper package to install a driver.

Read Fedora Documentation for more info about Fedora.
 
Old 09-08-2010, 07:00 AM   #10
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
What a pile of trouble! I'm going, and online in of all things, fedora!
I sorted these problems. Thanks for your suggestions.
1. Firmware was wrong - Broadcom chips nearly all run on b43 module & wext driver. Mine does.
2. Selinux went nazi over /etc/sysconfig/network, which it called a 'file_t' and pointed out it is used by NetworkManager. I resisted the strong urge to give selinux the middle finger and took the long way around. What is a file_t?

I am left with these problems:
a. When I connect, it scrubs /etc/resolv.conf, and leaves a note there to put DNS1 & DNS2 in /etc/syscionfig/network-scripts/ifcfg-* . I did. It still scrubs the resolv.conf and leaves the same note there.

b. When I leave connection to NetworkManager it fails. From the log
Quote:
Sep 8 11:28:52 harriet kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> (wlan0): preparing device.
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> (wlan0): deactivating device (reason: 2).
Sep 8 11:28:52 harriet NetworkManager[1269]: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> modem-manager is now available
Sep 8 11:28:52 harriet NetworkManager[1269]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> Trying to start the supplicant...
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> (wlan0): supplicant manager state: down -> idle
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> (wlan0): device state change: 2 -> 3 (reason 0)
Sep 8 11:28:52 harriet NetworkManager[1269]: <info> (wlan0): supplicant interface state: starting -> ready
So I got online with
service networkmanager stop
pkill wpa_supplicant
wpa_supplicant [options] && iwconfig [options]
dhclient wlan0

c. Any time the NetworkManager applet is touched, it starts looking for some key. I know what is in the key file (wlan0-keys) but it just rejects it.

Do they do this stuff to irritate people. Am I like the unicorn because I edit the file in vim instead of some gui?
 
Old 09-08-2010, 10:34 AM   #11
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,320

Rep: Reputation: 55
How far are you from the wireless router, I have the same problem when I have my PC downstairs and router up stairs , It keeps showing problems with key and keeps asking for correct key.

If I take the PC back up stairs near router it connects first time every time.
 
Old 09-08-2010, 12:25 PM   #12
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
That could happen if signal is so weak that Notebook is not able to send WPA key properly, so router rejects it because transmit errors.
 
Old 09-09-2010, 03:59 AM   #13
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
I am less than 6 feet (2 metres) from the wireless router. All this works flawlessly in Slackware. It's just the Fedora install is giving me hassle.
 
Old 09-09-2010, 02:26 PM   #14
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,112
Blog Entries: 1

Rep: Reputation: 124Reputation: 124
Then wireless driver, or other part of software, in Fedora is not good. Compare Slackware and Fedora versions of related driver an software. I installed RHEL 6.0 Beta (2) (based on Fedora 12) on my notebook, and connection is much worse then on CentOS 5 on the same notebook. I have Atheros radio.

On CentOS 5 I use driver from aTrpms, so I am going to look for aTrpms driver for RHEL 6 kernel to see if I can get better wireless connection.
 
Old 09-10-2010, 03:49 AM   #15
business_kid
Senior Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 13.37 & Cyanogenmod 6.0
Posts: 3,833

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
It isn't a strength thing here, or quality of signal. NetworkManager is not connecting, and faultfinding is very difficult because I have to grok some labyrinthine script. If I give it the middle finger, and connect manually, I'm fine. Selinux turning on me only makes a bad situation worse, but life has a habit of being like that.

FEATURE REQUEST: pack /etc/sysconfig/network.sample full of every valid option, and comments on setting them
NetworkManager uses that, doesn't it?

BUGFIX: Get rid of those innaccurate notices telling me to put DNS1 & 2 in /etc/sysconfig/ifcfg-*, and replace them with notices on how things should be done.
 
  


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
Fedora wireless configuration problem.. yesglass Fedora 2 08-13-2009 02:27 AM
wireless configuration in Fedora 8 using ndiswrapper Redling Linux - Wireless Networking 7 07-13-2009 10:49 PM
Wireless Internet Connection Configuration - Fedora 8 Kryptos Linux - Wireless Networking 2 12-09-2007 01:24 PM
WEP configuration - Fedora wireless cidrolin Linux - Wireless Networking 2 02-20-2005 02:06 PM
wireless configuration fedora 3 intel pro 2200 vkerry Linux - Wireless Networking 4 11-26-2004 11:57 AM


All times are GMT -5. The time now is 12:26 PM.

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