Hi,

--- On Thu, Feb 28, 2008 at 4:08 PM, Sandip Bhattacharya
<[EMAIL PROTECTED]> wrote:
|  so one option is to setup the laptop as an access point that the mobile
|  can use.
\--

Yes.

---
| I haven't gone
|  beyond "iwconfig eth1 node master".
\--

Where did it fail?

---
| I need DHCP
\--

To start with, you can test with static IP addresses.

---
| and preferably WPA.
\--

I'd suggest that you first test without encryption, and then you can
play with WPA.

1. Enable wireless on laptop with master mode. Disable encryption.
2. Configure static IP address on the phone, and test ping between
phone and laptop (wireless).

To forward the requests between the wired and wireless connection, you
will need to enable ip_forward on the laptop:

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

and enable NAT operation. For example:

  sudo iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

I'd suggest that you google (or use any other search engine) for
"Internet sharing with linux". For a start:
http://thio4linux.wordpress.com/2007/10/14/share-internet-connection-on-linux/

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com

_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Next Event: http://freed.in - February 22-24, 2008
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to