[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: banda larga - virtua



Ricardo Arias Brito wrote:

Ola Bruno, ate agora deu tudo certo, mas tenho que configurar o aquivo dhcp.conf e pequei um exemplo nos docs do debian. Sera que tenho que fazer alguma modificação, estou mando este exemplo aqui em baixo:
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "fugue.com";
option domain-name-servers toccata.fugue.com;
option subnet-mask 255.255.255.224;
default-lease-time 600;
max-lease-time 7200;
subnet 204.254.239.0 netmask 255.255.255.224 {
range 204.254.239.10 204.254.239.20;
option broadcast-address 204.254.239.31;
option routers prelude.fugue.com;
}
# The other subnet that shares this physical network
subnet 204.254.239.32 netmask 255.255.255.224 {
range dynamic-bootp 204.254.239.33 204.254.239.40;
option broadcast-address 204.254.239.31;
option routers snarg.fugue.com;
}
subnet 192.5.5.0 netmask 255.255.255.224 {
range 192.5.5.26 192.5.5.30;
option domain-name-servers bb.home.vix.com, gw.home.vix.com;
option domain-name "vix.com";
option routers 192.5.5.1;
option subnet-mask 255.255.255.224;
option broadcast-address 192.5.5.31;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
host passacaglia {
hardware ethernet 0:0:c0:5d:bd:95;
filename "vmunix.passacaglia";
server-name "toccata.fugue.com";
}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address fantasia.fugue.com;
}
# If a DHCP or BOOTP client is mobile and might be connected to a variety
# of networks, more than one fixed address for that host can be specified.
# Hosts can have fixed addresses on some networks, but receive dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address. If a client should get different parameters depending on# what subnet it boots on, host declarations for each such network should
# be given. Finally, if a domain name is given for a host's fixed address
# and that domain name evaluates to more than one address, the address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
host confusia {
hardware ethernet 02:03:04:05:06:07;
fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
filename "vmunix.confusia";
server-name "toccata.fugue.com";
}

host confusia {
hardware ethernet 02:03:04:05:06:07;
fixed-address confusia-3.fugue.com;
filename "vmunix.confusia";
server-name "snarg.fugue.com";
}

host confusia {
hardware ethernet 02:03:04:05:06:07;
filename "vmunix.confusia";
server-name "bb.home.vix.com";
}

# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "fugue.com";
option domain-name-servers toccata.fugue.com;

option subnet-mask 255.255.255.224;
default-lease-time 600;
max-lease-time 7200;

subnet 204.254.239.0 netmask 255.255.255.224 {
range 204.254.239.10 204.254.239.20;
option broadcast-address 204.254.239.31;
option routers prelude.fugue.com;
}

# The other subnet that shares this physical network
subnet 204.254.239.32 netmask 255.255.255.224 {
range dynamic-bootp 204.254.239.33 204.254.239.40;
option broadcast-address 204.254.239.31;
option routers snarg.fugue.com;
}

subnet 192.5.5.0 netmask 255.255.255.224 {
range 192.5.5.26 192.5.5.30;
option domain-name-servers bb.home.vix.com, gw.home.vix.com;
option domain-name "vix.com";
option routers 192.5.5.1;
option subnet-mask 255.255.255.224;
option broadcast-address 192.5.5.31;
default-lease-time 600;
max-lease-time 7200;
}

# Hosts which require special configuration options can be listed in
# host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

host passacaglia {
hardware ethernet 0:0:c0:5d:bd:95;
filename "vmunix.passacaglia";
server-name "toccata.fugue.com";
}

# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
host fantasia {
hardware ethernet 08:00:07:26:c0:a5;
fixed-address fantasia.fugue.com;
}
# If a DHCP or BOOTP client is mobile and might be connected to a variety
# of networks, more than one fixed address for that host can be specified.
# Hosts can have fixed addresses on some networks, but receive dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address. If a client should get different parameters depending on
# what subnet it boots on, host declarations for each such network should
# be given. Finally, if a domain name is given for a host's fixed address
# and that domain name evaluates to more than one address, the address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
host confusia {
hardware ethernet 02:03:04:05:06:07;
fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
filename "vmunix.confusia";
server-name "toccata.fugue.com";
}
host confusia {
hardware ethernet 02:03:04:05:06:07;
fixed-address confusia-3.fugue.com;
filename "vmunix.confusia";
server-name "snarg.fugue.com";
}
host confusia {
hardware ethernet 02:03:04:05:06:07;
filename "vmunix.confusia";
server-name "bb.home.vix.com";
}


*/Bruno Buys <brunobuys@gmail.com>/* escreveu:

    Ricardo Arias Brito wrote:

    > Pessoal, coloquei uma banda larga virtua em casa. O meu pc tava no
    > trampo, com o debian e o window (dual-boot). O virtua da net usa o
    > dhcp e a conexao foi feita para o window sem problema pelo
    suporte da
    > net. Mas o tecnico nao sabia conectar no linux. Sei que preciso do
    > pacote dhcpcd ou dhcp ou dhcp3-client, mas nao tenho, e tambem nao
    > tenho como fazer o apt-get no debian(nao esta com conexao, logico).
    > Sera que posso baixar este pacotes (*.tar.gz ) pelo window e
    > descompactar no linux. Se possivel em qual o local, no etc/ .
    >
    > Onde pegar estes pacoter com a extensao *.tar.gz .
    >
    > E entao apos ter estes pacotes do debian a conexao eh automatica
    > (logico que nao) ou sera que tem um comando magico.
    >
    > abs, Ric
    >
    >
    ------------------------------------------------------------------------
    > Abra sua conta no Yahoo! Mail
    >
    > - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente
    > eficaz.

    Ricardo,

    O dhcp do virtua é muito simples, eu já usei o virtua e o velox, e
    acho
    o virtua incomparavelmente melhor, em todos os aspectos.
    Você pode baixar o cliente dhcp da sua escolha, com extensão .deb.
    Por
    exemplo, em packages.debian.org. Chegando em casa, salve-o onde
    quiser e
    faça

    dpkg -i pacote-dhcp-da-sua-escolha.deb

    A propria instalação já se encarrega de colocá-lo no boot,
    portanto você
    não precisa fazer nada. Uma sugestão? Use o dhcpcd.
    Se algo sair diferente, volte à lista.
    falou!


-- To UNSUBSCRIBE, email to
    debian-user-portuguese-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact
    listmaster@lists.debian.org


------------------------------------------------------------------------
Abra sua conta no Yahoo! Mail <http://us.rd.yahoo.com/mail/br/tagline/mail/*http://br.info.mail.yahoo.com/> - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.

Ricardo,
Cara, acho que esse arquivo é do servidor dhcp, ou seja, o programa que você instala se quiser que outras máquinas na sua rede consultem o seu computador em busca de ip. Para conectar usando o virtua você precisa de um cliente dhcp, nao um servidor. Que eu me lembre do virtua, nao é necessário configurar nada. Mande o nome completo do pacote que você instalou. Você disse que até agora deu tudo certo. Conseguiu se conectar?

Veja isso:

bruno@frank:~$ apt-cache show dhcpcd
Package: dhcpcd
Priority: optional
Section: net
Installed-Size: 212
Maintainer: Simon Kelley <simon@thekelleys.org.uk>
Architecture: i386
Version: 1:1.3.22pl4-21sarge1
Replaces: dhcpcd-sv
Provides: dhcp-client
Depends: libc6 (>= 2.3.2.ds1-21), bsdutils (>= 2.11n), procps
Recommends: pcmcia-cs
Conflicts: dhcpcd-sv, dhcp-client, ifupdown (<< 0.6.4-4)
Filename: pool/updates/main/d/dhcpcd/dhcpcd_1.3.22pl4-21sarge1_i386.deb
Size: 57394
MD5sum: 1b376dc7cc9db55598fa231e848576e0
Description: DHCP client for automatically configuring IPv4 networking.
Simple configuration: supports executions of a script when the
IP address changes.



Essa é a descrição do pacote que você precisa.



Reply to: