Hi Johannes!

resolv.conf is used by OS to resolv canonical name vs IP address....
Can You ping a know IP address from SSH connection on EFW?
And can You ping the same IP address from an host in GREEN lan?
Try to ping 209.85.135.104 (www.l.google.com) both directly from EFW and
from host on GREEN.

Bye!
Carlo

Try to ping 

turbo wrote:
> 
> Just an update here,
> 
> after opening/closing  resolv.conf  and rebooting efw dnsmasq is able to
> read the file (no error messages) but the connection to the net still
> fails. I am lost as to WHY ?
> efw is not able to establish a connection over etho (red link) despite
> that the network status shows  for ALL interfaces OK.
> 
> Anyone out there who could shed some light ?
> 
> Johannes
> 
> 
> 
> 
> turbo wrote:
>> 
>> Hi cpu,
>> 
>> thank's for the response, but to my surprise the file resolv.conf existed
>> and had 2 entries of the DNS servers which I had entered in the GUI. 
>> Q: Why is the file not found ? Any ideas ?  
>> 
>> Johannes
>> 
>> 
>> 
>> cpu wrote:
>>> 
>>> 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#a13020608
Sent from the efw-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Efw-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/efw-user

Reply via email to