A problem with dial-up connection
I use Fedora core 6 as OS and installed HSF modem that work good. I haven't any problem with hardware. But using kpppd I'm unable to connect the INTERNET. It dials very good but waits a minute nothing happen (time out and %1 may NO CARRIER). using debug as pppd argument is useless. In windows XP I connect without any problem.
Is any pppd arguments needed or still needed configuration? I think hardware is no problem cause I can here modem that dialing! please help: |
I think you're using kppp gui. In kppp select configure and in the 'modem' tab select your modem and press 'query modem'. Let us know the result
|
Quote:
ATI: 56000 ATI 1: 255 ATI 2: ATI 3: hsf (modem package number here) ATI 4: CONEXANT HSF soft modem ATI 5: B5 ATI 6: ATI 7: 255 Note: I can hear modem dialing and when dialing my mobile via kppp, It is ringing so I think modem has no any problem. |
Modem seems ok. You sure you have entered your account details correctly in kppp. Also make sure you have all the dependencies that needed by kppp. Is it preinstalled in the os?
Is wvdial working? |
Quote:
Well, wvdialconf works good and can find the modem in /ttySHSFO and in lsmod, hsfmodem items are listed. the account details are correct to. in dialing ISP I can hear the modem trying to connect the ISP but allways lost by timeout. Is any function for kppp argument needed. debuge argument is useless. |
what happens if you run wvdial as root
|
I think you meant wvdial is dialling and working properly. If not, try wvdial with sudo or root, as said wvdial needs root or sudoer
|
hi if you can afford buy a router it installs it self,you can buy these at dabsor ebuyer for £28
|
Quote:
|
Quote:
the output for wvdialconf myconf: Code:
Scanning your serial ports for a modem. |
siaswar,
This is the configuration setup. What about the results when the modem is dialled that is, the command 'sudo wvdial' Also please inform us whether your wvdial is able to connect internet or not |
Quote:
Code:
# wvdial |
Please follow these steps, we are starting all over again
Connect your modem Be root, or sudo (for all commands) Command: wvdialconf /etc/wvdial.conf Then use any text editor and edit the /etc/wvdial.conf, according to your isp Command: wvdial /etc/wvdial.conf |
Quote:
I repeated all steps again and again. But the problem is exit. It seems I should reinstall the linux (A windows style solution!!!) but still I want to challenge it. |
good, I really appreciate you for not giving up.
Can you post your wvdial.conf Also please describe a bit about your isp As you're using dial-up, make sure your telephone cables are ok. You can test this if you have a windows or other os box, make sure it's fine |
do you have call waiting. the error message suggest a phone is off the hook, call waiting service, or telephone line problems
|
Quote:
after determining DNS's IP address (in connecting state) the last line in terminal is: pppd: TYPE I don't know whether it is connected or not. also gui kppp is useless. Technically, what is difference between Windows XP and Linux (as my fedora) dialing rolls that windows is able to connect but Linux is not |
what's in your /etc/resolv.conf file, if it's not correct you will connect but can't view webpages
|
Yes you should post your wvdial.conf file, minus your REAL password or other sensitive info. I quit using wvdial way back and just use ppp directly, editing appropriate config files like /etc/ppp/options and /etc/ppp/chat-username, but this all hinges on what your ISP does to make your connection work.
What it sounds like to me is the ISP is not getting your user name and password and waits for it until it times out. The busy signal is probably because it retries without adequate time intervals. |
Quote:
If the line is really busy, your ISP has signed up too many customers, this isn't at all uncommon. Make sure you have all available dialup numbers -- contact your ISP to get a complete set. The idea is to set things up to test the numbers in sequence, to avoid the busy-signal problem. Next, set up to hear the modems negotiating (how to do this differs from modem to modem). Once you've heard a successful modem negotiation you won't forget it -- your ear is a reliable debugging tool for dial-up. |
This is my wvdial.conf file which generated by: wvdialconf /etc/wvdial.conf
Code:
[Dialer Defaults] |
As colorpurple21859 said, you should also post your /etc/resolv.conf. I've a feeling it's either not there or messed up by dhcp or some other gremlin.
|
Quote:
There is another file /etc/resolv.conf.back and it is empty too! |
Ok, the resolv.conf file should contain the nameserver IP addresses of the usually two nameservers that your ISP uses. If you're using DHCP (which is most likely with a dial-up ISP) then DHCP usually configures resolv.conf automatically.
Since this is not the case, have a look in /etc/ppp or /root/.ppp after being connected. There should be a file in there called *something like* ppp0.info -- I'm not sure what the filename will be, it's been a little while since I used ppp. If you're not sure which file, then open the /etc/ppp folder in your file browser, and WATCH CLOSELY the files in the folder, while dialing your ISP with the modem. After the connection is established, one of the files in there should either update itself, or a brand new file should appear. The filename should contain the word "info" in it. Open that file. You should see in there, two lines (or maybe one line with comma-separated values) with the "nameserver" or "dns-server" or something like this. There should be 2 IP addresses. Copy those addresses into your resolv.conf file, like so: Code:
#Example resolv.conf file: Now, try using your browser. If this works, we'll look more closely at WHY your resolv.conf file is not being updated. Sasha |
Or you can use OpenDNS. Here are two sample lines you can put in your /etc/resolv.conf:
nameserver 208.67.222.222 nameserver 208.67.220.220 Just open /etc/resolv.conf with the "gedit" command (or similar text editor) and put in the above lines. Then try again. You'll have to restart the ppp daemon. |
All times are GMT -5. The time now is 09:33 PM. |