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!
route add default gw xxx.xxx.xxx
where the xxx is ur routers ip address
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.
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.
|All times are GMT -5. The time now is 12:30 AM.|