LinuxQuestions.org
Help answer threads with 0 replies.
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 06-28-2005, 11:48 PM   #1
beyondreality
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Rep: Reputation: 0
load wireless card at reboot(Fedora 4)


after using ndiswrapper -m
the fedora 4 can not remember it even after I edit /etc/sysconfig/network-scripts/ifcfg-wlan0

when it boots, got error information
Determine IP address for wlan0: failed no link present. check cable.

but after I log in, using iwconfig and dhclient. everything works fine.

Really got lost here.

Wondering if anyone has the same problems?

Thanks for your help!
 
Old 06-29-2005, 08:42 AM   #2
Ryand833
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 31

Rep: Reputation: 15
I followed the same tutorial you did for FC4 (Going into /etc/sysconfig/network-scripts and making that config file), and it did not work for me either.

Instead, I did...

(Assuming you've already installed ndiswrapper, and ndiswrapper -l already lists your network card.)

1) I could not get the dhclient command to work correctly for me, so I downloaded dhcpcd from http://www.phystech.com/download/dhcpcd.html

2) Install it by running ./configure, make, and then make install. It will install in /usr/local/sbin

3) Make a script somewhere (/etc/startwifi), put this in it...

Code:
echo "Starting ndiswrapper..."
modprobe ndiswrapper

echo " -- Setting mode managed"
iwconfig wlan0 mode Managed

echo " -- Setting WEP key"
iwconfig wlan0 key restricted <your key here>

echo " -- Setting Channel"
iwconfig wlan0 channel <your channel>

echo " -- Bringing up wlan0"
ifconfig wlan0 up"
4) chmod it to 755

5) Edit /etc/rc.d/rc.local and add this to the end of it...

Code:
/etc/startwifi
/usr/local/sbin/dhcpcd wlan0
After I did all this stuff, my wifi works great on each reboot.

Last edited by Ryand833; 06-29-2005 at 11:21 AM.
 
Old 06-29-2005, 08:41 PM   #3
beyondreality
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Cool. Got it. But the speed becomes extremely slow

That really helps! It does get around that problem.
I edit rc.local and add two lines
/sbin/iwconfig wlan0 key open ***********
/sbin/dhclient wlan0
Now it is loaded at the reboot. But for some reason it is extremely slow.
Buddy, do you have the same problem?

Thanks again!
 
Old 06-29-2005, 09:27 PM   #4
beyondreality
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
It works fine

Sorry. I think my whole system is slowed down for other reasons, since the speed did not increase even after I remove it.
Thanks!
 
Old 06-29-2005, 10:09 PM   #5
Ryand833
Member
 
Registered: Jan 2004
Distribution: Fedora Core 4
Posts: 31

Rep: Reputation: 15
Hmm, strange.

But, no I didn't experience any slow-downs when I got mine working. (I'm using my wireless right now, in fact.)

Keep me updated if you find out what the problem is.
 
Old 07-01-2005, 10:06 AM   #6
beyondreality
LQ Newbie
 
Registered: Jun 2005
Posts: 11

Original Poster
Rep: Reputation: 0
No problem anymore

I didn't experience that anymore. And I don't think there is any difference by loading the Wireless driver at rc.loca or rc.sysinit. But it is still strange why it cannot load the configuration at rc.sysinit from /etc/sysconfig/network. Thanks!
 
  


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
Help with wireless card in fedora 4. extendedping Linux - Wireless Networking 6 10-16-2005 10:13 PM
Wireless card wont start after reboot ! memo007 Linux - Wireless Networking 1 09-15-2005 08:09 AM
firmware won't load on wireless card on boot jonlake Linux - Hardware 3 09-08-2005 12:31 AM
MN-520 wireless card not detected after reboot.... bowlingd Linux - Wireless Networking 0 10-07-2004 07:02 AM
Resource in use error when trying to load modules for wireless card blk96gt Slackware 0 06-27-2004 01:10 AM

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

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