Networking :: Monitor Dhcp For Unknown Mac Addresses
Oct 25, 2009
I am using Ubuntu Server and would like to recieve an email once a day listing mac address's that have requested an ip address that are not in my list of known mac address's.
lookup=`grep $mac /root/dhcp.macs`
#This does not work as the first entry mac1 will be okay but mac2 and mac3 will not
#It will try to use mac2 as the file to look in which won't exist
#I need to make it loop through for each line of the variable and add that to the lookup value diff $mac $lookup
#I think this should differentiate known from unknown if i can get a lookup value
View 5 Replies
ADVERTISEMENT
Nov 22, 2008
A quick rundown of my equipment and plan for this particular machine.
SOYO P4I845PEISA Motherboard
Intel Pentium 4 2.0GHz Processor
512MB DDR333 RAM
ATI Radeon 8500 128mb AGP Video Card
Using onboard AC'97 Audio and Davicom NIC
Linksys BEFSR81 Wired Router
I am setting up a multiboot system with several OS's, multiple versions of Windows & several Linux distros. The main point of it all is just to have a system where I can load up a given version of Windows or Distro of Linux if I need to test something or show someone how something works.
The Problem:
5 versions of Windows installed, all hardware configured and functioning properly (including NIC) All Windows versions obtain DHCP IP addy with no problems.
Installed Red Hat Linux 9 (first of my linux distros) and it autoconfigured all of my hardware and has no problem getting an IP address.
Installed Fedora 8 and it could not obtain an IP address. I fiddled around with the network settings changing this and that, covered all of the options, and it had no effect. By this time I was irritated, so I just formatted and reinstalled the whole thing, which had no effect and resulted in the same problem. I decided to try it again, this time turning off my sound card and nic for the initial installation. After the initial install, I turned on the sound card and booted up to install it, then restarted, turning on the nic to install it. Fedora installed them both, and managed to get an IP address from my router.
I looked at the ifcfg-eth0 file and the only thing that was different from the previous installs was that a line reading "type=ethernet" (I believe thats what it said) was not there in the working install and had been before.
Puzzling and irritating, but Fedora was now working so I moved to the next distro on my list.
openSUSE 11.0
First install I tried the same thing I did with Fedora (turning off the NIC which did not work like it did in Fedora)
Second install, left all of my hardware enabled, and made it to the part where it asks to verify your internet connection. I clicked Test, and got this error:
Opening of Connection
eth0 device: Davicom Semiconductor, Inc. 21x4x DEC-Tulip Compatible 10/100 Ethernet (rev 40) DHCP Client is already running on eth0
I finished the install, and then got on another machine and I searched the net for this error, but could find nothing that specifically applied to my problem. I played around with the network settings, tried a couple of things that I had come across in my search (changed between tulip and dmfe, checked the box for "Request Broadcast Response", ran "service network restart" in Terminal) none of these had any effect.
The most irritating thing about this is that RHL9 had no problem with this whatsoever and it is badly dated, and the much newer distros are choking on it.
View 2 Replies
View Related
Oct 20, 2010
I have a MacBook Pro running VirtualBox with Ubuntu 10.10 as a guest. I am trying to run a DHCP server from within the Ubuntu VM. I need to do this in order to run a multicast utility. On a stand alone machine running Fedcora I have this working without fail but within the Ubuntu VM I am having troubles. The DHCP server is starting okay, but when I use a cross over cable connected to a device the device does not ever get an address.I have eth1 bound to my ethernet jack where I am trying to source the addresses, and eth2 bound to my airport which is disabled unless I need internet access.Here is my DHCP.conf file
Code:
###############################################################################
# Amino Communications Sample dhcpd.conf file #
[code]....
View 3 Replies
View Related
Sep 6, 2010
Ive been trying to give certain clients an IP adres by mac adress. For this I use the folowing code:
host apex {
hardware ethernet 00:00:00:00:00:00;
fixed-address 192.168.250.100;
}
This works perfectly, however when I try to add a second client this way it doesnt. I tried to add the above code multiple times as a whole (2 times the above code) but that doesnt work. I also tried to just add more lines under host apex but this also doesnt work.
So my question is: How do I add more of this mac related IP adress assignments in the dhcp.conf?
View 1 Replies
View Related
Aug 25, 2011
I am trying to configure my IPv6 network. My computers are behind a Fedora gateway IPv6-configured, which is working great. But for computers inside my network, it seems I am getting only internal addresses from DHCP. Here is my ifconfig for an internal computer:
Quote: em1 Link encap:Ethernet HWaddr F4:6D:04:34:92:2B inet addr:192.168.0.184 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::f66d:4ff:fe34:922b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:744250 errors:0 dropped:0 overruns:0 frame:0 TX packets:548987 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:841392242 (802.4 MiB) TX ytes:60384500 (57.5 MiB) Interrupt:18 Memory:f7100000-f7120000
he-ipv6 Link encap:IPv6-in-IPv4 inet6 addr: 2001:470:1c:611::3/64 Scope:Global inet6 addr: fe80::cea7:b778/128 Scope:Link UP POINTOPOINT RUNNING NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:61 dropped:0 overruns:0 carrier:61 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[Code]....
View 2 Replies
View Related
Jan 22, 2010
I'm having an issue configuring eth0. I'm using ubuntu 8.10 in a virtual machine (VirtualBox). The correct adapter is being used and it has worked in the past. I've tried placing eth0 in dhcp through the GUI and bash, but always get a 169 address or 127.
When I run the following command:
Code:
The output is:
Code:
View 1 Replies
View Related
Feb 1, 2011
I have a (headless) Debian (Linux debian 2.6.26-2-486) system running on an old Pentium machine in our home network. I use it as a Samba share, among other things. I recently noticed some Samba log files that I cannot explain the origin of. In /var/log/samba there are a couple of files like this one:/var/log/samba/log.istvan (Note: there is no machine named 'istvan' in my local network)
Code:
[2011/01/04 21:15:34, 1] smbd/service.c:make_connection_snum(1198)
istvan (::ffff:78.92.155.185) connect to service boeken initially as user nobody
[code]...
View 9 Replies
View Related
Sep 17, 2010
In school, use SUSE Server and made it by DHCP but in my hand I changed many rules. All are OK at the start but now they requested that they who are principal, and vice principals are want to use the Internet without filtering.
So I've made new rules by using Webmin software to control the SUSE Server. 1st I've gave static IP from LAN x.x.x.40 to x.x.x.45. 2nd IP is x.x.x.12 to x.x.x.15.
At First, there's nothing happen but now I've got problems because Server gave DHCP so that Server gives IP itself and conflict with static IPs. And also I can't find in Webmin software how to disable the DHCP Assign.
View 6 Replies
View Related
Oct 16, 2009
I am facing problem with the fresh installation of Fedora 11. (I have moved from Fedora 9). When I try to view videos on ..... or use the Cheese Webcam Booth, I get blurred lines on the screen and I am unable to see any video or pic.
Also I noticed that the when i go to System > Preferences>Display, it shows me UNKOWN MONIOR.
However, if I got to System>Administration>Display and enter the su password, it shows me correct monitor and the graphics driver.
I am not sure if my original is related to the Unknown Monitor.
I also tried to install Nvidia driver but it crashed the xserver and I had remove the driver.
My Monitor is LG 700E and Graphics card is from intel. as I am not able watch any video.
View 5 Replies
View Related
Apr 20, 2010
I am now using Ubuntu 9.10. The prob is I am not able to increase the resolution of display. It is showing only 800 x 600 display. While trying to increase the resolution it is showing "Unknown Monitor". So, how can I detect the monitor so I can increase the resolution of my system.
View 3 Replies
View Related
Apr 9, 2010
Ubuntu LTS 8.04 + DHCP. Works fine except for fixed addresses. I mean all devices which need to get fixed IP according to their MACs don't get them and keep to receive random IPs from the range (although almost everytime all machines receive the same IP they got from DHCP for the first time).
The following config was created by Webmin interface.
At the one of the ubuntu forums i was advised to carry host description out of the subnet description.
View 1 Replies
View Related
Sep 1, 2010
I'm new to Centos 5 (and Linux) and, after installing Centos, I configured Samba, Apche, ... w/o problems (through interactive interface). My problem is tha t I need to use DHCP (all our clients use dynamic IP addresses for the ease) but I don't find dhcpd ... nor the sample config file(s).
Note : the new server I intend to use is actually connected on a LAN with an 'old' DHCP server (still under W2K server), is this the reason why I can't find/activate dhcp on my new machine ???
View 3 Replies
View Related
Jul 24, 2010
how to display status of assigned & free ip addresses in a DHCP range assuming that i am working on a DHCP server ?
View 1 Replies
View Related
Oct 13, 2010
This code uses ping to check connectivity to a remote location and logs it to a .html file which is then stylized by css..
Code:
#! /bin/bash
path="$HOME/Desktop/IP_Monitor" #Path to write out files
ALT="0" #For styling alternative row
[code]....
I need to add a feature such that instead of hardcoding the ip address .. it takes them from a list and makes new files for each ip address for logging.. And also when log files are completed , They should be compressed using tar. How should i go about adding both these.. This is my first bash script.
View 6 Replies
View Related
Dec 4, 2010
I have a new Television that is connected to a computer running Ubuntu 10.04 with a VGA cable. It works, but the only resolutions I can use are 1024x768, 800x600 and many lower ones. Since the resolutions are 4:3 and the television is not, there are big black areas on the side. I can chose format - wide screen on the television, but then the proportions are wrong. And when I play a movie, it's usually very small with big black areas on the edges.
I got rid of these drivers, I'd used them if they'd work, but they just made matters worse.Any ideas what to do? Maybe upgrading to 10.10 would help? But I'd prefer to stick with the LTS versions if possible.
View 3 Replies
View Related
Oct 22, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address. When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
iface vlan100 inet static
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 6 Replies
View Related
Jul 1, 2010
Back in April I set up a Ubuntu DHCP server and a multiple VLAN network [URL] to migrate our various servers, workstations, etc off the 192.168.1.1 /24 network that everything was on because we where running out of address space. I built out the new network and everything worked great except our AD server would never get an IP address from the DHCP server (static reservation) and even if I set the IP statically on the AD server it couldn't ping the gateway and noone could log in. After several attempts to resolve this, including bringing in outside help, we where never able to figure out what the problem was.
Now 6 months later I have time to revisit the issue without effecting the live network. I used Acronis and imaged the AD server last Friday, cloned it on to another box with the same hardware, and put it up on the new network that's been sitting unused for the last 6 months. Today when I statically set the IP on the AD server (which is what I want) it connects and I can ping it's gateway 192.168.1.1 and all the way across vlans to a test sales agent workstation at 192.168.8.xxx on vlan 800 but only if I statically assign the agents station an IP address.
When I try to get an IP address via DHCP it fails as destination unreachable. Nothing has changed in the last 6 months on the DHCP server but now it for some reason can't ping its default gateway 192.168.1.1. All of the config files are the same as they where left from the post linked above aside from the vlan id's used where changed from 1's to 100's (i.e. vlan 3 is now vlan 300) /etc/network/interfaces
Code:
auto lo
iface lo inet loopback
auto vlan100
[code]....
why it can't reach the gateway, when I do a tcpdump I can see the DHCP requests come in on eth0 but the server never responds and I'm pretty sure its because it isn't "seeing" them since it thinks there isn't a network connection but I don't know how to trouble shoot to find out where the problem lies.
View 2 Replies
View Related
Mar 25, 2010
I am puzzled with trying to configure a linux (openSUSE) client to dhcp to eBox DHCP server. I am using dhclient to lease an IP address with dhclient eth0 -s 10.45.48.108 and get a response
openSUSE11232CL1 dhclient: DHCPDISCOVER on eth0 to 10.45.48.108 port 67 interval 4
openSUSE11232CL1 dhclient: DHCPOFFER from 10.45.48.108
openSUSE11232CL1 dhclient: DHCPREQUEST on eth0 to 10.45.48.108 port 67
openSUSE11232CL1 dhclient: send_packet: Network is unreachable
openSUSE11232CL1 dhclient: send_packet: please consult README file regarding broadcast address.
The server reports eBox141 dhcpd: DHCPDISCOVER from 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
eBox141 dhcpd: DHCPOFFER on 10.45.200.2 to 00:0c:29:3e:57:a3 (openSUSE11232CL1.domain.net) via eth0
I interpret this as the server receives the request and the client accepting it but the lease does not last long and the connection breaks. what this could be and why the connection breaks? Or my undestanding is totally wrong on how it works and should work? And BTW, where is that README file that's referenced in the message I receive on the client?
View 2 Replies
View Related
Mar 8, 2010
Currently I have my eth0 interface getting a DHCP address but at times the DHCP server will not be reachable. Sooo what I would like my server to do is if it cannot find a DHCP server assign a static address to eth0. Then start the DHCP service so it can then dish out some addresses.How can I do this? Surely it is possible
View 2 Replies
View Related
Jan 27, 2011
I just installed Ubuntu 10.10 on my Dell Latitude D430 that I use at work. I have it on my desk docked going to a Dell LCD Monitor. When I go into the monitor set up it says Unknown for the monitor and Laptop for the actual laptop display. Also, I have very low resolutions for the "Unknown" monitor.
I am trying to resolved this issue so that I have better resolutions on the external monitor and then I can try to extend the desktop between 2 screens.
I found something online about adding the intel PPA and I did that, but now what. There is no xorg.conf that I can find for 10.10.
View 7 Replies
View Related
Mar 18, 2010
I gave up on ubuntu few months ago and now I'm giving it one more chance since I am already sick of Vista. Okay, I researched all over google for specific problem and I think there are few possible problems such as not recognizing Monitor (Polaroid 1911-TLXB) or missing driver (Intel 82G33/G31). I have DELL Inspiron 530. Im stuck with 800x600. I did try SYSTEM>ADMINISTRATION>Hardware Drivers and it searched and found NOTHING.
View 9 Replies
View Related
Aug 14, 2010
I installed Ubuntu 9.10 on an old PC, Dell dimension L550r, PIII500, 512M ram. There is a problem that monitor is not detected. I could logon as 'xterm' type, but the window size is only 1/4 of screen. When I logon as 'GNOME', it seems screen is not refreshed. media player window is blank, but can see a static image if minimize and restore window. Even terminal window is blank.
Go to "System"->"Preference"->"Display", shows "monitor unknown".
I can not find file /etc/X11/xorg.conf, is this normal?
xrandr command output:
Screen 0: minimum 640x400, current 1024x768, maximum 1024x768
default connected 1024x768+0+0 0mm x0mm
1024x768 60.0* 75.0 70
832x624 75.0
.....
View 9 Replies
View Related
Aug 19, 2010
Mine is, ever since I installed the (wrong) opensource video driver for my Ubuntu 9.04 & Lenovo ThinkPad T41 (the one model, imho, they should never have let out the door!), uninstalled it by far-less-than-recommended means (ie, I used Synaptic and sudo apt-get remove and apt-get purge). End up is now my screen has a max resolution of 800 x 600, and Display panel insists that this laptop's screen is an "Unknown" Monitor.
Any tweaks to /etc/X11/xorg.conf (adding vertical refresh and horizontal sync rates for example) has resulted in its own weird behavior. On having my password accepted at login, there's a half-second of white that "rolls" over the screen horizontally. The next thing I see is a diagonal broken streak of white about 2 1/2" down from the top of the screen and 3 inches in from the right-hand side. The next thing I see is a buzzed,jagged rendition of my normal desktop. Nothing at all is clear, and the jags seem to redouble themselves the further one scans down on the screen. The only thing one can do in this situation, and I've done so enough times to know, is a hard reboot (power button for ten seconds or however long it takes).
And as I don't rate sh*t for a shilling on the Ubuntu forums, and as Google has been worse than useless every time I search for problems as detailled as these (it's like K-Mart: it has what you want until you go to look for it!), and as my one self-styled "Lunix-Geek" friend (now in the UK) has only briefly battled the xserver-xorg beasts, I'm coming here to see if anyone knows something else I could do besides bite the bullet, say goodby to my accumulated goodies, and reinstall Ubuntu.
View 4 Replies
View Related
Aug 21, 2010
I installed 10.04 on new computer for office, got everything working great at home with old 15" monitor, took to office hooked up to Multisync 97f monitor, and not recognized 640x480 is best. I Have onboard Geforce 6150se/ 430 and have the newest driver installed from Nvidia 256.44. I tried to install everything that said multisync in synaptics but screen jumps around when trying to click on anything because it don't fit right.
View 5 Replies
View Related
Dec 31, 2010
I have an acer aspire one netbook and in display properties it says the monitor is unknown. The trouble is that the screen is widescreen (16:9) but it has it as (4:3)so the screen is sort of stretched. Is the a terminal command as another way round this or how can i get the screen recognised?
View 4 Replies
View Related
Jun 3, 2011
I'm trying to upgrade my sister to natty, but it wont boot properly unless I use nomodeset. It didn't need this in maverick, and she doesn't need any proprietary drivers, as she only has onboard laptop graphics (intel mobile 4 series I think..) So when I boot it into the LiveCD the resolution is wrong, so I go into system > preferences > monitors but it wont let me change the resolution as the monitor is listed as "Unknown" I also tried LinuxMint 11 (Katya) but it was the same (it is based on ubuntu anyways so it's not surprising.)
View 9 Replies
View Related
Jun 13, 2011
recently found a post that had the same plymouth booting to text only issue i was having so i folowed the instructions and loaded the script.when it got to the resolution part i put in 800x600 24bit as i have a acer netbook and i think the default is to large,when i rebooted my plymouth came up yaaaa prob solved but the plymouth was very wide and poor quality,also before the pymouth the screen turned pixely and when the desktop came on it was very poor qualilty,i went to system preference monitor and it says unknown and none of the opetions there are available to me,i used terminal and tryped x{somthing} for checking minimum and maximum and it said failed to load.what can i try,the resolution now is ugly and wayyyyyyy to big for my little netbook.
View 5 Replies
View Related
Nov 19, 2009
I have never used Linux always windows so heres the problem the display only has 2 settings 640x480 and a smaller one and it say unknown monitor. I installed the drivers in hardware driver in systems I'm running Ubuntu v 9.10 if that matters and the video card is a Nvida mx440.
View 1 Replies
View Related
Feb 16, 2010
I've just installed OpenSUSE 11.2 on a new machine. Because I was still using another machine as my main box while building the new one, the monitor attached when it was installed has a resolution of 1280x1024 @ 77Hz. I've now moved it to be my main machine and the monitor is a widescreen 1680x1050 @ 60Hz model. When I boot it normally the screen fails to come up - even GDM doesn't show. If I boot in failsafe mode the system comes up fine, but in 1280x1024 mode. The 'Configure display settings' icon shows the monitor as 'Unknown'. Couple of things I tried:
1) Switched to runlevel 2 and logged in as root. Ran Xorg -configure and looked at the xorg.conf.new that was installed, but it just had generic info for the monitor:
[code]....
2) While still in runlevel 2 and logged in as root I did a startx. This brought up the X display in 1680x1050 ok, and clicking on the 'Configure display settings' icon showed it had correctly identified my monitor and had set the size and frequency correctly.
3) Given the results of (2), I then tried logging in as myself in runlevel 2, did startx again, but this time the display failed to come up again.
View 7 Replies
View Related
Mar 9, 2010
I installed the nvidia proprietary drivers with click-install and everything perfect, I have desktop effects working but the problem is that when you open the config. screen settings to make sure everything was really good, I get to screen unknown April.
The maximum resolution is the correct 1440 * 900 for 19 "but the refresh rate by not recognizing the monitor down to 50hz me and gives me the option to 60hz as it was before installing the nvidia drivers.
How can I fix the display settings?
View 6 Replies
View Related