[Sysadmins] pppoe ÐÒÏÂÌÅÍÁ

Igo =?iso-8859-1?q?altlinux_=CE=C1_aaanet=2Eru?=
óÒ á×Ç 1 14:54:07 MSD 2007


ÐÒÏÂÙ×ÁÌ ËÁË ×Ù ÓÏ×ÅÔÕÅÔÅ, ÔÏÖÅ ÎÅ ÐÏÍÏÇÌÏ
×ÏÔ ÞÔÏ ÓÁÍÏÅ ÓÔÒÁÎÎÏÅ ÏÔËÕÄÁ ×ÚÑÌÓÑ eth3 ÎÅÐÏÎÑÔÎÏ. ÓÅÊÞÁÓ ÓÄÅÌÁÌ ÎÅ 
ÞÅÒÅÚ ÓÌÕÖÂÕ pppoe Á ÞÅÒÅÚ etcnet

[root ÎÁ localhost ~]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:15:17:23:54:B3
          inet addr:192.168.100.10  Bcast:192.168.100.255  
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:188667 errors:0 dropped:0 overruns:0 frame:0
          TX packets:199021 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:32481306 (30.9 MiB)  TX bytes:113490638 (108.2 MiB)
          Base address:0x2000 Memory:88180000-881a0000

eth1      Link encap:Ethernet  HWaddr 00:15:17:23:54:B4
          inet addr:192.168.23.2  Bcast:192.168.23.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:140461 errors:0 dropped:0 overruns:0 frame:0
          TX packets:132183 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:82942967 (79.1 MiB)  TX bytes:17374394 (16.5 MiB)
          Base address:0x1200 Memory:88020000-88040000

eth3      Link encap:Ethernet  HWaddr 00:11:95:ED:11:3F
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:233

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1550 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1550 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:177785 (173.6 KiB)  TX bytes:177785 (173.6 KiB)

venet0    Link encap:UNSPEC  HWaddr 
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:672 (672.0 b)  TX bytes:280 (280.0 b)


> ÍÏÖÅÔ ÐÏÄÓËÁÖÉÔÅ ËÁË ÈÏÔÑ ÂÙ ÒÅÁÎÉÍÉÒÏ×ÁÔØ eth2 ? ÏÞÅÎØ ÓÔÒÁÎÎÁÑ ÓÉÔÕÁÃÉÑ
>> ×ÓÅÍ ÐÒÉ×ÅÔ
>> alm4
>> ÐÏÓÔÁ×ÉÌ pppoe ÒÁÂÏÔÁÅÔ, ÎÏ ÐÏÓÌÅ ÒÁÚÒÙ×Á ÐÏÌÕÞÁÀ ÓÌÅÄ.:
>>
>> [root ÎÁ localhost ~]# service pppoe start
>> Bringing up PPPoE link................TIMED OUT
>>
>> [root ÎÁ localhost ~]# service network restart
>> ......
>> Starting group 1/realphys (3 interfaces)
>>         Starting eth0: ......OK
>>         Starting eth1: .......OK
>>         Starting eth2: SIOCGIFFLAGS: No such device
>> !FAILED
>> [root ÎÁ localhost ~]# ls -l /etc/net/ifaces/eth2
>> total 4
>> -rw-r--r-- 1 root root  0 Jul 31 16:31 ipv4address
>> -rw-r--r-- 1 root root  0 Jul 17 22:23 ipv4route
>> -rw------- 1 root root 27 Aug  1 14:15 options
>>     ×ÐÉÓÙ×ÁÀ USE_HOTPLUG=yes
>> [root ÎÁ localhost eth2]# cat options
>> DISABLED=no
>> USE_HOTPLUG=yes
>>
>> [root ÎÁ localhost ~]# service network restart
>> ........
>> Starting eth2:  skipping hotplug iface 'eth2' 
>> SKIPPED                                                                                                                                     
>> [FAILED]
>>
>> [root ÎÁ localhost ~]# tail /var/log/messages
>> ......
>> Aug  1 14:11:49 localhost kernel: e1000: eth0: e1000_watchdog: NIC 
>> Link is Up 100 Mbps Full Duplex
>> Aug  1 14:11:49 localhost kernel: e1000: eth0: e1000_watchdog: 10/100 
>> speed: disabling TSO
>> Aug  1 14:11:49 localhost kernel: e1000: eth1: e1000_watchdog: NIC 
>> Link is Up 100 Mbps Full Duplex
>>
>> ÄÁÖÅ ÎÅ×ÉÄÉÔ ÓÅÔÅ×ÕÀ ÈÏÔÑ
>>
>> [root ÎÁ localhost ~]# pciscan
>> Recommended driver     Description
>> ------------------     -----------
>> ..........
>> e1000                  Intel Corporation 82573E Gigabit Ethernet 
>> Controller (Copper) [Ethernet controller]
>> skge                   D-Link System Inc Gigabit Ethernet Adapter 
>> [Ethernet controller]
>> e1000                  Intel Corporation 82541GI Gigabit Ethernet 
>> Controller [Ethernet controller]
>>
>> [root ÎÁ localhost ~]# lsmod|grep skg
>> skge                   43536  0
>>
>> ÅÓÌÉ ÐÅÒÅÇÒÕÚÉÔØ ËÏÍÐ ÔÏ ×Ó£ ÒÁÂÏÔÁÅÔ ÎÏÒÍÁÌØÎÏ ÄÏ ÐÅÒ×ÏÇÏ ÒÁÚÒÙ×Á Ó 
>> ÐÒÏ×ÁÊÄÅÒÏÍ
>>
>>
>> _______________________________________________
>> Sysadmins mailing list
>> Sysadmins ÎÁ lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/sysadmins
>>   
>
>
>
>


> Igo ÐÉÛÅÔ:
>   
>> ÍÏÖÅÔ ÐÏÄÓËÁÖÉÔÅ ËÁË ÈÏÔÑ ÂÙ ÒÅÁÎÉÍÉÒÏ×ÁÔØ eth2 ? ÏÞÅÎØ ÓÔÒÁÎÎÁÑ ÓÉÔÕÁÃÉÑ
>>     
> USE_HOTPLUG=no	
>
>
> [root ÎÁ bulevar localnet]# cat options
> TYPE=eth
> USE_HOTPLUG=no
> MODULE=sky2
> ONBOOT=yes
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins ÎÁ lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   





ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Sysadmins