LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-31-2006, 05:06 PM   #1
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
ipw2000, FC6 requires power off, not restart


Had my wireless working flawlessly under FC5, but FC6 will not reload the driver unless it's powered down. I tried something I found elsewhere (an upgrade? to the ieeeetc. stuff) but it broke my wireless and made my heart stop until I reversed what I had done.

I'm using gnome, network manager - I noticed in my logs that eth1 was up and down a few times during a restart.

Anyhow, it *seems* that I have to power right down in order for ipw2200 to load on bootup. Wondering if I'm the only one.


cheers,
 
Old 10-31-2006, 07:52 PM   #2
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
my wireless card (bg 2200 on dell Insp 6000) is flaky too.


Sometime I have to unload the module, reload it, then set the parameters myself

#> rmmod ipw2200
#> insmod /path/to/module/ipw2200.ko

#> /sbin/iwconfig eth1 essid YOURSSID mode managed rate auto key YOURWEPKEY

#> dhclient -1 eth1
 
Old 10-31-2006, 08:24 PM   #3
smaudlin
Member
 
Registered: Dec 2004
Location: Benicia, CA
Distribution: Fedora 6,5,4 Mandrake 10.1
Posts: 46

Rep: Reputation: 15
im using FC6 and the internal wireless ipw2200 on eth1 same as you. Mine works fine. I put some stuff rc.local to configure it on boot with my essid and wep key that's all I had to do aside fron installing the RPM driver. Here's my rc.local that makes it work. Works everytime. I added a few sleep commands and it seems to help for me.

/etc/rc.local

iwconfig eth1 essid xxxxxx
sleep 2
iwconfig eth1 channel 6
sleep 2
iwconfig eth1 key open xxxxxxxxx
sleep 2
dhclient eth1
 
Old 10-31-2006, 10:04 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Perhaps this is caused by pci sleep states. (Note, I don't know much about Fedora specifics), whatever power-management system your kernel uses (acpi or apm), pci drivers are supposed to be able to respond to power states. You generally go into power state S5 when shutting down (S4 is suspend-to-ram). S0 is running. The cool thing about the linux sysfs hooks is that you can control the device states for individual pci objects rather than the entire system at once. To do this, you probably need to know the number of the specific pci device you want to control (which you can find from lspci).

Turn on the computer from a cold start, and verify that the card works. Then restart the computer, and verify that the card doesn't work. Now, you do the fun part. (First, get root privileges, and then), cd to /sys/devices. Most PCs have only one pci-bus; you should cd into the directory representing it (on my computer, it's pci0000:00). Now, use the number for your device to cd into the directory representing the wireless NIC (on my computer, it's 0000:00:0a.0). Now cd into the directory called power. Do a cat state. You should see the output "0" (the numeral). This indicates the devices is up and running. Now change this with "echo '5' > state" (causing the PCI device to shutdown). Now, do "cat state" to make sure it worked (it may take a few seconds). If it reports "5", then most probably it worked (you can double check by looking for absense of blinking lights). Now do "echo '0' > state". Make sure it worked (i.e., with cat). Now, try bringing up the interface. If it works, then your problem is the pci sleep state.

The easiest remedy for this would be to add a script/service/whatever fedora calls it to be run at restart. This script would just set the network device's state to 5 and wait some time. When the computer is rebooted, the device should wake up, and you might be able to use it. The second, but more reliable method is to add a script do the boot sequence which puts the device to sleep, waits a bit, and wakes up the device (just as we did above).
 
  


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
Samba requires frequent restart Wynd Linux - Networking 7 05-31-2006 01:04 PM
Adobe Acrobate Reader Requires A Plugin-That Requires Open LDAP That Requires Berkely Old_Fogie Slackware 10 05-08-2006 05:04 AM
wireless connection requires network restart bbcar Linux - Wireless Networking 1 11-21-2005 02:02 AM
Optical Fibre unplug requires power cycle mehere Linux - Hardware 0 02-05-2004 07:18 PM
acpid requires restart before hotkeys activated Smerk Linux - Software 0 11-09-2003 08:13 AM

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

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