LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-01-2002, 04:14 PM   #1
mriccucci
LQ Newbie
 
Registered: Mar 2002
Location: Flordia
Distribution: Red Hat
Posts: 5

Rep: Reputation: 0
Thumbs down 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:
 
Old 04-02-2002, 08:49 AM   #2
med
LQ Newbie
 
Registered: Mar 2002
Location: ct. usa
Distribution: RedHat 7.2
Posts: 10

Rep: Reputation: 0
Try setting a default gateway for ppp0 to use.
check with route -n

good luck!
 
Old 04-02-2002, 01:44 PM   #3
Gladiator
LQ Newbie
 
Registered: Jun 2001
Posts: 23

Rep: Reputation: 15
Thumbs down 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:
 
Old 04-02-2002, 09:12 PM   #4
med
LQ Newbie
 
Registered: Mar 2002
Location: ct. usa
Distribution: RedHat 7.2
Posts: 10

Rep: Reputation: 0
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
 
Old 04-03-2002, 09:06 AM   #5
Gladiator
LQ Newbie
 
Registered: Jun 2001
Posts: 23

Rep: Reputation: 15
Unhappy 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



 
Old 04-03-2002, 11:07 AM   #6
med
LQ Newbie
 
Registered: Mar 2002
Location: ct. usa
Distribution: RedHat 7.2
Posts: 10

Rep: Reputation: 0
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
 
Old 04-03-2002, 12:29 PM   #7
Gladiator
LQ Newbie
 
Registered: Jun 2001
Posts: 23

Rep: Reputation: 15
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




Jason
 
Old 04-03-2002, 12:39 PM   #8
med
LQ Newbie
 
Registered: Mar 2002
Location: ct. usa
Distribution: RedHat 7.2
Posts: 10

Rep: Reputation: 0
They do look fine!!!

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

Good Luck!!
Mark D.
 
Old 04-07-2002, 08:32 PM   #9
mriccucci
LQ Newbie
 
Registered: Mar 2002
Location: Flordia
Distribution: Red Hat
Posts: 5

Original Poster
Rep: Reputation: 0
Havent been on lately

Sorry i hvent been on lately (windows hates me ) 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
 
Old 04-08-2002, 01:55 AM   #10
alwaysprabhu
LQ Newbie
 
Registered: Apr 2002
Posts: 2

Rep: Reputation: 0
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.????
 
Old 04-08-2002, 02:46 AM   #11
Evolutio
LQ Newbie
 
Registered: Apr 2002
Location: Lemmer, Netherlands
Distribution: Mandrake 8.1
Posts: 3

Rep: Reputation: 0
Exclamation 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?)
 
Old 04-08-2002, 03:16 PM   #12
mriccucci
LQ Newbie
 
Registered: Mar 2002
Location: Flordia
Distribution: Red Hat
Posts: 5

Original Poster
Rep: Reputation: 0
???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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-Up Internet cyborg101010 Linux - Hardware 3 02-12-2005 11:13 AM
Help with Dial up, internet connection Loco-S Linux - Software 1 03-05-2004 01:28 AM
Cant dial up to the internet theheckin Linux - Newbie 4 11-16-2003 07:58 PM
how i dial to the internet on a zaurus? antken Linux - General 0 04-07-2003 05:06 PM
Dial Up internet bricast Linux - Newbie 1 08-13-2002 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration