Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Sun Nov 19, 2017 6:53 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: resolv.conf
PostPosted: Sat Jul 04, 2009 8:18 am 
Offline
Total Newbie

Joined: Sun Jun 28, 2009 3:45 am
Posts: 1
Hi everyone,
only 1 week ago i started modifying my LS-LGL to act as my media server

and since then i managed to put up web-server and get torrent flux working on it. Its been long and rewarding journey as i managed to put up one thing after another. What i find now is that i get dns resolution errors which is caused by the nameserver not being set in the /etc/reolv.conf
WHat i do is manually go in and put in the nameserver , but what i find is that after each reboot of NAS it reverts back
i know some script is causing this, can anyone advice me on how to disable this ? and make a permanent change


Top
   
 Post subject: Re: resolv.conf
PostPosted: Sat Jul 04, 2009 10:30 am 
Offline
Regular Member

Joined: Tue Nov 27, 2007 3:19 pm
Posts: 217
Location: Dresden, Germany
Are you running freelink (Debain)?

I'm using the dhcp-approach (IP of the LS is defined by the DHCP server of my router and the DNS-Server is determined automatically):

/etc/network/interfaces
Code:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp
pre-up ifconfig eth0 mtu 9014


/etc/dhcp3/dhclient.conf
Code:
send host-name "linkstation";
send dhcp-client-identifier 00:00:00:00:00:00;
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, host-name,
        netbios-name-servers, netbios-scope, interface-mtu;
timeout 20;
retry 5;

00:00:00:00:00:00 is actually the MAC address of my LS which I modified for this posting.

_________________
LS Pro v1:
  • Freelink (Debian etch), kernel: 2.6.16.57-lsp_eabi-dh_v3, gigabit network (9k jumbo frames)
  • running: mt-daapd (aka firefly), smb, amule, vsftpd, mysql, rsnapshot, micro_evtd testing ;)
  • upcoming: ampache (+ coherence), aria2, slimrat, apache, streamripper (record what my soundbridge is playing)...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited