Fórum Root.cz
Hlavní témata => Distribuce => Téma založeno: Zash 17. 02. 2015, 08:38:55
-
Dobrý den,
nainstaloval jsem si CentOS 7 64bit na starší počítač se základní deskou intel D946GZIS s integrovanou síťovou kartou, která už při instalaci z DVD nebyla vidět a není ani po instalaci. Pokud zadám příkaz lspci | grep Ether, tak to síťovou kartu vypíše, nicméně nikde v nastavení vidět není a nedá se nakonfigurovat. V /etc/sysconfig/network-scripts/ je pouze ifcfg-lo, po nějakém rozhraní eth0 a pod nikde ani stopy. Na CentOS 5 fungovala bez problémů hned po instalaci a na jiných distibucích funguje také.
Neměl by tedy někdo radu, jak to zprovoznit?
Děkuji.
PS: jsem začátečník :)
-
Dobrý den,
nainstaloval jsem si CentOS 7 64bit na starší počítač se základní deskou intel D946GZIS s integrovanou síťovou kartou, která už při instalaci z DVD nebyla vidět a není ani po instalaci. Pokud zadám příkaz lspci | grep Ether, tak to síťovou kartu vypíše, nicméně nikde v nastavení vidět není a nedá se nakonfigurovat. V /etc/sysconfig/network-scripts/ je pouze ifcfg-lo, po nějakém rozhraní eth0 a pod nikde ani stopy. Na CentOS 5 fungovala bez problémů hned po instalaci a na jiných distibucích funguje také.
Neměl by tedy někdo radu, jak to zprovoznit?
Děkuji.
PS: jsem začátečník :)
Zdravim
v provom rade by som napisal, ze aky typ instalacie ste pouzili- minimal etc. Potom ake DVD ste stiahly.
Za dalsie pomohlo by sem hodit vypis, dmesg, ifconfig -a, lsmod
-
A este som nasiel v com moze byt problem tiez :
http://www.krizna.com/centos/setup-network-centos-7/
-
tarako:
- diky za odkaz, ale prikaz nmcli d vypise pouze rozhrani loopback
- instalaci jsem vybral tu s prostredim KDE
- stahl jsem CentOS-7.0-1406-x86_64-DVD.iso
- tady ifconfig -a
[root@localhost ~]# ifconfig -a
lo: flags=73<AKTIVOVÁNO,SMYČKA,BĚŽÍ> mtu 65536
inet 127.0.0.1 síťová_maska 255.0.0.0
inet6 ::1 délka_prefixu 128 scopeid 0x10<stroj>
loop délka_odchozí_fronty 0 (Místní smyčka)
RX packetů 3074 bajtů 267404 (261,1 KiB)
RX chyb 0 zahozeno 0 přetečení 0 rámců 0
TX packetů 3074 bajtů 267404 (261,1 KiB)
TX chyb 0 zahozeno 0 přetečení 0 přenos 0 kolizí 0
-tady lsmod
[root@localhost ~]# lsmod
Module Size Used by
usb_storage 66305 0
bnep 19704 2
bluetooth 372662 7 bnep
rfkill 26536 2 bluetooth
ip6t_rpfilter 12546 1
ip6t_REJECT 12939 2
ipt_REJECT 12541 2
xt_conntrack 12760 7
ebtable_nat 12807 0
ebtable_broute 12731 0
bridge 110196 1 ebtable_broute
stp 12976 1 bridge
llc 14552 2 stp,bridge
ebtable_filter 12827 0
ebtables 30913 3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_nat 13015 1
nf_conntrack_ipv6 18738 5
nf_defrag_ipv6 34651 1 nf_conntrack_ipv6
nf_nat_ipv6 13279 1 ip6table_nat
ip6table_mangle 12700 1
ip6table_security 12710 1
ip6table_raw 12683 1
ip6table_filter 12815 1
ip6_tables 27025 5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_nat 13011 1
nf_conntrack_ipv4 14862 4
nf_defrag_ipv4 12729 1 nf_conntrack_ipv4
nf_nat_ipv4 13263 1 iptable_nat
nf_nat 21798 4 nf_nat_ipv4,nf_nat_ipv6,ip6table_nat,iptable_nat
nf_conntrack 101024 8 nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,ip6table_nat,iptable_nat,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_mangle 12695 1
iptable_security 12705 1
iptable_raw 12678 1
iptable_filter 12810 1
ip_tables 27239 5 iptable_security,iptable_filter,iptable_mangle,iptable_nat,iptable_raw
sg 36533 0
iTCO_wdt 13480 0
iTCO_vendor_support 13718 1 iTCO_wdt
snd_hda_codec_idt 54524 1
snd_hda_codec_generic 68082 1 snd_hda_codec_idt
snd_hda_intel 48259 5
snd_hda_codec 137343 3 snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel
snd_hwdep 13602 1 snd_hda_codec
snd_seq 61519 0
snd_seq_device 14497 1 snd_seq
snd_pcm 97511 2 snd_hda_codec,snd_hda_intel
ppdev 17671 0
i2c_i801 18135 0
snd_page_alloc 18710 2 snd_pcm,snd_hda_intel
snd_timer 29482 2 snd_pcm,snd_seq
lpc_ich 16977 0
mfd_core 13435 1 lpc_ich
pcspkr 12718 0
serio_raw 13462 0
parport_pc 28165 0
parport 42348 2 ppdev,parport_pc
snd 74645 19 snd_hwdep,snd_timer,snd_hda_codec_idt,snd_pcm,snd_seq,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
soundcore 15047 1 snd
shpchp 37032 0
mperf 12667 0
nfsd 284378 1
auth_rpcgss 59368 1 nfsd
nfs_acl 12837 1 nfsd
lockd 93977 1 nfsd
sunrpc 293453 5 nfsd,auth_rpcgss,lockd,nfs_acl
uinput 17625 0
xfs 914152 3
libcrc32c 12644 1 xfs
sd_mod 45373 3
sr_mod 22416 0
crc_t10dif 12714 1 sd_mod
cdrom 42556 1 sr_mod
crct10dif_common 12595 1 crc_t10dif
ata_generic 12910 0
pata_acpi 13038 0
i915 710975 2
video 19267 1 i915
i2c_algo_bit 13413 1 i915
drm_kms_helper 52758 1 i915
drm 297829 3 i915,drm_kms_helper
ata_piix 35038 2
libata 219478 3 pata_acpi,ata_generic,ata_piix
i2c_core 40325 5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
floppy 69370 0
dm_mirror 22135 0
dm_region_hash 20862 1 dm_mirror
dm_log 18411 2 dm_region_hash,dm_mirror
dm_mod 102999 11 dm_log,dm_mirror
- dmesg me to nenecha vložit, prootže je to moc dlouhy :)
-
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
yum install kmod-e100
-
1. zistiť názov interface a MAC adresu
2. vytvoriť ifcfg-XXX súbor manuálne
1. ip link, alebo ls -l /sys/class/net/
2. vim /etc/sysconfig/network-scripts/ifcfg-XXX
DEVICE=XXX
HWADDR=XX:XX:XX:XX:XX:XX
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=dhcp
alebo pre statické IP
DEVICE=XXX
HWADDR=XX:XX:XX:XX:XX:XX
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.10.10.10
NETMASK=255.255.255.0
NETWORK=10.10.10.0
-
McFly:
[root@localhost Dokumenty]# rpm --import RPM-GPG-KEY-elrepo.org
[root@localhost Dokumenty]# rpm -Uvh elrepo-release-7.0-2.el7.elrepo.noarch.rpm
Připravuji... ################################# [100%]
Updating / installing...
1:elrepo-release-7.0-2.el7.elrepo ################################# [100%]
[root@localhost Dokumenty]# yum install kmod-e100
Zavedené moduly: fastestmirror, langpacks
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Neznámá chyba"
One of the configured repositories failed (Neznámý),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
-
1. zistiť názov interface a MAC adresu
2. vytvoriť ifcfg-XXX súbor manuálne
1. ip link, alebo ls -l /sys/class/net/
2. vim /etc/sysconfig/network-scripts/ifcfg-XXX
DEVICE=XXX
HWADDR=XX:XX:XX:XX:XX:XX
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=dhcp
alebo pre statické IP
DEVICE=XXX
HWADDR=XX:XX:XX:XX:XX:XX
TYPE=Ethernet
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.10.10.10
NETMASK=255.255.255.0
NETWORK=10.10.10.0
[root@localhost ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
[root@localhost ~]# ls -l /sys/class/net/
celkem 0
lrwxrwxrwx. 1 root root 0 17. úno 10.12 lo -> ../../devices/virtual/net/lo
-
McFly:
[root@localhost Dokumenty]# rpm --import RPM-GPG-KEY-elrepo.org
[root@localhost Dokumenty]# rpm -Uvh elrepo-release-7.0-2.el7.elrepo.noarch.rpm
Připravuji... ################################# [100%]
Updating / installing...
1:elrepo-release-7.0-2.el7.elrepo ################################# [100%]
[root@localhost Dokumenty]# yum install kmod-e100
Zavedené moduly: fastestmirror, langpacks
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Neznámá chyba"
One of the configured repositories failed (Neznámý),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: base/7/x86_64
Jak prekvapive, kdyz nemas sit... Boze.
-
Budes si to muset stahnout nekde jinde a dostat to tam na USB:
http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS/kmod-e100-3.5.24-1.el7.elrepo.x86_64.rpm
a pak
rpm -i kmod-e100-3.5.24-1.el7.elrepo.x86_64.rpm
mozna to bude chtit nejaky zavislosti, tak dostahnout z http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS
Jo a nerikam, ze to bude fungovat, jenom popisuju jak obejit yum bez site.
-
Centos7 treba nenajde sitovku ve vmware, neni tam ovladac, musi se prepnout v configu na AMD cosi
tohle mi kdysi fungovalo pro wifi, ktere nemely ovladace :
pripojit USB sitovku, nejake zakladni to obvykle zna.
yum -y install kernel-devel-$(uname -r) gcc screen patch
U=https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28
D=compat-drivers-2013-03-28-5
curl $U/$D.tar.bz2 > $D.tar.bz2 && curl $U/$D-u.tar.bz2 > $D-u.tar.bz2
tar xjf ### .... cd ... asi lepsi ty "-u"
## ./scripts/driver-select ath5k
screen
touch date00;make clean;make;date # whole=wait 60 minutes on 2GHz single core,12 minut on i5
make install
-
Jak prekvapive, kdyz nemas sit... Boze.
To vim taky, dekuji za radu a priste si mozna precti prvni prispevek nez zacnes mit zbytecne poznamky (nevim ze kmod neni prikaz..), chovame se snad slusne....
-
Budes si to muset stahnout nekde jinde a dostat to tam na USB:
http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS/kmod-e100-3.5.24-1.el7.elrepo.x86_64.rpm
a pak
rpm -i kmod-e100-3.5.24-1.el7.elrepo.x86_64.rpm
mozna to bude chtit nejaky zavislosti, tak dostahnout z http://elrepo.reloumirrors.net/elrepo/el7/x86_64/RPMS
Jo a nerikam, ze to bude fungovat, jenom popisuju jak obejit yum bez site.
pomohlo, vyreseno
Diky vsem.