{"id":34,"date":"2007-07-10T15:07:41","date_gmt":"2007-07-10T12:07:41","guid":{"rendered":"http:\/\/people.proekspert.ee\/urmet\/blog\/?p=34"},"modified":"2007-07-19T16:26:36","modified_gmt":"2007-07-19T13:26:36","slug":"kou-internet-service-and-linux","status":"publish","type":"post","link":"https:\/\/urmet.sytes.net\/blog\/2007\/07\/kou-internet-service-and-linux\/","title":{"rendered":"K\u00c3\u00b5u internet service and Linux"},"content":{"rendered":"<p><a href=\"http:\/\/www.energia.ee\">Eesti Energia<\/a>&#8216;s data division <a href=\"http:\/\/www.televork.ee\">Telev\u00c3\u00b5rk<\/a> introduced a new country-wide Internet service called <a href=\"http:\/\/www.kou.ee\/\">K\u00c3\u2022U<\/a> (&#8220;Thunder&#8221; in English).<\/p>\n<p>It&#8217;s based on 450 MHz CDMA2000 1xEV-DO. Max 2 Mbps down, 144 Kbps up.<br \/>\nNetwork hardware is provided by Chinese ZTE Corporation. The main end-user device is  MG478, which is a matchbox-sized USB device with an external antenna option.<br \/>\nIt works under Linux but any on-line information is hard to find. Here are my notes.<br \/>\n<!--more--><\/p>\n<p>With regards to coverage, they are recommending the (more expensive) router as you can connect a TV antenna to it and get up to 30 km from the nearest base station. A 20 cm quarter-wave (?) magnetic mount antenna is included with the USB device. There shouldn&#8217;t be a problem connecting a Yagi (they are saying a decimeter-wave TV antenna oriented vertically is OK ) if you rig up the right connector. An adapter (female SMA) is included for the car antenna.<\/p>\n<p>This is what it looks like  in \/proc\/bus\/usb\/devices:<\/p>\n<pre>T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  7 Spd=12  MxCh= 0\r\nD:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1\r\nP:  Vendor=19d2 ProdID=fffe Rev= 0.00\r\nS:  Manufacturer=ZTE, Incorporated\r\nS:  Product=ZTE CDMA Tech\r\nC:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=  0mA<\/pre>\n<p>Here&#8217;s what you do to set it up.<\/p>\n<p>First you say (as root) that this device is a serial device:<\/p>\n<pre>modprobe usbserial vendor=0x19d2 product=0xfffe<\/pre>\n<p>After doing this, plugging in the MG478 should generate log entries referring to a new USB serial port. Like this.<\/p>\n<pre>Jul 12 15:00:37 think-uj kernel: usb 3-1: new full speed USB device using uhci_hcd and address 18\r\nJul 12 15:00:37 think-uj kernel: usb 3-1: configuration #1 chosen from 1 choice\r\nJul 12 15:00:37 think-uj kernel: usbserial_generic 3-1:1.0: generic converter detected\r\nJul 12 15:00:37 think-uj kernel: usb 3-1: generic converter now attached to ttyUSB0\r\nJul 12 15:00:37 think-uj kernel: usbserial_generic 3-1:1.1: generic converter detected\r\nJul 12 15:00:37 think-uj kernel: usb 3-1: generic converter now attached to ttyUSB1\r\nJul 12 15:00:37 think-uj kernel: usbserial_generic 3-1:1.2: generic converter detected\r\nJul 12 15:00:37 think-uj kernel: usb 3-1: generic converter now attached to ttyUSB2<\/pre>\n<p>From syslog above you see that the modem has been attached to ttyUSB0, ttyUSB1 and ttyUSB2. \/dev\/ttyUSB0 is the port that you need to use for setting up a PPP connection.<\/p>\n<p>I am using Gnome PPP for the connection. No init strings are  needed. I unchecked the &#8220;Check for carrier line&#8221; checkbox, otherwise it got an error almost immediately. The PPP connection stayed open, thus I had to disconnect the device before each try.<br \/>\nWhen setting up PPP, these are the key parameters:<\/p>\n<p>User: <em>ESN on the box<\/em><\/p>\n<p>Password: cdma<\/p>\n<p>Phone: #777<\/p>\n<p>Modem device: \/dev\/ttyUSB0<\/p>\n<p>Speed: 460800<br \/>\n<a title=\"Connected to K\u00c3\u0192\u00c2\u00b5u\" class=\"imagelink\" href=\"https:\/\/urmet.sytes.net\/blog\/wp-content\/uploads\/2007\/07\/kou-Screenshot.png\"><img decoding=\"async\" alt=\"Connected to K\u00c3\u0192\u00c2\u00b5u\" id=\"image35\" src=\"https:\/\/urmet.sytes.net\/blog\/wp-content\/uploads\/2007\/07\/kou-Screenshot.thumbnail.png\" \/><\/a><\/p>\n<p>A Russian guy has a page on another ZTE device, AC8700. There are pppd config files included: http:\/\/onorua.livejournal.com\/12553.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Eesti Energia&#8216;s data division Telev\u00c3\u00b5rk introduced a new country-wide Internet service called K\u00c3\u2022U (&#8220;Thunder&#8221; in English). It&#8217;s based on 450 MHz CDMA2000 1xEV-DO. Max 2 Mbps down, 144 Kbps up. Network hardware is provided by Chinese ZTE Corporation. The main end-user device is MG478, which is a matchbox-sized USB device with an external antenna option.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/posts\/34"}],"collection":[{"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":0,"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"wp:attachment":[{"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/urmet.sytes.net\/blog\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}