[Linux-Biella] Copia file molto lenta
Skywalker
vito.detoma a email.it
Gio 4 Ott 2007 10:28:00 CEST
Cristiano Deana ha scritto:
> Skywalker wrote:
>
>
>> una Realtek 8110SC, cosė recita il manuale della sk mamma.
>> lspci mi dice:
>> 02:04.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC
>> Gigabit Ethernet (rev 10)
>>
>
> CVD, scheda cacchetta. Scala a 100.
>
>
Infatti da ricerche fatte sembra che la suddetta scheda abbia problemi
quando viaggia a 1000 con protocollo Samba, col resto tutto ok.
Ho provato ad installare i nuovi "driver" ma sembra che tutto sia
rimasto uguale.
Vi posto la procedura eseguita per la sua installazione.(Testo Lungo)
This is the Linux device driver released for RealTek RTL8169S/8110S,
RTL8169SB/8110SB, and RTL8110SC.
<Requirements>
- kernel source tree (supported Linux kernel 2.6.x)
- compiler/binutils for kernel compilation
<Quick install with proper kernel settings>
Check whether the built-in driver, r8169.ko, is installed.
# lsmod | grep r8169
If it is installed, please remove it.
# rmmod r8169
note: If the built-in driver cannot removed by rmmod, please edit
/etc/modprobe.conf and comment 'alias eth0 r8169'. Then, remmove it
again or reboot your computer. (il comando non ha dato problemi)
Unpack the tarball :
# tar vjxf r8169-6.aaa.bb.tar.bz2
Change to the directory:
# cd r8169-6.aaa.bb
If you are running the target kernel, then you should be able to do :
# make clean modules (as root or with sudo)
# make install
# depmod -a
# insmod ./src/r8169.ko
You can check whether the driver is loaded by using following commands.
# lsmod | grep r8169
# ifconfig -a
If there is a device name, ethX, shown on the monitor, the linux
driver is loaded. Then, you can use the following command to activate
the ethX.
# ifconfig ethX up
,where X=0,1,2,...
<Set the network related information>
1. Set manually
a. Set the IP address of your machine.
# ifconfig ethX "the IP address of your machine"
b. Set the IP address of DNS.
Insert the following configuration in /etc/resolv.conf.
nameserver "the IP address of DNS"
c. Set the IP address of gateway.
# route add default gw "the IP address of gateway"
2. Set by doing configurations in /etc/sysconfig/network-scripts
/ifcfg-ethX for Redhat and Fedora, or /etc/sysconfig/network
/ifcfg-ethX for SuSE. There are two examples to set network
configurations.
a. Fix IP address:
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
TYPE=ethernet
NETMASK=255.255.255.0
IPADDR=192.168.1.1
GATEWAY=192.168.1.254
BROADCAST=192.168.1.255
b. DHCP:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
<Force Link Status>
1. Force the link status when insert the driver.
If the user is in the path ~/r8169, the link status can be forced
to one of the 5 modes as following command.
# insmod ./src/r8169.ko speed=SPEED_MODE duplex=DUPLEX_MODE
autoneg=NWAY_OPTION
(č quello che ho utilizzato)
-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: http://ml.bilug.linux.it/mailman/private/linux/attachments/20071004/e2e4649c/attachment-0001.html
Maggiori informazioni sulla lista
Linux