[MLB-WIRELESS] Linux Frequency's

Justin Fonte stygen at ii.net
Fri Aug 2 18:33:24 EST 2002


Joris wrote on Friday, 2 August 2002 1:34 PM
# 
# On Thu, Aug 01, 2002 at 04:27:53PM +1000, Mikel Pretty wrote:
# > The Cards are the Enterasys Roam About ones brought in the bulk buy.
# There
# > are 3 cards in this machine all the same.
# > The cradles are PCD-RP-101CE (the ones that use the yenta_socket
driver)
# > The OS is Redhat Linux 7.3
# >
# > The Error:
# > # iwconfig eth1 freq 2.432G
# > Error for wireless request "Set Frequency" (8B04) :
# > 	SET failed on device eth1 ; Operation not supported.
# >
# > I have tried setting all the frequencies from channels 1 - 13
# > None of them work.
# Try setting the mode to ad-hoc first, then set the channel/freq.
# iwconfig eth1 mode ad-hoc
# 
# If you're running in managed mode, I assume you don't need to set the
# frequency? If not, can someone enlighten me on how to set it?
# 

Joris, I use the same commands for ad hoc, hostAP or managed mode.  I
have pasted below the script that brings up my hostap as an example;

# Start wireless card in AP mode
insmod /lib/modules/2.4.18-3/net/hostap_pci.o

# Setup the AP interface
# The first line sets the interface as the dhcp 'master' IP and
# brings up the interface itself
ifconfig wlan0 10.60.4.17 netmask 255.255.255.248 broadcast 10.60.4.23

# The following 6 lines set the AP details that we would like to
# change from default
iwconfig wlan0 txpower 15
iwconfig wlan0 essid CitrusNet
iwconfig wlan0 channel 1
iwconfig wlan0 RTS 500
iwconfig wlan0 rate auto
iwconfig wlan0 nick CitrusNet

# Now for our permanent clients and additional routes if they have a
subnet
ifconfig wlan0:1 10.60.4.33 netmask 255.255.255.252 broadcast 10.60.4.35
route add -net 10.60.4.64 netmask 255.255.255.248 gw 10.60.4.34

ifconfig wlan0:2 10.60.4.37 netmask 255.255.255.252 broadcast 10.60.4.39

ifconfig wlan0:3 10.60.4.41 netmask 255.255.255.252 broadcast 10.60.4.43

ifconfig wlan0:4 10.60.4.45 netmask 255.255.255.252 broadcast 10.60.4.47

ifconfig wlan0:5 10.60.4.49 netmask 255.255.255.252 broadcast 10.60.4.51

ifconfig wlan0:6 10.60.4.53 netmask 255.255.255.252 broadcast 10.60.4.55


# And how do we route through to the rest of the freenet?  With this
line...
route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.60.4.2

# Dont forget to run the dhcp server or the wardrivers will be bored
# Although wardrivers only get access to irc and the Citrusnet homepage
service dhcpd restart



To unsubscribe: send mail to majordomo at wireless.org.au
with "unsubscribe melbwireless" in the body of the message



More information about the Melbwireless mailing list