wvdialconf /etc/wvdial.conf
this helps lot.
if ttyusb3 shows up delete /etc/wvdial.conf manually.
Following for
www.utlnepal.com
sudo pppconfig
1. Is my ISP dynamic or static- dynamic
2. Enter the IP number for primary dns - 115.187.17.50
3. Enter the IP number for your secondary dns-8.8.4.4
4. Authentication Method for provider (PAP, Chat, Chap?)- CHAP
5. Enter your modem port speed (e.g. 9600, 19200, 38400, 57600, 115200) -115,200
6. Select method of dialing. Touch tone or pulse. -tone
7. Enter the number to dial-#777
8. The port your modem is on identified automatically or enter the port your modem is on (example /dev/ttyS0 is COM1 in DOS.) - ttyUSB0
10. Password, Username-
XXXXXXXXXXX@utlnepal.com,XXXXXXXXXXX
11.local ip 172.18..........(varies)( dynamic)
12. remote ip 172.17.28.100
13. ayncmap - 0X00 or 0X01
chatscript
chat -f chatscript
ABORT BUSY
ECHO OFF
SAY "Dialling your ISP...\\n"
\&'' ATDT#777
TIMEOUT 120
SAY "Waiting up to 2 minutes for connection ... "
CONNECT ''
SAY "Connected, now logging in ...\n"
ogin: account name
xxxxx@utlnepal.com
ssword: password
$ \c
SAY "Logged in OK ...\n"
for chat script-
welcome message:- Welcome to KTM-PDSNO 1
server data in pastebin -
http://pastebin.com/pht47VYc
here is for
www.enet.com.np
www.enet.com.np
remote address (connect to this ip) - 14.128.12.20
primary dns 1 - 8.8.8.8
secondary dns2 - 14.128.12.12 (this is enet dns name server)
local ip address - 14.128..... ( any dynamic address mine this time 14.128.15.49)
www.enet.com.np
#ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:14.128.15.50 P-t-P:14.128.12.20 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:347 errors:0 dropped:0 overruns:0 frame:0
TX packets:398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:369923 (361.2 KiB) TX bytes:45817 (44.7 KiB)
#route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
14.128.12.20 * 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default * 0.0.0.0 U 0 0 0 ppp0