CentOS 5 Networking :: Dnsmasq Not Starting Correctly?

Nov 2, 2009

Since latest large update to CentOS 5.3, which also upgraded to 5.4, I have problem with dnsmasq. CentOS is real server on real hardware (not virtual). I use dnsmasq as dhcp server as usual. On hardware startup or reboot, these lines are included in /var/log/messages

Nov 2 19:06:16 server avahi-daemon[2965]: New relevant interface eth0.IPv4 for mDNS.
Nov 2 19:06:16 server avahi-daemon[2965]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.0.1.

[Code]....

View 14 Replies


ADVERTISEMENT

CentOS 5 Networking :: DNSMasq Update Looking For Config File

May 26, 2010

I did a yum update this morning that included a dnsmasq update. Subsequently, for an unrelated reason, I restarted dnsmasq, but it failed because /etc/dnsmasq.d didn't exist. It looks like my /etc/dnsmasq.conf file now includes "conf-dir=/etc/dnsmasq.d" at the end. Since dnsmasq was starting and I didn't remove dnsmasq.d, I assume this line was added by the update. Commenting the line resolves the issue.

An alternative hypothesis, given that I don't really know what the state of /etc/dnsmasq.conf and /etc/dnsmasq.d/ was before the update, might be that the directory did exist, but was removed by the update. I find this the least likely of my 2 stated hypotheses. (There are other hypotheses, but I think they are even less likely). Am I correct is concluding the conf-dir line was added by the update? If so, shouldn't the updated RPM create the directory during install?

View 6 Replies View Related

CentOS 5 Networking :: Dnsmasq Dhcp - DNS Server Does Not Respond

Jan 9, 2011

I got a CentOS server setup as a dhcp server using dnsmasq. I followed this guide more or less: [URL] So, the problem seems to be concerning the DNS server on the clients. In windows I get the "limited connectivity" icon for the network, and when I select troubleshoot it says the DNS server does not respond. Issuing 'ipconfig /all' clearly shows the IP of the CentOS machine as the DNS server, which should be correct, yes?

ETH0 is working as WAN connection and that works great.. no problem with the WAN connection at all on the CentOS machine. ETH1 has the IP 192.168.0.1 and mask 255.255.255.0 When starting eth1, it sometimes says that it can't start eth1 because the IP 192.168.0.1 is already in use.. but that is most certainly not the case. Maybe there's some kind of issue here that messes with the DNS? What's mind boggling is that it works great on a linux machine (dhcp client) and on a windows xp machine. but it does not work on the windows 7 laptop and a vista laptop and a pda device.

View 1 Replies View Related

Debian :: Running Dnsmasq In Lenny - Wvdial Connecting But Dnsmasq Doesn't Work

Dec 30, 2010

I am running dnsmasq in debian lenny, wvdial connecting but dnsmasq doesn't work, the /var/run/dnsmasq/resolv.conf file is empty this is /var/log/syslog:

The /etc/resolv.conf and /etc/resolvconf/run/resolv.conf is ok:

This is my /etc/dnsmasq.conf:

[url]

View 3 Replies View Related

Ubuntu :: Dnsmasq Will Not Apply Changes In /etc/dnsmasq.conf?

Dec 27, 2010

ubuntu: 10.04dnsmasq: 2.52-1ubuntu0.1I've installed dnsmasq and it is performing DNS duties correctly. I'd like to limit access to the dnsmasq service to a specific address or interface. I've tried adding variations and combinations of the following to /etc/dnsmasq.conf:

Code:
interface=eth0
and

[code]....

View 1 Replies View Related

CentOS 5 Networking :: How To Configure NTPD Correctly With Firewall

Jan 21, 2011

I am running a centOS 5.5 server and can't synchronize with time servers via ntpd. My server sits behind a firewall with only port 80 open and I suspect this is the issue. Do I need to open other ports to connect to the time servers at [URL]?

View 4 Replies View Related

Ubuntu :: Starting App Command Not Working Correctly?

Jan 2, 2011

why this command:

/usr/bin/freepopsd -vv > /home/shocker/Desktop/Freepopsd.log

doesn't write the log in the Desktop folder? It's written exactly like that in the Ubuntu startup program control panel and according to the ps command I understand it's correctly running:

$ ps aux | grep freepopsd
shocker 1676 0.0 0.1 227264 9128 ? S 13:22 0:00 /usr/bin/freepopsd -vv > /home/shocker/Desktop/Freepopsd.log

What am I missing?

View 2 Replies View Related

CentOS 5 Server :: Dnsmasq Starts But Doesn't Reply To Queries

Sep 5, 2010

trying to configure a Centos 5.5 server (simple file server with DHCP and DNS relay). I configured and tested the config (by 'service dnsmasq configtest') of dnsmasq and I got the message 'dnsdomain:host unknown (translation of the real message : hte inconnu) and I didn't find where I could define this host ! The hostname of the server is well defined and I can see it from all Windows PC's on the LAN. dnsmasq starts (with hte same message as in configtest) but when querying DNS from PC's te.g. trying to surf the Internet), I don't get replies (3 DNS servers are also well defined and operational).

View 2 Replies View Related

CentOS 5 Networking :: Bind9 Not Starting After Changing Config

Oct 15, 2009

I am running centos 5.3 with the latest bind, i have made some changes in the config and now it wont start.

Fel i named-konfigurationen:/etc/named.conf:27: unexpected end of input (last line)
My named.conf looks like this:
options { directory "/var/named/";
};
view "externt" {
match-clients { any; };
recursion no;
zone "dala.hk" {
type master;
file "dala.hk";
};
zone "0.0.168.192.in-addr.arpa." {
type master;
file "1.0.168.192.in-addr.arpa";
};
};
view "intern" {
match-clients { 192.168.0.0/8;};
zone "intern" {
type master;
file "intern;
};
};

View 2 Replies View Related

CentOS 5 Networking :: System-config-authentication Is Not Starting?

Sep 6, 2010

I trying to set up a LDAP server using openLDAP / db4. The server runs fine but I cannot get the client to work. Client and server are on the same machine, as for now. The problem seems to be in PAM. However I cannot start the system-config-authentication tool which should do the trick.

Environment
=========
CentOS release 5.4 (Final)
Software
======
authconfig-gtk-5.3.21-6.el5
system-config-securitylevel-tui-1.6.29.1-2.1.el5
system-config-network-tui-1.3.99.18-1.el5

[Code]....

View 3 Replies View Related

CentOS 5 Networking :: Starting Wireless At Boot Time On SSH Box

Dec 31, 2010

I have a SSH box which is command line only and no X, this will be used remote and i'm trying to get the wireless network configured to start at boot. I'm using wpa_supplicant as the access point is secure with WPA2 At present if I send the following commands the machine will connect to the wifi and be reachable via ssh

ifup wlan0
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -dd -i wlan0 -B
dhclient wlan0

This does not start at boot but requires manual input of the above commands. I've just come to a complete blank on geting this to start at boot time. Also I would like to set a fixed IP for this box.

View 7 Replies View Related

Networking :: Dnsmasq Not Resolving How To Investigate

Feb 12, 2010

EDIT: The problem is more basic than dnsmasq. On testing to see if the nameservers are reachableCode:root@ps1:~# ping 218.248.255.146connect: Network is unreachablePost title pre-pended with [DO NOT REPLY] dnsmasq on a recent Slackware 13.0 install is not resolving. Usually dnsmasq "just works". I have tried all the problem analysis techniques I know and am stumped.

First the symptoms:
Code:
root@ps1:~# vi /etc/dnsmasq.conf

[code]...

View 1 Replies View Related

Fedora Networking :: Failing To Configure Dnsmasq?

Jun 11, 2009

I have configured a Fedora 10 server on a mixed Win / ix network but am unable to get DNS to resolve on my Fedora boxes.My DHCP is provided from a D-Link 108G Router - but this will not provide DNS.Therefore I have tried to configure dnsmask to provide just DNS and not DHCP. I can ping around my 192.168.1.x network by IP but not name

View 4 Replies View Related

Networking :: DNSMasq - Cannot Ping Win7 Machine By Name

Mar 4, 2011

This is the scenario: gentoo box (distro shouldn't be relevant here) and win7 box. Gentoo box is dhcp and dns server, via dnsmasq. From win7, I can ping gentoo by both ip and name. No problem there. From Gentoo, I can ping win7 by ip, but not by name. The dnsmasq log seems to receive the name ok, it's "Tere-PC". I have been looking around for many hours now and I know there must be something simple I am not taking into account.

Code:
dnsmasq-dhcp: 55480937 available DHCP range: 192.168.0.50 -- 192.168.0.150
dnsmasq-dhcp: 55480937 client provides name: Tere-PC
dnsmasq-dhcp: 55480937 vendor class: MSFT 5.0 .....

Code:
# ping Tere-PC
ping: unknown host Tere-PC
Is there any way that dnsmasq, which is supposedly a dns server, will link this name to the given ip?

View 1 Replies View Related

Networking :: Set The TTL To 2 Days For All Stuff Cached By Dnsmasq?

Mar 20, 2011

I have 2 questions:

1. How can I set the TTL to 2 days for all stuff cached by dnsmasq?

2. When I go to [URL] from my browser and then execute [URL] the query time returned is > 0 ms. When i execute it again it is 0 as it should be. So is dnsmasq not caching the domains looked up by my browser or what? in /etc/resolv.conf I have only 127.0.0.1 and for the upstream servers I have a different file that is only used by dnsmasq.

View 1 Replies View Related

Networking :: Installed Dnsmasq To Speed Up Dns Querry For My Network

Dec 20, 2010

I installed dnsmasq to speed up dns querry for my network. i didn't really change any thing in my dnsmasq.conf file. i only just put my upstream dns addresses in resolv.conf. i have dchp running and configured to issue the ip address of the system running dnsmasq as dns ip to the dhcp clients. But i have noticed that if i do ipconfig /all on my windows clients, instead of the dnsmasq server ip showing, i still see the dns ip of my upstream provider. by this, iam assuming that the client are not using the cache even though the service is running on the server.

View 6 Replies View Related

Networking :: Network Sharing Work After Disable Dnsmasq?

Mar 17, 2010

I'm sharing the wireless signal (wlan0) on my fedora 12 machine.However, when the computer starts up I have to execute:> service dnsmasq stopOnly after this, will the computer share the internet signal (through eth0).Why is that? Should I uninstall dnsmasq?I've already removed it from chkconfig:> chkconfig --del dnsmasq

View 4 Replies View Related

Ubuntu Networking :: Connection Sharing With Network Manager And Dnsmasq?

Jan 1, 2010

how to change the IP range provided by default by Network Manager / dnsmasq from 10.42.43.-- to something else?

I have setup a working network using a Bell wireless modem (Canada) and Network Manager in 8.10, 9.04, and 9.10.to do Internet connection sharing. In 8.10 the only way I could get it to work was with WICD and KPPP, many hours spent on this one. I got it to work in 9.04 and 9.10 using network manager, but certainly not out-of-the-box. If someone would like some tips on how I did it, in each case, let me know.

My current challenge is trying to set the dhcp range of dnsmasq (which I am 99% sure is what is handing out addresses) from th 10.42.43.-- address range to a 192.168.0.-- range.

I HAVE edited /etc/dnsmasq.conf and can get the edits to this file to break the setup (dnsmasq will not start) but have not been able to get it to change the IP address range.

It seems that either this file is ignored, or overridden by some other process. I have looked at the very good post at [URL] about dnsmasq but this does not do the trick.

By the way, the way I can get this to work is to start NM, establish my cellular internet connection, then kill dnsmasq then establish my ICS network (on eth0). If I don't kill dnsmasq, then it does bring up the connection, but it then shuts down in a matter of seconds. It is all very manageable using a launcher (kdesudo pkill dnsmasq) on the task bar, but not all that elegant.

the IP range and where this is provided to Network Manager or the network itself is my real question now.

View 7 Replies View Related

Ubuntu Networking :: Hostname.local Addresses On Windows (using Dnsmasq)

May 5, 2010

I'm trying to get the Windows machines on my network to access hostname.local addresses. I want to do this without setting up extra software or settings on the Windows computers.

I already have dnsmasq on my server handling all DHCP and DNS requests. How can I get dnsmasq to return an IP address for a .local address?

View 9 Replies View Related

Ubuntu Networking :: Low Retention Duration For Cached Addresses By DNSMASQ

Nov 12, 2010

I am experiencing severe DNS delays today, so I tried to install DNSMASQ by following the instructions given on several pages on the web to make it function as a local DNS cache.

The installation was successful, and after editing the configuration files as instructed, I now have a working DNS cache on my computer.

However, it seems that the addresses are not cached for a long time ; for a given domain, the speedup lasts for a few minutes. If I try to access a previously visited domain once more after several minutes, a new (slow) external lookup is made.

Since websites' IP addresses are not changed every five minutes, would there be a way to tell DNSMASQ to keep the IPs in the cache for a long time (several hours at least) ?
This is very important for me because the DNS lag that I am experiencing makes external lookups last 10 to 20 seconds.

View 1 Replies View Related

CentOS 5 :: How To Set Up FTP Correctly

Dec 3, 2010

I've got Centos and Windows running on two PC's both behind my cable modem/fire wall. As such, I do not have the firewall operating on Centos. I wish to FTP using Filezilla on the Windows PC to the Centos server. I believe I have FTP operating correctly. Evidently, I can't (and shouldn't I am sure) use the root username. So, I made a new user called "Me". When I logon using Filezilla, I go to /home/Me. I can't make a file or anything, and once I leave the Me directory, it disappears. If I go to /var, it is empty. I then telenet to the server using PuTTY, and can do whatever I want in Me as well as go to /var. I expect it is some sort of permission issue, and have tried adding Me to the root group, but no luck.

View 5 Replies View Related

CentOS 5 :: Starting RSHD Services On Centos 5,3 Box

Dec 18, 2009

I need to copy files over from a Solaris 2.6 box to my machine running Centos 5.3. I have to use RCP since the Solaris box is so old that is the only inter-machine copy command available.How do I enable rshd services on my centos box? Detailed explanation would be apperciated since I am from the ssh generation.

View 5 Replies View Related

CentOS 5 :: A2ps Not Printing Correctly / What To Do?

Mar 24, 2009

I used to be able to print pretty, two-pages per side using a2ps, but lately, I can not do that. It would print with wrong orientation and/or with much bigger font.

I compared /etc/a2ps.cfg and /etc/a2ps-site.cfg files from another working CENTOS machine, and they are the same, but a2ps command still doesn't print nice and pretty. I don't have any other config files that control a2ps

a2ps is 4.13 and my linux kernel version is 2.6.18-92.1.22.el5.

Has anyone experienced this weird behavior from a2ps?

View 9 Replies View Related

CentOS 5 :: Yum Repo Not Working Correctly

Oct 28, 2009

I just created a repository for CentOS 5.3 and 5.4 on my webserver for the network to use. I followed the steps listed here: [URL] All went well up until testing out the repository. Here is the output of "yum update"

[root@titan yum.repos.d]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration

[Code].....

I'm unsure as to why yum is looking in the "5" directory instead of "5.3" or "5.4" and it looks like that is the only issue. It seems as though $releasever is returning 5 instead of the current 5.3 that this system is on.

View 1 Replies View Related

CentOS 5 Hardware :: X Window Not Displaying Correctly?

Feb 28, 2009

I am running Cent0S 5.2 and am trying to get the gui running from startx at the console. When it loads half the screen is scrambled and I can see parts of the desk top. it looks like a video driver issue. I ran system-config-display --reconfig --set-depth=16 --set-resolution=1024x768 and then tried system-config-display --reconfig --set-depth=16 --set-resolution=800x600. It came out a little better but still half scrambled.

View 5 Replies View Related

CentOS 5 :: GUI Is Not Loading Correctly - Startx - Gnome

Oct 26, 2009

I tried to kind of beautify my CentOS 5.3. So I kind of break some rules ( like compiling tar balls.. ). To cut it short, I installed avant window navigator ( source, compile, etc ). Before that I also installed compiz ( which made my desktop kind of much more *alive* ). Problem is there are some bugs on AWN, then I think my webcam got affected too ( not showing proper display ). I then decided to uninstall compiz thru YUM. After this, restarted my system, then whooppss my Gnome, won't load properly. the AWN was gone, then the bottom part of my desktop was just black. I only got a top menu, which whatever application I open there's no top bar on it ( where you see the name of the window ). Also every application just shows up on my upper left corner of the screen. So I definitely broke it. So I switched to another session ( Ctrl Alt F2 ) then went into a terminal. I tried to load again another X Session ( Ctrl Alt F8/F9 ), but nothing comes up, am I doing that wrong?

Now in cases like this where the GUI is not loading correctly, what work-arounds are usually made? I did some tweaks by guessing everything will kind of reset by renaming my gnome hidden folders, but no luck. What to do on this situations? Is it possible to kind of switch to pure terminal session, uninstall whole Gnome package there, remove some settings, reinstall Gnome and everything will be ok again? Or is it possible if Gnome is broke like kind of start a KDE session? How's this things relate to XOrg11.conf something? Could anyone just give like some overview like which sits on top of what.

Since I can't fix my problem yesterday I just reformatted laptop and reinstalled 5.3 with Virtualization checked, and I noticed my kernel says "xen". I thought of trying this builtin virtualization software because I had problems with VMWare before also.

View 6 Replies View Related

CentOS 5 :: PNG Image Not Shown Correctly On Firefox

Mar 10, 2010

I have a problem with neither seems to be a problem with an image nor with firefox. I just don't see the following image with firefox (as an example): [URL] I have tried this with firefox versions 3.5.8, 3.6, 3.7a3pre in safe-mode, after clearing the cache etc. I can see the image with an other browser (e.g. opera) and also basic tools (like kview, gthumb etc) are no problem at all. My sysadmin updated the X-server for my CentOs 5.4 version without success. I am in contact with the firefox people, but no-one can reprpduce this problem. So it is likely that it is the operating system why I file this new thread.

View 14 Replies View Related

CentOS 5 Server :: PHP 5.3 And MySQL - Webpages Not Loading Correctly

Oct 8, 2010

I am running CentOS 5.2 with php5.3 and Mysql. I am running a CRM program called Sugar on the server and I am having a problem where the webpages don't always load correctly. I am not sure if this is something on the program itself or if there is a problem some or other setting on the webserver. I am accessing the server over a local network so I don't think it is connection issues. The server has a static IP.

View 10 Replies View Related

CentOS 5 :: Changing User Password Doesn't Work Correctly

Jan 20, 2011

My problem is that I cant "rewrite" older password to new. It looks like I do:

Changing password for user johny.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.

all looks OK but after set up new password I can log in using OLD and NEW password. It's very unsecure for me. So in fact I cant change password and it looks like centos create next password to one accout and one account have more then one password... how can I prevent it? pls help me couse its very unsecure in my case.user looks in file shadow /etc/shadow like this:

johny:6JWuwPcQiWCCM:14994:0:99999:7:::

in etc/passwd looks like this:

johny:x:20010:20011::/home/gs-world:/sbin/nologin

how to delete all old passwords?

View 7 Replies View Related

CentOS 5 Hardware :: System Did Not Appear To Resume Correctly From Suspend / Hibernate

Feb 19, 2011

i dont know why my system dosnt resume from suspend sstate.i it goes in suspend state.it doesnt resume .i have to poweroff then restart it again.and when i get logged in it gives me Following Error: Resume problem: Your system did not appear to resume correctly from Suspend/Hibernate. This may be a driver problem or a hardware problem. Check the GNOME Power Manager Manual for common problems.

do you think it is because of batterry.i have a problem in my By Battery .IN DOS operating system.when i check my battery icon . A red Cross constantly blink on lower right side of the battery and it says (your Battery consider Replacing).i have notice one thing .And My battery timing hias become Decreased. Do you think this Resume problm is cause of battery problm.Or there is some problm in my Os software.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved