Asus Eee PC netbook tip / howto: Connecting to a Macbook in Ad-Hoc mode | (Nederlandse versie niet beschikbaar) |
This turned out to be a major pain. Not only is there no
software to put the wireless interface into Ad-Hoc mode
(iwconfig ath0 mode ad-hoc will tell you: Error for wireless request "Set Mode" (8B06) : SET failed on device ath0 ; Invalid argument.), also there are way too many web pages out there with information that is either incomplete or not quite applicable. Setting up the Macbook This part is easy. Click on the "wireless" icon in the task bar, and select "Create network". Give your network a name (for example, "machoc") and pick a channel. I have not experimented with using a WEP key yet (so leave those options blank).
Next, open a terminal (Applications → Utilities) and, as root, type: I am guessing this last step is not necessary, and you can just use whatever IP is already assigned to en1. I will test this soon. Setting up the Eee Note: this applies to an Eee 701 with an Atheros wireless card (run /sbin/lspci | grep -i wireless to see if you have one), running Eeedora. My guess is this will also work with the default Xandros operating system that comes with the Eee. The key is to get the wlanconfig tool for putting ath0 into Ad-Hoc mode.
Finally we are ready to set up the Eee as an Ad-Hoc client...:
This should do it, you should now be able to ping the Macbook from the Eee:
If you try to ssh to the Macbook and it takes a long time until
you get the password prompt, you may have to edit the file
/private/etc/sshd_config (as root), and uncomment the line:
To change back to Managed mode (so you can connect to a wireless network again):
Do send me a note (see below) if something doesn't work for you. I think this page still needs some polishing, and it would be great to figure out the minimum set of steps.
|