Запомняне

» Здравейте
[ Вход :: Регистриране ]
 » Начало » Li Форуми » Help & Support » Networking » Проблем с ethX
Тема: Проблем с ethX
Мнение #1 Skip to the next post in this topic.
Написано на: Май 14 2006, 12:29
gosheto

Avatar




Група: Li fans
Мнения: 162
Регистриран: Април 2005

Оценка: 5

Offline
Първо да кажа, че съм с Debian testing/unstable KDE 3.5.2.

Дълго време не бях си го обновявал и вчера си го ъпдейтнах (свали близо 200 MB) и всичко си мина гладко (поне така мисля  :)  ), но след рестарт видях, че нямам нет. След като изпълних командата ifconfig -a видях, че вече мрежовата ми карта не е eth0, a eth3. Нстроих си я и нета тръгна без проблеми, но след още един рестарт вече картата ми беше eth4. Пробвах още няколко рестарта и все ми се увеличаваше с едно (в момнета е eth7 :D ).

Ако някой знае защо става така ще съм му благодарен ако сподели с мен, защото аз не знам   :6;

p.s. Мрежовата карта ми е 3COM 509
Контакти:  gosheto
WEB  
Мнение #2 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 14 2006, 19:34
quintessence

Avatar




Група: Li psychos
Мнения: 813
Регистриран: Август 2005

Offline
:D  :D  :D  като стигнеш до eth9872438742743 тогава може да се притесняваш :))) шегувам се ,разбира се :P

дай изхода от
Код: 
cat /etc/network/interfaces
и
Код: 
ifconfig -a
:P

също и от :
Код: 
cat /var/log/messages | grep eth
и/или
Код: 
dmesg | grep eth
:P
Контакти:  quintessence

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #3 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 14 2006, 22:40
gosheto

Avatar




Група: Li fans
Мнения: 162
Регистриран: Април 2005

Оценка: 5

Offline
quintessence, ти се шегуваш ама в момента е eth10 и като гледам няма намерение да спре да расте ако не направа нещо  :29;

Код: 
gosheto@debian:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth4
iface eth4 inet static
       address 82.146.28.115
       netmask 255.255.255.128
       network 82.146.28.0
       broadcast 82.146.28.127
       gateway 82.146.28.1
       # dns-* options are implemented by the resolvconf package, if installed
       dns-nameservers 82.146.28.1
       dns-search home


файла  /etc/network/interfaces го променях до eth4 и след това ми писна :9;

Код: 
gosheto@debian:~$ sudo ifconfig -a
eth10     Link encap:Ethernet  HWaddr 00:20:AF:BF:0C:D6
         inet addr:82.146.28.115  Bcast:82.146.28.127  Mask:255.255.255.128
         inet6 addr: fe80::220:afff:febf:cd6/64 Scope:Link
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:3531 errors:0 dropped:0 overruns:0 frame:0
         TX packets:2539 errors:0 dropped:0 overruns:0 carrier:1
         collisions:56 txqueuelen:1000
         RX bytes:1712618 (1.6 MiB)  TX bytes:437256 (427.0 KiB)
         Interrupt:10 Base address:0x220

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         inet6 addr: ::1/128 Scope:Host
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:16 errors:0 dropped:0 overruns:0 frame:0
         TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:800 (800.0 b)  TX bytes:800 (800.0 b)

sit0      Link encap:IPv6-in-IPv4
         NOARP  MTU:1480  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:0
         RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)


Код: 
gosheto@debian:~$ cat /var/log/messages | grep eth
Apr  6 00:13:48 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  6 00:13:48 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  6 00:13:48 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  6 02:03:08 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  6 02:03:08 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  6 02:03:08 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  7 12:16:31 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  7 12:16:31 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  7 12:16:31 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  7 21:36:01 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  7 21:36:01 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  7 21:36:01 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  8 00:52:37 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  8 00:52:37 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  8 00:52:37 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  8 00:52:45 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr  8 00:52:45 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr  8 11:34:53 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr  8 11:34:53 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr  8 11:34:53 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr  8 11:34:54 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr  8 11:34:54 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 12 19:48:21 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 12 19:48:21 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 12 19:48:21 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 12 19:48:22 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 12 19:48:22 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 17 19:58:48 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 17 19:58:48 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 17 19:58:48 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 17 19:58:48 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 17 19:58:48 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 24 21:58:48 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 24 21:58:48 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 24 21:58:48 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 24 21:58:49 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 24 21:58:49 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 25 00:26:35 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 00:26:35 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 00:26:35 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 00:26:45 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 25 00:26:45 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 25 01:11:58 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 01:11:58 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 01:11:58 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 01:15:19 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 01:15:19 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 01:15:19 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 01:15:29 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 25 01:15:29 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 25 02:08:36 debian kernel: eth0: 3c5x9 at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 02:08:36 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 02:08:36 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 02:27:39 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 02:27:39 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 02:27:39 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 02:27:48 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 25 02:27:48 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 25 03:14:12 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 03:14:12 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 03:14:12 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 03:14:13 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 25 03:14:13 debian kernel: eth0: Setting Rx mode to 3 addresses.
Apr 25 20:35:43 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
Apr 25 20:35:43 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
Apr 25 20:35:43 debian kernel: eth0: Setting Rx mode to 1 addresses.
Apr 25 20:35:44 debian kernel: eth0: Setting Rx mode to 2 addresses.
Apr 25 20:35:44 debian kernel: eth0: Setting Rx mode to 3 addresses.
May 12 17:34:40 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 12 17:34:40 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 12 17:34:40 debian kernel: eth0: Setting Rx mode to 1 addresses.
May 12 17:34:41 debian kernel: eth0: Setting Rx mode to 2 addresses.
May 12 17:34:41 debian kernel: eth0: Setting Rx mode to 3 addresses.
May 12 20:07:44 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 12 20:07:44 debian kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 12 20:07:44 debian kernel: eth0: Setting Rx mode to 1 addresses.
May 12 20:07:45 debian kernel: eth0: Setting Rx mode to 2 addresses.
May 12 20:07:45 debian kernel: eth0: Setting Rx mode to 3 addresses.
May 13 13:16:58 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 13 13:26:45 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 13 16:47:46 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 13 16:50:17 debian kernel: eth3: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 13 16:50:17 debian kernel: eth3: Setting Rx mode to 1 addresses.
May 13 16:50:17 debian kernel: eth3: Setting Rx mode to 2 addresses.
May 13 16:51:16 debian kernel: eth3: Setting Rx mode to 3 addresses.
May 13 17:53:56 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 13 17:58:11 debian kernel: eth4: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 13 17:58:11 debian kernel: eth4: Setting Rx mode to 1 addresses.
May 13 17:58:11 debian kernel: eth4: Setting Rx mode to 2 addresses.
May 13 17:58:11 debian kernel: eth4: Setting Rx mode to 3 addresses.
May 14 02:01:51 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 02:16:07 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 12:01:48 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 12:03:42 debian kernel: eth7: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 14 12:03:42 debian kernel: eth7: Setting Rx mode to 1 addresses.
May 14 12:03:42 debian kernel: eth7: Setting Rx mode to 2 addresses.
May 14 12:03:42 debian kernel: eth7: Setting Rx mode to 3 addresses.
May 14 12:38:44 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 12:43:04 debian kernel: eth8: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 14 12:43:04 debian kernel: eth8: Setting Rx mode to 1 addresses.
May 14 12:43:04 debian kernel: eth8: Setting Rx mode to 2 addresses.
May 14 12:43:04 debian kernel: eth8: Setting Rx mode to 3 addresses.
May 14 15:44:19 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 15:47:28 debian kernel: eth9: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 14 15:47:28 debian kernel: eth9: Setting Rx mode to 1 addresses.
May 14 15:47:28 debian kernel: eth9: Setting Rx mode to 2 addresses.
May 14 15:47:28 debian kernel: eth9: Setting Rx mode to 3 addresses.
May 14 22:11:28 debian kernel: eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
May 14 22:17:17 debian kernel: eth10: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
May 14 22:17:17 debian kernel: eth10: Setting Rx mode to 1 addresses.
May 14 22:17:17 debian kernel: eth10: Setting Rx mode to 2 addresses.
May 14 22:17:17 debian kernel: eth10: Setting Rx mode to 3 addresses.


Код: 
gosheto@debian:~$ dmesg | grep eth
eth0: 3c5x9 found at 0x220, 10baseT port, address  00 20 af bf 0c d6, IRQ 10.
eth10: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321
eth10: Setting Rx mode to 1 addresses.
eth10: Setting Rx mode to 2 addresses.
eth10: Setting Rx mode to 3 addresses.
eth10: no IPv6 routers present
Контакти:  gosheto
WEB  
Мнение #4 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 00:20

Avatar


Warn 3

Група: Li fans
Мнения: 384
Регистриран: Април 2006

Оценка: няма

Offline
Би ли ми показал как точно си си настройл мрежата?
През конзолата ли?

red@debian:~$ sudo apt-build world
-----> Rebuilding the world! <-----
-----> Building package list <-----
Please read README.Debian first.
red@debian:~$
Контакти:  Red

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #5 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 00:56
quintessence

Avatar




Група: Li psychos
Мнения: 813
Регистриран: Август 2005

Offline
Цитат:  (gosheto @ Май 14 2006,22:40)

quintessence, ти се шегуваш ама в момента е eth10 и като гледам няма намерение да спре да расте ако не направа нещо  :29;

не се сърди :D :D :D хвърли едно око тук ;) :P
Контакти:  quintessence

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #6 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 00:57
gosheto

Avatar




Група: Li fans
Мнения: 162
Регистриран: Април 2005

Оценка: 5

Offline
След като видях, че нямам нет още първия път пробвах да си вдигна интерфейса, но ми даде следното съобщениe

Код: 
gosheto@debian:~$ sudo ifconfig eth0 82.146.28.115 netmask 255.255.255.128 up
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device


то и сега ми го дава това и след това проверявам с командата ifconfig -a кой ethX e и настройвам по този начин:
Код: 
gosheto@debian:~$ sudo ifconfig eth11 82.146.28.115 netmask 255.255.255.128
gosheto@debian:~$ sudo route add default gw 82.146.28.1


Редактирано от gosheto на Май 15 2006, 00:57
Контакти:  gosheto
WEB  
Мнение #7 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 01:02
quintessence

Avatar




Група: Li psychos
Мнения: 813
Регистриран: Август 2005

Offline
Дало ти е такова съобщение понеже се е сменил номера на мрежовия ти интерфейс ; погледни линка от предишния ми пост :P
DNS си стоят от преди ,затова няма какво да коментираме по конфигурирането :)
Контакти:  quintessence

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #8 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 01:04

Avatar


Warn 3

Група: Li fans
Мнения: 384
Регистриран: Април 2006

Оценка: няма

Offline
Закакво ти е това sudo?
Пробвай следното и ми кажи какво ще ти даде:
Код: 

$ su
Password:
#
#ifconfig -a
#ifconfig eth0 down
#ifconfig eth0 x.x.x.x(IP) netmask 255.x.x.x(subnet mask) up
#route add default 192.x.x.x (Gateway)
#echo nameserver 82.199.192.4(DNS1) > /etc/resolv.conf
#echo nameserver 82.199.192.2(DNS2) >> /etc/resolv.conf

red@debian:~$ sudo apt-build world
-----> Rebuilding the world! <-----
-----> Building package list <-----
Please read README.Debian first.
red@debian:~$
Контакти:  Red

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #9 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Май 15 2006, 01:16
quintessence

Avatar




Група: Li psychos
Мнения: 813
Регистриран: Август 2005

Offline
@Red ... Проблема идва от това ,че udev не се разбира с новите модули .. но това е написано в линка по-горе ...
от какво значение е дали ползва su или sudo за добиване на root права ?! ( това е реторичен въпрос! )
следващото изречение дали има смисъл да го коментирам,понеже сигурно ще се потретя :))) щом има интернет очевадно проблема не е в липса на DNS или като цяло неправилна конфигурация на мрежата ... което също има изключения ,но за конкретния случай , ще спра до тук с локумите .

edit: нека да го кажем иначе , като пробва да извърши каквато и да било манипулация с мрежовия интерфейс eth0 ,ще му изкара ПАК грешка ,че не намира такова у-во.


Редактирано от quintessence на Май 15 2006, 01:18
Контакти:  quintessence

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #10
Skip to the previous post in this topic. Написано на: Май 15 2006, 01:19

Avatar


Warn 3

Група: Li fans
Мнения: 384
Регистриран: Април 2006

Оценка: няма

Offline
Ще се потретя ..... ХАКЕР :P

red@debian:~$ sudo apt-build world
-----> Rebuilding the world! <-----
-----> Building package list <-----
Please read README.Debian first.
red@debian:~$
Контакти:  Red

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Общо 14 отговор(а) от Май 14 2006, 12:29 до сега
 » Начало » Li Форуми » Help & Support » Networking » Проблем с ethX

© 2014 Linux Index Project
Powered by iF 1.0.0 © 2006 ikonForums