vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I'm have a small problem. I got wireless to work on Fedora Core 2 but I can't get it to join my own wireless. It keeps joining my neighbors Microsoft AP and I've been beating my head at this for hours. I was once told that if you don't know, just ask, perhaps someone have the answer. I'd sincerely appreciate if you have the time to reply back. Have a great weekend. Here are the working WLAN details: ------------------------------------- eth1 IEEE 802.11-DS ESSID:"MSHOME" Nickname:"HERMES I" Mode:Managed Frequency:2.437GHz Access Point: 00:50:F2:CE:60:CC Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3 Retry limit:4 RTS thr Encryption key Power Management Link Quality:11/92 Signal level:-83 dBm Noise level:-94 dBm Rx invalid nwid:0 Rx invalid crypt:2 Rx invalid frag:0 Tx excessive retries:1 Invalid misc:0 Missed beacon:0 /etc/sysconfig/network-scripts/ifcfg-eth1 ----------------------------------------- DEVICE=eth1 BOOTPROTO=dhcp ONBOOT=no TYPE=Ethernet I would like to join it to my AP (c^2) at home My wireless.opts and network.opts file for your perusal ------------------------------------------------------- /etc/pcmcia/wireless.opts # Wireless LAN adapter configuration # # Theory of operation : # # The script attempts to match a block of settings to the specific wireless # card inserted, the *first* block matching the card is used. # The address format is "scheme,socket,instance,hwaddr", with * as a wildcard. # 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX'). # 'hwaddr' is the unique MAC address identifier of the wireless card. # The MAC address is usually printed on the card, or can be found via ifconfig. # Some examples here use only half of the MAC address with a wildcard to # match a whole family of cards... # # All the Wireless specific configuration is done through the Wireless # Extensions, so we will just call 'iwconfig' with the right parameters # defined below. # Of course, you need to have iwconfig installled on your system. # To download iwconfig, or for more info on Wireless Extensions : # http://www.hpl.hp.com/personal/Jean_...nux/Tools.html # # Note : you don't need to fill all parameters, leave them blank, in most # cases the driver will initialise itself with sane defaults values or # automatically figure out the value... And no drivers do support all # possible settings... # # If you make any mistakes, you'll get a cryptic message in the system # log. You'll need to figure out on your own which parameter was wrong: # cardmgr[310]: executing: './network start wvlan0' # cardmgr[310]: + SIOCSIWMODE: Invalid argument # I've tried to give more troubleshooting help at : # http://www.hpl.hp.com/personal/Jean_...ols.html#debug # In case of doubts, just check "/etc/pcmcia/wireless" for the gory details... # # Note also that this script will work only with the original Pcmcia scripts, # and not with the default Red Hat scripts. Send a bug report to Red Hat ;-) # # Finally, send comments and flames to me, Jean Tourrilhes <jt@hpl.hp.com> # case "$ADDRESS" in # NOTE : Remove the following four lines to activate the samples below .... # --------- START SECTION TO REMOVE ----------- #*,*,*,*) # ;; # ---------- END SECTION TO REMOVE ------------ # Here is an example of scheme matching # Activate with "cardctl scheme essidany" # Pick up any Access Point, should work on most 802.11 cards # essidany,*,*,*) # INFO="Any ESSID" # ESSID="any" # ;; # # Here are a few examples with a few Wireless LANs supported... # The matching is done on the first 3 bytes of the MAC address # Lucent Wavelan IEEE (+ Orinoco, RoamAbout and ELSA) # Note : wvlan_cs driver only, and version 1.0.4+ for encryption support *,*,*,00:60:1D:*|*,*,*,00:02:2D:*) INFO="Wavelan IEEE example (Lucent default settings)" ESSID="Wavelan Network" MODE="Managed" # RATE="auto" KEY="s:secu1" # To set all four keys, use : # KEY="s:secu1 [1] key s:secu2 [2] key s:secu3 [3] key s:secu4 [4] key [1]" # For the RG 1000 Residential Gateway: The ESSID is the identifier on # the unit, and the default key is the last 5 digits of the same. # ESSID="084d70" # KEY="s:84d70" ;; # Cisco/Aironet 4800/340 # Note : MPL driver only (airo/airo_cs), version 1.3 or later *,*,*,00:40:96:*) INFO="Cisco/Aironet example (Cisco default settings)" ESSID="any" # To set all four ESSID, use iwconfig v21 and the same trick as above MODE="Managed" # RATE="11M auto" # KEY="off" ;; # Samsung MagicLan (+ some other PrismII cards) # Note : Samsung binary library driver, version 1.20 or later *,*,*,00:00:F0:*|*,*,*,00:02:78:*) INFO="Samsung MagicLan example (Samsung default settings)" ESSID="any" MODE="Managed" CHANNEL="4" RATE="auto" # KEY="883e-aa67-21 [1] key 5501-d0da-87 [2] key 91f5-3368-6b [3] key 2d73-31b7-96 [4]" # IWCONFIG="power on" ;; # Raytheon Raylink/WebGear Aviator2.4 # Note : doesn't work yet, please use for debugging only :-( *,*,*,00:00:8F:*|*,*,*,00:00:F1:*) INFO="Raylink/Aviator2.4 example (Aviator default ad-hoc setting)" ESSID="ADHOC_ESSID" MODE="Ad-Hoc" RATE="auto" IWPRIV="set_framing 1" ;; # Old Lucent Wavelan *,*,*,08:00:0E:*) INFO="Wavelan example (Lucent default settings)" NWID="0100" MODE="Ad-Hoc" FREQ="2.425G" KEY="off" ;; # Netwave (Xircom Netwave/Netwave Airsurfer) *,*,*,00:80:C7:*) INFO="Netwave example (Netwave default settings)" NWID="100" KEY="00" ;; # Proxim RangeLan2/Symphony (what is the MAC address ???) *,*,*,XX:XX:XX:*) INFO="Proxim RangeLan2/Symphony example" NWID="0" MODE="Master" CHANNEL="15" IWPRIV="setsubchan 1" ;; # No Wires Needed Swallow 550 and 1100 setting (what is the MAC address ???) *,*,*,XX:XX:XX:*) INFO="NWN Swallow example" ESSID="session" KEY="0000-0000-00 open" ;; # Symbol Spectrum24 setting (what is the MAC address ???) *,*,*,XX:XX:XX:*) INFO="Symbol Spectrum24 example" ESSID="Essid string" ;; # Generic example (decribe all possible settings) #*,*,*,*) INFO="Fill with your own settings..." # ESSID (extended network name) : My Network, any ESSID="c^2" # NWID/Domain (cell identifier) : 89AB, 100, off NWID="" # Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary,auto MODE="Managed" # Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency) FREQ="" CHANNEL="" # Sensitivity (cell size + roaming speed) : 1, 2, 3 ; -70 (dBm) SENS="" # Bit rate : auto, 1M, 11M RATE="" # Encryption key : 4567-89AB-CD, s KEY="s:cxxx3" # RTS threshold : off, 500 RTS="" # Fragmentation threshold : off, 1000 FRAG="" # Other iwconfig parameters : power off, ap 01:23:45:67:89:AB IWCONFIG="" # iwspy parameters : + 01:23:45:67:89:AB IWSPY="" # iwpriv parameters : set_port 2, set_histo 50 60 IWPRIV="" ;; esac /etc/pcmcia/network.opts -------------------------- # Network adapter configuration # # The address format is "scheme,socket,instance,hwaddr". # # Note: the "network address" here is NOT the same as the IP address. # See the Networking HOWTO. In short, the network address is the IP # address masked by the netmask. # case "$ADDRESS" in *,*,*,*) INFO="Sample private network setup" # Transceiver selection, for some cards -- see 'man ifport' IF_PORT="" # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n] BOOTP="n" # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n] DHCP="n" # If you need to explicitly specify a hostname for DHCP requests DHCP_HOSTNAME="" # Host's IP address, netmask, network address, broadcast address IPADDR="" NETMASK="255.255.255.0" NETWORK="10.0.1.0" BROADCAST="10.0.1.255" # Gateway address for static routing GATEWAY="10.0.1.1" # Things to add to /etc/resolv.conf for this interface DOMAIN="" SEARCH="" DNS_1="" DNS_2="" DNS_3="" # NFS mounts, should be listed in /etc/fstab MOUNTS="" # If you need to override the interface's MTU... MTU="" # For IPX interfaces, the frame type and network number IPX_FRAME="" IPX_NETNUM="" # Extra stuff to do after setting up the interface start_fn () { return; } # Extra stuff to do before shutting down the interface stop_fn () { return; } # Card eject policy options NO_CHECK=n NO_FUSER=n ;; esac # This is used to hook into Red Hat's network configuration tools. # You can delete it if that isn't desired. We look for network # options in /etc/sysconfig/network-scripts if it appears that the # interface can't be set up using settings given higher up in this # file. is_true $PUMP || is_true $BOOTP || is_true $DHCP || [ -x /proc/sys/kernel/hotplug ] || \ if [ -z "$IPADDR" -a -f /etc/sysconfig/network-scripts/ifcfg-$2 ] ; then INFO="Red Hat netconf setup" start_fn () { . /etc/sysconfig/network-scripts/ifcfg-$1 if [ "$ONBOOT" = "yes" ] ; then log /sbin/ifup $1 ; fi } stop_fn () { log /sbin/ifdown $1 } fi |
| ||||
| "Manuel Fernandes" <manuelf@hotmail.com> wrote in message news:164eb63b.0409011515.49096b08@posting.google.c om... > I'm have a small problem. I got wireless to work on Fedora Core 2 but I > can't get it to join my own wireless. It keeps joining my neighbors > Microsoft AP and I've been beating my head at this > for hours. I was once told that if you don't know, just ask, perhaps someone > have the answer. > > I'd sincerely appreciate if you have the time to reply back. Have a > great weekend. > > > Here are the working WLAN details: > ------------------------------------- > > eth1 IEEE 802.11-DS ESSID:"MSHOME" Nickname:"HERMES I" > Mode:Managed Frequency:2.437GHz Access Point: > 00:50:F2:CE:60:CC > Bit Rate:2Mb/s Tx-Power=15 dBm Sensitivity:1/3 > Retry limit:4 RTS thr > Encryption key > Power Management > Link Quality:11/92 Signal level:-83 dBm Noise level:-94 dBm > Rx invalid nwid:0 Rx invalid crypt:2 Rx invalid frag:0 > Tx excessive retries:1 Invalid misc:0 Missed beacon:0 > > > /etc/sysconfig/network-scripts/ifcfg-eth1 > ----------------------------------------- > DEVICE=eth1 > BOOTPROTO=dhcp > ONBOOT=no > TYPE=Ethernet > > > > I would like to join it to my AP (c^2) at home > My wireless.opts and network.opts file for your perusal > ------------------------------------------------------- > > /etc/pcmcia/wireless.opts That's your problem. RedHat, correctly or not, does not use those rather confusing and tough to maintain due to lack of documentation of how which gets loaded when files. They're a legacy of the source code for the kernel-pcmcia-cs tools. RedHat uses settings in /ets/sysconfig/network, if listed, to specifically issue "uwconfig" commands for any wireless devices it detects. RedHat also unfortunately does its network and pcmcia init scripts in the wrong order for this to work unless you add the card *after* the machine is up and run "service network start". So, you need to add your local "SSID" and "KEY" values to /etc/sysconfig/network, and either reset your pcmcia init script to start before your network script or set it to restart the network init script. |