Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-25-2006, 12:38 PM
|
#16
|
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189
Rep:
|
it should be empty, fill it up.
|
|
|
|
09-25-2006, 01:15 PM
|
#17
|
|
Member
Registered: Oct 2003
Posts: 35
Original Poster
Rep:
|
OK,I WENT TO ROUTING AND I PUT in the Default Gateway 192.168.1.1
In the expert cofiguration
Destination : 192.168.1.3
Gateway: 192.168.1.1
netmask: 255.255.255.0
And i checked the Enable IP Forwarding.
After all that i couldn't connect.
In the terminal i wrote
ifconfig eth0 up
dhcpcd -n
and finally i have access to internet.
The problem that i have now is that the internet is slow and when i reboot the machine every time i need to write dhcpcd -n and ifconfig eth0 upto have access.
Last edited by georgiozoze; 09-25-2006 at 02:07 PM.
|
|
|
|
09-25-2006, 02:23 PM
|
#18
|
|
Member
Registered: Oct 2003
Posts: 35
Original Poster
Rep:
|
ok guys,
thanks for your help, i think that is done. Until now i don't have problem. I hope in the future too.
Thanks again!
|
|
|
|
09-25-2006, 06:08 PM
|
#19
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
The default route should be set in this file:
Code:
/etc/sysconfig/network/ifroute-eth0
which should contains something like:
Code:
default 192.168.1.1 255.255.255.0
|
|
|
|
10-13-2006, 08:09 PM
|
#20
|
|
Member
Registered: Oct 2003
Posts: 35
Original Poster
Rep:
|
Hey again guys,
Just know i can't connect again to the internet.
It's ok when ping 64.233.189.104
but when i ping www.google.com
the output is
ping:Unknown host www.google.com
What's happened again, and the dhcpcd -n doesn't do anything this time.
|
|
|
|
10-14-2006, 02:11 AM
|
#21
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Your DNS settings are either missing or wrong.
As already stated, check /etc/resolv.conf
|
|
|
|
10-14-2006, 05:32 AM
|
#22
|
|
Member
Registered: Oct 2003
Posts: 35
Original Poster
Rep:
|
cat /etc/resolv.conf
nameserver 192.168.1.1
search myserver.com
is this wrong?
Also i don't have the file ifroute-eth0 The default route should be set in this file:
Code:/etc/sysconfig/network/ifroute-eth0 i have ifroute-lo
what should i do?
Last edited by georgiozoze; 10-14-2006 at 05:39 AM.
|
|
|
|
10-14-2006, 05:51 AM
|
#23
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Does your router supply a dhcp service? I can't tell from your posts if you are trying to set up your system with a static address or dynamically using dhcp. Your main problem is that /etc/resolv.conf doesn't contain the nameserver (DNS) addresses. If you use DHCP, they should be supplied for you. You probably want to read through the Networking section of the SuSE Reference, ( Chapter 18 ) and configure your interface using YaST. There is an option to have your dhcp client update the resolv.conf file.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|