Re: Sieć nie wstaje
Google
marcinszramowiat w gmail.com
Wto, 1 Paź 2019, 14:36:30 CEST
Karta sieciowa to Intel, modul/ e1000e wpisane do modprobe.conf,
zal/adowany, ponizej wynik lsmod.
Ip karty ustawione statycznie, pod systemd.
/etc/sysconfig/interfaces/ifcfg-eth0
# Config for Ethernet card.
#
# Name of the device. Must match filename suffix.
DEVICE=eth0
# IP addresses/address prefix
# where prefix:
# 24 - resembles netmask 255.255.255.0
# 16 - resembles netmask 255.255.0.0
# etc.
# IPADDR may be either IPv4 or IPv6
# you may have up to 256 addresses set up
IPADDR=192.168.2.78/24
#IPADDR1=192.168.0.2/24
#IPADDR2=192.168.0.3/24
#IPADDR3=192.168.0.4/24
# you may select which of the above addresses
# is primary for this interface (it'd be IPADDR1 in the example below)
#IP4_PRIM_IF="1"
# activate on boot? yes|no
# you must set it to 'yes' if you want to have this up after bootup
ONBOOT=yes
# dhcp|pump|none
BOOTPROTO=none
# pass parameters to dhcp client
#DHCP_OPTIONS="-R"
# sane qdisc
QDISC=sfq
# configure a 6to4 tunnel?
#ENABLE_6TO4=yes
# ethtool options like WoL
#ETHTOOL_OPTS="wol g"
/etc/sysconfig/network
######################################################################
# MAIN PART
# Do you need IPv4 or IPv6 networking ?
NETWORKING=yes
# Do you need IPv4 networking ?
IPV4_NETWORKING=yes
# Do you want IPv4 forwarding ?
# then set it in /etc/sysctl.conf
# Set hostname here
HOSTNAME=eosek
# Allow udev to create /etc/sysconfig/interfaces/ifcfg-* automatically?
# See /lib/udev/net_helper for details.
AUTOMATIC_IFCFG=no
# Set NIS domain name here if you use NIS
# Note: DNS domain name should be set in /etc/hosts or DNS/NIS service,
not here
NISDOMAIN=
# Traditional setup of gateway. This is obsolete, consider using
static-routes
# instead. However this is really enough for most users.
GATEWAY=192.168.2.1
GATEWAYDEV=eth0
# Do you want to use IPX networking ?
IPX=no
IPXAUTOPRIMARY=
IPXAUTOFRAME=
IPXINTERNALNETNUM=
IPXINTERNALNODENUM=
# Do you need IPv6 networking ?
IPV6_NETWORKING=yes
# Do you want IPv6 forwarding ?
# then set it in /etc/sysctl.conf
# Enable tunnel interfaces configuration ?
IPV6_TUNNELCONFIG=yes
# Global route for IPv6 host with IPv6 forwarding
IPV6_GLOBALROUTEGW=
IPV6_GLOBALROUTEDEV=
# Other
# Do you want set static ARP table (based on /etc/ethers config file) ?
STATIC_ARP=no
# Do you want set static RARP table (based on /etc/ethers config file)
?
STATIC_RARP=no
# Specify interface on which you want to enable tleds software
# (also you need tleds package installed) -- default set to no
TLEDS_DEV=no
# enable globally for all network interfaces.
# bring up from hotplug (udev for example) (default to no)
#HOTPLUG=yes
# set up Zeroconf routes for communication via/with IPv4ALL link-local
# addresses
ZEROCONF=yes
lsmod
Module Size Used by
hid_logitech_hidpp 45056 0
iTCO_wdt 16384 0
gpio_ich 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
joydev 24576 0
coretemp 16384 0
lpc_ich 28672 0
psmouse 172032 0
firewire_ohci 49152 0
firewire_core 81920 1 firewire_ohci
hid_logitech_dj 28672 0
sr_mod 28672 0
ahci 40960 0
cdrom 40960 1 sr_mod
input_leds 16384 0
i2c_i801 32768 0
serio_raw 16384 0
libahci 40960 1 ahci
i5k_amb 16384 0
e1000e 237568 0
crc_itu_t 16384 1 firewire_core
pcspkr 16384 0
i2c_core 86016 2 i2c_i801,psmouse
ata_generic 16384 0
evdev 28672 4
pata_acpi 16384 0
rng_core 16384 0
hwmon 32768 2 coretemp,i5k_amb
i5400_edac 20480 0
kvm 798720 0
button 16384 0
irqbypass 16384 1 kvm
sch_fq_codel 20480 1
ip_tables 36864 0
x_tables 45056 1 ip_tables
autofs4 45056 2
ohci_hcd 45056 0
uhci_hcd 36864 0
ehci_pci 16384 0
ehci_hcd 65536 1 ehci_pci
xhci_pci 20480 0
xhci_hcd 241664 1 xhci_pci
usbhid 57344 1 hid_logitech_dj
usbcore 274432 7
xhci_hcd,ohci_hcd,ehci_pci,usbhid,ehci_hcd,xhci_pci,uhci_hcd
hid_generic 16384 0
hid 139264 4
usbhid,hid_generic,hid_logitech_dj,hid_logitech_hidpp
sd_mod 61440 5
pata_marvell 16384 0
ata_piix 36864 4
libata 294912 6
ata_piix,libahci,pata_marvell,ahci,pata_acpi,ata_generic
scsi_mod 258048 3 sd_mod,libata,sr_mod
ext4 798720 3
libcrc32c 16384 0
crc32c_generic 16384 7
crc16 16384 1 ext4
mbcache 16384 1 ext4
jbd2 135168 1 ext4
/etc/resolv.conf
# http://opendns.com/
#nameserver 208.67.222.222
#nameserver 208.67.220.220
# nameserver 2620:0:ccc::2
# nameserver 2620:0:ccd::2
# https://developers.google.com/speed/public-dns/
#nameserver 8.8.8.8
#nameserver 8.8.4.4
nameserver 192.168.2.1
ip a
eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 00:1c:c0:9c:db:de txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 memory 0xe3200000-e3220000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
> Jeszcze zdefiniuj "wklepal/em co trzeba" - gdzie ustawil/es
konfiguracje
> sieci?
> Pawel/
> W dniu 30.09.2019 o 16:38, Google pisze:
>> Witam. Soorki, dopiero teraz mam:
>> ip a
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state
UNKNOWN
>> group default qlen 1000
>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>> inet 127.0.0.1/8 scope host lo
>> valid_lft forever preferred_lft forever
>> inet6 ::1/128 scope host
>> valid_lft forever preferred_lft forever
>> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
group
>> default qlen 1000
>> link/ether 00:1c:c0:9c:db:de brd ff:ff:ff:ff:ff:ff
>> ip l
>> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state
UNKNOWN
>> mode DEFAULT group default qlen 1000
>> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
>> 2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
mode
>> DEFAULT group default qlen 1000
>> link/ether 00:1c:c0:9c:db:de brd ff:ff:ff:ff:ff:ff
>> > On niedziela, 29 wrzesnia 2019 16:52:41 CEST GMAIL wrote:
>> >> Jak to moge sprawdzic?
>> > Moze podaj na poczatek wyniki komend [1] o kt�re
prosil/em?
>> > [1]
>> >> > a interfejs wstal/?
>> >> >
>> >> > sudo ip l
>> >> >
>> >> > IP# dostal/?
>> >> >
>> >> > sudo ip a
>> _______________________________________________
>> pld-users-pl mailing list
[1]>> pld-users-pl w lists.pld-linux.org
[2]>> http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
> _______________________________________________
> pld-users-pl mailing list
[3]> pld-users-pl w lists.pld-linux.org
[4]> http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
--
Pozdrowienia,
Google
References
1. mailto:pld-users-pl w lists.pld-linux.org
2. http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
3. mailto:pld-users-pl w lists.pld-linux.org
4. http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
Więcej informacji o liście pld-users-pl