====================================================================
The below steps on how to setup dial-up connecting using my Nokia 6230 mobile phone with USB cable:
> You may need to login using Root (Administrator) user
> Connect the mobile phone to the USB port (with Nokia USB cable)
> At command line (Terminal Program) execute the below command:
# wvdialconf /etc/wvdial.conf
So that the configuration file (/etc/wvdial.conf) will be updated
with the detected modem information.
the last few lines, you will see the similar output as below:
Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0
> The below is just part of the settings which is important settings
and it is just my example, pleases change it accordingly :
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","diginet" <-- info from your ISP Phone = *99# <-- info from your ISP Stupid Mode = 0 <-- if mode=1 is not working, set to 0 username = digi <-- info from your ISP password = digi <-- info from your ISP > Then run the below command to activate dial-up.
# wvdial
If dial-up successful, you can see the last few lines as follows:
--> PPP negotiation detected.
--> Starting pppd at Sat Dec 22 20:37:13 2007
--> Pid of pppd: 25060
--> Using interface ppp0
--> pppd: h???
--> local IP address 10.32.141.199
--> pppd: h???
--> remote IP address 10.6.6.6
--> pppd: h???
--> primary DNS address 203.92.128.131
--> pppd: h???
--> secondary DNS address 203.92.128.132
--> pppd: h???
--> Script /etc/ppp/ip-up run successful
--> Default route Ok.
--> Nameserver (DNS) Ok.
--> Connected... Press Ctrl-C to disconnect
--> pppd: h???
> And now you should able to browse internet.
(Note: make sure the Firefox is not at "Work Offline" mode.
> if it not working, please goto YaST > System > System Services
check if the smpppd is enabled.
> if everything is working fine, you can configure the KInternet. which GUI (not command line) and it provide easy connection.
> YaST > Network Devices > Modem
It will detect the modem, then select "Edit" to change the settings according to your ISP. Especially the "Modem initialisation Strings, Provider phone number, User Name and password.
==============================================================
Modem Name = /dev/ttyACM0
(ttyS0, ttyS1, etc., refer to serial ports, usually correspond to COM1, COM2, etc. ttyACM0 and ttyACM1 refer to USB ports)
Baud Rate = 57600
Modem Initialization Strings
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","diginet"
username = digi password = digi
Init3 = AT+CGDCONT=1,"IP","unet"
username = maxis password = wap
Phone number = *99#
START the smpppd service – for Kinternet
Maxis Broadband,
Access Point Name, APN : maxisbb
Phone Number : *99#
Account Name : maxis password : wap
Authentication : CHAP
No comments:
Post a Comment