<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3449018504953905452</id><updated>2024-09-07T07:49:44.275+05:30</updated><category term="Ubuntu"/><category term="Fedora"/><category term="Huawei 121"/><category term="Linux"/><category term="OpenSSL"/><category term="RHEL"/><category term="TATA Photon  Whiz"/><category term="Xchat/IRC"/><title type='text'>Linux &amp;amp; Security Ramblings</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxnibbles.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449018504953905452/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxnibbles.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06569199683779150886</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3449018504953905452.post-6318630336324222682</id><published>2010-10-23T23:05:00.000+05:30</published><updated>2014-02-16T11:15:47.031+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="OpenSSL"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Xchat/IRC"/><title type='text'>Freenode IRC - Connect via Openssl with SASL authentication</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13px; text-align: left;&quot;&gt;Migration of freenode to new server from hyperion-ircd to ircd-seven happened in January end,2010.With which one can connect to IRC freenode via OpenSSL encryption between client &amp;amp; server .Using a script in Irssi one can get authentication via SASL.Freenode&#39;s standard port is 6667 but listen&#39;s for SSL connections on ports 7000 and 7070.So here are steps of how to get SSL and SASL setup for Irssi:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;
&lt;br /&gt;
&lt;b&gt; 1)Perl libraries required:&lt;/b&gt; Before hand to run Irssi script pre-requisite perl lib are Blowfish, DH and BIGNUM&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 2)For Debian/Ubuntu ( install irssi,perl lib pre-requisites &amp;amp; Openssl) :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install irssi openssl libcrypt-openssl-bignum-perl libcrypt-dh-perl libcrypt-blowfish-perl&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 3)&amp;nbsp;At terminal:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
cd ~/.irssi/scripts&lt;br /&gt;
sudo mkdir autorun&amp;nbsp; ## only if you do not have this directory already&lt;br /&gt;
sudo wget &lt;a href=&quot;http://www.freenode.net/sasl/cap_sasl.pl%C2%A0&quot;&gt;http://www.freenode.net/sasl/cap_sasl.pl&amp;nbsp;&lt;/a&gt; ##location of cap_sasl.pl is ~/.irssi/scripts/autorun/&lt;br /&gt;
cd autorun&lt;br /&gt;
sudo ln -s ../cap_sasl.pl cap_sasl.pl&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 4)Start up irssi without connecting to anything :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
irssi -!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 5)Once in Irssi,at Status, setup your username and password for SASL:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; /server add -auto -ssl -network freenode irc.freenode.net 7000&lt;br /&gt;
&amp;nbsp; /server add -auto -ssl -ssl_cacert /etc/ssl/certs/GandiStandardSSLCA.pem -network freenode irc.freenode.net 7000(##Incase if you have any certification issues pass these command)&amp;nbsp; &lt;br /&gt;
&amp;nbsp; /sasl set freenode your_nick your_password DH-BLOWFISH&lt;br /&gt;
&amp;nbsp; /sasl save&lt;br /&gt;
&amp;nbsp; /save&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;b&gt; 6)Quit Irssi&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 7)Edit config file of irssi :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
sudo vi ~/.irssi/config (## search for section servers and see if below entries matches &amp;amp; update as below)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; address = &quot;chat.us.freenode.net&quot;;&lt;br /&gt;
&amp;nbsp; chatnet = &quot;freenode&quot;;&lt;br /&gt;
&amp;nbsp; port = &quot;7000&quot;;&lt;br /&gt;
&amp;nbsp; use_ssl = &quot;yes&quot;;&lt;br /&gt;
&amp;nbsp; ssl_verify = &quot;yes&quot;;&lt;br /&gt;
&amp;nbsp; ssl_capath = &quot;/etc/ssl/certs&quot;;&lt;br /&gt;
&amp;nbsp; autoconnect = &quot;yes&quot;;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 8)Now simply fire up irssi-windows ( for window&#39;s navigation btw channels).You may get something like these :&lt;/b&gt; &lt;br /&gt;
17:36 -!- Irssi: Looking up chat.us.freenode.net&lt;br /&gt;
17:36 -!- Irssi: SASL: auth loaded from /home/binnishah/.irssi/sasl.auth&lt;br /&gt;
17:36 -!- Irssi: Connecting to chat.us.freenode.net [140.211.166.4] port 7000&lt;br /&gt;
17:36 -!- Irssi: Connection to chat.us.freenode.net established&lt;br /&gt;
17:36 !niven.freenode.net *** Looking up your hostname...&lt;br /&gt;
17:36 !niven.freenode.net *** Checking Ident&lt;br /&gt;
17:36 -!- Irssi: CLICAP: supported by server: identify-msg multi-prefix sasl&lt;br /&gt;
17:36 -!- Irssi: CLICAP: requesting: multi-prefix sasl&lt;br /&gt;
17:36 -!- Irssi: CLICAP: now enabled: multi-prefix sasl&lt;br /&gt;
17:36 -!- binnishah!&lt;a href=&quot;mailto:binnishah@unaffiliated&quot;&gt;binnishah@unaffiliated&lt;/a&gt;/abms1116 abms1116 You are now logged in as abms1116.&lt;br /&gt;
17:36 -!- Irssi: SASL authentication successful&lt;br /&gt;
17:36 -!- Welcome to the freenode Internet Relay Chat Network binnishah&lt;br /&gt;
17:36 -!- Your host is niven.freenode.net[140.211.166.4/7000], running version ircd-seven-1.0.1&lt;br /&gt;
17:36 -!- This server was created Sat Jan 30 2010 at 21:09:36 UTC&lt;br /&gt;
17:36 -!- niven.freenode.net ircd-seven-1.0.1 DOQRSZaghilopswz CFILMPQbcefgijklmnopqrstvz bkloveqjfI&lt;br /&gt;
17:36 -!- CHANTYPES=# EXCEPTS INVEX CHANMODES=eIbq,k,flj,CFLMPQScgimnprstz CHANLIMIT=#:120 PREFIX=(ov)@+ MAXLIST=bqeI:100 MODES=4 NETWORK=freenode KNOCK STATUSMSG=@+ CALLERID=g are supported by this server&lt;br /&gt;
17:36 -!- SAFELIST ELIST=U CASEMAPPING=rfc1459 CHARSET=ascii NICKLEN=16 CHANNELLEN=50 TOPICLEN=390 ETRACE CPRIVMSG CNOTICE DEAF=D MONITOR=100 are supported by this server&lt;br /&gt;
17:36 -!- FNC TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: EXTBAN=$,arx WHOX CLIENTVER=3.0 are supported by this server&lt;br /&gt;
17:36 -!- There are 899 users and 52716 invisible on 23 servers&lt;br /&gt;
17:36 -!- 37 IRC Operators online&lt;br /&gt;
17:36 -!- 58 unknown connection(s)&lt;br /&gt;
17:36 -!- 27761 channels formed&lt;br /&gt;
17:36 -!- I have 2559 clients and 1 servers&lt;br /&gt;
17:36 -!- 2559 4459 Current local users 2559, max 4459&lt;br /&gt;
17:36 -!- 53615 60092 Current global users 53615, max 60092&lt;br /&gt;
17:36 -!- Highest connection count: 4460 (4459 clients) (271988 connections received)&lt;br /&gt;
17:36 -!- - niven.freenode.net Message of the Day&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt; *Xchat configuration to SSL :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
From Menu select--&amp;gt; Network list --&amp;gt;Networks --&amp;gt;Select freenode --&amp;gt; Edit--&amp;gt;Servers for freenode --&amp;gt;Add &quot;irc.freenode.net/7070&quot; --&amp;gt;set nickserv password&lt;br /&gt;
On same window you may find --&amp;gt; Connecting --&amp;gt;Click on &quot;Use SSL for all servers on these Network&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt; On connection via SSL with port 7070 on Xchat&lt;/u&gt; ,you may find it like these:&lt;br /&gt;
&lt;br /&gt;
* * Certification info:&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Subject:&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OU=Domain Control Validated&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OU=Gandi Standard Wildcard SSL&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CN=*.freenode.net&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Issuer:&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C=FR&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; O=GANDI SAS&lt;br /&gt;
*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CN=Gandi Standard SSL CA&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Public key algorithm: rsaEncryption (2048 bits)&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Sign algorithm sha1WithRSAEncryption&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Valid since Jan 13 00:00:00 2010 GMT to Jan 13 23:59:59 2011 GMT&lt;br /&gt;
* * Cipher info:&lt;br /&gt;
*&amp;nbsp;&amp;nbsp; Version: TLSv1/SSLv3, cipher DHE-RSA-AES256-SHA (256 bits)&lt;br /&gt;
* Connected. Now logging in...&lt;br /&gt;
* *** Looking up your hostname...&lt;br /&gt;
* *** Checking Ident&lt;br /&gt;
* Welcome to the freenode Internet Relay Chat Network abms1116&lt;br /&gt;
* Your host is barjavel.freenode.net[78.40.125.4/7070], running version ircd-seven-1.0.0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=linu02-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=059600270X&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script src=&quot;http://www.assoc-amazon.com/s/link-enhancer?tag=linu02-20&amp;amp;o=1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnibbles.blogspot.com/feeds/6318630336324222682/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnibbles.blogspot.com/2010/10/freenode-irc-connect-via-openssl-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449018504953905452/posts/default/6318630336324222682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449018504953905452/posts/default/6318630336324222682'/><link rel='alternate' type='text/html' href='http://linuxnibbles.blogspot.com/2010/10/freenode-irc-connect-via-openssl-with.html' title='Freenode IRC - Connect via Openssl with SASL authentication'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06569199683779150886</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3449018504953905452.post-9120855793337386544</id><published>2010-10-22T16:26:00.001+05:30</published><updated>2014-02-16T11:16:03.823+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="Huawei 121"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="RHEL"/><category scheme="http://www.blogger.com/atom/ns#" term="TATA Photon  Whiz"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>How to enable TATA Photon whiz on Ubuntu 9.04/Fedora 11 or Later - Model Hauwei - EC121</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;u&gt; &lt;/u&gt;&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td&gt;-- For all those who are using TATA Photon whiz (Hauwei -EC121 or others) these is small How to for Ubuntu 9.04 Jaunty Jackalope ,which by default can&#39;t Plug n play (atleast for me :))even with Network Manager Applet --&amp;gt;Mobile broadband --&amp;gt; Country = India --&amp;gt; Provider --&amp;gt;Tata indicom ( Plug2Surf) --&amp;gt;Uname: internet,Password=internet,Ph =#777 ( As its CDMA).&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-decoration: underline;&quot;&gt;&amp;nbsp;# Ubuntu 9.04 Photon Whiz set up&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt;1)&lt;/b&gt;By default Ubuntu 9.04 doesn&#39;t have wvdial ,so you can install it via &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;#Synaptic Package Manager --&amp;gt;search for wvdial&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;---OR--&lt;br /&gt;
&lt;br /&gt;
Insert original Ubuntu Cd&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Go to System-&amp;gt;Administration-&amp;gt;software sources. add cd as a source and close . It will update itself, Then on terminal type,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;sudo apt-get install wvdial .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 2) &lt;/b&gt;Type lsusb command and see what it gives (for me below was result)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;mailto:binnishah@google&quot;&gt;binnishah@ubuntu.com&lt;/a&gt;:~$ lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 003 Device 002: ID 045e:00a4 Microsoft Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;br /&gt;
&lt;br /&gt;
Bus 002 Device 005: ID 12d1:1411 Huawei Technologies Co., Ltd. ---------&amp;gt; ( Model #,vendor# &amp;amp; product# to trace for modprobe just in case your OS can&#39;t catch it plug n play)&lt;br /&gt;
&lt;br /&gt;
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 3)&lt;/b&gt;I have Huawei Mobile connect whose model # is EC121 and vendor = 12d1 &amp;amp; product=1411&lt;br /&gt;
&lt;br /&gt;
next,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;modprobe usbserial vendor=0xAAAA product=0xBBBB ,&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Where AAAA is 12d1 and BBBB is 1411 in my case.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 4)&lt;/b&gt; Open terminal and give command ( pl.give these while inserting USB photon drive in lap/Server)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
sudo wvdialconf /etc/wvdial.conf&amp;nbsp; ---&amp;gt;&amp;nbsp; (These will detect the modem and install it for internet connection by inserting appropriate modem configuration into /etc/wvdial.conf)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
** Pl.dont forget sudo or else you will be trapped into permission issues of /usr/sbin/pppd &amp;amp; chap-secrets &amp;amp; pap-secrets permissions and worse would be wvdial.conf wont get Baud speed rate self detected ,neither exact location of modem would be traced&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 5)&lt;/b&gt; Open wvdial.conf in /etc with :-&lt;br /&gt;
&lt;br /&gt;
sudo vi /etc/wvdial.conf ,it has some entries by default add some new &amp;amp; match it as belows:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;[Dialer Defaults]&lt;br /&gt;
&lt;br /&gt;
Init1 = ATZ&lt;br /&gt;
&lt;br /&gt;
Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;
&lt;br /&gt;
Init3 = AT+CRM=1&lt;br /&gt;
&lt;br /&gt;
Stupid Mode = 1&lt;br /&gt;
&lt;br /&gt;
New PPPD = Yes&lt;br /&gt;
&lt;br /&gt;
Modem Type = USB Modem&lt;br /&gt;
&lt;br /&gt;
Phone = #777&lt;br /&gt;
&lt;br /&gt;
ISDN = 0&lt;br /&gt;
&lt;br /&gt;
Password = internet&amp;nbsp; ---&amp;gt; Your ph number of tata/password&lt;br /&gt;
&lt;br /&gt;
Username = internet --&amp;gt; Your uname /# &lt;br /&gt;
&lt;br /&gt;
Modem = /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
Baud = 9600&amp;nbsp; --&amp;gt;Baud rate would be decided by 4rth command and written automatically into wvdial.conf script &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Now save &amp;amp; exit vi,&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 6)&amp;nbsp;&lt;/b&gt;type sudo wvdial &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;It may give you something like these:--&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;mailto:binnishah@google&quot;&gt;binnishah@ubuntu.com&lt;/a&gt;:~$ sudo wvdial&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; WvDial: Internet dialer version 1.60&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Cannot get information for serial port.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Initializing modem.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Sending: ATZ&lt;br /&gt;
&lt;br /&gt;
ATZ&lt;br /&gt;
&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Sending: ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;
&lt;br /&gt;
ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;
&lt;br /&gt;
OK&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Modem initialized.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Sending: ATDT#777&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Waiting for carrier.&lt;br /&gt;
&lt;br /&gt;
ATDT#777&lt;br /&gt;
&lt;br /&gt;
CONNECT 153600&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Carrier detected.&amp;nbsp; Starting PPP immediately.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Starting pppd at Sun Oct 18 17:47:48 2009&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Pid of pppd: 13130&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Using interface ppp0&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; local&amp;nbsp; IP address 121.245.189.171&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; remote IP address 172.23.119.14&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; primary&amp;nbsp;&amp;nbsp; DNS address 202.54.29.5&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; secondary DNS address 202.54.10.2&lt;br /&gt;
&lt;br /&gt;
^CCaught signal 2:&amp;nbsp; Attempting to exit gracefully...&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Terminating on signal 15&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Connect time 5.1 minutes.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt; Disconnecting at Sun Oct 18 17:52:50 2009&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 7)&lt;/b&gt; Command tail -f /var/log/messages --&amp;gt; Just immediately aft.connection gives following:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;mailto:binnishah@google&quot;&gt;binnishah@ubuntu.com&lt;/a&gt;:~$ tail -f /var/log/messages&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:48 google pppd[13130]: Warning - ***&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: CHAP authentication succeeded&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: CHAP authentication succeeded&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: local&amp;nbsp; IP address 121.245.189.171&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: remote IP address 172.23.119.14&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: primary&amp;nbsp;&amp;nbsp; DNS address 202.54.29.5&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:47:49 google pppd[13130]: secondary DNS address 202.54.10.2&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:52:50 google pppd[13130]: Terminating on signal 15&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:52:50 google pppd[13130]: Connect time 5.1 minutes.&lt;br /&gt;
&lt;br /&gt;
Oct 18 17:52:50 google pppd[13130]: Sent 158772 bytes, received 741237 bytes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 8)&lt;/b&gt; If you dont want to fall in hassles of pwd ( I wouldn&#39;t recommend to do so ,though)&lt;br /&gt;
&lt;br /&gt;
sudo vi&amp;nbsp; /etc/sudoers&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;# User privilege specification&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; username machine_name = NOPASSWD: /usr/bin/wvdial&lt;br /&gt;
&lt;br /&gt;
So next time when you give wvdial you dont need to type in password &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; *For Fedora-11 - TATA Photon Whiz :-&lt;br /&gt;
===================================&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It came to me as surprise that Fed-11 took it in plug n play ie:- just some tweak with Network manager applet and I was sorted out with live n kicking &lt;br /&gt;
tata photon whiz USB Mobile broadband&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 1)&lt;/b&gt; Open Network manager applet&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 2)&lt;/b&gt; In that,there&#39;s option of --&amp;gt; Mobile Broadband --&amp;gt;Add ( By default you will have Huawei Technologies or your preferable qualcom or whatever) --&amp;gt;Select it --&amp;gt;Forward --&amp;gt;Country - India --&amp;gt;Forward --&amp;gt; Select Tata Indicom(Plug2Surf) if you have photon whiz --&amp;gt;Forward -&amp;gt;Commit changes by pressing apply&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 3)&lt;/b&gt; In Popup of Editing tata Indicom &lt;br /&gt;
&lt;br /&gt;
Add your username &amp;amp; password&lt;br /&gt;
&lt;br /&gt;
and simply press apply &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; 4)&lt;/b&gt; Left click Network manager applet and you will have option of Tata Plug2surf ,select it and you are all set&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=linu02-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0672329468&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class=&quot;blogger-post-footer&quot;&gt;&lt;script src=&quot;http://www.assoc-amazon.com/s/link-enhancer?tag=linu02-20&amp;amp;o=1&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnibbles.blogspot.com/feeds/9120855793337386544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxnibbles.blogspot.com/2010/10/how-to-enable-tata-photon-whiz-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3449018504953905452/posts/default/9120855793337386544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3449018504953905452/posts/default/9120855793337386544'/><link rel='alternate' type='text/html' href='http://linuxnibbles.blogspot.com/2010/10/how-to-enable-tata-photon-whiz-on.html' title='How to enable TATA Photon whiz on Ubuntu 9.04/Fedora 11 or Later - Model Hauwei - EC121'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/06569199683779150886</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>