LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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

Reply
 
Search this Thread
Old 09-25-2006, 12:38 PM   #16
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49

it should be empty, fill it up.
 
Old 09-25-2006, 01:15 PM   #17
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 09-25-2006, 02:23 PM   #18
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Original Poster
Rep: Reputation: 15
Wink

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!
 
Old 09-25-2006, 06:08 PM   #19
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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
 
Old 10-13-2006, 08:09 PM   #20
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 10-14-2006, 02:11 AM   #21
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,506

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
Your DNS settings are either missing or wrong.

As already stated, check /etc/resolv.conf
 
Old 10-14-2006, 05:32 AM   #22
georgiozoze
Member
 
Registered: Oct 2003
Posts: 35

Original Poster
Rep: Reputation: 15
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.
 
Old 10-14-2006, 05:51 AM   #23
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to add default route (network unreachable) beebop Linux - Networking 12 05-30-2005 11:07 AM
Getting message "connect: Network is unreachable" trying to access the Internet denver1980 Linux - Networking 5 12-29-2004 05:22 PM
connect: Network is unreachable teach42 Fedora 1 08-10-2004 06:16 PM
Internet Problems? Network unreachable plehman Fedora 0 07-11-2004 05:18 PM
connect: Network is unreachable joenomad Linux - Networking 11 04-21-2002 10:33 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration