Po delší době jsem se dostal k testování konfigurace pro přímé připojení CDMA přímo s Turrisem do Internetu. Po přenastavení firewallu začali procházet pakety. Zatím se mi, ale nepodařilo rozchodit správně DNS. V logu problém s DNS nevidím. Nemáte někdo nějaký tip na co se podívat? Přikládám výpis ze syslogu.
"2014-05-14T20:05:03+02:00 info chat[21877]: send (AT^M)
2014-05-14T20:05:03+02:00 info chat[21877]: expect (OK)
2014-05-14T20:05:03+02:00 info chat[21877]: AT^M^M
2014-05-14T20:05:03+02:00 info chat[21877]: OK
2014-05-14T20:05:03+02:00 info chat[21877]: -- got it
2014-05-14T20:05:03+02:00 info chat[21877]: send (ATZ^M)
2014-05-14T20:05:03+02:00 info chat[21877]: timeout set to 30 seconds
2014-05-14T20:05:03+02:00 info chat[21877]: expect (OK)
2014-05-14T20:05:03+02:00 info chat[21877]: ^M
2014-05-14T20:05:03+02:00 info chat[21877]: ATZ^M^M
2014-05-14T20:05:03+02:00 info chat[21877]: OK
2014-05-14T20:05:03+02:00 info chat[21877]: -- got it
2014-05-14T20:05:03+02:00 info chat[21877]: send (ATDT#777^M)
2014-05-14T20:05:04+02:00 info chat[21877]: expect (CONNECT)
2014-05-14T20:05:04+02:00 info chat[21877]: ^M
2014-05-14T20:05:04+02:00 info chat[21877]: ATDT#777^M^M
2014-05-14T20:05:04+02:00 info chat[21877]: CONNECT
2014-05-14T20:05:04+02:00 info chat[21877]: -- got it
2014-05-14T20:05:04+02:00 info chat[21877]: send (^M)
2014-05-14T20:05:04+02:00 info pppd[21871]: Serial connection established.
2014-05-14T20:05:04+02:00 info pppd[21871]: Using interface 3g-wan2
2014-05-14T20:05:04+02:00 notice pppd[21871]: Connect: 3g-wan2 <--> /dev/ttyUSB0
2014-05-14T20:05:04+02:00 info pppd[21871]: CHAP authentication succeeded
2014-05-14T20:05:05+02:00 info pppd[]: Last message 'CHAP authentication ' repeated 1 times, supressed by syslog-ng on turris
2014-05-14T20:05:05+02:00 notice pppd[21871]: local IP address 85.160.17.135
2014-05-14T20:05:05+02:00 notice pppd[21871]: remote IP address 10.160.3.42
2014-05-14T20:05:05+02:00 notice pppd[21871]: primary DNS address 160.218.161.60
2014-05-14T20:05:05+02:00 notice pppd[21871]: secondary DNS address 160.218.167.5
2014-05-14T20:05:05+02:00 notice netifd[]: Interface 'wan2' is now up
2014-05-14T20:05:05+02:00 notice firewall[]: Reloading firewall due to ifup of wan2 (3g-wan2)
2014-05-14T20:05:05+02:00 notice turris-firewall-rules[]: Failed to download
https://api.turris.cz/firewall/turris-rules.sign2014-05-14T20:05:05+02:00 info ucollect[21619]: Reconfiguring
2014-05-14T20:05:05+02:00 info ucollect[21619]: Initializing PCAP (in) on 3g-wan2
2014-05-14T20:05:05+02:00 info kernel[]: [1048213.837610] device 3g-wan2 entered promiscuous mode
2014-05-14T20:05:05+02:00 info ucollect[21619]: Initializing PCAP (out) on 3g-wan2
2014-05-14T20:06:01+02:00 info cron[22180]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2014-05-14T20:06:01+02:00 info cron[22181]: (root) CMD (nethist_stats.lua)
2014-05-14T20:07:01+02:00 info cron[22268]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2014-05-14T20:07:29+02:00 info ucollect[21619]: Reconnecting to api.turris.cz:5678 now
2014-05-14T20:07:29+02:00 info ucollect[21619]: Socat started
2014-05-14T20:07:29+02:00 err ucollect[21619]: Failed to resolve uplink api.turris.cz:5678: Name or service not known
2014-05-14T20:07:29+02:00 warning ucollect[21619]: Didn't get any V4 address in resolution of api.turris.cz
2014-05-14T20:07:29+02:00 warning ucollect[21619]: Didn't get any V6 address in resolution of api.turris.cz
2014-05-14T20:07:29+02:00 err ucollect[21619]: Error from socat: 2014/05/14 20:07:29 socat[22348] E getaddrinfo("api.turris.cz", "(null)", {1,2,1,6}, {}): Name or service not known
2014-05-14T20:07:29+02:00 warning ucollect[21619]: Remote closed the uplink api.turris.cz:5678, reconnecting
2014-05-14T20:07:29+02:00 warning ucollect[21619]: epoll_wait on 5 interrupted, retry
2014-05-14T20:07:29+02:00 info ucollect[21619]: Reconnecting to api.turris.cz:5678 now
2014-05-14T20:07:29+02:00 warning ucollect[21619]: Reconnecting too often, waiting a little while
2014-05-14T20:07:29+02:00 info ucollect[21619]: Going to reconnect to api.turris.cz:5678 after 300 seconds
2014-05-14T20:08:01+02:00 info cron[22409]: (root) CMD (/usr/bin/rainbow_button_sync.sh)
2014-05-14T20:08:01+02:00 info cron[22410]: (root) CMD (nethist_stats.lua)"