Arch a internet
Som slaby linuxak, viem vsak ale ze pravdepodobne treba pridelit pre eth0 pomocou dhcp ip adresu a pouzit ifconfig eth0 up, dobre?
Pouzil som ifconfig eth0 up a dalej neviem co robit.. Ping stale hlasi "unknown host"
Dakujem
Pre pridávanie komentárov sa musíte prihlásiť.
err, eth0: timed out
err, eth0: lease information file '/var/lib/dhcpcd/dhcpcd-eth0.info' does not exist
warr, eth0: using IPV4ALL address 169.....
MODULES=(e1000e bcm43xx)
a nic ine. teda rozpoznalo mi to iba wifi kartu a ethernet nie?
-------------------------------------
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:19.0 Ethernet controller: Intel Corporation 82562GT 10/100 Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
10:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 02)
este mam aj druhu sietovku, mi rozpozna a ide to out-of-box, ale to je realtek
http://bbs.archlinux.org/viewtopic.php?id=38799
$ apt-cache search tcpd|grep ^tcpd
tcpd - Wietse Venema's TCP wrapper utilities
tcpdump - A powerful tool for network monitoring and data acquisition
$
trasu sa mi kolena.
dns zapis do /etc/resolv.conf
net restartujes: /etc/rc.d/network restart
nameserver 86.110.255.74
rc.conf som pozeral ale nerozumel som nicomu co tam mam robit, prepac.
net som restartoval, ifconfig eth0 down a ifconfig eth0 up a ping zase neuspesny.
Kontroloval som ci nemam stary kernel, ani nie, 2.6.25-ARCH
Nasiel som prispevok : http://www.linuxos.sk/forum/12967/index.html a tam ma teepek ten isty book ako ja ( hp 6720s ) a arch a internet mu ide. Mne internet nejde. Ako je to mozne? :))) Nepo* som nieco pocas instalacie? Instaloval som arch prvy krat
[root@hpek virhilo]# lsmod | grep -i eth1394
[root@hpek virhilo]#
mii-tool eth0
ifconfig eth0 | grep inetv pripade ze tam nic nieje tak len "ifconfig"
route -n
cat /etc/resolv.conf
eth0: no link
ifconfig eth0 | grep inet
inet addr: 10.174.32.103 Bcast: 10.174.32.255 Mask: 255.255.255.0
route -n
destionation # gateway # genmask # flags # metric # ref # use # iface
10.174.32.0 # 0.0.0.0 # 255.255.255.0 # U # 0 # 0 #0 # eth0
0.0.0.0 # 10.174.32.1 # 0.0.0.0 # UG # 0 # 0 # 0 # eth0
cat /etc/resolv.conf
nameserver 86.110.255.74
// Sorry za hlupo upraveny vypis, prepisujem to z jednej obrazovky na druhu a nechcelo sa mi s tym graficky hrat
riesis problem a kabel nieje zapojeny.. problem fizickej vrstvy..
ked mas notebook predpokladam ze nemas viac sietovok ale len jednu.. teda eth0
Pories kable (pripojenie k pc pripojenie switcha rutra...)a bude ti to chodit..
.. a este by som pootm pre istotu spravil echo nameserver 208.67.222.222 > /etc/resolv.conf
#
# /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"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# 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="sk_SK.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Bratislava"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
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=(e1000e iwl3945 snd-mixer-oss acpi-cpufreq cpufreq_ondemand cpufreq_powersave fuse snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd 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="gofree"
# 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
#
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)
# 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 network netfs crond dbus bluetooth cpufreq hal fam cups alsa mpd gdm)
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost gofree
# End of file
Nastavil som si hostname aj hosts a teraz mi /etc/rc.d/network hlasi ze
:: Starting Network [BUSY]
err, eth0: timed out
warn, eth0: using IPV4ALL address: 169.254.93.29 [DONE]
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="gofree"
takze tvoj /etc/hosts musis upravit do tejto podoby
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost daredevil
# End of file
Rozdielny hostname v tychto dovch suboroch je najcastejsi problem s nefunkcnym internetom a pomalym systemom. Aj tak by som ti najskor odporucil novu instalaciu podla manualu co som uviedol vyssie v opacnom pripade sa stretnes s mnozstvom veci ,ktore ti nebudu fungovat :)
Inak keby si dal vystup prikazov skor, tak si sa nemusel zdrzovat. Ale, je to tvoja volba.
Ozaj, aky to mas vobec notebook?
Ak ano, tak mi zavolaj.
Ak nie, tak si over verziu biosu a jadra u teba a u kolegu koli kompatibilite ovladacov ktora je u neho funkcna.
Otazkou je preco vyrobca schoval ROMPaq for HP Notebook System BIOS - FreeDOS Bootable Media do sekcie pre Windos ovladace. I ked by sa ten subor mohol rozbalit cez wine, ale toto by som neriskoval.
chod na hp.com pohladaj "drivers download" najdi svoj book a stiahni bios. je tam aj bootable diskette, tak skus nejak zohnat usb disketovku abo nieco podobne. alebo si "narychlo" nainstaluj windows, upgradni BIOS a rychlo ho sformatuj, lebo je to zly pocit mat taky podradny OS na takom booku s ktorym linux nema ziadne problemy. mne nanom bezi arch jak svajcarske hodinky (suspend, hibernate atd...) ;)