Here are the relevant sections of some files -
#=======SELECT STATION MODE===================
IS_ADHOC=y # y|n, y - adhoc, n - infrastructure
#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="opensystem" # opensystem | sharedkey (requires WEP)
# Use DesiredSSID="" to associate with any AP in range
#=======ADHOC STATION START============================
SSID="ANY" # SSID
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=7 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s)
OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)
INFO="Sample private network setup"
# Transceiver selection, for some cards -- see 'man ifport'
# Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
# Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
# If you need to explicitly specify a hostname for DHCP requests
Host's IP address, netmask, network address, broadcast address
# Gateway address for static routing
> did u ckeck your pcmcia config file. it can be disabled.
> I hope it is as simple.
> till me what happens.
> > Hi,
> > I have a PC running Win2000 Professional (which has a DSL
> > and a Laptop running Red Hat 7.3; both have US Robotics wireless cards.
> > If the laptop runs Win2000 Professional, then Iam able to setup an
> > ad-hoc network, and use the PC's DSL connection, for accessing the Net.
> > But Iam not able to setup an ad-hoc network, when the laptop is
> > Linux. However, when I brought the laptop over to my office, and used it
> > Infrastructure mode, on a wireless network, it works fine.
> > So the problem is with the Ad-Hoc mode alone. I've changed the
> > files (with no success)
> > /etc/pcmcia/wlan-ng.opts
> > /etc/pcmcia/network.opts
> > wlan.conf
> > Even after I restart pcmcia, it refuses to come up in Ad-Hoc mode
> > shows Infrastructure when I execute 'wlancfg show wlan0' and look at the
> > 'dot11DesiredBSSType' and 'p2CreateIBSS' values).
> > Please help !!
> > Regards
> > - Sujit