Skrypt uruchamiający kartę pcmcia gtmax 3G driver:nozomi
#!/bin/bash #driver w kernelu jako y echo "tworzeenie pliku iplus-connect" echo "ABORT BUSY" >/etc/ppp/peers/iplus-connect echo "ABORT 'NO CARRIER'" >>/etc/ppp/peers/iplus-connect echo "ABORT ERROR" >>/etc/ppp/peers/iplus-connect echo "REPORT CONNECT" >>/etc/ppp/peers/iplus-connect echo "TIMEOUT 10" >>/etc/ppp/peers/iplus-connect echo "SAY "Connecting to modem..."" >>/etc/ppp/peers/iplus-connect echo """ "AT&F"" >>/etc/ppp/peers/iplus-connect echo "OK "ATE1"" >>/etc/ppp/peers/iplus-connect echo "SAY "Setting up APN"" >>/etc/ppp/peers/iplus-connect echo "OK 'AT+CGDCONT=1,"IP","pro.plusgsm.pl"'" >>/etc/ppp/peers/iplus-connect echo "SAY "Calling UMTS/GPRS"" >>/etc/ppp/peers/iplus-connect echo "TIMEOUT 30" >>/etc/ppp/peers/iplus-connect echo "OK "ATD*99***1#"" >>/etc/ppp/peers/iplus-connect echo "CONNECT ' '" >>/etc/ppp/peers/iplus-connect echo "tworzenie pliku iplus" echo "/dev/noz0">/etc/ppp/peers/iplus echo "connect "/usr/sbin/chat -v -f /etc/ppp/peers/iplus-connect"">>/etc/ppp/peers/iplus echo "384000">>/etc/ppp/peers/iplus echo "defaultroute">>/etc/ppp/peers/iplus echo "crtscts">>/etc/ppp/peers/iplus echo "lock">>/etc/ppp/peers/iplus echo "noauth">>/etc/ppp/peers/iplus echo "persist">>/etc/ppp/peers/iplus echo "debug">>/etc/ppp/peers/iplus echo "nodetach">>/etc/ppp/peers/iplus echo "nameserver 212.2.96.51" > /etc/resolv.conf echo "nameserver 212.2.96.55" >> /etc/resolv.conf pppd call iplus