Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
half duplex
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
tindanos
n00b
n00b


Joined: 12 Apr 2003
Posts: 34
Location: Sweden->Gbg

PostPosted: Wed May 07, 2003 5:40 pm    Post subject: half duplex Reply with quote

Vill ändra mitt NIC till half duplex då detta tydligen skall hjälpa om man har problem med comhems dhcp men vet inte inte riktigt hur jag skall göra.

Läste någonstans att jag skall sätta
alias tulip options=9 (alt 12) i modules.conf
Testade detta men verkar inte ge något resultat
kanske skall jag skriva
alias eth1 tulip options=9 i modules.autoload istället

tulip-diag ger
Code:
root@xxxxxx root # ./tulip-diag -a
tulip-diag.c:v2.17 5/6/2003 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DC21041 Tulip adapter at 0x1000.
 * A potential Tulip chip has been found, but it appears to be active.
 * Either shutdown the network, or use the '-f' flag to see all values.
Digital DC21041 Tulip chip registers at 0x1000:
 0x00: ffe08000 ffffffff ffffffff 1169b000 1169b200 fc660000 fffe2202 ffffebef
 Port selection is full-duplex.
 Transmit started, Receive started.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit unit is set to store-and-forward.
  The NWay status register is 45e1d5c8.
    Link Partner ability: 45e1.
    100baseTx link good.
    10baseT link good.


dmesg ger
Code:
root@xxxxxxx root # dmesg | grep eth1
eth1: Digital DC21041 Tulip rev 17 at 0x1000, 21041 mode, 00:80:AD:A9:24:06, IRQ 11.


Skulle enn annan variant kunna vara
alias tulip full_duplex=1
Här indikeras ju även att options inte kan ta högre värde än 8 ju

Code:
root@xxxxx modules.d # modinfo tulip
filename:    /lib/modules/2.4.20-gentoo-r2/kernel/drivers/net/tulip/tulip.o
description: "Digital 21*4* Tulip ethernet driver"
author:      "The Linux Kernel Team"
license:     "GPL"
parm:        tulip_debug int
parm:        max_interrupt_work int
parm:        rx_copybreak int
parm:        csr0 int
parm:        options int array (min = 1, max = 8)
parm:        full_duplex int array (min = 1, max = 8)


Hoppas någon kan hjälpa mig med mitt problem
Back to top
View user's profile Send private message
jar
n00b
n00b


Joined: 15 May 2002
Posts: 3

PostPosted: Thu May 08, 2003 11:40 am    Post subject: Re: half duplex Reply with quote

tindanos wrote:
Vill ändra mitt NIC till half duplex då detta tydligen skall hjälpa om man har problem med comhems dhcp men vet inte inte riktigt hur jag skall göra.


En variant är att styra det via mii-tool eller tulip-diag. Jag har ingen erfarenhet av tulip nätverkskort men följande fungerar på intel och många andra:

# 10mbit, half-duplex
mii-tool -F 10baseT-HD eth0
# 100mbit, half-duplex
mii-tool -F 100baseTx-HD eth0

eller

# 10mbit, half-duplex
tulip-diag -F 10baseT-HD eth0
# 100mbit, half-duplex
tulip-diag -F 100baseTx-HD eth0

mii-tool -v talar om vilken hastighet du kör idag och vad den andra sidan klarar av.

-J
Back to top
View user's profile Send private message
tindanos
n00b
n00b


Joined: 12 Apr 2003
Posts: 34
Location: Sweden->Gbg

PostPosted: Thu May 08, 2003 2:43 pm    Post subject: Reply with quote

Dessa är de interface jag kan välja på
men vilka är HD. Väljer jag tex. 0 indikerar fortfarande
tulip-diag att jag kör med full duplex.
0 10baseT
1 10base2
2 AUI
3 100baseTx
516 10baseT-FDX
517 100baseTx-FDX
6 100baseT4
7 100baseFx
8 100baseFx-FDX
11 MII
18 HomePNA
2048 Autosense
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum