<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TuXHaT&#187; Fedora Archives  &#8211; Blog Title</title>
	<atom:link href="http://www.tuxhat.com/category/linux/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tuxhat.com</link>
	<description>Linux / sysadmin / Debian / Ubuntu / Red Hat / Centos</description>
	<lastBuildDate>Tue, 13 Oct 2009 07:25:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to configure Reliance netconnect Broadband+ EVDO connection on linux</title>
		<link>http://www.tuxhat.com/linux/reliance-netconnect-broadband-on-linux/</link>
		<comments>http://www.tuxhat.com/linux/reliance-netconnect-broadband-on-linux/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 19:01:30 +0000</pubDate>
		<dc:creator>tux</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Broadand wireless internet in india on linux]]></category>
		<category><![CDATA[EVDO]]></category>
		<category><![CDATA[Reliance]]></category>
		<category><![CDATA[Reliance EVDO broadband connection]]></category>
		<category><![CDATA[Reliance netconnect Broadband+ on linux]]></category>

		<guid isPermaLink="false">http://www.tuxhat.com/?p=24</guid>
		<description><![CDATA[I recently started using Reliance netconnect Broadband+ EVDO connection on linux. I didn&#8217;t find exact help on how to get the EVDO modem ( ZTE AC8710) working on linux. So I thought of sharing the procedure,

The above picture shows the ZTE AC8710 modem I got along with my connection. It&#8217;s pretty easy to install it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently started using Reliance netconnect Broadband+ EVDO connection on linux. I didn&#8217;t find exact help on how to get the EVDO modem ( ZTE AC8710) working on linux. So I thought of sharing the procedure,</p>
<p><img class="aligncenter size-medium wp-image-25" title="ZTE AC8710 EVDO Modem" src="http://www.tuxhat.com/wp-content/uploads/2009/04/zte_ac8710-300x225.jpg" alt="ZTE AC8710 EVDO Modem" width="300" height="225" /></p>
<p>The above picture shows the ZTE AC8710 modem I got along with my connection. It&#8217;s pretty easy to install it in windows, you even do not need to have the driver CD. Just plug in the modem, at first it will be detected as a storage device. The storage device have the modem driver built into it, so an autoplay will install the modem driver and reliance net connecting suite on to your windows.</p>
<p>The feature of USB devices to have multiple configuration (storage device / modem) can cause hell lot of confusions, while using it in linux. Let me explain,</p>
<p>First I inserted my USB modem on to the port in Fedora 10 installed box, below is the kernel message and command  output of &#8216;lsusb&#8217; ,</p>
<pre>
======= Kernel message ====

usb 3-1: new full speed USB device using uhci_hcd and address 7
usb 3-1: New USB device found, idVendor=19d2, idProduct=fff6
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: USB Storage
usb 3-1: Manufacturer: ZTE, Incorporated
usb 3-1: SerialNumber: 000000000002
usb 3-1: configuration #1 chosen from 1 choice
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 6:0:0:0: CD-ROM            ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
sr1: scsi-1 drive
sr 6:0:0:0: Attached scsi CD-ROM sr1
sr 6:0:0:0: Attached scsi generic sg3 type 5
sr1: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00
sr: Sense Key : No Sense [current]
sr: Add. Sense: No additional sense information
</pre>
<pre>
===== lsusb =======

[root@localhost win]# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 009: ID 19d2:fff6 ONDA Communication S.p.A.
Bus 003 Device 006: ID 1058:0704 Western Digital Technologies, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost win]#
</pre>
<p>The kernel message says, it detected the modem as a storage device. Exactly as a SCSI cdrom device /dev/sr1. The lsusb output gives the device id and vendor id as 19d2 and fff6 respectively.  Mean my fedora 10 box was able to detect configuration 1 (storage) but not configuration 2 ( Modem ) of the USB device.</p>
<p>I was quite sure that I do not have the device driver required to detect the modem in my list of kernel modules. After some search, I found the kernel module &#8216;usbserial.ko&#8217; which is needed to make the modem ZTE AC8710 work.</p>
<p>Luckily, before trying usbserial I found linux device driver pack for BSNL EVDO connection from the homepage of the USB modem provider. Locate it here,</p>
<p><strong>http://www.ztemt.com.cn/ennewzte/service/ziliao.action</strong></p>
<p>The driver from the above link is for ZTE AC8700 and  not AC8710, still I made up my mind to try. The driver pack consists below files,</p>
<p>ztemtEVDO-1.1-8-i386-ubuntu804.deb<br />
ztemtEVDO-1.1-8.i586-fedora9.rpm<br />
ztemtEVDO-1.1-8.i586-suse103.rpm</p>
<p>I choose fedora9 for my fedora10 installation, the installation went fine. The installation adds a service named &#8221;ztemtvcdromd&#8221; to your runlevel. What does service ztemtvcdromd do ?</p>
<p>* Installs udev rules needed to detect the USB EVDO modem</p>
<p>* Inserts USB module ztemt.ko</p>
<p>* Starts the process /usr/sbin/ztemtvcdromd</p>
<p>I started the service all worked well, except the loading of the kernel module ztemt.ko. I found that ztemt.ko was not  compiled for my version of kernel 2.6.29.</p>
<p>Replugged the modem. Once again I went through the kernel messages and lsusb output. To my surprise I found my product id changed from 0xfff6 to 0xfff1 with below messages from kernel,</p>
<pre>
======= Kernel message ====

usb 3-1: new full speed USB device using uhci_hcd and address 8
usb 3-1: New USB device found, idVendor=19d2, idProduct=fff6
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-1: Product: USB Storage
usb 3-1: Manufacturer: ZTE, Incorporated
usb 3-1: SerialNumber: 000000000002
usb 3-1: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 7:0:0:0: CD-ROM            ZTE      USB Storage FFF1 2.31 PQ: 0 ANSI: 2
sr1: scsi-1 drive
sr 7:0:0:0: Attached scsi CD-ROM sr1
sr 7:0:0:0: Attached scsi generic sg3 type 5
usb 3-1: USB disconnect, address 8
usb 3-1: new full speed USB device using uhci_hcd and address 9
usb 3-1: New USB device found, idVendor=19d2, idProduct=fff1
usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-1: Product: ZTE CDMA Tech
usb 3-1: Manufacturer: ZTE, Incorporated
usb 3-1: configuration #1 chosen from 1 choice
</pre>
<pre>
===== lsusb =======

[root@localhost ztemtEVDO]# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 009: ID 19d2:fff1 ONDA Communication S.p.A.
Bus 003 Device 006: ID 1058:0704 Western Digital Technologies, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[root@localhost ztemtEVDO]#
</pre>
<p>The kernel was now able to detect the second USB configuration of the device with vendor id 0&#215;19d2 and 0xfff1, which is suppose our CDMA modem. Now the final thing to be done is load the kernel module ztemt.ko. I found the source code for the kernel module in the following location, which came along with the driver package provided by the vendor,</p>
<p>/usr/local/bin/ztemtEVDO/usb-serial.tar.gz</p>
<p>I recompiled it for my version of kernel (2.6.29) and loaded ztemt.ko. Again replugged the USB modem. But couldn&#8217;t find the device getting registered in /dev. So  I went through the source code of ztemt.ko and found it similar to native driver provided by the linux kernel for USB serial modems (usbserial.ko)</p>
<p>So I decided to go with usbserial.ko,</p>
<p>* Restarted the service ztemtvcdromd</p>
<p>* Ensured that the driver ztemt.ko is not loaded</p>
<p>* Took vendor id and device id from lsusb output, which is 19d2:fff1 for me.</p>
<p>* Executed command &#8216;modprobe usbserial vendor=0&#215;19d2 product=0xfff1&#8242;</p>
<p>Now I got the below kernel message,</p>
<pre>
usbserial_generic 3-1:1.0: generic converter detected
usb 3-1: generic converter now attached to ttyUSB0
usbserial_generic 3-1:1.1: generic converter detected
usb 3-1: generic converter now attached to ttyUSB1
usbserial_generic 3-1:1.2: generic converter detected
usb 3-1: generic converter now attached to ttyUSB2
usbserial_generic 3-1:1.3: generic converter detected
usb 3-1: generic converter now attached to ttyUSB3
usbserial_generic 3-1:1.4: generic converter detected
usb 3-1: generic converter now attached to ttyUSB4
</pre>
<p>It shows that my modem is registered as /dev/ttyUSB0, success!!</p>
<p>I wrote below wvdial script in /etc/wvdial.conf,</p>
<pre>
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Username = xxxxxx # Your 10 digit phone number
Init1 = ATZ
Password = xxxxxxx # Your 10 digit phone number
Modem = /dev/ttyUSB0
Baud = 3686400
Phone = #777
stupid mode = 1
</pre>
<p>Now it is all set to establish the connection, executed command &#8216;wvdial&#8217; as root. I got connected to the internet Hurrreh!!,</p>
<pre>
--&gt; WvDial: Internet dialer version 1.60
--&gt; Cannot get information for serial port.
--&gt; Initializing modem.
--&gt; Sending: ATZ
ATZ
OK
--&gt; Sending: ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0
OK
--&gt; Modem initialized.
--&gt; Sending: ATDT#777
--&gt; Waiting for carrier.
ATDT#777
CONNECT
--&gt; Carrier detected.  Starting PPP immediately.
--&gt; Starting pppd at Thu Apr  9 11:45:27 2009
--&gt; Pid of pppd: 9389
--&gt; Using interface ppp0
--&gt; local  IP address 115.240.95.59
--&gt; remote IP address 220.224.141.129
--&gt; primary   DNS address 202.138.97.193
--&gt; secondary DNS address 202.138.96.2
</pre>
<p>Now copy your primary and secondary nameservers to /etc/resolv.conf,</p>
<pre>
[root@localhost ztemtEVDO]# cat /etc/resolv.conf
nameserver 202.138.96.2
nameserver 202.138.97.193
</pre>
<p>Now try any browser and access your websites or download with Reliance netconnect broadband+ EVDO connection <img src='http://www.tuxhat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   On an average I got 60kBps download speed.</p>
<p>Later on I edited service script /etc/init.d/ztemtvcdromd to remove &#8216;/sbin/modprobe ztemt.ko&#8217; and &#8216;/sbin/rmmod ztemt.ko&#8217; from start and stop cases respectively. Then added lines &#8216;/sbin/modprobe usbserial vendor=0&#215;19d2 product=0xfff1&#8242; and &#8216;/sbin/rmmod usbserial&#8217;   to start and stop cases respectively.</p>
<p>FYI:  Product ID may differ in your case, so be careful in noting it down from &#8216;dmesg&#8217; or &#8216;lsusb&#8217; output.</p>
<p>Issues detected:</p>
<p>Reconnecting second time to internet doesn&#8217;t work once you disconnect your connection by using Ctrl-C to wvdial. Re-inserting the modem to USB port will solve it <img src='http://www.tuxhat.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Contact: asalamr@gmail.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuxhat.com/linux/reliance-netconnect-broadband-on-linux/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>remove pulse audio from fedora 9</title>
		<link>http://www.tuxhat.com/linux/fedora/remove-pulse-audio-from-fedora-9/</link>
		<comments>http://www.tuxhat.com/linux/fedora/remove-pulse-audio-from-fedora-9/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 17:36:00 +0000</pubDate>
		<dc:creator>tux</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[ALSA]]></category>
		<category><![CDATA[fedora 9]]></category>
		<category><![CDATA[pulse audio]]></category>

		<guid isPermaLink="false">http://www.tuxhat.com/?p=6</guid>
		<description><![CDATA[Pulse audio is still buggy in fedora 9, so don&#8217;t use it. Problems encountered,
* No simultaneous access to the dsp device  
* When switching from X to tty background audio crashes
So remove pulse audio and fall back to ALSA,
 yum remove  pulseaudio alsa-plugins-pulseaudio
]]></description>
			<content:encoded><![CDATA[<p>Pulse audio is still buggy in fedora 9, so don&#8217;t use it. Problems encountered,</p>
<p>* No simultaneous access to the dsp device <img src='http://www.tuxhat.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>* When switching from X to tty background audio crashes</p>
<p>So remove pulse audio and fall back to ALSA,</p>
<p><strong> yum remove  pulseaudio alsa-plugins-pulseaudio</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuxhat.com/linux/fedora/remove-pulse-audio-from-fedora-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
