View previous topic :: View next topic |
Author |
Message |
weltraumfahrer Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/2749417723f451b086e4a8.gif)
Joined: 17 Dec 2002 Posts: 195 Location: Karlsruhe, Germany
|
Posted: Thu Oct 16, 2003 3:17 pm Post subject: |
|
|
Was für ein modul braucht die Netzwerkkarte?
Frank |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Thu Oct 16, 2003 3:27 pm Post subject: |
|
|
über dhcp bekomme ich auch keine Ipadresse
unter ifconfig
eth0 Link encap: Ethernet HWaddr 00:0B:CD:A7:ED:E0
inet6 addr: fe80::20b:cdff:fea7:ede0/10 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500
METRIC1
RX packets:3 errors:0 dropped:0 overruns:0 frames:0
TX packets:0 errors:8 dropped:0 0verruns:0 carrier:8
collisions:0 txqueuelen:100
RX bytes:546 (546.0b) TX bytes:0 (0.0 b)
Interrupt:100
mein Treiber ist natsemi
meine Lankarte ist Natinal Semi... DP83815/816 10 100 Mac Pyther |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Thu Oct 16, 2003 3:45 pm Post subject: |
|
|
bin gerade mit der Live Cd hochgefaren und das netz läuft damit
aber auch über dhcp
im lsmod
ist auch natsemi eingetragen
unter
ifconfig
sind unter RX und TX keine errors |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bernd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/20700208233f578426cc379.gif)
Joined: 16 Aug 2002 Posts: 126 Location: Wilhelmshaven/Germany
|
Posted: Thu Oct 16, 2003 4:11 pm Post subject: |
|
|
ian! wrote: | Zeig mal her den ifconfig output. Was steht bei RX und TX unter errors?
Und die Frage war nicht, ob dein DHCP im Hause funktioniert, sondern ob das Netzwerk läuft, wenn du dir die Adresse und Daten vom DHCP holst.
Es kann nur ein Konfigurationsfehler sein. Denn von der LiveCD lief das Netz ja, so wie du sagst.
ian! |
und zusätzlcih noch route, /etc/resolv.conf, lsmod, /etc/hosts, /etc/conf.d/net (ich glaube das wars?)
Edit: Noch was. kann das sein das eurer Netz auf IPv6 läuft??
Gruß,
Bernd
Last edited by bernd on Thu Oct 16, 2003 4:14 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Thu Oct 16, 2003 4:14 pm Post subject: |
|
|
bitte was ![Shocked 8O](images/smiles/icon_eek.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bernd Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/20700208233f578426cc379.gif)
Joined: 16 Aug 2002 Posts: 126 Location: Wilhelmshaven/Germany
|
Posted: Thu Oct 16, 2003 4:16 pm Post subject: |
|
|
bernd wrote: | ian! wrote: | Zeig mal her den ifconfig output. Was steht bei RX und TX unter errors?
Und die Frage war nicht, ob dein DHCP im Hause funktioniert, sondern ob das Netzwerk läuft, wenn du dir die Adresse und Daten vom DHCP holst.
Es kann nur ein Konfigurationsfehler sein. Denn von der LiveCD lief das Netz ja, so wie du sagst.
ian! |
und zusätzlcih noch route, /etc/resolv.conf, lsmod, /etc/hosts, /etc/conf.d/net (ich glaube das wars?)
Edit: Noch was. kann das sein das eurer Netz auf IPv6 läuft??
Gruß,
Bernd |
Hallo,
ich meine was die o.g. Anweisunge ausgeben.
output von /sbin/route usw.
Wie oben schon beschrieben.
Läuft eurer Netz auf IPv6. Wegen "inet6 addr: fe80::20b:cdff:fea7:ede0/10 Scope:Link" als output von ifconfig ?
Gruß,
Bernd |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jay l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/20401345553f85b3e247008.jpg)
Joined: 08 May 2002 Posts: 980
|
Posted: Thu Oct 16, 2003 4:28 pm Post subject: |
|
|
Wenn ja, prüfen ob ipv6 in den Kernel kompiliert wurde und auch in den Konfigurationsdateien freigeschaltet wurde. _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
think4urs11 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8534934054bad29b51e5fa.jpg)
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Thu Oct 16, 2003 6:34 pm Post subject: |
|
|
Hi,
zusätzlich bitte zu den genannten Angaben die Ausgabe von mii-tool -v (bzw. falls das nicht geht) von ethtool eth0.
Carrier-Fehler deuten imho auf falsche Speed-Einstellungen hin. Wie ist die Karte unter Win eingestellt? (Systemsteuerung/Netzwerk/Netzwerkkarte/erweiterte ...) je nach Win etwas anders versteckt.
Schau dort nach Speed und Duplex oder nach (Auto)Negotiation.
Also insgesamt um das Problem zu finden unter Linux:
Code: | ifconfig -a
netstat -rn
lsmod
cat /etc/resolv.conf
grep -v ^# /etc/conf.d/net
grep -v ^# /etc/hosts
mii-tool -v
ethtool eth0 |
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Fri Oct 17, 2003 9:31 am Post subject: |
|
|
Output mii-tool
Eth0 10Mbit, half duplex, link ok
Product info: Vendor: 00:17, model 2 rev 1
Basic mode: collision test, 10 Mbit half duplex
Basic status: link ok
Capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
Advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Output ifconfig a
eql...
Eth0 Link encap:Ethernet HWaddr 00:0B:CD:A7:ED:E0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:38 errors:0 dopped:0 overruns:0 frames:0
TX packets:0 errors:8 dopped:0 overruns:0 carrier:0
Collisions:0 txqueuelen:100
TX bytes:3310 (3.2 Kb) TX byte:0 (0.0 b)
Interrupt:10
lo...
sit0...
tape0...
Output Netstat rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Windows irtt iface
127.0.0.0 127.0.0.1 255.0.0.0 UG 40 0 0 lo
Output lsmod
Trident 26484 0 (unused)
Soundcore 3364 2 [trident]
Ac97-codec 9800 0 [trident]
Serial 49092 0 (unused)
Usa-pnp 28100 0 [seriasl]
Ohci1394 15592 0 (unused)
Ieee1394 29708 0 [ohci1394]
Netsemi 15168 0
Usb-storage 255608 0 (unused)
Hid 12468 0 (unused)
Uhci 23008 0 (unused)
Ehci-hcd 13056 0 (unused)
Usbcore 55264 1 [usb-sorage hid uhci ehci-hcd]
Output cat /etc/resolf.conf
nameserver 192.168.2.12
Output grep -v eth0 /etc/hosts
127.0.0.1 localhost
Output grep -v eth0 /etc/conf.d/net
Was brauchst du aus de datei?
Output ethtool eth0
Command not found
Danke schon an alle im voraus für eure besonders gute Hilfe
mfg michael
Ps: wir haben kein ipv6 netz
Leider bin ich bis Monntag auf Geschäftsreise und kann euch erst wieder
Am Monntag Vormittag Posten
Vielleicht finde jemand mein Problem bis dahin währe echt super von euch
Auf jedem fall Danke
Achja wie kann ich mein netz interface von 10Mbits auf 100bits half duplex stellen
Auf Windows hab bei der 10/100 auf Auto und bei half oder full duplex hab ich auch Schwierigkeiten mit (Auto)Negotiation
![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jay l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/20401345553f85b3e247008.jpg)
Joined: 08 May 2002 Posts: 980
|
Posted: Fri Oct 17, 2003 11:32 am Post subject: |
|
|
Optionen für die jeweiligen Module können in /etc/modules.conf übergeben werden. Da diese Datei mittels modules-update autonmatisch erstellt wird, musst Du eine Datei z.B. /etc/modules.d/natsemi anlegen und darin die gewünschten optionen übergeben.
Schnell mal nach den Optionen gegoogelt:
Quote: | Module Settings
No driver configuration is needed for normal Ethernet environments. The following settings are for special cases only.
When loaded as a module the following variables may be set:
name type description
debug int The debug message level, 0 (no messages) to 7 (wordy). The default is 1.
options int[] The media type override and card operation settings.
0x10 Forced 10baseT half duplex.
0x20 Forced 10baseT full duplex.
0x100 Forced 100baseTx half duplex.
0x200 Forced 100baseTx full duplex.
Note that these values must have a leading "0x".
full_duplex int[] Specify that this chip should always be used in FD mode. This option should only be used when the link partner is an old, non-negotiating switch also set to forced-full-duplex mode.
rx_copybreak int The packet size below which the incoming packet should should be copied to a minimally-sized buffer instead of being processed in a "zero-copy" full-sized buffer.
max_interrupt_work int Maximum number of events to handle at each interrupt.
multicast_filter_limit int Maximum number of multicast addresses before switching to receiving a multicast packets.
Where there are multiple interfaces the options and full_duplexsettings may be individually initialized with a comma separated list of values. Other settings use the same value for all interfaces handled by the driver.
In most cases no transceiver override option need be set. A notable exception is when connecting to an older ethernet switch that operates in full-duplex mode but does not do NWay autonegotation. The following driver options values are recognized:
Option value Transceiver setting
0x10 Forced 10baseT half duplex.
0x20 Forced 10baseT full duplex.
0x100 Forced 100baseTx half duplex.
0x200 Forced 100baseTx full duplex.
Note that these values must have a leading "0x".
The rx_copybreak setting requires some explaination. When using Ethernet adapters that don't receive into arbitrarily aligned receive buffers with very word-oriented processor architectures e.g. Alpha AXP and IA-64, performance may be improved by setting this to 1518. This causes an extra copy, but may improve performance by copy-aligning the packet header. In general the default value is selected to be resonable for typical use.
The multicast_filter_limit setting is used by the driver to switch between using the NIC's hardware multicast filter, or relying entirely on the software filter. The default value is appropriate for most environments. Special cases that require changing the setting are
* A flawed hardware implementation that is worked around by using Rx-all-multicast mode.
* Having many multicast addresses in a rarely changed filter list may indicate that the value should be increased.
* Having a very rapidly changing filter list may indicate that the value should be decreased. |
Was mir zu Deinem Netzwerkkarten Problem auffällt. Bei mir spuckt
ifconfig ein
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
aus. Deine Karte scheint also nicht gestartet zu werden. Probier mal, nachdem Du mit obigen Optionen gespielt hast, die Karte mit
"/etc/init.d/net.eth0 restart" neu zu starten. _________________ Do you want your posessions identified? [ynq] (n) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Mon Oct 20, 2003 7:25 am Post subject: |
|
|
Guten Morgen hoffe es hatten alle ein schönnes Wochenende
leider hat sich mein problem nicht von selbst gelöst
also nachdem ich schonn seit drei stunden versuche im internet irgendwellche einstellung für meine netzwerkkarte zufinden war ich gerade im serverrraum und hab auf meinen switch festgestellt das auf meinen port die lambe für 10base leuchtet was allso heisen könnte meine netzwerkkarte ist aktiv
oder? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Mon Oct 20, 2003 7:39 am Post subject: |
|
|
ich hab mal eben mein interface neu gestartet (/etc/init.d/net.eth0 restart)
gentoo kann mein Interface nicht starten
beim ausführen von /etc/init.d/net.eth0 restart kommt folgendes
* Bringing eth0 up...
* Failed to bring eth0 up |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
trashcity Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/21245079693fcdf63a4a257.jpg)
Joined: 18 Sep 2003 Posts: 343 Location: österreich
|
Posted: Mon Oct 20, 2003 8:07 am Post subject: |
|
|
problem gelöst mit mii-tool --force 100baseTx-HD
Trotzdem an alle Danke |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|