-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Praedor Tempus wrote on Fri, Nov 22, 2002 at 10:32:49AM -0500 :
> I was misled. I was informed that one could not share an internet connection
> through an ad-hoc wlan connection. I have found I was wrong/misinformed and
> it is possible. At this point I am only partially sharing, however.
It is possible, but you have to do something special. We had this exact
same issue appear at our house when my roommate initially tried to
configure networking using ad-hoc.
> I changed my wlan connection from my laptop to desktop to be ad-hoc and they
> are connected. I have been trying to setup iptables so that I can share the
> connection on the desktop but oddly, it only appears to be partially
> successful. I am sending and receiving email but I cannot access the web.
> Any attempt to ping a host from my laptop ends up in "Destination
> unreachable" strings (unless I am pinging my desktop directly).
Because if you look carefully at the client, it is trying to ping the IP
address directly, which that IP address does not have its own wireless
connection. Why? Because you are using adhoc. Your client doesn't
know that it should treat the ad-hoc connection as the gateway.
The fix for that is to make another network segment. The obligatory
network diagram:
192.168.1.1 (Network Card)
| ---------------------------
---------- ---------- | --| Local LAN |
| | | |v | | 192.168.1.0/255.255.255.0 |
| Internet |---| Firewall |-- ---------------------------
| | | |--
---------- ---------- ^ | ---------------------------
| --| Wireless LAN |
| | 192.168.2.0/255.255.255.0 |
| ---------------------------
192.168.2.1 (WLAN Card)
Configure the wireless LAN card to do connection sharing for 192.168.2.0
and make all wireless devices use 192.168.2.1 as the gateway.
> I don't understand how I can be able to send email and receive email (via my
> local postfix MTA) but not access the web.
I would guess your local MTA is using the MTA on the firewall as a
relay or it is the final destination (which will work).
Blue skies... Todd
- --
MandrakeSoft USA http://www.mandrakesoft.com
Mandrake: An amalgam of good ideas from RedHat, Debian, and MandrakeSoft.
All in all, IMHO, an unbeatable combination. --Levi Ramsey on Cooker ML
Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.20-0.2mdk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE93o8Olp7v05cW2woRAng0AJ9Lp4NA+1Rhi54MHf5/kyMaFgGBOwCeIyrk
GKKo+Qwja6Ummzjkzz5Py7U=
=huyh
-----END PGP SIGNATURE-----
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com