LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2005, 04:18 PM   #1
virii1
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Netconfig


[Slackware v10]
Right now, my internet connection (in Windows) is working fine. Assume my IP info right now is:

IP: 192.168.1.100
Subnet: 255.255.255.0
Gateway: 192.16.1.1
Primary DNS: 200.200.200.200
Secondary DNS: 200.200.200.201

How do I use netconfig to enter in all this info? I only see the ability to enter my IP, subnet, and gateway. I need both my primary and secondary DNS server's IP's to connect to the Internet. I'm not using DHCP, static ONLY. Also, what criteria do I need to put in for the HOSTNAME and DOMAIN? Can someone give examples?
I've tried to edit the /etc/rc.d/rc.inet1.conf file, but there's no place to put my DNS info in.
 
Old 03-25-2005, 05:02 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
you can put all(most) of the info ifconfig parameters
ifconfig eth0 will show you what the settings are.

do a man on it and enter all the info.
hostname is not terribly important in most cases domain name even less.

pull the dns entries from windows machine and you might have to make your gateway and dns entries by routeadd etc.

not knowing rest of your network makes it difficult to say what to use exactly.
if you made windows work .. same thing will work in linux main command is ifconfig
 
Old 03-26-2005, 09:57 AM   #3
junaid18183
Member
 
Registered: Mar 2005
Location: India
Distribution: RedHat 9.0 and EL
Posts: 31

Rep: Reputation: 15
Re: Netconfig

Quote:
Originally posted by virii1
[Slackware v10]
Right now, my internet connection (in Windows) is working fine. Assume my IP info right now is:

IP: 192.168.1.100
Subnet: 255.255.255.0
Gateway: 192.16.1.1
Primary DNS: 200.200.200.200
Secondary DNS: 200.200.200.201

How do I use netconfig to enter in all this info? I only see the ability to enter my IP, subnet, and gateway. I need both my primary and secondary DNS server's IP's to connect to the Internet. I'm not using DHCP, static ONLY. Also, what criteria do I need to put in for the HOSTNAME and DOMAIN? Can someone give examples?
I've tried to edit the /etc/rc.d/rc.inet1.conf file, but there's no place to put my DNS info in.

***************************************************
hi ,
for the dns entries use the file /etc/resolv.conf and give your dns server like e.g.

nameserver 192.168.0.254 ;whatever it may be (primary dns)
nameserver 192.168.0.253 ;secondary and so on

again change the order in the /etc/hosts.conf to change the order of the name resolution e.g.
order bind,hosts


for adding the hostname use the file /etc/sysconfig/networking/
hope it will work
note the above is for the Red Hat Linux.

Thanks
 
Old 03-28-2005, 01:56 PM   #4
virii1
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
thanks, i'll try that
 
  


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
'netconfig' won't l0rddarkf0rce Slackware 3 07-28-2005 06:30 PM
netconfig Zero1 Slackware 3 08-24-2004 06:35 PM
netconfig knoxville Linux - Newbie 6 11-30-2003 02:56 PM
NetConfig XPediTioN Slackware 2 07-13-2003 09:08 PM
NetConfig XPediTioN Linux - Software 1 07-13-2003 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration