Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 07-08-2004, 09:33 PM   #1
Registered: Mar 2004
Distribution: Gentoo
Posts: 55

Rep: Reputation: 15
Almost there, one problem left

Okay, heres the deal. I've been screwing around with getting my old Fedora Core 2 box up on the wireless in my house. I have gotten it to the point where everything is detected and configured, including wep, i see all my access point info in /sbin/iwconfig and it is detected in /sbin/ifconfig. Here's the problem. First off the computer does not automatically bring up interface 'wlan0' (which is its right and proper name) on boot, and i can't seem to get it to. Also, when i do manually activate it using /sbin/ifconfig wlan0 up it does come up but I am unable to use the mozilla firefox to access the interweb. I know I am close and can almost taste the wifi (if that is indeed possible), someone please help!
Old 07-13-2004, 09:22 PM   #2
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
route add default gw
where the xxx is ur routers ip address
Old 07-14-2004, 01:00 AM   #3
Registered: Jul 2004
Distribution: Fedora 7
Posts: 32

Rep: Reputation: 15
For your first question, you can add "/sbin/ifconfig wlan0 up" to /etc/rc.d/rc.local. I did this in Slackware. I don't know whether it will also work in other distributions, but if you can find this file on your machine it should work.

For your second question, I need to do "dhcpcd wlan0" after bring wlan0 up. You can have a try.
Old 07-14-2004, 06:21 AM   #4
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
I just solved a similar issue on SuSE 9.0 on a laptop using a cardbus wireless card (had to use ndiswrapper as well) which also has onboard ethernet.

I had to use rmmod ndiswrapper, insmod ndiswrapper and then manually bring the card up.

The thing that was stopping it coming up on booting was that the init scripts (/etc/init.d/rc?.d) were loading the network before hotplug and pcmcia). Therefore it was trying to connect before the device was activated! I switched the order and bingo the card works (and is hotpluggable) from boot. Therefore it's worth a look at the order of your init scripts to see if that's the issue.

To get the dhcp stuff to work I had to manually create an ifcfg-wlan0
in it as well as the wireless stuff to set the ESSID and key.

The only other issue I have is that because I have 2 NICs both using dhcp I can't let them both load because they each give me a default route and you can only have one default route. Because the onboard is what I normally use I have that one's STARTMODE = 'onboot' and if I want to use the wireless card I just make sure I 'ifconfig eth0 down' to remove any eth0 stuff.

Good luck


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
GNOME 2.2 left-handed mouse problem flyingman Linux - Software 0 08-30-2005 01:28 PM
Fluxbox slit positioning problem: always in top left beefsprocket Linux - Software 4 09-27-2004 11:35 AM
left numeric keyboard is typing numbers (problem with NumLock on/off) zstingx Linux - General 0 11-10-2003 10:59 AM
Mouse stays in top left corner after Mandrak 9 Install could be problem with X Shorty Linux - Newbie 4 04-09-2003 11:06 PM
SOUND PROBLEM: Inverted left/right channels moving_target Linux - General 0 06-30-2002 08:38 PM

All times are GMT -5. The time now is 03:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration