Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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...
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.
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)
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.