linuxpakistan.net Forum Index linuxpakistan.net
LinuxPakistan.net discussion forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ptcl-V on RedHat Linux

 
Post new topic   Reply to topic    linuxpakistan.net Forum Index -> Administration
View previous topic :: View next topic  
Display posts from previous:    
Author Message
ImranKhan
Lance Naik


Joined: 24 Apr 2007
Posts: 17
Location: Islamabad-Pakistan

PostPosted: Wed Apr 25, 2007 4:29 pm    Post subject: Ptcl-V on RedHat Linux Reply with quote

AOA

i m new on linux . yesterday i bough Ptcl-V and now i want to connect it

redhat linux 9..

I need help how can i dio this because there are no drivers included for

linux in Ptcl-V cd..+ how can i connect to internet in command line.

Thanx in advance
_________________
Imran Khan
Network Administrator
Micropak Pvt Ltd
Back to top
View user's profile Send private message Visit poster's website
LinuxFreaK
Site Admin


Joined: 02 May 2003
Posts: 5130
Location: Karachi

PostPosted: Thu Apr 26, 2007 10:32 am    Post subject: Re: Reply with quote

Dear ImranKhan,
Salam,

Have you search on this forum ?

FYI, http://www2.linuxpakistan.net/forum/viewtopic.php?t=6418 and http://www.openpages.info/huawei.html

Best Regards.
_________________
Farrukh Ahmed
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
CyberFreak
Havaldaar


Joined: 01 Aug 2005
Posts: 116
Location: Karachi

PostPosted: Tue Jun 05, 2007 3:01 am    Post subject: Reply with quote

U can easy install and configure Zte or any Usb modem
When linux detect a support for Usb modem it create the device neded to access the modem /etc/ttyACM0 and /dev/cacm0 device cam be used to access the modem
onece the modem is physically installed you can use wvdialconf that check devices if it can detect any modem on your computer then you can run
wvdial command
here is an example
# wvdialconf /etc/wvdial.conf.new
Here's what the output looked like when I attached a serial modem to the second serial port (/dev/ttyS1, also referred to as COM2):
ttyS1<*1>: ATQ0 V1 E1 - OK
ttyS1<*1>: ATQ0- V1 E1 Z - OK
ttyS1*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS1<*1>: ATQO V1 E1 S0=0 &C1 -- OK
ttyS1<*1>: ATQO V1 E1 S0=0 &C1 &D2 -- OK
ttyS1<*1>: ATQO V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS1<*1>: Modem Identifier: ATI -- 288
ttyS1<*1>: Speed 4800: AT -- OK
ttyS1<*1>: Speed 9600: AT -- OK
ttySl<*l>: Speed 19200: AT -- OK
ttyS1<*1>: Speed 38400: AT -- OK
ttyS1<*1>: Speed 57600: AT -- OK
ttyS1<*1>: Speed 115200: AT -- OK
ttyS1<*1>: Max speed is 115200; that should be safe.
ttyS1<*1>: ATQO V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyS1.
Modem configuration written to /etc/wvdial.conf.new
ttyS1<Info>: Speed 115200; init "ATOO V1 E1 SO=0
&C1 &D2 +FCLASS=0
The output shows a modem was detected on /dev/ttyS1 (COM2 port) of my computer. The result of the output was written (in this case) to the /etc/wvdial.conf.new file.

Edit wvdial.conf.new file-View the contents of the wvdial.conf.new file you just created. Here is an example:
[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQO V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>
Remove the semicolons from the last three lines
Copy to wvdial.conf-Once you are satisfied with the file, copy it to the permanent /etc/wvdial.conf file:
cp /etc/wvdial.conf.new /etc/wvdial.conf
Try to dial the ISP-To see if your modem is working and ready to create a PPP connection to your ISP, simply type the following command:
# wvdial
--> WvDial: Internet dialer version 1.53
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQO V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT5557846
--> Waiting for carrier.
ATDT5557846
CONNECT 115200
--> Carrier detected. Waiting for prompt.
login:
login:
-> Looks like a login prompt.
--> Sending: jwjones
jwjones
Password:
--> Looks like a password prompt.
--> Sending: (password)
choice: PPP session from (10.206.160.10) to
10.206.171.70 beginning....~[7f]| # @!}!}!} }4}
"}&} } } } }%}&S}/mH}'}"}(}".[~
--> PPP negotiation detected.
--> Starting pppd at Thu Dec 11 02:49:23 2003
--> pid of pppd: 23585
Cool CyberFreak
03002927221
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    linuxpakistan.net Forum Index -> Administration All times are GMT + 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group