AlonblImplementation: net

File net, 1.2 KB (added by alonbl, 3 years ago)

/etc/conf.d/net

Line 
1#@ALON-BEGIN
2
3#@ALON-BEGIN                                         
4modules="wpa_supplicant"                             
5
6config_usb0="192.168.1.204/24"
7modules_usb0="!plug"         
8routes_usb0="default via 192.168.1.200"
9dns_servers_usb0="192.168.1.200"       
10
11config_eth0="dhcp"
12dhcp_eth0="release nontp nonis nosendhost"
13dhcpcd_eth0="-h nobody"               
14#mac_eth0="random-samekind"               
15wpa_cli_eth0="-G3600"                     
16modules="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
25config_ppp0="ppp"
26link_ppp0="/dev/ttySAC0"
27username_ppp0='user'
28password_ppp0='password'
29
30pppd_ppp0="crtscts noauth defaultroute usepeerdns lock mru 296 mtu 296"
31phone_number_ppp0="*99#"
32chat_ppp0="
33ABORT BUSY
34ABORT DELAYED
35ABORT 'NO ANSWER'
36ABORT 'NO DIALTONE'
37ABORT VOICE
38ABORT ERROR
39ABORT RINGING
40TIMEOUT 15
41'' '\K\K\K\d+++ATH'
42OK-AT-OK 'ATZ'
43OK 'ATE1'
44OK 'AT+CFUN=1'
45OK 'AT+COPS'
46OK 'AT+CGDCONT=1,\"IP\",\"internet\"'
47OK 'ATD\T'
48TIMEOUT 60
49CONNECT ''
50TIMEOUT 5
51'~--' ''"
52
53#@ALON-END