archish Posted January 24, 2004 Share Posted January 24, 2004 I am using Slackware 9.1 & I have problem getting my computer configured for internet access. I have an external modem(mobile phone connected to usb port) which gets connected but I am unable to browse. I am using the following command to connect to the internet pppd /dev/modem 115200 debug usepeerdns defaultroute connect '/usr/sbin/chat -v "" at+cta=30 OK "atdt#777" CONNECT' mtu 264 I have checked the /etc/resolv.conf also in /etc/ppp/resolv.conf and found the following entries of my isp dns no: nameserver 202.138.103.100 nameserver 202.138.96.2 The problem is it gets connected but I am unable to browse. I did ifconfig and got the following output 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:156 errors:0 dropped:0 overruns:0 frame:0 TX packets:156 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11452 (11.1 Kb) TX bytes:11452 (11.1 Kb) ppp0 Link encap:Point-to-Point Protocol inet addr:220.226.12.75 P-t-P:97.236.2.14 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:264 Metric:1 RX packets:15 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:167 (167.0 b) TX bytes:119 (119.0 b) I am using this ppp0 connection only, then what is this lo one? I have connecting the same way in other distros and it gets connected, its not working in slackware only. I badly need help on this one as I have been trying this for more than an month. I am using the following options in the etc/ppp/options file. lock asyncmap 0 crtscts modem defaultroute usepeerdns name soman noauth /dev/modem 115200 kindly help me. Link to comment Share on other sites More sharing options...
sengork Posted January 24, 2004 Share Posted January 24, 2004 lo is the loop back. I have been having the same issues, although I did not have time to look into it. It seems to me that on mine all the traffic is routed to eth0 (the LAN card). Did you try pinging the nameservers and the server it self ? Link to comment Share on other sites More sharing options...
archish Posted January 24, 2004 Author Share Posted January 24, 2004 I tried pinging some other sites with no success. I will try pinging the nameservers and post the result. What is this loopback and is it necessary, if no then how do i remove it? Link to comment Share on other sites More sharing options...
archish Posted January 24, 2004 Author Share Posted January 24, 2004 pinging to the dns works, so what might be the problem? Link to comment Share on other sites More sharing options...
archish Posted January 24, 2004 Author Share Posted January 24, 2004 when i did route -n i got the following Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 97.236.2.14 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 97.236.2.14 0.0.0.0 UG 0 0 0 ppp0 Link to comment Share on other sites More sharing options...
sengork Posted January 25, 2004 Share Posted January 25, 2004 TCP/IP needs the network loopback on all machines. I will try to find out more about this behaviour on slackware, and post any results I find. Link to comment Share on other sites More sharing options...
archish Posted January 25, 2004 Author Share Posted January 25, 2004 ok thanks for the effort, i have been trying to solve this for more than an moth now. I think there is a bug in slackware as it is fine in all other distros Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted January 25, 2004 Veteran Share Posted January 25, 2004 You said that this works with other distros, but not Slack? You should be able to set it up on another distro and then look at how it is configured and set Slack up the same way.... Link to comment Share on other sites More sharing options...
archish Posted January 26, 2004 Author Share Posted January 26, 2004 yeah i am doing the same in slack as i did it other distro. The problem is only in slackware Link to comment Share on other sites More sharing options...
sengork Posted January 30, 2004 Share Posted January 30, 2004 I tryed it recently on the same machine I was having the problem with, and this time no problems. This was after reformatting and reinstalling slackware. The only think that I did differently this time was that I set up the ppp connection before I have set up the eth0 connection. Hope it helps. It works fine now. Link to comment Share on other sites More sharing options...
archish Posted January 30, 2004 Author Share Posted January 30, 2004 The only think that I did differently this time was that I set up the ppp connection before I have set up the eth0 connection. how did you do that? sorry if its silly i am a total noob thanks Link to comment Share on other sites More sharing options...
sengork Posted January 31, 2004 Share Posted January 31, 2004 how did you do that?sorry if its silly i am a total noob thanks np In shell terms, I ran pppsetup and tryed if it worked before running netconfig. I even cancelled netconfig in the setup. But I doubt this has something to do with it. Link to comment Share on other sites More sharing options...
sengork Posted February 2, 2004 Share Posted February 2, 2004 Did you use the same kernel image for the slackware installation? Might be worth a try to use another image from the installation disks Link to comment Share on other sites More sharing options...
Recommended Posts