Internet no ArchBang

1. Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 11/02/2011 - 12:22h

consegui instalar e configurar o Arch Bang com o guia de instalação do amigo edps http://www.vivaolinux.com.br/artigo/ArchBang-o-Arch-Linux-facil/?pagina=2 .depois de semanas tentando fazer funcionar a internet consegui.mas estou com um problema.depois de desligar fico sem internet quando ligo novamente.só consigo ativar assim:ifconfig == /etc/rc.d/network start====dhcpcd eth0.andei pesquizando e parece que a solução seria renomear o arquivo etc/conf.d/dhcp.mas não sei como renomear esse tipo de arquivo.já pesquizei bastante e não consegui.


  


2. Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 11/02/2011 - 22:59h

alguém aí?


3. Re: Internet no ArchBang

Perfil removido
removido

(usa Nenhuma)

Enviado em 11/02/2011 - 23:01h

posta teu /etc/rc.conf


4. Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 12/02/2011 - 00:24h

NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archbang"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it

DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)

# Routes to start at boot-up (in this order)

# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)

# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it

#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(dbus hal syslog-ng !network !dhcdbd !networkmanager @alsa @wicd)



5. Re: Internet no ArchBang

brunotec
brunotec

(usa Debian)

Enviado em 12/02/2011 - 00:29h

nessa linha:


DAEMONS=(dbus hal syslog-ng !network !dhcdbd !networkmanager @alsa @wicd)


retire o " ! " do network e do networkmanager


6. Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 12/02/2011 - 01:52h

ola brunotec .fiz como indicaste mas ainda não consegui.quando ligo o not fico sem internet.agora to escrevendo no pc.


7. Re: Internet no ArchBang

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/02/2011 - 09:51h

Tua net é por dhcp?

Nessa parte eu faria assim:

de:
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(!eth0 !wlan0)

para:

#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0 wlan0)

caso vc quer utilizar network no daemons.

Se utilizar network no damons que esta assim
DAEMONS=(dbus hal syslog-ng !network !dhcdbd !networkmanager @alsa @wicd)

troque para esse:
DAEMONS=(syslog-ng hal network !dhcdbd !networkmanager @alsa !wicd)


Ja se quer utilizar o wicd ou o netoworkmanager é outra historia


8. Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 12/02/2011 - 18:49h

ola pessoal.rdfreitas não consegui entender tua indicação.aqui vai mais uns dados. no not uso xp e já instalei em dual boot outras distros pra experimentar.mas como não consigo conectar wireless conectei um cabo no roteador e no not.assim consigo ter internet.funcionou com o Mandriva.agora com o Arch é que não to conseguindo.me passa exatamente qual procedimento usar nesse caso por favor.


9. Re: Internet no ArchBang

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/02/2011 - 19:20h

Bem o que você não entendeu??

No /etc/rc.conf que vc me passou vc ta usando tres gerenciadores de "rede"

!network
!dhcdbd !networkmanager
@wicd

certo?

o network vem como padrao do arch e acho que tbm do archbang.
o networkmanager é o que vem do gnome(o dhcdbd não é usando mais,antes era usando junto com o networkmanager)
e tem o wicd


Correto?

Vc tem que usar somente um deles.
Cada um tem uma configuração diferente.


Eu utilizo o networkmanger, segue o trecho do meu rc.conf blz.


# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="rdfreitas"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0="dhcp"
INTERFACES=(!eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal @networkmanager @iptables @alsa slim)


10. Re: Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 12/02/2011 - 23:07h

ola pessoal.estou tentando uma por uma as configurações mas até agora nada.vou refazer uma a uma.devo estar fazendo algo errado.assim que tiver um resultado positivo posto aqui.agradeço a atenção de voces.


11. Re: Internet no ArchBang

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/02/2011 - 23:37h

se usar eth0, remova o # de:

INTERFACES=(!eth0)

deixe assim:

INTERFACES=(eth0)


nos daemons deixe assim:

DAEMONS=(syslog-ng hal networkmanager iptables alsa slim)


* networkmanager apenas se irá utilizá-lo!
* iptables se tens regras para tal, uso o arno-iptables-firewall



exemplo do meu /etc/rc.conf (uso ppp0 e não eth0, por isso está desativada):



#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pt_BR.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="America/Sao_Paulo"
KEYMAP="br-abnt2"
CONSOLEFONT=
CONSOLEMAP="8859-1"
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!forcedeth !pcspkr !snd-mixer-oss !snd-pcm-oss !snd-hwdep !snd-page-alloc !snd-pcm !snd-timer !snd !snd-hda-codec !snd-hda-intel !soundcore forcedeth pcspkr snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-codec snd-hda-intel soundcore)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="arch"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(ppp0 !eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"

# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng crond alsa hal arno-iptables-firewall squid lxdm)



DAEMONS=(syslog-ng hal @networkmanager @iptables @alsa slim)


12. Re: Internet no ArchBang

deni  simoes pires
deni

(usa Slackware)

Enviado em 13/02/2011 - 02:07h

tá assim agora mas nada de conectar: # NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archbang"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="archbang"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it# - no hyphens in your interface names - Bash doesn't like it
#
DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0 !wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal networkmanager alsa slim).fiz as modificações ;
#Static IP example
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0 !wlan0)
----------
DAEMONS=(syslog-ng hal networkmanager alsa slim)







01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts