не понимаю почему не работат сеть
у меня работала сеть и вдруг в один прекрасной момент она пересатала работать.
и в ifconfige появился lo что это за ло. Но мне кажется проблемы в нем.
сеть работат через устройство sis0 ip выдается по dhcp. я вообще ничего не менял(на скока помню) и сеть просто после очередной загрузки перестала работать.
в rc.conf отключена загрузка сети
Цитата:
> ifconfig
sis0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
ether 00:0d:87:da:13:de
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> uname -a
FreeBSD andrey.home 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Mar 1 19:51:19 KRAT 2006 root@andrey.home:/usr/src/sys/i386/compile/GENERIC i386
> cat /etc/hosts
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file. Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
#::1 localhost localhost.my.domain
127.0.0.1 andrey.home andrey
#
# Imaginary network.
#10.0.0.2 myname.my.domain myname
#10.0.0.3 myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
# 10.0.0.0 - 10.255.255.255
# 172.16.0.0 - 172.31.255.255
# 192.168.0.0 - 192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers. Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
> cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sat Jan 14 01:07:55 2006
# Created: Sat Jan 14 01:07:55 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
mousechar_start="3"
moused_enable="YES"
moused_flags="5"
scrnmap="koi8-r2cp866"
usbd_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
#allscreens_flags="-m on"
hostname=andrey.home
gdm_enable="YES"
#ifconfig_sis0=dhcp
#network_interfaces=sis0
|
сеть не работает
убираем коментарии с последних дву строчек
перезапускамся пробуем сеть. неработат
при перезагруки вылетает мессага о том что о повторении чего либо
sis0:dad detected duplicate далее я не успел прочитать можот кто знает как поглядеть что пишется при загрузке я тогда процетирую полностью
Цитата:
> ping -c5 vpn.multi-net.ru
ping: cannot resolve vpn.multi-net.ru: Host name lookup failure
> ifconfig
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::20d:87ff:feda:13de%sis0 prefixlen 64 duplicated scopeid 0x1
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
ether 00:0d:87:da:13:de
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384
> cat /etc/hosts
# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file. Replace 'my.domain' below with the domainname of your
# machine.
#
# In the presence of the domain name service or NIS, this file may
# not be consulted at all; see /etc/nsswitch.conf for the resolution order.
#
#
#::1 localhost localhost.my.domain
127.0.0.1 andrey.home andrey
#
# Imaginary network.
#10.0.0.2 myname.my.domain myname
#10.0.0.3 myfriend.my.domain myfriend
#
# According to RFC 1918, you can use the following IP networks for
# private nets which will never be connected to the Internet:
#
# 10.0.0.0 - 10.255.255.255
# 172.16.0.0 - 172.31.255.255
# 192.168.0.0 - 192.168.255.255
#
# In case you want to be able to connect to the Internet, you need
# real official assigned numbers. Do not try to invent your own network
# numbers but instead get one from your network provider (if any) or
# from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.)
#
> cat /etc/rc.conf
# -- sysinstall generated deltas -- # Sat Jan 14 01:07:55 2006
# Created: Sat Jan 14 01:07:55 2006
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
keymap="ru.koi8-r"
mousechar_start="3"
moused_enable="YES"
moused_flags="5"
scrnmap="koi8-r2cp866"
usbd_enable="YES"
moused_port="/dev/psm0"
moused_type="auto"
#allscreens_flags="-m on"
hostname=andrey.home
gdm_enable="YES"
network_interfaces=sis0
ifconfig_sis0=dhcp
>
|
|