| 1 | #@ALON-BEGIN |
|---|
| 2 | |
|---|
| 3 | #@ALON-BEGIN |
|---|
| 4 | modules="wpa_supplicant" |
|---|
| 5 | |
|---|
| 6 | config_usb0="192.168.1.204/24" |
|---|
| 7 | modules_usb0="!plug" |
|---|
| 8 | routes_usb0="default via 192.168.1.200" |
|---|
| 9 | dns_servers_usb0="192.168.1.200" |
|---|
| 10 | |
|---|
| 11 | config_eth0="dhcp" |
|---|
| 12 | dhcp_eth0="release nontp nonis nosendhost" |
|---|
| 13 | dhcpcd_eth0="-h nobody" |
|---|
| 14 | #mac_eth0="random-samekind" |
|---|
| 15 | wpa_cli_eth0="-G3600" |
|---|
| 16 | modules="wpa_supplicant" |
|---|
| 17 | |
|---|
| 18 | #gsm_id=$(date +%s) |
|---|
| 19 | #dbus-send \ |
|---|
| 20 | # --system --print-reply \ |
|---|
| 21 | # --type=method_call \ |
|---|
| 22 | # --dest=org.pyneo.muxer /org/pyneo/Muxer org.freesmartphone.GSM.MUX.AllocChannel \ |
|---|
| 23 | # string:$gsm_id \ |
|---|
| 24 | # | grep string | cut -d \" -f 2 |
|---|
| 25 | config_ppp0="ppp" |
|---|
| 26 | link_ppp0="/dev/ttySAC0" |
|---|
| 27 | username_ppp0='user' |
|---|
| 28 | password_ppp0='password' |
|---|
| 29 | |
|---|
| 30 | pppd_ppp0="crtscts noauth defaultroute usepeerdns lock mru 296 mtu 296" |
|---|
| 31 | phone_number_ppp0="*99#" |
|---|
| 32 | chat_ppp0=" |
|---|
| 33 | ABORT BUSY |
|---|
| 34 | ABORT DELAYED |
|---|
| 35 | ABORT 'NO ANSWER' |
|---|
| 36 | ABORT 'NO DIALTONE' |
|---|
| 37 | ABORT VOICE |
|---|
| 38 | ABORT ERROR |
|---|
| 39 | ABORT RINGING |
|---|
| 40 | TIMEOUT 15 |
|---|
| 41 | '' '\K\K\K\d+++ATH' |
|---|
| 42 | OK-AT-OK 'ATZ' |
|---|
| 43 | OK 'ATE1' |
|---|
| 44 | OK 'AT+CFUN=1' |
|---|
| 45 | OK 'AT+COPS' |
|---|
| 46 | OK 'AT+CGDCONT=1,\"IP\",\"internet\"' |
|---|
| 47 | OK 'ATD\T' |
|---|
| 48 | TIMEOUT 60 |
|---|
| 49 | CONNECT '' |
|---|
| 50 | TIMEOUT 5 |
|---|
| 51 | '~--' ''" |
|---|
| 52 | |
|---|
| 53 | #@ALON-END |
|---|