#!/bin/bash M_PATH='/home/carlo/hacks/laptop/new' # dns echo "search tim.it" > /etc/resolv.conf echo "nameserver 213.230.155.94" >> /etc/resolv.conf echo "nameserver 213.230.130.222" >> /etc/resolv.conf # interfaces ifconfig lo up ifconfig eth0 down pppd /dev/ttyACM0 115200 connect "chat -V -f $PWD/tim" crtscts modem -detach noccp defaultroute noauth ipcp-accept-remote ipcp-accept-local noipdefault debug