| View previous topic :: View next topic |
| Author |
Message |
ImranKhan Lance Naik
Joined: 24 Apr 2007 Posts: 17 Location: Islamabad-Pakistan
|
Posted: Wed Apr 25, 2007 4:29 pm Post subject: Ptcl-V on RedHat Linux |
|
|
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 |
|
 |
LinuxFreaK Site Admin

Joined: 02 May 2003 Posts: 5130 Location: Karachi
|
|
| Back to top |
|
 |
CyberFreak Havaldaar

Joined: 01 Aug 2005 Posts: 116 Location: Karachi
|
Posted: Tue Jun 05, 2007 3:01 am Post subject: |
|
|
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
CyberFreak
03002927221 |
|
| Back to top |
|
 |
|