Archive for April, 2008

EDGE/GPRS Modem Connection In Linux

Saturday, April 5th, 2008

wvdialconf কমান্ড দিলে /etc/wvdial.conf ফাইল তৈরী হবে।
যদি wvdialconf আপনার মডেম ঠিক মতো ডিটেক্ট করতে পারে, মানে কোন ACM
ডিভাইস পাওয়া যায়, তবে /etc/wvdial.conf ফাইল খুলে এডিট করতে হবে।
আমি যেটা ইউজ করি সেটা হল এমন,

[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
# initial string for gp
Init3 = AT+CGDCONT=,,”gpinternet”
ISDN = 0
Modem Type = USB Modem
# phone numbe to dial
Phone = *99***1#
# No username/password authentication
Stupid Mode=1
# Stupid User
Username = b
# Stupid Pass
Password = a

প্রয়োজনীয় তথ্যগুলো কমেন্টের ভিতর লিখেছি। দেখলেই বুঝতে পারবেন আশাকরি।

কনফিগারেশন ফাইল তৈরী হয়ে গেলে ডায়াল করুন wvdial দিয়ে।
আমার ডায়ালিং লগ দেখুন।


# wvdial
–> WvDial: Internet dialer version 1.54.0
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–> Sending: AT+CGDCONT=,,”gpinternet”
AT+CGDCONT=,,”gpinternet”
OK
–> Modem initialized.
–> Sending: ATDT*99***1#
–> Waiting for carrier.
ATDT*99***1#
CONNECT
~[7f]}#@!}!} } }2}#}$@#}!}$}%\}”}&} }*} } g}%~
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Thu Dec 6 05:26:16 2007
–> pid of pppd: 29319
–> Using interface ppp0
–> local IP address 10.130.25.193
–> remote IP address 10.6.6.6
–> primary DNS address 202.56.4.120
–> secondary DNS address 202.56.4.121

এরপর কারসর ব্লিন্ক করতে থাকবে, মানে আপনি টারমিনালে ফিরে আসবেন না।
ঝামেলা এড়াতে চাইলে,


# wvdial 1> /dev/null 2> /dev/null &

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Ping.fm Post to StumbleUpon

Url scheme of popular IMs

Thursday, April 3rd, 2008

Did you know almost every popular IM services provide a url scheme so that you can launch IM window just by clicking on a webpage??

Ok. Lets make it clear. Suppose you have an yahoo id ami_shiplu@yahoo.com. Now you want when people visiting your web pages they will come across a link, like Contact Me. When vistior clicks on the link this YIM window directly opens a conversation window between the vistor and you. Just a one click solution of sending IM. You can put this url in your web, blog, email signature etc.

How it works? Well, almost every popular IM services support an Url scheme. For example, Yahoo uses ymsgr:, GoogleTalk uses gtalk: etc. If you can buld a url with the correct parameter, It will call the native IM client installed in your computer.

Ok, Enough lecture. I am showing you the IMs and their url schemes.

Yahoo

To you use yahoo IM link, write the following in you webpage,

<a href="ymsgr:sendIM?YourYahooId" >IM with Me</a>

MSN

To you use MSN IM link, write the following in you webpage,

<a href="msnim:chat?contact=yourMSNEmailAddress">IM with Me</a>

AIM

To you use AOL IM link, write the following in you webpage,

<a href="aim:goim?screenname=YourAOLID">IM with Me</a>

Google Talk

To you use yahoo IM link, write the following in you webpage,

<a href="gtalk:chat?jid=YourGmailID@gmail.com">IM with Me</a>

You can start a call too with it.

<a href="gtalk:call?jid=YourGmailID@gmail.com">Call Me</a>

SKYPE

To you use SKYPE IM link, write the following in you webpage,

<a href="skype:YourSkypeId?chat">IM with Me</a>

You can start a call too with it.

<a href="callto:yourSkypeID">Call Me on Skype</a>
<a href="skype:yourSkypeID?call">Call Me on Skype</a>

You can find more about skype links here on skype’s official web.

Post to Twitter Post to Delicious Post to Digg Post to Facebook Post to Ping.fm Post to StumbleUpon