DHCPD.CONF

1. DHCPD.CONF

Eduardo
legion2014

(usa Ubuntu)

Enviado em 13/01/2014 - 15:14h

Olá pessoal tenho muito pouco conhecimento em linux principalmente modo texto, fui alterar o mac de um computador em /etc/dhcp/dhcpd.conf depois disso só consegue navegar as maquinas com ip fixo as que estavam com ip dinâmico pararam de acessar a internet e antes de eu mexer estava funcionando, as estaçoes são windows só o servidor de internet que é windows, peguei o log veja abaixo:

xxxxxx@xxxxxx:~$ tail/var/log/syslog
-bash: tail/var/log/syslog: No such file or directory
dudalibrary@dudalibrary:~$ tail /var/log/syslog
Jan 13 14:55:55 xxxxxx named[1069]: error (network unreachable) resolving 'haitou.org/AAAA/IN': 2607:f208:302::6#53
Jan 13 14:57:07 xxxxxx named[1069]: error (network unreachable) resolving 'ns3.msft.net/AAAA/IN': 2a01:111:200f:1::1:1#53
Jan 13 14:57:07 xxxxxx named[1069]: error (network unreachable) resolving 'rad.msn.com/A/IN': 2a01:111:2020::1:1#53
Jan 13 14:58:08 xxxxxx named[1069]: error (network unreachable) resolving 'edgekey.net/DS/IN': 2001:503:a83e::2:30#53
Jan 13 14:58:08 xxxxxx named[1069]: error (network unreachable) resolving 'edgekey.net/DS/IN': 2001:503:231d::2:30#53
Jan 13 14:58:35 xxxxxx named[1069]: error (network unreachable) resolving 'ns41.rookdns.com/A/IN': 2600:1401:2::6a#53
Jan 13 14:58:35 xxxxxx named[1069]: error (network unreachable) resolving 'ns42.rookdns.com/A/IN': 2600:1401:2::6a#53
Jan 13 14:58:35 xxxxxx named[1069]: error (network unreachable) resolving 'ns41.rookdns.com/AAAA/IN': 2600:1401:2::6a#53
Jan 13 14:58:35 xxxxxx named[1069]: error (network unreachable) resolving 'ns42.rookdns.com/AAAA/IN': 2600:1401:2::6a#53
Jan 13 14:59:23 xxxxxx named[1069]: error (network unreachable) resolving 'ns2.prq.se/AAAA/IN': 2a01:3f0:0:305::53#53
xxxxxx@xxxxxx:~$



  


2. Re: DHCPD.CONF

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 13/01/2014 - 15:16h

coloque o seu arquivo do dhcpd.conf para podemos analisar


3. DHCPD.CONF

Eduardo
legion2014

(usa Ubuntu)

Enviado em 13/01/2014 - 16:48h

Como faço para pegar este arquivo? o servidor não tem modo gráfico somente modo texto.


4. Re: DHCPD.CONF

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 13/01/2014 - 16:49h

cat /etc/dhcpd.conf

e posta ai o resultado


5. Re: DHCPD.CONF

Diego Garcia
Diego-Garcia

(usa Linux Mint)

Enviado em 13/01/2014 - 17:06h

legion2014 escreveu:

Deu erro. Veja se esta correto


dudalibrary@dudalibrary:~$ sudo cat/etc/dhcpd.conf
[sudo] password for dudalibrary:
sudo: cat/etc/dhcpd.conf: command not found
dudalibrary@dudalibrary:~$


Boa Tarde Amigo,

O comando cat tem que ser separado do /etc



sudo cat /etc/dhcp/dhcpd.conf




6. DHCPD.CONF

Eduardo
legion2014

(usa Ubuntu)

Enviado em 14/01/2014 - 09:05h

Não apareceu o arquivo todo.
E quando selecionei este cliquei com o botão direto e começou a executar e deu algumas mensagens de erro.

fixed-address 192.168.1.41;
}

host marketing-02{
hardware ethernet 00:14:2a:1b:29:90;
fixed-address 192.168.1.42;
}

host almoxarifado{
hardware ethernet 00:11:5b:51:43:a0;
fixed-address 192.168.1.43;
}



#PROFESSORES



host profzilma{
hardware ethernet 94:39:e5:f2:c7:b5;
fixed-address 192.168.1.51;
}

host profjacqueline{
hardware ethernet c0:18:85:e4:fe:db;
fixed-address 192.168.1.52;
}

host profalexis{
hardware ethernet 00:1d:19:f2:a4:f3;
fixed-address 192.168.1.53;
}

host profalexis2{
hardware ethernet b8:03:05:79:1d:e6;
fixed-address 192.168.1.54;
}

host profpaula{
hardware ethernet 94:39:e5:fe:df:69;
fixed-address 192.168.1.55;
}

host proffabricio{
hardware ethernet c0:cb:38:94:95:c4;
fixed-address 192.168.1.56;
}

host profjosemarie{
hardware ethernet 50:b7:c3:bf:db:15;
fixed-address 192.168.1.57;
}

host profcatia{
hardware ethernet 5c:c9:d3:01:5a:45;
fixed-address 192.168.1.58;
}

host profluciana{
hardware ethernet e0:b9:a5:17:dc:57;
fixed-address 192.168.1.59;
}

host catecel{
hardware ethernet 28:cc:01:71:3a:70;
fixed-address 192.168.1.60;
}

host profflavia{
hardware ethernet e0:ca:94:d1:06:99;
fixed-address 192.168.1.61;
}

host profthamires{
hardware ethernet 5c:ac:4c:47:d3:3e;
fixed-address 192.168.1.62;
}

host costaipad{
hardware ethernet 1c:ab:a7:e4:4e:36;
fixed-address 192.168.1.63;
}

host profarnoncel{
hardware ethernet 70:f9:27:89:15:64;
fixed-address 192.168.1.64;
}

host profadriananeuman{
hardware ethernet e0:ca:94:d1:02:5c;
fixed-address 192.168.1.65;
}

host profluiza{
hardware ethernet bc:85:56:fc:9d:41;
fixed-address 192.168.1.66;
}

host profaugusto{
hardware ethernet 00:15:af:d4:20:2b;
fixed-address 192.168.1.67;
}

host profaugusto2{
hardware ethernet 70:1a:04:c9:f0:e9;
fixed-address 192.168.1.68;
}

host profcidinha{
hardware ethernet 5c:c9:d3:29:b4:85;
fixed-address 192.168.1.69;
}

host ceniraipad{
hardware ethernet d8:a2:5e:1e:00:d2;
fixed-address 192.168.1.70;
}

host licianote{
hardware ethernet 00:1f:e1:9a:c0:86;
fixed-address 192.168.1.71;
}

host tinanote{
hardware ethernet c0:18:85:e6:26:ef;
fixed-address 192.168.1.72;
}

host nadiuskanote{
hardware ethernet 94:39:e5:f4:4f:8a;
fixed-address 192.168.1.73;
}

host profgabi{
hardware ethernet 40:25:c2:9e:64:38;
fixed-address 192.168.1.74;
}

host profamalia{
hardware ethernet 00:15:af:ee:15:db;
fixed-address 192.168.1.75;
}

host profamaliacel{
hardware ethernet d8:31:cf:26:29:4e;
fixed-address 192.168.1.76;
}

host profenilson{
hardware ethernet 50:b7:c3:c0:d7:4b;
fixed-address 192.168.1.77;
}

host profsagitta{
hardware ethernet c0:18:85:e6:25:b9;
fixed-address 192.168.1.78;
}

host profmachado{
hardware ethernet 44:6d:57:43:2b:36;
fixed-address 192.168.1.79;
}

host profvania{
hardware ethernet e0:06:e6:ff:16:3c;
fixed-address 192.168.1.80;
}

host profefigenia{
hardware ethernet 20:16:d8:de:9b:81;
fixed-address 192.168.1.81;
}

host profpepita{
hardware ethernet 74:de:2b:09:f9:47;
fixed-address 192.168.1.82;
}

host profflavia2{
hardware ethernet b8:76:3f:d4:1a:ca;
fixed-address 192.168.1.83;
}

host profarnon{
hardware ethernet 2c:d0:5a:c4:33:b1;
fixed-address 192.168.1.84;
}

host nadiatablet{
hardware ethernet e0:b2:f1:69:5b:c2;
fixed-address 192.168.1.85;
}

host notebook-em{
hardware ethernet 00:19:7e:99:81:4b;
fixed-address 192.168.1.86;
}

host profnoeme{
hardware ethernet 24:fd:52:2d:02:16;
fixed-address 192.168.1.87;
}

host enilsontablet{
hardware ethernet 64:5a:04:04:0e:b9;
fixed-address 192.168.1.88;
}

host profsilvia{
hardware ethernet 00:26:5e:6c:74:ef;
fixed-address 192.168.1.89;
}

host flavinhacel{
hardware ethernet 00:aa:70:5c:2a:ba;
fixed-address 192.168.1.90;
}

host profjosimar{
hardware ethernet 50:b7:c3:c0:a5:06;
fixed-address 192.168.1.91;
}



7. Re: DHCPD.CONF

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 14/01/2014 - 09:14h

faz o seguinte
reinicia o dhcpd e verifica nos logs o erro que ocorre


para reiniciar

# /etc/init.d/dhcpd restart

e para verificar nos logs

# tail -500 /var/log/messages


espero que ajude


8. Re: DHCPD.CONF

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 14/01/2014 - 13:13h

usa o comando

/etc/init.d/dhcp restart


9. Re: DHCPD.CONF

Diego Garcia
Diego-Garcia

(usa Linux Mint)

Enviado em 14/01/2014 - 13:28h

Boa Tarde Amigo,

Tente isto:



/etc/init.d/dhcp3-server restart




10. DHCPD.CONF

Eduardo
legion2014

(usa Ubuntu)

Enviado em 14/01/2014 - 13:53h

tambem não deu


11. Re: DHCPD.CONF

Diego Garcia
Diego-Garcia

(usa Linux Mint)

Enviado em 14/01/2014 - 14:12h

Bom,

Digite este comando:


ls /etc/init.d/ > /etc/teste


Este comando vai criar um arquivo teste dentro da pasta /etc com a lista de todos os arquivos inicializáveis.
Assim saberemos o que tem ai dentro.


12. Re: DHCPD.CONF

Eduardo
legion2014

(usa Ubuntu)

Enviado em 14/01/2014 - 15:07h

Deu isso

Last login: Tue Jan 14 12:48:56 2014 from 192.168.1.10
xxxxxxx@xxxxxxx:~$ ls /etc/init.d/ > /etc/teste
-bash: /etc/teste: Permission denied
xxxxxxx@xxxxxxx:~$




01 02 03



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts