Help - Search - Members - Calendar
Full Version: Wifi Blues
OESF Forums > General Forums > General Support and Discussion > Security and Networking
dbsears
I have an SL-5000D running OZ 3.5.4 GPE and I'm having WiFi network problems. I've included a description below of how I setup the WiFi cards (an SMC2642W and a Netgear MA701) and what /etc/network/interfaces looks like.

The card is recognized and the driver is loaded.

utilities>PC/CF card info
state: ready
device: wlan0
driver: hostap_cs
type: network

The output of cardctl ident for socket 0 looks just like the entry in /etc/pcmcia/hostap_cs.conf.

The signal strength in the Wireless Monitor applet is 87% and it seems to see the correct ESSID. I have WEP security disabled while I'm getting it setup.

But ping 192.168.1.1 (router) hangs. It doesn't display the number of dropped packets -- it just hangs.

So what have I done wrong?

--Dan


Setup:

1. Remove the orinoco driver:

ipkg remove -recursive *orinoco*

2. Replace /etc/pcmcia/hostap_cs.conf with the following:

device "hostap_cs"
class "network" module "hostap", "hostap_cs"

card "SMC 2642W 11Mbps WLAN Card"
manfid 0xd601, 0x0005
bind "hostap_cs"

card "NETGEAR MA701 Wireless CF Card"
manfid 0xd601, 0x0002
bind "hostap_cs"

3. Add /etc/resolv.conf. The file in the ROM is a dead link.

rm /etc/resolv.conf
echo "nameserver 192.168.1.1" > /etc/resolv.conf

4. Run utilities>network setup:

global tab
DNS server: 192.168.1.1

wlan0 tab
select static
address: 192.168.1.103
netmask: 255.255.255.0
broadcast: 192.168.1.255
gateway: 192.168.1.1
check WiFi device
configure
ESSID: deco
mode: ad-hoc
channel: 5

Here's what /etc/network/interfaces looks like:

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet static
wireless-mode ad-hoc
wireless-essid deco
wireless-key off
wireless-channel 5
gateway 192.168.1.1
broadcast 192.168.1.255
netmask 255.255.255.0
address 192.168.1.103
wireless_key off
wireless_channel 5
wireless_mode ad-hoc
wireless_essid deco
iface atml0 inet dhcp

# Wired or wireless interfaces
iface eth0 inet dhcp
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)
# ... or on host side, usbnet and random hwaddr
iface usb0 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200


# Zaurus 2.4 Lineo net_fd; obsolete
iface usbd0 inet static
address 192.168.129.201
netmask 255.255.255.0
network 192.168.129.0
gateway 192.168.129.200

# iPAQ 2.4 mach-sa1100/usb-eth
# (192.168.0.202 is the iPAQ's IP, 192.168.0.200 is the host's IP)
iface usbf inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200

# Bluetooth networking
iface bnep0 inet dhcp
dbsears
Fixed it. I was using Ad Hoc and not Managed mode.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.