LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-16-2004, 12:47 PM   #1
ATrx2k
LQ Newbie
 
Registered: Feb 2004
Location: England
Distribution: SuSE 9.0 Professional
Posts: 23

Rep: Reputation: 15
Question RedHat 8.0 Dial-Up ppp problems



In Redhat 8.0 i use Kppp to connect to the internet. it hardley ever works! The modem dials and gets to the point where it says Logging on to network and then i just get a connection time out why is this . how do i overcome this problem so i can finaly use the web on Linux
 
Old 02-16-2004, 01:05 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
not sure if changing app works but after I did some updates on my PC my wvdial stopped working, for the same reason..."timeout"

well, I got a new program and it works. if you're fine with opening up terminal for connection start, then get an application called pppconfig and use it to make a connection - then you just start your ppp-connection by typing into terminal:

pon <conn-name>

where <conn-name> is the name you gave to your connection in pppconfig. when the command is run, you can close the terminal - pppd goes into background. when you want to close the connection, type (in terminal)

poff

and that's it works for me, perfectly....

EDIT: ok, I didn't think far enough stupid me...well, the first/quickest way and especially if you want to use kppp, is to open up kppp's configuration/setup/whatever it's called, and search for the thing that controls timeout time - and scroll it up so much that it won't hang up because of "timeout" while dialling

Last edited by b0uncer; 02-16-2004 at 01:08 PM.
 
Old 02-17-2004, 06:36 AM   #3
ATrx2k
LQ Newbie
 
Registered: Feb 2004
Location: England
Distribution: SuSE 9.0 Professional
Posts: 23

Original Poster
Rep: Reputation: 15
i serarched for pppconfig and i could only find Debain packages and .deb's, do you know where i can download pppconfig for redhat?

Thanx
 
Old 02-17-2004, 08:23 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm...true, I couldn't either find rpm for redhat....the closest hit was Madeinlinux's rpm, http://rpmfind.net/linux/rpm2html/se...uery=pppconfig but I'm not sure if that works for RH(?)

I also saw an alternate gui tool (like kppp) for redhat, rpm's found in http://rpmfind.net/linux/rpm2html/search.php?query=rp3 but I'm not sure how that works...

I'd say you should look for "idle-timeout" called option in your kppp's config utility...if it's set too low then it might cut the connection before it's even ready..

duhh..I truly thought pppconfig could be obtained for redhat...I wonder why it can't. but RH is counting on gui-apps, there's no denying that..

hopefully you'll find a solution....how about if you try to add "idle n" option to your pppd's config file, where n stands for a big number...like

idle 3000

or something..that'd let pppd stay idle 999 seconds before doing anything like closing the connection. even better, try if "idle 0" would make it stop the whole thing...so that it wouldn't close the link no matter how long the connection stays idle?

check out

man pppd

if you haven't yet...there are all options you can use and hints on how they work...wvdial worked for me until this distro, and I liked it _way_ more than kppp when I had RH back in the days...
 
Old 02-17-2004, 10:43 AM   #5
ATrx2k
LQ Newbie
 
Registered: Feb 2004
Location: England
Distribution: SuSE 9.0 Professional
Posts: 23

Original Poster
Rep: Reputation: 15
Question Wohoo i think

I actuly managed to connect to the web, turns out it was that time out thing. So i am conneted, but when i load mozilla and try to browse thw web, it just stalls. for example i typed in http://www.google.com and mozilla just sits there doing nothing it doesnt even show an error message. i tried this with other sites and with the konquer browser but it does the same thing.

any ideas
 
Old 02-17-2004, 01:47 PM   #6
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
ok...have you dealth with files lke host & resolv? they reside as follows:

/etc/hosts
/etc/resolv.conf

check them out. the first file should include at least the following line (might have something else too, but this one at least is needed):

127.0.0.1 localhost.localdomain localhost

and then resolv.conf - this is the file which tells the system the dns servers you use..and it's contents should be as follows (at least this line, maybe more too?):

nameserver aaa.bbb.ccc.ddd

where aaa.bbb.ccc.ddd is the ip address of your isp's dns server. without this the can't necessarily surf the net...unless it manages to get the ip-address(es) for the dns server from the number it's calling to. but you might want to see if the file has an ip-address, and if it doesn't then go to your connection provider's webpage & search there "DNS server address/ip" or ask them by mail I guess it should be in somekind of FAQ section if you can't find it elsewhere.

I'm not sure it this problem is due to dns problem...but at least if you don't have dns configured, your browsers don't know what "www.google.com" means, they only would know how to open ip-addresses; dns gives the browser the names corresponding the ip-addresses, so that you can surf by typing a http://something.sth -type address.. (hopefully I didn't write too much heh)
 
Old 02-19-2004, 03:12 AM   #7
ATrx2k
LQ Newbie
 
Registered: Feb 2004
Location: England
Distribution: SuSE 9.0 Professional
Posts: 23

Original Poster
Rep: Reputation: 15
its not the DNS :(

I Emailed my ISP abd got the dns address i typed it in in kppp and it automaticly came up in resolv.conf. i went back into mozilla and typed in www.linuxquestions.org and after about 2mins i get an alert saying www.linuxquestions.org could not be found.

any ideas
 
Old 02-19-2004, 08:31 AM   #8
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
hmm that's weird...

can't come up with anything amazing right now..have to think for a while. but in the meantime, open up your Mozilla's Options (found in Tools menu? at least in Firefox) and there locate your connection settings (in Firefox it's in General -> Connection Settings) and see if you're using some proxy - if you are, you can try turning that off (changing it to "Direct connection") and re-trying to open some address... this shouldn't affect it, though. but at least it's a try

I advice you to do that only because one of my friend had problems surfing the web, and it helped only when he turned his proxy off (don't know why or how on earth it could affect)..I'm not even sure if you do use proxy.

I'll try to think what's going on...in the meantime, check your browser's settings through and see there's nothing weird there I don't think there is but..
 
Old 02-20-2004, 03:17 PM   #9
ATrx2k
LQ Newbie
 
Registered: Feb 2004
Location: England
Distribution: SuSE 9.0 Professional
Posts: 23

Original Poster
Rep: Reputation: 15
Thanx for the help i think i will have to continue using my windows system to dial
 
  


Reply



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-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 12:40 AM
PPP problems with Redhat 8 etcetera Linux - Networking 3 09-04-2004 02:39 PM
Redhat 7.3 Dialup PPP Internet Problems Sytheek Linux - Newbie 0 05-06-2004 09:07 PM
ppp dial-up with callback problems siphiuel Linux - Networking 0 08-19-2003 06:37 PM
PPP for dial in. <Rockman> Linux - Networking 14 01-03-2003 11:30 PM

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

All times are GMT -5. The time now is 01:16 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