#!/bin/bash ifconfig eth1 down hw ether 00:11:d8:3b:37:e5 ifconfig eth1 up iwconfig eth1 channel 11 key off mode managed essid pipekartal2ap ifconfig eth1 193.188.194.162 netmask 255.255.255.0 up route add default gw 193.188.194.161 echo "nameserver 193.188.193.67" >/etc/resolv.conf #dhcpcd eth1