I have manually write like super user this commands:
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid pardus
ifconfig wlan0 192.168.0.1
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
ifconfig wlan0 up
They setting my wifi usb key. I would like transform this commands in a script. Where can I put this script in pardus 2001.1? The howto that i have read say /etc/network/interfaces, but in pardus there is not this file.