<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Поднять 3G из терминала]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=29752&amp;type=atom" />
	<updated>2013-08-21T17:02:44Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=29752</id>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359516#p359516" />
			<content type="html"><![CDATA[<p>установить пакет ppp (при установке через &quot;эксперт инсталл&quot; можно установить ppp)</p><p>создать два файла</p><p>1 /etc/ppp/peers/web</p><p>/dev/ttyUSB0<br />57600<br />noauth<br />defaultroute<br />usepeerdns<br />persist<br />noipdefault<br />lock<br />connect &#039;/usr/sbin/chat -v -f /etc/chatscripts/connect&#039;<br />novjccomp<br />nopcomp<br />noaccomp<br />noipdefault<br />nodeflate<br />novj<br />____________________<br />usepeerdns&nbsp; -&nbsp; &nbsp;убрать, но прописывать свои dns, если не убирать мегафоновские днс автоматом прописываются</p><p>2 /etc/chatscripts/connect</p><p>TIMEOUT 45<br />ABORT &#039;NO ANSWER&#039;<br />ABORT &#039;BUSY&#039;<br />ABORT &#039;NO CARRIER&#039;<br />SAY &#039;Starting GPRS connection\n&#039;<br />ABORT ERROR<br />&quot;&quot; &#039;ATZ&#039;<br />&quot;&quot; &#039;ATE1&#039;<br />OK AT+CGDCONT=1,&quot;IP&quot;,&quot;internet&quot;<br />OK ATD*99#<br />CONNECT c<br />___________________</p><br /><p>Подключение: pppd call web или pon web<br />Отключение: killall pppd или poff web</p><p>работает почти во всех линуксах, а может и во всех</p>]]></content>
			<author>
				<name><![CDATA[yugriy]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30703</uri>
			</author>
			<updated>2013-08-21T17:02:44Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359516#p359516</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359360#p359360" />
			<content type="html"><![CDATA[<p><strong>mexx</strong>, похоже, что да, т.к. клик по ним открывает один и тот же пакет <strong>debconf_1.5.49_all.deb</strong>.</p>]]></content>
			<author>
				<name><![CDATA[redix]]></name>
				<uri>https://linuxforum.ru/profile.php?id=29254</uri>
			</author>
			<updated>2013-08-20T16:55:31Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359360#p359360</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359359#p359359" />
			<content type="html"><![CDATA[<p>Да, не ниже указанной.</p>]]></content>
			<author>
				<name><![CDATA[yars]]></name>
				<uri>https://linuxforum.ru/profile.php?id=22799</uri>
			</author>
			<updated>2013-08-20T16:51:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359359#p359359</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359358#p359358" />
			<content type="html"><![CDATA[<p>Да, видел.<br />1 и 2 будут удовлетворены одним пакетом debconf версии выше указанной, так?</p>]]></content>
			<author>
				<name><![CDATA[mexx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8516</uri>
			</author>
			<updated>2013-08-20T16:47:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359358#p359358</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359323#p359323" />
			<content type="html"><![CDATA[<p><strong>mexx</strong>, <em>Чтобы продать что-нибудь ненужное, нужно сначала купить что-нибудь ненужное, а у нас денег нет.</em> (дядя Фёдор, «Тро́е из Простоква́шино»)&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p><p>Кстати, вот зависимости (на всякий случай):<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p><strong>Requires:</strong><br />debconf (&gt;= 0.5.00) | cdebconf<br />debconf (&gt;= 0.5) | debconf-2.0<br />libc6 (&gt;= 2.3.4)<br />libgcc1 (&gt;= 1:4.1.1)<br />libstdc++6 (&gt;= 4.1.1)<br />libuniconf4.6<br />libwvstreams4.6-base<br />libwvstreams4.6-extras<br />ppp (&gt;= 2.3.0)</p></div></div>]]></content>
			<author>
				<name><![CDATA[redix]]></name>
				<uri>https://linuxforum.ru/profile.php?id=29254</uri>
			</author>
			<updated>2013-08-20T14:14:51Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359323#p359323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359321#p359321" />
			<content type="html"><![CDATA[<p>Да. Но чтобы скачать пакет - нужен Интернет, а чтобы был Интернет - надо скачать пакет <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /> <br />Не проблема, запишу на флешку.<br />Еще раз спасибо.</p>]]></content>
			<author>
				<name><![CDATA[mexx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8516</uri>
			</author>
			<updated>2013-08-20T14:06:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359321#p359321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359318#p359318" />
			<content type="html"><![CDATA[<p><strong>mexx</strong>, <a href="http://pkgs.org/debian-wheezy/debian-main-amd64/wvdial_1.61-4.1_amd64.deb.html">http://pkgs.org/debian-wheezy/debian-ma … 4.deb.html</a></p>]]></content>
			<author>
				<name><![CDATA[redix]]></name>
				<uri>https://linuxforum.ru/profile.php?id=29254</uri>
			</author>
			<updated>2013-08-20T13:57:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359318#p359318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359317#p359317" />
			<content type="html"><![CDATA[<p><strong>redix<br />Lupo Alberto</strong><br />Спасибо, заработало.</p><p>P.S.: Первую половину мануала в упомянутой статье для Debian7 с DVD#1 проходить не надо - уже все есть. После установки и настройки конфига wvdial все заработало. <br />Жаль только, что пакеты wvdial на DVD#2&nbsp; <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[mexx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8516</uri>
			</author>
			<updated>2013-08-20T13:54:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359317#p359317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359225#p359225" />
			<content type="html"><![CDATA[<p>Как вариант — <a href="http://en.wikipedia.org/wiki/WvDial">wvdial</a>.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-08-20T09:06:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359225#p359225</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359221#p359221" />
			<content type="html"><![CDATA[<p><strong>mexx</strong>, здесь можно прочитать об этом. <a href="http://dmitrykhn.homedns.org/wp/2011/01/ubuntu-3g-modem-terminal/">http://dmitrykhn.homedns.org/wp/2011/01 … -terminal/</a></p>]]></content>
			<author>
				<name><![CDATA[redix]]></name>
				<uri>https://linuxforum.ru/profile.php?id=29254</uri>
			</author>
			<updated>2013-08-20T08:49:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359221#p359221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359218#p359218" />
			<content type="html"><![CDATA[<p>Выполнить<br /></p><div class="codebox"><pre><code># ifconfig wwan0 up</code></pre></div><p>и<br /></p><div class="codebox"><pre><code># ifconfig ppp0 up</code></pre></div><p>пробовал, конечно, не поднимает.</p>]]></content>
			<author>
				<name><![CDATA[mexx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8516</uri>
			</author>
			<updated>2013-08-20T08:44:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359218#p359218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Поднять 3G из терминала]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=359215#p359215" />
			<content type="html"><![CDATA[<p>Под Debian 7.1.0 настроено мобильное соединение через 3G модем-свисток МегаФон.<br />После загрузки системы подключаю в USB модем, система его находит. </p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Интерфейсы:</div><div class="fancy_spoiler"><div class="codebox"><pre><code>user@user:/home/user# ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13640 (13.3 KiB)  TX bytes:13640 (13.3 KiB)

wwan0     Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</code></pre></div></div></div><p>Через NM подключаюсь - все работает как часы.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Интерфейсы:</div><div class="fancy_spoiler"><div class="quotebox"><blockquote><p>user@user:/home/user# ifconfig -a<br />lo&nbsp; &nbsp; &nbsp; &nbsp; Link encap:Local Loopback&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:127.0.0.1&nbsp; Mask:255.0.0.0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet6 addr: ::1/128 Scope:Host<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP LOOPBACK RUNNING&nbsp; MTU:16436&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:160 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:160 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:0 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:13056 (12.7 KiB)&nbsp; TX bytes:13056 (12.7 KiB)</p><p>ppp0&nbsp; &nbsp; &nbsp; Link encap:Point-to-Point Protocol&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inet addr:YYY.YY.YY.YYY&nbsp; P-t-P:10.64.64.64&nbsp; Mask:255.255.255.255<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; UP POINTOPOINT RUNNING NOARP MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:682 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:703 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:3 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:468621 (457.6 KiB)&nbsp; TX bytes:106060 (103.5 KiB)</p><p>wwan0&nbsp; &nbsp; &nbsp;Link encap:Ethernet&nbsp; HWaddr XX:XX:XX:XX:XX:XX&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BROADCAST MULTICAST&nbsp; MTU:1500&nbsp; Metric:1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; collisions:0 txqueuelen:1000 <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RX bytes:0 (0.0 B)&nbsp; TX bytes:0 (0.0 B)</p></blockquote></div></div></div><p>Маршрутизация:</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Криво, но понятно:</div><div class="fancy_spoiler"><div class="codebox"><pre><code>user@user:/home/user# netstat -n -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         10.64.64.64     0.0.0.0         UG        0 0          0 ppp0
10.64.64.64     0.0.0.0         255.255.255.255 UH        0 0          0 ppp0</code></pre></div></div></div><p>Как поднять 3G из консоли без графики?</p>]]></content>
			<author>
				<name><![CDATA[mexx]]></name>
				<uri>https://linuxforum.ru/profile.php?id=8516</uri>
			</author>
			<updated>2013-08-20T08:39:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=359215#p359215</id>
		</entry>
</feed>
