Installing network card on Debian Lenny

Don´t be shy, Linux is fun! =)
User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

use apt-get for ndiswrapper:
http://packages.debian.org/cgi-bin/sear ... elease=all
:wink:

um, and for the wireless config you use iwconfig instead of ifconfig.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

k, I tried the tg3 driver install on my sarge box, and compile worked fine, it's a 2.4 kernel but I see no reason why it shouldn't work on the Lenny 2.6 one too:

Code: Select all

redbox:/# tar -xzvf tg3-3.71b.tar.gz
tg3-3.71b/tg3.4
tg3-3.71b/tg3.c
tg3-3.71b/tg3.h
tg3-3.71b/Makefile
tg3-3.71b/ChangeLog
tg3-3.71b/README.TXT
tg3-3.71b/LICENSE
redbox:/# cd tg*
redbox:/tg3-3.71b# make
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -I/lib/modules/2.4.27-2-386/build/include  -O2   -c -o tg3.o tg3.c
In file included from /lib/modules/2.4.27-2-386/build/include/linux/spinlock.h:6,
                 from /lib/modules/2.4.27-2-386/build/include/linux/module.h:12,
                 from tg3.c:30:
/lib/modules/2.4.27-2-386/build/include/asm/system.h: In Funktion »__set_64bit_var«:
/lib/modules/2.4.27-2-386/build/include/asm/system.h:190: Warnung: dereferencing type-punned pointer will break strict-aliasing rules
/lib/modules/2.4.27-2-386/build/include/asm/system.h:190: Warnung: dereferencing type-punned pointer will break strict-aliasing rules
redbox:/tg3-3.71b# make install
gzip -c tg3.4 > tg3.4.gz
mkdir -p /lib/modules/2.4.27-2-386/kernel/drivers/net;
install -m 444 tg3.o /lib/modules/2.4.27-2-386/kernel/drivers/net;
install -m 444 tg3.4.gz /usr/share/man/man4;\

redbox:/tg3-3.71b# 
I uploaded the package for you:
http://www.cyber-samurai.de/tg3-3.71b.tar.gz

:wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

This time i did EXACTLY as you did, used the same package and all...

got this
clare:/# tar -xzvf tg3-3.71b.tar.gz
tg3-3.71b/tg3.4
tg3-3.71b/tg3.c
tg3-3.71b/tg3.h
tg3-3.71b/Makefile
tg3-3.71b/ChangeLog
tg3-3.71b/README.TXT
tg3-3.71b/LICENSE
clare:/# cd tg*
clare:/tg3-3.71b# make
make -C SUBDIRS=/tg3-3.71b modules
make: *** SUBDIRS=/tg3-3.71b: No such file or directory. Stop.
make: *** [default] Error 2
clare:/tg3-3.71b#


EDIT: btw, i can't use apt-get for all packages...since none of the cards work xD


EDIT: since i don't want to go to sleep, i will format the lappy and install Ubuntu, i wanna see if it works :/ (getting tired of Debian atm on the lappy since i just discovered that NOTHING works...not even the sound -.-, and i have tried countless attempts to install it...giving up for now)

EDIT2: never mind....the Ubuntu installation didn't even start --..--
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

damn... :roll:
linux on laptops can be a pain in the rear, and for some it simply don't really work... :?
hm, but this might be worth a try:
https://wiki.ubuntu.com/install.exe
it's an Ubuntu installer you can start out of MS....

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

So...i have to install Windows now..and THEN ubuntu? =|

eurgh, how do i format the computer while it has Debian?.... i mean format it so that the GRUB is removed and all..i want it clean, it HAS to work then >_<

EDIT: i want to try ubuntu since the seller of the computer told me that they had customers that had installed Ubuntu WITHOUT any problems.
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

you mean you want to wipe the whole HDD? best use the Ultimate Bootdisk from the downloads and use one of the tools one there like Darik's Boot and Nuke (it'll take a while because it'll do a low level format).
you can get the standalone version for different medias (CD, USB, floppy) here too: http://dban.sourceforge.net/

:wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Thanks a bunch b_b, I'll give it a try
"The best place to hide a tree, is in a forest"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

*cries* "DBAN finished with non-fatal errors. Check the log for more information."

why..oh why -.-

any other tools i can use for wiping? xD

gonna have a look on that CD, lots of tools it seems

EDIT: i tried all of the erase tools on that CD....NONE worked 8O
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

hmm..."non-fatal"...doesn't this mean "there have been errors but it worked"? :-k
and yeah, there are more tools of that kind on the bootdisk...but well, you can still always use the good old XP CD to format.. :lol:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

I have read around on some other forums now....

i will use the Vista DVD to format (Forgive me father for i have sinned)

and then i am using an "alternate" disc to install Ubuntu, it seems like there are a lot of people who are having the same problem.
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

once again: hooray for Vista... :roll: :lol:
let me know how it worked... :wink:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

i am seriously loosing my calm right now.....

was starting Ubuntu after install and it gave me crap about that it couldn't start xserver...

so i was using VI to edit the xorg.conf since i knew the problem...but i couldn't edit since the fucking installation didn't let me insert a root password.

So now i am installing once more -.-
"The best place to hide a tree, is in a forest"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

I have tried a lot now..... i am not giving up on Ubuntu since it almost works now, it's only something about the xorg.conf or the intel/vesa driver.

I tried with Backtrack 2 and the screen works, but since it uses other software i can't take the files from there to make it work...

I tried taking the xorg.conf from my Debian install since it worked there, but i think it missed some files, so i will have to try and find the files and copy them and maybe it will work...

But please someone...does ANYONE have any other idea?....I'm really starting to loose it =|

EDIT: ok so i filed the process on the laptop now

first i want to just say that it was filmed with my phone, so picture and sound is kinda crappy, but you still get the picture of what is happening, i am playing pretty loud music so make sure you turn down your volume just i case.

What i am doing on the laptop are steps, just to make it easier for you to follow..

1: I insert the live CD
2: Live backtrack 2 starts without any problems
3: I reboot and remove the live CD
4: i start the "real" distro
5: when you see the screen going blank in the end...thats my problem (using the intel driver, if i use the Vesa driver i just got a random error about screen found but no working configuration can be found)

The film is in 3gp format and can be played with both Quick time and VLC media player.

http://documentcat.com/doc/test.3gp
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

hm, here I found a howto for the driver install from scratch:
http://intellinuxgraphics.org//install.html

but well, if it still not work then it would be the best imo to get back to Debian again, I think the network problem is easier to fix than the graphics problem in Ubuntu...or are the network device working on Ubuntu? :-k

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

yeah the network is working in Ubuntu, i ran updates through the net

What...can i take the drivers from there then? =/
"The best place to hide a tree, is in a forest"

Post Reply