Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Issue with Static IP... a bug?[SOLVED!]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Falchion
n00b
n00b


Joined: 18 Dec 2005
Posts: 57

PostPosted: Wed Mar 22, 2006 6:10 am    Post subject: Issue with Static IP... a bug?[SOLVED!] Reply with quote

Whenever I run a program that do auto-update(such as Ragnarok Online, etc.) on a computer with Static IP, it'll fail. But if I use Dynamic IP, it'll connect.

Wassup with this?

Other Programs can connect to the internet just fine(mozzila, internet explorer, any downloads...). The programs that I usually have a problem connecting to the internet using a computer with static IP are mostly games that need auto-update/connect to download server(lineage, ragnarok, etc...).

Anyone know how to work around this issue?


Last edited by Falchion on Thu Mar 23, 2006 2:35 am; edited 1 time in total
Back to top
View user's profile Send private message
jeffbuttars
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2003
Posts: 79
Location: Boise, ID

PostPosted: Wed Mar 22, 2006 6:14 am    Post subject: default gateway Reply with quote

How are you setting up the static IP?
It sounds to me like you may not be setting the default gateway, or maybe not adding dns servers to /etc/resolv.conf.

try the command 'ip route show'
it should output a line that looks something like
'default via x.x.x.x dev ethx'

Are there any/correct entries in the file /etc/resolv.conf
Back to top
View user's profile Send private message
Falchion
n00b
n00b


Joined: 18 Dec 2005
Posts: 57

PostPosted: Thu Mar 23, 2006 2:35 am    Post subject: Re: default gateway Reply with quote

jeffbuttars wrote:
How are you setting up the static IP?
It sounds to me like you may not be setting the default gateway, or maybe not adding dns servers to /etc/resolv.conf.

try the command 'ip route show'
it should output a line that looks something like
'default via x.x.x.x dev ethx'

Are there any/correct entries in the file /etc/resolv.conf


oh wow, you're a genius.
I thought I didn't have to put anything for nameserver since I could connect to the internet just fine....

After I put 192.168.0.1(my gentoo local server IP) in both default gw and nameserver, it works!

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum