Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I've been trying for quite some time to hookup an ISP with my RH7.2 linux distro machine, but i cannot get it working. I use kppp to establish a connection. I've created a new account:
- PAP authentication
- dynamic IP address
- default Gateway (assign default route to this gateway)
- domain name : "xnet.ro"
- DNS automatic (they are 193.230.161.9 and 193.230.161.10)
And here are the device settings:
- modem: /dev/ttyS0
- flow control: CRTSCTS
- line termination: CR
- speed: 57600
With these very settings it works fine establishing the connection. But i can't do anything while connected. I've tried to ping the DNS address and it doesn't work. I can ping: localhost, any other LAN host, local IP address and remote IP address.
Here are some configuration file I have in my system at the moment:
#--host.conf
order hosts, bind
multi on
#--hosts
127.0.0.1 localhost
193.0.0.10 anotherhost
193.0.0.1 me
#--hosts.allow
ALL: LOCAL
#--hosts.deny
ALL: ALL
#--resolv.conf
search .
nameserver 193.230.161.9
nameserver 193.230.161.10
Also I have disabled the firewall. I'm also wondering about the ppp0 module. Here's the log from /var/log/messages:
May 2 19:03:56 tavi modprobe: modprobe: Can't locate module ppp0
May 2 19:03:56 tavi modprobe: modprobe: Can't locate module ppp0
May 2 19:03:56 tavi pppd[3825]: pppd 2.4.1 started by root, uid 0
May 2 19:03:56 tavi pppd[3825]: Using interface ppp0
May 2 19:03:56 tavi pppd[3825]: Connect: ppp0 <--> /dev/ttyS0
May 2 19:03:56 tavi pppd[3825]: not replacing existing default route to eth0 [193.0.0.254]
May 2 19:03:56 tavi pppd[3825]: local IP address 213.233.64.79
May 2 19:03:56 tavi pppd[3825]: remote IP address 217.10.222.230
May 2 19:03:56 tavi pppd[3825]: primary DNS address 193.230.161.9
May 2 19:03:56 tavi pppd[3825]: secondary DNS address 193.230.161.10
May 2 19:05:21 tavi pppd[3825]: Terminating on signal 15.
May 2 19:05:27 tavi pppd[3825]: Connection terminated.
May 2 19:05:27 tavi pppd[3825]: Connect time 1.5 minutes.
May 2 19:05:27 tavi pppd[3825]: Sent 97 bytes, received 64 bytes.
May 2 19:05:27 tavi pppd[3825]: Exit.
I would appreciate if someone could tell me what i'm doing wrong here.
Which desktop manager are you using. If it's Gnome, that may be the problem because I had the exact same problem when I used Gnome. Quick Fix, use KDE.
I use the KDE desktop environment. However, this doesn't seem to be the problem. I am worried about the ppp0 thing. How do i know if that thing is configured, loaded, etc?
And one more question: Is there a way to find out how your kernel is configured? I mean a configuration file or something... because i am often told to recompile the kernel with the 'x' option, but how can i retrieve my current configuration if i never recompiled the kernel, but just installed the RH distro?
I have a Zoltrix 56k external modem on the serial port (/dev/ttyS0 in linux). I must work in my RH7.2 distro because it works very well in Windows and Mandrake. Can anyone answer me about the ppp0 question? How can i find out if it's all ok? Or just tell me if that's not the problem, and what should i look for instead...
I've solved the question. I just had to start the routed daemon to make the Internet work. One could say that this is a RTFM situation, but I'm not too good when it comes to networking: I have read a bunch of docs regarding ISP hookup, PPP setup and a a little networking documentation. There were some docs in which was specified that before trying to get connected, i should do my networking setup. But they didn't specified that the routed must be started, nor in the ISP/PPP docs nor in the networking docs. For me there was a "link" missing here. That's why it took me some time to understand.
About the other question: what is named? is it neccessary for my Internet connection? and why every time i open linuxconf the named daemon want to be restarted (this gives me a warning when i quit)?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.