LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dialup connection issues (https://www.linuxquestions.org/questions/linux-newbie-8/dialup-connection-issues-241940/)

Opt1mus 10-12-2004 09:05 PM

Dialup connection issues
 
Hi there,

i've recently installed fedora core 2 on my system, and normally connect to the internet via an external dialup modem. Linux identifies it as: "Ambient 3200 56k Modem"

i'm able to connect to my ISP via kppp, however once connected, i can't view any webpages, make any ssh connections, use any messaging clients...pretty much utilise any part of the connection.

I'm not sure whether this is a driver issue (as it was able to connect) or an issue with security settings. Either way, i'm not sure how to go about fixing this. Previously I had Redhat 9 installed, and i had none of these problems whatsoever...

is anyone able to shed some light on my situation, or point me in the right direction?

regards.

-opt

Andrew Skinner 10-13-2004 07:14 AM

are you actually logged on to the ISP ?

if not , to start with i'd check :

1. modem connection
in kppp you can querry the modem (if I remember right there is a modem tab that can be accessed as part of setting-up an ISP) it is worth checking that the PC is talking to the modem properly.

2. also if you check the view log box on the kppp dialog (pretty sure its called that -I'm at work on my lunch break in front of a win 2K machine) you an see if the logon is successful

3. I also used minicom when I had connection issues but kppp log gnerally seems to be enough

when I ran Mandrake 9.2 it would display the ISP name on the toolbar but the ppp deamon had "died unexpectedly" (in my case this was random and could be 1-5 minutes after logon) but this was on a pop-up window that was often hidden . When this happens no internet functions will work , in my case this was due to too much load on the line.

darthtux 10-13-2004 07:25 AM

Can you
ping 216.109.118.66
and
ping www.yahoo.com

scuzzman 10-13-2004 07:41 AM

post the results of this command sequence:
Note: the $ or # is a command prompt
$ indicates a normal user
# indicates root

Code:

# service iptables stop
$ ping -c 4 linuxquestions.org
$ ping -c 4 64.179.4.149
$ cat /etc/resolv.conf

Also, if you put 64.179.4.149 in the address bar of Mozilla, do you pull up LQ?

Opt1mus 10-13-2004 11:38 AM

hmmm

my modem is definately detected, as i had originally queryed it in kppp, coming up with expected results.
another thing is that upon running cat /etc/sysconfig/hwconf my modem is not listed there


from pinging striaight ip addresses, i do get results, but not from piniging through the URL. i can also access these ip addresses via mozilla, e.g. the LQ ip, google's ip and yahoo, but no images are loaded.

that sequence of commands shows this.

Code:

#service iptables stop
$ ping -c 4 linuxquestions.org
ping: unknown host linuxquestions.org
$ ping -c 4 64.179.4.149
PING 64.179.4.149 (64.179.4.149) 56(84) bytes of data.
64 bytes from 64.179.4.149: icmp_seq=0 ttl=51 time=416 ms
64 bytes from 64.179.4.149: icmp_seq=1 ttl=51 time=417 ms
64 bytes from 64.179.4.149: icmp_seq=2 ttl=51 time=407 ms
64 bytes from 64.179.4.149: icmp_seq=3 ttl=51 time=430 ms
 
--- 64.179.4.149 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 407.933/418.292/430.926/8.226 ms, pipe 2
$ cat /etc/resolv.conf

not sure if that resolv.conf file should contain anything...but it's blank at the moment

its all a bit confusing, as the modem *does* appear to work, but only for some things..


thanks :)

darthtux 10-13-2004 08:58 PM

/etc/resolv.conf only has to contain one line containing the IP address of your ISP's primary dns nameserver like this"

Code:

nameserver xxx.xxx.xxx.xxx
just replace the x's with the ip address. Get the secondary and add it in its own line. Just in case their primary is having trouble.

Ryptyde 10-14-2004 07:41 PM

Had the exact same problem,installed FC2 went to kppp and configured dial-up to my ISP hit connect button on the gui heard the connection being made and thought I was about to browse the net.NOT! Tried Mozilla and Konquerer but no luck.queried the modem and everything was fine,Googled,posted to and read the Linux forums,read magazines,books,etc.This had been going on for a few days and I was becoming frustrated and then decided to browse this forum when I came upon a post with the same problem that contained some suggestions on possibly resolving the problem.After reading 'darthtux's' reply:

Quote:

/etc/resolv.conf only has to contain one line containing the IP address of your ISP's primary dns nameserver like this"


code:
nameserver xxx.xxx.xxx.xxx


just replace the x's with the ip address. Get the secondary and add it in its own line. Just in case their primary is having trouble.
It dawned on me to recheck my kppp configuration. I went to my ISP website and got the primary and secondary DNS address,used another computer to get the info but you can call your ISP's tech support and get it also.Opened kppp and hit the config button on the gui selected Accounts highlited account name then hit Edit>DNS>Manual,type in DNS IP address>OK then you should be ready to "surf the web".Well anyway I hope that will do it.I am currently posting this reply on the machine that I made the the simple edit of adding the DNS IP address to get my browser(Konquerer) online.

Thanks for the enlightenment and inspiration to go on.

Opt1mus 10-16-2004 03:04 AM

aye

worked like a charm!

knew it was something like that, but just didnt know where to look

many thanks;)


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