Solved

www and mail problems

Posted on 1998-09-09
7
196 Views
Last Modified: 2010-04-22
I installed Linux with a SuSE 5.3 Distribution.
Netscape is included and works but it cant get a conection to my provider. I was able to dial in to my provider with ppp. But what now?
I want to configure my system so that i can use netscape and get my e-mails f.i. with the program pine.
Is it necessary to use uucp?
0
Comment
Question by:Hawky
  • 3
  • 3
7 Comments
 
LVL 2

Expert Comment

by:JYoungman
Comment Utility
Make sure you have set up the /etc/resolv.conf file with the
correct IP address of your ISP's name server.

It is certainly not necesary to use UUCP.

0
 
LVL 3

Accepted Solution

by:
marcelofr earned 150 total points
Comment Utility
in /etc/resolv.conf you should have a line:

nameserver your_ISP_name_server_IP_number

if you run "ifconfig" you must find a ppp0 interface (UP, RUNNING and with an associated IP)

if you run "route -n" you must have an entry with destination 0.0.0.0 pointing to ppp0. If not, add "defaultroute" to your ppp configuration.

edit $HOME/.pinerc edit the line starting with inbox-path to read:

inbox-path={mail.server.com/POP3}inbox

If you are lucky enough and your provider gives you IMAP, omit "/POP3" in this configuration.

Netscape must work with this configuration.

Good Luck
0
 

Author Comment

by:Hawky
Comment Utility
I found 2 mistakes i made:
1) Nameserver IP was not correct
2) Modem speed was not correct

All files (resolv.conf ...) you listed are like you said.
The connection is up also after i start netscape.
Now netscape doesnt show the error "cant find server" but it hangs up at each click in it.
E.g. if i click home it searches without any result but also without message, and if i click stop then, it hangs. Also with other URL's.
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 3

Expert Comment

by:marcelofr
Comment Utility
if you run "ifconfig ppp0" you get the configuration of your ppp iface. In the sencond line you'll find two ip numbers. Can you ping to both (this corresponds to 2 entries in your routing table "route -n")?

Can you ping to the ip number of your name server?

Have you configured any proxies in netscape? should you?

what about pine?

Good luck
0
 

Author Comment

by:Hawky
Comment Utility
Without anything, netscape suddenly works.
I tried to send a mail using pine to my own adress. No error message while sending, but the mail comes not to my mailbox. Also it was not possible to look into my mailbox.
Pine says  ...folder closed <server response>
What could be the reason.
I increased points to 150 because i have 2 little questions more:

1)To configure ppp with yast i have to select between PAP and Terminal. I selected PAP without knowing what it means.
2)Sometimes the connection to my provider breaks. The line in /var/log/messages says: "terminal configuration fails" or "going to idle mode". What could be the reason?
What are the diald skripts for, and is it necessary to edit them.

Thank you for your help!

0
 
LVL 3

Expert Comment

by:marcelofr
Comment Utility
To send mail you need to put the correct smtp server on pine (main menu -> setup -> config -> smtp-server ).

I do not know yast but PAP (could have been CHAP) is an authentication mechanism... you use plain text user/passwd chalenge. If the server you connect to were a Linux box, it must have a /etc/ppp/pap-secrets file as well as the /etc/passwd entry ... I think you should choice terminal.

Diald will shut down a connection if it determines that it id idle and redial on new traffic. A tip: if "cat /proc/sys/net/ipv4/ip_dynaddr" is 0, change it to 1 or 2 "echo 2 > /proc/sys/net/ipv4/ip_dynaddr". When a packet tries to go to Internet, it makes diald dial up and get a dynamic ip address. This packet is lost unless it someone patches it with the new addresses... You have to do this in every boot so put the line in /etc/rc.d/rc.local.

Diald uses timeouts on a per service basis: you can configure funny things like not to connect on DNS server-to-server packets, or to timeout after 30 minutes of last http connection but after 5 minutes of last ftp packet and so on. You can also use "impulse" to tell diald to connect and keep connection during n seconds, then check traffic during x seconds (shutting down if no traffic) and loop again...

Defaults in diald config files are well documented, if you know what you want, you can make the changes easy... (in newer version you can choice between mettered and unmettered defaults) but you needn´t if you feel confortable...
0
 

Author Comment

by:Hawky
Comment Utility
Thank you, all works now!!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now