I need to make an adhoc connection on Archlinux (netbook used as a wifi repeater), I was using this tutorial to do it on Ubuntu :
At the terminal install execute
sudo apt-get install dnsmasq-baseand thensudo apt-get remove dnsmasqRestart the NetworkManager by executing
sudo /etc/init.d/network-manager restartLeft-click on the NetworkManager icon and click "Create New Wireless Network"
Name it "UbuntuAdhoc" and set the encryption to "WEP40"
Connect PC2 using Ad-Hoc to the PC1
The main problem is dnsmasq-mase is missing but dnsmasq is present on Archlinux.
Here's what I found that could be helpful:
https://wiki.archlinux.org/index.php/Dnsmasq https://bbs.archlinux.org/viewtopic.php?id=6431
pacman -S dnsmasq
mkdir /etc/dnsmasq
mv /etc/resolv.conf /etc/dnsmasq
cd /etc
echo nameserver 127.0.0.1 > resolv.conf
mv rc.conf rc.conf.save 
sed  '/DAEMON/s/network/network dnsmasq.local/g' rc.conf.save>rc.conf
cd rc.d
sed  '/-z/s/dnsmasq/dnsmasq -r /etc/dnsmasq/resolv.conf /g' dnsmasq>dnsmasq.local
/etc/rc.d/dnsmasq.local start
/etc/rc.d/network restart
I have a problem with:
sed  '/-z/s/dnsmasq/dnsmasq -r /etc/dnsmasq/resolv.conf /g' dnsmasq>dnsmasq.local
It say that's the ../s/.. is not a known option.
It seems to have broken the networkmanager applet on xfce4. I blacklisted the dnsmasq stuff in /etc/rc.conf, it will be to repair in the progress, I can't use my wifi connection for now but my lan will do for now ...
I also checked about various ways of using a adhoc connection, as my girlfriend use my PC and I travel sometimes, I need a graphical way to make the adhoc connection.
I checked my favorite software wicd but it cannot make multiple connections and adhoc. It said that the version 2.0 maybe would but for now, the only alternative is networkmanager.
So, how I do it?