Repositórios debian sem CD??? [RESOLVIDO]

13. Re: Repositórios debian sem CD??? [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/11/2010 - 13:52h

Engraçado é que os passos são mais simples em:

http://www.linuxquestions.org/hcl/showproduct.php?product=3778

o típico: descompacta, acessa o diretório Módule e ...

$ make
# make install
# modprobe rt73

no fórum do Ubuntu também:

http://ubuntuforums.org/showthread.php?t=709260&highlight=rt73+eldragon&page=2

pode ser que precise especificar a localização de seu kernel-sources (kernel-headers):

# make config --kernel-source-dir=/usr/src/linux-2.6.26-2-amd64/

* ou use a opção de ajuda.


Outra coisa é querer compatibilizar o já velho Debian Lenny com hardwares modernos, eu no seu lugar instalaria o kernel do Debian Lenny Backports, o 2.6.32-5:

esse kernel rodando no Kurumin:

http://img.vivaolinux.com.br/imagens/artigos/comunidade/kurumin-35.jpeg


para tê-lo acrescente a entrada abaixo no sources.list:

$ nano /etc/apt/sources.list

## Debian Lenny Backports.
deb http://www.backports.org/debian lenny-backports main contrib non-free


Salvar e sair com Ctrl+O e Ctrl+X


Atualização das listas de pacotes e do kernel mais atual:

# apt-get update
# apt-get install debian-backports-keyring
# apt-get -t lenny-backports install initramfs-tools os-prober
# apt-get -t lenny-backports install linux-image-2.6-amd64 linux-headers-2.6-amd64


  


14. Re: Repositórios debian sem CD??? [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 09/11/2010 - 14:43h

Como descrito no README faço e daí aparece isso:

bruno:/opt/Driver for TL-WN321G in Linux/Module# cp Makefile.6 ./Makefile
bruno:/opt/Driver for TL-WN321G in Linux/Module# chmod 755 Configure
bruno:/opt/Driver for TL-WN321G in Linux/Module# make
make -C /lib/modules/2.6.32-bpo.5-amd64/build SUBDIRS=/opt/Driver for TL-WN321G in Linux/Module modules
make[1]: Entrando no diretório `/usr/src/linux-headers-2.6.32-bpo.5-amd64'
make[3]: *** Sem regra para processar o alvo `for'. Pare.
make[2]: ** [sub-make] Erro 2
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/src/linux-headers-2.6.32-bpo.5-amd64'
make: ** [all] Erro 2
bruno:/opt/Driver for TL-WN321G in Linux/Module#



e se dou um MAKE CONFIG:

bruno:/opt/Driver for TL-WN321G in Linux/Module# make config


-------------------- Ralink RT73 Station Configuration --------------------

Linux kernel source directory [/usr/src/linux-2.6.32-bpo.5-amd64]: make config --kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64

./Configure: line 82: [: too many arguments
Linux kernel source directory : make config --kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64

sed: opção não reconhecida `--kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64/Makefile'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

Envie relatórios de erros (em inglês) para: bonzini@gnu.org .
Inclua a palavra ``sed'' no campo ``Assunto:'' ou ``Subject:''.
sed: opção não reconhecida `--kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64/Makefile'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

Envie relatórios de erros (em inglês) para: bonzini@gnu.org .
Inclua a palavra ``sed'' no campo ``Assunto:'' ou ``Subject:''.
sed: opção não reconhecida `--kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64/Makefile'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

Envie relatórios de erros (em inglês) para: bonzini@gnu.org .
Inclua a palavra ``sed'' no campo ``Assunto:'' ou ``Subject:''.
sed: opção não reconhecida `--kernel-source-dir=/usr/src/linux-headers-2.6.32-bpo.5-amd64/Makefile'
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

-n, --quiet, --silent
suppress automatic printing of pattern space
-e script, --expression=script
add the script to the commands to be executed
-f script-file, --file=script-file
add the contents of script-file to the commands to be executed
-i[SUFFIX], --in-place[=SUFFIX]
edit files in place (makes backup if extension supplied)
-l N, --line-length=N
specify the desired line-wrap length for the `l' command
--posix
disable all GNU extensions.
-r, --regexp-extended
use extended regular expressions in the script.
-s, --separate
consider files as separate rather than as a single continuous
long stream.
-u, --unbuffered
load minimal amounts of data from the input files and flush
the output buffers more often
--help display this help and exit
--version output version information and exit

If no -e, --expression, -f, or --file option is given, then the first
non-option argument is taken as the sed script to interpret. All
remaining arguments are names of input files; if no input files are
specified, then the standard input is read.

Envie relatórios de erros (em inglês) para: bonzini@gnu.org .
Inclua a palavra ``sed'' no campo ``Assunto:'' ou ``Subject:''.
expr: erro de sintaxe
./Configure: line 104: [: -lt: unary operator expected
Module install directory : /lib/modules/2.6.32-bpo.5-amd64/kernel/drivers/net

bruno:/opt/Driver for TL-WN321G in Linux/Module#





15. Re: Repositórios debian sem CD??? [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 09/11/2010 - 14:50h

É meu caro, não posso te ajudar mais. Tentou os exemplos passados do site ou do ubuntuforum?


16. Re: Repositórios debian sem CD??? [RESOLVIDO]

brunotec
brunotec

(usa Debian)

Enviado em 09/11/2010 - 15:10h

Tentei sim. Mas blz cara vou pesquisar mais ai pela net e ver se consigo resolver.

Valeu pelas dicas cara!! precisar tamos aí!!



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts