Help - Search - Members - Calendar
Full Version: Need help with ad hoc wifi
OESF Forums > General Forums > General Support and Discussion > Security and Networking
slapout
I've searched thru the forum and done some googling, but I still can't seem to get my wifi setup working.

I'm trying to network my 5600 & my WinXP Home pc so that I can share my dial up connection.

I'd like to setup an ad hoc network. On the PC I'm using a Linksys WUSB54G. And on the Zaurus I have a Linksys WCF12.

I used the network wizard in XP and the Network app in the Z to set things up. (I'm using the rom that came with my Z. It's 1.00 which i think is like the 3 rom on the 5500).

They seem to see each other: When I tell the Z to connect windows shows it connected and the Z shows connected.

The information button on the Z shows:

IP Address: 192.168.0.33 (DHCP)
Subnet Mask: 255.255.255.0
DNS Server: 192.168.0.1
Default Gateway: 192.168.0.1

However in the Z Network app on the Current Tab it shows:
WLanService: OffLine
AccessPoint: Unable to detect (makes sense--I'm not using one)
ESSID: <blank>
Signal: 0%
Quality: 0%

I'm not able to see webpages in Opera. Any idea what I'm doing wrong?
lindenle
I am not sure i can help you too much. I have this working from zaurus to a linux machine. The zarus uses a symbol wifi and the linux machine is using an orinoco gold card. In my case I am sharing a LAN connection but it should be pretty much the same.

On Laptop:
iwconfig eth1 essid "ADHOC" key off mode Ad-Hoc channel 10
ifconfig eth1 192.168.1.1 up

On Zaurus:
Using wifi control add essid and switch to ad-hoc mode and channel .
Also enter netmask and ip by hand by unchecking the set automatically box.
Also enter the dns servers from your isp into the wifi manager by hand.

Now back to linux machine to nat the zaurus out to the world, i do:
#!/bin/bash
#
# This script will allow ip forwarding from INTIF to EXTIF
#
#
#
EXTIF=eth0
INTIF=eth1
IPTABLES=$(which iptables)

$IPTABLES -P INPUT ACCEPT
$IPTABLES -F INPUT
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD
$IPTABLES -t nat -F

echo "1" > /proc/sys/net/ipv4/ip_forward

$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j
ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

One could also run a dhcp server on eth1 to answer and give ip dns etc but that was too much work for my need (updating calendar on Z).
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.