Thanks. Will make those changes for DNS. I have already started to see the power of human network behind Linux. :) Krishanu. On Sat, Aug 2, 2008 at 11:24 AM, Antonio Olivares <olivares14031@xxxxxxxxx> wrote: >> Hi Antonio, >> Thanks a lot. It eventually worked. I went to System -> >> Administration >> -> Network and removed the DNS used by my broadband ISP. >> And the thing >> is working perfect, webpages are opening in a jiffy. :) > > Great! > >> One last question. Is there some way that I can keep the >> DNS of the >> broadband in a deactivated way and use it whenever I use >> broadband and >> not type it again. > > Sure > > When you have broadband working with its proper dns and browsing works, do > save the dns for broadband connection do a > > $ sudo cp /etc/resolv.conf /etc/resolv.conf.broadband > > for the broadband connection and when you are successfully browsing with dialup connection do the same but > > $ sudo cp /etc/resolv.conf /etc/resolv.conf.dialup > > When you are going to connect with broadband do > > $ sudo cp /etc/resolv.conf.broadband /etc/resolv.conf > > and when you will use dialup > > $ sudo cp /etc/resolv.conf.dialup /etc/resolv.conf > > This way you won't have to type it every time. > >> Thanks a lot again. > > No problem. Glad I could have helped in some way :) > > Regards, > > > Antonio > >> Regards, >> Krishanu. >> >> On Sat, Aug 2, 2008 at 3:42 AM, Antonio Olivares >> <olivares14031@xxxxxxxxx> wrote: >> > Ahhh! >> > >> > Krisahnu, >> > >> > When you have two or more devices configured for >> internet, conflicts are likely to happen. When you do not >> use your Broadband ISP, you turn that interface off, and >> remove the DNS servers that correspond to that interface. >> > >> > When you need the dialup interface, the broadband >> should be off so that it will not conflict with the other >> connection. This is why it is nearly impossible to browse. >> > >> > You had the two processes running ppp0 with >> pid(process id) of 6093, >> > >> > and the other pid of ppp0 with another pid of 6239. >> and the tail -f /var/log/messages shows that something did >> not work with the previous pid of 6039 and that a usb device >> was unplugged. I am not sure now how to explain this to >> you. You have to turn off one device to use the other with >> its configuration and then undo what you did so that the >> other connection can succeed. >> > >> > Regards, >> > >> > >> > >> > Antonio >> > >> > >> > --- On Fri, 8/1/08, Krishanu Maulik >> <krishanu@xxxxxxxxxxxx> wrote: >> > >> >> From: Krishanu Maulik >> <krishanu@xxxxxxxxxxxx> >> >> Subject: Re: Krishanu Maulik, India kernel >> 2.6.24-19-generic >> >> To: olivares14031@xxxxxxxxx >> >> Cc: discuss@xxxxxxxxxxxxx >> >> Date: Friday, August 1, 2008, 1:37 PM >> >> Here is the report generated as per the commands >> suggested >> >> by you. >> >> >> >> krishanu@krishanu-reshmi:~$ sudo tail -f >> /var/log/messages >> >> Aug 2 01:47:48 krishanu-reshmi kernel: [ >> 68.610311] PPP >> >> BSD >> >> Compression module registered >> >> Aug 2 01:47:48 krishanu-reshmi kernel: [ >> 68.671337] PPP >> >> Deflate >> >> Compression module registered >> >> Aug 2 01:47:49 krishanu-reshmi pppd[6093]: local >> IP >> >> address 61.2.3.222 >> >> Aug 2 01:47:49 krishanu-reshmi pppd[6093]: remote >> IP >> >> address 61.0.128.86 >> >> Aug 2 01:47:49 krishanu-reshmi pppd[6093]: >> primary DNS >> >> address >> >> 218.248.240.208 >> >> Aug 2 01:47:49 krishanu-reshmi pppd[6093]: >> secondary DNS >> >> address >> >> 218.248.240.135 >> >> Aug 2 01:48:37 krishanu-reshmi pppd[6093]: >> Terminating on >> >> signal 15 >> >> Aug 2 01:48:37 krishanu-reshmi pppd[6093]: >> Connect time >> >> 0.8 minutes. >> >> Aug 2 01:48:37 krishanu-reshmi pppd[6093]: Sent 0 >> bytes, >> >> received 0 bytes. >> >> Aug 2 01:50:09 krishanu-reshmi kernel: [ >> 87.428596] usb >> >> 5-1: USB >> >> disconnect, address 2 >> >> Aug 2 01:55:10 krishanu-reshmi pppd[6239]: pppd >> 2.4.4 >> >> started by root, uid 0 >> >> Aug 2 01:55:10 krishanu-reshmi pppd[6239]: Using >> interface >> >> ppp0 >> >> Aug 2 01:55:10 krishanu-reshmi pppd[6239]: >> Connect: ppp0 >> >> <--> /dev/pts/2 >> >> Aug 2 01:55:11 krishanu-reshmi pppd[6239]: PAP >> >> authentication succeeded >> >> Aug 2 01:55:11 krishanu-reshmi pppd[6239]: local >> IP >> >> address 59.88.140.48 >> >> Aug 2 01:55:11 krishanu-reshmi pppd[6239]: remote >> IP >> >> address 218.248.182.40 >> >> Aug 2 01:55:11 krishanu-reshmi pppd[6239]: >> primary DNS >> >> address >> >> 218.248.240.208 >> >> Aug 2 01:55:11 krishanu-reshmi pppd[6239]: >> secondary DNS >> >> address >> >> 218.248.240.135 >> >> >> >> >> >> I am not sure if my NetworkManager is running. >> However, I >> >> have setup >> >> my broadband configuartion there and have some >> other DNS >> >> specified >> >> there, as specified by the broadband ISP. >> >> >> >> Thanks again ffor all your help. >> >> >> >> Krishanu. >> >> >> >> On Sat, Aug 2, 2008 at 1:38 AM, Antonio Olivares >> >> <olivares14031@xxxxxxxxx> wrote: >> >> > Please try to do the following >> >> > >> >> > Open a terminal and type >> >> > 1) sudo ifconfig eth0 down >> >> > 2) sudo wvdial >> >> > >> >> > Open up another terminal/tab and type >> >> > $ sudo tail -f /var/log/messages >> >> > >> >> > paste output and send it to list. Then use >> CTRL+C >> >> combination to quit the tail -f /var/log/messages >> command. >> >> > >> >> > You should see something like: >> >> > except this is under Fedora >> >> > >> >> > [root@localhost ~]# tail -f /var/log/messages >> >> > Aug 1 14:09:58 localhost martian: info: >> session: >> >> Started Fri Aug 1 14:09:58 2008 >> >> > Aug 1 14:10:35 localhost pppd[25581]: pppd >> 2.4.4 >> >> started by root, uid 0 >> >> > Aug 1 14:10:35 localhost pppd[25581]: Using >> interface >> >> ppp0 >> >> > Aug 1 14:10:35 localhost pppd[25581]: >> Connect: ppp0 >> >> <--> /dev/pts/0 >> >> > Aug 1 14:10:35 localhost pppd[25581]: PAP >> >> authentication succeeded >> >> > Aug 1 14:10:36 localhost pppd[25581]: Cannot >> >> determine ethernet address for proxy ARP >> >> > Aug 1 14:10:36 localhost pppd[25581]: local >> IP >> >> address 66.201.8.112 >> >> > Aug 1 14:10:36 localhost pppd[25581]: remote >> IP >> >> address 66.201.8.6 >> >> > Aug 1 14:10:36 localhost pppd[25581]: >> primary DNS >> >> address 66.201.0.203 >> >> > Aug 1 14:10:36 localhost pppd[25581]: >> secondary DNS >> >> address 66.94.120.9 >> >> > >> >> > So you have NetworkManager running? >> >> > It might be getting in the way. While trying >> to >> >> browse, NetworkManager might try to assign DNS of >> its own? >> >> I do not know how it works in Ubuntu :( >> >> > Send the output from the commands on top to >> list. >> >> > >> >> > Thanks, >> >> > >> >> > Antonio >> >> > >> >> > >> >> >> I checked as par your advice. Indeed >> there are >> >> three blocks >> >> >> corresponding to eth0, lo and ppp0 in >> that order. >> >> I tried >> >> >> $sudo ifconfig eth0 down >> >> >> But if I try >> >> >> $sudo ifconfig -a >> >> >> after that I still have eth0 and I still >> cannot >> >> browse! :( >> >> >> Krishanu. >> >> >> >> >> >> On Sat, Aug 2, 2008 at 1:10 AM, Antonio >> Olivares >> >> >> <olivares14031@xxxxxxxxx> wrote: >> >> >> > What does >> >> >> > $ sudo ifconifg -a >> >> >> > show when you try to browse? >> >> >> > >> >> >> > Also you may try >> >> >> > $ sudo ifconfig eth0 down >> >> >> > before >> >> >> > $ sudo wvdial >> >> >> > >> >> >> > Should the above advice fail, I >> would >> >> recommend that >> >> >> you visit Jacques' PostInstall page >> for >> >> advice: >> >> >> > >> >> >> > >> >> http://linmodems.technion.ac.il/post-install.html >> >> >> > >> >> >> > Regards, >> >> >> > >> >> >> > Antonio >> >> >> > >> >> >> > >> >> >> > --- On Fri, 8/1/08, Krishanu Maulik >> >> >> <krishanu@xxxxxxxxxxxx> wrote: >> >> >> > >> >> >> >> From: Krishanu Maulik >> >> >> <krishanu@xxxxxxxxxxxx> >> >> >> >> Subject: Re: Krishanu Maulik, >> India >> >> kernel >> >> >> 2.6.24-19-generic >> >> >> >> To: olivares14031@xxxxxxxxx >> >> >> >> Cc: discuss@xxxxxxxxxxxxx >> >> >> >> Date: Friday, August 1, 2008, >> 12:34 PM >> >> >> >> Dear Antonio, >> >> >> >> I get the same DNS everytime and >> they are >> >> already >> >> >> on >> >> >> >> /etc/resolv.conf, >> >> >> >> yet I cannot browse :( >> >> >> >> Krishanu. >> >> >> >> >> >> >> >> On Sat, Aug 2, 2008 at 12:49 AM, >> Antonio >> >> Olivares >> >> >> >> <olivares14031@xxxxxxxxx> >> wrote: >> >> >> >> >> Dear Antonio, >> >> >> >> >> Thanks for all your >> help. I >> >> managed to >> >> >> install the >> >> >> >> modem >> >> >> >> >> and coonect >> >> >> >> >> to my ISP twice, but >> failed to >> >> open any >> >> >> website. >> >> >> >> When I >> >> >> >> >> tried to >> >> >> >> >> connect a third time no >> dialtone >> >> was >> >> >> found. It >> >> >> >> worked again >> >> >> >> >> after a >> >> >> >> >> while. (I saw the two >> IP >> >> addresses and >> >> >> two >> >> >> >> DNS's) but >> >> >> >> >> still no >> >> >> >> >> website. Can you please >> help? >> >> >> >> > >> >> >> >> > If you saw two addresses >> that said >> >> DNS, you >> >> >> may add >> >> >> >> them to /etc/resolv.conf. For >> instance, >> >> in my >> >> >> computer when >> >> >> >> wvdial connects, I get to see: >> >> >> >> > >> >> >> >> > [root@localhost ~]# wvdial >> >> >> >> > --> WvDial: Internet >> dialer >> >> version 1.60 >> >> >> >> > --> 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 >> >> >> >> > --> Modem initialized. >> >> >> >> > --> Sending: ATDT7072000 >> >> >> >> > --> Waiting for carrier. >> >> >> >> > ATDT7072000 >> >> >> >> > CONNECT 49333 V42bis >> >> >> >> > --> Carrier detected. >> Starting >> >> PPP >> >> >> immediately. >> >> >> >> > --> Starting pppd at Fri >> Aug 1 >> >> 14:10:35 >> >> >> 2008 >> >> >> >> > --> Pid of pppd: 25581 >> >> >> >> > --> Using interface ppp0 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> local IP address >> >> 66.201.8.112 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> remote IP address >> 66.201.8.6 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> primary DNS >> address >> >> 66.201.0.203 >> >> >> >> > --> pppd: 2 >> >> >> >> > --> secondary DNS >> address >> >> 66.94.120.9 >> >> >> >> > --> pppd: 2 >> >> >> >> > >> >> >> >> > The last two, I add to >> >> /etc/resolv.conf so >> >> >> that it >> >> >> >> looks like >> >> >> >> > >> >> >> >> > [olivares@localhost ~]$ cat >> >> /etc/resolv.conf >> >> >> >> > nameserver 66.201.0.203 >> >> >> >> > nameserver 66.94.120.9 >> >> >> >> > >> >> >> >> > Do you get the same DNS >> servers both >> >> times >> >> >> when you >> >> >> >> connected? >> >> >> >> > >> >> >> >> > If you do, all that it >> takes is to >> >> add those >> >> >> two last >> >> >> >> DNS entries to /etc/resolv.conf >> >> >> >> > >> >> >> >> > Do it by >> >> >> >> > $ sudo gedit >> /etc/resolv.conf >> >> >> >> > and add the nameservers. >> After >> >> doing this, >> >> >> can you >> >> >> >> browse? >> >> >> >> > >> >> >> >> > Regards, >> >> >> >> > >> >> >> >> > Antonio >> >> >> >> > >> >> >> >> > >> >> >> >> >> Thanks, >> >> >> >> >> Krishanu. >> >> >> >> >> >> >> >> >> >> On Fri, Aug 1, 2008 at >> 12:27 AM, >> >> Antonio >> >> >> Olivares >> >> >> >> >> >> <olivares14031@xxxxxxxxx> >> >> wrote: >> >> >> >> >> > Krishanu, >> >> >> >> >> > >> >> >> >> >> > the modem is >> supported >> >> through >> >> >> >> SLMODEMD.gcc4.2.tar.gz >> >> >> >> >> > >> >> >> >> >> > Download from >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> http://linmodems.technion.ac.il/packages/smartlink/ >> >> >> >> >> > the package >> >> SLMODEMD.gcc4.2.tar.gz >> >> >> having a >> >> >> >> compiled >> >> >> >> >> slmodemd. Unpack under >> Linux >> >> with: >> >> >> >> >> > $ tar zxf >> >> >> SLMODEMD.gcc4.2.tar.gz >> >> >> >> >> > and read >> instructions >> >> therein. But >> >> >> briefly, >> >> >> >> the modem >> >> >> >> >> is setup with command: >> >> >> >> >> > $ sudo >> slmodemd -c >> >> >> YOUR_COUNTRY --alsa >> >> >> >> hw:0,6 >> >> >> >> >> > reporting dynamic >> creation >> >> of >> >> >> ports: >> >> >> >> >> > /dev/ttySL0 >> --> >> >> /dev/pts/N >> >> >> , with >> >> >> >> N some >> >> >> >> >> number >> >> >> >> >> > Read >> DOCs/Smartlink.txt >> >> and >> >> >> >> Modem/DOCs/YourSystem.txt >> >> >> >> >> for follow through >> guidance. >> >> >> >> >> > >> >> >> >> >> > Please follow >> those >> >> instructions, >> >> >> and report >> >> >> >> back if >> >> >> >> >> you can connect with >> the above >> >> command >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > Regards, >> >> >> >> >> > >> >> >> >> >> > Antonio >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > --- On Thu, >> 7/31/08, >> >> Krishanu Maulik >> >> >> >> >> >> <krishanu@xxxxxxxxxxxx> >> >> wrote: >> >> >> >> >> > >> >> >> >> >> >> From: Krishanu >> Maulik >> >> >> >> >> >> <krishanu@xxxxxxxxxxxx> >> >> >> >> >> >> Subject: >> Krishanu >> >> Maulik, India >> >> >> kernel >> >> >> >> >> 2.6.24-19-generic >> >> >> >> >> >> To: >> >> discuss@xxxxxxxxxxxxx >> >> >> >> >> >> Date: >> Thursday, July >> >> 31, 2008, >> >> >> 11:04 AM >> >> >> >> >> >> Hi, >> >> >> >> >> >> I am new to >> the Linux >> >> world. I >> >> >> have >> >> >> >> installed >> >> >> >> >> Ubuntu 8.0.4 >> >> >> >> >> >> on a new >> >> >> >> >> >> Lenovo 3000 >> Y410 laptop >> >> as a >> >> >> dualboot >> >> >> >> with XP. I >> >> >> >> >> cannot >> >> >> >> >> >> access the >> >> >> >> >> >> modem in >> Linux, though >> >> I can do >> >> >> it in XP. >> >> >> >> I have >> >> >> >> >> attached >> >> >> >> >> >> ModemData.txt >> obtained >> >> from >> >> >> scanModem. >> >> >> >> Please >> >> >> >> >> help. Thanks >> >> >> >> >> >> in advance. >> >> >> >> >> >> Krishanu. >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> >> > >> > >> > >> > >> > > > > >