Author Topic: Inet Via Ad-hoc Wifi  (Read 2808 times)

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Inet Via Ad-hoc Wifi
« on: November 29, 2005, 04:35:59 am »
I have a linux laptop, I have internet on the eth0 and a wifi card, can I hook up to my laptop via ad-hoc and access the internet? Has anyone done this?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Inet Via Ad-hoc Wifi
« Reply #1 on: November 29, 2005, 04:41:05 am »
That works. You set your laptop as default gateway and then just need to use iptables to do NAT on your laptop.
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Inet Via Ad-hoc Wifi
« Reply #2 on: December 01, 2005, 03:14:40 pm »
cool thanks, something to diddle with over the holidays
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder