Hi Johannes!

Try to create and configure the file 

/var/efw/red/resolv.conf

with the vi editor in a SSH session or create it in windows OS (or your
preferred OS) and then upload it to EFW using SCP protocol (if you use
Windows you can use WinSCP).
First:
-obtain the domain of your ISP and the IP address of the two DNS servers
used by your ISP (you can get them from connection status page of your
D-link router)
-check if SSH deamon is enabled on your EFW.
Then connect to EFW through SSH protocol; login as root.

cd /var/efw/red/

vi resolv.conf


press "i" key (without quotes) on keyboard to enter in insert mode
then enter the correct cpnfiguration as show below (without quotes):

domain "isp.domain.name"
nameserver "ip.first.dns"
nameserver "ip.second.dns"

For example:
domain aol.com
nameserver 195.112.4.4
nameserver 195.112.4.7

then pres "esc" key.
then enter:

:wq

and press Enter to save and exit from vi editor.

Restart EFW and try if the connection is working ;-)

Bye!
Carlo



turbo wrote:
> 
> Hi all,
> 
> after further investigation why I am not able to browse the net, despite
> that all nics are proper setup & working and all entries are correct I
> found this in the dns log.
> 
> dnsmasq failed to access /var/efw/red/resolv.conf: No such file or
> directory
> 
> the full log:
> ----------------------------
> Sep 30 20:19:32 dnsmasq started, version 2.38 cachesize 150
> Sep 30 20:19:32 dnsmasq compile time options: IPv6 GNU-getopt
> no-ISC-leasefile no-DBus no-I18N TFTP
> Sep 30 20:19:32 dnsmasq failed to access /var/efw/red/resolv.conf: No such
> file or directory
> Sep 30 20:19:32 dnsmasq read /etc/hosts - 2 addresses
> Sep 30 20:19:45 dnsmasq exiting on receipt of SIGTERM
> Sep 30 20:19:45 dnsmasq started, version 2.38 cachesize 150
> Sep 30 20:19:45 dnsmasq compile time options: IPv6 GNU-getopt
> no-ISC-leasefile no-DBus no-I18N TFTP
> Sep 30 20:19:45 dnsmasq failed to access /var/efw/red/resolv.conf: No such
> file or directory
> Sep 30 20:19:45 dnsmasq read /etc/hosts - 2 addresses
> Sep 30 20:24:00 dnsmasq exiting on receipt of SIGTERM
> Sep 30 20:24:00 dnsmasq started, version 2.38 cachesize 150
> Sep 30 20:24:00 dnsmasq compile time options: IPv6 GNU-getopt
> no-ISC-leasefile no-DBus no-I18N TFTP
> Sep 30 20:24:00 dnsmasq failed to access /var/efw/red/resolv.conf: No such
> file or directory
> Sep 30 20:24:00 dnsmasq read /etc/hosts - 2 addresses
> Sep 30 20:24:02 dnsmasq read /etc/hosts - 3 addresses
> Sep 30 20:24:02 dnsmasq exiting on receipt of SIGTERM
> Sep 30 20:24:02 dnsmasq started, version 2.38 cachesize 150
> Sep 30 20:24:02 dnsmasq compile time options: IPv6 GNU-getopt
> no-ISC-leasefile no-DBus no-I18N TFTP
> Sep 30 20:24:02 dnsmasq failed to access /var/efw/red/resolv.conf: No such
> file or directory
> Sep 30 20:24:02 dnsmasq read /etc/hosts - 3 addresses
> 
> -----------------------------------
> 
> 
> I am assuming that this is propably the reason I am not able to browse the
> net after efw is as router between my dsl modem and the LAN. Disconnecting
> efw and using a D-Link router (which I like to replace) all is working
> again. This shows me, that there is no ISP problem.
> 
> How go I about to resolve this ? I would like to create such file, but as
> a Linux NOOB I would need some guidence in regards to commands in the
> terminal.
> 
> Any help very welcome to get this nice and easy to setup firewall running.
> 
> Thank you.
> 
> Johannes
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/endian-2.1.2-dnsmasq-problem%2C-no--var-red-resolv.conf--file-tf4545998.html#a12978414
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to