Quote:
Originally posted by Mathsniper
the list at google linux of ethernet 3com that isn't english so much. i'm chinese so wanna get more english's detail about it.
|
Not quite sure what you mean by that could you be a little clearer what you require. I was directing you to
http://www.ussg.iu.edu/hypermail/lin...08.2/0272.html item in the list provided by the google search which appears to say that your card uses the
tulip module as the driver for the network card. When you use the
lsmod command you should see output like this.
Code:
>$ lsmod
Module Size Used by
nvidia 4819316 12
apm 17636 2
snd_via82xx 19556 1
snd_ac97_codec 66116 1 snd_via82xx
snd_pcm_oss 49448 0
snd_mixer_oss 17440 2 snd_pcm_oss
snd_pcm 83240 2 snd_via82xx,snd_pcm_oss
snd_timer 20100 1 snd_pcm
snd_page_alloc 9032 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5792 1 snd_via82xx
snd_rawmidi 19460 1 snd_mpu401_uart
snd_seq_device 6440 1 snd_rawmidi
snd 45636 9 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore 6848 2 snd
uhci_hcd 29264 0
via686a 17832 0
i2c_sensor 2304 1 via686a
i2c_isa 1600 0
i2c_core 18832 3 via686a,i2c_sensor,i2c_isa
ns558 4608 0
sidewinder 11712 0
joydev 7936 0
gameport 3520 3 snd_via82xx,ns558,sidewinder
parport_pc 26464 1
lp 8616 0
parport 33832 2 parport_pc,lp
tulip 37440 0
crc32 3808 1 tulip
You can see here that my card also uses the tulip module and is in use. The output of the
ifconfig -a looks like this when configured.
Code:
>$ su
Password:
[HappyTux:/home/stephen]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:10:A7:17:E0:59
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:68763 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:77773 dropped:0 overruns:0 carrier:155141
collisions:0 txqueuelen:1000
RX bytes:38741202 (36.9 MiB) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xc800
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:23952 errors:0 dropped:0 overruns:0 frame:0
TX packets:23952 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4218585 (4.0 MiB) TX bytes:4218585 (4.0 MiB)
The configuration of the network card is done through the /etc/network/interfaces file my file for example.
Code:
[HappyTux:/home/stephen]# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
My file here is using static settings which means that I use a set IP for the address. It can look like this if you use DHCP to get your address from a server on the network.
Code:
[HappyTux:/home/stephen]# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet dhcp
We are going to need the information I requested above to see these things in order to be able to help you and you will need to provide some details on how you get your connection to the internet from your Internet Service Provider and what steps you need to know about to enable you to connect.