LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-14-2007, 01:46 AM   #1
autophil
Member
 
Registered: Jun 2006
Location: Macclesfield Canal, East Cheshire
Distribution: Salix-14.1
Posts: 129
Blog Entries: 1

Rep: Reputation: 15
resolv.conf


Ive just installed Zenwalk on a p2 laptop which installed without a hitch! Then I plugged it into my adsl router along with the other 2 computers in the house(one with slackware and the other with xp). After messing around with netconfig I find that the file called /etc/resolv.conf is empty. No text. Also /etc/samba.conf. Empty. Do I have to write stuff into these files. The only ping that returns a positive result is ping 120.0.0.1

If anyone can help here Id really like to get this connected up in order to share files.
 
Old 08-14-2007, 01:52 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 31
he he he....

/etc/resolve.conf should have a entry
nameserver ip-address of your router

and the network device should also be enabled.
Check the ifconfig command or similar.

Regarding cifs/smb filesharing check out google for a whole bunch of documentation.
come back if you receive any errors.
So when you did already some pre-work...
 
Old 08-14-2007, 02:06 AM   #3
autophil
Member
 
Registered: Jun 2006
Location: Macclesfield Canal, East Cheshire
Distribution: Salix-14.1
Posts: 129

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Error!!
Actually its 127.0.0.1
ok
 
Old 08-15-2007, 08:51 AM   #4
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
Quote:
Originally Posted by autophil View Post
Ive just installed Zenwalk on a p2 laptop which installed without a hitch! Then I plugged it into my adsl router along with the other 2 computers in the house(one with slackware and the other with xp). After messing around with netconfig I find that the file called /etc/resolv.conf is empty. No text. Also /etc/samba.conf. Empty. Do I have to write stuff into these files. The only ping that returns a positive result is ping 120.0.0.1

If anyone can help here Id really like to get this connected up in order to share files.
Are you using some Hub/Switch or you are having ports n your DSL router ?..
you have to place dns provided by ISP in resolve.conf

like..
nameserver 1stIP_add_ofISP
nameserver 2ndIP_add_ofISP
and check whether your dsl router is configured as DHCP or not ..
first of all are you able to ping your dsl router from all the pc's ?
 
  


Reply



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
DNS Hosts.conf or resolv.conf problem mac_casey SUSE / openSUSE 0 03-26-2006 09:21 AM
resolv.conf stanleytiew Linux - Newbie 2 05-13-2005 04:25 PM
resolv.conf Snump Mandriva 54 10-31-2004 04:16 PM
/etc/resolv.conf mustangfanatic SUSE / openSUSE 5 10-18-2004 09:28 PM
resolv.conf ricemark20 Linux - Networking 12 11-11-2003 04:08 PM

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

All times are GMT -5. The time now is 01:19 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
Open Source Consulting | Domain Registration