LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   internet connection problem (https://www.linuxquestions.org/questions/slackware-14/internet-connection-problem-122592/)

archish 12-04-2003 06:40 AM

internet connection problem
 
I am connecting to the internet using a script given
pppd /dev/modem 115200 debug usepeerdns defaultroute connect '/usr/sbin/chat -v "" at+cta=30 OK "atdt#777" CONNECT' mtu 264

The etc/resolv.conf are all proper with the dns no specified.
The problem is it gets connected but stops during resolving the host and gets timed out. I have to enter few options in the etc/ppp/options file. I did that and still that is not working. I want to know is there any other file to which I should make the entries of etc/ppp/options file? I tried this in knoppix and it works fine and I am able to connect and browse. Is the file structure different from other distro in slack? Kindly help me.

archish 12-04-2003 12:55 PM

no one :(

Tinkster 12-04-2003 01:07 PM

Quote:

The etc/resolv.conf are all proper
with the dns no specified.
What does that mean, can you post
your resolv.conf?


Cheers,
Tink

archish 12-04-2003 01:47 PM

the entries in my /etc/resolv.conf
nameserver 202.138.103.100
nameserver 202.138.96.2

Tinkster 12-04-2003 02:00 PM

Can you ping the nameservers by
their ip address?


Cheers,
Tink

archish 12-04-2003 02:56 PM

no

Tinkster 12-04-2003 03:02 PM

What's the output of
ifconfig
and
route

Did you read the ppp-daemons logs?


Cheers,
Tink

archish 12-04-2003 04:00 PM

I have not read the log and these are the output

root@darkstar:/home/archish# 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:220.226.12.80 P-t-P:97.236.2.14 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:264 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:141 (141.0 b) TX bytes:115 (115.0 b)

root@darkstar:/home/archish# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
97.236.2.14 * 255.255.255.255 UH 0 0 0 ppp0
loopback * 255.0.0.0 U 0 0 0 lo
default 97.236.2.14 0.0.0.0 UG 0 0 0 ppp0

Tinkster 12-04-2003 04:14 PM

Weird ... that looks good to me. Have
you by any chance locked yourself
out with a firewall script of some sort?


Cheers,
Tink

archish 12-04-2003 09:03 PM

I know the problem is wierd if i do the same thing in other distro it works fine, i even tried formatting the partition and reinstalling slack but I have no success. I wanted to know is the file strucure in slack different than other distro? If this dosent work I will have to hunt for another good distro :(

Tinkster 12-04-2003 09:32 PM

Which brings us back to the issue of reading
logfiles ...


I think you should do that now :}


Cheers,
Tink

archish 12-04-2003 10:05 PM

I did some mail work and its amazing that i am able to send and recieve mail and also connect to telnet server. Now the http stuff dosent seem to work i.e webpages. Is there any service required to be running in the background to browse webpages? If yes then which one and how do I enable it.

also where is the log file you are saying e to read


All times are GMT -5. The time now is 09:10 PM.