LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-08-2004, 08:33 PM   #1
PeaceTank
Member
 
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, 08:22 PM   #2
rahmed
Member
 
Registered: Feb 2004
Location: somewhere over the rainbow...
Distribution: Slackware 10.1
Posts: 166

Rep: Reputation: 30
type
route add default gw xxx.xxx.xxx
where the xxx is ur routers ip address
 
Old 07-14-2004, 12:00 AM   #3
mp55
Member
 
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, 05:21 AM   #4
andrewdodsworth
Member
 
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
with:
STARTMODE='hotplug'
BOOTPROTO='dhcp'
DHCLIENT_MODIFY_RESOLV_CONF='yes'
DHCLIENT_SET_DEFAULT_ROUTE='yes'
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
 
  


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


All times are GMT -5. The time now is 08:37 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 Google+: linuxquestions
Open Source Consulting | Domain Registration