FR as wifi access point

Ed Kapitein ed at kapitein.org
Wed May 26 17:32:16 CEST 2010


Hi,

I managed to set up ad-hoc networking between my laptop and fr with the
following scripts:

on the FR:
#!/bin/bash
echo s3c2440-sdi >/sys/bus/platform/drivers/s3c2440-sdi/unbind
sleep 2
modprobe -vr ar6000
sleep 2
modprobe -v ar6000 debuglevel=5
sleep 5
echo s3c2440-sdi >/sys/bus/platform/drivers/s3c2440-sdi/bind
sleep 2
iwconfig eth0 mode ad-hoc
sleep 2
iwconfig eth0 channel 11
sleep 2
iwconfig eth0 essid happy
sleep 2
ifconfig eth0 192.168.123.1 netmask 255.255.255.0

on the laptop:
#!/bin/bash
modprobe -vr iwlagn
sleep 2
modprobe -v iwlagn
sleep 2
iwconfig wlan0 mode ad-hoc
sleep 2
iwconfig wlan0 channel 11
sleep 2
iwconfig wlan0 essid happy
sleep 2
ifconfig wlan0 192.168.123.2 netmask 255.255.255.0

I hope it saves someone 5 minutes of scripting :-)

Kind regards,
Ed

On Wed, 2010-05-26 at 12:50 +0400, Paul Fertser wrote:
> Chuck Norris <norris.chuck at mail.ru> writes:
> > Is it possible make FR act as wifi access point?
> > Which utils can help?
> 
> Only ad-hoc. iptables + iwconfig, nothing else needed i think. Set
> adhoc before setting ssid.
> 



More information about the community mailing list