It can happen that you have a cable connection but no wifi or because he is absent or because security policy for the people outside can not access them. But now it is customary to have a PDA or smartphone that once connected to a wifi network express their full performance. How so?
You can turn a laptop into a linux access point through a simple script:
#Creazione di un access point
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode ap
iwconfig ath0 essid MIOAP channel 2 key 0123-4567-89
ifconfig ath0 up 192.111.1.1 netmask 255.255.255.0
echo “1″ > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -j MASQUERADE
sleep 10
#FINE
You can of course customize the 'essid, channel and password.
Obviously I did not set a dhcp, then you must configure the handheld ad-hoc, so give it directly to the 'ip, dns etc ... etc ...
Posted under EeePC , Technology
This post was written by admin on November 26, 2008






Hi, it works with an EeePC or Acer Aspire One?
You could create a bridge between the wifi network and the eth?
Thanks for the info
I run the script sull'eeepc but seeing the features of the Acer, I guess there really are problems, the script is just a sequence of standard commands
What does this script is just a machine to create a "bridge" where you connect with a PDA to the PC via wifi and ethernet on the PC you routes. An access point stark!
Beautiful! I was just thinking the Dreambox eeePC + + HD + USB Connection via USB with mobile phone
Sorry if I take this opportunity ... that has brought the wifi network so configured on your eeepc?
Also, could you tell me how fast PCs communicate in a wireless network?
Thank you!
The wifi network has the maximum theoretical 54Mbit / s, if the connection is great and you are the only online ... If you want to deepen the network there are tons of info.
eeepc with an iphone and have been connected for 20 yards ... without anything in between, un'open space.
Thanks for the info!
But how do you specify the key and WPA (or WEP or other)? thanks
The way the script is done ... the key is wep
Honestly, I never bothered to use a wpa, at least not for an AP of luck ...
Hello I have a probema, I can not start your scrpt, I've probably done something wrong because I said
wlanconfig: ioctl: No such device
wlanconfig: ioctl: No such device
Error for wireless request "Set ESSID" (8B1A):
Failed on device ath0 September; No such device.
ath0: ERROR reading interface flags: No device
SIOCSIFADDR: No device
ath0: ERROR reading interface flags: No device
SIOCSIFNETMASK: No device
could you help me? (I have a eeepc 900 with eeebuntu installed)
I should give what you command iwconfig restiuisce
'Cause I think you're ussando of different drivers from my ...
Hello!
with the script!
a question: if I wanted to activate the dhcp so that those who connect to the internet via my PC does not have to set the ip static commands should I add?
thank you!
The operation is not so immediate that you should install the dhcp server and configure it!

My script is simply an aid "flying" in cases Cusi need a wifi connection
For what you want to do, I suggest a little 'reading on the dhcp server
Lovely. Great site.
oO amazing I found exactly what I was looking for! a script that could run on eeepc with Linux to create an access point in order to connect my phone xD
I was not clear, however, the settings you said ... so now I try the script and let you know
> I should give what you command iwconfig restiuisce
> Why 'I think you're ussando of different drivers from my ...
that do not have the madwifi, I guess .. : /
But if I had to return to a normal configuration (eg normally connect to a wifi access point) I do something wrong? Or just restart the network service to return to my default configuration?