Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello,
Pls help!!!
I am a new subscriber with one of our ISP here and they gives me my private IP and the DNS but my problem is how could i configure it on my box?and add my dns?
here is a sample of what they provided:IP Address: 192.xxx.xxx.xxx
Mask:255.255.255.xxx
Gateway: 192.xxx.xxx.xxx
Primary DNS: 192.xxx.xxx.xxx
Secondary DNS:192.xxx.xxx.xxxi couldnt work the internet connections.
st.anger

This all depends on the distro you are using.
To temporarily assign an ip address, you can use the ifconfig command. This will only work until your next reboot.
#ifconfig eth0 192.xxx.xxx.xxx 255.255.255.0For DNS, you'll need to edit your /etc/resolv.conf file and list those IP addresses for DNS, one on each line. For instance:
192.xxx.xxx.xxx
192.xxx.xxx.xxxOn some distributions, network configuration information is stored in the /etc/sysconfig directory. On a SuSE system for instance, you will find the network configuration settings in the ifcfg-eth0 file in this directory. On a RedHat, you'll find interface settings in the /etc/sysconfig/network-scripts directory. The gateway and hostname are configured in the /etc/sysconfig/network file. Hope this kinda gets you on the right track. Like I said, it all depends on the distro.
If you want additional help, go to ResourcePC.com
For additional help, visit ResourcePC.com

One thing hywaydave missed out was how to set your gateway by hand:
# route add -net default gw 192.xxx.xxx.xxx netmask 0.0.0.0 metric 1

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |