LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Dial up internet (https://www.linuxquestions.org/questions/linux-networking-3/dial-up-internet-17501/)

mriccucci 04-01-2002 04:14 PM

Dial up internet
 
I have just insalled linux and am getting a second pc soon. i installed a nic card to ssh into the other box but i olny have dial up. when i dial up my internet on kde using kppp it logs on fine, but when i open netscape, mozzila, ect.... it wont even load simple pages like www.google.com ???????? i was wondering if it maybe is trying to connect by the nic and not the modem what do i do. Also when i pull up my hardware browser it calls my a u>S> robotics undername but everything is unknown????????:smash:

med 04-02-2002 08:49 AM

Try setting a default gateway for ppp0 to use.
check with route -n

good luck!

Gladiator 04-02-2002 01:44 PM

Identical Problem!
 
This is the identical problem I am having: my data is as follows:

When I connect to my ISP through Linux (Dial UP) I get passed my nameservers and my IP address through DHCP. However, I get no Gateway that I can see. I connect through windows and the gateway is passed through DHCP and is THE SAME as my IP! Therefore I am unable to enter a static gateway because it is always different each time I connect because of the DHCP Poolng... I have talked to my support and they want nothing to do with me or Linux. Any help is appreciated....

Jason

:smash:

med 04-02-2002 09:12 PM

make shure you have default gateways defined

#file:/etc/sysconfig/network

GATEWAY="XXX.YYY.ZZZ" #an ip on your network
GATEWAYDEV=eth0 #your local nic

GATEWAY="0.0.0.0" #a place holder for the dynamic IP
GATEWAYDEV=ppp0 #your dial up device

Hope this helps
Mark D

Gladiator 04-03-2002 09:06 AM

Here is more info
 
I "XXX" out the first 3 charcters of the IP addresses.

ifconfig syas this:

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0

ppp0 Link encap:Point-to-Point Protocol
inet addr:XXX.34.100.125 P-t-P:XXX.185.130.163 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1514 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0

==============================================
When I ping to the nameservers. 50% of my packets are lost!! Very Strange... Here is what is looks like:

Pinging nameservers.

PING XXX.185.130.34 (XXX.185.130.34) from XXX.34.100.125 : 56(84) bytes of data.
64 bytes from XXX.185.130.34: icmp_seq=0 ttl=126 time=114.997 msec
64 bytes from XXX.185.130.34: icmp_seq=2 ttl=126 time=109.961 msec
64 bytes from XXX.185.130.34: icmp_seq=4 ttl=126 time=109.958 msec
64 bytes from XXX.185.130.34: icmp_seq=6 ttl=126 time=109.959 msec
64 bytes from XXX.185.130.34: icmp_seq=8 ttl=126 time=109.958 msec

--- XXX.185.130.34 ping statistics ---
10 packets transmitted, 5 packets received, 50% packet loss
round-trip min/avg/max/mdev = 109.958/110.966/114.997/2.047 ms
==============================================
My /etc/sysconfig/network file looks like this:

NETWORKING=yes
HOSTNAME=localhost.localdomain

GATEWAY="XXX.YYY.ZZZ"
GATEWAYDEV=ppp0

GATEWAY="0.0.0.0"
GATEWAYDEV=ppp0
==============================================

When I ping my IP that is given to me through DHCP (Which is also my Gateway when connecting through windows) I get 100 percent of the packets back.

I am at a total loss. To me is seems as though I have not configure my gateway correctly. But if this is the case then why am I receiving 50 percent of the packets? I checked my /etc/resolv.conf file and the nameservers are being put into this file when I connect.

Hope you can help.

Jason



:confused:

med 04-03-2002 11:07 AM

Run the route command first with ppp0 down.
(no entrys for ppp0)

Then run it again with ppp0 up
(now there should be 2 entrys for ppp0 if check your gateways again)

Mark D

Gladiator 04-03-2002 12:29 PM

Sorry to drive you nuts but....
 
Ok I ran the route command before and after. Here are the results, which to me look perfect, I think?

Before:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 * 255.0.0.0 U 0 0 0 lo

After connecting via modem:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
XXX.185.130.163 * 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default XXX.185.130.163 0.0.0.0 UG 0 0 0 ppp0


:cry:

Jason

med 04-03-2002 12:39 PM

They do look fine!!!

Now check all of your script files may be a DNS problem or a modem problem.

Good Luck!!
Mark D.

mriccucci 04-07-2002 08:32 PM

Havent been on lately
 
Sorry i hvent been on lately (windows hates me :confused: :mad: ) but its all good. I am going to check and try to do that stuff tonight if i can but i will let you know if it works thanx a bunch

alwaysprabhu 04-08-2002 01:55 AM

i have installed linux7.2server on my ibm machine and workstation on my other ibm machine now i want to connect the worstation to the the server and files on it.????:newbie: :newbie:

Evolutio 04-08-2002 02:46 AM

Modem problem
 
I think I have the same problem.
I use an external modem to connect. The dialing up has no problem. He says he's connected, and when I try the phone it is really in use.
But when I want to surf, I get 'Error resolving host'

Is this the same problem (and does any of your possible solutions work?)
:mad:

mriccucci 04-08-2002 03:16 PM

???dont know
 
Ireally dont know if
Quote:

make shure you have default gateways defined

#file:/etc/sysconfig/network

GATEWAY="XXX.YYY.ZZZ" #an ip on your network
GATEWAYDEV=eth0 #your local nic

GATEWAY="0.0.0.0" #a place holder for the dynamic IP
GATEWAYDEV=ppp0 #your dial up device

That works But i do know that the system is doing the same thig and i cant get online.???? do nit know what to do


All times are GMT -5. The time now is 03:16 AM.