Page 1 of 1

installing an advantek network card

Posted: Thu Oct 11, 2007 7:03 pm
by hcore
so since my last post, i realized it wasnt the nvidia drivers, but my linux machine only connects to the network once every two or three days =S

so i got a network card to see if it would fix the problem...

first time i connect it i get this....


Image
Image


so i restart to see if that would solve the problem and it just doesnt even get recognized anymore... this goes on for about three restarts..

so i swicht up the pci port and it takes me back to the beggining, just like the screenshots, and i havent restarted...

ok maybe this distro doesnt have the drivers ready for this nic, so i get the drivers, and heres what it gives me

makefile

r8169.c

and the readme

and heres the compressed file of all of the above just in case ;)

so anybody have a clue? please? im a complete newbie to linux, and i really find mint to be the best distro around

Posted: Fri Oct 12, 2007 12:25 am
by scorp123
Looks like your DHCP server (= your DSL router maybe?) isn't working ... try to setup a manual IP address, e.g. 192.168.1.3 with netmask 255.255.255.0 ..... Your router (if you have one?) probably will have the address 192.168.1.1 so it may be worth to check out if the DHCP service is running.

Forget about your theory not having the drivers ... if that were the case you wouldn't have a device "eth0". :wink:

Just to be sure: Enter this command into a shell:

Code: Select all

lsmod
This will list all kernel modules (= "drivers") currently loaded in your system. And this command:

Code: Select all

lspci
will list all PCI cards and their exact names. Chances are your network card will be listed there. If Linux doesn't recognize a card it will say so: "Unknown Device." ... But in your case it will probably say something like

Code: Select all

06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
(this is taken from one of my laptops, the output you get on your system might look different).

So if you get output like this then it's just a matter of properly configuring your network card TCP/IP-wise.

Posted: Fri Oct 12, 2007 11:25 am
by hcore
hey scorp, thanks for your reply.

i did as you say, and set a static ip adress, but it did nothing, and the dhcp server must be running correctly because there are two windows machines running under it also... what i find really weird is, if you would look at the first screen on my first post, on the upper right corner, i clicked the network icon, and it said it found no devices, while at the same time showing the "wired connection" when i went to manually configure it.

also, on lsicp, i dont know very much on this os, but i think it doesnt show the pci nic. =s

Image

Posted: Fri Oct 12, 2007 2:36 pm
by scorp123
hcore wrote: but i think it doesnt show the pci nic.
Really? :lol: Then I wonder what kind of device this is:

Code: Select all

00:09.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IC Plus IP1000 Family Gigabit Ethernet (rev 41).
... This is from the middle of your own screenshot.

In Linux it helps a great deal if you actually read what the OS is telling you :wink: (sorry about this little bit of sarcasm here, just couldn't resist ... :oops: :lol: )

Besides: Why a graphical screenshot? This terminal output is just simple text, you could have copied & pasted the entire text here into your posting so we can see the complete output: You highlight the text with your left mouse button from where you entered the command all the way down where the output ends. Leave it highlighted. Then switch to your browser window where you started a new posting, click the middle mouse button (or if you don't have a middle mouse button: left + right mouse button at the same time) .... and voila, all the highlighted text will instantly be copied & pasted into your posting. This is far less complicated than posting screenshots 8) ... and it has the advantage that we can see the entire output :wink:

Talking of which: As you can see most of the ouput of "lsmod" is missing from your screenshot. Please do it again and copy & paste the text output you get here. I'd be interested to see what module gets loaded (my guess right now: "sundance"). This can sometimes help a great deal in case we need to Google up more infos on this type of device.

As for your two other computers: Can you boot them with a Linux Live CD (so the harddisks wouldn't be touched in any way) and see if they are still able to get a DHCP address when Linux is running off the CD? Maybe Linux and your DHCP server don't like each other too much and we'd need to look at finding out why (there are some options one could fine-tune here). What's that DHCP server anyway? Is it a router or another computer, and what OS is running there? If you have access to it: maybe the DHCP server too has some infos in its log files. It may be worth to take a look.

Posted: Fri Oct 12, 2007 4:35 pm
by hcore
well i thought the network controller shown was the onboard one, seeing as how the network card doesn't have anything to do whit sundance, and in lspci it doesnt mention anything about it being pci, like it did the graphics card.

also, i could have copied and pasted but i just find it easier to take a screen shot of the stuff i need with a key press and it goes directly into my usb memory. i think its better for you guys to guide yourselves by.

but anyways, the network monitor is exactly like it was before, i switched it back to auto dhcp because it wasn't getting at anything with a static ip address, i dont have to run the tests on other pcs because this has always been like this, andi was posting from a laptop under the same network.

as i said its exactly as before, but now, i actually have internet connection, and it shows my isp.

thanks scorp, im gonna go ahead and reboot just to see if this is permanent or just this once.

also it ran my first hdd check today, and mentioned something about not loading blacklisted ipv6 devices, im pretty sure thats relevant.

as i said thanks, and ill be posting soon. :)


also, i forgot... but here it is
hcore@hcore-desktop:~$ lsmodf
bash: lsmodf: command not found
hcore@hcore-desktop:~$ lsmod
Module Size Used by
binfmt_misc 12680 1
rfcomm 40856 0
l2cap 25728 5 rfcomm
bluetooth 55908 4 rfcomm,l2cap
ppdev 10116 0
speedstep_lib 6148 0
cpufreq_userspace 5408 0
cpufreq_stats 7360 0
cpufreq_conservative 8200 0
cpufreq_ondemand 9228 0
cpufreq_powersave 2688 0
freq_table 5792 2 cpufreq_stats,cpufreq_ondemand
sony_acpi 6284 0
tc1100_wmi 8068 0
pcc_acpi 13184 0
dev_acpi 12292 0
dock 10268 0
battery 10756 0
video 16388 0
button 8720 0
ac 6020 0
sbs 15652 0
i2c_ec 5888 1 sbs
asus_acpi 17308 0
backlight 7040 1 asus_acpi
container 5248 0
af_packet 23816 2
lp 12452 0
fuse 46612 3
joydev 10816 0
snd_via82xx 29208 2
gameport 16520 1 snd_via82xx
snd_ac97_codec 98336 1 snd_via82xx
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44544 0
snd_mixer_oss 17408 1 snd_pcm_oss
snd_pcm 79876 4 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 10888 2 snd_via82xx,snd_pcm
snd_mpu401_uart 9472 1 snd_via82xx
snd_seq_dummy 4740 0
snd_seq_oss 32896 0
usbhid 26592 0
ide_cd 32672 0
cdrom 37664 1 ide_cd
snd_seq_midi 9600 0
snd_rawmidi 25472 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 52592 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer 23684 2 snd_pcm,snd_seq
snd_seq_device 9100 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
hid 27392 1 usbhid
parport_pc 36388 1
parport 36936 3 ppdev,lp,parport_pc
snd 54020 14 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
via_agp 11264 1
pcspkr 4224 0
ipg 21380 0
agpgart 35400 1 via_agp
serio_raw 7940 0
i2c_viapro 10132 0
psmouse 38920 0
i2c_core 22784 2 i2c_ec,i2c_viapro
shpchp 34324 0
soundcore 8672 1 snd
pci_hotplug 32576 1 shpchp
tsdev 8768 0
evdev 11008 5
ext3 133128 1
jbd 59816 1 ext3
mbcache 9604 1 ext3
sg 36252 0
sd_mod 23428 3
ata_generic 9092 0
floppy 59524 0
via82cxxx 10372 0 [permanent]
ehci_hcd 34188 0
sata_via 12548 2
uhci_hcd 25360 0
usbcore 134280 4 usbhid,ehci_hcd,uhci_hcd
libata 125720 2 ata_generic,sata_via
scsi_mod 142348 3 sg,sd_mod,libata
generic 5124 0 [permanent]
thermal 14856 0
processor 31048 1 thermal
fan 5636 0
fbcon 42656 0
tileblit 3584 1 fbcon
font 9216 1 fbcon
bitblit 6912 1 fbcon
softcursor 3200 1 bitblit
vesafb 9220 0
capability 5896 0
commoncap 8192 1 capability