[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: internet sharing




On Jan 9, 2011 3:43 AM, "andu novac" <novac.andu@gmail.com> wrote:
>
> I used to have this working in 32 bit (antix) but can't get it to work
> reliably in 64 bit Squeeze.
> Here's the setup maybe someone has any idea.
> Hardware: intel iMac mid 2010 getting internet via eth0/pppoe wanting
> to share the connection via wifi (wlan0).
>  Card-1 Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe driver tg3
> v: 3.102 BusID: 02:00.0
>  Card-2 Atheros AR928X Wireless Network Adapter (PCI-Express) driver
> ath9k BusID: 03:00.0
>
> Software: dnsmasq and the following commands:
> ifconfig wlan0 down
> iwconfig wlan0 mode ad-hoc
> iwconfig wlan0 essid "iAsta" key s:xxxx
> ifconfig wlan0 10.0.0.1 up
> echo 1 > /proc/sys/net/ipv4/ip_forward
> /etc/init.d/dnsmasq restart
> iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
>

My first thought is whether you want to use ad-hoc vs ap mode. This is a hardware limitation.


Reply to: