Correction [Re: 802.11b wireless config]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



JD wrote:

Jerry Roy wrote:

Hi all,

Anyone know how to enable a D-Link wireless 802.11b card on RedHat 8.0?

Hi, with my other (normal) distros I usually just:
- vi the /etc/pcmcia/wireless.conf file and nominate my card there [you can know your 6 digits card ID from dmesg; or from windows if necessary. The first 3 of the 3 digits is your manufacturer's id, the last 3 is your card's id. Ignore the manufacturer's id and replace it with *,*,*.]
- as root under /root do "$ ifconfig &"
- and at last: dhcpcd &
- that's it! And everything works.

But as I checkout RH8, I couldn't find the wireless.conf file!!

$ locate wireless
/etc/sysconfig/network-scripts/ifup-wireless
/etc/pcmcia/wireless
/etc/pcmcia/wireless.opts
/usr/lib/perl5/5.8.0/i386-linux-thread-multi/linux/wireless.ph
/usr/share/doc/wireless-tools-25
/usr/share/doc/wireless-tools-25/DISTRIBUTIONS.txt
/usr/share/doc/wireless-tools-25/INSTALL
/usr/share/doc/wireless-tools-25/README
/usr/share/man/man7/wireless.7.gz
/usr/share/redhat-config-network/help/network-config-wireless.html
/usr/share/redhat-config-network/netconfpkg/gui/wirelessconfig.pyc
/usr/share/redhat-config-network/netconfpkg/gui/wirelessconfig.glade
/usr/share/redhat-config-network/netconfpkg/gui/wirelessconfig.py
/usr/include/linux/wireless.h
/lib/modules/2.4.18-14/kernel/drivers/net/wireless
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/airo_cs.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/airo.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/orinoco_cs.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/hermes.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/orinoco.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/orinoco_pci.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless/orinoco_plx.o
/lib/modules/2.4.18-14/kernel/drivers/net/wireless_old
/lib/modules/2.4.18-14/kernel/drivers/net/wireless_old/orinoco_old_cs.o


At first I thought I could help you, but now I'm answering myself as well....:)

But I'll try to find out how to get the wireless.conf file.


I've found it! It only has a different name...:) Under RH8 it's not wireless.conf, but rebaptized as wireless.opts but still under the same (normal) folder: /etc/pcmcia

You need to vi this /etc/pcmcia/ide.conf. But, before you do this, try this first:

1. see if actually your card has been activated. Just plug the card is and see the dmesg; then
2. as root, do ifconfig &
3. The answer will show you the IP address of the connected line, such as:
---------
[root@localhost root]# ppp0 Link encap:Point-to-Point Protocol
inet addr:79.25.980.521 P-t-P:63.93.97.69 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1760 errors:1 dropped:0 overruns:0 frame:0
TX packets:1839 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1103521 (1.0 Mb) TX bytes:252546 (246.6 Kb)
[1]+ Done ifconfig
--------
4. If that works, then as root try 'dhcpcd &' and you'll see, typically, this reply:
--------
[root@localhost root]# dhcpcd &
[1] 2006
--------
5. Fire up your browser and should work

6. If it doesn't work, than that means your card is not recognized yet. To get it recognized, vi the /etc/pcmcia/wireless.opts like this:

# Pick up any Access Point, should work on most 802.11 cards
essidany,*,*,*)
INFO="Any ESSID"
ESSID="any"
;;
-"essidany" line is your card id as I mentioned above. Ignore the first three, but you have to write down the last 3 digits. You can get this number from dmesg after you plug in your PCMCIA card.
-INFO=, put any word you want.
-ESSID=, use "any" that means "just get" anytime and any signal the card can get.

Now it "must" work, as always in Linux and anything under heaven...:) :)


JD



--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux