Ubuntu Suomen keskustelualueet
Ubuntun käyttö => Laitealue => Aiheen aloitti: (J)Aloittelija - 03.11.07 - klo:11.39
-
Olen tehnyt levyllä olleiden ohjeiden mukaan:
"This document contains instructions on installing Linux driver
and adjusting speed for the series of RTL8139(A/B/C/8130) Network Adapter
Installing Driver:
(1.) Kernel Had Supported Driver:
Check the directory " /lib/modules/¡K./net " if you could find "rtl8139.o"
Your kernel had supported RTL8139 series. You could easy use "linuxconf"
to setup your card. If you don't like linuxconf, you also could use
"modprobe rtl8139" and "ifconfig up eth0" to load module.
If your driver load properly, your "/etc/conf.modules" should include
line of "alias eth0 rtl8139".
(2.) Kernel Don't Support Driver:
If your kernel doesn't support RTL8139 series, you should compiler driver
by yourself. Please contact http://www.scyld.com/network/rtl8139.html
to get source code. The compiler command is located on the end of source
code. Maybe like "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c".
If you couldn't compiler success, maybe you should refer to error message
and copy library or head file to Linux."
"
Scyldin sivut eivät aukea, joten eipä etene asentaminen ilman apua.....
-
Kokeilitko tuota "sudo modprobe rtl8139" komentoa terminaaliin? Sillä sen pitäisi lähteä toimimaan.
-
Kokeilitko tuota "sudo modprobe rtl8139" komentoa terminaaliin? Sillä sen pitäisi lähteä toimimaan.
Ja sain tällaisen aikaiseksi:
root@MSHOME:~# sudo modprobe rtl8139
FATAL: Module rtl8139 not found.
-
Kerros vielä varmuuden vuoksi mitä sanoo komento
lspci
-
root@MSHOME:~# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)
00:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
00:0d.0 USB Controller: NEC Corporation USB (rev 43)
00:0d.1 USB Controller: NEC Corporation USB (rev 43)
00:0d.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:10.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233A ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 23)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]
Tämän perusteella kone on tunnistanut kortin, mutta kun sen kautta yrittää verkkoon on vähän hiljaisempaa. Kone ilmoittaa, ettei eth1:avahi verkkolaitetta ole olemassa:"could not find information on interface eth1:avahi in proc/net/dev"
-
Minusta tuon kortin pitäisi toimia heittämällä, mielestäni edellisessä koneessani oli sama, eikä siinä mitään ajureita tai modbropeja tai minkäänlaisia säätämisiä tarvittu. Ja mikä ihmeen eth1:avahi ?
Mitäpä tämä tulostaa:
ifconfig
Entäs tämä:
cat /etc/network/interfaces
Jaa se avahi on joku demoni, tarviikos sellaista olla?
kts. http://ubuntuforums.org/showthread.php?t=499929
-
root@MSHOME:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0A:5E:5F:00:93
inet addr:217.140.185.116 Bcast:217.140.191.255 Mask:255.255.240.0
inet6 addr: fe80::20a:5eff:fe5f:93/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:448211 errors:0 dropped:0 overruns:1 frame:0
TX packets:27936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:77059048 (73.4 MB) TX bytes:3763103 (3.5 MB)
Interrupt:16 Base address:0x8000
eth1 Link encap:Ethernet HWaddr 00:E0:4D:A5:00:7B
inet6 addr: fe80::2e0:4dff:fea5:7b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:96424 errors:0 dropped:0 overruns:0 frame:0
TX packets:71 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6278754 (5.9 MB) TX bytes:16350 (15.9 KB)
Interrupt:16
eth1:avah Link encap:Ethernet HWaddr 00:E0:4D:A5:00:7B
inet addr:169.254.5.209 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:16
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:131117 errors:0 dropped:0 overruns:0 frame:0
TX packets:131117 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5525382 (5.2 MB) TX bytes:5525382 (5.2 MB)
ja edelleen:
root@MSHOME:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth2
#iface eth2 inet dhcp
auto ath0
#iface ath0 inet dhcp
auto wlan0
#iface wlan0 inet dhcp
#iface eth0 inet dhcp
auto eth0
iface eth0 inet dhcp
iface eth1 inet dhcp
auto eth1
Siis toimiiko vai ei? Pudotin eth0:n pois ja yritin päästä verkkoon sekä eth1 että eth1:avahi kautta - ei pääse vaikka vaihdoin palomuurin asetukset molemmille sopiviksi. mikä tuo eth1:avahi on, tarvitaanko sitä ja jos ei niin miten sen saa pudotettua ulos tästä koneestani?
Niin --- lisäksi Firestarter ei tunnista eth1:n olevan käytössä.
-
Kuten näet, eth1:llä ei ole IP-osoitetta (inet addr), joten ei se voi toimia.
eth0:lla on IP, eli sen kautta pääsee nettiin, eli siis se 3com kortti joka on koneessasi, sen kautta pääset oitis nettiin. ;)
Muokkaa /etc/network/interfaces lopusta nyt näin oleva:
iface eth1 inet dhcp
auto eth1
tähän muotoon
auto eth1
iface eth1 inet dhcp
Eli nuo nyt ainakin on väärin päin, en tiedä mitä se vaikuttaa, mutta joka tapauksessa ne on väärinpäin.
Kokeile:
sudo ifconfig eth0 down
sudo ifconfig eth1 up
sudo dhclient
ja katso sitten
ifconfig
tuliko IP-osoite eth1 kortille?
edit, joo onhan sillä IP tuo eth1:avah, mutta siitä pidän turpani kiinni kun en asiasta mitään ymmärrä. :)