search for: macaddress

Displaying 20 results from an estimated 122 matches for "macaddress".

2005 Dec 20
2
Modifying data before update or save
Hi, I''d like to upcase a variable before it is saved, but I''m not sure how to access the incoming param or where this work should be performed: In my update method, I have: @device = Device.find(params[:id]) params[:device[macaddress]].upcase <-- problem code if @device.update_attributes(params[:device]) ....usual stuff here ''macaddress'' is the variable I''d like to upcase. Does anybody have suggestions? - Nic.
2012 Jun 14
1
facter --yaml leaves some fields blank
Sometimes "facter --yaml" doesn''t list all the values specified on the command line. I can''t find rhyme nor reason why. Here''s a demo to show what I mean: # facter --version 1.5.7 # facter --yaml fqdn macaddress lsbdistcodename --- fqdn: my.host.name.example.com lsbdistcodename: squeeze macaddress: "00:00:00:00:00:00" We had been using the above command for a while to extract values for a shell script. However we recently discovered that when we have a Linux box who''s primary NIC is &q...
2019 Mar 20
1
How to automatically store the macAddress in AD
On Wed, 20 Mar 2019 14:40:22 +0100 "Pierre, BRIEC via samba" <samba at lists.samba.org> wrote: > Thanks Rowland for your modification. > > The process is working fine as the information is added but is wrong > > > the macaddress from DHCPREQUEST is 90:1b:0e:bb:12:8a > and the macaddress in AD is: 1:90:1b:e:bb:12:8a (have you noticed the > missing 0 and 1: is added at the beginning) > No I hadn't, but I don't think it has anything to do with script, I think DHCP is sending the wrong data: Commit: IP: 19...
2018 Sep 10
4
schema enhancement recommandation?
Hi Rowland, thank you for your fast answer. More see below. On 10.09.2018 19:18, Rowland Penny via samba wrote: > [..] ERR: Object class violation : "objectclass_attrs: attribute >> 'macAddress' on entry 'CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan' >> does not exist in the specified objectclasses!" on DN >> CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan at block before line 13 >> Add failed after processing 0 records >> > The possible answer is in...
2019 Mar 18
2
How to automatically store the macAddress in AD
...same > > server. Can we use scripts or some ways? > > There is nothing to do that directly integrated in Samba-AD. If you > have WAPT installed on your network, you should check the following > thread on the WAPT mailing list, the exact same topic on configuring > Veyon and macAddress was covered with a simple solution (as long as > you have WAPT installed): > https://lists.tranquil.it/pipermail/wapt/2019-January/003034.html > > Cheers, > > Denis Hi Denis, The only problem with your method is that it will only work for Windows clients, having said that, if...
2019 Mar 14
0
How to automatically store the macAddress in AD
On Thu, 14 Mar 2019 21:32:43 +0100 "Pierre, BRIEC" <pierre.briec at stetherese.net> wrote: > Hi, > from the veyon documentation > A standard Active Directory does not have an attribute for storing MAC > addresses. Do you think I imagined the attribute called 'macAddress' ? Its objectclass is 'ieee802Device' and they can be added to a computers object in AD. Rowland >You’ll need to populate MAC addresses manually in an > existing unused attribute such as wwwHomepageor extend the AD scheme. > Additionally you can grant computers group write ac...
2005 Jul 07
0
macaddress traffic log
Hi I want to log lan ethernet (by macaddress) traffic with iptraf: /usr/sbin/iptraf -f -l eth1 -t 1 -B -L /scripts/mac-traff.log and next with a perl script parse that data to MRTG. But, I think when iptraf is running I can show iptraf LAN traffic console. there is another way to log ethernet (by MACADDRESS) lan traffic ? regards andres
2010 Mar 22
0
need help on working with libvirt+virtualbox
...uot;/> <TimeOffset value="0"/> <PXEDebug enabled="false"/> </BIOS> <USBController enabled="false" enabledEhci="false"/> <Network> <Adapter slot="0" enabled="false" MACAddress="080027F53A84" cable="true" speed="0" type="Am79C973"/> <Adapter slot="1" enabled="false" MACAddress="080027EE31BD" cable="true" speed="0" type="Am79C973"/> <Adapter slot=...
2019 Mar 14
8
How to automatically store the macAddress in AD
Hi list, Does someone know a way to automatically store the hwaddress in the AD? I'm using Veyon in my school to manage the students PCs and if the hwadress is populated in the AD, the Room configuration can be set with AD otherwise i have to manage rooms manually. I'm using samba4 with bind and isc-dhcp-server are on the same server. Can we use scripts or some ways? thanks in advance
2011 Dec 20
8
Network config module won't work. -Mac address errors
...error "has different MAC address than expected, ignoring" when the network tries to startup. I am testing this out on the puppet learning VM. Does anyone see anything wrong with my code: init.pp -------------------------- define basehost ($ipaddress, $gateway, $hostname, $environ, $macaddress) { file { ''hosts'': path => ''/etc/hosts'', ensure => ''present'', owner => ''root'', group => ''root'', mode => ''644'', conten...
2019 Mar 20
0
How to automatically store the macAddress in AD
...961]: execute_statement argv[2] = 172.16.7.16 Mar 20 14:21:14 yoda2 dhcpd[6961]: execute_statement argv[3] = 1:90:1b:e:bb:12:8a Mar 20 14:21:14 yoda2 dhcpd[6961]: execute_statement argv[4] = STHE-C-PROFS06 Mar 20 14:21:14 yoda2 named[382]: samba_dlz: starting transaction on zone stetherese.lan the macaddress from DHCPREQUEST is 90:1b:0e:bb:12:8a and the macaddress in AD is: 1:90:1b:e:bb:12:8a (have you noticed the missing 0 and 1: is added at the beginning) another example: Mar 20 14:33:09 yoda2 dhcpd[6961]: Commit: IP: 172.16.7.194 DHCID: 1:c8:1f:66:b0:cb:c9 Name: STHE-C-MULTI29 Mar 20 14:33:09 yod...
2019 Mar 18
0
How to automatically store the macAddress in AD
...nd isc-dhcp-server are on the same server. > Can we use scripts or some ways? There is nothing to do that directly integrated in Samba-AD. If you have WAPT installed on your network, you should check the following thread on the WAPT mailing list, the exact same topic on configuring Veyon and macAddress was covered with a simple solution (as long as you have WAPT installed): https://lists.tranquil.it/pipermail/wapt/2019-January/003034.html Cheers, Denis > > thanks in advance > Pierre > > -- > -- Denis Cardon Tranquil IT 12 avenue Jules Verne (Bat. A) 44230 Saint Sébastien...
2018 Sep 10
2
schema enhancement recommandation?
...omputers,DC=dmiserver,DC=lan objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user objectClass: computer CN: DEMO-02 name: DEMO-02 userAccountControl: 4096 sAMAccountName: DEMO-02$ operatingSystem: Windows 8.1 Professional Volume operatingSystemVersion: 6.3 (9600) macaddress: aa:bb:cc:dd:ee:ff it fails with: >>> ldbadd -H /var/lib/samba/private/sam.ldb < win.ldif ERR: Object class violation : "objectclass_attrs: attribute 'macAddress' on entry 'CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan' does not exist in the specified objectclasses!...
2017 Mar 26
2
Systemd interface rename does not work
..., I'm moving to Systemd for my network management but I don't see my link name changed when I try to using a .link name. The .network file works right, networkmanager is removed as well to accomplish this. Any idea why the rename is not done ? /etc/systemd/network/0-eth.network [Match] MACAddress=00:1a:4a:a9:0a:17 [Network] Address=172.16.3.141/24 Gateway=172.16.3.254 DNS=172.16.3.1 DNS=172.16.3.2 /etc/systemd/network/0-eth.link [Match] MACAddress=00:1a:4a:a9:0a:17 [Link] Name=eth0
2019 Mar 16
0
How to automatically store the macAddress in AD
Am 14.03.19 um 20:20 schrieb Pierre, BRIEC via samba: > Hi list, > > Does someone know a way to automatically store the hwaddress in the AD? > I'm using Veyon in my school to manage the students PCs and if the hwadress > is populated in the AD, the Room configuration can be set with AD otherwise > i have to manage rooms manually. You may read the Veyon Administrator Manual
2007 Mar 01
1
LDAP error
...dc=pt objectClass: top objectClass: organizationalUnit ou: sistemas userPassword: {MD5}aY3BnUicTk23PiinE+qwew== dn: cn=songoku,ou=sistemas,dc=telbit,dc=pt objectClass: top objectClass: device objectClass: ieee802Device objectClass: ipHost cn: songoku owner: uid=resteves,ou=accounts,dc=telbit,dc=pt macAddress: 00:13:D4:1D:E2:22 ipHostNumber: 192.168.30.66 o: Telbit dn: cn=masterx,ou=sistemas,dc=telbit,dc=pt objectClass: top objectClass: device objectClass: ieee802Device objectClass: ipHost cn: masterx owner: uid=hrodrigues,ou=accounts,dc=telbit,dc=pt description: Asus Pundit-R, Pentium 4 3G, 512MB, 80G...
2018 Sep 10
0
schema enhancement recommandation?
...liver Rath via samba <samba at lists.samba.org> wrote: > Hi Rowland, > > thank you for your fast answer. More see below. > > On 10.09.2018 19:18, Rowland Penny via samba wrote: > > [..] ERR: Object class violation : "objectclass_attrs: attribute > >> 'macAddress' on entry 'CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan' > >> does not exist in the specified objectclasses!" on DN > >> CN=DEMO-02,CN=Computers,DC=dmiserver,DC=lan at block before line 13 > >> Add failed after processing 0 records > >> > >...
2007 Sep 24
2
ANNOUNCE: Facter 1.3.8
...hould thank him for getting it done. Here''s the changelog: Fixed Rdoc::usage bug on CentOS 5 - closed Puppet #753 and Facter #40 Added support to return multiple interfaces and their IP addresses and MAC addressess as facts. Returns interface_interfacename and macaddress_interfacename. Existing ipaddress and macaddress facts are unchanged and still returned. Currently Linux only. Closes #6. Added macaddress fact support for FreeBSD and OpenBSD - closes #37 Added hardwareisa support for *BSD platforms - closed #38 Facter now detects the M...
2003 Sep 30
4
macaddress blacklist problem
I helped set up a firewall at my brother''s church and we are running shorewall 1.4.6b on a redhat 9 box. Works well. [root@fumcbafw shorewall]# uname -r 2.4.20-19.9 [root@fumcbafw shorewall]# iptables --version iptables v1.2.7a The box also serves as a dhcp server for the church offices and there is one box that apparently still has the old firewall config (zone alarm) on it since it
2012 Aug 14
4
Error 400 on SERVER: Could not parse for environment production: Syntax error at '{'; expected '}'
...rse for environment production: Syntax error at ''{''; expected ''}'' Here''s the node.pp node "ccc.unix.ccc.ccc.edu" { class { "web_server": net_static => { "eth0" => { "macaddress" => $macaddress_eth0, "ipaddress" => "192.168.185.228", "netmask" => "2255.255.255.128", "gateway" => "192.168.185.129", } }, environment => "producti...